student01

Structure Tree

Patient

Structure Table

Patient.identifier[0].system[0]StudentID
Patient.identifier[0].value[0]111316001
Patient.active[0]True
Patient.name[0].text[0]Elon Musk
Patient.managingOrganization[0].reference[0]Organization/oxford-university

JSON

{
    "resourceType": "Patient",
    "identifier":  [
        {
            "system": "StudentID",
            "value": "111316001"
        }
    ],
    "active": true,
    "name":  [
        {
            "text": "Elon Musk"
        }
    ],
    "managingOrganization": {
        "reference": "Organization/oxford-university"
    }
}

XML

<Patient xmlns="http://hl7.org/fhir">
    <identifier>
        <system value="StudentID" />
        <value value="111316001" />
    </identifier>
    <active value="true" />
    <name>
        <text value="Elon Musk" />
    </name>
    <managingOrganization>
        <reference value="Organization/oxford-university" />
    </managingOrganization>
</Patient>

general-patient01

Structure Tree

Patient

Structure Table

Patient.id[0]peter-chalmers
Patient.meta[0].profile[0]http://ardon.nl/fhir/StructureDefinition/HospitalXPatient
Patient.extension[0].url[0]http://hl7.org/fhir/StructureDefinition/patient-birthPlace
Patient.extension[0].value[0].city[0]Amsterdam
Patient.identifier[0].type[0].coding[0].system[0]http://hl7.org/fhir/v2/0203
Patient.identifier[0].type[0].coding[0].code[0]MR
Patient.identifier[0].type[0].coding[0].display[0]Medical Record Number
Patient.identifier[0].type[0].text[0]Medical Record Number
Patient.identifier[0].system[0]http://hospital.smarthealthit.org
Patient.identifier[0].value[0]1032702
Patient.active[0]True
Patient.name[0].use[0]official
Patient.name[0].family[0]Chalmers
Patient.name[0].given[0]Peter
Patient.name[0].given[1]James
Patient.telecom[0].system[0]phone
Patient.telecom[0].value[0](555)555-5555
Patient.telecom[0].use[0]work
Patient.telecom[1].system[0]email
Patient.telecom[1].value[0]person@example.org
Patient.telecom[1].use[0]work
Patient.gender[0]male
Patient.birthDate[0]1964-06-19
Patient.address[0].use[0]home
Patient.address[0].line[0]534 Erewhon St
Patient.address[0].city[0]PleasantVille
Patient.address[0].district[0]Orange County
Patient.address[0].state[0]CA
Patient.address[0].postalCode[0]96666
Patient.communication[0].language[0].coding[0].system[0]urn:ietf:bcp:47
Patient.communication[0].language[0].coding[0].code[0]en
Patient.communication[0].language[0].coding[0].display[0]English
Patient.communication[0].language[0].text[0]English

JSON

{
    "resourceType": "Patient",
    "id": "peter-chalmers",
    "meta": {
        "profile":  [
            "http://ardon.nl/fhir/StructureDefinition/HospitalXPatient"
        ]
    },
    "extension":  [
        {
            "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
            "valueAddress": {
                "city": "Amsterdam"
            }
        }
    ],
    "identifier":  [
        {
            "type": {
                "coding":  [
                    {
                        "system": "http://hl7.org/fhir/v2/0203",
                        "code": "MR",
                        "display": "Medical Record Number"
                    }
                ],
                "text": "Medical Record Number"
            },
            "system": "http://hospital.smarthealthit.org",
            "value": "1032702"
        }
    ],
    "active": true,
    "name":  [
        {
            "use": "official",
            "family": "Chalmers",
            "given":  [
                "Peter",
                "James"
            ]
        }
    ],
    "telecom":  [
        {
            "system": "phone",
            "value": "(555)555-5555",
            "use": "work"
        },
        {
            "system": "email",
            "value": "person@example.org",
            "use": "work"
        }
    ],
    "gender": "male",
    "birthDate": "1964-06-19",
    "address":  [
        {
            "use": "home",
            "line":  [
                "534 Erewhon St"
            ],
            "city": "PleasantVille",
            "district": "Orange County",
            "state": "CA",
            "postalCode": "96666"
        }
    ],
    "communication":  [
        {
            "language": {
                "coding":  [
                    {
                        "system": "urn:ietf:bcp:47",
                        "code": "en",
                        "display": "English"
                    }
                ],
                "text": "English"
            }
        }
    ]
}

XML

<Patient xmlns="http://hl7.org/fhir">
    <id value="peter-chalmers" />
    <meta>
        <profile value="http://ardon.nl/fhir/StructureDefinition/HospitalXPatient" />
    </meta>
    <extension url="http://hl7.org/fhir/StructureDefinition/patient-birthPlace">
        <valueAddress>
            <city value="Amsterdam" />
        </valueAddress>
    </extension>
    <identifier>
        <type>
            <coding>
                <system value="http://hl7.org/fhir/v2/0203" />
                <code value="MR" />
                <display value="Medical Record Number" />
            </coding>
            <text value="Medical Record Number" />
        </type>
        <system value="http://hospital.smarthealthit.org" />
        <value value="1032702" />
    </identifier>
    <active value="true" />
    <name>
        <use value="official" />
        <family value="Chalmers" />
        <given value="Peter" />
        <given value="James" />
    </name>
    <telecom>
        <system value="phone" />
        <value value="(555)555-5555" />
        <use value="work" />
    </telecom>
    <telecom>
        <system value="email" />
        <value value="person@example.org" />
        <use value="work" />
    </telecom>
    <gender value="male" />
    <birthDate value="1964-06-19" />
    <address>
        <use value="home" />
        <line value="534 Erewhon St" />
        <city value="PleasantVille" />
        <district value="Orange County" />
        <state value="CA" />
        <postalCode value="96666" />
    </address>
    <communication>
        <language>
            <coding>
                <system value="urn:ietf:bcp:47" />
                <code value="en" />
                <display value="English" />
            </coding>
            <text value="English" />
        </language>
    </communication>
</Patient>