XML View
<Patient xmlns="http://hl7.org/fhir">
<id value="UKCore-Patient-Extension-ContactPreference-Example" />
<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="MORN" />
</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>
</Patient>
JSON View
{
"resourceType": "Patient",
"id": "UKCore-Patient-Extension-ContactPreference-Example",
"extension": [
{
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ContactPreference",
"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": [
"MORN"
]
}
}
},
{
"url": "PreferredWrittenCommunicationFormat",
"valueCodeableConcept": {
"coding": [
{
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-PreferredWrittenCommunicationFormat",
"code": "11",
"display": "Large print"
}
]
}
}
]
}
]
}