hapifhir / hapi-hl7v2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HL7 - OBR version 2.8.1 | HAPI Columns order different from HL7 2.8.1 document

rajatshroti opened this issue · comments

There is difference between HAPI OBR Columns order for HL7 V2.8.1 and HL7 2.8.1 document. Please find below file that has columns for both.

AsParHAPIForOBR.pdf

Please let me know why there is difference.

@rajatshroti I suspect that corrections have been made to the hl7 normative database since the source code was last generated.

@milkshakeuk I also have faced the same issue. How can I build the project locally to get the latest correct structures?

I tried to build the master branch using the 'buildall.sh' script provided.

Getting the below error.

[ERROR] Failed to execute goal ca.uhn.hapi:hapi-sourcegen:2.4-SNAPSHOT:sourcegen (2.1) on project hapi-structures-v21: Failed to build source : No suitable driver found for jdbc:odbc:hl7v25 -> [Help 1]

@ohr for those who have access to the normative database like myself, I still cannot build the structured libraries.

@abhinab-kar the project seems impossible to build at the moment due to the snapshot stuff not working.

ok thanks @milkshakeuk . And regarding the difference between HAPI OBR Columns order for HL7 V2.8.1 and HL7 2.8.1 document. Is there any workaround for this, or the issue is still open?

@jamesagnew @ohr are there any plans to:

  1. Fix the ability for anyone to clone and build the project - seems no-one can do this from fresh anymore.
  2. Re-generate the structures form the latest normative HL7 database and publish a new release.

@abhinab-kar I'm not sure perhaps you can parse the you message into the GenericMessage type and access the data that way?