Example: Patient James T. Kirk

A Patient with Starfleet crew identifier and species Extension

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