Re: [HAPI-devel] Custom Segments immediately following a group

2012-08-15 Thread Michael Conner
Re: ambiguous. OK, that's pretty much what I thought. Re: Custom Model: I went down this path initially till I realized that it would be generating a different structure name (ZDT_A01). So, how would you do this and keep the name the same? Simply name the model class foo.bar. ADT_A01 (sam

Re: [HAPI-devel] Custom Segments immediately following a group

2012-08-15 Thread James Agnew
Hi Michael, Unfortunately this is an area where the HL7 specification is ambiguous about how your message should be correctly parsed. HAPI generally errs on the side of putting unexpected segments closest in the structure to the segment immediately before it, which in your case sounds like it's no

[HAPI-devel] Custom Segments immediately following a group

2012-08-15 Thread Michael Conner
We've got a message where we want to have a custom segment at the end of an Patient Admit, ADT A01 message. We don't have anything between IN1 and the custom segment. ... [{ --- INSURANCE begin IN1Insurance [ IN2 ]Insurance Additional Info.