FHIR Chat · Add Mappings to Spreadsheets · implementers

Stream: implementers

Topic: Add Mappings to Spreadsheets


view this post on Zulip Kathrin Riech (May 22 2020 at 10:38):

Is it possible to add mappings for specific elements in the spreadsheets, e.g. for Patient.name.family and Patient.name.given, instead of adding a mapping only for Patient.name?

view this post on Zulip Michele Mottini (May 22 2020 at 13:44):

Which spreadsheets?

view this post on Zulip Lloyd McKenzie (May 22 2020 at 15:46):

If you're creating profiles, then yes, you can drill down into data types solely for the purpose of declaring mappings

view this post on Zulip Kathrin Riech (May 26 2020 at 06:41):

I was thinking about the spreadsheets for each resource.
For example: https://github.com/HL7/fhir/blob/master/source/device/device-spreadsheet.xml

view this post on Zulip Lloyd McKenzie (May 26 2020 at 15:26):

For resources, no. Mappings can't drill down into data type components. If you want mappings on data types, those have to be done on the data type StructureDefinitions - outside the context of what resource the data type is used in. If you think a resource or data type would benefit from additional mappings, submit a change request.

view this post on Zulip Kathrin Riech (Jun 25 2020 at 10:17):

So what would be the best way to enter the mappings in the spreadshet in this case?
sdc_patient_mapping.png

view this post on Zulip Lloyd McKenzie (Jun 25 2020 at 14:38):

You can create a profile for each relevant resource and define mappings to whatever depth you desire there. That would be the typical way we'd publish mappings in FHIR

view this post on Zulip Lloyd McKenzie (Jun 25 2020 at 14:39):

(And try not to use just 'SDC' as it has multiple meanings)

view this post on Zulip Kathrin Riech (Aug 04 2020 at 11:55):

Fehler_Practitioner.png

I created a Patient and a Practitioner Profile to add relevant mappings. Now I get the error that the profile cannot be empty. How can this be solved and why does this error only occur with the practitioner and not with the patient profile?

view this post on Zulip Grahame Grieve (Aug 04 2020 at 11:57):

which of those errors? I don't think any of them say that the profile can't be empty

view this post on Zulip Kathrin Riech (Aug 04 2020 at 12:06):

I think the red errors

view this post on Zulip Grahame Grieve (Aug 04 2020 at 12:08):

they say that there's a problem with the extension.

view this post on Zulip Grahame Grieve (Aug 04 2020 at 12:08):

what does it say?

view this post on Zulip Kathrin Riech (Aug 04 2020 at 12:09):

The profile has no extension. I added only mappings

view this post on Zulip Grahame Grieve (Aug 04 2020 at 12:15):

hmm can I see the output?

view this post on Zulip Kathrin Riech (Aug 04 2020 at 12:20):

profile.png

view this post on Zulip Kathrin Riech (Aug 04 2020 at 12:20):

Which output do you mean?

view this post on Zulip Grahame Grieve (Aug 04 2020 at 12:23):

the xml or json source for the profile

view this post on Zulip Kathrin Riech (Aug 04 2020 at 12:28):

I just found the mistake.
Thank you for your help!


Last updated: Apr 12 2022 at 19:14 UTC