{
  "resourceType": "StructureDefinition",
  "id": "biobankcy-sd-procedure",
  "meta": {
    "versionId": "32",
    "lastUpdated": "2023-12-14T13:48:50.3950891+00:00"
  },
  "url": "http://ig.biobank.cy/fhir/StructureDefinition/biobankcy-sd-procedure",
  "name": "BIOBANKCYSDProcedure",
  "title": "Profile: Procedure (biobank.cy)",
  "status": "draft",
  "date": "2022-03-23T13:08:31.0637922+00:00",
  "publisher": "biobank.cy",
  "contact": [
    {
      "name": "Molecular Medicine Research Center (MMRC)",
      "telecom": [
        {
          "system": "email",
          "value": "biobank@ucy.ac.cy",
          "use": "work"
        }
      ]
    }
  ],
  "description": "Represents a procedure of a donor (research subject) or citizen (patient) of the biobank.cy. The procedure can be self-reported by the patient or reported by a medical doctor or nurse.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Procedure",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Procedure",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Procedure",
        "path": "Procedure",
        "mustSupport": true
      },
      {
        "id": "Procedure.identifier.type",
        "path": "Procedure.identifier.type",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ]
      },
      {
        "id": "Procedure.identifier.type.coding.system",
        "path": "Procedure.identifier.type.coding.system",
        "min": 1
      },
      {
        "id": "Procedure.identifier.type.coding.code",
        "path": "Procedure.identifier.type.coding.code",
        "min": 1
      },
      {
        "id": "Procedure.identifier.type.coding.display",
        "path": "Procedure.identifier.type.coding.display",
        "min": 1
      },
      {
        "id": "Procedure.basedOn",
        "path": "Procedure.basedOn",
        "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": "Procedure.basedOn.identifier.type",
        "path": "Procedure.basedOn.identifier.type",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ]
      },
      {
        "id": "Procedure.basedOn.identifier.type.coding.system",
        "path": "Procedure.basedOn.identifier.type.coding.system",
        "min": 1
      },
      {
        "id": "Procedure.basedOn.identifier.type.coding.code",
        "path": "Procedure.basedOn.identifier.type.coding.code",
        "min": 1
      },
      {
        "id": "Procedure.basedOn.identifier.type.coding.display",
        "path": "Procedure.basedOn.identifier.type.coding.display",
        "min": 1
      },
      {
        "id": "Procedure.partOf",
        "path": "Procedure.partOf",
        "comment": "The MedicationAdministration resource has a partOf reference to Procedure, but this is not a circular reference.   For example, the anesthesia MedicationAdministration is part of the surgical Procedure (MedicationAdministration.partOf = Procedure).  For example, the procedure to insert the IV port for an IV medication administration is part of the medication administration (Procedure.partOf = MedicationAdministration).\r\n\r\nNot to be used for biobank.cy"
      },
      {
        "id": "Procedure.partOf.identifier.type",
        "path": "Procedure.partOf.identifier.type",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ]
      },
      {
        "id": "Procedure.status",
        "path": "Procedure.status",
        "mustSupport": true
      },
      {
        "id": "Procedure.statusReason",
        "path": "Procedure.statusReason",
        "comment": "This is generally only used for \"exception\" statuses such as \"not-done\", \"suspended\" or \"aborted\". The reason for performing the event at all is captured in reasonCode, not here.\r\n\r\nNot to be used for biobank.cy",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ]
      },
      {
        "id": "Procedure.statusReason.coding.system",
        "path": "Procedure.statusReason.coding.system",
        "min": 1
      },
      {
        "id": "Procedure.statusReason.coding.code",
        "path": "Procedure.statusReason.coding.code",
        "min": 1
      },
      {
        "id": "Procedure.statusReason.coding.display",
        "path": "Procedure.statusReason.coding.display",
        "min": 1
      },
      {
        "id": "Procedure.category",
        "path": "Procedure.category",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ]
      },
      {
        "id": "Procedure.category.coding.system",
        "path": "Procedure.category.coding.system",
        "min": 1
      },
      {
        "id": "Procedure.category.coding.code",
        "path": "Procedure.category.coding.code",
        "min": 1
      },
      {
        "id": "Procedure.category.coding.display",
        "path": "Procedure.category.coding.display",
        "min": 1
      },
      {
        "id": "Procedure.code",
        "path": "Procedure.code",
        "definition": "Identification of the procedure or recording of \"absence of relevant procedures\" or of \"procedures unknown\".",
        "min": 1,
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ]
      },
      {
        "id": "Procedure.code.coding",
        "path": "Procedure.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Procedure.code.coding.system",
        "path": "Procedure.code.coding.system",
        "min": 1
      },
      {
        "id": "Procedure.code.coding.code",
        "path": "Procedure.code.coding.code",
        "min": 1
      },
      {
        "id": "Procedure.code.coding.display",
        "path": "Procedure.code.coding.display",
        "min": 1
      },
      {
        "id": "Procedure.code.coding:procedureDescription",
        "path": "Procedure.code.coding",
        "sliceName": "procedureDescription",
        "binding": {
          "strength": "required",
          "description": "A code to identify a specific procedure.",
          "valueSet": "http://ig.ehealth4u.eu/fhir/ValueSet/cyehr-vs-ehdsiprocedure"
        }
      },
      {
        "id": "Procedure.code.coding:procedureDescription.system",
        "path": "Procedure.code.coding.system",
        "min": 1
      },
      {
        "id": "Procedure.code.coding:procedureDescription.code",
        "path": "Procedure.code.coding.code",
        "min": 1
      },
      {
        "id": "Procedure.code.coding:procedureDescription.display",
        "path": "Procedure.code.coding.display",
        "min": 1
      },
      {
        "id": "Procedure.code.coding:absentOrUnknownProcedure",
        "path": "Procedure.code.coding",
        "sliceName": "absentOrUnknownProcedure",
        "binding": {
          "strength": "required",
          "valueSet": "http://ig.ehealth4u.eu/fhir/ValueSet/cyehr-vs-ehdsiabsentorunknownprocedure"
        }
      },
      {
        "id": "Procedure.code.coding:absentOrUnknownProcedure.system",
        "path": "Procedure.code.coding.system",
        "min": 1
      },
      {
        "id": "Procedure.code.coding:absentOrUnknownProcedure.code",
        "path": "Procedure.code.coding.code",
        "min": 1
      },
      {
        "id": "Procedure.code.coding:absentOrUnknownProcedure.display",
        "path": "Procedure.code.coding.display",
        "min": 1
      },
      {
        "id": "Procedure.subject",
        "path": "Procedure.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Patient",
              "http://ig.biobank.cy/fhir/StructureDefinition/biobankcy-sd-donor",
              "http://ig.biobank.cy/fhir/StructureDefinition/biobankcy-sd-citizen"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Procedure.subject.reference",
        "path": "Procedure.subject.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Procedure.subject.identifier.type",
        "path": "Procedure.subject.identifier.type",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ]
      },
      {
        "id": "Procedure.subject.identifier.type.coding.system",
        "path": "Procedure.subject.identifier.type.coding.system",
        "min": 1
      },
      {
        "id": "Procedure.subject.identifier.type.coding.code",
        "path": "Procedure.subject.identifier.type.coding.code",
        "min": 1
      },
      {
        "id": "Procedure.subject.identifier.type.coding.display",
        "path": "Procedure.subject.identifier.type.coding.display",
        "min": 1
      },
      {
        "id": "Procedure.encounter",
        "path": "Procedure.encounter",
        "definition": "The Encounter during which this Procedure resource was captured as part of the questionnaire/interview process involving a donor/citizen receiving services from the biobank. In case this resource is retrieved from an outside system (e.g. national EHR system) then don't use this element.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Encounter",
              "http://ig.biobank.cy/fhir/StructureDefinition/biobankcy-sd-visit"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Procedure.encounter.identifier.type",
        "path": "Procedure.encounter.identifier.type",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ]
      },
      {
        "id": "Procedure.encounter.identifier.type.coding.system",
        "path": "Procedure.encounter.identifier.type.coding.system",
        "min": 1
      },
      {
        "id": "Procedure.encounter.identifier.type.coding.code",
        "path": "Procedure.encounter.identifier.type.coding.code",
        "min": 1
      },
      {
        "id": "Procedure.encounter.identifier.type.coding.display",
        "path": "Procedure.encounter.identifier.type.coding.display",
        "min": 1
      },
      {
        "id": "Procedure.performed[x]",
        "path": "Procedure.performed[x]",
        "min": 1,
        "type": [
          {
            "code": "dateTime"
          },
          {
            "code": "Period"
          },
          {
            "code": "Age"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Procedure.recorder.identifier.type",
        "path": "Procedure.recorder.identifier.type",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ]
      },
      {
        "id": "Procedure.recorder.identifier.type.coding.system",
        "path": "Procedure.recorder.identifier.type.coding.system",
        "min": 1
      },
      {
        "id": "Procedure.recorder.identifier.type.coding.code",
        "path": "Procedure.recorder.identifier.type.coding.code",
        "min": 1
      },
      {
        "id": "Procedure.recorder.identifier.type.coding.display",
        "path": "Procedure.recorder.identifier.type.coding.display",
        "min": 1
      },
      {
        "id": "Procedure.asserter",
        "path": "Procedure.asserter",
        "mustSupport": false
      },
      {
        "id": "Procedure.asserter.identifier.type",
        "path": "Procedure.asserter.identifier.type",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ]
      },
      {
        "id": "Procedure.asserter.identifier.type.coding.system",
        "path": "Procedure.asserter.identifier.type.coding.system",
        "min": 1
      },
      {
        "id": "Procedure.asserter.identifier.type.coding.code",
        "path": "Procedure.asserter.identifier.type.coding.code",
        "min": 1
      },
      {
        "id": "Procedure.asserter.identifier.type.coding.display",
        "path": "Procedure.asserter.identifier.type.coding.display",
        "min": 1
      },
      {
        "id": "Procedure.performer",
        "path": "Procedure.performer",
        "mustSupport": false
      },
      {
        "id": "Procedure.performer.function",
        "path": "Procedure.performer.function",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ]
      },
      {
        "id": "Procedure.performer.function.coding.system",
        "path": "Procedure.performer.function.coding.system",
        "min": 1
      },
      {
        "id": "Procedure.performer.function.coding.code",
        "path": "Procedure.performer.function.coding.code",
        "min": 1
      },
      {
        "id": "Procedure.performer.function.coding.display",
        "path": "Procedure.performer.function.coding.display",
        "min": 1
      },
      {
        "id": "Procedure.performer.actor",
        "path": "Procedure.performer.actor",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/Patient-uv-ips",
              "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
              "http://hl7.org/fhir/uv/ips/StructureDefinition/Device-observer-uv-ips",
              "http://hl7.org/fhir/uv/ips/StructureDefinition/Practitioner-uv-ips",
              "http://hl7.org/fhir/uv/ips/StructureDefinition/PractitionerRole-uv-ips",
              "http://hl7.org/fhir/uv/ips/StructureDefinition/Organization-uv-ips"
            ]
          }
        ]
      },
      {
        "id": "Procedure.performer.onBehalfOf",
        "path": "Procedure.performer.onBehalfOf",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/Organization-uv-ips"
            ]
          }
        ]
      },
      {
        "id": "Procedure.location.identifier.type",
        "path": "Procedure.location.identifier.type",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ]
      },
      {
        "id": "Procedure.location.identifier.type.coding.system",
        "path": "Procedure.location.identifier.type.coding.system",
        "min": 1
      },
      {
        "id": "Procedure.location.identifier.type.coding.code",
        "path": "Procedure.location.identifier.type.coding.code",
        "min": 1
      },
      {
        "id": "Procedure.location.identifier.type.coding.display",
        "path": "Procedure.location.identifier.type.coding.display",
        "min": 1
      },
      {
        "id": "Procedure.reasonCode",
        "path": "Procedure.reasonCode",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ]
      },
      {
        "id": "Procedure.reasonCode.coding.system",
        "path": "Procedure.reasonCode.coding.system",
        "min": 1
      },
      {
        "id": "Procedure.reasonCode.coding.code",
        "path": "Procedure.reasonCode.coding.code",
        "min": 1
      },
      {
        "id": "Procedure.reasonCode.coding.display",
        "path": "Procedure.reasonCode.coding.display",
        "min": 1
      },
      {
        "id": "Procedure.reasonReference.identifier.type",
        "path": "Procedure.reasonReference.identifier.type",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ]
      },
      {
        "id": "Procedure.reasonReference.identifier.type.coding.system",
        "path": "Procedure.reasonReference.identifier.type.coding.system",
        "min": 1
      },
      {
        "id": "Procedure.reasonReference.identifier.type.coding.code",
        "path": "Procedure.reasonReference.identifier.type.coding.code",
        "min": 1
      },
      {
        "id": "Procedure.reasonReference.identifier.type.coding.display",
        "path": "Procedure.reasonReference.identifier.type.coding.display",
        "min": 1
      },
      {
        "id": "Procedure.bodySite",
        "path": "Procedure.bodySite",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ]
      },
      {
        "id": "Procedure.bodySite.coding.system",
        "path": "Procedure.bodySite.coding.system",
        "min": 1
      },
      {
        "id": "Procedure.bodySite.coding.code",
        "path": "Procedure.bodySite.coding.code",
        "min": 1
      },
      {
        "id": "Procedure.bodySite.coding.display",
        "path": "Procedure.bodySite.coding.display",
        "min": 1
      },
      {
        "id": "Procedure.outcome",
        "path": "Procedure.outcome",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ]
      },
      {
        "id": "Procedure.outcome.coding.system",
        "path": "Procedure.outcome.coding.system",
        "min": 1
      },
      {
        "id": "Procedure.outcome.coding.code",
        "path": "Procedure.outcome.coding.code",
        "min": 1
      },
      {
        "id": "Procedure.outcome.coding.display",
        "path": "Procedure.outcome.coding.display",
        "min": 1
      },
      {
        "id": "Procedure.report.identifier.type",
        "path": "Procedure.report.identifier.type",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ]
      },
      {
        "id": "Procedure.report.identifier.type.coding.system",
        "path": "Procedure.report.identifier.type.coding.system",
        "min": 1
      },
      {
        "id": "Procedure.report.identifier.type.coding.code",
        "path": "Procedure.report.identifier.type.coding.code",
        "min": 1
      },
      {
        "id": "Procedure.report.identifier.type.coding.display",
        "path": "Procedure.report.identifier.type.coding.display",
        "min": 1
      },
      {
        "id": "Procedure.complication",
        "path": "Procedure.complication",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ]
      },
      {
        "id": "Procedure.complication.coding.system",
        "path": "Procedure.complication.coding.system",
        "min": 1
      },
      {
        "id": "Procedure.complication.coding.code",
        "path": "Procedure.complication.coding.code",
        "min": 1
      },
      {
        "id": "Procedure.complication.coding.display",
        "path": "Procedure.complication.coding.display",
        "min": 1
      },
      {
        "id": "Procedure.complicationDetail.identifier.type",
        "path": "Procedure.complicationDetail.identifier.type",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ]
      },
      {
        "id": "Procedure.complicationDetail.identifier.type.coding.system",
        "path": "Procedure.complicationDetail.identifier.type.coding.system",
        "min": 1
      },
      {
        "id": "Procedure.complicationDetail.identifier.type.coding.code",
        "path": "Procedure.complicationDetail.identifier.type.coding.code",
        "min": 1
      },
      {
        "id": "Procedure.complicationDetail.identifier.type.coding.display",
        "path": "Procedure.complicationDetail.identifier.type.coding.display",
        "min": 1
      },
      {
        "id": "Procedure.followUp",
        "path": "Procedure.followUp",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ]
      },
      {
        "id": "Procedure.followUp.coding.system",
        "path": "Procedure.followUp.coding.system",
        "min": 1
      },
      {
        "id": "Procedure.followUp.coding.code",
        "path": "Procedure.followUp.coding.code",
        "min": 1
      },
      {
        "id": "Procedure.followUp.coding.display",
        "path": "Procedure.followUp.coding.display",
        "min": 1
      },
      {
        "id": "Procedure.focalDevice.action",
        "path": "Procedure.focalDevice.action",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ]
      },
      {
        "id": "Procedure.focalDevice.action.coding.system",
        "path": "Procedure.focalDevice.action.coding.system",
        "min": 1
      },
      {
        "id": "Procedure.focalDevice.action.coding.code",
        "path": "Procedure.focalDevice.action.coding.code",
        "min": 1
      },
      {
        "id": "Procedure.focalDevice.action.coding.display",
        "path": "Procedure.focalDevice.action.coding.display",
        "min": 1
      },
      {
        "id": "Procedure.focalDevice.manipulated.identifier.type",
        "path": "Procedure.focalDevice.manipulated.identifier.type",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ]
      },
      {
        "id": "Procedure.focalDevice.manipulated.identifier.type.coding.system",
        "path": "Procedure.focalDevice.manipulated.identifier.type.coding.system",
        "min": 1
      },
      {
        "id": "Procedure.focalDevice.manipulated.identifier.type.coding.code",
        "path": "Procedure.focalDevice.manipulated.identifier.type.coding.code",
        "min": 1
      },
      {
        "id": "Procedure.focalDevice.manipulated.identifier.type.coding.display",
        "path": "Procedure.focalDevice.manipulated.identifier.type.coding.display",
        "min": 1
      },
      {
        "id": "Procedure.usedReference.identifier.type",
        "path": "Procedure.usedReference.identifier.type",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ]
      },
      {
        "id": "Procedure.usedReference.identifier.type.coding.system",
        "path": "Procedure.usedReference.identifier.type.coding.system",
        "min": 1
      },
      {
        "id": "Procedure.usedReference.identifier.type.coding.code",
        "path": "Procedure.usedReference.identifier.type.coding.code",
        "min": 1
      },
      {
        "id": "Procedure.usedReference.identifier.type.coding.display",
        "path": "Procedure.usedReference.identifier.type.coding.display",
        "min": 1
      },
      {
        "id": "Procedure.usedCode",
        "path": "Procedure.usedCode",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ]
      },
      {
        "id": "Procedure.usedCode.coding.system",
        "path": "Procedure.usedCode.coding.system",
        "min": 1
      },
      {
        "id": "Procedure.usedCode.coding.code",
        "path": "Procedure.usedCode.coding.code",
        "min": 1
      },
      {
        "id": "Procedure.usedCode.coding.display",
        "path": "Procedure.usedCode.coding.display",
        "min": 1
      }
    ]
  }
}