XML View
<RelatedPerson xmlns="http://hl7.org/fhir">
<id value="UKCore-RelatedPerson-JoySmith-Example" />
<text>
<status value="additional" />
--- We have skipped the narrative for better readability of the resource ---
</text>
<extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ContactPreference">
<extension url="PreferredContactMethod">
<valueCodeableConcept>
<coding>
<system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-PreferredContactMethod" />
<code value="3" />
<display value="Telephone" />
</coding>
</valueCodeableConcept>
</extension>
<extension url="PreferredContactTimes">
<valueTiming>
<repeat>
<frequency value="1" />
<period value="1" />
<periodUnit value="d" />
<dayOfWeek value="mon" />
<dayOfWeek value="wed" />
<dayOfWeek value="fri" />
<when value="AFT" />
</repeat>
</valueTiming>
</extension>
<extension url="PreferredWrittenCommunicationFormat">
<valueCodeableConcept>
<coding>
<system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-PreferredWrittenCommunicationFormat" />
<code value="11" />
<display value="Large print" />
</coding>
</valueCodeableConcept>
</extension>
</extension>
<extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CopyCorrespondenceIndicator">
<valueBoolean value="true" />
</extension>
<patient>
<reference value="Patient/UKCore-Patient-RichardSmith-Example" />
</patient>
<relationship>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode" />
<code value="WIFE" />
<display value="wife" />
</coding>
</relationship>
<name>
<use value="official" />
<family value="SMITH" />
<given value="Joy" />
</name>
</RelatedPerson>
JSON View
{
"resourceType": "RelatedPerson",
"id": "UKCore-RelatedPerson-JoySmith-Example",
"text": {
"status": "additional",
--- We have skipped the narrative for better readability of the resource ---
},
"extension": [
{
"extension": [
{
"url": "PreferredContactMethod",
"valueCodeableConcept": {
"coding": [
{
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-PreferredContactMethod",
"code": "3",
"display": "Telephone"
}
]
}
},
{
"url": "PreferredContactTimes",
"valueTiming": {
"repeat": {
"frequency": 1,
"period": 1,
"periodUnit": "d",
"dayOfWeek": [
"mon",
"wed",
"fri"
],
"when": [
"AFT"
]
}
}
},
{
"url": "PreferredWrittenCommunicationFormat",
"valueCodeableConcept": {
"coding": [
{
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-PreferredWrittenCommunicationFormat",
"code": "11",
"display": "Large print"
}
]
}
}
],
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ContactPreference"
},
{
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CopyCorrespondenceIndicator",
"valueBoolean": true
}
],
"patient": {
"reference": "Patient/UKCore-Patient-RichardSmith-Example"
},
"relationship": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"code": "WIFE",
"display": "wife"
}
]
}
],
"name": [
{
"use": "official",
"family": "SMITH",
"given": [
"Joy"
]
}
]
}