Chemotherapy
type: StructureDefinition
node role: treeRoot
id:
  v: Chemotherapy
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition Chemotherapy Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> Chemotherapy 0..* Base Chemotherapy #xD; relatedDiagnosis 1..1 Identifier Related Diagnosis #xD; startDate 1..1 dateTime Start date #xD; endDate 1..1 dateTime End date #xD; istitutionOfTreatment 0..1 BackboneElement Institution of treatment #xD; description 0..1 string Institution description #xD; name 0..1 string Institution name #xD; address 0..1 BackboneElement Institution address #xD; name 0..1 string Institution city #xD; country 0..1 string Institution country #xD; productAdministration 1..20 BackboneElement Product(s) administartion data #xD; <a href="StructureDefinition-Chemotherapy-definitions.html#Chemotherapy.productAdministration.agent" title="In this section, any of the 'antineoplastic and immunostimulating agents' received by the survivor should be reported, Drugs names are reported based on the ATC code listed under L01 to L04 in Appendix. Synonyms are included. When you start typing the name of the drug, the possible options will automatically suggested by the system. #xA;Up to 20 drugs are allowed into the system. The variable acronym changes based on the ordinal cmulative number of drugs received (e.g. FN_1, FN_2, FN_3, ?)">agent 1..1 CodeableConcept Antineoplastic and immunostimulating agents #xD; dose 0..1 Quantity Dose (NOT in PCSP DB) #xD; cumulativeDose 0..1 BackboneElement Cumulative Dose #xD; notAvailable 0..1 CodeableConcept Not calculated or not known dose #xD; measureType 0..1 CodeableConcept How the dose was determined (estimation or calculation) #xD; completionStatus 0..1 CodeableConcept The reported doses are incomplete (either under- or over-estimated) #xD; statusReason 0..1 string Specify reasons why #xD; value 0..1 decimal Total cumulative dose #xD; mg/m2#xA;2 => gr/m2#xA;3 => UI/m2#xA;4 => NK#xA;5 => NC (not calculated)">unit 0..1 CodeableConcept Measure unit #xD; Ye…
url:
  v: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Chemotherapy
  l: Chemotherapy
version:
  v: 1.0.0
name:
  v: Chemotherapy
title:
  v: Chemotherapy
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: Chemotherapy
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: Chemotherapy model to PCSP HL7 FHIR R4 Profiles
kind:
  v: logical
abstract:
  v: false
type:
  v: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Chemotherapy
  l: Chemotherapy
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: Chemotherapy
    path:
      v: Chemotherapy
    short:
      v: Chemotherapy
    definition:
      v: Chemotherapy
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    is modifier:
      v: false
    mapping:
      identity:
        v: fhir
      map:
        v: MedicationAdministration.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/MedicationAdministration-eu-pcsp')
  element:
    id:
      v: Chemotherapy.relatedDiagnosis
    path:
      v: Chemotherapy.relatedDiagnosis
    short:
      v: Related Diagnosis
    definition:
      v: Identifier of the diagnosis for which this chemotherapy is performed
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: Chemotherapy.relatedDiagnosis
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: Identifier
        l: Identifier
    mapping:
      identity:
        v: fhir
      map:
        v: .reasonReference
  element:
    id:
      v: Chemotherapy.startDate
    path:
      v: Chemotherapy.startDate
    short:
      v: Start date
    definition:
      v: Please report the date of the first chemotherapy given. If the date is unkown or partially missed insert the year at the best of your knowledge.
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: Chemotherapy.startDate
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: dateTime
        l: dateTime
    mapping:
      identity:
        v: fhir
      map:
        v: .effectivePeriod.start
  element:
    id:
      v: Chemotherapy.endDate
    path:
      v: Chemotherapy.endDate
    short:
      v: End date
    definition:
      v: Please report the date of the last chemotherapy given. If the date is unkown or partially missed insert the year at the best of your knowledge.
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: Chemotherapy.endDate
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: dateTime
        l: dateTime
    mapping:
      identity:
        v: fhir
      map:
        v: .effectivePeriod.end
  element:
    id:
      v: Chemotherapy.istitutionOfTreatment
    path:
      v: Chemotherapy.istitutionOfTreatment
    short:
      v: Institution of treatment
    definition:
      v: Please indicate the institution in which all or most of the chemotherapeutic treatment was given

v: 0

v: 1

path:
  v: Chemotherapy.istitutionOfTreatment
min:
  v: 0
max:
  v: 1

code:
  v: BackboneElement
  l: BackboneElement

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

identity:
  v: fhir
map:
  v: .extension(http://hl7.eu/fhir/ig/pcsp/StructureDefinition/ActLocation-eu-pcsp).conformsTo(http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Location-eu-pcsp)

id:
  v: Chemotherapy.istitutionOfTreatment.id
path:
  v: Chemotherapy.istitutionOfTreatment.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: Chemotherapy.istitutionOfTreatment.extension
path:
  v: Chemotherapy.istitutionOfTreatment.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: Chemotherapy.istitutionOfTreatment.modifierExtension
path:
  v: Chemotherapy.istitutionOfTreatment.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: Chemotherapy.istitutionOfTreatment.description
path:
  v: Chemotherapy.istitutionOfTreatment.description
short:
  v: Institution description
definition:
  v: Please provide name, city and countryof the institution
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Chemotherapy.istitutionOfTreatment.description
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: Location.description

id:
  v: Chemotherapy.istitutionOfTreatment.name
path:
  v: Chemotherapy.istitutionOfTreatment.name
short:
  v: Institution name
definition:
  v: Institution name
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Chemotherapy.istitutionOfTreatment.name
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: Location.name

id:
  v: Chemotherapy.istitutionOfTreatment.address
path:
  v: Chemotherapy.istitutionOfTreatment.address
short:
  v: Institution address
definition:
  v: Institution address
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Chemotherapy.istitutionOfTreatment.address
  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: Location.address.city

id:
  v: Chemotherapy.istitutionOfTreatment.address.id
path:
  v: Chemotherapy.istitutionOfTreatment.address.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: Chemotherapy.istitutionOfTreatment.address.extension
path:
  v: Chemotherapy.istitutionOfTreatment.address.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: Chemotherapy.istitutionOfTreatment.address.modifierExtension
path:
  v: Chemotherapy.istitutionOfTreatment.address.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: Chemotherapy.istitutionOfTreatment.address.name
path:
  v: Chemotherapy.istitutionOfTreatment.address.name
short:
  v: Institution city
definition:
  v: Institution city
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Chemotherapy.istitutionOfTreatment.address.name
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: Chemotherapy.istitutionOfTreatment.address.country
path:
  v: Chemotherapy.istitutionOfTreatment.address.country
short:
  v: Institution country
definition:
  v: Institution country
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Chemotherapy.istitutionOfTreatment.address.country
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: Location.address.country

id:
  v: Chemotherapy.productAdministration
path:
  v: Chemotherapy.productAdministration
short:
  v: Product(s) administartion data
definition:
  v: Information about the product(s) administered
min:
  v: 1
max:
  v: 20
base:
  path:
    v: Chemotherapy.productAdministration
  min:
    v: 1
  max:
    v: 20
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: .medication[x]

id:
  v: Chemotherapy.productAdministration.id
path:
  v: Chemotherapy.productAdministration.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: Chemotherapy.productAdministration.extension
path:
  v: Chemotherapy.productAdministration.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: Chemotherapy.productAdministration.modifierExtension
path:
  v: Chemotherapy.productAdministration.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: Chemotherapy.productAdministration.agent
path:
  v: Chemotherapy.productAdministration.agent
short:
  v: Antineoplastic and immunostimulating agents
definition:
  v: In this section, any of the 'antineoplastic and immunostimulating agents' received by the survivor should be reported, Drugs names are reported based on the ATC code listed under L01 to L04 in Appendix. Synonyms are included. When you start typing the name of the drug, the possible options will automatically suggested by the system. Up to 20 drugs are allowed into the system. The variable acronym changes based on the ordinal cmulative number of drugs received (e.g. FN_1, FN_2, FN_3, ?)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Chemotherapy.productAdministration.agent
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .medicationCodeableConcept

id:
  v: Chemotherapy.productAdministration.dose
path:
  v: Chemotherapy.productAdministration.dose
short:
  v: Dose (NOT in PCSP DB)
definition:
  v: Dose received of each drug for this administration
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Chemotherapy.productAdministration.dose
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Quantity
    l: Quantity
mapping:
  identity:
    v: fhir
  map:
    v: .dosage.dose

id:
  v: Chemotherapy.productAdministration.cumulativeDose
path:
  v: Chemotherapy.productAdministration.cumulativeDose
short:
  v: Cumulative Dose
definition:
  v: Report the total cumulative dose received of each drug.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Chemotherapy.productAdministration.cumulativeDose
  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: .extension(http://hl7.eu/fhir/ig/pcsp/StructureDefinition/ResourceRelatedInfo-eu-pcsp).conformsTo(http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Observation-cumulativeDoseChemo-eu-pcsp)

id:
  v: Chemotherapy.productAdministration.cumulativeDose.id
path:
  v: Chemotherapy.productAdministration.cumulativeDose.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: Chemotherapy.productAdministration.cumulativeDose.extension
path:
  v: Chemotherapy.productAdministration.cumulativeDose.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: Chemotherapy.productAdministration.cumulativeDose.modifierExtension
path:
  v: Chemotherapy.productAdministration.cumulativeDose.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: Chemotherapy.productAdministration.cumulativeDose.notAvailable
path:
  v: Chemotherapy.productAdministration.cumulativeDose.notAvailable
short:
  v: Not calculated or not known dose
definition:
  v: Flag indicating if the dose was not calculated or it was not known
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Chemotherapy.productAdministration.cumulativeDose.notAvailable
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .valueCodeableConcept = http://terminology.hl7.org/CodeSystem/data-absent-reason#unknown
mapping:
  identity:
    v: fhir
  map:
    v: .dataAbsentReason

id:
  v: Chemotherapy.productAdministration.cumulativeDose.measureType
path:
  v: Chemotherapy.productAdministration.cumulativeDose.measureType
short:
  v: How the dose was determined (estimation or calculation)
definition:
  v: Specify if the cumulative dose reported has been all calculated on real data or estimated based on the expected dose prescribed by the protocol. If some part of the calculation was based on estimated values, the whole field should be 'estimated'
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Chemotherapy.productAdministration.cumulativeDose.measureType
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .method

id:
  v: Chemotherapy.productAdministration.cumulativeDose.completionStatus
path:
  v: Chemotherapy.productAdministration.cumulativeDose.completionStatus
short:
  v: The reported doses are incomplete (either under- or over-estimated)
definition:
  v: Check in case of incomplete doses
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Chemotherapy.productAdministration.cumulativeDose.completionStatus
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .status = #preliminary

id:
  v: Chemotherapy.productAdministration.cumulativeDose.statusReason
path:
  v: Chemotherapy.productAdministration.cumulativeDose.statusReason
short:
  v: Specify reasons why
definition:
  v: Specify reasons of incomplete estimated doses
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Chemotherapy.productAdministration.cumulativeDose.statusReason
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: .extension('http://hl7.org/fhir/StructureDefinition/event-statusReason')

id:
  v: Chemotherapy.productAdministration.cumulativeDose.value
path:
  v: Chemotherapy.productAdministration.cumulativeDose.value
short:
  v: Total cumulative dose
definition:
  v: Report the total cumulative dose received of each drug.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Chemotherapy.productAdministration.cumulativeDose.value
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: decimal
    l: decimal
mapping:
  identity:
    v: fhir
  map:
    v: .valueQuantity.value

id:
  v: Chemotherapy.productAdministration.cumulativeDose.unit
path:
  v: Chemotherapy.productAdministration.cumulativeDose.unit
short:
  v: Measure unit
definition:
  v: If the dose was calculated, please report the measure unit of the calculation 1 => mg/m2 2 => gr/m2 3 => UI/m2 4 => NK 5 => NC (not calculated)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Chemotherapy.productAdministration.cumulativeDose.unit
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .valueQuantity.unit (human readeable)
mapping:
  identity:
    v: fhir
  map:
    v: .valueQuantity.code (code)

id:
  v: Chemotherapy.corticosteroids
path:
  v: Chemotherapy.corticosteroids
short:
  v: Prolonged corticosteroids as anti-cancer treatment at least 4 weeks continuously
definition:
  v: Report 'yes' if the survivor was treated with steroids for at least 4 weeks continuously 1 => Yes 2 => No -9922 => NK
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Chemotherapy.corticosteroids
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: MedicationStatement.where(medicationCodeableConcept = 'http://www.whocc.no/atc|H02' and dosage.timing.repeat.boundsDuration.where( value='4' and code = 'w' and comparator ='>' )

id:
  v: Chemotherapy.intrathecalInjections
path:
  v: Chemotherapy.intrathecalInjections
short:
  v: Intrathecal injections
definition:
  v: Intrathecal injections
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Chemotherapy.intrathecalInjections
  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: MedicationStatement.where(dosage.route = https://standardterms.edqm.eu|20042000)

id:
  v: Chemotherapy.intrathecalInjections.id
path:
  v: Chemotherapy.intrathecalInjections.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: Chemotherapy.intrathecalInjections.extension
path:
  v: Chemotherapy.intrathecalInjections.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: Chemotherapy.intrathecalInjections.modifierExtension
path:
  v: Chemotherapy.intrathecalInjections.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: Chemotherapy.intrathecalInjections.status
path:
  v: Chemotherapy.intrathecalInjections.status
short:
  v: Did the survivor receive therapeutic intrathecal injections ?
definition:
  v: Please state if the survivor received any therapeutic intrathecal injections 1 => Yes 2 => No -9922 => NK
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Chemotherapy.intrathecalInjections.status
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .exists()

id:
  v: Chemotherapy.intrathecalInjections.number
path:
  v: Chemotherapy.intrathecalInjections.number
short:
  v: Total number
definition:
  v: Report the total number of injections
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Chemotherapy.intrathecalInjections.number
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: integer
    l: integer
mapping:
  identity:
    v: fhir
  map:
    v: .dosage.timing.repeat.count
mapping:
  identity:
    v: fhir
  map:
    v: .count()

id:
  v: Chemotherapy.intrathecalInjections.productName
path:
  v: Chemotherapy.intrathecalInjections.productName
short:
  v: Drug(s) administered
definition:
  v: Please report the names of drugs injected intrathecal
min:
  v: 0
max:
  v: *
base:
  path:
    v: Chemotherapy.intrathecalInjections.productName
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: .medicationCodeableConcept.text

id:
  v: Chemotherapy.otherTreatments
path:
  v: Chemotherapy.otherTreatments
short:
  v: Other chemothrapeutic treatments
definition:
  v: Report any other chemothrapeutic treatments that are not included in the ATC code
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Chemotherapy.otherTreatments
  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: MedicationStatement

id:
  v: Chemotherapy.otherTreatments.id
path:
  v: Chemotherapy.otherTreatments.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: Chemotherapy.otherTreatments.extension
path:
  v: Chemotherapy.otherTreatments.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: Chemotherapy.otherTreatments.modifierExtension
path:
  v: Chemotherapy.otherTreatments.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: Chemotherapy.otherTreatments.productName
path:
  v: Chemotherapy.otherTreatments.productName
short:
  v: Drugs name
definition:
  v: If yes, describe treatments
min:
  v: 1
max:
  v: *
base:
  path:
    v: Chemotherapy.otherTreatments.productName
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: .medicationCodeableConcept.text

element:
  id:
    v: Chemotherapy
  path:
    v: Chemotherapy
  short:
    v: Chemotherapy
  definition:
    v: Chemotherapy
  mapping:
    identity:
      v: fhir
    map:
      v: MedicationAdministration.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/MedicationAdministration-eu-pcsp')
element:
  id:
    v: Chemotherapy.relatedDiagnosis
  path:
    v: Chemotherapy.relatedDiagnosis
  short:
    v: Related Diagnosis
  definition:
    v: Identifier of the diagnosis for which this chemotherapy is performed
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: Identifier
      l: Identifier
  mapping:
    identity:
      v: fhir
    map:
      v: .reasonReference
element:
  id:
    v: Chemotherapy.startDate
  path:
    v: Chemotherapy.startDate
  short:
    v: Start date
  definition:
    v: Please report the date of the first chemotherapy given. If the date is unkown or partially missed insert the year at the best of your knowledge.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: dateTime
      l: dateTime
  mapping:
    identity:
      v: fhir
    map:
      v: .effectivePeriod.start
element:
  id:
    v: Chemotherapy.endDate
  path:
    v: Chemotherapy.endDate
  short:
    v: End date
  definition:
    v: Please report the date of the last chemotherapy given. If the date is unkown or partially missed insert the year at the best of your knowledge.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: dateTime
      l: dateTime
  mapping:
    identity:
      v: fhir
    map:
      v: .effectivePeriod.end
element:
  id:
    v: Chemotherapy.istitutionOfTreatment
  path:
    v: Chemotherapy.istitutionOfTreatment
  short:
    v: Institution of treatment
  definition:
    v: Please indicate the institution in which all or most of the chemotherapeutic treatment was given
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
  mapping:
    identity:
      v: fhir
    map:
      v: .extension(http://hl7.eu/fhir/ig/pcsp/StructureDefinition/ActLocation-eu-pcsp).conformsTo(http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Location-eu-pcsp)
element:
  id:
    v: Chemotherapy.istitutionOfTreatment.description
  path:
    v: Chemotherapy.istitutionOfTreatment.description
  short:
    v: Institution description
  definition:
    v: Please provide name, city and countryof the institution
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
      l: string
  mapping:
    identity:
      v: fhir
    map:
      v: Location.description
element:
  id:
    v: Chemotherapy.istitutionOfTreatment.name
  path:
    v: Chemotherapy.istitutionOfTreatment.name
  short:
    v: Institution name
  definition:
    v: Institution name
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
      l: string
  mapping:
    identity:
      v: fhir
    map:
      v: Location.name
element:
  id:
    v: Chemotherapy.istitutionOfTreatment.address
  path:
    v: Chemotherapy.istitutionOfTreatment.address
  short:
    v: Institution address
  definition:
    v: Institution address
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
  mapping:
    identity:
      v: fhir
    map:
      v: Location.address.city
element:
  id:
    v: Chemotherapy.istitutionOfTreatment.address.name
  path:
    v: Chemotherapy.istitutionOfTreatment.address.name
  short:
    v: Institution city
  definition:
    v: Institution city
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: Chemotherapy.istitutionOfTreatment.address.country
  path:
    v: Chemotherapy.istitutionOfTreatment.address.country
  short:
    v: Institution country
  definition:
    v: Institution country
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
      l: string

identity:
  v: fhir
map:
  v: Location.address.country

id:
  v: Chemotherapy.productAdministration
path:
  v: Chemotherapy.productAdministration
short:
  v: Product(s) administartion data
definition:
  v: Information about the product(s) administered
min:
  v: 1
max:
  v: 20
type:
  code:
    v: BackboneElement
    l: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: .medication[x]

id:
  v: Chemotherapy.productAdministration.agent
path:
  v: Chemotherapy.productAdministration.agent
short:
  v: Antineoplastic and immunostimulating agents
definition:
  v: In this section, any of the 'antineoplastic and immunostimulating agents' received by the survivor should be reported, Drugs names are reported based on the ATC code listed under L01 to L04 in Appendix. Synonyms are included. When you start typing the name of the drug, the possible options will automatically suggested by the system. Up to 20 drugs are allowed into the system. The variable acronym changes based on the ordinal cmulative number of drugs received (e.g. FN_1, FN_2, FN_3, ?)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .medicationCodeableConcept

id:
  v: Chemotherapy.productAdministration.dose
path:
  v: Chemotherapy.productAdministration.dose
short:
  v: Dose (NOT in PCSP DB)
definition:
  v: Dose received of each drug for this administration
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Quantity
    l: Quantity
mapping:
  identity:
    v: fhir
  map:
    v: .dosage.dose

id:
  v: Chemotherapy.productAdministration.cumulativeDose
path:
  v: Chemotherapy.productAdministration.cumulativeDose
short:
  v: Cumulative Dose
definition:
  v: Report the total cumulative dose received of each drug.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: .extension(http://hl7.eu/fhir/ig/pcsp/StructureDefinition/ResourceRelatedInfo-eu-pcsp).conformsTo(http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Observation-cumulativeDoseChemo-eu-pcsp)

id:
  v: Chemotherapy.productAdministration.cumulativeDose.notAvailable
path:
  v: Chemotherapy.productAdministration.cumulativeDose.notAvailable
short:
  v: Not calculated or not known dose
definition:
  v: Flag indicating if the dose was not calculated or it was not known
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .valueCodeableConcept = http://terminology.hl7.org/CodeSystem/data-absent-reason#unknown
mapping:
  identity:
    v: fhir
  map:
    v: .dataAbsentReason

id:
  v: Chemotherapy.productAdministration.cumulativeDose.measureType
path:
  v: Chemotherapy.productAdministration.cumulativeDose.measureType
short:
  v: How the dose was determined (estimation or calculation)
definition:
  v: Specify if the cumulative dose reported has been all calculated on real data or estimated based on the expected dose prescribed by the protocol. If some part of the calculation was based on estimated values, the whole field should be 'estimated'
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .method

id:
  v: Chemotherapy.productAdministration.cumulativeDose.completionStatus
path:
  v: Chemotherapy.productAdministration.cumulativeDose.completionStatus
short:
  v: The reported doses are incomplete (either under- or over-estimated)
definition:
  v: Check in case of incomplete doses
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .status = #preliminary

id:
  v: Chemotherapy.productAdministration.cumulativeDose.statusReason
path:
  v: Chemotherapy.productAdministration.cumulativeDose.statusReason
short:
  v: Specify reasons why
definition:
  v: Specify reasons of incomplete estimated doses
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: .extension('http://hl7.org/fhir/StructureDefinition/event-statusReason')

id:
  v: Chemotherapy.productAdministration.cumulativeDose.value
path:
  v: Chemotherapy.productAdministration.cumulativeDose.value
short:
  v: Total cumulative dose
definition:
  v: Report the total cumulative dose received of each drug.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: decimal
    l: decimal
mapping:
  identity:
    v: fhir
  map:
    v: .valueQuantity.value

id:
  v: Chemotherapy.productAdministration.cumulativeDose.unit
path:
  v: Chemotherapy.productAdministration.cumulativeDose.unit
short:
  v: Measure unit
definition:
  v: If the dose was calculated, please report the measure unit of the calculation 1 => mg/m2 2 => gr/m2 3 => UI/m2 4 => NK 5 => NC (not calculated)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .valueQuantity.unit (human readeable)
mapping:
  identity:
    v: fhir
  map:
    v: .valueQuantity.code (code)

id:
  v: Chemotherapy.corticosteroids
path:
  v: Chemotherapy.corticosteroids
short:
  v: Prolonged corticosteroids as anti-cancer treatment at least 4 weeks continuously
definition:
  v: Report 'yes' if the survivor was treated with steroids for at least 4 weeks continuously 1 => Yes 2 => No -9922 => NK
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: MedicationStatement.where(medicationCodeableConcept = 'http://www.whocc.no/atc|H02' and dosage.timing.repeat.boundsDuration.where( value='4' and code = 'w' and comparator ='>' )

id:
  v: Chemotherapy.intrathecalInjections
path:
  v: Chemotherapy.intrathecalInjections
short:
  v: Intrathecal injections
definition:
  v: Intrathecal injections
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: MedicationStatement.where(dosage.route = https://standardterms.edqm.eu|20042000)

id:
  v: Chemotherapy.intrathecalInjections.status
path:
  v: Chemotherapy.intrathecalInjections.status
short:
  v: Did the survivor receive therapeutic intrathecal injections ?
definition:
  v: Please state if the survivor received any therapeutic intrathecal injections 1 => Yes 2 => No -9922 => NK
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .exists()

id:
  v: Chemotherapy.intrathecalInjections.number
path:
  v: Chemotherapy.intrathecalInjections.number
short:
  v: Total number
definition:
  v: Report the total number of injections
min:
  v: 0
max:
  v: 1
type:
  code:
    v: integer
    l: integer
mapping:
  identity:
    v: fhir
  map:
    v: .dosage.timing.repeat.count
mapping:
  identity:
    v: fhir
  map:
    v: .count()

id:
  v: Chemotherapy.intrathecalInjections.productName
path:
  v: Chemotherapy.intrathecalInjections.productName
short:
  v: Drug(s) administered
definition:
  v: Please report the names of drugs injected intrathecal
min:
  v: 0
max:
  v: *
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: .medicationCodeableConcept.text

id:
  v: Chemotherapy.otherTreatments
path:
  v: Chemotherapy.otherTreatments
short:
  v: Other chemothrapeutic treatments
definition:
  v: Report any other chemothrapeutic treatments that are not included in the ATC code
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: MedicationStatement

id:
  v: Chemotherapy.otherTreatments.productName
path:
  v: Chemotherapy.otherTreatments.productName
short:
  v: Drugs name
definition:
  v: If yes, describe treatments
min:
  v: 1
max:
  v: *
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: .medicationCodeableConcept.text