A sample of an HL7 file:
MSH|^~\&|REG|MCM|BTS||199601121005||ADT^A04|000001|P|2.2
EVN|A04|199601121005||01||199601121000
PID|||191919^^^MYHOS^MR~123-45-6789^^^USSSA^SS|253763|SMITH^JOHN^Q||
19560129|M|||123MAIN^^BUFFALO^NY^98052^""||(123)555-0100||S|M|
10199925^^^MYHOS^AN|123-45-6789
PD1|S|F|NormalString^A^
+1^-1^ISO^simpletext&Test&HCD^GI^simpletext&NormalString&ISO^I|
NormalString^Test&Test^Test^Test
^Test^Test^AE^simpletext^simpletext&Test&ISO
^P^NormalString^M10^MC^simpletext&NormalString&HCD^A|N|simpletext|I|I|
N|NormalString^+1^M11^
simpletext&NormalString&L,M,N^RRI^simpletext&
NormalString&HCD|NOVALUE^NormalString^Test^Test^NormalString^Test|N
PV1|1|I|2000^2012^01^hey&test&DNS^test^test^test^test^test||||
004777^MILLER^CONNIE^A.|||SUR||||2|A0
Ha ha, what a mess! HL7 seems to be a good idea that has been poorly
implemented....
There is Net::HL7, but that's it. I'm interested in this as well
because I've been writing a pharmacy application.
Ryan