Example: Patient James T. Kirk

A Patient with Starfleet crew identifier and species Extension

<Patient xmlns="http://hl7.org/fhir">
    <meta>
        <profile value="http://fhir.ufp/StructureDefinition/patient-ufp" />
    </meta>
    <text>
        <status value="generated" />
        --- We have skipped the narrative for better readability of the resource ---
    </text>
    <extension url="http://fhir.ufp/StructureDefinition/species">
        <valueCodeableConcept>
            <coding>
                <system value="http://fhir.ufp/CodeSystem/species" />
                <code value="HU" />
            </coding>
        </valueCodeableConcept>
    </extension>
    <identifier>
        <system value="http://fhir.ufp/NamingSystem/sfsid" />
        <value value="SC937-0176CEC" />
    </identifier>
    <name>
        <use value="official" />
        <family value="Kirk" />
        <given value="James" />
        <given value="T." />
        <prefix value="Admiral" />
    </name>
    <gender value="male" />
    <birthDate value="2233-03-22" />
    <address>
        <use value="old" />
        <type value="both" />
        <line value="42 Pioneer St." />
        <city value="Riverside" />
        <state value="Iowa" />
        <postalCode value="52327" />
        <country value="USA" />
    </address>
    <maritalStatus>
        <coding>
            <system value="http://hl7.org/fhir/v3/MaritalStatus" />
            <code value="P" />
        </coding>
    </maritalStatus>
    <contact>
        <relationship>
            <coding>
                <system value="http://hl7.org/fhir/v2/0131" />
                <code value="N" />
            </coding>
        </relationship>
        <name>
            <given value="Spock" />
        </name>
        <telecom>
            <system value="email" />
            <value value="spock@starfleet.ufp" />
        </telecom>
    </contact>
</Patient>

Hier das gleiche in JSON:

{
    "resourceType": "Patient",
    "meta": {
        "profile":  [
            "http://fhir.ufp/StructureDefinition/patient-ufp"
        ]
    },
    "text": {
        "status": "generated",
        --- We have skipped the narrative for better readability of the resource ---
    },
    "extension":  [
        {
            "url": "http://fhir.ufp/StructureDefinition/species",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "system": "http://fhir.ufp/CodeSystem/species",
                        "code": "HU"
                    }
                ]
            }
        }
    ],
    "identifier":  [
        {
            "system": "http://fhir.ufp/NamingSystem/sfsid",
            "value": "SC937-0176CEC"
        }
    ],
    "name":  [
        {
            "use": "official",
            "family": "Kirk",
            "given":  [
                "James",
                "T."
            ],
            "prefix":  [
                "Admiral"
            ]
        }
    ],
    "gender": "male",
    "birthDate": "2233-03-22",
    "address":  [
        {
            "use": "old",
            "type": "both",
            "line":  [
                "42 Pioneer St."
            ],
            "city": "Riverside",
            "postalCode": "52327",
            "state": "Iowa",
            "country": "USA"
        }
    ],
    "maritalStatus": {
        "coding":  [
            {
                "system": "http://hl7.org/fhir/v3/MaritalStatus",
                "code": "P"
            }
        ]
    },
    "contact":  [
        {
            "relationship":  [
                {
                    "coding":  [
                        {
                            "system": "http://hl7.org/fhir/v2/0131",
                            "code": "N"
                        }
                    ]
                }
            ],
            "name": {
                "given":  [
                    "Spock"
                ]
            },
            "telecom":  [
                {
                    "system": "email",
                    "value": "spock@starfleet.ufp"
                }
            ]
        }
    ]
}