XML View
<FamilyMemberHistory xmlns="http://hl7.org/fhir">
    <id value="UKCore-Extension-Participant-Example" />
    <text>
        <status value="additional" />
        --- We have skipped the narrative for better readability of the resource ---
    </text>
    
    <extension url="http://hl7.org/fhir/5.0/StructureDefinition/extension-FamilyMemberHistory.participant">
        <extension url="function">
            <valueCodeableConcept>
                <coding>
                    <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type" />
                    <code value="enterer" />
                    <display value="Enterer" />
                </coding>
            </valueCodeableConcept>
        </extension>
        <extension url="actor">
            <valueReference>
                <reference value="Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example" />
            </valueReference>
        </extension>
    </extension>
    
    <status value="partial" />
    <patient>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
        <display value="Richard Smith" />
    </patient>
    <date value="2023-05-10" />
    <relationship>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode" />
            <code value="FTH" />
            <display value="father" />
        </coding>
    </relationship>
    <sex>
        <coding>
            <system value="http://hl7.org/fhir/administrative-gender" />
            <code value="male" />
            <display value="Male" />
        </coding>
    </sex>
    <bornDate value="1949-12-13" />
    <condition>
        <code>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="160308005" />
                <display value="Family history: Gout" />
            </coding>
        </code>
        <onsetAge>
            <value value="64" />
            <unit value="year" />
            <system value="http://unitsofmeasure.org" />
            <code value="a" />
        </onsetAge>
    </condition>
</FamilyMemberHistory>
 
  JSON View
{
    "resourceType": "FamilyMemberHistory",
    "id": "UKCore-Extension-Participant-Example",
    "text": {
        "status": "additional",
        --- We have skipped the narrative for better readability of the resource ---
    },
    "extension":  [
        {
            "extension":  [
                {
                    "url": "function",
                    "valueCodeableConcept": {
                        "coding":  [
                            {
                                "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                                "code": "enterer",
                                "display": "Enterer"
                            }
                        ]
                    }
                },
                {
                    "url": "actor",
                    "valueReference": {
                        "reference": "Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example"
                    }
                }
            ],
            "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-FamilyMemberHistory.participant"
        }
    ],
    "status": "partial",
    "patient": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example",
        "display": "Richard Smith"
    },
    "date": "2023-05-10",
    "relationship": {
        "coding":  [
            {
                "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
                "code": "FTH",
                "display": "father"
            }
        ]
    },
    "sex": {
        "coding":  [
            {
                "system": "http://hl7.org/fhir/administrative-gender",
                "code": "male",
                "display": "Male"
            }
        ]
    },
    "bornDate": "1949-12-13",
    "condition":  [
        {
            "code": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "160308005",
                        "display": "Family history: Gout"
                    }
                ]
            },
            "onsetAge": {
                "value": 64,
                "unit": "year",
                "system": "http://unitsofmeasure.org",
                "code": "a"
            }
        }
    ]
}