Hi,

Hi have this message:

MSH|^~\&|SINUS|1030101^AMARES|PDS|PDS|20120712145441.837+0100||ORM^O01|MSG00001|P|2.5||||||UNICODE
UTF-8
PID|||193661868||ANTONIO^LOPES^GOMES||19421220|M|||Rua do Bom
Jardim^^Porto^^4420-554^PT||+351965546354|||||3
ORC|RE|0|75430^MED_MEDICACAO_CRONICA||||1^^^20070228^20120411||20120712145441.837+0100|39389^MELO^CLAUDIA^^^^MD|||||||1030101^AMARES
RXO|5869^Fositen^INFARMED^597^Fosinopril^DCIPT||||20 mg|^1+0+0|||N
NTE|1|P|C09AA09~FOSINOPRIL~WC|PI^Patient Instructions^^1^ATC_CODE

I can't read the segment NTE, because HAPI don“t read it:

[EMPTY LIST]
((ORM_O01) obj).getORDER(0).getORDER_DETAIL().getNTEAll();

If I put a dummy OBR segment like this i get the NTE, but the problem is
that the ORM^O01 message structure are invalid according with 2.5
specification:

MSH|^~\&|SINUS|1030101^AMARES|PDS|PDS|20120712145441.837+0100||ORM^O01|MSG00001|P|2.5||||||UNICODE
UTF-8
PID|||193661868||ANTONIO^LOPES^GOMES||19421220|M|||Rua do Bom
Jardim^^Porto^^4420-554^PT||+351965546354|||||3
ORC|RE|0|75430^MED_MEDICACAO_CRONICA||||1^^^20070228^20120411||20120712145441.837+0100|39389^MELO^CLAUDIA^^^^MD|||||||1030101^AMARES
*OBR|5342342|||5869*
RXO|5869^Fositen^INFARMED^597^Fosinopril^DCIPT||||20 mg|^1+0+0|||N
NTE|1|P|C09AA09~FOSINOPRIL~WC|PI^Patient Instructions^^1^ATC_CODE

Can you help me? Best regards,
Paulo Ferreira.

**
**
**
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to