This example shows the extension which uses a PositiveInt
to indicate the order that the people listed as contacts for the patient should be contacted. This example use the value 1
to show that this is the first person who should be contacted.
Patient.id[0] | UKCore-Patient-Extension-ContactRank-Example |
Patient.contact[0].extension[0].url[0] | https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ContactRank |
Patient.contact[0].extension[0].valuePositiveInt[0] | 1 |
Patient.contact[0].name[0].use[0] | official |
Patient.contact[0].name[0].family[0] | CARTER |
Patient.contact[0].name[0].given[0] | Emily |
Patient.contact[0].telecom[0].system[0] | phone |
Patient.contact[0].telecom[0].value[0] | 01131231288 |
Patient.contact[0].gender[0] | female |
<Patient xmlns="http://hl7.org/fhir"> <id value="UKCore-Patient-Extension-ContactRank-Example" /> <contact> <!-- **************extension start************** --> <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ContactRank"> <valuePositiveInt value="1" /> </extension> <!-- **************extension end************** --> <name> <use value="official" /> <family value="CARTER" /> <given value="Emily" /> </name> <telecom> <system value="phone" /> <value value="01131231288" /> </telecom> <gender value="female" /> </contact> </Patient>
{ "resourceType": "Patient", "id": "UKCore-Patient-Extension-ContactRank-Example", "contact": [ { "extension": [ { "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ContactRank", "valuePositiveInt": 1 } ], "name": { "use": "official", "family": "CARTER", "given": [ "Emily" ] }, "telecom": [ { "system": "phone", "value": "01131231288" } ], "gender": "female" } ] }