QI-Core Implementation Guide
7.0.0-ballot - STU7 Ballot United States of America flag

This page is part of the Quality Improvement Core Framework (v7.0.0-ballot: STU7 (v7.0.0) Ballot 1) based on FHIR (HL7® FHIR® Standard) R4. The current version which supersedes this version is 6.0.0. For a full list of available versions, see the Directory of published versions

: Patient example - TTL Representation

Raw ttl | Download


@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:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Patient example</b></p><a name=\"example\"> </a><a name=\"hcexample\"> </a><a name=\"example-en-US\"> </a><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Jim Chalmers  Male, DoB: 1974-12-25 ( Medical record number (use: usual, period: 2001-05-06 --&gt; (ongoing)))</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Record is active\">Active:</td><td>true</td><td style=\"background-color: #f3f5da\" title=\"Known status of Patient\">Deceased:</td><td colspan=\"3\">false</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\"><ul><li>ph: (03) 5555 6473(Work)</li><li>ph: (03) 3410 5613(Mobile)</li><li>ph: (03) 5555 8834(Old)</li><li>534 Erewhon St PeasantVille, Utah 84414(home)</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Nominated Contact: Next-of-Kin\">Next-of-Kin:</td><td colspan=\"3\"><ul><li>Bénédicte du Marché  (Female)</li><li>534 Erewhon St PleasantVille VT 3999 (home)</li><li><a href=\"tel:+33(237)998327\">+33 (237) 998327</a></li><li>Valid Period:2012 --&gt; (ongoing)</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Patient Links\">Links:</td><td colspan=\"3\"><ul><li>Managing Organization: <a href=\"Organization-example.html\">Organization Health Level Seven International</a></li></ul></td></tr></table></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" ]     ]
  ] ) ; # <extension url="http://hl7.org/fhir/us/core/StructureDefinition/us-core-race">, <extension url="ombCategory">, <valueCoding>, <system value="urn:oid:2.16.840.1.113883.6.238"/>, <code value="2106-3"/>, <display value="White"/>, </valueCoding>, </extension>, <extension url="ombCategory">, <valueCoding>, <system value="urn:oid:2.16.840.1.113883.6.238"/>, <code value="1002-5"/>, <display value="American Indian or Alaska Native"/>, </valueCoding>, </extension>, <extension url="ombCategory">, <valueCoding>, <system value="urn:oid:2.16.840.1.113883.6.238"/>, <code value="2028-9"/>, <display value="Asian"/>, </valueCoding>, </extension>, <extension url="detailed">, <valueCoding>, <system value="urn:oid:2.16.840.1.113883.6.238"/>, <code value="1586-7"/>, <display value="Shoshone"/>, </valueCoding>, </extension>, <extension url="detailed">, <valueCoding>, <system value="urn:oid:2.16.840.1.113883.6.238"/>, <code value="2036-2"/>, <display value="Filipino"/>, </valueCoding>, </extension>, <extension url="text">, <valueString value="Mixed"/>, </extension>, </extension>, <extension url="http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity">, <extension url="ombCategory">, <valueCoding>, <system value="urn:oid:2.16.840.1.113883.6.238"/>, <code value="2135-2"/>, <display value="Hispanic or Latino"/>, </valueCoding>, </extension>, <extension url="detailed">, <valueCoding>, <system value="urn:oid:2.16.840.1.113883.6.238"/>, <code value="2184-0"/>, <display value="Dominican"/>, </valueCoding>, </extension>, <extension url="detailed">, <valueCoding>, <system value="urn:oid:2.16.840.1.113883.6.238"/>, <code value="2148-5"/>, <display value="Mexican"/>, </valueCoding>, </extension>, <extension url="text">, <valueString value="Hispanic or Latino"/>, </extension>, </extension>,     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:family [ fhir:v "Chalmers" ] ;
    ( fhir:given [ fhir:v "Jim" ] )
  ] [
fhir:use [ fhir:v "maiden" ] ; #    Maiden names apply for anyone whose name changes as a result of marriage - irrespective\n     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: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    , <telecom>
#    <use value="home"/>
#  </telecom>
  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, Utah 84414" ] ;
    ( fhir:line [ fhir:v "534 Erewhon St" ] ) ;
fhir:city [ fhir:v "PleasantVille" ] ;
fhir:district [ fhir:v "Rainbow" ] ;
fhir:state [ fhir:v "UT" ] ;
fhir:postalCode [ fhir:v "84414" ] ;
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: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 "VT" ] ;
fhir:postalCode [ fhir:v "3999" ] ;
fhir:period [
fhir:start [ fhir:v "1974-12-25"^^xsd:date ]       ]     ] ;
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/example" ]
  ] . # <communication>, <language>, <coding>, <system value="urn:ietf:bcp:47"/>, <code value="fr"/>, <display value="French"/>, </coding>, </language>, </communication>