Radiotherapy
type: StructureDefinition
node role: treeRoot
id:
  v: Radiotherapy
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition Radiotherapy Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> Radiotherapy 0..* Base Radiotherapy #xD; relatedDiagnosis 0..1 Identifier Related Diagnosis #xD; relatedRelapse 0..1 Identifier Related relapse/progression (after FLT) #xD; <a href="StructureDefinition-Radiotherapy-definitions.html#Radiotherapy.identifier" title="Progressive number of radotherapy episode. An EPISODE might be a single or several courses of pre-planned treatment within a consecutive time period to different sites. For example, if a patient had radiotherapy to a limb and also to the lungs for a Ewing?s sarcoma these should be entered in one episode of treatment but as separate radiotherapy courses with their respective site, total dose, and number of fractions. They will both be within one episode">identifier 0..* Identifier Identifier of the radotherapy episode #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; startDate 1..1 dateTime Start date #xD; enddate 0..1 dateTime End date #xD; <a href="StructureDefinition-Radiotherapy-definitions.html#Radiotherapy.type" title="External Beam Radiation: The radiation is produced by a large machine, and the type of the machine needs to be recorded in the subsequent field.#xA;Brachytherapy: a material that is radioactive (often a fine wire or a tiny ?seed?) is placed on or in the body to give a very localized high dose of radiation. Details will be asked in the next field#xA;Metabolic or radionuclide treatment/therapy: a liquid substance is injected into the blood stream and carries radiation throughout the body with the aim of reaching tumour tissue. Also in this case, details will be asked in t…
url:
  v: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Radiotherapy
  l: Radiotherapy
version:
  v: 1.0.0
name:
  v: Radiotherapy
title:
  v: Radiotherapy
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: Radiotherapy
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: Radiotherapy model to PCSP HL7 FHIR R4 Profiles
kind:
  v: logical
abstract:
  v: false
type:
  v: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Radiotherapy
  l: Radiotherapy
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: Radiotherapy
    path:
      v: Radiotherapy
    short:
      v: Radiotherapy
    definition:
      v: Radiotherapy
    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-radiotheraphy-eu-pcsp')
  element:
    id:
      v: Radiotherapy.relatedDiagnosis
    path:
      v: Radiotherapy.relatedDiagnosis
    short:
      v: Related Diagnosis
    definition:
      v: Identifier of the diagnosis for which this radiotherapy is performed
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: Radiotherapy.relatedDiagnosis
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: Identifier
        l: Identifier
    mapping:
      identity:
        v: fhir
      map:
        v: .reasonReference
  element:
    id:
      v: Radiotherapy.relatedRelapse
    path:
      v: Radiotherapy.relatedRelapse
    short:
      v: Related relapse/progression (after FLT)
    definition:
      v: Identifier of the relapse/progression (after FLT) for which this radiotherapy is performed
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: Radiotherapy.relatedRelapse
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: Identifier
        l: Identifier
    mapping:
      identity:
        v: fhir
      map:
        v: .reasonReference
  element:
    id:
      v: Radiotherapy.identifier
    path:
      v: Radiotherapy.identifier
    short:
      v: Identifier of the radotherapy episode
    definition:
      v: Progressive number of radotherapy episode. An EPISODE might be a single or several courses of pre-planned treatment within a consecutive time period to different sites. For example, if a patient had radiotherapy to a limb and also to the lungs for a Ewing?s sarcoma these should be entered in one episode of treatment but as separate radiotherapy courses with their respective site, total dose, and number of fractions. They will both be within one episode
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Radiotherapy.identifier
      min:
        v: 0
      max:
        v: *
    type:
      code:
        v: Identifier
        l: Identifier
    mapping:
      identity:
        v: fhir
      map:
        v: .identifier
  element:
    id:
      v: Radiotherapy.istitutionOfTreatment
    path:
      v: Radiotherapy.istitutionOfTreatment
    short:
      v: Institution of treatment
    definition:
      v: Please indicate the institution in which the radiotherapeutic treatment was given

v: 0

v: 1

path:
  v: Radiotherapy.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: .location.resolve().conformsTo(http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Location-eu-pcsp)

id:
  v: Radiotherapy.istitutionOfTreatment.id
path:
  v: Radiotherapy.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: Radiotherapy.istitutionOfTreatment.extension
path:
  v: Radiotherapy.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: Radiotherapy.istitutionOfTreatment.modifierExtension
path:
  v: Radiotherapy.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: Radiotherapy.istitutionOfTreatment.description
path:
  v: Radiotherapy.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: Radiotherapy.istitutionOfTreatment.description
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: Location.description

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

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

id:
  v: Radiotherapy.istitutionOfTreatment.address.country
path:
  v: Radiotherapy.istitutionOfTreatment.address.country
short:
  v: Institution country
definition:
  v: Institution country
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Radiotherapy.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: Radiotherapy.startDate
path:
  v: Radiotherapy.startDate
short:
  v: Start date
definition:
  v: Enter the date on which the first treatment (fraction) of radiotherapy was given, in a DD/MM/YYYY format. 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: Radiotherapy.startDate
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime
mapping:
  identity:
    v: fhir
  map:
    v: .performedPeriod.start

id:
  v: Radiotherapy.enddate
path:
  v: Radiotherapy.enddate
short:
  v: End date
definition:
  v: Enter the full date on which the last treatment (fraction) of radiotherapy was given in a DD/MM/YYYY format. When only a single radiation treatment/fraction was given, the start and end dates will be the same. 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: Radiotherapy.enddate
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime
mapping:
  identity:
    v: fhir
  map:
    v: .performedPeriod.end

id:
  v: Radiotherapy.type
path:
  v: Radiotherapy.type
short:
  v: Type of radiotherapy
definition:
  v: External Beam Radiation: The radiation is produced by a large machine, and the type of the machine needs to be recorded in the subsequent field. Brachytherapy: a material that is radioactive (often a fine wire or a tiny ?seed?) is placed on or in the body to give a very localized high dose of radiation. Details will be asked in the next field Metabolic or radionuclide treatment/therapy: a liquid substance is injected into the blood stream and carries radiation throughout the body with the aim of reaching tumour tissue. Also in this case, details will be asked in the subsequent field. 1 => External beam 2 => Brachytherapy 3 => Metabolic/radionuclide therapy
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Radiotherapy.type
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .code

id:
  v: Radiotherapy.deviceType
path:
  v: Radiotherapy.deviceType
short:
  v: type of machine (If external beam)
definition:
  v: A detailed description of the type of machine can be found in the user's manual. If you have the name of a machine but cannot find it in this list, please select Other and add the name in free text. If you know the treatment was with external beam but not which machine or energy, select 'Unknown'. 1 =>Orthovoltage / kilovoltage usually 200 - 300kv X rays/photons 2 =>Linac (Linear Accelerator) megavoltage MV X Rays/photons 3 =>Linac (Linear Accelerator) electrons 4 => Cobalt - MV gamma rays / photons 5 => Proton Beam 6 => Other, if other specify the name -9922 => Unknown
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Radiotherapy.deviceType
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .usedCode

id:
  v: Radiotherapy.brachytherapyType
path:
  v: Radiotherapy.brachytherapyType
short:
  v: type of brachytherapy (if brachytherapy)
definition:
  v: ? Surface brachytherapy - a radiation source (radioactive material) is positioned on a superficial tumour ? Interstitial brachytherapy ? a radiation source is implanted into a tumour ? Intracavitary or intraluminal brachytherapy - a radiation source is introduced in special applicators into a body cavity or lumen 1 => Surface brachytherapy 2 => Interstitial brachytherapy 3 => Intracavitary or intraluminal brachytherapy -9922=> Unknown
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Radiotherapy.brachytherapyType
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .extension('http://hl7.org/fhir/StructureDefinition/procedure-method').valueCodeableConcept

id:
  v: Radiotherapy.isotopes
path:
  v: Radiotherapy.isotopes
short:
  v: Radioactive materials (if brachytherapy)
definition:
  v: Specify the radioactive material (isotopes) used: If not listed, select 'Other then specify' 1 => Iridium (Ir) 2 => Gold (Au) 3 => Iodine (I) 4 => Caesium (Cs) 5 => Other -9922 => Unknown
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Radiotherapy.isotopes
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .extension('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/radiotherapy-energy-or-isotope').valueCodeableConcept

id:
  v: Radiotherapy.radionuclides
path:
  v: Radiotherapy.radionuclides
short:
  v: radionuclides (required If metabolic/radionuclide)
definition:
  v: A detailed description of the radionuclides can be found in the user's manual. If you have the name of a radionuclide but cannot find it in this list, please select Other and add the name in free text. If you know the treatment was with external beam but not which machine or energy, select 'Unknown'. 1 => Iodine-131 2 => MIBG 3 =>Yttrium 90 4 => Other -9922 => Unknown
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Radiotherapy.radionuclides
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .extension('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/radiotherapy-energy-or-isotope').valueCodeableConcept

id:
  v: Radiotherapy.numberOfCourses
path:
  v: Radiotherapy.numberOfCourses
short:
  v: Number of courses (If metabolic/radionuclide)
definition:
  v: For Metabolic/radionuclide therapy
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Radiotherapy.numberOfCourses
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: integer
    l: integer
mapping:
  identity:
    v: fhir
  map:
    v: .extension(http://hl7.eu/fhir/ig/pcsp/StructureDefinition/procedure-performedTiming).valueTiming.repeat.count

id:
  v: Radiotherapy.target
path:
  v: Radiotherapy.target
short:
  v: Target
definition:
  v: Site' refers to the radiation therapy treatment field, i.e. the part of the body that received the radiation dose in order to treat the tumour. Required if Type of radiotherapy = 1 or 2 (External Beam, Brachytherapy)� If more than one body site was treated with radiotherapy, you can add anther site and describe; upto 5 sites are allowed by the system
min:
  v: 0
max:
  v: 5
base:
  path:
    v: Radiotherapy.target
  min:
    v: 0
  max:
    v: 5
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: .bodySite
mapping:
  identity:
    v: fhir
  map:
    v: .extension(http://hl7.eu/fhir/ig/pcsp/StructureDefinition/ResourceRelatedInfo-eu-pcsp).resolve().conformsTo(http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Observation-cumulativeDoseRad-eu-pcsp)

id:
  v: Radiotherapy.target.id
path:
  v: Radiotherapy.target.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: Radiotherapy.target.extension
path:
  v: Radiotherapy.target.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: Radiotherapy.target.modifierExtension
path:
  v: Radiotherapy.target.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: Radiotherapy.target.site
path:
  v: Radiotherapy.target.site
short:
  v: Body Site Code
definition:
  v: RT sites are coded with a 3 tier level (see list). The first is ?Tier 1?. The first digit/s of the code, describes the large topographical body areas e.g. brain, chest, abdomen, limb. Since radiation fields often involve more than one topographical area we have added ?cervico-thoracic?, ?thoraco abdominal? and ?abdomino pelvic? areas to Tier 1. The second (Tier 2) includes subcategories of Tier 1 sites e.g. brain stem, heart, liver, upper limb. Where the information is available a third (Tier 3) of further subdivisions includes more detailed areas. When using the SurPass platform, as you start typing the name of the site, a drop down list with related terms will appear (special sites like Inverted Y are included). If the RT site listed in the medical record cannot reasonably be matched to one of the sites listed in the computer, choose ??Other' (.98 in tier 2) and then add in free text the name of this RT site.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Radiotherapy.target.site
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
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: .bodySite

id:
  v: Radiotherapy.target.site.id
path:
  v: Radiotherapy.target.site.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: Radiotherapy.target.site.extension
path:
  v: Radiotherapy.target.site.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: Radiotherapy.target.site.coding
path:
  v: Radiotherapy.target.site.coding
short:
  v: Code defined by a terminology system
definition:
  v: A reference to a code defined by a terminology system.
comment:
  v: Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.
requirements:
  v: Allows for alternative encodings within a code system, and translations to other code systems.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CodeableConcept.coding
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Coding
    l: Coding
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
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.1-8, C*E.10-22
mapping:
  identity:
    v: rim
  map:
    v: union(., ./translation)
mapping:
  identity:
    v: orim
  map:
    v: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding

id:
  v: Radiotherapy.target.site.text
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
    l: elementdefinition-translatable
  value: Boolean
    v: true
path:
  v: Radiotherapy.target.site.text
short:
  v: Plain text representation of the concept
definition:
  v: A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.
comment:
  v: Very often the text is the same as a displayName of one of the codings.
requirements:
  v: The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CodeableConcept.text
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
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
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.9. But note many systems use C*E.2 for this
mapping:
  identity:
    v: rim
  map:
    v: ./originalText[mediaType/code="text/plain"]/data
mapping:
  identity:
    v: orim
  map:
    v: fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText

id:
  v: Radiotherapy.target.site.notes
path:
  v: Radiotherapy.target.site.notes
short:
  v: Additional description
definition:
  v: Record any available details on the shielded tissue/organ (or size of shielded area).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Radiotherapy.target.site.notes
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: .note

id:
  v: Radiotherapy.target.laterality
path:
  v: Radiotherapy.target.laterality
short:
  v: Laterality
definition:
  v: Report laterality of the radiation. R = right, L = left, B = bilateral
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Radiotherapy.target.laterality
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .extension(http://hl7.eu/fhir/ig/pcsp/StructureDefinition/mcode-laterality-qualifier).valueCodeableConcept

id:
  v: Radiotherapy.target.details
path:
  v: Radiotherapy.target.details
short:
  v: Details
definition:
  v: If needed it is possible to add details
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Radiotherapy.target.details
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: .text

id:
  v: Radiotherapy.target.from
path:
  v: Radiotherapy.target.from
short:
  v: Start point
definition:
  v: When the radiation involves more than one site, eventually covering different body areas (e.g. torax and abdomen), select the starting point using the vertebrae to identify the upper limit (e.g.: Thoraco-Abdominal (area): Paraspinal - Thoracic / dorsal vertebra 10)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Radiotherapy.target.from
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: .bodySite.where(extension('mcode-body-location-qualifier').valueCodeableConcept = http://snomed.info/sct#272488003 'From-structure')

id:
  v: Radiotherapy.target.to
path:
  v: Radiotherapy.target.to
short:
  v: End point
definition:
  v: When the radiation involves more than one site, eventually covering different body areas (e.g. torax and abdomen), select the ending point using the vertebrae to identify the lower limit (e.g.: Thoraco-Abdominal (area): Paraspinal - Lumbar vertebra 3)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Radiotherapy.target.to
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: .bodySite.where(extension('mcode-body-location-qualifier').valueCodeableConcept = http://hl7.eu/fhir/ig/pcsp/CodeSystem/cs-generic-eu-pcsp#to-structure 'To-structure')

id:
  v: Radiotherapy.target.position
path:
  v: Radiotherapy.target.position
short:
  v: Position
definition:
  v: Specify whether the radiation was anterior or posterior. 1 => Anterior 2 => Posterior -9922 = NK
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Radiotherapy.target.position
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .extension('http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-body-location-qualifier').valueCodeableConcept

id:
  v: Radiotherapy.target.totalDose
path:
  v: Radiotherapy.target.totalDose
short:
  v: Total dose
definition:
  v: Specify the total dose given to the primary radiation therapy site. If the dose is not known, write NK.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Radiotherapy.target.totalDose
  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).resolve().conformsTo(http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Observation-cumulativeDoseRad-eu-pcsp)

id:
  v: Radiotherapy.target.totalDose.id
path:
  v: Radiotherapy.target.totalDose.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: Radiotherapy.target.totalDose.extension
path:
  v: Radiotherapy.target.totalDose.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: Radiotherapy.target.totalDose.modifierExtension
path:
  v: Radiotherapy.target.totalDose.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: Radiotherapy.target.totalDose.completionStatus
path:
  v: Radiotherapy.target.totalDose.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: Radiotherapy.target.totalDose.completionStatus
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .status = #preliminary

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

id:
  v: Radiotherapy.target.totalDose.notKnown
path:
  v: Radiotherapy.target.totalDose.notKnown
short:
  v: Not known dose
definition:
  v: Not known dose
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Radiotherapy.target.totalDose.notKnown
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: .valueCodeableConcept = http://terminology.hl7.org/CodeSystem/data-absent-reason#unknown

id:
  v: Radiotherapy.target.totalDose.dose
path:
  v: Radiotherapy.target.totalDose.dose
short:
  v: Dose
definition:
  v: Specify the total dose given to the primary radiation therapy site.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Radiotherapy.target.totalDose.dose
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: decimal
    l: decimal
mapping:
  identity:
    v: fhir
  map:
    v: .valueQuantity.value

id:
  v: Radiotherapy.target.totalDose.unit
path:
  v: Radiotherapy.target.totalDose.unit
short:
  v: Measure unit
definition:
  v: External Beam Radiation Therapy (EBRT) and Brachytherapy doses are in Gy. If doses are reported in cGY, roughly two zeroes need to be deleted (e.g. 100 cGy = 1 Gy). specify if dose is recorded in bequerels (MBq or GBq) or curies (Ci) or Unkwnon
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Radiotherapy.target.totalDose.unit
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .valueQuantity.code

id:
  v: Radiotherapy.target.totalDose.fractions
path:
  v: Radiotherapy.target.totalDose.fractions
short:
  v: Number of fractions (if external beam)
definition:
  v: A FRACTION of radiation treatment is a single attendance for treatment; if 'not known' insert NK
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Radiotherapy.target.totalDose.fractions
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: integer
    l: integer
mapping:
  identity:
    v: fhir
  map:
    v: .extension(http://hl7.eu/fhir/ig/pcsp/StructureDefinition/procedure-performedTiming).valueTiming.repeat.count

id:
  v: Radiotherapy.target.boost
path:
  v: Radiotherapy.target.boost
short:
  v: Boost
definition:
  v: A boost is an extra dose of radiotherapy directed to a smaller area inside the primary radiation field. (only if type is External Beam)
min:
  v: 0
max:
  v: 5
base:
  path:
    v: Radiotherapy.target.boost
  min:
    v: 0
  max:
    v: 5
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: Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-radiotheraphyBoost-eu-pcsp')

id:
  v: Radiotherapy.target.boost.id
path:
  v: Radiotherapy.target.boost.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: Radiotherapy.target.boost.extension
path:
  v: Radiotherapy.target.boost.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: Radiotherapy.target.boost.modifierExtension
path:
  v: Radiotherapy.target.boost.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: Radiotherapy.target.boost.type
path:
  v: Radiotherapy.target.boost.type
short:
  v: Type of Boost
definition:
  v: Specify radiation type of the boost. 1 => External Beam 2 => Brachytherapy -9922 => NK �
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Radiotherapy.target.boost.type
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .partOf.resolve().code

id:
  v: Radiotherapy.target.boost.given
path:
  v: Radiotherapy.target.boost.given
short:
  v: Boost given
definition:
  v: Flag indicating if a boost was given, not given or unknown
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Radiotherapy.target.boost.given
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .status

id:
  v: Radiotherapy.target.boost.site
path:
  v: Radiotherapy.target.boost.site
short:
  v: Boost site
definition:
  v: Site' refers to the radiation therapy treatment field. As you start typing the name of the site, a drop down list with related terms will appear (special sites like Inverted Y are included). If the RT site listed in the medical record cannot reasonably be matched to one of the sites listed in the computer, choose: ??Other' and then add in free text the name of this RT site. required if given
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Radiotherapy.target.boost.site
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .bodySite
mapping:
  identity:
    v: fhir
  map:
    v: .extension(http://hl7.eu/fhir/ig/pcsp/StructureDefinition/ResourceRelatedInfo-eu-pcsp).resolve().conformsTo(http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Observation-cumulativeDoseRad-eu-pcsp).bodySite

id:
  v: Radiotherapy.target.boost.laterality
path:
  v: Radiotherapy.target.boost.laterality
short:
  v: Laterality
definition:
  v: Report laterality of the radiation. R = right, L = left, B = bilateral
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Radiotherapy.target.boost.laterality
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .extension(http://hl7.eu/fhir/ig/pcsp/StructureDefinition/mcode-laterality-qualifier).valueCodeableConcept

id:
  v: Radiotherapy.target.boost.details
path:
  v: Radiotherapy.target.boost.details
short:
  v: Details
definition:
  v: If needed it is possible to add details
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Radiotherapy.target.boost.details
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: .note

id:
  v: Radiotherapy.target.boost.from
path:
  v: Radiotherapy.target.boost.from
short:
  v: Start point
definition:
  v: When the radiation involves more than one site, eventually covering different body areas (e.g. torax and abdomen), select the starting point using the vertebrae to identify the upper limit (e.g.: Thoraco-Abdominal (area): Paraspinal - Thoracic / dorsal vertebra 10)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Radiotherapy.target.boost.from
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: .bodySite.where(extension(http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-body-location-qualifier).valueCodeableConcept = http://snomed.info/sct#272488003 'From-structure')

id:
  v: Radiotherapy.target.boost.to
path:
  v: Radiotherapy.target.boost.to
short:
  v: End point
definition:
  v: When the radiation involves more than one site, eventually covering different body areas (e.g. torax and abdomen), select the ending point using the vertebrae to identify the lower limit (e.g.: Thoraco-Abdominal (area): Paraspinal - Lumbar vertebra 3)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Radiotherapy.target.boost.to
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: .bodySite.where(extension(http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-body-location-qualifier).valueCodeableConcept = http://hl7.eu/fhir/ig/pcsp/CodeSystem/cs-generic-eu-pcsp#to-structure 'To-structure')

id:
  v: Radiotherapy.target.boost.position
path:
  v: Radiotherapy.target.boost.position
short:
  v: Position
definition:
  v: Specify whether the radiation was anterior or posterior. 1 => Anterior 2 => Posterior -9922 = NK
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Radiotherapy.target.boost.position
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .extension(http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-body-location-qualifier).valueCodeableConcept

id:
  v: Radiotherapy.target.boost.totalDose
path:
  v: Radiotherapy.target.boost.totalDose
short:
  v: Total dose
definition:
  v: Specify the total dose given to the boost site.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Radiotherapy.target.boost.totalDose
  min:
    v: 1
  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).resolve().conformsTo(http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Observation-cumulativeDoseRad-eu-pcsp)

id:
  v: Radiotherapy.target.boost.totalDose.id
path:
  v: Radiotherapy.target.boost.totalDose.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: Radiotherapy.target.boost.totalDose.extension
path:
  v: Radiotherapy.target.boost.totalDose.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: Radiotherapy.target.boost.totalDose.modifierExtension
path:
  v: Radiotherapy.target.boost.totalDose.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: Radiotherapy.target.boost.totalDose.completionStatus
path:
  v: Radiotherapy.target.boost.totalDose.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: Radiotherapy.target.boost.totalDose.completionStatus
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .status = #preliminary

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

id:
  v: Radiotherapy.target.boost.totalDose.notKnown
path:
  v: Radiotherapy.target.boost.totalDose.notKnown
short:
  v: Not known dose
definition:
  v: Not known dose
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Radiotherapy.target.boost.totalDose.notKnown
  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

id:
  v: Radiotherapy.target.boost.totalDose.dose
path:
  v: Radiotherapy.target.boost.totalDose.dose
short:
  v: Dose
definition:
  v: Specify the total dose given to the boost site.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Radiotherapy.target.boost.totalDose.dose
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: decimal
    l: decimal
mapping:
  identity:
    v: fhir
  map:
    v: .valueQuantity.value

id:
  v: Radiotherapy.target.boost.totalDose.unit
path:
  v: Radiotherapy.target.boost.totalDose.unit
short:
  v: Unit
definition:
  v: Specify the unit of the boost in case of external beam radiotherapy as Gy. specify if dose is recorded in bequerels (MBq or GBq) or curies (Ci) or Unkwnon
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Radiotherapy.target.boost.totalDose.unit
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .valueQuantity.code

id:
  v: Radiotherapy.target.boost.totalDose.fractions
path:
  v: Radiotherapy.target.boost.totalDose.fractions
short:
  v: Number of fractions (if external beam)
definition:
  v: A fraction of radiation treatment is a single attendance for treatment. Please specify the number of fractions given as included in the boost. If not known, insert NK.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Radiotherapy.target.boost.totalDose.fractions
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: integer
    l: integer
mapping:
  identity:
    v: fhir
  map:
    v: .extension(http://hl7.eu/fhir/ig/pcsp/StructureDefinition/procedure-performedTiming).valueTiming.repeat.count

id:
  v: Radiotherapy.target.shielding
path:
  v: Radiotherapy.target.shielding
short:
  v: Shielding
definition:
  v: Shielding, in some records this is called ?blocking? or ?blocks?.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Radiotherapy.target.shielding
  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: Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-radiotheraphyShield-eu-pcsp')

id:
  v: Radiotherapy.target.shielding.id
path:
  v: Radiotherapy.target.shielding.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: Radiotherapy.target.shielding.extension
path:
  v: Radiotherapy.target.shielding.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: Radiotherapy.target.shielding.modifierExtension
path:
  v: Radiotherapy.target.shielding.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: Radiotherapy.target.shielding.status
path:
  v: Radiotherapy.target.shielding.status
short:
  v: Shielding status
definition:
  v: Specify if shielding was used or not. Yes; No; NK �
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Radiotherapy.target.shielding.status
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .status

id:
  v: Radiotherapy.target.shielding.position
path:
  v: Radiotherapy.target.shielding.position
short:
  v: Position of shielding
definition:
  v: Describe the positioning of shielding
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Radiotherapy.target.shielding.position
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: .bodySite

id:
  v: Radiotherapy.organAtRisk
path:
  v: Radiotherapy.organAtRisk
short:
  v: Organ at Risk
definition:
  v: Organs at Risk
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Radiotherapy.organAtRisk
  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.org/fhir/StructureDefinition/workflow-supportingInfo).ofType(DocumentReference)

id:
  v: Radiotherapy.organAtRisk.id
path:
  v: Radiotherapy.organAtRisk.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: Radiotherapy.organAtRisk.extension
path:
  v: Radiotherapy.organAtRisk.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: Radiotherapy.organAtRisk.modifierExtension
path:
  v: Radiotherapy.organAtRisk.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: Radiotherapy.organAtRisk.dosimetry
path:
  v: Radiotherapy.organAtRisk.dosimetry
short:
  v: Dosimetry on Organ at Risk
definition:
  v: Specify if there is available information on Dosimetry of Organs at Risk [Yes/No]
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Radiotherapy.organAtRisk.dosimetry
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .exists()

id:
  v: Radiotherapy.organAtRisk.dosimetryDocument
path:
  v: Radiotherapy.organAtRisk.dosimetryDocument
short:
  v: Electronic / scanned version(s) of relevant document(s)
definition:
  v: If Dosimetry on Organ at Risk is available, upload here the electronic / scanned version(s) of any relevant document(s)
min:
  v: 0
max:
  v: 2
base:
  path:
    v: Radiotherapy.organAtRisk.dosimetryDocument
  min:
    v: 0
  max:
    v: 2
type:
  code:
    v: Binary
    l: Binary
mapping:
  identity:
    v: fhir
  map:
    v: .

id:
  v: Radiotherapy.files
path:
  v: Radiotherapy.files
short:
  v: Upload radiotherapy file (1)
definition:
  v: Radiotherapy file(s) can be uploaded here
min:
  v: 0
max:
  v: 2
base:
  path:
    v: Radiotherapy.files
  min:
    v: 0
  max:
    v: 2
type:
  code:
    v: Binary
    l: Binary
mapping:
  identity:
    v: fhir
  map:
    v: .extension(http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo).ofType(DocumentReference)

id:
  v: Radiotherapy.notes
path:
  v: Radiotherapy.notes
short:
  v: Notes
definition:
  v: Notes
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Radiotherapy.notes
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: .note

element:
  id:
    v: Radiotherapy
  path:
    v: Radiotherapy
  short:
    v: Radiotherapy
  definition:
    v: Radiotherapy
  mapping:
    identity:
      v: fhir
    map:
      v: Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-radiotheraphy-eu-pcsp')
element:
  id:
    v: Radiotherapy.relatedDiagnosis
  path:
    v: Radiotherapy.relatedDiagnosis
  short:
    v: Related Diagnosis
  definition:
    v: Identifier of the diagnosis for which this radiotherapy is performed
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Identifier
      l: Identifier
  mapping:
    identity:
      v: fhir
    map:
      v: .reasonReference
element:
  id:
    v: Radiotherapy.relatedRelapse
  path:
    v: Radiotherapy.relatedRelapse
  short:
    v: Related relapse/progression (after FLT)
  definition:
    v: Identifier of the relapse/progression (after FLT) for which this radiotherapy is performed
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Identifier
      l: Identifier
  mapping:
    identity:
      v: fhir
    map:
      v: .reasonReference
element:
  id:
    v: Radiotherapy.identifier
  path:
    v: Radiotherapy.identifier
  short:
    v: Identifier of the radotherapy episode
  definition:
    v: Progressive number of radotherapy episode. An EPISODE might be a single or several courses of pre-planned treatment within a consecutive time period to different sites. For example, if a patient had radiotherapy to a limb and also to the lungs for a Ewing?s sarcoma these should be entered in one episode of treatment but as separate radiotherapy courses with their respective site, total dose, and number of fractions. They will both be within one episode
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: Identifier
      l: Identifier
  mapping:
    identity:
      v: fhir
    map:
      v: .identifier
element:
  id:
    v: Radiotherapy.istitutionOfTreatment
  path:
    v: Radiotherapy.istitutionOfTreatment
  short:
    v: Institution of treatment
  definition:
    v: Please indicate the institution in which the radiotherapeutic treatment was given
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
  mapping:
    identity:
      v: fhir
    map:
      v: .location.resolve().conformsTo(http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Location-eu-pcsp)
element:
  id:
    v: Radiotherapy.istitutionOfTreatment.description
  path:
    v: Radiotherapy.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: Radiotherapy.istitutionOfTreatment.name
  path:
    v: Radiotherapy.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: Radiotherapy.istitutionOfTreatment.address
  path:
    v: Radiotherapy.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: Radiotherapy.istitutionOfTreatment.address.name
  path:
    v: Radiotherapy.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: Radiotherapy.istitutionOfTreatment.address.country
  path:
    v: Radiotherapy.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: Radiotherapy.startDate
path:
  v: Radiotherapy.startDate
short:
  v: Start date
definition:
  v: Enter the date on which the first treatment (fraction) of radiotherapy was given, in a DD/MM/YYYY format. 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: .performedPeriod.start

id:
  v: Radiotherapy.enddate
path:
  v: Radiotherapy.enddate
short:
  v: End date
definition:
  v: Enter the full date on which the last treatment (fraction) of radiotherapy was given in a DD/MM/YYYY format. When only a single radiation treatment/fraction was given, the start and end dates will be the same. 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: .performedPeriod.end

id:
  v: Radiotherapy.type
path:
  v: Radiotherapy.type
short:
  v: Type of radiotherapy
definition:
  v: External Beam Radiation: The radiation is produced by a large machine, and the type of the machine needs to be recorded in the subsequent field. Brachytherapy: a material that is radioactive (often a fine wire or a tiny ?seed?) is placed on or in the body to give a very localized high dose of radiation. Details will be asked in the next field Metabolic or radionuclide treatment/therapy: a liquid substance is injected into the blood stream and carries radiation throughout the body with the aim of reaching tumour tissue. Also in this case, details will be asked in the subsequent field. 1 => External beam 2 => Brachytherapy 3 => Metabolic/radionuclide therapy
min:
  v: 1
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .code

id:
  v: Radiotherapy.deviceType
path:
  v: Radiotherapy.deviceType
short:
  v: type of machine (If external beam)
definition:
  v: A detailed description of the type of machine can be found in the user's manual. If you have the name of a machine but cannot find it in this list, please select Other and add the name in free text. If you know the treatment was with external beam but not which machine or energy, select 'Unknown'. 1 =>Orthovoltage / kilovoltage usually 200 - 300kv X rays/photons 2 =>Linac (Linear Accelerator) megavoltage MV X Rays/photons 3 =>Linac (Linear Accelerator) electrons 4 => Cobalt - MV gamma rays / photons 5 => Proton Beam 6 => Other, if other specify the name -9922 => Unknown
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .usedCode

id:
  v: Radiotherapy.brachytherapyType
path:
  v: Radiotherapy.brachytherapyType
short:
  v: type of brachytherapy (if brachytherapy)
definition:
  v: ? Surface brachytherapy - a radiation source (radioactive material) is positioned on a superficial tumour ? Interstitial brachytherapy ? a radiation source is implanted into a tumour ? Intracavitary or intraluminal brachytherapy - a radiation source is introduced in special applicators into a body cavity or lumen 1 => Surface brachytherapy 2 => Interstitial brachytherapy 3 => Intracavitary or intraluminal brachytherapy -9922=> Unknown
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .extension('http://hl7.org/fhir/StructureDefinition/procedure-method').valueCodeableConcept

id:
  v: Radiotherapy.isotopes
path:
  v: Radiotherapy.isotopes
short:
  v: Radioactive materials (if brachytherapy)
definition:
  v: Specify the radioactive material (isotopes) used: If not listed, select 'Other then specify' 1 => Iridium (Ir) 2 => Gold (Au) 3 => Iodine (I) 4 => Caesium (Cs) 5 => Other -9922 => Unknown
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .extension('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/radiotherapy-energy-or-isotope').valueCodeableConcept

id:
  v: Radiotherapy.radionuclides
path:
  v: Radiotherapy.radionuclides
short:
  v: radionuclides (required If metabolic/radionuclide)
definition:
  v: A detailed description of the radionuclides can be found in the user's manual. If you have the name of a radionuclide but cannot find it in this list, please select Other and add the name in free text. If you know the treatment was with external beam but not which machine or energy, select 'Unknown'. 1 => Iodine-131 2 => MIBG 3 =>Yttrium 90 4 => Other -9922 => Unknown
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .extension('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/radiotherapy-energy-or-isotope').valueCodeableConcept

id:
  v: Radiotherapy.numberOfCourses
path:
  v: Radiotherapy.numberOfCourses
short:
  v: Number of courses (If metabolic/radionuclide)
definition:
  v: For Metabolic/radionuclide therapy
min:
  v: 0
max:
  v: 1
type:
  code:
    v: integer
    l: integer
mapping:
  identity:
    v: fhir
  map:
    v: .extension(http://hl7.eu/fhir/ig/pcsp/StructureDefinition/procedure-performedTiming).valueTiming.repeat.count

id:
  v: Radiotherapy.target
path:
  v: Radiotherapy.target
short:
  v: Target
definition:
  v: Site' refers to the radiation therapy treatment field, i.e. the part of the body that received the radiation dose in order to treat the tumour. Required if Type of radiotherapy = 1 or 2 (External Beam, Brachytherapy)� If more than one body site was treated with radiotherapy, you can add anther site and describe; upto 5 sites are allowed by the system
min:
  v: 0
max:
  v: 5
type:
  code:
    v: BackboneElement
    l: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: .bodySite
mapping:
  identity:
    v: fhir
  map:
    v: .extension(http://hl7.eu/fhir/ig/pcsp/StructureDefinition/ResourceRelatedInfo-eu-pcsp).resolve().conformsTo(http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Observation-cumulativeDoseRad-eu-pcsp)

id:
  v: Radiotherapy.target.site
path:
  v: Radiotherapy.target.site
short:
  v: Body Site Code
definition:
  v: RT sites are coded with a 3 tier level (see list). The first is ?Tier 1?. The first digit/s of the code, describes the large topographical body areas e.g. brain, chest, abdomen, limb. Since radiation fields often involve more than one topographical area we have added ?cervico-thoracic?, ?thoraco abdominal? and ?abdomino pelvic? areas to Tier 1. The second (Tier 2) includes subcategories of Tier 1 sites e.g. brain stem, heart, liver, upper limb. Where the information is available a third (Tier 3) of further subdivisions includes more detailed areas. When using the SurPass platform, as you start typing the name of the site, a drop down list with related terms will appear (special sites like Inverted Y are included). If the RT site listed in the medical record cannot reasonably be matched to one of the sites listed in the computer, choose ??Other' (.98 in tier 2) and then add in free text the name of this RT site.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .bodySite

id:
  v: Radiotherapy.target.site.notes
path:
  v: Radiotherapy.target.site.notes
short:
  v: Additional description
definition:
  v: Record any available details on the shielded tissue/organ (or size of shielded area).
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: .note

id:
  v: Radiotherapy.target.laterality
path:
  v: Radiotherapy.target.laterality
short:
  v: Laterality
definition:
  v: Report laterality of the radiation. R = right, L = left, B = bilateral
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .extension(http://hl7.eu/fhir/ig/pcsp/StructureDefinition/mcode-laterality-qualifier).valueCodeableConcept

id:
  v: Radiotherapy.target.details
path:
  v: Radiotherapy.target.details
short:
  v: Details
definition:
  v: If needed it is possible to add details
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: .text

id:
  v: Radiotherapy.target.from
path:
  v: Radiotherapy.target.from
short:
  v: Start point
definition:
  v: When the radiation involves more than one site, eventually covering different body areas (e.g. torax and abdomen), select the starting point using the vertebrae to identify the upper limit (e.g.: Thoraco-Abdominal (area): Paraspinal - Thoracic / dorsal vertebra 10)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: .bodySite.where(extension('mcode-body-location-qualifier').valueCodeableConcept = http://snomed.info/sct#272488003 'From-structure')

id:
  v: Radiotherapy.target.to
path:
  v: Radiotherapy.target.to
short:
  v: End point
definition:
  v: When the radiation involves more than one site, eventually covering different body areas (e.g. torax and abdomen), select the ending point using the vertebrae to identify the lower limit (e.g.: Thoraco-Abdominal (area): Paraspinal - Lumbar vertebra 3)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: .bodySite.where(extension('mcode-body-location-qualifier').valueCodeableConcept = http://hl7.eu/fhir/ig/pcsp/CodeSystem/cs-generic-eu-pcsp#to-structure 'To-structure')

id:
  v: Radiotherapy.target.position
path:
  v: Radiotherapy.target.position
short:
  v: Position
definition:
  v: Specify whether the radiation was anterior or posterior. 1 => Anterior 2 => Posterior -9922 = NK
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .extension('http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-body-location-qualifier').valueCodeableConcept

id:
  v: Radiotherapy.target.totalDose
path:
  v: Radiotherapy.target.totalDose
short:
  v: Total dose
definition:
  v: Specify the total dose given to the primary radiation therapy site. If the dose is not known, write NK.
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).resolve().conformsTo(http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Observation-cumulativeDoseRad-eu-pcsp)

id:
  v: Radiotherapy.target.totalDose.completionStatus
path:
  v: Radiotherapy.target.totalDose.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: Radiotherapy.target.totalDose.statusReason
path:
  v: Radiotherapy.target.totalDose.statusReason
short:
  v: Specify reasons why
definition:
  v: Specify reasons of incomplete estimated doses
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .extension('http://hl7.org/fhir/StructureDefinition/event-statusReason')

id:
  v: Radiotherapy.target.totalDose.notKnown
path:
  v: Radiotherapy.target.totalDose.notKnown
short:
  v: Not known dose
definition:
  v: Not known dose
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: .valueCodeableConcept = http://terminology.hl7.org/CodeSystem/data-absent-reason#unknown

id:
  v: Radiotherapy.target.totalDose.dose
path:
  v: Radiotherapy.target.totalDose.dose
short:
  v: Dose
definition:
  v: Specify the total dose given to the primary radiation therapy site.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: decimal
    l: decimal
mapping:
  identity:
    v: fhir
  map:
    v: .valueQuantity.value

id:
  v: Radiotherapy.target.totalDose.unit
path:
  v: Radiotherapy.target.totalDose.unit
short:
  v: Measure unit
definition:
  v: External Beam Radiation Therapy (EBRT) and Brachytherapy doses are in Gy. If doses are reported in cGY, roughly two zeroes need to be deleted (e.g. 100 cGy = 1 Gy). specify if dose is recorded in bequerels (MBq or GBq) or curies (Ci) or Unkwnon
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .valueQuantity.code

id:
  v: Radiotherapy.target.totalDose.fractions
path:
  v: Radiotherapy.target.totalDose.fractions
short:
  v: Number of fractions (if external beam)
definition:
  v: A FRACTION of radiation treatment is a single attendance for treatment; if 'not known' insert NK
min:
  v: 0
max:
  v: 1
type:
  code:
    v: integer
    l: integer
mapping:
  identity:
    v: fhir
  map:
    v: .extension(http://hl7.eu/fhir/ig/pcsp/StructureDefinition/procedure-performedTiming).valueTiming.repeat.count

id:
  v: Radiotherapy.target.boost
path:
  v: Radiotherapy.target.boost
short:
  v: Boost
definition:
  v: A boost is an extra dose of radiotherapy directed to a smaller area inside the primary radiation field. (only if type is External Beam)
min:
  v: 0
max:
  v: 5
type:
  code:
    v: BackboneElement
    l: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-radiotheraphyBoost-eu-pcsp')

id:
  v: Radiotherapy.target.boost.type
path:
  v: Radiotherapy.target.boost.type
short:
  v: Type of Boost
definition:
  v: Specify radiation type of the boost. 1 => External Beam 2 => Brachytherapy -9922 => NK �
min:
  v: 1
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .partOf.resolve().code

id:
  v: Radiotherapy.target.boost.given
path:
  v: Radiotherapy.target.boost.given
short:
  v: Boost given
definition:
  v: Flag indicating if a boost was given, not given or unknown
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .status

id:
  v: Radiotherapy.target.boost.site
path:
  v: Radiotherapy.target.boost.site
short:
  v: Boost site
definition:
  v: Site' refers to the radiation therapy treatment field. As you start typing the name of the site, a drop down list with related terms will appear (special sites like Inverted Y are included). If the RT site listed in the medical record cannot reasonably be matched to one of the sites listed in the computer, choose: ??Other' and then add in free text the name of this RT site. required if given
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .bodySite
mapping:
  identity:
    v: fhir
  map:
    v: .extension(http://hl7.eu/fhir/ig/pcsp/StructureDefinition/ResourceRelatedInfo-eu-pcsp).resolve().conformsTo(http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Observation-cumulativeDoseRad-eu-pcsp).bodySite

id:
  v: Radiotherapy.target.boost.laterality
path:
  v: Radiotherapy.target.boost.laterality
short:
  v: Laterality
definition:
  v: Report laterality of the radiation. R = right, L = left, B = bilateral
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .extension(http://hl7.eu/fhir/ig/pcsp/StructureDefinition/mcode-laterality-qualifier).valueCodeableConcept

id:
  v: Radiotherapy.target.boost.details
path:
  v: Radiotherapy.target.boost.details
short:
  v: Details
definition:
  v: If needed it is possible to add details
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: .note

id:
  v: Radiotherapy.target.boost.from
path:
  v: Radiotherapy.target.boost.from
short:
  v: Start point
definition:
  v: When the radiation involves more than one site, eventually covering different body areas (e.g. torax and abdomen), select the starting point using the vertebrae to identify the upper limit (e.g.: Thoraco-Abdominal (area): Paraspinal - Thoracic / dorsal vertebra 10)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: .bodySite.where(extension(http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-body-location-qualifier).valueCodeableConcept = http://snomed.info/sct#272488003 'From-structure')

id:
  v: Radiotherapy.target.boost.to
path:
  v: Radiotherapy.target.boost.to
short:
  v: End point
definition:
  v: When the radiation involves more than one site, eventually covering different body areas (e.g. torax and abdomen), select the ending point using the vertebrae to identify the lower limit (e.g.: Thoraco-Abdominal (area): Paraspinal - Lumbar vertebra 3)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: .bodySite.where(extension(http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-body-location-qualifier).valueCodeableConcept = http://hl7.eu/fhir/ig/pcsp/CodeSystem/cs-generic-eu-pcsp#to-structure 'To-structure')

id:
  v: Radiotherapy.target.boost.position
path:
  v: Radiotherapy.target.boost.position
short:
  v: Position
definition:
  v: Specify whether the radiation was anterior or posterior. 1 => Anterior 2 => Posterior -9922 = NK
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .extension(http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-body-location-qualifier).valueCodeableConcept

id:
  v: Radiotherapy.target.boost.totalDose
path:
  v: Radiotherapy.target.boost.totalDose
short:
  v: Total dose
definition:
  v: Specify the total dose given to the boost site.
min:
  v: 1
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).resolve().conformsTo(http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Observation-cumulativeDoseRad-eu-pcsp)

id:
  v: Radiotherapy.target.boost.totalDose.completionStatus
path:
  v: Radiotherapy.target.boost.totalDose.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: Radiotherapy.target.boost.totalDose.statusReason
path:
  v: Radiotherapy.target.boost.totalDose.statusReason
short:
  v: Specify reasons why
definition:
  v: Specify reasons of incomplete estimated doses
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .extension('http://hl7.org/fhir/StructureDefinition/event-statusReason')

id:
  v: Radiotherapy.target.boost.totalDose.notKnown
path:
  v: Radiotherapy.target.boost.totalDose.notKnown
short:
  v: Not known dose
definition:
  v: Not known dose
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

id:
  v: Radiotherapy.target.boost.totalDose.dose
path:
  v: Radiotherapy.target.boost.totalDose.dose
short:
  v: Dose
definition:
  v: Specify the total dose given to the boost site.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: decimal
    l: decimal
mapping:
  identity:
    v: fhir
  map:
    v: .valueQuantity.value

id:
  v: Radiotherapy.target.boost.totalDose.unit
path:
  v: Radiotherapy.target.boost.totalDose.unit
short:
  v: Unit
definition:
  v: Specify the unit of the boost in case of external beam radiotherapy as Gy. specify if dose is recorded in bequerels (MBq or GBq) or curies (Ci) or Unkwnon
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .valueQuantity.code

id:
  v: Radiotherapy.target.boost.totalDose.fractions
path:
  v: Radiotherapy.target.boost.totalDose.fractions
short:
  v: Number of fractions (if external beam)
definition:
  v: A fraction of radiation treatment is a single attendance for treatment. Please specify the number of fractions given as included in the boost. If not known, insert NK.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: integer
    l: integer
mapping:
  identity:
    v: fhir
  map:
    v: .extension(http://hl7.eu/fhir/ig/pcsp/StructureDefinition/procedure-performedTiming).valueTiming.repeat.count

id:
  v: Radiotherapy.target.shielding
path:
  v: Radiotherapy.target.shielding
short:
  v: Shielding
definition:
  v: Shielding, in some records this is called ?blocking? or ?blocks?.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: Procedure.conformsTo('http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Procedure-radiotheraphyShield-eu-pcsp')

id:
  v: Radiotherapy.target.shielding.status
path:
  v: Radiotherapy.target.shielding.status
short:
  v: Shielding status
definition:
  v: Specify if shielding was used or not. Yes; No; NK �
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .status

id:
  v: Radiotherapy.target.shielding.position
path:
  v: Radiotherapy.target.shielding.position
short:
  v: Position of shielding
definition:
  v: Describe the positioning of shielding
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: .bodySite

id:
  v: Radiotherapy.organAtRisk
path:
  v: Radiotherapy.organAtRisk
short:
  v: Organ at Risk
definition:
  v: Organs at Risk
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: .extension(http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo).ofType(DocumentReference)

id:
  v: Radiotherapy.organAtRisk.dosimetry
path:
  v: Radiotherapy.organAtRisk.dosimetry
short:
  v: Dosimetry on Organ at Risk
definition:
  v: Specify if there is available information on Dosimetry of Organs at Risk [Yes/No]
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: .exists()

id:
  v: Radiotherapy.organAtRisk.dosimetryDocument
path:
  v: Radiotherapy.organAtRisk.dosimetryDocument
short:
  v: Electronic / scanned version(s) of relevant document(s)
definition:
  v: If Dosimetry on Organ at Risk is available, upload here the electronic / scanned version(s) of any relevant document(s)
min:
  v: 0
max:
  v: 2
type:
  code:
    v: Binary
    l: Binary
mapping:
  identity:
    v: fhir
  map:
    v: .

id:
  v: Radiotherapy.files
path:
  v: Radiotherapy.files
short:
  v: Upload radiotherapy file (1)
definition:
  v: Radiotherapy file(s) can be uploaded here
min:
  v: 0
max:
  v: 2
type:
  code:
    v: Binary
    l: Binary
mapping:
  identity:
    v: fhir
  map:
    v: .extension(http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo).ofType(DocumentReference)

id:
  v: Radiotherapy.notes
path:
  v: Radiotherapy.notes
short:
  v: Notes
definition:
  v: Notes
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: .note