{
  "resourceType": "StructureDefinition",
  "id": "BodyStructure",
  "url": "https://fhir.centraxx.de/StructureDefinition/RadiationTarget",
  "version": "2025.4.0",
  "name": "RadiationTarget",
  "status": "active",
  "publisher": "Kairos an IQVIA business",
  "description": "Represents a CentraXX RadiationTarget.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "BodyStructure",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/BodyStructure",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "BodyStructure.meta",
        "path": "BodyStructure.meta",
        "min": 0,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "BodyStructure.meta.profile",
        "path": "BodyStructure.meta.profile",
        "min": 1,
        "max": "1",
        "fixedCanonical": "https://fhir.centraxx.de/StructureDefinition/BodyStructure",
        "mustSupport": true
      },
      {
        "id": "BodyStructure.meta.tag",
        "path": "BodyStructure.meta.tag",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "BodyStructure.meta.tag.system",
        "path": "BodyStructure.meta.tag.system",
        "min": 1,
        "max": "1",
        "fixedString": "https://fhir.centraxx.de/system/cxxEntity",
        "mustSupport": true
      },
      {
        "id": "BodyStructure.meta.tag.code",
        "path": "BodyStructure.meta.tag.code",
        "min": 1,
        "max": "1",
        "fixedString": "RadiationTarget",
        "mustSupport": true
      },
      {
        "id": "BodyStructure.extension",
        "path": "BodyStructure.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "closed"
        },
        "min": 0,
        "max": "2",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "BodyStructure.extension:updateWithOverwrite",
        "path": "BodyStructure.extension",
        "sliceName": "updateWithOverwrite",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.centraxx.de/extension/updateWithOverwrite"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "BodyStructure.extension:radiationComponent",
        "path": "BodyStructure.extension",
        "sliceName": "radiationComponent",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.centraxx.de/extension/radiationTarget/radiationComponent"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "BodyStructure.identifier",
        "path": "BodyStructure.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "closed"
        },
        "min": 0,
        "max": "2",
        "mustSupport": true
      },
      {
        "id": "BodyStructure.identifier:code",
        "path": "BodyStructure.identifier",
        "sliceName": "code",
        "min": 0,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "BodyStructure.identifier:code.system",
        "path": "BodyStructure.identifier.system",
        "min": 1,
        "max": "1",
        "fixedString": "https://fhir.centraxx.de/system/code",
        "mustSupport": true
      },
      {
        "id": "BodyStructure.identifier:code.value",
        "path": "BodyStructure.identifier.value",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "BodyStructure.identifier:radiationTargetId",
        "path": "BodyStructure.identifier",
        "sliceName": "radiationTargetId",
        "min": 0,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "BodyStructure.identifier:radiationTargetId.system",
        "path": "BodyStructure.identifier.system",
        "min": 1,
        "max": "1",
        "fixedString": "https://fhir.centraxx.de/system/radiationTargetId",
        "mustSupport": true
      },
      {
        "id": "BodyStructure.identifier:radiationTargetId.value",
        "path": "BodyStructure.identifier.value",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "BodyStructure.location",
        "path": "BodyStructure.location",
        "mustSupport": true
      },
      {
        "id": "BodyStructure.location.text",
        "path": "BodyStructure.location.text",
        "mustSupport": true
      },
      {
        "id": "BodyStructure.locationQualifier",
        "path": "BodyStructure.locationQualifier",
        "min": 0,
        "max": "1",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://fhir.centraxx.de/valueSet/gtds/sourceDictionary"
        }
      },
      {
        "id": "BodyStructure.locationQualifier.coding",
        "path": "BodyStructure.locationQualifier.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "BodyStructure.locationQualifier.coding.system",
        "path": "BodyStructure.locationQualifier.coding.system",
        "min": 1,
        "max": "1",
        "fixedString": "https://fhir.centraxx.de/system/gtds/sourceDictionary",
        "mustSupport": true
      },
      {
        "id": "BodyStructure.locationQualifier.coding.code",
        "path": "BodyStructure.locationQualifier.coding.code",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "BodyStructure.patient",
        "path": "BodyStructure.patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.centraxx.de/StructureDefinition/Patient"
            ]
          }
        ],
        "mustSupport": true
      }
    ]
  }
}