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

: 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 class=\"res-header-id\"><b>Generated Narrative: Location example</b></p><a name=\"example\"> </a><a name=\"hcexample\"> </a><a name=\"example-en-US\"> </a><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>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-RoleCode HOSP}\">Hospital</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>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/location-physical-type wi}\">Wing</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 Health Level Seven International</a></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" ]
  ] . #