Hi
For Creating a new patient do I need to install some new module. I am currently using standalone 2.6.
Currently in the test of REST Web Services I am sending
URI = /openmrs-standalone/ws/rest/v1/hl7
Body content = {“hl7”:“MSH|^~&|FORMENTRY|LOCAL|HL7LISTENER|LOCAL|20091123101300^0|HUP|ADT^A28^ADT_A05|9166768|P|2.5|1|||AL||ASCII\r\nEVN|A28|20091123101300|||1\r\nPID|||1003C3^^^OpenMRS ID||Patient^Demo^OldId||20011114|M|||20371^02^2400^724||||||724^Y||||||02|||11|20371|724^DEUT^N||N”}
@dkayiwa
Went through your link, compared the message with the message that I was trying to send, found out that there was one ‘/’ missing before the ‘&’ and that’s what the Tomcat logs said.
Yes the error log is saying that… Missing patient identifier in PID segment. It looks like the message that I am sending is still not perfect if somebody could find any error in this message format then it will be very helpful.
@dkayiwa
Tried using your message but still I’m getting the message in hl7_errors
ca.uhn.hl7v2.HL7Exception: No route for hl7 message: ADT_A05. Make sure you have a module installed that registers a hl7handler for this type
Here is the complete log https://pastebin.com/ZbqZDUV8
Which module should I install which registers hl7handler?