The open mrs hl7query module

514 views

Published on

My presentation on the OpenMRS hl7query module (14th Nov. 2012)

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
514
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
14
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

The open mrs hl7query module

  1. 1. The OpenMRS HL7Query module An introduction to the HLQuery module, its design and useSuranga Nath Kasthurirathne
  2. 2. What we’ll coverPlanning and designing Specific uses cases Design processWhat the module currently supports Included hl7 message types / structureConfiguring the moduleHow the module can be extended / modifiedDemo
  3. 3. What, how and whyA means of exporting OpenMRS dataTranslates OpenMRS data into hl7 messagesAsynchronousSupports both pipe delimited and xml basedhl7 messagesGroovyscript to design message structure
  4. 4. Why ?No universally agreed approach to export hl7from OpenMRSJembi Health Systems needed thisrequirementNo two people agreed on the same hl7 toOpenMRS data mappingNeeded to support multiple message types
  5. 5. DesignHL7 message structureMessages broken down into segments Some segments are mandatory, some are not Some segments can be repeated, others cantAll depends on your definition of ‘whatscorrect’ How stringent do you want your message to be ?
  6. 6. Design cont.…How did we do this ? Create templates per each segment Introduce a template hierarchy Parent templates can call child templates Parent templates decide hl7 message structure Child templates decide message contents (data)
  7. 7. Template hierarchy cont.…Please refer tohttps://wiki.openmrs.org/display/projects/ORU_R01+Specification+for+the+hL7output+ModuleExample ORUR01 template calls the PID template. PID template may call PID.3 once or many times You can even introduce your own PID or PID.3 templates !
  8. 8. Why not Mirth ?Supports integration with mirth Module creates message, and hands it over to you Users can integrate Mirth for routing these messages (if you want to) Why don’t we provide Mirth as default ? We DON’T want a dependency on Mirth
  9. 9. Setting up the moduleRequired OpenMRS 1.8.2 or higherEdit global properties MSH data fields Name of parent template you’re usingSet implementation Id Used to export concepts without any mappings
  10. 10. OpenMRS HL7Query Module Demonstration
  11. 11. Querying for ORUR01 messagesORUR01 messages represent medicalobservationsThey are supported by defaultIn OpenMRS-speak, ORUR01 representencounters and observationsSingle request can contain one or manyencounters
  12. 12. Sample query parameterspatientIdidTypeUuidencounterUuidstartDateendDate None of these parameters are mandatory !
  13. 13. ResourcesWiki :https://wiki.openmrs.org/display/docs/HL7Query+ModuleJira :https://tickets.openmrs.org/browse/HLQRYGit: https://github.com/openmrs/openmrs-module-hl7query
  14. 14. Thank you !

×