National Healthcare Directory Exchange
1.0.0-ballot - ballot US

This page is part of the National Healthcare Directory Exchange (v1.0.0-ballot: STU 1 Ballot 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

: HospLoc2 - 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:Resource.id [ fhir:value "HospLoc2"];
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2020-07-07T13:26:22.0314215+00:00"^^xsd:dateTime ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/directory-exchange/StructureDefinition/NatlDirEx-Location";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/directory-exchange/StructureDefinition/NatlDirEx-Location>     ]
  ];
  fhir:Resource.language [ fhir:value "en-US"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en-US\" lang=\"en-US\"><p><b>Generated Narrative: Location</b></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 \"HospLoc2\" Updated \"2020-07-07 01:26:22+0000\"  (Language \"en-US\") </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-NatlDirEx-Location.html\">National Directory Location</a></p></div><p><b>Accessibility</b>: ADA compliant <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://hl7.org/fhir/us/directory-query/2022Sep/CodeSystem-AccessibilityCS.html\">Accessibility Code System</a>#adacomp)</span></p><p><b>Accessibility</b>: public transit options <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://hl7.org/fhir/us/directory-query/2022Sep/CodeSystem-AccessibilityCS.html\">Accessibility Code System</a>#pubtrans)</span></p><p><b>status</b>: active</p><p><b>name</b>: Hartford Hospital Location 2</p><p><b>type</b>: Hospital <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-RoleCode.html\">RoleCode</a>#HOSP)</span></p><p><b>telecom</b>: ph: (111)-222-3333, <a href=\"https://www.hgh.com\">https://www.hgh.com</a></p><p><b>address</b>: 123 Main Street Anytown CT 00014-1234 </p><h3>Positions</h3><table class=\"grid\"><tr><td>-</td><td><b>Longitude</b></td><td><b>Latitude</b></td></tr><tr><td>*</td><td>3</td><td>15</td></tr></table><p><b>managingOrganization</b>: <a href=\"Organization-Hospital.html\">Organization/Hospital</a> \"Hartford General Hospital\"</p><h3>HoursOfOperations</h3><table class=\"grid\"><tr><td>-</td><td><b>DaysOfWeek</b></td><td><b>AllDay</b></td></tr><tr><td>*</td><td>mon, tue, wed, thu, fri, sat, sun</td><td>true</td></tr></table></div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/directory-query/StructureDefinition/accessibility" ];
     fhir:Extension.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/directory-query/CodeSystem/AccessibilityCS" ];
         fhir:Coding.code [ fhir:value "adacomp" ]       ]     ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/directory-query/StructureDefinition/accessibility" ];
     fhir:Extension.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/directory-query/CodeSystem/AccessibilityCS" ];
         fhir:Coding.code [ fhir:value "pubtrans" ]       ]     ]
  ];
  fhir:Location.status [ fhir:value "active"];
  fhir:Location.name [ fhir:value "Hartford Hospital Location 2"];
  fhir:Location.type [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-RoleCode" ];
       fhir:Coding.code [ fhir:value "HOSP" ]     ]
  ];
  fhir:Location.telecom [
     fhir:index 0;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "daysOfWeek" ];
         fhir:Extension.valueCode [ fhir:value "mon" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "daysOfWeek" ];
         fhir:Extension.valueCode [ fhir:value "tue" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "daysOfWeek" ];
         fhir:Extension.valueCode [ fhir:value "wed" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "daysOfWeek" ];
         fhir:Extension.valueCode [ fhir:value "thu" ]       ], [
         fhir:index 4;
         fhir:Extension.url [ fhir:value "daysOfWeek" ];
         fhir:Extension.valueCode [ fhir:value "fri" ]       ], [
         fhir:index 5;
         fhir:Extension.url [ fhir:value "allDay" ];
         fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]       ], [
         fhir:index 6;
         fhir:Extension.url [ fhir:value "daysOfWeek" ];
         fhir:Extension.valueCode [ fhir:value "sat" ]       ], [
         fhir:index 7;
         fhir:Extension.url [ fhir:value "daysOfWeek" ];
         fhir:Extension.valueCode [ fhir:value "sun" ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/directory-query/StructureDefinition/contactpoint-availabletime" ]     ];
     fhir:ContactPoint.system [ fhir:value "phone" ];
     fhir:ContactPoint.value [ fhir:value "(111)-222-3333" ];
     fhir:ContactPoint.rank [ fhir:value "2"^^xsd:positiveInteger ]
  ], [
     fhir:index 1;
     fhir:ContactPoint.system [ fhir:value "url" ];
     fhir:ContactPoint.value [ fhir:value "https://www.hgh.com" ];
     fhir:ContactPoint.rank [ fhir:value "1"^^xsd:positiveInteger ]
  ];
  fhir:Location.address [
     fhir:Address.line [
       fhir:value "123 Main Street";
       fhir:index 0     ];
     fhir:Address.city [ fhir:value "Anytown" ];
     fhir:Address.state [ fhir:value "CT" ];
     fhir:Address.postalCode [ fhir:value "00014-1234" ]
  ];
  fhir:Location.position [
     fhir:Location.position.longitude [ fhir:value "3"^^xsd:decimal ];
     fhir:Location.position.latitude [ fhir:value "15"^^xsd:decimal ]
  ];
  fhir:Location.managingOrganization [
     fhir:Reference.reference [ fhir:value "Organization/Hospital" ]
  ];
  fhir:Location.hoursOfOperation [
     fhir:index 0;
     fhir:Location.hoursOfOperation.daysOfWeek [
       fhir:value "mon";
       fhir:index 0     ], [
       fhir:value "tue";
       fhir:index 1     ], [
       fhir:value "wed";
       fhir:index 2     ], [
       fhir:value "thu";
       fhir:index 3     ], [
       fhir:value "fri";
       fhir:index 4     ], [
       fhir:value "sat";
       fhir:index 5     ], [
       fhir:value "sun";
       fhir:index 6     ];
     fhir:Location.hoursOfOperation.allDay [ fhir:value "true"^^xsd:boolean ]
  ].

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.