Re: [HAPI-devel] Custom XML output

2014-11-03 Thread Chandan Datta
Thanks Christian. Yep, I think so. On Fri, Oct 31, 2014 at 12:15 PM, Christian Ohr wrote: > The XML that HAPI parses or renders is not our own invention but specified > over HL7 as well as the pipe-encoded form. > So I fear that if you want some custom XML representation of an HL7 > message you

[HAPI-devel] Human readable transform

2014-11-03 Thread Chandan Datta
Hi Is anyone worked on a transform to html/pdf which can take in a Hl7 file and output a human readable format. Is there any code sample and a sample data pipeline which you can suggest such as HL7 -> XML -> PDF (HAPI+XSL-FO) ? Examples are below: HL7 Lab file: MSH|^~\&|^CCHITLabs^L-CL|^CCHIT^

[HAPI-devel] Initiating the Hl7 class factory based on the MSH field

2014-11-03 Thread Chandan Datta
Hi, I am trying to create a Hl7 to XML transformer which will support multiple versions of Hl7 (such as v2.3 RSD/v2.4 RSD) files present in a directory. Is there a way to detect the version from the MSH segment before initiating HAPI? -- Regards, Chandan Doctoral student,Robotics Research Group U