|
From: christian o. <chr...@ic...> - 2012-05-15 18:13:45
|
The HL7 spec shows no PR1 segment for SIU_S12 messages:
MSH Message Header
SCH Schedule Activity Information
[ { NTE } ] Notes and Comments
[ { PID Patient Identification
[ PD1 ] Additional Demographics
[ PV1 ] Patient Visit
[ PV2 ] Patient Visit - Additional Info
[ { OBX } ] Observation/Result
[ { DG1 } ] Diagnosis
}
]
{ RGS Resource Group Segment
[ { AIS Appointment Information - Service
[ { NTE } ] Notes and Comments
}
]
[ { AIG Appointment Information - General Resource
[ { NTE } ] Notes and Comments
}
]
[ { AIL Appointment Information - Location Resource
[ { NTE } ] Notes and Comments
}
]
[ { AIP Appointment Information - Personnel Resource
[ { NTE } ] Notes and Comments
}
]
}
Can you attach an example message? If you indeed have PR1 segments, the
message is non-standard and you can not directly access it except you define
a custom message for it.
regards
Christian
Stanley Zea wrote:
>
> Hey,
>
>
>
> I’m still new to HL7 and HAPI and need help. I'm receiving a SIU_S12
> message in version 2.4 that contains repeating PR1 segments. I’m using
> Apache Camel 2.8.2 to convert the file from text to a HAPI object. But I’m
> not seeing how I can extract the PR1 object for this message type like I
> do
> with segments such as SCH, PID, PV1, etc. I do see in ADT_A01 there is a
> getPR1 method. If I use pS12Msg.get("PR1", 0) I receive an HL7 exception.
> Would appreciate any help as I can’t find any other info in my web search.
> Thanks!
>
>
> Stanley
>
> ------------------------------------------------------------------------------
> 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
> Hl7...@li...
> https://lists.sourceforge.net/lists/listinfo/hl7api-devel
>
>
--
View this message in context: http://old.nabble.com/Retrieving-PR1-segment-data-from-HL7v2.4-SIU_S12-messages-tp33849463p33849852.html
Sent from the hl7api-devel mailing list archive at Nabble.com.
|