parse patient data into HL7 ADT message format in C#
<p>My requirement is parsing data into HL7 ADT message format in C#.</p>

<p>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#.</p>

<p>My Model-</p>

<pre><code>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"
</code></pre>

<p>How to encode into HL7 ADT message?</p>

<p>Please suggest.</p>