Stream: registry.fhir.org
Topic: JSON to CSV
Sunay Shah (Jul 26 2021 at 21:23):
I have some sample data in FHIR/json format that I'd like to convert to csv. Is there a simple way to perform this conversion one-time? Any way to perform this same conversion on an on going basis?
Thanks.
Lloyd McKenzie (Jul 26 2021 at 22:53):
Not really, because there are all sorts of decisions about how to flatten. As an example, if flattening Patient data to a CSV, is each address a column, or do you repeat sets of columns for each address? How do you handle extensions? What about complex extensions like us-race? How you produce the CSV is really driven by what you want in the columns.
Sunay Shah (Jul 28 2021 at 14:10):
@Lloyd McKenzie Thank you - makes sense.
Last updated: Apr 12 2022 at 19:14 UTC