.I can't seem to figure out how to instantiate the batch specific segments.
Like FHS, BHS, BTS, and FTS. I have tried
Segment segment= (Segment) new
DefaultModelClassFactory().getSegmentClass("FHS", version).newInstance();
But this gives me an instantiation exception. Is there a way around this?
I also tried to instantiate it directly like:
segment = new ca.uhn.hl7v2.model.v23.segment.FHS(null, new
DefaultModelClassFactory());
But I can't figure out what I am suppose to put as the first argument and null
doesn't work.
thanks
-ryan
_________________________________________________________________
The best games are on Xbox 360. Click here for a special offer on an Xbox 360
Console.
http://www.xbox.com/en-US/hardware/wheretobuy/
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel