Onconova Implementation Guide
0.2.0 - ci-build

Onconova Implementation Guide - Local Development build (v0.2.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: Therapy Line Profile

Official URL: http://onconova.github.io/fhir/StructureDefinition/onconova-therapy-line Version: 0.2.0
Active as of 2025-10-17 Computable Name: OnconovaTherapyLine

A profile representing a line of therapy in a cancer treatment regimen, including details about the therapy line number, associated treatments, and relevant dates.

Due to its abstract conceptual nature, it is based on a FHIR List to capture the specific resources involved in the therapy line. Therapy lines in Onconova are assigned automatically based on existing Procedure and MedicationAdministration resources and are not created manually.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. List C 0..* List(4.0.1) A list is a curated collection of resources
Constraints: lst-1, lst-2, lst-3, o-lin-req-1, o-lin-req-2, o-lin-req-3
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:therapyLinePeriod 0..1 Period The period during which the therapy line was performed
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-period
Constraints: ext-1
.... extension:therapyLineNumber 0..1 positiveInt The number representing the sequence of the therapy line in the overall treatment regimen
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-number
Constraints: ext-1
.... extension:therapyLineIntent 0..1 CodeableConcept The intent of the therapy line, such as curative or palliative
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-intent
Binding: ProcedureIntentVS (4.0.0) (required)
Constraints: ext-1
.... extension:therapyLineProgressionFreeSurvival 0..1 Duration The progression-free survival duration for the therapy line
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-progression-free-survival
Constraints: ext-1
.... extension:therapyLineProgressionDate 0..1 date The date when disease progression was observed during or after the therapy line
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-progression-date
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... mode ?!Σ 1..1 code working | snapshot | changes
Binding: ListMode (required): The processing mode that applies to this list.
Required Pattern: working
... code Σ 0..1 CodeableConcept What the purpose of this list is
Binding: ExampleUseCodesForList (example): What the purpose of a list is.
Required Pattern: At least the following
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: C133518
..... display 1..1 string Representation defined by the system
Fixed Value: Line of Therapy
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
... subject Σ 0..1 Reference(Cancer Patient Profile(0.2.0)) The patient receiving the therapy
... encounter 0..1 Reference(Encounter) Not used in this profile
... date Σ 0..1 dateTime Not used in this profile
... source Σ 0..1 Reference(Practitioner | PractitionerRole | Patient | Device) Not used in this profile
... entry SC 0..* BackboneElement The therapies or procedures that are part of this therapy line
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... deleted ?!C 0..1 boolean If this item is actually marked as deleted
.... item 1..1 Reference(Medication Administration Profile(0.2.0) | Radiotherapy Summary Profile(0.2.0) | Surgical Procedure Profile(0.2.0)) Actual entry

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
List.status Base required ListStatus 📍4.0.1 FHIR Std.
List.mode Base required ListMode 📍4.0.1 FHIR Std.
List.code Base example Example Use Codes for List 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error List If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error List If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error List If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error List If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice List A resource should have narrative for robust management text.`div`.exists()
ele-1 error List.implicitRules, List.extension, List.extension:therapyLinePeriod, List.extension:therapyLineNumber, List.extension:therapyLineIntent, List.extension:therapyLineProgressionFreeSurvival, List.extension:therapyLineProgressionDate, List.modifierExtension, List.status, List.mode, List.code, List.subject, List.encounter, List.date, List.source, List.entry, List.entry.modifierExtension, List.entry.deleted, List.entry.item All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error List.extension, List.extension:therapyLinePeriod, List.extension:therapyLineNumber, List.extension:therapyLineIntent, List.extension:therapyLineProgressionFreeSurvival, List.extension:therapyLineProgressionDate, List.modifierExtension, List.entry.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()
lst-1 error List A list can only have an emptyReason if it is empty emptyReason.empty() or entry.empty()
lst-2 error List The deleted flag can only be used if the mode of the list is "changes" mode = 'changes' or entry.deleted.empty()
lst-3 error List An entry date can only be used if the mode of the list is "working" mode = 'working' or entry.date.empty()
o-lin-req-1 error List The subject element is required and must be provided. subject.exists() and subject.resolve().is(Patient)
o-lin-req-2 error List The therapyLineNumber extension is required and must be provided. extension('http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-number').exists()
o-lin-req-3 error List The therapyLineIntent extension is required and must be provided. extension('http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-intent').exists()

This structure is derived from List

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. List C 0..* List(4.0.1) A list is a curated collection of resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:therapyLinePeriod 0..1 Period The period during which the therapy line was performed
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-period
.... extension:therapyLineNumber 0..1 positiveInt The number representing the sequence of the therapy line in the overall treatment regimen
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-number
.... extension:therapyLineIntent 0..1 CodeableConcept The intent of the therapy line, such as curative or palliative
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-intent
Binding: ProcedureIntentVS (4.0.0) (required)
.... extension:therapyLineProgressionFreeSurvival 0..1 Duration The progression-free survival duration for the therapy line
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-progression-free-survival
.... extension:therapyLineProgressionDate 0..1 date The date when disease progression was observed during or after the therapy line
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-progression-date
... status 1..1 code current | retired | entered-in-error
Required Pattern: current
... mode 1..1 code working | snapshot | changes
Required Pattern: working
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: C133518
..... display 1..1 string Representation defined by the system
Fixed Value: Line of Therapy
... subject 0..1 Reference(Cancer Patient Profile(0.2.0)) The patient receiving the therapy
... encounter 0..1 Reference(Encounter) Not used in this profile
... date 0..1 dateTime Not used in this profile
... source 0..1 Reference(Practitioner | PractitionerRole | Patient | Device) Not used in this profile
... entry S 0..* BackboneElement The therapies or procedures that are part of this therapy line
.... item 1..1 Reference(Medication Administration Profile(0.2.0) | Radiotherapy Summary Profile(0.2.0) | Surgical Procedure Profile(0.2.0)) Actual entry

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
o-lin-req-1 error List The subject element is required and must be provided. subject.exists() and subject.resolve().is(Patient)
o-lin-req-2 error List The therapyLineNumber extension is required and must be provided. extension('http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-number').exists()
o-lin-req-3 error List The therapyLineIntent extension is required and must be provided. extension('http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-intent').exists()
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. List C 0..* List(4.0.1) A list is a curated collection of resources
Constraints: lst-1, lst-2, lst-3, o-lin-req-1, o-lin-req-2, o-lin-req-3
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:therapyLinePeriod 0..1 Period The period during which the therapy line was performed
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-period
Constraints: ext-1
.... extension:therapyLineNumber 0..1 positiveInt The number representing the sequence of the therapy line in the overall treatment regimen
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-number
Constraints: ext-1
.... extension:therapyLineIntent 0..1 CodeableConcept The intent of the therapy line, such as curative or palliative
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-intent
Binding: ProcedureIntentVS (4.0.0) (required)
Constraints: ext-1
.... extension:therapyLineProgressionFreeSurvival 0..1 Duration The progression-free survival duration for the therapy line
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-progression-free-survival
Constraints: ext-1
.... extension:therapyLineProgressionDate 0..1 date The date when disease progression was observed during or after the therapy line
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-progression-date
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... identifier 0..* Identifier Business identifier
... status ?!Σ 1..1 code current | retired | entered-in-error
Binding: ListStatus (required): The current state of the list.
Required Pattern: current
... mode ?!Σ 1..1 code working | snapshot | changes
Binding: ListMode (required): The processing mode that applies to this list.
Required Pattern: working
... title Σ 0..1 string Descriptive name for the list
Example General: Dr. Jane's Patients
... code Σ 0..1 CodeableConcept What the purpose of this list is
Binding: ExampleUseCodesForList (example): What the purpose of a list is.
Required Pattern: At least the following
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: C133518
..... display 1..1 string Representation defined by the system
Fixed Value: Line of Therapy
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
... subject Σ 0..1 Reference(Cancer Patient Profile(0.2.0)) The patient receiving the therapy
... encounter 0..1 Reference(Encounter) Not used in this profile
... date Σ 0..1 dateTime Not used in this profile
... source Σ 0..1 Reference(Practitioner | PractitionerRole | Patient | Device) Not used in this profile
... orderedBy 0..1 CodeableConcept What order the list has
Binding: ListOrderCodes (preferred): What order applies to the items in a list.
... note 0..* Annotation Comments about the list
... entry SC 0..* BackboneElement The therapies or procedures that are part of this therapy line
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... flag 0..1 CodeableConcept Status/Workflow information about this item
Binding: PatientMedicineChangeTypes (example): Codes that provide further information about the reason and meaning of the item in the list.
.... deleted ?!C 0..1 boolean If this item is actually marked as deleted
.... date 0..1 dateTime When item added to list
.... item 1..1 Reference(Medication Administration Profile(0.2.0) | Radiotherapy Summary Profile(0.2.0) | Surgical Procedure Profile(0.2.0)) Actual entry
... emptyReason C 0..1 CodeableConcept Why list is empty
Binding: ListEmptyReasons (preferred): If a list is empty, why it is empty.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
List.language Base preferred Common Languages 📍4.0.1 FHIR Std.
List.status Base required ListStatus 📍4.0.1 FHIR Std.
List.mode Base required ListMode 📍4.0.1 FHIR Std.
List.code Base example Example Use Codes for List 📍4.0.1 FHIR Std.
List.orderedBy Base preferred List Order Codes 📍4.0.1 FHIR Std.
List.entry.flag Base example Patient Medicine Change Types 📍4.0.1 FHIR Std.
List.emptyReason Base preferred List Empty Reasons 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error List If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error List If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error List If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error List If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice List A resource should have narrative for robust management text.`div`.exists()
ele-1 error List.meta, List.implicitRules, List.language, List.text, List.extension, List.extension:therapyLinePeriod, List.extension:therapyLineNumber, List.extension:therapyLineIntent, List.extension:therapyLineProgressionFreeSurvival, List.extension:therapyLineProgressionDate, List.modifierExtension, List.identifier, List.status, List.mode, List.title, List.code, List.subject, List.encounter, List.date, List.source, List.orderedBy, List.note, List.entry, List.entry.extension, List.entry.modifierExtension, List.entry.flag, List.entry.deleted, List.entry.date, List.entry.item, List.emptyReason All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error List.extension, List.extension:therapyLinePeriod, List.extension:therapyLineNumber, List.extension:therapyLineIntent, List.extension:therapyLineProgressionFreeSurvival, List.extension:therapyLineProgressionDate, List.modifierExtension, List.entry.extension, List.entry.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()
lst-1 error List A list can only have an emptyReason if it is empty emptyReason.empty() or entry.empty()
lst-2 error List The deleted flag can only be used if the mode of the list is "changes" mode = 'changes' or entry.deleted.empty()
lst-3 error List An entry date can only be used if the mode of the list is "working" mode = 'working' or entry.date.empty()
o-lin-req-1 error List The subject element is required and must be provided. subject.exists() and subject.resolve().is(Patient)
o-lin-req-2 error List The therapyLineNumber extension is required and must be provided. extension('http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-number').exists()
o-lin-req-3 error List The therapyLineIntent extension is required and must be provided. extension('http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-intent').exists()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. List C 0..* List(4.0.1) A list is a curated collection of resources
Constraints: lst-1, lst-2, lst-3, o-lin-req-1, o-lin-req-2, o-lin-req-3
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:therapyLinePeriod 0..1 Period The period during which the therapy line was performed
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-period
Constraints: ext-1
.... extension:therapyLineNumber 0..1 positiveInt The number representing the sequence of the therapy line in the overall treatment regimen
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-number
Constraints: ext-1
.... extension:therapyLineIntent 0..1 CodeableConcept The intent of the therapy line, such as curative or palliative
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-intent
Binding: ProcedureIntentVS (4.0.0) (required)
Constraints: ext-1
.... extension:therapyLineProgressionFreeSurvival 0..1 Duration The progression-free survival duration for the therapy line
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-progression-free-survival
Constraints: ext-1
.... extension:therapyLineProgressionDate 0..1 date The date when disease progression was observed during or after the therapy line
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-progression-date
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... mode ?!Σ 1..1 code working | snapshot | changes
Binding: ListMode (required): The processing mode that applies to this list.
Required Pattern: working
... code Σ 0..1 CodeableConcept What the purpose of this list is
Binding: ExampleUseCodesForList (example): What the purpose of a list is.
Required Pattern: At least the following
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: C133518
..... display 1..1 string Representation defined by the system
Fixed Value: Line of Therapy
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
... subject Σ 0..1 Reference(Cancer Patient Profile(0.2.0)) The patient receiving the therapy
... encounter 0..1 Reference(Encounter) Not used in this profile
... date Σ 0..1 dateTime Not used in this profile
... source Σ 0..1 Reference(Practitioner | PractitionerRole | Patient | Device) Not used in this profile
... entry SC 0..* BackboneElement The therapies or procedures that are part of this therapy line
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... deleted ?!C 0..1 boolean If this item is actually marked as deleted
.... item 1..1 Reference(Medication Administration Profile(0.2.0) | Radiotherapy Summary Profile(0.2.0) | Surgical Procedure Profile(0.2.0)) Actual entry

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
List.status Base required ListStatus 📍4.0.1 FHIR Std.
List.mode Base required ListMode 📍4.0.1 FHIR Std.
List.code Base example Example Use Codes for List 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error List If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error List If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error List If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error List If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice List A resource should have narrative for robust management text.`div`.exists()
ele-1 error List.implicitRules, List.extension, List.extension:therapyLinePeriod, List.extension:therapyLineNumber, List.extension:therapyLineIntent, List.extension:therapyLineProgressionFreeSurvival, List.extension:therapyLineProgressionDate, List.modifierExtension, List.status, List.mode, List.code, List.subject, List.encounter, List.date, List.source, List.entry, List.entry.modifierExtension, List.entry.deleted, List.entry.item All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error List.extension, List.extension:therapyLinePeriod, List.extension:therapyLineNumber, List.extension:therapyLineIntent, List.extension:therapyLineProgressionFreeSurvival, List.extension:therapyLineProgressionDate, List.modifierExtension, List.entry.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()
lst-1 error List A list can only have an emptyReason if it is empty emptyReason.empty() or entry.empty()
lst-2 error List The deleted flag can only be used if the mode of the list is "changes" mode = 'changes' or entry.deleted.empty()
lst-3 error List An entry date can only be used if the mode of the list is "working" mode = 'working' or entry.date.empty()
o-lin-req-1 error List The subject element is required and must be provided. subject.exists() and subject.resolve().is(Patient)
o-lin-req-2 error List The therapyLineNumber extension is required and must be provided. extension('http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-number').exists()
o-lin-req-3 error List The therapyLineIntent extension is required and must be provided. extension('http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-intent').exists()

Differential View

This structure is derived from List

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. List C 0..* List(4.0.1) A list is a curated collection of resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:therapyLinePeriod 0..1 Period The period during which the therapy line was performed
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-period
.... extension:therapyLineNumber 0..1 positiveInt The number representing the sequence of the therapy line in the overall treatment regimen
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-number
.... extension:therapyLineIntent 0..1 CodeableConcept The intent of the therapy line, such as curative or palliative
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-intent
Binding: ProcedureIntentVS (4.0.0) (required)
.... extension:therapyLineProgressionFreeSurvival 0..1 Duration The progression-free survival duration for the therapy line
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-progression-free-survival
.... extension:therapyLineProgressionDate 0..1 date The date when disease progression was observed during or after the therapy line
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-progression-date
... status 1..1 code current | retired | entered-in-error
Required Pattern: current
... mode 1..1 code working | snapshot | changes
Required Pattern: working
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: C133518
..... display 1..1 string Representation defined by the system
Fixed Value: Line of Therapy
... subject 0..1 Reference(Cancer Patient Profile(0.2.0)) The patient receiving the therapy
... encounter 0..1 Reference(Encounter) Not used in this profile
... date 0..1 dateTime Not used in this profile
... source 0..1 Reference(Practitioner | PractitionerRole | Patient | Device) Not used in this profile
... entry S 0..* BackboneElement The therapies or procedures that are part of this therapy line
.... item 1..1 Reference(Medication Administration Profile(0.2.0) | Radiotherapy Summary Profile(0.2.0) | Surgical Procedure Profile(0.2.0)) Actual entry

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
o-lin-req-1 error List The subject element is required and must be provided. subject.exists() and subject.resolve().is(Patient)
o-lin-req-2 error List The therapyLineNumber extension is required and must be provided. extension('http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-number').exists()
o-lin-req-3 error List The therapyLineIntent extension is required and must be provided. extension('http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-intent').exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. List C 0..* List(4.0.1) A list is a curated collection of resources
Constraints: lst-1, lst-2, lst-3, o-lin-req-1, o-lin-req-2, o-lin-req-3
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:therapyLinePeriod 0..1 Period The period during which the therapy line was performed
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-period
Constraints: ext-1
.... extension:therapyLineNumber 0..1 positiveInt The number representing the sequence of the therapy line in the overall treatment regimen
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-number
Constraints: ext-1
.... extension:therapyLineIntent 0..1 CodeableConcept The intent of the therapy line, such as curative or palliative
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-intent
Binding: ProcedureIntentVS (4.0.0) (required)
Constraints: ext-1
.... extension:therapyLineProgressionFreeSurvival 0..1 Duration The progression-free survival duration for the therapy line
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-progression-free-survival
Constraints: ext-1
.... extension:therapyLineProgressionDate 0..1 date The date when disease progression was observed during or after the therapy line
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-progression-date
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... identifier 0..* Identifier Business identifier
... status ?!Σ 1..1 code current | retired | entered-in-error
Binding: ListStatus (required): The current state of the list.
Required Pattern: current
... mode ?!Σ 1..1 code working | snapshot | changes
Binding: ListMode (required): The processing mode that applies to this list.
Required Pattern: working
... title Σ 0..1 string Descriptive name for the list
Example General: Dr. Jane's Patients
... code Σ 0..1 CodeableConcept What the purpose of this list is
Binding: ExampleUseCodesForList (example): What the purpose of a list is.
Required Pattern: At least the following
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: C133518
..... display 1..1 string Representation defined by the system
Fixed Value: Line of Therapy
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
... subject Σ 0..1 Reference(Cancer Patient Profile(0.2.0)) The patient receiving the therapy
... encounter 0..1 Reference(Encounter) Not used in this profile
... date Σ 0..1 dateTime Not used in this profile
... source Σ 0..1 Reference(Practitioner | PractitionerRole | Patient | Device) Not used in this profile
... orderedBy 0..1 CodeableConcept What order the list has
Binding: ListOrderCodes (preferred): What order applies to the items in a list.
... note 0..* Annotation Comments about the list
... entry SC 0..* BackboneElement The therapies or procedures that are part of this therapy line
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... flag 0..1 CodeableConcept Status/Workflow information about this item
Binding: PatientMedicineChangeTypes (example): Codes that provide further information about the reason and meaning of the item in the list.
.... deleted ?!C 0..1 boolean If this item is actually marked as deleted
.... date 0..1 dateTime When item added to list
.... item 1..1 Reference(Medication Administration Profile(0.2.0) | Radiotherapy Summary Profile(0.2.0) | Surgical Procedure Profile(0.2.0)) Actual entry
... emptyReason C 0..1 CodeableConcept Why list is empty
Binding: ListEmptyReasons (preferred): If a list is empty, why it is empty.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
List.language Base preferred Common Languages 📍4.0.1 FHIR Std.
List.status Base required ListStatus 📍4.0.1 FHIR Std.
List.mode Base required ListMode 📍4.0.1 FHIR Std.
List.code Base example Example Use Codes for List 📍4.0.1 FHIR Std.
List.orderedBy Base preferred List Order Codes 📍4.0.1 FHIR Std.
List.entry.flag Base example Patient Medicine Change Types 📍4.0.1 FHIR Std.
List.emptyReason Base preferred List Empty Reasons 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error List If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error List If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error List If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error List If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice List A resource should have narrative for robust management text.`div`.exists()
ele-1 error List.meta, List.implicitRules, List.language, List.text, List.extension, List.extension:therapyLinePeriod, List.extension:therapyLineNumber, List.extension:therapyLineIntent, List.extension:therapyLineProgressionFreeSurvival, List.extension:therapyLineProgressionDate, List.modifierExtension, List.identifier, List.status, List.mode, List.title, List.code, List.subject, List.encounter, List.date, List.source, List.orderedBy, List.note, List.entry, List.entry.extension, List.entry.modifierExtension, List.entry.flag, List.entry.deleted, List.entry.date, List.entry.item, List.emptyReason All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error List.extension, List.extension:therapyLinePeriod, List.extension:therapyLineNumber, List.extension:therapyLineIntent, List.extension:therapyLineProgressionFreeSurvival, List.extension:therapyLineProgressionDate, List.modifierExtension, List.entry.extension, List.entry.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()
lst-1 error List A list can only have an emptyReason if it is empty emptyReason.empty() or entry.empty()
lst-2 error List The deleted flag can only be used if the mode of the list is "changes" mode = 'changes' or entry.deleted.empty()
lst-3 error List An entry date can only be used if the mode of the list is "working" mode = 'working' or entry.date.empty()
o-lin-req-1 error List The subject element is required and must be provided. subject.exists() and subject.resolve().is(Patient)
o-lin-req-2 error List The therapyLineNumber extension is required and must be provided. extension('http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-number').exists()
o-lin-req-3 error List The therapyLineIntent extension is required and must be provided. extension('http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-intent').exists()

 

Other representations of profile: CSV, Excel, Schematron