Stream: implementers
Topic: Question for"family-member-history-genetic-parent"
Yunwei Wang (Oct 16 2019 at 15:31):
http://build.fhir.org/extension-family-member-history-genetics-parent.html
How do I used the sub extension Reference(FamilyMemberHistory)?
Assume I have patient Alice, Bob and Charlie. Bob is a family member of Alice, and Charlie is a family member of Bob.
So there are three Patient instance for Alice, Bob, and Charlie. And two FamilyMemberHistory instance for Bob, and Charlie
{ "resourceType": "FamilyMemberHistory", "id": "fmh-Bob" "patient": "Patient/Alice" "name": "Bob" ... }
and
{ "resourceType": "FamilyMemberHistory", "id": "fmh-Charlie" "patient": "Patient/Bob" "name": "Charlie" ... }
So if I use that extension in fmh-Bob, does the reference go to FamilyMemberHistory instance of Bob, or Charlie?
If the reference is FamilyMemberHistory/fmh-Bob, it is strange that a resource having an extension reference back to itself.
@Michelle (Moseman) Miller
Lloyd McKenzie (Oct 16 2019 at 18:08):
The expectation is that it's a local reference. Looking at it now, it would probably be better for it to have a type of 'id' instead of Reference. Feel free to submit a change request.
Lloyd McKenzie (Oct 16 2019 at 18:08):
Example showing how it's used is here: http://build.fhir.org/list-example-familyhistory-genetics-profile.xml.html
Yunwei Wang (Oct 16 2019 at 19:30):
This extension only works with contained resource. If that is correct, the usage is really limited.
The example is still confusing: Why Dave (Peter's father)'s father is Peter's maternal grandfather?
Lloyd McKenzie (Oct 16 2019 at 20:20):
It's possible the example is broken. Feel free to submit a change request
Last updated: Apr 12 2022 at 19:14 UTC