Hi,
I have been using mirth and so far so good, but I am getting an exception when MSH-9^2 is missing (This is a required HL7 field-Message Type).
I know this is a hapi issue, but I was wondering if somebody has some work around.
The message that fails is above:
MSH|^~\&|LAB|COCTU|||200508251731||[blue]ORU[/blue]|1893043|P|2.1
PID|1||1111111|JON^DOE^M^^^||19990717|F|^^^^^|BL|1 |||(999)999-9999||S|CHR|12345|111-11-1111
PV1|1|O|D.PEDC^^|EL||||||||||||||POV||03|||||||||| |||||||||COCTU||REG|||200508251300
OBR|1|L4175051^LAB|^LAB||R||200508251503|||NCBL||| OFFICE VISIT|200508251648||YOSIH||0825:TU:U00088R||||2005 08251731|||F
OBX|1|ST|UTYPE^SPECIMEN TYPE^L|1|RANDOM|||N||AS|F|200506271318|^^^^
The error message I get from mirth is the folowing
ca.uhn.hl7v2.HL7Exception: Can't determine message structure from MSH-9: ORU HINT: there are only 1 of 3 components present
Thanks you.
I have been using mirth and so far so good, but I am getting an exception when MSH-9^2 is missing (This is a required HL7 field-Message Type).
I know this is a hapi issue, but I was wondering if somebody has some work around.
The message that fails is above:
MSH|^~\&|LAB|COCTU|||200508251731||[blue]ORU[/blue]|1893043|P|2.1
PID|1||1111111|JON^DOE^M^^^||19990717|F|^^^^^|BL|1 |||(999)999-9999||S|CHR|12345|111-11-1111
PV1|1|O|D.PEDC^^|EL||||||||||||||POV||03|||||||||| |||||||||COCTU||REG|||200508251300
OBR|1|L4175051^LAB|^LAB||R||200508251503|||NCBL||| OFFICE VISIT|200508251648||YOSIH||0825:TU:U00088R||||2005 08251731|||F
OBX|1|ST|UTYPE^SPECIMEN TYPE^L|1|RANDOM|||N||AS|F|200506271318|^^^^
The error message I get from mirth is the folowing
ca.uhn.hl7v2.HL7Exception: Can't determine message structure from MSH-9: ORU HINT: there are only 1 of 3 components present
Thanks you.
Comment