XML View
<Condition xmlns="http://hl7.org/fhir">
<id value="UKCore-Condition-Extension-RelatedProblemHeader-Example" />
<extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-RelatedProblemHeader">
<extension url="type">
<valueCode value="child" />
</extension>
<extension url="target">
<valueReference>
<reference value="Condition/UKCore-Condition-BleedingFromEar-Example" />
<type value="Condition" />
</valueReference>
</extension>
</extension>
<subject>
<reference value="Patient/UKCore-Patient-RichardSmith-Example" />
</subject>
</Condition>
JSON View
{
"resourceType": "Condition",
"id": "UKCore-Condition-Extension-RelatedProblemHeader-Example",
"extension": [
{
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-RelatedProblemHeader",
"extension": [
{
"url": "type",
"valueCode": "child"
},
{
"url": "target",
"valueReference": {
"reference": "Condition/UKCore-Condition-BleedingFromEar-Example",
"type": "Condition"
}
}
]
}
],
"subject": {
"reference": "Patient/UKCore-Patient-RichardSmith-Example"
}
}