UK Core Implementation Guide 0.4.0 - STU1

An example to illustrate the registered place of birth of the patient using the common extension

Table View

Patient.id[0]Patient-Extension-BirthPlace-Example
Patient.extension[0].url[0]http://hl7.org/fhir/StructureDefinition/patient-birthPlace
Patient.extension[0].valueAddress[0].line[0]MATERNITY UNIT
Patient.extension[0].valueAddress[0].line[1]LENVILLE UNIVERSITY HOSPITAL
Patient.extension[0].valueAddress[0].line[2]BEWLEY STREET
Patient.extension[0].valueAddress[0].city[0]LENVILLE
Patient.extension[0].valueAddress[0].postalCode[0]LEN 7TF
Patient.extension[0].valueAddress[0].country[0]ENGLAND

XML View

<Patient xmlns="http://hl7.org/fhir">
    <id value="Patient-Extension-BirthPlace-Example" />
    <!--  **************extension start**************  -->
    <extension url="http://hl7.org/fhir/StructureDefinition/patient-birthPlace">
        <valueAddress>
            <line value="MATERNITY UNIT" />
            <line value="LENVILLE UNIVERSITY HOSPITAL" />
            <line value="BEWLEY STREET" />
            <city value="LENVILLE" />
            <postalCode value="LEN 7TF" />
            <country value="ENGLAND" />
        </valueAddress>
    </extension>
    <!--  **************extension end**************  -->
</Patient>

JSON View

{
    "resourceType": "Patient",
    "id": "Patient-Extension-BirthPlace-Example",
    "extension":  [
        {
            "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
            "valueAddress": {
                "line":  [
                    "MATERNITY UNIT",
                    "LENVILLE UNIVERSITY HOSPITAL",
                    "BEWLEY STREET"
                ],
                "city": "LENVILLE",
                "postalCode": "LEN 7TF",
                "country": "ENGLAND"
            }
        }
    ]
}

back to top