@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 -------------------------------------------------------------------

<http://hl7.org/fhir/us/quality-core/Location/example> a fhir:Location ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "example"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-location" ;
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-location>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.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><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-us-quality-core-location.html\">US Quality Core 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>: Example University Medical Center, South Wing, second floor, EUMC, SW, F2</p><p><b>description</b>: Second floor of the South Wing</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>: <a href=\"tel:+1-555-555-0170\">+1-555-555-0170</a>, fax: +1-555-555-0171(Work), <a href=\"mailto:southwing@example.org\">southwing@example.org</a>, <a href=\"http://example.org/southwing\">http://example.org/southwing</a></p><p><b>address</b>: 1000 Example Campus Drive, Building A Example City VA 99999 US (work)</p><p><b>physicalType</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/location-physical-type wi}\">Wing</span></p><p><b>managingOrganization</b>: <a href=\"Organization-example.html\">Organization Example Organization</a></p></div>"
  ] ;
  fhir:Location.identifier [
     fhir:index -1 ;
     fhir:Identifier.use [ fhir:value "temp" ] ;
     fhir:Identifier.system [ fhir:value "http://example.org" ] ;
     fhir:Identifier.value [ fhir:value "B1-S.F2" ]
  ] ;
  fhir:Location.status [ fhir:value "active"] ;
  fhir:Location.name [ fhir:value "South Wing, second floor"] ;
  fhir:Location.alias [
     fhir:value "Example University Medical Center, South Wing, second floor" ;
     fhir:index -1
  ], [
     fhir:value "EUMC, SW, F2" ;
     fhir:index -1
  ] ;
  fhir:Location.description [ fhir:value "Second floor of the South Wing"] ;
  fhir:Location.mode [ fhir:value "instance"] ;
  fhir:Location.type [
     fhir:index -1 ;
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-RoleCode" ] ;
       fhir:Coding.code [ fhir:value "HOSP" ] ;
       fhir:Coding.display [ fhir:value "Hospital" ]
     ]
  ] ;
  fhir:Location.telecom [
     fhir:index -1 ;
     fhir:ContactPoint.system [ fhir:value "phone" ] ;
     fhir:ContactPoint.value [ fhir:value "+1-555-555-0170" ] ;
     fhir:ContactPoint.use [ fhir:value "work" ]
  ], [
     fhir:index -1 ;
     fhir:ContactPoint.system [ fhir:value "fax" ] ;
     fhir:ContactPoint.value [ fhir:value "+1-555-555-0171" ] ;
     fhir:ContactPoint.use [ fhir:value "work" ]
  ], [
     fhir:index -1 ;
     fhir:ContactPoint.system [ fhir:value "email" ] ;
     fhir:ContactPoint.value [ fhir:value "southwing@example.org" ]
  ], [
     fhir:index -1 ;
     fhir:ContactPoint.system [ fhir:value "url" ] ;
     fhir:ContactPoint.value [ fhir:value "http://example.org/southwing" ] ;
     fhir:ContactPoint.use [ fhir:value "work" ]
  ] ;
  fhir:Location.address [
     fhir:Address.use [ fhir:value "work" ] ;
     fhir:Address.line [
       fhir:value "1000 Example Campus Drive, Building A" ;
       fhir:index -1
     ] ;
     fhir:Address.city [ fhir:value "Example City" ] ;
     fhir:Address.state [ fhir:value "VA" ] ;
     fhir:Address.postalCode [ fhir:value "99999" ] ;
     fhir:Address.country [ fhir:value "US" ]
  ] ;
  fhir:Location.physicalType [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/location-physical-type" ] ;
       fhir:Coding.code [ fhir:value "wi" ] ;
       fhir:Coding.display [ fhir:value "Wing" ]
     ]
  ] ;
  fhir:Location.managingOrganization [
     fhir:link <http://hl7.org/fhir/us/quality-core/Organization/example> ;
     fhir:Reference.reference [ fhir:value "Organization/example" ]
  ] .

<http://hl7.org/fhir/us/quality-core/Organization/example> a fhir:us .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/us/quality-core/Location/example.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/us/quality-core/Location/example.ttl> .

# -------------------------------------------------------------------------------------

