FHIR Chat · FamilyHistory-genetic Profile · implementers

Stream: implementers

Topic: FamilyHistory-genetic Profile


view this post on Zulip Stephan Wedig (Mar 31 2020 at 13:52):

I found the profile of the familyhistory-genetic (http://build.fhir.org/familymemberhistory-genetic.profile.json) and there is an attribute sibling, parent and observations which sliced extension. But where can I see which element in extension is a sibling, a parent or an observation? Maybe someone of you can help me.

view this post on Zulip Lloyd McKenzie (Mar 31 2020 at 14:56):

I'm not understanding your question. Can you expand a bit?

view this post on Zulip Stephan Wedig (Mar 31 2020 at 16:03):

When I have an instance file of familyhistory and in this file there are some extensions where can I see which of them is an extension:sibling, extension:parent and extension:observation

view this post on Zulip Lloyd McKenzie (Mar 31 2020 at 17:01):

https://www.hl7.org/fhir/list-example-familyhistory-genetics-profile.xml.html

view this post on Zulip Lloyd McKenzie (Mar 31 2020 at 17:01):

(That's an example)

view this post on Zulip Stephan Wedig (Apr 01 2020 at 11:43):

Thank you. That's not really clear, because in the profile file is written:
<type>
<code value="Extension"/>
<profile value="http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent"/>
</type>

view this post on Zulip Kevin Power (Apr 01 2020 at 13:23):

@Stephan Wedig - The example Lloyd provided only included the parent extension. Here is another which also includes the sibling extension.
https://www.hl7.org/fhir/list-example-double-cousin-relationship-pedigree.json

view this post on Zulip Stephan Wedig (Apr 02 2020 at 13:04):

I have understood how I can see it in an instance but I don't understand how I can see it in the profile. I write a code generator that read the resources and create C++ classes. Therefor I have to understand how I can read it out of a profile.

view this post on Zulip Vassil Peytchev (Apr 02 2020 at 13:29):

I don't know how to get from the URL http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent t the actual structure definition, but if you look at the URL in a browser, and look at the Full Structure, you will see the binding to the Value Set. This makes me think that there might be a step missing, where you could access the structure definition of the extension, that you need to generate the code...


Last updated: Apr 12 2022 at 19:14 UTC