FrontLineTreatment
type: StructureDefinition
node role: treeRoot
id:
  v: FrontLineTreatment
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition FrontLineTreatment Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> <a href="StructureDefinition-FrontLineTreatment-definitions.html#FrontLineTreatment" title="Front Line Treatment. The first treatment given for a disease. It is often part of a standard set of treatments, such as surgery followed by chemotherapy and radiation. When used by itself, first-line therapy is the one accepted as the best treatment. If it does not cure the disease or it causes severe side effects, other treatment may be added or used instead. Also called induction therapy, primary therapy, and primary treatment.">FrontLineTreatment 0..* Base Front Line Treatment #xD; followedProtocol 0..* BackboneElement Followed Protocol #xD; Trial/protocol#xA;2 => Personalized#xA;3 => Guidelines#xA;-9922 => NK">type 0..1 CodeableConcept Protocole type #xD; name 0..1 string Protocole name #xD; description 0..1 string Protocol name or description #xD; arm 0..1 string Group/Arm/Randomization #xD; dateEOT 0..1 dateTime Date of end of treatment #xD; isChemotherapy 0..1 CodeableConcept Chemotherapy ? #xD; isStemCellTransplantation 0..1 CodeableConcept Stem Cell transplantation ? #xD; isRadiotherapy 0..1 CodeableConcept Radiotherapy ? #xD; isMajorSurgery 0..1 CodeableConcept Major Surgery ? #xD; notForRelapse 0..1 BackboneElement Details not provided for relapses after EOT #xD; completeRemission 0..1 BackboneElement Complete remission #xD; status 1..1 dateTime Complete remission (Yes/No) #xD; description 1..1 CodeableConcept Textual description in case of no remission #xD; isProgressionRelapseDuringFLT 0..1 CodeableConcept Progression/relapse during frontline treatment ? #xD; isProgressionRelapseAfterFLT 0..1 CodeableConcept Progression/relapse after first elective end of treatment ? #xD; <img src="[binary]" alt="doco" style="background-color: inherit"/> Documentation for this format
url:
  v: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/FrontLineTreatment
  l: FrontLineTreatment
version:
  v: 1.0.0
name:
  v: FrontLineTreatment
title:
  v: Front Line Treatment
status:
  v: active
date:
  v: 2026-01-16T12:01:48+00:00
publisher:
  v: PanCareSurPass Project
contact:
  name:
    v: PanCareSurPass Project
  telecom:
    system:
      v: url
    value:
      v: https://www.pancaresurpass.eu/
contact:
  name:
    v: PanCareSurPass Project
  telecom:
    system:
      v: url
    value:
      v: https://www.pancaresurpass.eu/
description:
  v: Front Line Treatment. The first treatment given for a disease. It is often part of a standard set of treatments, such as surgery followed by chemotherapy and radiation. When used by itself, first-line therapy is the one accepted as the best treatment. If it does not cure the disease or it causes severe side effects, other treatment may be added or used instead. Also called induction therapy, primary therapy, and primary treatment.
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
      l: m49.htm
    code:
      v: 150
    display:
      v: Europe
fhir version:
  v: 4.0.1
mapping:
  identity:
    v: fhir
  uri:
    v: hl7.org/fhir/r4
    l: r4
  name:
    v: FrontLineTreatment model to PCSP HL7 FHIR R4 Profiles
kind:
  v: logical
abstract:
  v: false
type:
  v: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/FrontLineTreatment
  l: FrontLineTreatment
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Base
  l: Base
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 4.0.1
  element:
    id:
      v: FrontLineTreatment
    path:
      v: FrontLineTreatment
    short:
      v: Front Line Treatment
    definition:
      v: Front Line Treatment. The first treatment given for a disease. It is often part of a standard set of treatments, such as surgery followed by chemotherapy and radiation. When used by itself, first-line therapy is the one accepted as the best treatment. If it does not cure the disease or it causes severe side effects, other treatment may be added or used instead. Also called induction therapy, primary therapy, and primary treatment.
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    is modifier:
      v: false
    mapping:
      identity:
        v: fhir
      map:
        v: Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-flt-eu-pcsp')
  element:
    id:
      v: FrontLineTreatment.followedProtocol
    path:
      v: FrontLineTreatment.followedProtocol
    short:
      v: Followed Protocol
    definition:
      v: Followed Protocol
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: FrontLineTreatment.followedProtocol
      min:
        v: 0
      max:
        v: *
    type:
      code:
        v: BackboneElement
        l: BackboneElement
    constraint:
      key:
        v: ele-1
      severity:
        v: error
      human:
        v: All FHIR elements must have a @value or children
      expression:
        v: hasValue() or (children().count() > id.count())
      xpath:
        v: @value|f:*|h:div
      source:
        v: http://hl7.org/fhir/StructureDefinition/Element
        l: Element
    mapping:
      identity:
        v: fhir
      map:
        v: .instantiatesCanonical
    mapping:
      identity:
        v: fhir
      map:
        v: PlanDefinition.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/PlanDefinition-flt-eu-pcsp')
  element:
    id:
      v: FrontLineTreatment.followedProtocol.id
    path:
      v: FrontLineTreatment.followedProtocol.id
    representation:
      v: xmlAttr
    short:
      v: Unique id for inter-element referencing
    definition:
      v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: Element.id
      min:
        v: 0
      max:
        v: 1
    type:
      extension:
        value: Url
      code:
        v: http://hl7.org/fhirpath/System.String
        l: System.String
    is modifier:
      v: false
    is summary:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    id:
      v: FrontLineTreatment.followedProtocol.extension
    path:
      v: FrontLineTreatment.followedProtocol.extension
    slicing:
      description:
        v: Extensions are always sliced by (at least) url
      rules:
        v: open

Url
v: string
l: string

v: value

v: url

v: Additional content defined by implementations

v: 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.

v: 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.

v: extensions

v: user content

v: 0

v: *

path:
  v: Element.extension
min:
  v: 0
max:
  v: *

code:
  v: Extension
  l: Extension

key:
  v: ele-1
severity:
  v: error
human:
  v: All FHIR elements must have a @value or children
expression:
  v: hasValue() or (children().count() > id.count())
xpath:
  v: @value|f:*|h:div
source:
  v: http://hl7.org/fhir/StructureDefinition/Element
  l: Element

key:
  v: ext-1
severity:
  v: error
human:
  v: Must have either extensions or value[x], not both
expression:
  v: extension.exists() != value.exists()
xpath:
  v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
source:
  v: http://hl7.org/fhir/StructureDefinition/Extension
  l: Extension

v: false

v: false

identity:
  v: rim
map:
  v: n/a

id:
  v: FrontLineTreatment.followedProtocol.modifierExtension
path:
  v: FrontLineTreatment.followedProtocol.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: 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:
  v: 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:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: FrontLineTreatment.followedProtocol.type
path:
  v: FrontLineTreatment.followedProtocol.type
short:
  v: Protocole type
definition:
  v: 2 => Trial/protocol 2 => Personalized 3 => Guidelines -9922 => NK
min:
  v: 0
max:
  v: 1
base:
  path:
    v: FrontLineTreatment.followedProtocol.type
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .type

id:
  v: FrontLineTreatment.followedProtocol.name
path:
  v: FrontLineTreatment.followedProtocol.name
short:
  v: Protocole name
definition:
  v: Protocole name
min:
  v: 0
max:
  v: 1
base:
  path:
    v: FrontLineTreatment.followedProtocol.name
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: .title

id:
  v: FrontLineTreatment.followedProtocol.description
path:
  v: FrontLineTreatment.followedProtocol.description
short:
  v: Protocol name or description
definition:
  v: If a specific trial/protocol was used, please specify. In case of relapse/progression during front line treatment,please report both the name of the front line as well of the salvage treatment If personalized, please specify.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: FrontLineTreatment.followedProtocol.description
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: .description

id:
  v: FrontLineTreatment.followedProtocol.arm
path:
  v: FrontLineTreatment.followedProtocol.arm
short:
  v: Group/Arm/Randomization
definition:
  v: If the trial was randomized, please define randomization arm
min:
  v: 0
max:
  v: 1
base:
  path:
    v: FrontLineTreatment.followedProtocol.arm
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: .extension('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/procedure-fltArm').valueString

id:
  v: FrontLineTreatment.dateEOT
path:
  v: FrontLineTreatment.dateEOT
short:
  v: Date of end of treatment
definition:
  v: It might be the date of first elective end of treatment, or that of the second (or further) end of treatment after the first one. If the date is unkown or partially missed insert the year at the best of your knowledge.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: FrontLineTreatment.dateEOT
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime
mapping:
  identity:
    v: fhir
  map:
    v: Procedure.performedPeriod.end

id:
  v: FrontLineTreatment.isChemotherapy
path:
  v: FrontLineTreatment.isChemotherapy
short:
  v: Chemotherapy ?
definition:
  v: Chemotherapy ?
min:
  v: 0
max:
  v: 1
base:
  path:
    v: FrontLineTreatment.isChemotherapy
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: MedicationAdministration.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/MedicationAdministration-eu-pcsp').exists()

id:
  v: FrontLineTreatment.isStemCellTransplantation
path:
  v: FrontLineTreatment.isStemCellTransplantation
short:
  v: Stem Cell transplantation ?
definition:
  v: Stem Cell transplantation ?
min:
  v: 0
max:
  v: 1
base:
  path:
    v: FrontLineTreatment.isStemCellTransplantation
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-sct-eu-pcsp').exists()

id:
  v: FrontLineTreatment.isRadiotherapy
path:
  v: FrontLineTreatment.isRadiotherapy
short:
  v: Radiotherapy ?
definition:
  v: Radiotherapy ?
min:
  v: 0
max:
  v: 1
base:
  path:
    v: FrontLineTreatment.isRadiotherapy
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-radiotheraphy-eu-pcsp').exists()

id:
  v: FrontLineTreatment.isMajorSurgery
path:
  v: FrontLineTreatment.isMajorSurgery
short:
  v: Major Surgery ?
definition:
  v: Major Surgery ?
min:
  v: 0
max:
  v: 1
base:
  path:
    v: FrontLineTreatment.isMajorSurgery
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-surgery-eu-pcsp').exists().not() [No Case, implicit]
mapping:
  identity:
    v: fhir
  map:
    v: Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-surgery-eu-pcsp')..where(code = 'no-known-procedures').exists() [No Case, explicit]
mapping:
  identity:
    v: fhir
  map:
    v: Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-surgery-eu-pcsp').where(code != 'no-known-procedures' or code != 'no-procedure-info').exists() [Yes Case]
mapping:
  identity:
    v: fhir
  map:
    v: Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-surgery-eu-pcsp').where(code = 'no-procedure-info').exists() [Unk case]

id:
  v: FrontLineTreatment.notForRelapse
path:
  v: FrontLineTreatment.notForRelapse
short:
  v: Details not provided for relapses after EOT
definition:
  v: Details not provided for relapses after EOT
min:
  v: 0
max:
  v: 1
base:
  path:
    v: FrontLineTreatment.notForRelapse
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: FrontLineTreatment.notForRelapse.id
path:
  v: FrontLineTreatment.notForRelapse.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: FrontLineTreatment.notForRelapse.extension
path:
  v: FrontLineTreatment.notForRelapse.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: 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:
  v: 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:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: FrontLineTreatment.notForRelapse.modifierExtension
path:
  v: FrontLineTreatment.notForRelapse.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: 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:
  v: 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:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: FrontLineTreatment.notForRelapse.completeRemission
path:
  v: FrontLineTreatment.notForRelapse.completeRemission
short:
  v: Complete remission
definition:
  v: Complete remission
min:
  v: 0
max:
  v: 1
base:
  path:
    v: FrontLineTreatment.notForRelapse.completeRemission
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
mapping:
  identity:
    v: fhir
  map:
    v: outcome

id:
  v: FrontLineTreatment.notForRelapse.completeRemission.id
path:
  v: FrontLineTreatment.notForRelapse.completeRemission.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: FrontLineTreatment.notForRelapse.completeRemission.extension
path:
  v: FrontLineTreatment.notForRelapse.completeRemission.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: 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:
  v: 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:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: FrontLineTreatment.notForRelapse.completeRemission.modifierExtension
path:
  v: FrontLineTreatment.notForRelapse.completeRemission.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: 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:
  v: 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:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: FrontLineTreatment.notForRelapse.completeRemission.status
path:
  v: FrontLineTreatment.notForRelapse.completeRemission.status
short:
  v: Complete remission (Yes/No)
definition:
  v: Complete remission (Yes/No)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: FrontLineTreatment.notForRelapse.completeRemission.status
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime
mapping:
  identity:
    v: fhir
  map:
    v: outcome.coding

id:
  v: FrontLineTreatment.notForRelapse.completeRemission.description
path:
  v: FrontLineTreatment.notForRelapse.completeRemission.description
short:
  v: Textual description in case of no remission
definition:
  v: Textual description in case of no remission
min:
  v: 1
max:
  v: 1
base:
  path:
    v: FrontLineTreatment.notForRelapse.completeRemission.description
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: outcome.text

id:
  v: FrontLineTreatment.notForRelapse.isProgressionRelapseDuringFLT
path:
  v: FrontLineTreatment.notForRelapse.isProgressionRelapseDuringFLT
short:
  v: Progression/relapse during frontline treatment ?
definition:
  v: Progression/relapse during frontline treatment ?
min:
  v: 0
max:
  v: 1
base:
  path:
    v: FrontLineTreatment.notForRelapse.isProgressionRelapseDuringFLT
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: 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) ).exists()

id:
  v: FrontLineTreatment.notForRelapse.isProgressionRelapseAfterFLT
path:
  v: FrontLineTreatment.notForRelapse.isProgressionRelapseAfterFLT
short:
  v: Progression/relapse after first elective end of treatment ?
definition:
  v: Progression/relapse after first elective end of treatment ?
min:
  v: 0
max:
  v: 1
base:
  path:
    v: FrontLineTreatment.notForRelapse.isProgressionRelapseAfterFLT
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: 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) ).exists()

element:
  id:
    v: FrontLineTreatment
  path:
    v: FrontLineTreatment
  short:
    v: Front Line Treatment
  definition:
    v: Front Line Treatment. The first treatment given for a disease. It is often part of a standard set of treatments, such as surgery followed by chemotherapy and radiation. When used by itself, first-line therapy is the one accepted as the best treatment. If it does not cure the disease or it causes severe side effects, other treatment may be added or used instead. Also called induction therapy, primary therapy, and primary treatment.
  mapping:
    identity:
      v: fhir
    map:
      v: Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-flt-eu-pcsp')
element:
  id:
    v: FrontLineTreatment.followedProtocol
  path:
    v: FrontLineTreatment.followedProtocol
  short:
    v: Followed Protocol
  definition:
    v: Followed Protocol
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: BackboneElement
      l: BackboneElement
  mapping:
    identity:
      v: fhir
    map:
      v: .instantiatesCanonical
  mapping:
    identity:
      v: fhir
    map:
      v: PlanDefinition.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/PlanDefinition-flt-eu-pcsp')
element:
  id:
    v: FrontLineTreatment.followedProtocol.type
  path:
    v: FrontLineTreatment.followedProtocol.type
  short:
    v: Protocole type
  definition:
    v: 2 => Trial/protocol 2 => Personalized 3 => Guidelines -9922 => NK
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: CodeableConcept
      l: CodeableConcept
  mapping:
    identity:
      v: fhir
    map:
      v: .type
element:
  id:
    v: FrontLineTreatment.followedProtocol.name
  path:
    v: FrontLineTreatment.followedProtocol.name
  short:
    v: Protocole name
  definition:
    v: Protocole name
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
      l: string
  mapping:
    identity:
      v: fhir
    map:
      v: .title
element:
  id:
    v: FrontLineTreatment.followedProtocol.description
  path:
    v: FrontLineTreatment.followedProtocol.description
  short:
    v: Protocol name or description
  definition:
    v: If a specific trial/protocol was used, please specify. In case of relapse/progression during front line treatment,please report both the name of the front line as well of the salvage treatment If personalized, please specify.
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
      l: string
  mapping:
    identity:
      v: fhir
    map:
      v: .description
element:
  id:
    v: FrontLineTreatment.followedProtocol.arm
  path:
    v: FrontLineTreatment.followedProtocol.arm
  short:
    v: Group/Arm/Randomization
  definition:
    v: If the trial was randomized, please define randomization arm
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
      l: string
  mapping:
    identity:
      v: fhir
    map:
      v: .extension('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/procedure-fltArm').valueString
element:
  id:
    v: FrontLineTreatment.dateEOT
  path:
    v: FrontLineTreatment.dateEOT
  short:
    v: Date of end of treatment
  definition:
    v: It might be the date of first elective end of treatment, or that of the second (or further) end of treatment after the first one. If the date is unkown or partially missed insert the year at the best of your knowledge.
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: dateTime
      l: dateTime
  mapping:
    identity:
      v: fhir
    map:
      v: Procedure.performedPeriod.end
element:
  id:
    v: FrontLineTreatment.isChemotherapy
  path:
    v: FrontLineTreatment.isChemotherapy
  short:
    v: Chemotherapy ?
  definition:
    v: Chemotherapy ?
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: CodeableConcept
      l: CodeableConcept
  mapping:
    identity:
      v: fhir
    map:
      v: MedicationAdministration.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/MedicationAdministration-eu-pcsp').exists()
element:
  id:
    v: FrontLineTreatment.isStemCellTransplantation
  path:
    v: FrontLineTreatment.isStemCellTransplantation
  short:
    v: Stem Cell transplantation ?
  definition:
    v: Stem Cell transplantation ?
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: CodeableConcept
      l: CodeableConcept
  mapping:
    identity:
      v: fhir
    map:
      v: Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-sct-eu-pcsp').exists()
element:
  id:
    v: FrontLineTreatment.isRadiotherapy
  path:
    v: FrontLineTreatment.isRadiotherapy
  short:
    v: Radiotherapy ?

v: Radiotherapy ?

v: 0

v: 1

code:
  v: CodeableConcept
  l: CodeableConcept

identity:
  v: fhir
map:
  v: Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-radiotheraphy-eu-pcsp').exists()

id:
  v: FrontLineTreatment.isMajorSurgery
path:
  v: FrontLineTreatment.isMajorSurgery
short:
  v: Major Surgery ?
definition:
  v: Major Surgery ?
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-surgery-eu-pcsp').exists().not() [No Case, implicit]
mapping:
  identity:
    v: fhir
  map:
    v: Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-surgery-eu-pcsp')..where(code = 'no-known-procedures').exists() [No Case, explicit]
mapping:
  identity:
    v: fhir
  map:
    v: Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-surgery-eu-pcsp').where(code != 'no-known-procedures' or code != 'no-procedure-info').exists() [Yes Case]
mapping:
  identity:
    v: fhir
  map:
    v: Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-surgery-eu-pcsp').where(code = 'no-procedure-info').exists() [Unk case]

id:
  v: FrontLineTreatment.notForRelapse
path:
  v: FrontLineTreatment.notForRelapse
short:
  v: Details not provided for relapses after EOT
definition:
  v: Details not provided for relapses after EOT
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: FrontLineTreatment.notForRelapse.completeRemission
path:
  v: FrontLineTreatment.notForRelapse.completeRemission
short:
  v: Complete remission
definition:
  v: Complete remission
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: outcome

id:
  v: FrontLineTreatment.notForRelapse.completeRemission.status
path:
  v: FrontLineTreatment.notForRelapse.completeRemission.status
short:
  v: Complete remission (Yes/No)
definition:
  v: Complete remission (Yes/No)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime
    l: dateTime
mapping:
  identity:
    v: fhir
  map:
    v: outcome.coding

id:
  v: FrontLineTreatment.notForRelapse.completeRemission.description
path:
  v: FrontLineTreatment.notForRelapse.completeRemission.description
short:
  v: Textual description in case of no remission
definition:
  v: Textual description in case of no remission
min:
  v: 1
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: outcome.text

id:
  v: FrontLineTreatment.notForRelapse.isProgressionRelapseDuringFLT
path:
  v: FrontLineTreatment.notForRelapse.isProgressionRelapseDuringFLT
short:
  v: Progression/relapse during frontline treatment ?
definition:
  v: Progression/relapse during frontline treatment ?
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: 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) ).exists()

id:
  v: FrontLineTreatment.notForRelapse.isProgressionRelapseAfterFLT
path:
  v: FrontLineTreatment.notForRelapse.isProgressionRelapseAfterFLT
short:
  v: Progression/relapse after first elective end of treatment ?
definition:
  v: Progression/relapse after first elective end of treatment ?
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: 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) ).exists()