XML View
<Patient xmlns="http://hl7.org/fhir">
<id value="UKCore-Patient-Extension-AddressKey-Example" />
<address>
<extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AddressKey">
<extension url="type">
<valueCoding>
<system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-AddressKeyType" />
<code value="PAF" />
<display value="Postcode Address File" />
</valueCoding>
</extension>
<extension url="value">
<valueString value="LS10ABC" />
</extension>
</extension>
<line value="4 Sandmoor Drive" />
<city value="LEEDS" />
<postalCode value="LS17 7DF" />
</address>
</Patient>
JSON View
{
"resourceType": "Patient",
"id": "UKCore-Patient-Extension-AddressKey-Example",
"address": [
{
"extension": [
{
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AddressKey",
"extension": [
{
"url": "type",
"valueCoding": {
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-AddressKeyType",
"code": "PAF",
"display": "Postcode Address File"
}
},
{
"url": "value",
"valueString": "LS10ABC"
}
]
}
],
"line": [
"4 Sandmoor Drive"
],
"city": "LEEDS",
"postalCode": "LS17 7DF"
}
]
}