- and using reflection on all the methods on the segments you are able to
get both the name and the numbering of the segment/field/...

happy reflectin'


On 30 January 2014 10:14, Malith Dhanushka <mmali...@gmail.com> wrote:

> Hi James/Jens,
>
> Yes James that is my exact requirement. Anyway I was able to get some
> progress using reflection as Jens mentioned. Thanks guys for the leads :).
>
> Malith
>
>
> On Thu, Jan 30, 2014 at 1:26 AM, Jens Villadsen <
> jenskristianvillad...@gmail.com> wrote:
>
>> Or - as one of my colleagues did - use reflection on the message
>> structure files from HAPI. That works perfectly well too ;)
>>
>>
>> On 29 January 2014 20:53, James Agnew <ja...@jamesagnew.ca> wrote:
>>
>>> Hi Malith,
>>>
>>> Do you mean that you want programmatic access to the message structures
>>> themselves? (Ie. not the contents of an actual message instance, but the
>>> names of all the segments, fields, components, etc. within a message?)
>>>
>>> If that's the case, the most comprehensive authority for that
>>> information is the "HL7 database", which is distributed in MS Access
>>> format. Unfortunately it's a commercial product and it doesn't come
>>> particularly cheaply: https://www.hl7.org/store/index.cfm?ref=nav. This
>>> is actually the very database that we use within HAPI to build our
>>> structure libraries.
>>>
>>> Cheers,
>>> James
>>>
>>>
>>>
>>>
>>> On Wed, Jan 29, 2014 at 8:42 AM, Malith Dhanushka <mmali...@gmail.com>wrote:
>>>
>>>> Hi Ratha,
>>>>
>>>> Thanks for the link but i was looking for programmatical way of listing
>>>> all the occurrences.
>>>>
>>>> Malith
>>>>
>>>>
>>>> On Tue, Jan 28, 2014 at 4:43 PM, Ratha v <vijayara...@gmail.com> wrote:
>>>>
>>>>> Hi;
>>>>>
>>>>> Check this..
>>>>>
>>>>> [1]http://www.hl7.org/special/committees/vocab/v26_appendix_a.pdf
>>>>>
>>>>> Thanks..
>>>>>
>>>>>
>>>>> On 27 January 2014 19:22, Malith Dhanushka <mmali...@gmail.com> wrote:
>>>>>
>>>>>> Hi Devs,
>>>>>>
>>>>>> I have a requirement to get the whole list of possible
>>>>>> segment,composites,sub-composites and there types structure of a hl7
>>>>>> message (v2.1). This is for an indexing requirement. For example here is 
>>>>>> a
>>>>>> sample list.
>>>>>>
>>>>>> MSH.ReceivingApplication
>>>>>> GT1.SetID MSH.ReceivingFacility
>>>>>> MSH.MessageControlID
>>>>>> NK1.Relationship
>>>>>> MSH.VersionID
>>>>>> MSH.Date/TimeOfMessage.TSComponentOne
>>>>>>
>>>>>> It would be grateful if someone can give a lead on this.
>>>>>>
>>>>>> Thanks in Advance,
>>>>>> Malith
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
>>>>>> Learn Why More Businesses Are Choosing CenturyLink Cloud For
>>>>>> Critical Workloads, Development Environments & Everything In Between.
>>>>>> Get a Quote or Start a Free Trial Today.
>>>>>>
>>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
>>>>>> _______________________________________________
>>>>>> Hl7api-devel mailing list
>>>>>> Hl7api-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/hl7api-devel
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> -Ratha
>>>>> http://vvratha.blogspot.com/
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Undergraduate,
>>>> Department of Computer Science and Engineering,
>>>> University of Moratuwa,
>>>> Sri Lanka.
>>>> <email-mmali...@gmail.com>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> WatchGuard Dimension instantly turns raw network data into actionable
>>>> security intelligence. It gives you real-time visual feedback on key
>>>> security issues and trends.  Skip the complicated setup - simply import
>>>> a virtual appliance and go from zero to informed in seconds.
>>>>
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
>>>>
>>>> _______________________________________________
>>>> Hl7api-devel mailing list
>>>> Hl7api-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/hl7api-devel
>>>>
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> WatchGuard Dimension instantly turns raw network data into actionable
>>> security intelligence. It gives you real-time visual feedback on key
>>> security issues and trends.  Skip the complicated setup - simply import
>>> a virtual appliance and go from zero to informed in seconds.
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Hl7api-devel mailing list
>>> Hl7api-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/hl7api-devel
>>>
>>>
>>
>>
>> --
>>
>> Med venlig hilsen / Kind regards
>>
>> *Jens Kristian Villadsen*
>> cand.polyt
>>
>> Stålhøjen 24
>> 8240 Risskov
>> Denmark
>>
>> Mobile +4523373806
>> jenskristianvillad...@gmail.com
>> jkiddo.dyndns.org
>>
>
>
>
> --
> Undergraduate,
> Department of Computer Science and Engineering,
> University of Moratuwa,
> Sri Lanka.
> <email-mmali...@gmail.com>
>
>



-- 

Med venlig hilsen / Kind regards

*Jens Kristian Villadsen*
cand.polyt

Stålhøjen 24
8240 Risskov
Denmark

Mobile +4523373806
jenskristianvillad...@gmail.com
jkiddo.dyndns.org
------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to