Order - HL7 message

@dkayiwa @jblaya @peterb Sir! I want know when an order is created with that openmrs also create HL7 message ? if so Where it is stored? How can I see it? I am talking with reference to this link - anyone who can guide me … PLEASE

https://wiki.openmrs.org/display/docs/Connecting+OpenMRS+to+Other+Systems+Using+Mirth

Which is the database … where it drop the HL7 messages ? I want to use rest api

*PLEASE guide me

Did you take a look at this page and its top links for hl7 messages? https://demo.openmrs.org/openmrs/admin/hl7/hl7InArchives.htm

yes Sir, I haved seen it before… I was looking for how to send message to this archive… I came to know the about HL7 source… Now I have json object code which I am trying to send by the help of /ws/rest/hl-source api , I think I will give my json code by using this and it will parse it and return my HL7 code in HL7inarchives…

I will be in touch with you for futhur help… Thank You for help.

I am facing this error when I paste my json object code, that json code is generated by the help of openmrs of any patient radiology order.

json code: Paste.ee error: Paste.ee

Is this the url you are posting to? https://demo.openmrs.org/openmrs/module/webservices/rest/apiDocs.htm#!/hl7source/createHL7Source If yes, how does your exact post data look like?

yes sir, I am using the same but on my machine, this is the link http://localhost:4400/openmrs/module/webservices/rest/apiDocs.htm#!/hl7source/createHL7Source

I am just pasting this code { "uuid": "8d9cb245-0ef5-4084-b0f0-d01a9db929a1", "orderNumber - Pastebin.com in the left box shown in above picture with red text and nothing else, then clicking try it out. it give me error.

These are the modules loaded and started on my system 2.0.5 OpenMRS

That url only creates an hl7 source which should have only the name and description as you can see here: https://demo.openmrs.org/openmrs/admin/hl7/hl7Source.form

For posting an order, you need to use this: https://demo.openmrs.org/openmrs/module/webservices/rest/apiDocs.htm#!/order/createOrder

@dkayiwa sorry sir, please allow me to correct it. Sir, I want to use this… https://demo.openmrs.org/openmrs/module/webservices/rest/apiDocs.htm#!/hl7/createHL7Message

I have already created json of order… I mean have json code of order palced. now I want to change this to HL7 by the help of above mentioned link or some other way.

Json of order: https://paste.ee/p/gGnMN

Please guide me how can I solve this issue.

The hl7 resource takes only the hl7 message text and nothing more. Just one property as you can see it on that link under example value.