[HAPI-devel] HAPI HL7 2.6 MFE typecast problem

2011-07-26 Thread vasu
Hi HAPI Developers, I am using HAPI hl7 version 2.6 when tring to read MFE|4 field ,it shows java.lang.ClassCastException: ca.uhn.hl7v2.model. GenericComposite cannot be cast to ca.uhn.hl7v2.model.v26.datatype.CWE --- MSH|^~\&|RISHL7|RIS|LCI Billing HL7|L

[HAPI-devel] Accessing CM type values

2011-07-26 Thread Polack, Barbara L
Hello, Sorry if this question was already answered, but could not find anything in the archives. I need to access the value of OBR-2 and OBR-3, which are CM types, (this is for v2.1). There are not getvalue() or nsetvalue() methods. How can the value be accessed? I see the parse() meth