QI-Core Implementation Guide
6.0.0 - STU6 United States of America flag

This page is part of the Quality Improvement Core Framework (v6.0.0: STU6 (v6.0.0)) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions

: Location 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:Location ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-location"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-location>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Location</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 Location &quot;example&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-qicore-location.html\">QICore Location</a></p></div><p><b>identifier</b>: <code>http://exampleoflocation.com</code>/B1-S.F2 (use: TEMP)</p><p><b>status</b>: active</p><p><b>name</b>: South Wing, second floor</p><p><b>alias</b>: Mean Joe Greene University Medical Center, South Wing, second floor, BU MC, SW, F2</p><p><b>description</b>: Second floor of the Old South Wing, formerly in use by Psychiatry</p><p><b>mode</b>: instance</p><p><b>type</b>: Hospital <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.4.0/CodeSystem-v3-RoleCode.html\">RoleCode</a>#HOSP)</span></p><p><b>telecom</b>: ph: 2328(WORK), fax: 2329(WORK), <a href=\"mailto:secondwing@meanjoegreeneuniversitymedicalcenter.com\">secondwing@meanjoegreeneuniversitymedicalcenter.com</a>, <a href=\"http://sampleorg.com/southwing\">http://sampleorg.com/southwing</a></p><p><b>address</b>: Iron Curtain 75, Building A Pittsburgh PA 15016 US (WORK)</p><p><b>physicalType</b>: Wing <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.4.0/CodeSystem-location-physical-type.html\">Location type</a>#wi)</span></p><h3>Positions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Longitude</b></td><td><b>Latitude</b></td><td><b>Altitude</b></td></tr><tr><td style=\"display: none\">*</td><td>-83.6945691</td><td>42.25475478</td><td>0</td></tr></table><p><b>managingOrganization</b>: <a href=\"Organization-example.html\">Organization/example</a> &quot;Health Level Seven International&quot;</p></div>"
  ] ; # 
  fhir:identifier ( [
fhir:use [ fhir:v "temp" ] ;
fhir:system [ fhir:v "http://exampleoflocation.com"^^xsd:anyURI ] ;
fhir:value [ fhir:v "B1-S.F2" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:name [ fhir:v "South Wing, second floor"] ; # 
  fhir:alias ( [ fhir:v "Mean Joe Greene University Medical Center, South Wing, second floor"] [ fhir:v "BU MC, SW, F2"] ) ; # 
  fhir:description [ fhir:v "Second floor of the Old South Wing, formerly in use by Psychiatry"] ; # 
  fhir:mode [ fhir:v "instance"] ; # 
  fhir:type ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ] ;
fhir:code [ fhir:v "HOSP" ] ;
fhir:display [ fhir:v "Hospital" ]     ] )
  ] ) ; # 
  fhir:telecom ( [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "2328" ] ;
fhir:use [ fhir:v "work" ]
  ] [
fhir:system [ fhir:v "fax" ] ;
fhir:value [ fhir:v "2329" ] ;
fhir:use [ fhir:v "work" ]
  ] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "secondwing@meanjoegreeneuniversitymedicalcenter.com" ]
  ] [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://sampleorg.com/southwing" ] ;
fhir:use [ fhir:v "work" ]
  ] ) ; # 
  fhir:address [
fhir:use [ fhir:v "work" ] ;
    ( fhir:line [ fhir:v "Iron Curtain 75, Building A" ] ) ;
fhir:city [ fhir:v "Pittsburgh" ] ;
fhir:state [ fhir:v "PA" ] ;
fhir:postalCode [ fhir:v "15016" ] ;
fhir:country [ fhir:v "US" ]
  ] ; # 
  fhir:physicalType [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/location-physical-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "wi" ] ;
fhir:display [ fhir:v "Wing" ]     ] )
  ] ; # 
  fhir:position [
fhir:longitude [ fhir:v "-83.6945691"^^xsd:decimal ] ;
fhir:latitude [ fhir:v "42.25475478"^^xsd:decimal ] ;
fhir:altitude [ fhir:v "0"^^xsd:decimal ]
  ] ; # 
  fhir:managingOrganization [
fhir:reference [ fhir:v "Organization/example" ]
  ] . #