我有病人'数据模型如
ID=2,
FirstName="Harry",
LastName="Dev",
Email="abc@live.com",
Mobile="9876543210",
AlternatePhone="0123456789",
Location="HA-abc, def, USA.-205",
GuardianName="Test Guardian",
GuardianContactNumber ="9874563210",
EmergencyContactNumber="9874563210"
如何将其编码到HL7 ADT消息中,如下所示
MSH|^~\&|ALLSCRIPTS|MSMG|MyProduct|MyProduct|20160803122922||SIU^S12|4925280-201608031229226915|P|2.3|||AL|AL
SCH|2142896|25897260|||2142896|UCOV^UC - Office Visit^Allscripts||UCOV|5|m|^^5^20160803123000^20160803123500|||||test^mid^last^L||||test^mid^last^L|||||Scheduled^^Allscripts
PID|1|||31231660|Test^One||20080601|M||White|123 Test Street^^KINGSPORT^TN^37663||(555)123-1234^^PH^test@test.com^^555^1231234|||S||4925280
PV1|||O
RGS|1|A
请建议如何在C#中用HL7 ADT消息编码患者模型。