Re: [HAPI-devel] XPN.1s and XAD.1s are missing when parsing XML

2014-05-07 Thread James Agnew
HI Oliver, I'm fairly sure XPN.1 is a composite type, so that message looks invalid to me. I believe specifically that it should have a child element called or something similar. I'm on my phone at the moment so I can't check, but if you create a message instance in code with XPN populated and e

[HAPI-devel] XPN.1s and XAD.1s are missing when parsing XML

2014-05-07 Thread Oliver Wilkie
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 SMITH FREDRICA J