简体   繁体   中英

How to generate HL7 message?

我想使用python代码将患者的数据发送到dcm4chee,目前我可以使用“ MLLPClient”将数据发送到模态工作列表,但是我有openMRS生成的HL7消息,可以帮忙吗知道如何使用python(odoo)中的患者数据生成自定义HL7消息。

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!

Here is the blog which helps me to create HL7 message.

https://msarfati.wordpress.com/2015/06/22/python-hl7-v2-x-and-hl7apy-hl7-construction-with-ormo01-and-orur01-part-2/

In this blog the given code for OBR segment, You need to do: OrderDetailGroup before adding and populating the OBR segment.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM