R6 Ballot (2nd Draft)

Publish-box (todo)

Example Patient/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: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: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" ] )
  ] [
     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 ]
     ]
  ] ) ; #    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 ]
     ]
  ] ) ; #    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:value [ fhir:v "1974-12-25T14:35:45-05:00"^^xsd:dateTime ]
     ] )
  ] ; # 
  fhir:deceased [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:address ( [
     fhir:use [ fhir:v "home" ] ;
     fhir:type [ fhir:v "both" ] ;
     fhir:text [ fhir:v "534 Erewhon St PeasantVille, 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: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:value [ 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: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:managingOrganization [
     fhir:reference [ fhir:v "Organization/1" ]
  ]] . # 

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


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.