Re: [HAPI-devel] Distinguish segment as standard or non-standard

2016-09-28 Thread Ankit Shrestha
Is there any method available to get the no of segments present in a message for a specified message ??? Eg: I would want to get a count of segment "GT1" in the message. How to I get the count ? On Thu, Sep 29, 2016 at 8:49 AM, James Agnew wrote: > I don't think there is a direct way but you co

Re: [HAPI-devel] Distinguish segment as standard or non-standard

2016-09-28 Thread James Agnew
I don't think there is a direct way but you could always create a new empty message instance and compare the results of the getNames() method. sent from my phone. On Sep 28, 2016 10:31 PM, "Ankit Shrestha" wrote: > Hello, > Is it possible to distinguish a segment name as standard or non-standar

[HAPI-devel] Distinguish segment as standard or non-standard

2016-09-28 Thread Ankit Shrestha
Hello, Is it possible to distinguish a segment name as standard or non-standard ? Adding a non-standard segment ( segment name already exists ), appends a integer to segment name as it's parent identifies. But is it possible to get values of all the possible segment ( regardless of standard or non-

[HAPI-devel] StructureDefination initialization problem.

2016-09-28 Thread Ankit Shrestha
Hello, I am having problem to initialize StructureDefination of class "ca.uhn.hl7v2.parser.StructureDefinition". There is a constructor to but with empty parameters. Searching didn't gave me any results. It is possible to initialize this class. Please demonstrate with a code example. Thanks. -

Re: [HAPI-devel] hl7api SegmentFinder.java performance fix

2016-09-28 Thread Jens Villadsen
Submit your request here: https://sourceforge.net/p/hl7api/feature-requests/ It will then be picked up by the development group On 28 September 2016 at 13:20, Niels Ull Harremoës < [email protected]> wrote: > Did anyone ever look at this? Does anyone care? > > I also sent it to the

Re: [HAPI-devel] hl7api SegmentFinder.java performance fix

2016-09-28 Thread Niels Ull Harremoës
Did anyone ever look at this? Does anyone care? I also sent it to the address on the website, [email protected], but it bounced. Regards, Niels Harremoës Fra: Niels Ull Harremoës [mailto:[email protected]] Sendt: 7. juni 2016 12:10 Til: HAP