{
  "resourceType": "StructureDefinition",
  "id": "biobankcy-sd-location",
  "url": "http://ig.biobank.cy/fhir/StructureDefinition/biobankcy-sd-location",
  "name": "BIOBANKCYSDLocation",
  "title": "Profile: Location (biobank.cy)",
  "status": "draft",
  "publisher": "biobank.cy",
  "contact": [
    {
      "name": "Molecular Medicine Research Center (MMRC)",
      "telecom": [
        {
          "system": "email",
          "value": "biobank@ucy.ac.cy",
          "use": "work"
        }
      ]
    }
  ],
  "description": "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": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Location",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Location",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Location.language",
        "path": "Location.language",
        "definition": "The base language in which the resource is written.\r\n\r\nbiobank.cy: As defined by eHDSI MVC.",
        "binding": {
          "strength": "required",
          "description": "A human language as defined by eHDSI",
          "valueSet": "http://ig.ehealth4u.eu/fhir/ValueSet/cyehr-vs-ehdsilanguage"
        }
      },
      {
        "id": "Location.identifier",
        "path": "Location.identifier",
        "comment": "Not to be used for biobank.cy"
      },
      {
        "id": "Location.operationalStatus",
        "path": "Location.operationalStatus",
        "comment": "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.\r\n\r\nNot to be used for biobank.cy"
      },
      {
        "id": "Location.name",
        "path": "Location.name",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Location.alias",
        "path": "Location.alias",
        "comment": "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.\r\n\r\nNot to be used for biobank.cy"
      },
      {
        "id": "Location.description",
        "path": "Location.description",
        "min": 1
      },
      {
        "id": "Location.mode",
        "path": "Location.mode",
        "comment": "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.\r\n\r\nNot to be used for biobank.cy"
      },
      {
        "id": "Location.type",
        "path": "Location.type",
        "comment": "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.\r\n\r\nNot to be used for biobank.cy"
      },
      {
        "id": "Location.telecom",
        "path": "Location.telecom",
        "mustSupport": true
      },
      {
        "id": "Location.address",
        "path": "Location.address",
        "min": 1,
        "type": [
          {
            "code": "Address",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Address",
              "http://ig.ehealth4u.eu/fhir/StructureDefinition/cyehr-sd-address"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Location.physicalType",
        "path": "Location.physicalType",
        "comment": "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.\r\n\r\nNot to be used for biobank.cy"
      },
      {
        "id": "Location.position",
        "path": "Location.position",
        "comment": "Not to be used for biobank.cy"
      },
      {
        "id": "Location.managingOrganization",
        "path": "Location.managingOrganization",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Organization",
              "http://ig.biobank.cy/fhir/StructureDefinition/biobankcy-sd-organization"
            ]
          }
        ]
      },
      {
        "id": "Location.managingOrganization.reference",
        "path": "Location.managingOrganization.reference",
        "min": 1
      },
      {
        "id": "Location.partOf",
        "path": "Location.partOf",
        "comment": "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.\r\n\r\nNot to be used for biobank.cy"
      },
      {
        "id": "Location.hoursOfOperation",
        "path": "Location.hoursOfOperation",
        "comment": "This type of information is commonly found published in directories and on websites informing customers when the facility is available.\n\nSpecific services within the location may have their own hours which could be shorter (or longer) than the locations hours.\r\n\r\nNot to be used for biobank.cy"
      },
      {
        "id": "Location.availabilityExceptions",
        "path": "Location.availabilityExceptions",
        "comment": "Note that FHIR strings SHALL NOT exceed 1MB in size\r\n\r\nNot to be used for biobank.cy"
      },
      {
        "id": "Location.endpoint",
        "path": "Location.endpoint",
        "comment": "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.\r\n\r\nNot to be used for biobank.cy"
      }
    ]
  }
}