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).
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.