{
  "resourceType": "StructureDefinition",
  "id": "ca-qc-endo-profile-EndoLocation-v0.9.0",
  "url": "https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/StructureDefinition/EndoLocation",
  "version": "0.9.0",
  "name": "EndoLocation",
  "status": "active",
  "date": "2025-05-14T10:00:00+00:00",
  "description": "Ressource lieu de dispensation de service\n\nChangements à la version 0.9.0:\n\n- statut de la ressource (draft → active)\n- meta.source est obligatoire",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Location",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Location",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Location.meta",
        "path": "Location.meta",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Location.meta.source",
        "path": "Location.meta.source",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Location.meta.profile",
        "path": "Location.meta.profile",
        "comment": "Projet endoscopie, utiliser : https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/StructureDefinition/EndoLocation\r\n\r\nIt is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time.  The list of profile URLs is a set.",
        "mustSupport": true
      },
      {
        "id": "Location.meta.security",
        "path": "Location.meta.security",
        "mustSupport": true
      },
      {
        "id": "Location.meta.security.system",
        "path": "Location.meta.security.system",
        "mustSupport": true
      },
      {
        "id": "Location.meta.security.code",
        "path": "Location.meta.security.code",
        "mustSupport": true
      },
      {
        "id": "Location.meta.security.display",
        "path": "Location.meta.security.display",
        "mustSupport": true
      },
      {
        "id": "Location.meta.tag",
        "path": "Location.meta.tag",
        "mustSupport": true
      },
      {
        "id": "Location.meta.tag.system",
        "path": "Location.meta.tag.system",
        "mustSupport": true
      },
      {
        "id": "Location.meta.tag.code",
        "path": "Location.meta.tag.code",
        "mustSupport": true
      },
      {
        "id": "Location.meta.tag.display",
        "path": "Location.meta.tag.display",
        "mustSupport": true
      },
      {
        "id": "Location.identifier",
        "path": "Location.identifier",
        "mustSupport": true
      },
      {
        "id": "Location.identifier.use",
        "path": "Location.identifier.use",
        "mustSupport": true
      },
      {
        "id": "Location.identifier.type",
        "path": "Location.identifier.type",
        "mustSupport": true
      },
      {
        "id": "Location.identifier.type.coding",
        "path": "Location.identifier.type.coding",
        "mustSupport": true
      },
      {
        "id": "Location.identifier.type.coding.system",
        "path": "Location.identifier.type.coding.system",
        "mustSupport": true
      },
      {
        "id": "Location.identifier.type.coding.code",
        "path": "Location.identifier.type.coding.code",
        "mustSupport": true
      },
      {
        "id": "Location.identifier.type.coding.display",
        "path": "Location.identifier.type.coding.display",
        "mustSupport": true
      },
      {
        "id": "Location.identifier.system",
        "path": "Location.identifier.system",
        "mustSupport": true
      },
      {
        "id": "Location.identifier.value",
        "path": "Location.identifier.value",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/ValueSet/InstallationEndo",
          "description": "id of the location"
        }
      },
      {
        "id": "Location.status",
        "path": "Location.status",
        "mustSupport": true
      },
      {
        "id": "Location.name",
        "path": "Location.name",
        "min": 1,
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/ValueSet/InstallationEndo",
          "description": "Name of the location"
        }
      },
      {
        "id": "Location.type",
        "path": "Location.type",
        "binding": {
          "strength": "required",
          "valueSet": "https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/ValueSet/TypeRessourceEndo",
          "description": "Used to categorize the type of the organization (site or organization)."
        }
      },
      {
        "id": "Location.managingOrganization",
        "path": "Location.managingOrganization",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/StructureDefinition/EndoOrganization"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Location.managingOrganization.identifier.value",
        "path": "Location.managingOrganization.identifier.value",
        "binding": {
          "strength": "required",
          "valueSet": "https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/ValueSet/EtablissementEndo",
          "description": "Id Etablissement"
        }
      }
    ]
  }
}