Were you able to find a solution for HAPI to JSON ?
--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+unsubscribe@googlegroups.com.
To post to this group, send email to hapi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/e0a37949-083b-4a19-ae4b-c2d9c64ad978%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/CAKowd8nQa4qtp42jjC6YNUdJqNkU6x6THkXeVXf23pO6APkH7w%40mail.gmail.com.
Rene Spronk did some mapping work from V2 messages to FHIR. FHIR Resources also include mapping information from V2 to FHIR in the mappings tab.
Keith
From: hapi...@googlegroups.com [mailto:hapi...@googlegroups.com]
On Behalf Of Kevin Mayfield
Sent: Tuesday, July 18, 2017 3:02 PM
To: James Agnew <james...@gmail.com>
Cc: contactde...@gmail.com; HAPI FHIR <hapi...@googlegroups.com>; rdejo...@gmail.com
Subject: EXT: Re: HL7 V2.x to JSON
This is a work in progress but HAPI HL7v2 to HAPI FHIR
https://github.com/nhsconnect/careconnect-java-examples/blob/master/UHSH7v2Diagnostics/src/main/java/uk/nhs/careconnect/examples/App/UHSDiagnotics.java
Sent from my iPhone
On 18 Jul 2017, at 19:57, James Agnew <james...@gmail.com> wrote:
Hi,
Unfortunately the conversion from HL7v2 to HL7 FHIR is not as simple as just pumping one data model into the other, or running it through GSON or anything like that.
The two specifications have fairly different data models, you will unfortunately have to write code that copies data from HAPI's HL7v2 classes (e.g. ADT_A01.java) into the corresponding HAPI FHIR classes (e.g. Patient.java, Encounter.java, Practitioner.java, etc.)
Cheers,
James
On Tue, Jul 18, 2017 at 2:54 PM, <contactde...@gmail.com> wrote:
Were you able to find a solution for HAPI to JSON ?
--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To post to this group, send email to hapi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/e0a37949-083b-4a19-ae4b-c2d9c64ad978%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To post to this group, send email to hapi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/CAKowd8nQa4qtp42jjC6YNUdJqNkU6x6THkXeVXf23pO6APkH7w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
hapi-fhir+...@googlegroups.com.
To post to this group, send email to
hapi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/9FA8C21A-DB8A-432D-82F1-0FA7A66FD4CC%40gmail.com.
This is a work in progress but HAPI HL7v2 to HAPI FHIR
Hi,Unfortunately the conversion from HL7v2 to HL7 FHIR is not as simple as just pumping one data model into the other, or running it through GSON or anything like that.The two specifications have fairly different data models, you will unfortunately have to write code that copies data from HAPI's HL7v2 classes (e.g. ADT_A01.java) into the corresponding HAPI FHIR classes (e.g. Patient.java, Encounter.java, Practitioner.java, etc.)Cheers,James
On Tue, Jul 18, 2017 at 2:54 PM, <contactde...@gmail.com> wrote:
Were you able to find a solution for HAPI to JSON ?
--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To post to this group, send email to hapi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/e0a37949-083b-4a19-ae4b-c2d9c64ad978%40googlegroups.com.
Unfortunately the conversion from HL7v2 to HL7 FHIR is not as
> simple as just pumping one data model into the other, or running
> it through GSON or anything like that.
>
> The two specifications have fairly different data models, you will
> unfortunately have to write code that copies data from HAPI's
> HL7v2 classes (e.g. ADT_A01.java) into the corresponding HAPI FHIR
> classes (e.g. Patient.java, Encounter.java, Practitioner.java, etc.)
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/50c99cc6-e656-4e0f-abf5-a31ffb24a2ef%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To post to this group, send email to hapi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/e0a37949-083b-4a19-ae4b-c2d9c64ad978%40googlegroups.com.
Look at the Mapping tab on the FHIR Resource.
Keith
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/CA%2B9%3DHdtNf961br%3DQTa_0s9%2BofTb3sO3buuyR95uAeve4eL3jzQ%40mail.gmail.com.