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

Create <immunization> tag

    XMLWordPrintable

    Details

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

      Description

      The KenyaEMR HTML Form Entry has a custom tag which can be ported to regular HTML Form Entry. It is used like...

      <tr>
       
                      <td style="text-align:right;">BCG</td>
                      <td>
                          <immunization vaccineConceptId="886AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" sequenceNumber="1" label="" />
                      </td>
                      <td style="text-align:right;">OPV at Birth</td>
                      <td>
                          <immunization vaccineConceptId="783AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" sequenceNumber="0" label="" />
                      </td>
                      <td style="text-align:right;"> OPV 3</td>
                      <td>
                          <immunization vaccineConceptId="783AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" sequenceNumber="3" label=""/>
                      </td>
                      <td style="text-align:right;"> Measles 6 lMths</td>
                      <td>
                          <immunization vaccineConceptId="36AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" sequenceNumber="1" label=""/>
                      </td>
                  </tr>
      

      This source-code originally developed by Erick Wafula is available here...
      https://github.com/I-TECH/openmrs-module-kenyaemr/blob/master/api/src/main/java/org/openmrs/module/kenyaemr/form/handler/ImmunizationTagHandler.java
      this how it is implemented
      https://github.com/I-TECH/openmrs-module-kenyaemr/blob/master/api/src/main/java/org/openmrs/module/kenyaemr/form/element/ImmunizationSubmissionElement.java

      The tag should also have the following attributes...
      showDate="true" <-- So I can capture the vaccine date for that vaccine
      id="whatevervaccine" <-- So I can reference it with get/setValue in validation (should also be able to reference the date through the id)
      labelText="" <-- So I can make it have any name (or no name), not just the default concept name.

      In implementing the showDate functionality, it would be good if it would set the obsDate to the value provided by the datepicker. It seems it would also be helpful to set an additional observation for CIEL:1410 - Vaccination Date, which is part of CIEL:1441 - Current Immunization Orders concept set, but this may not be necessary if the original tag doesn't use the concept set.

        Attachments

        1. htmlformentry-2.5-SNAPSHOT.omod
          1.45 MB
        2. htmlformentry-2.5-SNAPSHOT-2.omod
          1.58 MB
        3. htmlformentry-2.5-SNAPSHOT-3.omod
          1.58 MB
        4. htmlformentry-2.5-SNAPSHOT-4.omod
          1.58 MB
        5. htmlformentry-2.5-SNAPSHOT-5.omod
          1.58 MB
        6. htmlformentry-2.5-SNAPSHOT-6.omod
          1.58 MB
        7. htmlformentry-2.5-SNAPSHOT-7.omod
          1.47 MB
        8. screenshot-1.jpg
          screenshot-1.jpg
          207 kB

          Activity

            People

            Assignee:
            mogoodrich Mark Goodrich
            Reporter:
            arbaughj James Arbaugh
            Designated Committer:
            Rafal Korytkowski
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: