{
  "resourceType": "StructureDefinition",
  "url": "https://www.cancercoreeurope.eu/fhir/StructureDefinition/cce-core-Procedure-Radiotherapy",
  "version": "0.0.1",
  "name": "Radiotherapy",
  "status": "draft",
  "description": "Determination of Radiotherapy data",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Procedure",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Procedure",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Procedure.status",
        "path": "Procedure.status",
        "mustSupport": true
      },
      {
        "id": "Procedure.category",
        "path": "Procedure.category",
        "min": 1,
        "mustSupport": true,
        "binding": {
          "strength": "extensible",
          "valueSet": "https://www.cancercoreeurope.eu/fhir/core/ValueSet/SYSTTherapyTypeVS"
        }
      },
      {
        "id": "Procedure.category.coding",
        "path": "Procedure.category.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Procedure.category.coding.code",
        "path": "Procedure.category.coding.code",
        "short": "Radiotherapy",
        "definition": "Indicates whether the tumor was irradiated",
        "min": 1,
        "fixedCode": "RT"
      },
      {
        "id": "Procedure.subject",
        "path": "Procedure.subject",
        "mustSupport": true
      },
      {
        "id": "Procedure.performed[x]",
        "path": "Procedure.performed[x]",
        "type": [
          {
            "code": "Period"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Procedure.performed[x].start",
        "path": "Procedure.performed[x].start",
        "short": "Radiotherapy Start",
        "definition": "Indicates when Radiotherapy was started",
        "mustSupport": true
      },
      {
        "id": "Procedure.performed[x].end",
        "path": "Procedure.performed[x].end",
        "short": "Radiotherapy End",
        "definition": "Indicates when Radiotherapy was completed",
        "mustSupport": true
      },
      {
        "id": "Procedure.reasonReference",
        "path": "Procedure.reasonReference",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://www.cancercoreeurope.eu/fhir/StructureDefinition/cce-core-Condition-PrimaryDiagnosis"
            ]
          }
        ],
        "mustSupport": true
      }
    ]
  }
}