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

Add Diagnosis support to "FormSubmissionActions"

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • TBD
    • Resolution: Won't Fix
    • None
    • None
    • Undetermined

    Description

      We should consider adding support for diagnoses to the FormSubmissionActions, ie add "diagnosesToCreate" and "diagnosesToVoid" to FormSubmissionActions.

      https://github.com/openmrs/openmrs-module-htmlformentry/blob/master/api/src/main/java/org/openmrs/module/htmlformentry/FormSubmissionActions.java

      We'd have to figure out if there's be a relatively straightforward way to do this while still maintaining backwards compability.

      With this in place, we would change the EncounterDiagnosis element to set these new "diagnosesToCreate" and "diagnosesToVoid" instead of manually having to save and void the diagnoses within the EncounterDiagnosesElement (this is less than ideal because we have to also save the encounter within the element to get things to work):

      https://github.com/openmrs/openmrs-module-coreapps/blob/master/api-2.2/src/main/java/org/openmrs/module/coreapps/htmlformentry/EncounterDiagnosesElement.java#L278

      https://github.com/openmrs/openmrs-module-coreapps/blob/master/api-2.2/src/main/java/org/openmrs/module/coreapps/htmlformentry/EncounterDiagnosesElement.java#L287

      fyi... dkayiwa

      Gliffy Diagrams

        Attachments

          Activity

            People

              Unassigned Unassigned
              mogoodrich Mark Goodrich
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: