National Healthcare Directory Exchange
1.0.0-ballot - ballot

National Healthcare Directory Exchange, published by HL7 Patient Administration Working Group. This is not an authorized publication; it is the continuous build for version 1.0.0-ballot). This version is based on the current content of https://github.com/HL7/fhir-directory-exchange/ and changes regularly. See the Directory of published versions

## : PharmLoc3 - 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 "PharmLoc3"]; #
      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><a name=\"PharmLoc3\"> </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;PharmLoc3&quot; Updated &quot;2020-07-07 13:26:22+0000&quot;  (Language &quot;en-US&quot;) </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-NatlDirEx-Location.html\">National Directory Location</a></p></div><blockquote><p><b>New Patients</b></p><p><b>value</b>: Accepting existing patients <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://hl7.org/fhir/us/directory-query/2022Sep/CodeSystem-AcceptingPatientsCS.html\">Accepting Patients Codes Code System</a>#existptonly)</span></p><p><b>value</b>: <a href=\"Organization-AcmeofCTStdNet.html\">Organization/AcmeofCTStdNet</a> &quot;ACME CT Preferred Provider Network&quot;</p></blockquote><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>: OrgA MA Location 1</p><p><b>type</b>: outpatient pharmacy <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>#OUTPHARM)</span></p><p><b>telecom</b>: ph: (444)-555-666, <a href=\"https://www.orga.com\">https://www.orga.com</a></p><p><b>address</b>: 456 Main Street Somewhere 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>7</td><td>12</td></tr></table><p><b>managingOrganization</b>: <a href=\"Organization-BigBox.html\">Organization/BigBox</a> &quot;Big Box Retailer&quot;</p><blockquote><p><b>hoursOfOperation</b></p><p><b>daysOfWeek</b>: mon, tue, wed, thu</p><p><b>allDay</b>: true</p></blockquote><blockquote><p><b>hoursOfOperation</b></p><p><b>daysOfWeek</b>: sun</p><p><b>openingTime</b>: 08:00:00</p><p><b>closingTime</b>: 17:00:00</p></blockquote></div>"
      ]; #
      fhir:DomainResource.extension [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "acceptingPatients" ];
           fhir:Extension.valueCodeableConcept [
             fhir:CodeableConcept.coding [
               fhir:index 0;
               fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/directory-query/CodeSystem/AcceptingPatientsCS" ];
               fhir:Coding.code [ fhir:value "existptonly" ]         ]       ]     ], [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "fromNetwork" ];
           fhir:Extension.valueReference [
             fhir:Reference.reference [ fhir:value "Organization/AcmeofCTStdNet" ]       ]     ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/directory-query/StructureDefinition/newpatients" ]
      ], [
         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 "adacomp" ]       ]     ]
      ], [
         fhir:index 2;
         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 "OrgA MA Location 1"]; #
      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 "OUTPHARM" ];
           fhir:Coding.display [ fhir:value "outpatient pharmacy" ]     ]
      ]; #
      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:Extension.url [ fhir:value "http://hl7.org/fhir/us/directory-query/StructureDefinition/contactpoint-availabletime" ]     ], [
           fhir:index 1;
           fhir:Element.extension [
             fhir:index 0;
             fhir:Extension.url [ fhir:value "daysOfWeek" ];
             fhir:Extension.valueCode [ fhir:value "sat" ]       ], [
             fhir:index 1;
             fhir:Extension.url [ fhir:value "daysOfWeek" ];
             fhir:Extension.valueCode [ fhir:value "sun" ]       ], [
             fhir:index 2;
             fhir:Extension.url [ fhir:value "availableStartTime" ];
             fhir:Extension.valueTime [ fhir:value "08:00:00"^^xsd:time ]       ], [
             fhir:index 3;
             fhir:Extension.url [ fhir:value "availableEndTime" ];
             fhir:Extension.valueTime [ fhir:value "17:00:00"^^xsd:time ]       ];
           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 "(444)-555-666" ];
         fhir:ContactPoint.rank [ fhir:value "2"^^xsd:positiveInteger ]
      ], [
         fhir:index 1;
         fhir:ContactPoint.system [ fhir:value "url" ];
         fhir:ContactPoint.value [ fhir:value "https://www.orga.com" ];
         fhir:ContactPoint.rank [ fhir:value "1"^^xsd:positiveInteger ]
      ]; #
      fhir:Location.address [
         fhir:Address.line [
           fhir:value "456 Main Street";
           fhir:index 0     ];
         fhir:Address.city [ fhir:value "Somewhere" ];
         fhir:Address.state [ fhir:value "CT" ];
         fhir:Address.postalCode [ fhir:value "00014-1234" ]
      ]; #
      fhir:Location.position [
         fhir:Location.position.longitude [ fhir:value "7"^^xsd:decimal ];
         fhir:Location.position.latitude [ fhir:value "12"^^xsd:decimal ]
      ]; #
      fhir:Location.managingOrganization [
         fhir:Reference.reference [ fhir:value "Organization/BigBox" ]
      ]; #
      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:Location.hoursOfOperation.allDay [ fhir:value "true"^^xsd:boolean ]
      ], [
         fhir:index 1;
         fhir:Location.hoursOfOperation.daysOfWeek [
           fhir:value "sun";
           fhir:index 0     ];
         fhir:Location.hoursOfOperation.openingTime [ fhir:value "08:00:00"^^xsd:time ];
         fhir:Location.hoursOfOperation.closingTime [ fhir:value "17:00:00"^^xsd:time ]
      ]. #

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

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