From: Oliver W. <oli...@gm...> - 2014-05-07 10:27:49
|
Hi! I’m a first-time user of the HAPI library (version 2.2) and am seeing some strange behaviour. I’m parsing in an ADT A01 Hl7v2.4 message which has the following patient info section <hl7v2:PID.5> <hl7v2:XPN.1>SMITH</hl7v2:XPN.1> <hl7v2:XPN.2>FREDRICA</hl7v2:XPN.2> <hl7v2:XPN.3>J</hl7v2:XPN.3> <hl7v2:XPN.5>MRS</hl7v2:XPN.5> <hl7v2:XPN.7>L</hl7v2:XPN.7> </hl7v2:PID.5> When I parse the message using the DefaultHapiContext() with no validation() the XPN.1 value disappears. XPN.2, XPN.3, XPN.5, and XPN.7 are there still but XPN.1 isn’t. I look across the rest of my message and see that all the XPN.1s and XAD.1s are missing. What am I doing wrong? Thanks Oli Oliver Wilkie ( 07854601573 | 2 uk.linkedin.com/in/owilkie 8 oli...@gm... |