description: A radiotherapy treatment session with the patient. package_name: hl7.fhir.us.codex 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 serviceType: pattern: type: CodeableConcept value: coding: - {code: '108290001', system: 'http://snomed.info/sct', display: Radiation oncology AND/OR radiotherapy} index: 2 basedOn: index: 3 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: 4 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: 5 min: 0 location: elements: location: type: Reference refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-location'] index: 6 package_version: radiation-therapy-2.0.0-ballot 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-ballot