Stream: implementers
Topic: FHIR Profiles and Resources
Ananya Choudhury (Dec 04 2018 at 12:14):
Hi all ! I have a csv file converted to fhir resources , but basically through json templating. I also have corresponding fhir profiles. My questions would be :
1. Can we use the fhir profiles to do the same (as with json templates)?
2. Can we bundle the json files and push it into a fhir repository (is there already a python tool for this)?
Ewout Kramer (Dec 04 2018 at 14:57):
1. Yes, but profiles are only inputs to such a conversion. See here: https://www.hl7.org/fhir/mapping-language.html So instead of a json-specific templating tool, we offer a templating language that is independent of format.
2. Yes, you can zip them and upload them to simplifier.net, or registry.fhir.org.
Grahame Grieve (Dec 04 2018 at 18:49):
though we are also working up a common approach to templating using liquid templates. btw, Json commas are horrible for templating - I use a parser that ignores commas when doing templating
Eric Haas (Dec 04 2018 at 22:29):
Where is the FHIR liquid templating approach documented? In Python DJango, Ninja2, plain old string formatting and a dozen more in options for templates. (alas not Liquid)
Last updated: Apr 12 2022 at 19:14 UTC