description: A radiotherapy treatment session with the patient. package_name: hl7.fhir.us.codex-radiation-therapy derivation: constraint name: RadiotherapyTreatmentSession type: Encounter elements: extension: index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: radiotherapySessionNumber: match: {url: null} schema: {short: Session Number, type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/us/codex-radiation-therapy/StructureDefinition/codexrt-radiotherapy-session-number', index: 1} min: 0 max: 1 identifier: index: 2 slicing: rules: open discriminator: - {path: system, type: value} min: null slices: dicomTreatmentSessionUid: match: {system: 'urn:dicom:uid'} schema: short: DICOM Treatment Session UID (300A,0700) mustSupport: true index: 3 elements: system: pattern: {type: Uri, value: 'urn:dicom:uid'} index: 4 serviceType: pattern: type: CodeableConcept value: coding: - {code: '1287742003', system: 'http://snomed.info/sct', display: Radiotherapy (procedure)} index: 5 basedOn: index: 6 slicing: rules: open description: Slicing based on the profile discriminator: - {path: $this.resolve(), type: profile} min: null slices: treatment-plan: match: {} schema: short: Radiotherapy Treatment Plan for which this Session takes place or took place. refers: ['http://hl7.org/fhir/us/codex-radiation-therapy/StructureDefinition/codexrt-radiotherapy-treatment-plan'] type: Reference mustSupport: true array: true index: 7 min: 0 planned-phase: match: {} schema: short: Radiotherapy Planned Phase for which this Session takes place or took place. refers: ['http://hl7.org/fhir/us/codex-radiation-therapy/StructureDefinition/codexrt-radiotherapy-planned-phase'] type: Reference mustSupport: true array: true index: 8 min: 0 location: elements: location: type: Reference refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-location'] index: 9 package_version: 2.0.0 extensions: radiotherapySessionNumber: {url: 'http://hl7.org/fhir/us/codex-radiation-therapy/StructureDefinition/codexrt-radiotherapy-session-number', min: 0, max: 1, short: Session Number, type: Extension, mustSupport: true, index: 1} class: profile kind: resource url: http://hl7.org/fhir/us/codex-radiation-therapy/StructureDefinition/codexrt-radiotherapy-treatment-session base: http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter version: 2.0.0 required: [serviceType]