Stream: implementers
Topic: HL7 to FHIR
Hanuma (Sep 10 2020 at 03:28):
Hi - What tool/library do you use to convert a HL7v2 message into fhir format?
Lloyd McKenzie (Sep 10 2020 at 03:55):
There is no standard tool/library - because there are no 'standard' v2 messages - every v2 implementation varies somewhat, which means that each mapping needs to be specific to that implementation space. However, there are standard mappings developed as a starting point - check out the #v2 to FHIR stream.
Hanuma (Sep 10 2020 at 03:58):
Sure. Will check it. I was also wondering if there is a tool that converts a CDA back into HL7. Any thoughts?
Richard Townley-O'Neill (Sep 10 2020 at 04:01):
CDA to V2?
Same problem, everyone does V2 differently.
There are some CDA streams, e.g. https://chat.fhir.org/#narrow/stream/179311-C-CDA
Hanuma (Sep 10 2020 at 04:05):
Yeah. I am trying to work on a prototype that can actually store HL7 and CDA messages in a NoSQL database. I was able to achieve the desired result with HL7 as I built a custom engine that transforms HL7 into JSON. But I am stuck with CDA, specially CDA can contain HTML elements like <table>. Will check the stream you've referred.
Craig Newman (Sep 10 2020 at 12:06):
If you're attending the HL7 connectathon on Thursday and Friday, there is a v2-to-FHIR track that you might find interesting.
René Spronk (Sep 10 2020 at 12:12):
There has been plenty of work done mapping US CCDA to FHIR. For any other CDA IGs you're on your own. @Oliver Egger has done some fancy stuff using CDA as a LM in FHIR, and using the mapping language to transform CDA to FHIR.
Oliver Egger (Sep 10 2020 at 14:58):
@Hanuma with the CDA FHIR Logical Model you can convert a CDA document to the FHIR Logical Model "json" representation. As you mentioned the question is how you handle CDA markup, e.g. the java reference implementation converts it to xhtml. you can find the logical model here: https://github.com/hl7/cda-core-2.0. To convert from the Logical Model to FHIR you could then use the FHIR Mapping Language. If you are participating at the FHIR Connectathon there is also a track for that.
Camila Altman (Sep 10 2020 at 15:26):
@Hanuma I have been using Microsofts opensource FHIR converter to convert V2 to FHIR
Hanuma (Sep 23 2020 at 03:11):
@Camila Altman that's my bet as well. Just wanted to be sure it if fully developed. Did you encounter any issues while using it?
@Oliver Egger Let me check this out..
Camila Altman (Sep 23 2020 at 14:06):
@Hanuma Some issues but just logged it in GitHub and they resolved them very quickly.
Sagar Singari (Sep 21 2021 at 09:47):
Hi @Hanuma & @Camila Altman
I'm trying to use Microsoft's opensource FHIR converter too, so needed few pointers.
I wasn't able to find the enable $convert-data option. I'm using HAPI CLI tool.
Hanuma (Sep 21 2021 at 10:24):
Sagar Singari said:
Hi Hanuma & Camila Altman
I'm trying to use Microsoft's opensource FHIR converter too, so needed few pointers.
I wasn't able to find the enable $convert-data option. I'm using HAPI CLI tool.
Convert-data is an operation that is available in the MS FHIR server. The open source FHIR converter works on REST APIs.
Last updated: Apr 12 2022 at 19:14 UTC