QI-Core Implementation Guide
5.0.0 - STU5 United States of America flag

This page is part of the Quality Improvement Core Framework (v5.0.0: STU5 (v5.0.0)) based on FHIR R4. The current version which supercedes this version is 4.1.1. For a full list of available versions, see the Directory of published versions

: RelatedPerson 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:RelatedPerson ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-relatedperson"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-relatedperson>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: RelatedPerson</b><a name=\"example\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource RelatedPerson &quot;example&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-qicore-relatedperson.html\">QICore RelatedPerson</a></p></div><p><b>active</b>: true</p><p><b>patient</b>: <a href=\"Patient-example.html\">Patient/example</a> &quot; CHALMERS&quot;</p><p><b>relationship</b>: Emergency Contact <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v2-0131.html\">contactRole2</a>#C)</span></p><p><b>name</b>: Peter James Chalmers (OFFICIAL)</p><p><b>telecom</b>: ph: (03) 5555 6473(WORK)</p><p><b>gender</b>: male</p><p><b>address</b>: 534 Erewhon St PleasantVille UT 84414 (HOME)</p><h3>Photos</h3><table class=\"grid\"><tr><td>-</td><td><b>ContentType</b></td><td><b>Url</b></td></tr><tr><td>*</td><td>image/jpeg</td><td><code>Binary/f012</code></td></tr></table><p><b>period</b>: 2012-03-11 --&gt; (ongoing)</p></div>"
  ] ; # 
  fhir:active [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:patient [
fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:relationship ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0131"^^xsd:anyURI ] ;
fhir:code [ fhir:v "C" ]     ] )
  ] ) ; # 
  fhir:name ( [
fhir:use [ fhir:v "official" ] ;
fhir:family [ fhir:v "Chalmers" ] ;
    ( fhir:given [ fhir:v "Peter" ] [ fhir:v "James" ] )
  ] ) ; # 
  fhir:telecom ( [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "(03) 5555 6473" ] ;
fhir:use [ fhir:v "work" ]
  ] ) ; # 
  fhir:gender [ fhir:v "male"] ; # 
  fhir:address ( [
fhir:use [ fhir:v "home" ] ;
    ( fhir:line [ fhir:v "534 Erewhon St" ] ) ;
fhir:city [ fhir:v "PleasantVille" ] ;
fhir:state [ fhir:v "UT" ] ;
fhir:postalCode [ fhir:v "84414" ]
  ] ) ; # 
  fhir:photo ( [
fhir:contentType [ fhir:v "image/jpeg" ] ;
fhir:url [ fhir:v "Binary/f012"^^xsd:anyURI ]
  ] ) ; # 
  fhir:period [
fhir:start [ fhir:v "2012-03-11"^^xsd:date ]
  ] . #