Hello James,

My question is fairly simple, but since I am pretty new to HL7 and HAPI. I
think it would be good to get started with clearing my basics.

My job is to generate a HL7 message of type ADT (could be few events like
A01, A04, A05, A8, and A28).

Input that I have with me is a POJO java class with the attributes required
for generating HL7 message.

 

What I want to know is,

-          Is there any utility class in HAPI that helps me to generate HL7
message using path like notations (the way terser works for parsing).

-          Secondly, can I create specific segments (like MSH or PID)
individually without creating group first like ADT_A01? If so, how? I wish
to create PID independently and then add the same to any group. So I am
looking for option other than ADT_A01.getPID(). I noticed that, if I create
PID as PID pid = new PID(adt_a01_object, factory), then still PID is not
added to adt_a01_object, when I print adt_a01_object.encode().

 

Appreciate your inputs.

Thanks.

 

Regards,

Sagar Shah




===========================================================================================================================================================================================
DISCLAIMER:
The information contained in this message (including any attachments) is 
confidential and may be privileged. If you have received it by mistake please 
notify the sender by return e-mail and permanently delete this message and any 
attachments from your system. Any dissemination, use, review, distribution, 
printing or copying of this message in whole or in part is strictly prohibited. 
Please note that e-mails are susceptible to change. CitiusTech shall not be 
liable for the improper or incomplete transmission of the information contained 
in this communication nor for any delay in its receipt or damage to your 
system. CitiusTech does not guarantee that the integrity of this communication 
has been maintained or that this communication is free of viruses, 
interceptions or interferences. 
====================================================================================================================================================================



===========================================================================================================================================================================================
DISCLAIMER:
The information contained in this message (including any attachments) is 
confidential and may be privileged. If you have received it by mistake please 
notify the sender by return e-mail and permanently delete this message and any 
attachments from your system. Any dissemination, use, review, distribution, 
printing or copying of this message in whole or in part is strictly prohibited. 
Please note that e-mails are susceptible to change. CitiusTech shall not be 
liable for the improper or incomplete transmission of the information contained 
in this communication nor for any delay in its receipt or damage to your 
system. CitiusTech does not guarantee that the integrity of this communication 
has been maintained or that this communication is free of viruses, 
interceptions or interferences. 
====================================================================================================================================================================
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to