FHIR Chat · Dataset Help · implementers

Stream: implementers

Topic: Dataset Help


view this post on Zulip Josh Lu (Mar 05 2019 at 09:32):

i'm a newbie, who would like to implement my datasets as a fhir compatible format. where should i get started? i survey some fhir converter, such synthea, or fhir.resources, but still confused how to convert my .csv datasets into a json, or xml fhir format. can anyone give me a hint?

view this post on Zulip Grahame Grieve (Mar 05 2019 at 09:41):

We'd love to help you implement your data sets in a FHIR compatible format. Expecially if you're going to share them. There's really no off the shelf converter specific to FHIR - we all just cut code of one sort or another to make it happen. There's lots of suitable languages. Liquid, for instance (see http://wiki.hl7.org/index.php?title=FHIR_Liquid_Profile). Or check out something I did a lot earlier:

https://github.com/HL7/fhir/blob/master/source/patient/patient-examples-cypress-template.xml and https://github.com/HL7/fhir/blob/master/source/patient/patient-examples-cypress-template.csv

view this post on Zulip Josh Lu (Mar 05 2019 at 11:00):

many thanks, i would give a try. is there an easier way to understand the fhir specification for resources, or patient models. i confused about the data models, how to convert those data models into a real json, or xml format.

view this post on Zulip Lloyd McKenzie (Mar 05 2019 at 15:47):

The easiest way to understand the models is often to look at the examples. There's an examples tab for each resource and within those you can look at the examples in XML or JSON (or RDF). That may help you to understand how the models are intended to work - and also what the XML or JSON resulting from your conversion should look like.


Last updated: Apr 12 2022 at 19:14 UTC