...
Note: If the new template represents an combined hl7 message type (ORUR01, ADT etc.), and the use wishes to export data in that particular message type, then he / she must also edit the 'Template' global property to point to the given template. Initially, the hl7query module will support the export of data only as ORUR01 messages.
- Users will be able to request to download either a single encounter or multiple encounters as a single ORUR01 message
- Something like /openmrs/hl7query/orur01?patient=uuidofpatient&encounter=uuidofencounter
- The ORUR01 message will contain the elements MSH, PV1, PID, OBR and OBX
- The PV1 and PID segments (and then the OBR/OBX) will repeat for each extra encounter included
- The hl7 message will be exported as a pipe delimited object
- The admin can define the exact elements, layout and flow of each different message type by creating groovy templates
- Groovy template is xml based
- The xml refers to exact fields in hl7
- HAPI is used to parse the xml into hl7
Documentation / How-To
Downloads
...