I want to be able to escaped the special encoding characters by using \S\ or
\R\ but this doesn't seem to work for me.
I also tried the code snippet below but it seems that using the quick start
init method creates multiple repetitions of the message type, for example:
ORR_O02 orr002=new
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
2 matches
Mail list logo