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

: 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 class=\"res-header-id\"><b>Generated Narrative: RelatedPerson example</b></p><a name=\"example\"> </a><a name=\"hcexample\"> </a><a name=\"example-en-US\"> </a><p><b>active</b>: true</p><p><b>patient</b>: <a href=\"Patient-example.html\">Jim Chalmers  Male, DoB: 1974-12-25 ( Medical record number (use: usual, period: 2001-05-06 --&gt; (ongoing)))</a></p><p><b>relationship</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v2-0131 C}\">Emergency Contact</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 style=\"display: none\">-</td><td><b>ContentType</b></td><td><b>Url</b></td></tr><tr><td style=\"display: none\">*</td><td>image/jpeg</td><td>Binary/f012</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 ]
  ] . #