An example to illustrate the extension for a patient's birth sex

Table View

Patient.id[0]UKCore-Extension-BirthSex-Example
Patient.text[0].status[0]additional
Patient.text[0].div[0]<div xmlns="http://www.w3.org/1999/xhtml">An example to illustrate the extension for a patient's birth sex</div>
Patient.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-BirthSex
Patient.extension[0].value[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v3-AdministrativeGender
Patient.extension[0].value[0].coding[0].code[0]F
Patient.extension[0].value[0].coding[0].display[0]Female

Tree View

Patient

XML View

<Patient xmlns="http://hl7.org/fhir">
    <id value="UKCore-Extension-BirthSex-Example" />
    <text>
        <status value="additional" />
        --- We have skipped the narrative for better readability of the resource ---
    </text>
    <!--  **************extension start**************  -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-BirthSex">
        <valueCodeableConcept>
            <coding>
                <system value="http://terminology.hl7.org/CodeSystem/v3-AdministrativeGender" />
                <code value="F" />
                <display value="Female" />
            </coding>
        </valueCodeableConcept>
    </extension>
    <!--  **************extension end**************  -->
</Patient>

JSON View

{
    "resourceType": "Patient",
    "id": "UKCore-Extension-BirthSex-Example",
    "text": {
        "status": "additional",
        --- We have skipped the narrative for better readability of the resource ---
    },
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-BirthSex",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "system": "http://terminology.hl7.org/CodeSystem/v3-AdministrativeGender",
                        "code": "F",
                        "display": "Female"
                    }
                ]
            }
        }
    ]
}