FHIR Release 3 (STU) CI-Build

This page is part of the FHIR Specification (v3.0.2: STU 3). The current version which supercedes this version is 5.0.0 . For a full list Continuous Integration Build of available versions, see FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions . Page versions: R5 R4B R4 R3

Patient-example.ttl

Example Patient/example (Turtle)

Maturity Level : N/A
Responsible Owner: Patient Administration Work Group Ballot Standards Status : Informative Compartments : Patient , Practitioner , RelatedPerson

Raw Turtle , JSON-LD (+ also see Turtle/RDF Format Specification )

General Person Example

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/Patient/example> a fhir:Patient;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n			<table>\n				<tbody>\n					<tr>\n						<td>Name</td>\n						<td>Peter James \n              <b>Chalmers</b> (&quot;Jim&quot;)\n            </td>\n					</tr>\n					<tr>\n						<td>Address</td>\n						<td>534 Erewhon, Pleasantville, Vic, 3999</td>\n					</tr>\n					<tr>\n						<td>Contacts</td>\n						<td>Home: unknown. Work: (03) 5555 6473</td>\n					</tr>\n					<tr>\n						<td>Id</td>\n						<td>MRN: 12345 (Acme Healthcare)</td>\n					</tr>\n				</tbody>\n			</table>\n		</div>"
  ];
  fhir:Patient.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "usual" ];
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v2/0203" ];
         fhir:Coding.code [ fhir:value "MR" ]
       ]
     ];
     fhir:Identifier.system [ fhir:value "urn:oid:1.2.36.146.595.217.0.1" ];
     fhir:Identifier.value [ fhir:value "12345" ];
     fhir:Identifier.period [
       fhir:Period.start [ fhir:value "2001-05-06"^^xsd:date ]
     ];
     fhir:Identifier.assigner [
       fhir:Reference.display [ fhir:value "Acme Healthcare" ]
     ]
  ];
  fhir:Patient.active [ fhir:value "true"^^xsd:boolean];
  fhir:Patient.name [
     fhir:index 0;
     fhir:HumanName.use [ fhir:value "official" ];
     fhir:HumanName.family [ fhir:value "Chalmers" ];
     fhir:HumanName.given [
       fhir:value "Peter";
       fhir:index 0
     ], [
       fhir:value "James";
       fhir:index 1
     ]
  ], [
     fhir:index 1;
     fhir:HumanName.use [ fhir:value "usual" ];
     fhir:HumanName.given [
       fhir:value "Jim";
       fhir:index 0
     ]
  ], [
     fhir:index 2;
     fhir:HumanName.use [ fhir:value "maiden" ];
     fhir:HumanName.family [ fhir:value "Windsor" ];
     fhir:HumanName.given [
       fhir:value "Peter";
       fhir:index 0
     ], [
       fhir:value "James";
       fhir:index 1
     ];
     fhir:HumanName.period [
       fhir:Period.end [ fhir:value "2002"^^xsd:gYear ]
     ]
  ];
  fhir:Patient.telecom [
     fhir:index 0;
     fhir:ContactPoint.use [ fhir:value "home" ]
  ], [
     fhir:index 1;
     fhir:ContactPoint.system [ fhir:value "phone" ];
     fhir:ContactPoint.value [ fhir:value "(03) 5555 6473" ];
     fhir:ContactPoint.use [ fhir:value "work" ];
     fhir:ContactPoint.rank [ fhir:value "1"^^xsd:positiveInteger ]
  ], [
     fhir:index 2;
     fhir:ContactPoint.system [ fhir:value "phone" ];
     fhir:ContactPoint.value [ fhir:value "(03) 3410 5613" ];
     fhir:ContactPoint.use [ fhir:value "mobile" ];
     fhir:ContactPoint.rank [ fhir:value "2"^^xsd:positiveInteger ]
  ], [
     fhir:index 3;
     fhir:ContactPoint.system [ fhir:value "phone" ];
     fhir:ContactPoint.value [ fhir:value "(03) 5555 8834" ];
     fhir:ContactPoint.use [ fhir:value "old" ];
     fhir:ContactPoint.period [
       fhir:Period.end [ fhir:value "2014"^^xsd:gYear ]

<http://hl7.org/fhir/Patient/example> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example"] ; # 
  fhir:identifier ( [
     fhir:use [ fhir:v "usual" ] ;
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v2-0203>
         ] ;
         fhir:code [ fhir:v "MR" ]
       ] )
     ] ;
     fhir:system [
       fhir:v "urn:oid:1.2.36.146.595.217.0.1"^^xsd:anyURI ;
       fhir:l <urn:oid:1.2.36.146.595.217.0.1>
     ] ;
     fhir:value [ fhir:v "12345" ] ;
     fhir:period [
       fhir:start [ fhir:v "2001-05-06"^^xsd:date ]
     ] ;
     fhir:assigner [
       fhir:display [ fhir:v "Acme Healthcare" ]

     ]
  ];
  fhir:Patient.gender [ fhir:value "male"];
  fhir:Patient.birthDate [
     fhir:value "1974-12-25"^^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 "1974-12-25T14:35:45-05:00"^^xsd:dateTime ]

  ] ) ; #    MRN assigned by ACME healthcare on 6-May 2001   
  fhir:active [ fhir:v true] ; # 
  fhir:name ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:family [ fhir:v "Chalmers" ] ;
     fhir:given ( [ fhir:v "Peter" ] [ fhir:v "James" ] )
  ] [
     fhir:use [ fhir:v "usual" ] ;
     fhir:given ( [ fhir:v "Jim" ] )
  ] [
     fhir:use [ fhir:v "maiden" ] ; #   Maiden names apply for anyone whose name changes as a result of marriage - irrespective of gender  
     fhir:family [ fhir:v "Windsor" ] ;
     fhir:given ( [ fhir:v "Peter" ] [ fhir:v "James" ] ) ;
     fhir:period [
       fhir:end [ fhir:v "2002"^^xsd:gYear ]

     ]
  ];
  fhir:Patient.deceasedBoolean [ fhir:value "false"^^xsd:boolean];
  fhir:Patient.address [
     fhir:index 0;
     fhir:Address.use [ fhir:value "home" ];
     fhir:Address.type [ fhir:value "both" ];
     fhir:Address.text [ fhir:value "534 Erewhon St PeasantVille, Rainbow, Vic  3999" ];
     fhir:Address.line [
       fhir:value "534 Erewhon St";
       fhir:index 0
     ];
     fhir:Address.city [ fhir:value "PleasantVille" ];
     fhir:Address.district [ fhir:value "Rainbow" ];
     fhir:Address.state [ fhir:value "Vic" ];
     fhir:Address.postalCode [ fhir:value "3999" ];
     fhir:Address.period [
       fhir:Period.start [ fhir:value "1974-12-25"^^xsd:date ]

  ] ) ; #    Peter James Chalmers, but called "Jim"   
  fhir:telecom ( [
     fhir:use [ fhir:v "home" ]
  ] [
     fhir:system [ fhir:v "phone" ] ;
     fhir:value [ fhir:v "(03) 5555 6473" ] ;
     fhir:use [ fhir:v "work" ] ;
     fhir:rank [ fhir:v "1"^^xsd:positiveInteger ]
  ] [
     fhir:system [ fhir:v "phone" ] ;
     fhir:value [ fhir:v "(03) 3410 5613" ] ;
     fhir:use [ fhir:v "mobile" ] ;
     fhir:rank [ fhir:v "2"^^xsd:positiveInteger ]
  ] [
     fhir:system [ fhir:v "phone" ] ;
     fhir:value [ fhir:v "(03) 5555 8834" ] ;
     fhir:use [ fhir:v "old" ] ;
     fhir:period [
       fhir:end [ fhir:v "2014"^^xsd:gYear ]

     ]
  ];
  fhir:Patient.contact [
     fhir:index 0;
     fhir:Patient.contact.relationship [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v2/0131" ];
         fhir:Coding.code [ fhir:value "N" ]
       ]
     ];
     fhir:Patient.contact.name [
       fhir:HumanName.family [
         fhir:value "du Marché";
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix" ];
           fhir:Extension.valueString [ fhir:value "VV" ]
         ]
       ];
       fhir:HumanName.given [
         fhir:value "Bénédicte";
         fhir:index 0

  ] ) ; #    home communication details aren't known   
  fhir:gender [ fhir:v "male"] ; #    use FHIR code system for male / female   
  fhir:birthDate [
     fhir:v "1974-12-25"^^xsd:date ;
     fhir:extension ( [
       fhir:url [
         fhir:v "http://hl7.org/fhir/StructureDefinition/patient-birthTime"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/StructureDefinition/patient-birthTime>
       ] ;
       fhir:value [
         a fhir:DateTime ;
         fhir:v "1974-12-25T14:35:45-05:00"^^xsd:dateTime

       ]
     ];
     fhir:Patient.contact.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "phone" ];
       fhir:ContactPoint.value [ fhir:value "+33 (237) 998327" ]
     ];
     fhir:Patient.contact.address [
       fhir:Address.use [ fhir:value "home" ];
       fhir:Address.type [ fhir:value "both" ];
       fhir:Address.line [
         fhir:value "534 Erewhon St";
         fhir:index 0
       ];
       fhir:Address.city [ fhir:value "PleasantVille" ];
       fhir:Address.district [ fhir:value "Rainbow" ];
       fhir:Address.state [ fhir:value "Vic" ];
       fhir:Address.postalCode [ fhir:value "3999" ];
       fhir:Address.period [
         fhir:Period.start [ fhir:value "1974-12-25"^^xsd:date ]

     ] )
  ] ; # 
  fhir:deceased [
     a fhir:Boolean ;
     fhir:v false
  ] ; # 
  fhir:address ( [
     fhir:use [ fhir:v "home" ] ;
     fhir:type [ fhir:v "both" ] ;
     fhir:text [ fhir:v "534 Erewhon St\nPeasantVille, Rainbow, Vic  3999" ] ;
     fhir:line ( [ fhir:v "534 Erewhon St" ] ) ;
     fhir:city [ fhir:v "PleasantVille" ] ;
     fhir:district [ fhir:v "Rainbow" ] ;
     fhir:state [ fhir:v "Vic" ] ;
     fhir:postalCode [ fhir:v "3999" ] ;
     fhir:period [
       fhir:start [ fhir:v "1974-12-25"^^xsd:date ]
     ]
  ] ) ; # 
  fhir:contact ( [
     fhir:relationship ( [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v2-0131"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v2-0131>
         ] ;
         fhir:code [ fhir:v "N" ]
       ] )
     ] ) ;
     fhir:name [
       fhir:family [
         fhir:v "du Marché" ;
         fhir:extension ( [
           fhir:url [
             fhir:v "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"^^xsd:anyURI ;
             fhir:l <http://hl7.org/fhir/StructureDefinition/humanname-own-prefix>
           ] ;
           fhir:value [
             a fhir:String ;
             fhir:v "VV"
           ]
         ] ) #    the \"du\" part is a family name prefix (VV in iso 21090)   
       ] ;
       fhir:given ( [ fhir:v "Bénédicte" ] )
     ] ;
     fhir:additionalName ( [
       fhir:use [ fhir:v "nickname" ] ;
       fhir:given ( [ fhir:v "Béné" ] )
     ] ) ;
     fhir:telecom ( [
       fhir:system [ fhir:v "phone" ] ;
       fhir:value [ fhir:v "+33 (237) 998327" ]
     ] ) ;
     fhir:address [
       fhir:use [ fhir:v "home" ] ;
       fhir:type [ fhir:v "both" ] ;
       fhir:line ( [ fhir:v "534 Erewhon St" ] ) ;
       fhir:city [ fhir:v "PleasantVille" ] ;
       fhir:district [ fhir:v "Rainbow" ] ;
       fhir:state [ fhir:v "Vic" ] ;
       fhir:postalCode [ fhir:v "3999" ] ;
       fhir:period [
         fhir:start [ fhir:v "1974-12-25"^^xsd:date ]

       ]
     ];
     fhir:Patient.contact.gender [ fhir:value "female" ];
     fhir:Patient.contact.period [
       fhir:Period.start [ fhir:value "2012"^^xsd:gYear ]

     ] ;
     fhir:additionalAddress ( [
       fhir:use [ fhir:v "work" ] ;
       fhir:line ( [ fhir:v "123 Smart St" ] ) ;
       fhir:city [ fhir:v "PleasantVille" ] ;
       fhir:state [ fhir:v "Vic" ] ;
       fhir:postalCode [ fhir:v "3999" ]
     ] ) ;
     fhir:gender [ fhir:v "female" ] ;
     fhir:period [
       fhir:start [ fhir:v "2012"^^xsd:gYear ] #    The contact relationship started in 2012   

     ]
  ];
  fhir:Patient.managingOrganization [
     fhir:link <http://hl7.org/fhir/Organization/1>;
     fhir:Reference.reference [ fhir:value "Organization/1" ]
  ] .

  ] ) ; # 
  fhir:managingOrganization [
     fhir:l <http://hl7.org/fhir/Organization/1> ;
     fhir:reference [ fhir:v "Organization/1" ]
  ] . # 


<http://hl7.org/fhir/Organization/1> a fhir:Organization .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/Patient/example.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://hl7.org/fhir/STU3/Patient/example.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.