Have looked at any of the following pages:
- http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/ExampleParseMessages.html - http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/CreateAMessage.html - http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/PopulateOBXSegment.html If that did not help you, please write again. On 30 October 2011 20:26, Thothathri Srinivasan <tsri...@ncsu.edu> wrote: > I want a *HL7 ADT^A05 *message from say a PID object, which has Patient > ID, Patient Name, Date of Birth, Patient Address, etc. Now, to convert this > into an ADT^A05 message, should I just do a <PID_Object_Name>.encode() ? > And also, how would I merge say MSH, PID, and other segments to make them > into a *HL7 ADT^A05* message? > > Thanks > Thothathri > > On Sun, Oct 30, 2011 at 3:20 PM, Jens Villadsen < > jenskristianvillad...@gmail.com> wrote: > >> In order to help you, you gotta be a little more specific about "*convert >> messages into HL7 ADT^A05 messages*". What messages are you initially >> referring to? I can give you an example if you specify a specific field in >> a segment. >> >> On 30 October 2011 20:15, Thothathri Srinivasan <tsri...@ncsu.edu> wrote: >> >>> Hi, >>> >>> I'm a dev working on the OpenMRS project, and wanted to convert messages >>> into HL7 ADT^A05 messages, and intend to use hapi for this purpose. >>> I basically wanted to know how to populate the fields/segments so that I >>> can get a ADT^A05 message. >>> I've seen the hapi website has some examples, but they all seem to be >>> hardcoded examples. >>> Any help will be deeply appreciated! >>> >>> Thanks, >>> Thothathri >>> >>> -- >>> Thothathri Srinivasan >>> Graduate Student in Computer Science, >>> *NC STATE* UNIVERSITY >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Get your Android app more play: Bring it to the BlackBerry PlayBook >>> in minutes. BlackBerry App World™ now supports Android™ Apps >>> for the BlackBerry® PlayBook™. Discover just how easy and simple >>> it is! http://p.sf.net/sfu/android-dev2dev >>> >>> _______________________________________________ >>> 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 >> >> Kantorvænget nr. 161 >> 8240 Risskov >> Denmark >> >> Mobile +4523373806 >> jenskristianvillad...@gmail.com >> jkiddo.dyndns.org >> >> > > > -- > Thothathri Srinivasan > Graduate Student in Computer Science, > *NC STATE* UNIVERSITY > > -- Med venlig hilsen / Kind regards *Jens Kristian Villadsen* cand.polyt Kantorvænget nr. 161 8240 Risskov Denmark Mobile +4523373806 jenskristianvillad...@gmail.com jkiddo.dyndns.org
------------------------------------------------------------------------------ Get your Android app more play: Bring it to the BlackBerry PlayBook in minutes. BlackBerry App World™ now supports Android™ Apps for the BlackBerry® PlayBook™. Discover just how easy and simple it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________ Hl7api-devel mailing list Hl7api-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hl7api-devel