Thanks for the help @dkayiwa . I have been trying this for a week, finally you made it happen.
Just one more thing I am getting messages without | symbol that is the message is coming in XML format. Why?
How can I have it in HL7 format?
| ^~\& OPENMRS 20170719102823 ORU R01 ORU_R01 1881e17d-d9ba-48d7-887b-6676c822b462 D C 2.5 RWA CLSM_V0.83 1 0 8d6c993e-c2cc-11de-8d13-0010c6dffd0f Unknown Location ADULTRETURN dd552fc1-1691-11df-97a5-7038c432aabf User Super UUID 20060511000000 0 1238 MEDICAL RECORD OBSERVATIONS CODE 0 bf9c6ada-1691-11df-97a5-7038c432aabf 1 CWE 1110 PATIENT REPORTED CURRENT TUBERCULOSIS PROPHYLAXIS CODE 1107 NONE CODE 20060516103603 2 CWE 1111 PATIENT REPORTED CURRENT TUBERCULOSIS TREATMENT CODE 1107 NONE CODE 20060516103603 3 CWE 1112 PATIENT REPORTED CURRENT CRYPTOCOCCUS TREATMENT CODE 1107 NONE CODE 20060516103603 4 CWE 1109 PATIENT REPORTED
Secondly, Is it possible to get HL7 message in the latest standalone version 2.6? Considering the hl7_query_module works on version 1.8.2 and there is no other available module for version 2.6.
I have seen that there is inbuilt ORUR01 template in current version but there are only POST and DELETE HL7 queries for it. How can I GET HL7 query as well.