This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version in it's permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4
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:id [ fhir:v "infant-twin-2"] ; # newborn twin example
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir: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=\"http://hl7.org/fhir/extensions/StructureDefinition-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:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Organa" ]
] ) ; #
fhir:identifier ( [
fhir:type [
fhir:coding ( [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
fhir:code [ fhir:v "MR" ]
] )
] ;
fhir:system [ fhir:v "http://coruscanthealth.org/main-hospital/patient-identifier"^^xsd:anyURI ] ;
fhir:value [ fhir:v "MRN7465676978" ]
] [
fhir:system [ fhir:v "http://new-republic.gov/galactic-citizen-identifier"^^xsd:anyURI ] ;
fhir:value [ fhir:v "7465676978" ]
] ) ; #
fhir:name ( [
fhir:use [ fhir:v "official" ] ;
fhir:family [ fhir:v "Solo" ] ;
fhir:given ( [ fhir:v "Jacen" ] )
] ) ; #
fhir:gender [ fhir:v "male"] ; #
fhir:birthDate [
fhir:v "2017-05-15"^^xsd:date ;
fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/patient-birthTime"^^xsd:anyURI ] ;
fhir:value [ fhir:v "2017-05-15T17:11:30+01:00"^^xsd:dateTime ]
] )
] ; #
fhir:multipleBirth [ fhir:v "2"^^xsd:integer] ; #
fhir:contact ( [
fhir:relationship ( [
fhir:coding ( [
a sct:72705000 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "72705000" ] ;
fhir:display [ fhir:v "Mother" ]
] [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0131"^^xsd:anyURI ] ;
fhir:code [ fhir:v "N" ]
] [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ] ;
fhir:code [ fhir:v "MTH" ]
] ) # Indicates that the contact is the patient's mother
] ) ; # Contact of the patient
fhir:name [
fhir:use [ fhir:v "maiden" ] ;
fhir:family [ fhir:v "Organa" ] ;
fhir:given ( [ fhir:v "Leia" ] )
] ;
fhir:telecom ( [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "+31201234567" ] ;
fhir:use [ fhir:v "mobile" ]
] )
] )] . #
# -------------------------------------------------------------------------------------
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.