Hi Letha,
Most likely some logic is preventing the 3rd rep from being added. Are you
able to distill this down into a code fragment that could be posted to the
list?
Cheers,
James
On Mon, Jun 2, 2014 at 3:53 PM, Letha Joy <let...@ec...>
wrote:
> Hi,
>
> I am getting following error message when I tried to create ORM
> (Medication)message using teaser. It works fine with three allergies. when
> I tries to add 4th allergy I am getting the following . Any help will be
> appreciated.
>
> ca.uhn.hl7v2.HL7Exception: Can't return repetition #3 of AL1 - there are
> currently only 2 repetitions so rep# must be between 0 and 2
>
> at
> ca.uhn.hl7v2.model.AbstractGroup.get(AbstractGroup.java:165)
>
> at
> ca.uhn.hl7v2.util.MessageNavigator.getCurrentStructure(MessageNavigator.java:169)
>
> at
> ca.uhn.hl7v2.util.SegmentFinder.getStructure(SegmentFinder.java:132)
>
> at
> ca.uhn.hl7v2.util.SegmentFinder.getSegment(SegmentFinder.java:104)
>
> at ca.uhn.hl7v2.util.Terser.getSegment(Terser.java:356)
>
> at ca.uhn.hl7v2.util.Terser.set(Terser.java:432)
>
>
>
> Thanks,
>
> Letha Joy
> CONFIDENTIALITY NOTICE TO RECIPIENT: This transmission contains
> confidential information belonging to the sender that is legally privileged
> and proprietary and may be subject to protection under the law, including
> the Health Insurance Portability and Accountability Act (HIPAA). If you are
> not the intended recipient of this e-mail, you are prohibited from sharing,
> copying, or otherwise using or disclosing its contents. If you have
> received this e-mail in error, please notify the sender immediately by
> reply e-mail and permanently delete this e-mail and any attachments without
> reading, forwarding or saving them. Thank you.
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech
> _______________________________________________
> Hl7api-devel mailing list
> Hl7...@li...
> https://lists.sourceforge.net/lists/listinfo/hl7api-devel
>
>
|