<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="biobankcy-sd-location" />
  <url value="http://ig.biobank.cy/fhir/StructureDefinition/biobankcy-sd-location" />
  <name value="BIOBANKCYSDLocation" />
  <title value="Profile: Location (biobank.cy)" />
  <status value="draft" />
  <publisher value="biobank.cy" />
  <contact>
    <name value="Molecular Medicine Research Center (MMRC)" />
    <telecom>
      <system value="email" />
      <value value="biobank@ucy.ac.cy" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="Represents the location where an encounter takes place between a patient (donor or citizen resources) and a practitioner under the auspices of the biobank.cy." />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Location" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Location" />
  <derivation value="constraint" />
  <differential>
    <element id="Location.language">
      <path value="Location.language" />
      <definition value="The base language in which the resource is written.&#xD;&#xA;&#xD;&#xA;biobank.cy: As defined by eHDSI MVC." />
      <binding>
        <strength value="required" />
        <description value="A human language as defined by eHDSI" />
        <valueSet value="http://ig.ehealth4u.eu/fhir/ValueSet/cyehr-vs-ehdsilanguage" />
      </binding>
    </element>
    <element id="Location.identifier">
      <path value="Location.identifier" />
      <comment value="Not to be used for biobank.cy" />
    </element>
    <element id="Location.operationalStatus">
      <path value="Location.operationalStatus" />
      <comment value="Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.&#xD;&#xA;&#xD;&#xA;Not to be used for biobank.cy" />
    </element>
    <element id="Location.name">
      <path value="Location.name" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Location.alias">
      <path value="Location.alias" />
      <comment value="There are no dates associated with the alias/historic names, as this is not intended to track when names were used, but to assist in searching so that older names can still result in identifying the location.&#xD;&#xA;&#xD;&#xA;Not to be used for biobank.cy" />
    </element>
    <element id="Location.description">
      <path value="Location.description" />
      <min value="1" />
    </element>
    <element id="Location.mode">
      <path value="Location.mode" />
      <comment value="This is labeled as a modifier because whether or not the location is a class of locations changes how it can be used and understood.&#xD;&#xA;&#xD;&#xA;Not to be used for biobank.cy" />
    </element>
    <element id="Location.type">
      <path value="Location.type" />
      <comment value="Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.&#xD;&#xA;&#xD;&#xA;Not to be used for biobank.cy" />
    </element>
    <element id="Location.telecom">
      <path value="Location.telecom" />
      <mustSupport value="true" />
    </element>
    <element id="Location.address">
      <path value="Location.address" />
      <min value="1" />
      <type>
        <code value="Address" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Address" />
        <profile value="http://ig.ehealth4u.eu/fhir/StructureDefinition/cyehr-sd-address" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Location.physicalType">
      <path value="Location.physicalType" />
      <comment value="Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.&#xD;&#xA;&#xD;&#xA;Not to be used for biobank.cy" />
    </element>
    <element id="Location.position">
      <path value="Location.position" />
      <comment value="Not to be used for biobank.cy" />
    </element>
    <element id="Location.managingOrganization">
      <path value="Location.managingOrganization" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization" />
        <targetProfile value="http://ig.biobank.cy/fhir/StructureDefinition/biobankcy-sd-organization" />
      </type>
    </element>
    <element id="Location.managingOrganization.reference">
      <path value="Location.managingOrganization.reference" />
      <min value="1" />
    </element>
    <element id="Location.partOf">
      <path value="Location.partOf" />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.&#xD;&#xA;&#xD;&#xA;Not to be used for biobank.cy" />
    </element>
    <element id="Location.hoursOfOperation">
      <path value="Location.hoursOfOperation" />
      <comment value="This type of information is commonly found published in directories and on websites informing customers when the facility is available.&#xA;&#xA;Specific services within the location may have their own hours which could be shorter (or longer) than the locations hours.&#xD;&#xA;&#xD;&#xA;Not to be used for biobank.cy" />
    </element>
    <element id="Location.availabilityExceptions">
      <path value="Location.availabilityExceptions" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size&#xD;&#xA;&#xD;&#xA;Not to be used for biobank.cy" />
    </element>
    <element id="Location.endpoint">
      <path value="Location.endpoint" />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.&#xD;&#xA;&#xD;&#xA;Not to be used for biobank.cy" />
    </element>
  </differential>
</StructureDefinition>