<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="https://nshealth.ca/fhir/LogicalModel-HealthcareRegistry-Location" />
  <name value="LogicalModelHealthcareRegistryLocation" />
  <status value="draft" />
  <description value="A model to describe the data items required to represent a physical location within the Health Service Registry.&#xD;&#xA;The location is owned by an Organization and healthcare services may be delivered from the location." />
  <fhirVersion value="4.0.1" />
  <kind value="logical" />
  <abstract value="false" />
  <type value="https://nshealth.ca/fhir/LogicalModel-HealthcareRegistry-Location" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element" />
  <derivation value="specialization" />
  <differential>
    <element id="LogicalModel-HealthcareRegistry-Location">
      <path value="LogicalModel-HealthcareRegistry-Location" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Element" />
      </type>
    </element>
    <element id="LogicalModel-HealthcareRegistry-Location.status">
      <path value="LogicalModel-HealthcareRegistry-Location.status" />
      <short value="Status" />
      <definition value="The status of the location (note will need to align to Location Resource in due course)&#xD;&#xA;active | suspended | inactive" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
    <element id="LogicalModel-HealthcareRegistry-Location.operationalStatus">
      <path value="LogicalModel-HealthcareRegistry-Location.operationalStatus" />
      <short value="The operational status of the location" />
      <comment value="This will end up being an extension on the FHIR profile." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Coding" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Coding" />
      </type>
      <binding>
        <strength value="required" />
        <valueSet value="https://nshealth.ca/fhir/ValueSet/LocationOperationalStatus" />
      </binding>
    </element>
    <element id="LogicalModel-HealthcareRegistry-Location.name">
      <path value="LogicalModel-HealthcareRegistry-Location.name" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="LogicalModel-HealthcareRegistry-Location.description">
      <path value="LogicalModel-HealthcareRegistry-Location.description" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="LogicalModel-HealthcareRegistry-Location.type">
      <path value="LogicalModel-HealthcareRegistry-Location.type" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
        <profile value="http://hl7.org/fhir/StructureDefinition/CodeableConcept" />
      </type>
      <binding>
        <strength value="required" />
        <valueSet value="https://nshealth.ca/fhir/ValueSet/LocationFunctionType" />
      </binding>
    </element>
    <element id="LogicalModel-HealthcareRegistry-Location.physicalType">
      <path value="LogicalModel-HealthcareRegistry-Location.physicalType" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Coding" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Coding" />
      </type>
      <binding>
        <strength value="required" />
        <valueSet value="https://nshealth.ca/fhir/ValueSet/LocationPhysicalType" />
      </binding>
    </element>
    <element id="LogicalModel-HealthcareRegistry-Location.address">
      <path value="LogicalModel-HealthcareRegistry-Location.address" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Address" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Address" />
      </type>
    </element>
    <element id="LogicalModel-HealthcareRegistry-Location.zone">
      <path value="LogicalModel-HealthcareRegistry-Location.zone" />
      <comment value="This will end up being an extension on the FHIR profile." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Coding" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Coding" />
      </type>
      <binding>
        <strength value="extensible" />
        <valueSet value="https://nshealth.ca/fhir/ValueSet/NSHAManagementZone" />
      </binding>
    </element>
    <element id="LogicalModel-HealthcareRegistry-Location.cluster">
      <path value="LogicalModel-HealthcareRegistry-Location.cluster" />
      <comment value="This will end up being an extension on the FHIR profile." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Coding" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Coding" />
      </type>
      <binding>
        <strength value="required" />
        <valueSet value="https://nshealth.ca/fhir/ValueSet/NSHAManagementCluster" />
      </binding>
    </element>
    <element id="LogicalModel-HealthcareRegistry-Location.position">
      <path value="LogicalModel-HealthcareRegistry-Location.position" />
      <short value="The absolute geographic location" />
      <definition value="The absolute geographic location" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="LogicalModel-HealthcareRegistry-Location.position.longitude">
      <path value="LogicalModel-HealthcareRegistry-Location.position.longitude" />
      <short value="Longitude with WGS84 datum" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="decimal" />
        <profile value="http://hl7.org/fhir/StructureDefinition/decimal" />
      </type>
    </element>
    <element id="LogicalModel-HealthcareRegistry-Location.position.latitude">
      <path value="LogicalModel-HealthcareRegistry-Location.position.latitude" />
      <short value="Latitude with WGS84 datum" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="decimal" />
        <profile value="http://hl7.org/fhir/StructureDefinition/decimal" />
      </type>
    </element>
  </differential>
</StructureDefinition>