Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Example Person/example (Turtle)

Patient Administration Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Patient, Practitioner, RelatedPerson

Raw Turtle (+ 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 rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

[a fhir:Person ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <table>\n        <tbody>\n          <tr>\n            <td>Name</td>\n            <td>Peter James <b>Chalmers</b> (&quot;Jim&quot;)</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:identifier ( [
     fhir:use [ fhir:v "usual" ] ;
     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 "urn:oid:1.2.36.146.595.217.0.1"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "12345" ] ;
     fhir:period [
       fhir:start [ fhir:v "2001-05-06"^^xsd:date ]
     ] ;
     fhir:assigner [
       fhir:display [ fhir:v "Acme Healthcare" ]
     ]
  ] ) ; #   MRN assigned by ACME healthcare on 6-May 2001  
  fhir:active [ fhir:v "true"^^xsd:boolean] ; # 
  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" ] )
  ] ) ; #   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:system [ fhir:v "email" ] ;
     fhir:value [ fhir:v "Jim@example.org" ] ;
     fhir:use [ fhir:v "home" ]
  ] ) ; #   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:address ( [
     fhir:use [ fhir:v "home" ] ;
     fhir:line ( [ fhir:v "534 Erewhon St" ] ) ;
     fhir:city [ fhir:v "PleasantVille" ] ;
     fhir:state [ fhir:v "Vic" ] ;
     fhir:postalCode [ fhir:v "3999" ]
  ] ) ; # 
  fhir:link ( [
     fhir:target [
       fhir:reference [ fhir:v "RelatedPerson/peter" ] ;
       fhir:display [ fhir:v "Peter Chalmers" ]
     ]
  ] [
     fhir:target [
       fhir:reference [ fhir:v "Patient/example" ] ;
       fhir:display [ fhir:v "Peter Chalmers" ]
     ]
  ] )] . # 

# -------------------------------------------------------------------------------------


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.