FHIR Chat · FHIR · mapping-framework

Stream: mapping-framework

Topic: FHIR


view this post on Zulip Revathy R (Feb 20 2020 at 10:16):

New to fhir. i have established fhir Server using hapi.
i was playing around with fhir server and i know to send create update patient using rest apis.

My Question is how to convert my existing data to fhir Format,
i have lot of patients data stored in My SQL database and XML files now how to convert this data to fhir Format.
i think we should do mapping. please guide me About fhir mapping. what is it exactly and how to do

view this post on Zulip Lloyd McKenzie (Feb 20 2020 at 16:07):

There's no magic solution - every database or proprietary XML syntax is different. You'll have to look at each element you have in your existing system and figure out what it corresponds to in FHIR (in some cases, you may need to convert data values too, whether that's changing date syntax or mapping gender codes). Then you need to write software in the language of your choice that converts data from one place to the other. You can use the relevant FHIR reference implementation so that you're mapping at the object layer and don't have to worry about the FHIR syntax (and thus can easily produce & consume XML, JSON and/or turtle. It's really not that different between writing the logic that converts between your persistence layer and your presentation layer - just think of FHIR as a 'different' presentation layer.

view this post on Zulip Revathy R (Feb 20 2020 at 18:22):

I know it thier no magical soln. .. I just asked a small example or code of 2 lines. .. Anyways thanks for your reply

view this post on Zulip David Hay (Feb 20 2020 at 19:54):

This may be of interest: https://fhirblog.com/2019/03/25/importing-csv-data-into-a-fhir-server/#more-161543

view this post on Zulip Revathy R (Feb 21 2020 at 05:28):

Thanks a lot. It gave me clear idea. Thanks


Last updated: Apr 12 2022 at 19:14 UTC