1.TYPE : POST
2. URI : /openmrs/ws/-standalone/ws/rest/v1/hl7
3. Body content :"{\"hl7\":\"MSH|^~\\&|FORMENTRY|AMRS.ELD|HL7LISTENER|AMRS.ELD|20110805104142||ORU^R01|REl7wt78q9Pzlqe9ecJB|P|2.5|1||||||||3^AMRS.ELD.FORMID\rPID|||3^^^^||Patient^John^D||\rPV1||O|1||||1|||||||||||||||||||||||||||||||||||||20110805|||||||V\rORC|RE||||||||20110805104141|1^Super User\rOBR|1|||1238^MEDICAL RECORD OBSERVATIONS^99DCT\rOBX|1|NM|5089^WEIGHT (KG)^99DCT||67.2|||||||||20110805\"}"
But I am getting "Internal Server Error"
Error Message:
error!
msg: error
errorThrown: undefined
req: [object XMLHttpRequest]
I am not sure if my approach to send HL7 messages to the REST module via a POST request is right .
Hi jay, I haven't used hl7. You may have better luck on the openmrs Dev mailing list.
Ok.
Thank you.