QI-Core Implementation Guide
7.0.2 - STU 7

QI-Core Implementation Guide, published by HL7 International / Clinical Quality Information. This guide is not an authorized publication; it is the continuous build for version 7.0.2 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-qi-core/ and changes regularly. See the Directory of published versions

## : Location example - TTL Representation

Page standards status: Informative

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @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:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-location>     ] )
      ] ; #
      fhir:text [
    fhir:status [ fhir:v "generated" ] ;
    fhir:div [ fhir:v "<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><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-qicore-location.html\">QICore Location</a></p></div><p><b>identifier</b>: <code>http://example.org</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://example.org/southwing\">http://example.org/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>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:identifier ( [
    fhir:use [ fhir:v "temp" ] ;
    fhir:system [
    fhir:v "http://example.org"^^xsd:anyURI ;
    fhir:l <http://example.org>     ] ;
    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:l <http://terminology.hl7.org/CodeSystem/v3-RoleCode>       ] ;
    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://example.org/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:l <http://terminology.hl7.org/CodeSystem/location-physical-type>       ] ;
    fhir:code [ fhir:v "wi" ] ;
    fhir:display [ fhir:v "Wing" ]     ] )
      ] ; #
      fhir:position [
    fhir:longitude [ fhir:v -83.6945691 ] ;
    fhir:latitude [ fhir:v 42.25475478 ] ;
    fhir:altitude [ fhir:v "0"^^xsd:decimal ]
      ] ; #
      fhir:managingOrganization [
    fhir:l fhir:Organization/example ;
    fhir:reference [ fhir:v "Organization/example" ]
      ] . #