I want to send the data of patient to the dcm4chee using the python code, Currently I am able to send the data to the modality worklist using the "MLLPClient" but I have HL7 message which is generated by the openMRS, can any one help to know that how can I generate custom HL7 message using the patient data in python (odoo).
Asked
Active
Viewed 5,548 times
1
-
https://stackoverflow.com/questions/38567996/how-to-get-multiple-obr-segment-from-hl7-message ** Solution** – Jeenit khatri Jul 25 '16 at 12:40
-
https://msarfati.wordpress.com/2015/06/22/python-hl7-v2-x-and-hl7apy-hl7-construction-with-ormo01-and-orur01-part-2/ Help to generate HL7 using hl7apy – Jeenit khatri Jul 26 '16 at 03:59
2 Answers
0
Maybe Hapi could help you: http://hl7api.sourceforge.net/hapi-testpanel/install.html . It generates HL7 messages and I guess it could build hL7 messages with your own data.
Good luck!

Henrique Amaral
- 47
- 2
- 9
-
-
I tried HL7apy but when I try to add segment OBR is not working, Here the code is https://stackoverflow.com/questions/38567996/how-to-get-multiple-obr-segment-from-hl7-message – Jeenit khatri Jul 26 '16 at 03:57
-
do you guys know the syntax of adding multiple OBX to the same patient? i couldn't find online.. – Jessica Jun 01 '18 at 15:56
0
Here is the blog which helps me to create HL7 message.
In this blog the given code for OBR segment, You need to do: OrderDetailGroup before adding and populating the OBR segment.

Jeenit khatri
- 318
- 4
- 19