Example Patient/infant-twin-2 (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Newborn Youngest Twin Example
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
[a fhir:Patient;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "infant-twin-2"]; # newborn twin example
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\"><b>Jacen Solo (OFFICIAL)</b> male, DoB: 2017-05-15 ( Medical record number: MRN7465676978)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Known multipleBirth status of Patient\">Multiple Birth:</td><td colspan=\"3\">2</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Other Ids (see the one above)\">Other Id:</td><td colspan=\"3\">id: 7465676978</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Nominated Contact: Mother\">Mother:</td><td colspan=\"3\"><ul><li>Leia Organa (MAIDEN)</li><li><a href=\"tel:+31201234567\">+31201234567</a></li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Mother's maiden (unmarried) name, commonly collected to help verify patient identity.\"><a href=\"extension-patient-mothersmaidenname.html\">Patient Mother's Maiden Name:</a></td><td colspan=\"3\"><ul><li>Organa</li></ul></td></tr></table></div>"
]; # The details of the child
fhir:DomainResource.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName" ];
fhir:Extension.valueString [ fhir:value "Organa" ]
]; #
fhir:Patient.identifier [
fhir:index 0;
fhir:Identifier.type [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ];
fhir:Coding.code [ fhir:value "MR" ]
]
];
fhir:Identifier.system [ fhir:value "http://coruscanthealth.org/main-hospital/patient-identifier" ];
fhir:Identifier.value [ fhir:value "MRN7465676978" ]
], [
fhir:index 1;
fhir:Identifier.system [ fhir:value "http://new-republic.gov/galactic-citizen-identifier" ];
fhir:Identifier.value [ fhir:value "7465676978" ]
]; #
fhir:Patient.name [
fhir:index 0;
fhir:HumanName.use [ fhir:value "official" ];
fhir:HumanName.family [ fhir:value "Solo" ];
fhir:HumanName.given [
fhir:value "Jacen";
fhir:index 0
]
]; #
fhir:Patient.gender [ fhir:value "male"]; #
fhir:Patient.birthDate [
fhir:value "2017-05-15"^^xsd:date;
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/patient-birthTime" ];
fhir:Extension.valueDateTime [ fhir:value "2017-05-15T17:11:30+01:00"^^xsd:dateTime ]
]
]; #
fhir:Patient.multipleBirthInteger [ fhir:value "2"^^xsd:integer]; #
fhir:Patient.contact [
fhir:index 0;
fhir:Patient.contact.relationship [
fhir:index 0;
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:72705000;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "72705000" ];
fhir:Coding.display [ fhir:value "Mother" ]
], [
fhir:index 1;
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0131" ];
fhir:Coding.code [ fhir:value "N" ]
], [
fhir:index 2;
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-RoleCode" ];
fhir:Coding.code [ fhir:value "MTH" ]
] # Indicates that the contact is the patient's mother
]; # Contact of the patient
fhir:Patient.contact.name [
fhir:HumanName.use [ fhir:value "maiden" ];
fhir:HumanName.family [ fhir:value "Organa" ];
fhir:HumanName.given [
fhir:value "Leia";
fhir:index 0
]
];
fhir:Patient.contact.telecom [
fhir:index 0;
fhir:ContactPoint.system [ fhir:value "phone" ];
fhir:ContactPoint.value [ fhir:value "+31201234567" ];
fhir:ContactPoint.use [ fhir:value "mobile" ]
]
]] . #
# - ontology header ------------------------------------------------------------
[a owl:Ontology;
owl:imports fhir:fhir.ttl] .
# -------------------------------------------------------------------------------------
Usage note: every effort has been made to ensure that the
examples are correct and useful, but they are not a normative part
of the specification.