Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding JSON form library to opensrp app #471

Open
maimoonak opened this issue Apr 7, 2017 · 2 comments
Open

Adding JSON form library to opensrp app #471

maimoonak opened this issue Apr 7, 2017 · 2 comments

Comments

@maimoonak
Copy link

@maina @keymane

We are working on ODK integration which provides highly extensible and flexible and dynamic form building and data entry support.

But since JSON form itself is also powerful and provides developer flexibililty and Ona already have done work on this we would want to explore the JSON form builder and make ODK module in a way that user/developer have choice to use any form renderer (ODK/JSON).

Would like to ask few questions and highlight important points.

  • Is there any documentation on how to integrate forms in own opensrp module? (I have seen the wiki but I came to know that team has extended the feature set)
  • Is it a separate library module which we can import into our app and can use to open forms
  • Does it require whole json file to be written or we have a json builder available
  • Does it provide a method where we just provide a form name, and field overrides and form is rendered
  • Does user still have choice to use enketo forms for some of the tasks
  • Does it provide field overrides
  • Does it provide repeat groups
  • How does it allow custom attribute mapping (openmrs concept mapping)
  • Does it allow converting result to FormSubmission

Our developer is exploring the ODK and basic setup and once she is done would it be possible to touchbase and plan the architecture of both form builders to make sure that form integration is smooth and requires min dev effort.

@sohelsarder
Copy link

ODK table able to render CSV form, we tried once, you may check that.

@maina
Copy link

maina commented Apr 10, 2017

@maimoonak

  • Is there any documentation on how to integrate forms in own opensrp module? (I have seen the wiki but I came to know that team has extended the feature set)
  • Is it a separate library module which we can import into our app and can use to open forms
  • Does it require whole json file to be written or we have a json builder available
  • Does it provide a method where we just provide a form name, and field overrides and form is rendered
    • Yes
  • Does user still have choice to use enketo forms for some of the tasks
    • Yes, enketo functionality still remains untouched as of now
  • Does it provide field overrides
    • Yes, we're pre-populating unique identifier field with the value from openmrs
  • Does it provide repeat groups
    • Not tested this yet, but could be tweaked may be
  • How does it allow custom attribute mapping (openmrs concept mapping)
    • We've defined these in the json defining the form fields
  • Does it allow converting result to FormSubmission
    • Nope, we're running fully on EC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants