Re: [HAPI-devel] Custom Model Classes

2015-12-23 Thread Davies, Brian
Thank you Ian. It's working with a few rearrangements of the classes. From: Ian Vowles [mailto:[email protected]] Sent: Tuesday, December 22, 2015 3:16 PM To: [email protected] Subject: Re: [HAPI-devel] Custom Model Classes Following up on the example of our

Re: [HAPI-devel] Custom Model Classes

2015-12-22 Thread Ian Vowles
n hapiContext; } } From: Davies, Brian [mailto:[email protected]] Sent: Wednesday, 23 December 2015 1:39 AM To: [email protected] Subject: Re: [HAPI-devel] Custom Model Classes Forgot to include the exception: RDS_R06is called!!! Exception in thread "main&qu

Re: [HAPI-devel] Custom Model Classes

2015-12-22 Thread Davies, Brian
Forgot to include the exception: RDS_R06is called!!! Exception in thread "main" java.lang.ClassCastException: ca.uhn.hl7v2.model.GenericSegment cannot be cast to com.mckn.mms.lds.hl7.zxx.custommodel.v25.group.PFG at com.mckn.mms.lds.hl7.zxx.custommodelv25.message.RDS_R06.getPFG(RDS_R