I have built a custom hl7 (see screenshot) with ADT_A03 to match what is being sent from the system but still get the following error even though I have the custom hl7. Any idea on why this error would be generating?
<p style=”padding-left: 30px;”>The # 8 segment encountered ‘DG1’ is out of order when parsing hl7 (2.5.1 meditech) for message type ‘ADT_A03_ADT_A03’. Segment ignored.</p>
<p style=”padding-left: 30px;”>MSH|9 ADT^A03^ADT_A03</p>
<p style=”padding-left: 30px;”>Segment order being sent from system</p>
<p style=”padding-left: 30px;”>MSH</p>
<p style=”padding-left: 30px;”>EVN</p>
<p style=”padding-left: 30px;”>PID</p>
<p style=”padding-left: 30px;”>PV1</p>
<p style=”padding-left: 30px;”>DG1</p>
<p style=”padding-left: 30px;”>OBX</p>