Uploaded image for project: 'HTML Form Entry Module'
  1. HTML Form Entry Module
  2. HTML-687

Should be possible to conditionally enroll a patient in a program

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: HTML Form Entry 3.9.2
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      I would like to make a checkbox that, when checked, enrolls the patient in a program.

      As far as I can tell, it is not possible to do this in Javascript, because there is some Java magic that needs to happen when parsing the XML file server-side.

      I think the way to do this is to add a parameter which would create a checkbox widget that would provide a boolean value to EnrollInProgramElement.handleSubmission, which would toggle whether the enrollment happens or not. Implementers could set the checkbox value using Javascript and/or hide it using CSS.

        Gliffy Diagrams

          Attachments

          1. done-form.png
            done-form.png
            42 kB
          2. done-xml.png
            done-xml.png
            137 kB

            Issue Links

              Activity

                People

                Assignee:
                bistenes Brandon Istenes
                Reporter:
                bistenes Brandon Istenes
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: