Thank you very much for your response. Thank you for clarifying my
misunderstanding, gratefully appreciated!
From: Ian Vowles [mailto:ian.vow...@health.qld.gov.au]
Sent: Wednesday, December 16, 2015 5:50 PM
To: hl7api-devel@lists.sourceforge.net
Subject: Re: [HAPI-devel] Escaping Encoded
I think Brian's confusion here is partially about initQuickstart() adding
an unexpected value in MSH-9-3.
Similar to your suggestion, Ian, I think what Brian might be looking for is
something like this to remove the value afterward:
ORR_O02 o02 = new ORR_O02();
o02.initQuickstart(
In HL7 v2.5 the MSH-9 segment is a datatype with 3 fields. HAPI supports this,
so it gives you getters and setters for all the components in the datatype.
To set up what you want you can do the following:
mshSegment.getMsh9_MessageType().getMessageCode().getMsg1_MessageCode().setValue("ORR");
msh
3 matches
Mail list logo