FHIR © HL7.org  |  Server Home  |  XIG Home  |  XIG Stats  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureDefinition/TreatmentSummary

Packagehl7.eu.fhir.pcsp
Resource TypeStructureDefinition
IdTreatmentSummary
FHIR VersionR4
Sourcehttp://hl7.eu/fhir/ig/pcsp/https://build.fhir.org/ig/hl7-eu/pcsp/StructureDefinition-TreatmentSummary.html
URLhttp://hl7.eu/fhir/ig/pcsp/StructureDefinition/TreatmentSummary
Version0.2.0
Statusdraft
Date2025-07-25T11:55:32+00:00
NameTreatmentSummary
TitleTreatment Summary
Realmeu
Authorityhl7
DescriptionTreatment Summary data model
Typehttp://hl7.eu/fhir/ig/pcsp/StructureDefinition/TreatmentSummary
Kindlogical

Resources that use this resource

StructureDefinition
SurPassSurPass V2.0

Resources that this resource uses

StructureDefinition
ChemotherapyChemotherapy
DiagnosisDiagnosis
FrontLineTreatmentFront Line Treatment
MajorSurgeryMajor Surgery
OtherInfosOther info and relevant events
RadiotherapyRadiotherapy
RelapseAfterFLTProgression-Relapse after FLT
RelapseDuringFLTProgression-Relapse during FLT
StemCellTransplantationStem Cell Transplantation
SubjectSubject of care

Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition TreatmentSummary

NameFlagsCard.TypeDescription & Constraintsdoco
.. TreatmentSummary 0..*BaseTreatment Summary
... subject 1..1SubjectSubject
... diagnosis 0..5BackboneElementDiagnosis
.... details 0..1DiagnosisDetails about this diagnosis
.... frontLineTreatment 0..1FrontLineTreatmentFront line treatment
.... chemotherapy 0..1ChemotherapyChemotherapy
.... stemCellTransplantation 0..*StemCellTransplantationStem Cell transplantation
.... radiotherapy 0..*RadiotherapyRadiotherapy
.... majorSurgery 0..*MajorSurgeryMajor Surgery
.... otherInfos 0..*OtherInfosOther info and relevant events
.... medicalSuggestion 0..1stringMedical suggestion
.... relapseDuringFLT 0..*RelapseDuringFLTProgression-Relapse during FLT
.... relapseAfterEOT 0..*BackboneElementProgression-relapse after the End of Treatment
..... details 0..1RelapseAfterFLTDetails about this relapse-progression
..... frontLineTreatment C0..1FrontLineTreatmentSalvage treatment
Constraints: no-frontLineTreatment
..... chemotherapy 0..1ChemotherapyChemotherapy
..... stemCellTransplantation 0..*StemCellTransplantationStem Cell transplantation
..... radiotherapy 0..*RadiotherapyRadiotherapy
..... majorSurgery 0..*MajorSurgeryMajor Surgery
..... otherInfos 0..*OtherInfosOther info and relevant events
..... medicalSuggestion 0..1stringMedical suggestion
.... otherConditions 0..*stringOther medical conditions, not cancer associated

doco Documentation for this format

Source

{
  "resourceType": "StructureDefinition",
  "id": "TreatmentSummary",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/TreatmentSummary",
  "version": "0.2.0",
  "name": "TreatmentSummary",
  "title": "Treatment Summary",
  "status": "draft",
  "date": "2025-07-25T11:55:32+00:00",
  "publisher": "PanCareSurPass Project",
  "contact": [
    {
      "name": "PanCareSurPass Project",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.pancaresurpass.eu/"
        }
      ]
    },
    {
      "name": "PanCareSurPass Project",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.pancaresurpass.eu/"
        }
      ]
    }
  ],
  "description": "Treatment Summary data model",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "150",
          "display": "Europe"
        }
      ]
    }
  ],
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "fhir",
      "uri": "hl7.org/fhir/r4",
      "name": "TreatmentSummary model to PCSP HL7 FHIR R4 Profiles"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/TreatmentSummary",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "4.0.1"
      }
    ],
    "element": [
      {
        "id": "TreatmentSummary",
        "path": "TreatmentSummary",
        "short": "Treatment Summary",
        "definition": "Treatment Summary data model",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false
      },
      {
        "id": "TreatmentSummary.subject",
        "path": "TreatmentSummary.subject",
        "short": "Subject",
        "definition": "Subject",
        "min": 1,
        "max": "1",
        "base": {
          "path": "TreatmentSummary.subject",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Subject"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "Patient"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis",
        "path": "TreatmentSummary.diagnosis",
        "short": "Diagnosis",
        "definition": "Diagnosis",
        "min": 0,
        "max": "5",
        "base": {
          "path": "TreatmentSummary.diagnosis",
          "min": 0,
          "max": "5"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.id",
        "path": "TreatmentSummary.diagnosis.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.extension",
        "path": "TreatmentSummary.diagnosis.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.modifierExtension",
        "path": "TreatmentSummary.diagnosis.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.details",
        "path": "TreatmentSummary.diagnosis.details",
        "short": "Details about this diagnosis",
        "definition": "Details about this diagnosis",
        "min": 0,
        "max": "1",
        "base": {
          "path": "TreatmentSummary.diagnosis.details",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Diagnosis"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "Condition.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Condition-primaryCancer-eu-pcsp')"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.frontLineTreatment",
        "path": "TreatmentSummary.diagnosis.frontLineTreatment",
        "short": "Front line treatment",
        "definition": "Front line treatment",
        "min": 0,
        "max": "1",
        "base": {
          "path": "TreatmentSummary.diagnosis.frontLineTreatment",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/FrontLineTreatment"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-flt-eu-pcsp')"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.chemotherapy",
        "path": "TreatmentSummary.diagnosis.chemotherapy",
        "short": "Chemotherapy",
        "definition": "Chemotherapy",
        "min": 0,
        "max": "1",
        "base": {
          "path": "TreatmentSummary.diagnosis.chemotherapy",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Chemotherapy"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "MedicationAdministration.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/MedicationAdministration-eu-pcsp')"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.stemCellTransplantation",
        "path": "TreatmentSummary.diagnosis.stemCellTransplantation",
        "short": "Stem Cell transplantation",
        "definition": "Stem Cell transplantation",
        "min": 0,
        "max": "*",
        "base": {
          "path": "TreatmentSummary.diagnosis.stemCellTransplantation",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/StemCellTransplantation"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-sct-eu-pcsp')"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.radiotherapy",
        "path": "TreatmentSummary.diagnosis.radiotherapy",
        "short": "Radiotherapy",
        "definition": "Radiotherapy",
        "min": 0,
        "max": "*",
        "base": {
          "path": "TreatmentSummary.diagnosis.radiotherapy",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Radiotherapy"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-radiotheraphy-eu-pcsp')"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.majorSurgery",
        "path": "TreatmentSummary.diagnosis.majorSurgery",
        "short": "Major Surgery",
        "definition": "Major Surgery",
        "min": 0,
        "max": "*",
        "base": {
          "path": "TreatmentSummary.diagnosis.majorSurgery",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/MajorSurgery"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-surgery-eu-pcsp')"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.otherInfos",
        "path": "TreatmentSummary.diagnosis.otherInfos",
        "short": "Other info and relevant events",
        "definition": "Other info and relevant events",
        "min": 0,
        "max": "*",
        "base": {
          "path": "TreatmentSummary.diagnosis.otherInfos",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/OtherInfos"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "Procedure"
          },
          {
            "identity": "fhir",
            "map": "Condition"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.medicalSuggestion",
        "path": "TreatmentSummary.diagnosis.medicalSuggestion",
        "short": "Medical suggestion",
        "definition": "Medical suggestion",
        "min": 0,
        "max": "1",
        "base": {
          "path": "TreatmentSummary.diagnosis.medicalSuggestion",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.relapseDuringFLT",
        "path": "TreatmentSummary.diagnosis.relapseDuringFLT",
        "short": "Progression-Relapse during FLT",
        "definition": "Progression-Relapse during Front line treatment",
        "min": 0,
        "max": "*",
        "base": {
          "path": "TreatmentSummary.diagnosis.relapseDuringFLT",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/RelapseDuringFLT"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "Condition.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Condition-primaryCancer-eu-pcsp').where( (extension('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/condition-previousStatus').valueCode = #replaspe or #recurrence) and  ( onsetDateTime < Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-flt-eu-pcsp').performedPeriod.end) )"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.relapseAfterEOT",
        "path": "TreatmentSummary.diagnosis.relapseAfterEOT",
        "short": "Progression-relapse after the End of Treatment",
        "definition": "Progression-relapse after the End of Treatment",
        "min": 0,
        "max": "*",
        "base": {
          "path": "TreatmentSummary.diagnosis.relapseAfterEOT",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.relapseAfterEOT.id",
        "path": "TreatmentSummary.diagnosis.relapseAfterEOT.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.relapseAfterEOT.extension",
        "path": "TreatmentSummary.diagnosis.relapseAfterEOT.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.relapseAfterEOT.modifierExtension",
        "path": "TreatmentSummary.diagnosis.relapseAfterEOT.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.relapseAfterEOT.details",
        "path": "TreatmentSummary.diagnosis.relapseAfterEOT.details",
        "short": "Details  about this relapse-progression",
        "definition": "Details  about this relapse-progression",
        "min": 0,
        "max": "1",
        "base": {
          "path": "TreatmentSummary.diagnosis.relapseAfterEOT.details",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/RelapseAfterFLT"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "Condition.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Condition-primaryCancer-eu-pcsp').where( (extension('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/condition-previousStatus').valueCode = #replaspe or #recurrence) and  ( onsetDateTime >= Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-flt-eu-pcsp').performedPeriod.end) )"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.relapseAfterEOT.frontLineTreatment",
        "path": "TreatmentSummary.diagnosis.relapseAfterEOT.frontLineTreatment",
        "short": "Salvage treatment",
        "definition": "The salvage treatment has been executed following",
        "min": 0,
        "max": "1",
        "base": {
          "path": "TreatmentSummary.diagnosis.relapseAfterEOT.frontLineTreatment",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/FrontLineTreatment"
          }
        ],
        "constraint": [
          {
            "key": "no-frontLineTreatment",
            "severity": "error",
            "human": "notForRelapse details are not provided for relapses after EOT",
            "expression": "notForRelapse.exists()",
            "source": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/TreatmentSummary"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-flt-eu-pcsp')"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.relapseAfterEOT.chemotherapy",
        "path": "TreatmentSummary.diagnosis.relapseAfterEOT.chemotherapy",
        "short": "Chemotherapy",
        "definition": "Chemotherapy",
        "min": 0,
        "max": "1",
        "base": {
          "path": "TreatmentSummary.diagnosis.relapseAfterEOT.chemotherapy",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Chemotherapy"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "MedicationAdministration.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/MedicationAdministration-eu-pcsp')"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.relapseAfterEOT.stemCellTransplantation",
        "path": "TreatmentSummary.diagnosis.relapseAfterEOT.stemCellTransplantation",
        "short": "Stem Cell transplantation",
        "definition": "Stem Cell transplantation",
        "min": 0,
        "max": "*",
        "base": {
          "path": "TreatmentSummary.diagnosis.relapseAfterEOT.stemCellTransplantation",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/StemCellTransplantation"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-sct-eu-pcsp')"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.relapseAfterEOT.radiotherapy",
        "path": "TreatmentSummary.diagnosis.relapseAfterEOT.radiotherapy",
        "short": "Radiotherapy",
        "definition": "Radiotherapy",
        "min": 0,
        "max": "*",
        "base": {
          "path": "TreatmentSummary.diagnosis.relapseAfterEOT.radiotherapy",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Radiotherapy"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-radiotheraphy-eu-pcsp')"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.relapseAfterEOT.majorSurgery",
        "path": "TreatmentSummary.diagnosis.relapseAfterEOT.majorSurgery",
        "short": "Major Surgery",
        "definition": "Major Surgery",
        "min": 0,
        "max": "*",
        "base": {
          "path": "TreatmentSummary.diagnosis.relapseAfterEOT.majorSurgery",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/MajorSurgery"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-surgery-eu-pcsp')"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.relapseAfterEOT.otherInfos",
        "path": "TreatmentSummary.diagnosis.relapseAfterEOT.otherInfos",
        "short": "Other info and relevant events",
        "definition": "Other info and relevant events",
        "min": 0,
        "max": "*",
        "base": {
          "path": "TreatmentSummary.diagnosis.relapseAfterEOT.otherInfos",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/OtherInfos"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "Procedure"
          },
          {
            "identity": "fhir",
            "map": "Condition"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.relapseAfterEOT.medicalSuggestion",
        "path": "TreatmentSummary.diagnosis.relapseAfterEOT.medicalSuggestion",
        "short": "Medical suggestion",
        "definition": "Medical suggestion",
        "min": 0,
        "max": "1",
        "base": {
          "path": "TreatmentSummary.diagnosis.relapseAfterEOT.medicalSuggestion",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.otherConditions",
        "path": "TreatmentSummary.diagnosis.otherConditions",
        "short": "Other medical conditions, not cancer associated",
        "definition": "Please list here if the patient has or had other medical conditions not reported to be cancer-associated (e.g. diabetes, congenital cardiopathy, amputations, kidney transplant)",
        "min": 0,
        "max": "*",
        "base": {
          "path": "TreatmentSummary.diagnosis.otherConditions",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "TreatmentSummary",
        "path": "TreatmentSummary",
        "short": "Treatment Summary",
        "definition": "Treatment Summary data model"
      },
      {
        "id": "TreatmentSummary.subject",
        "path": "TreatmentSummary.subject",
        "short": "Subject",
        "definition": "Subject",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Subject"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "Patient"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis",
        "path": "TreatmentSummary.diagnosis",
        "short": "Diagnosis",
        "definition": "Diagnosis",
        "min": 0,
        "max": "5",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.details",
        "path": "TreatmentSummary.diagnosis.details",
        "short": "Details about this diagnosis",
        "definition": "Details about this diagnosis",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Diagnosis"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "Condition.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Condition-primaryCancer-eu-pcsp')"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.frontLineTreatment",
        "path": "TreatmentSummary.diagnosis.frontLineTreatment",
        "short": "Front line treatment",
        "definition": "Front line treatment",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/FrontLineTreatment"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-flt-eu-pcsp')"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.chemotherapy",
        "path": "TreatmentSummary.diagnosis.chemotherapy",
        "short": "Chemotherapy",
        "definition": "Chemotherapy",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Chemotherapy"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "MedicationAdministration.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/MedicationAdministration-eu-pcsp')"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.stemCellTransplantation",
        "path": "TreatmentSummary.diagnosis.stemCellTransplantation",
        "short": "Stem Cell transplantation",
        "definition": "Stem Cell transplantation",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/StemCellTransplantation"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-sct-eu-pcsp')"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.radiotherapy",
        "path": "TreatmentSummary.diagnosis.radiotherapy",
        "short": "Radiotherapy",
        "definition": "Radiotherapy",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Radiotherapy"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-radiotheraphy-eu-pcsp')"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.majorSurgery",
        "path": "TreatmentSummary.diagnosis.majorSurgery",
        "short": "Major Surgery",
        "definition": "Major Surgery",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/MajorSurgery"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-surgery-eu-pcsp')"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.otherInfos",
        "path": "TreatmentSummary.diagnosis.otherInfos",
        "short": "Other info and relevant events",
        "definition": "Other info and relevant events",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/OtherInfos"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "Procedure"
          },
          {
            "identity": "fhir",
            "map": "Condition"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.medicalSuggestion",
        "path": "TreatmentSummary.diagnosis.medicalSuggestion",
        "short": "Medical suggestion",
        "definition": "Medical suggestion",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.relapseDuringFLT",
        "path": "TreatmentSummary.diagnosis.relapseDuringFLT",
        "short": "Progression-Relapse during FLT",
        "definition": "Progression-Relapse during Front line treatment",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/RelapseDuringFLT"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "Condition.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Condition-primaryCancer-eu-pcsp').where( (extension('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/condition-previousStatus').valueCode = #replaspe or #recurrence) and  ( onsetDateTime < Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-flt-eu-pcsp').performedPeriod.end) )"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.relapseAfterEOT",
        "path": "TreatmentSummary.diagnosis.relapseAfterEOT",
        "short": "Progression-relapse after the End of Treatment",
        "definition": "Progression-relapse after the End of Treatment",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.relapseAfterEOT.details",
        "path": "TreatmentSummary.diagnosis.relapseAfterEOT.details",
        "short": "Details  about this relapse-progression",
        "definition": "Details  about this relapse-progression",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/RelapseAfterFLT"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "Condition.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Condition-primaryCancer-eu-pcsp').where( (extension('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/condition-previousStatus').valueCode = #replaspe or #recurrence) and  ( onsetDateTime >= Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-flt-eu-pcsp').performedPeriod.end) )"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.relapseAfterEOT.frontLineTreatment",
        "path": "TreatmentSummary.diagnosis.relapseAfterEOT.frontLineTreatment",
        "short": "Salvage treatment",
        "definition": "The salvage treatment has been executed following",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/FrontLineTreatment"
          }
        ],
        "constraint": [
          {
            "key": "no-frontLineTreatment",
            "severity": "error",
            "human": "notForRelapse details are not provided for relapses after EOT",
            "expression": "notForRelapse.exists()",
            "source": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/TreatmentSummary"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-flt-eu-pcsp')"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.relapseAfterEOT.chemotherapy",
        "path": "TreatmentSummary.diagnosis.relapseAfterEOT.chemotherapy",
        "short": "Chemotherapy",
        "definition": "Chemotherapy",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Chemotherapy"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "MedicationAdministration.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/MedicationAdministration-eu-pcsp')"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.relapseAfterEOT.stemCellTransplantation",
        "path": "TreatmentSummary.diagnosis.relapseAfterEOT.stemCellTransplantation",
        "short": "Stem Cell transplantation",
        "definition": "Stem Cell transplantation",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/StemCellTransplantation"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-sct-eu-pcsp')"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.relapseAfterEOT.radiotherapy",
        "path": "TreatmentSummary.diagnosis.relapseAfterEOT.radiotherapy",
        "short": "Radiotherapy",
        "definition": "Radiotherapy",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Radiotherapy"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-radiotheraphy-eu-pcsp')"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.relapseAfterEOT.majorSurgery",
        "path": "TreatmentSummary.diagnosis.relapseAfterEOT.majorSurgery",
        "short": "Major Surgery",
        "definition": "Major Surgery",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/MajorSurgery"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-surgery-eu-pcsp')"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.relapseAfterEOT.otherInfos",
        "path": "TreatmentSummary.diagnosis.relapseAfterEOT.otherInfos",
        "short": "Other info and relevant events",
        "definition": "Other info and relevant events",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "http://hl7.eu/fhir/ig/pcsp/StructureDefinition/OtherInfos"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "Procedure"
          },
          {
            "identity": "fhir",
            "map": "Condition"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.relapseAfterEOT.medicalSuggestion",
        "path": "TreatmentSummary.diagnosis.relapseAfterEOT.medicalSuggestion",
        "short": "Medical suggestion",
        "definition": "Medical suggestion",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "TreatmentSummary.diagnosis.otherConditions",
        "path": "TreatmentSummary.diagnosis.otherConditions",
        "short": "Other medical conditions, not cancer associated",
        "definition": "Please list here if the patient has or had other medical conditions not reported to be cancer-associated (e.g. diabetes, congenital cardiopathy, amputations, kidney transplant)",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  }
}