Hi all,
please comment, does Conquest reads HL7 v3 files (xml tagged HL7)?
If doesn't, do you plan to include HL7 v3 support in the future?
Kind Regards,
Juri
Hi all,
please comment, does Conquest reads HL7 v3 files (xml tagged HL7)?
If doesn't, do you plan to include HL7 v3 support in the future?
Kind Regards,
Juri
Hi.
it doesn't for now. If you could send a sample of the version3 HL7 file, I could have a look. If it is not to difficult it might be added in a next release.
Or you could yourself have a look at the end of dgate.cpp where HL7 is parsed (routine parseHL7) , and see if you can adapt the code or add another routine for the new HL7 version.
Marcel
The transition logic between HL7 v2x and HL7 in xml syntax is very clearly described here:
http://www.hl7.org/Special/Committees/sgml/hl7v231xml.pdf
Pay special attention to paragraph "C. Long Example Message":
Here we see a sample message in the syntax of the standard encoding rules.
MSH|^~\&|LAB|767543|ADT|767543|19900314130405||ADT^A04|XX3657|P|2.3.1<CR>
EVN|A01|19980327101314|19980327095000|I||19980327095000<CR>
PID|1||123456789ABCDEF|123456789ABCDEF|PATIENT^BOB^S||19590520|M||
612345 MAIN STREET^^ANYTOWN^CA^91234||714-555-1212|
714-555-1212||||123456789ABCDEF|||U<CR>
PD1||||WELBY<CR>
PV1|1|0||NEW|||SPOCK<CR>
Here we see that sample message in the syntax of the XML encoding rules.
<DOCTYPE>
<ADT_A03>
<MSH>
<MSH>|</MSH>
<MSH>^~\&</MSH>
<MSH><HD>LAB</HD></MSH>
<MSH><HD>767543</HD></MSH>
<MSH><HD>ADT</HD></MSH>
<MSH><HD>767543</HD></MSH>
<MSH>19900314130405</MSH>
<MSH>
<CM_MSG_TYPE>ADT</CM_MSG_TYPE>
<CM_MSG_TYPE>A04</CM_MSG_TYPE>
</MSH>
<MSH>XX3657</MSH>
<MSH><PT>P</PT></MSH>
<MSH><VID>2.3.1</VID></MSH>
</MSH>
<EVN>
<EVN>A01</EVN>
<EVN>19980327101314</EVN>
<EVN>19980327095000</EVN>
<EVN>I</EVN>
<EVN>19980327095000</EVN>
</EVN>
<PID>
<PID>1</PID>
<PID>
<PID><CX>123456789ABCDEF</CX></PID>
19
</PID>
<PID>
<PID><CX>123456789ABCDEF</CX></PID>
</PID>
<PID>
<PID>
<XPN>PATIENT</XPN>
<XPN>BOB</XPN>
<XPN>S</XPN>
</PID>
</PID>
<PID>19590520</PID>
<PID>M</PID>
<PID>
<PID><CE>6</CE></PID>
</PID>
<PID>
<PID>
<XAD>12345 MAIN STREET</XAD>
<XAD>ANYTOWN</XAD>
<XAD>CA</XAD>
<XAD>91234</XAD>
</PID>
</PID>
<PID>
<PID><XTN>714-555-1212</XTN></PID>
</PID>
<PID>
<PID><XTN>714-555-1212</XTN></PID>
</PID>
<PID><CX>123456789ABCDEF</CX></PID>
<PID>
<PID><CX>U</CX></PID>
</PID>
</PID>
<PD1>
<PD1>
<PD1><XCN>WELBY</XCN></PD1>
</PD1>
</PD1>
<PV1>
<PV1>1</PV1>
<PV1>0</PV1>
<PV1>NEW</PV1>
<PV1>
<PV1><XCN>SPOCK</XCN></PV1>
</PV1>
</PV1>
</ADT_A03>
Hi,
In the document you linked, the XML headers are numbered (like <PID>), very much like on our dicom.sql. What is the correct syntax?
Marcel
Don’t have an account yet? Register yourself now and be a part of our community!