parse patient data into HL7 ADT message format in C#

谁都会走 提交于 2020-01-03 07:01:40

问题


My requirement is parsing data into HL7 ADT message format in C#.

Please anyone suggest, I am stuck with that how to encode patient data into HL7 ADT and decode HL7 ADT message into patient data in C#.

My Model-

ID=2, FirstName="Harry", LastName="Dev", Email="abc@live.com", Mobile="9876543210", AlternatePhone="0123456789", Location="HA-abc, def, USA.-205", GuardianName="Test Guardian", GuardianContactNumber ="", EmergencyContactNumber="12"

How to encode into HL7 ADT message?

Please suggest.


回答1:


"Encoding patient data into..." is beyond reach for anybody except you, unless you tell us what input format you have. "Decoding HL7 ADT" -- use parser generator to create parser for you (Irony, Coco/R, GOLD, LLLPG, Roslyn, Sprache, or my NLT). Once you start and you will have problem with the grammar, you can ask more specific question.



来源:https://stackoverflow.com/questions/41117481/parse-patient-data-into-hl7-adt-message-format-in-c-sharp

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!