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
| Official URL: http://onconova.github.io/fhir/StructureDefinition/onconova-therapy-line | Version: 0.2.0 | |||
| Active as of 2026-03-18 | 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.
It is based on a FHIR EpisodeOfCare 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 usually created manually.
Conformance:
EpisodeOfCare resources representing a therapy line in the scope of Onconova SHALL conform to this profile. Any resource intended to conform to this profile SHOULD populate meta.profile accordingly.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | EpisodeOfCare | An association of a Patient with an Organization and Healthcare Provider(s) for a period of time that the Organization assumes some level of responsibility Constraints: o-lin-req-1, o-lin-req-2, o-lin-req-3, o-lin-req-4 | ||||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||||
![]() ![]() ![]() |
O | 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
| ||||||
![]() ![]() ![]() |
O | 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: Treatment Intents Value Set (required)
| ||||||
![]() ![]() ![]() |
O | 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
| ||||||
![]() ![]() ![]() |
O | 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
| ||||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||||
![]() ![]() |
?!Σ | 1..1 | code | Not used in this profile Binding: EpisodeOfCareStatus (required): The status of the episode of care. | ||||||
![]() ![]() |
0..* | BackboneElement | Not used in this profile | |||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||
![]() ![]() ![]() |
1..1 | code | planned | waitlist | active | onhold | finished | cancelled | entered-in-error Binding: EpisodeOfCareStatus (required): The status of the episode of care. | |||||||
![]() ![]() ![]() |
1..1 | Period | Duration the EpisodeOfCare was in the specified status | |||||||
![]() ![]() |
Σ | 0..* | CodeableConcept | Type/class - e.g. specialist referral, disease management Binding: EpisodeOfCareType (example): The type of the episode of care. Required Pattern: At least the following | ||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||||
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: C133518 | |||||||
![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: Line of Therapy | |||||||
![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||||
![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |||||||
![]() ![]() |
Σ | 0..* | BackboneElement | Not used in this profile | ||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Condition) | Conditions/problems/diagnoses this episode of care is for | ||||||
![]() ![]() |
SOΣ | 1..1 | Reference(Cancer Patient Profile) | The patient receiving the therapy
| ||||||
![]() ![]() |
Σ | 0..1 | Reference(Organization) | Not used in this profile | ||||||
![]() ![]() |
SOΣ | 0..1 | Period | The period during which the therapy line was performed
| ||||||
![]() ![]() |
0..* | Reference(ServiceRequest) | Not used in this profile | |||||||
![]() ![]() |
0..1 | Reference(Practitioner | PractitionerRole) | Not used in this profile | |||||||
![]() ![]() |
0..* | Reference(CareTeam) | Not used in this profile | |||||||
![]() ![]() |
0..* | Reference(Account) | Not used in this profile | |||||||
Documentation for this format | ||||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| EpisodeOfCare.status | Base | required | EpisodeOfCareStatus | 📍4.0.1 | FHIR Std. |
| EpisodeOfCare.statusHistory.status | Base | required | EpisodeOfCareStatus | 📍4.0.1 | FHIR Std. |
| EpisodeOfCare.type | Base | example | Episode of care type | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | EpisodeOfCare | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | EpisodeOfCare | 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 | EpisodeOfCare | 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 | EpisodeOfCare | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | EpisodeOfCare | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| o-lin-req-1 | error | EpisodeOfCare | The patient element is required and must be provided. |
patient.exists()
|
| o-lin-req-2 | error | EpisodeOfCare | The period element is required and must be provided. |
period.exists()
|
| o-lin-req-3 | error | EpisodeOfCare | 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-4 | error | EpisodeOfCare | 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 EpisodeOfCare
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | EpisodeOfCare | An association of a Patient with an Organization and Healthcare Provider(s) for a period of time that the Organization assumes some level of responsibility Constraints: o-lin-req-1, o-lin-req-2, o-lin-req-3, o-lin-req-4 | ||||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||||
![]() ![]() ![]() |
O | 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
| ||||||
![]() ![]() ![]() |
O | 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: Treatment Intents Value Set (required)
| ||||||
![]() ![]() ![]() |
O | 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
| ||||||
![]() ![]() ![]() |
O | 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
| ||||||
![]() ![]() |
1..1 | code | Not used in this profile | |||||||
![]() ![]() |
0..* | BackboneElement | Not used in this profile | |||||||
![]() ![]() |
0..* | CodeableConcept | Type/class - e.g. specialist referral, disease management Required Pattern: At least the following | |||||||
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |||||||
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl | |||||||
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: C133518 | |||||||
![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: Line of Therapy | |||||||
![]() ![]() |
0..* | BackboneElement | Not used in this profile | |||||||
![]() ![]() |
SO | 1..1 | Reference(Cancer Patient Profile) | The patient receiving the therapy
| ||||||
![]() ![]() |
0..1 | Reference(Organization) | Not used in this profile | |||||||
![]() ![]() |
SO | 0..1 | Period | The period during which the therapy line was performed
| ||||||
![]() ![]() |
0..* | Reference(ServiceRequest) | Not used in this profile | |||||||
![]() ![]() |
0..1 | Reference(Practitioner | PractitionerRole) | Not used in this profile | |||||||
![]() ![]() |
0..* | Reference(CareTeam) | Not used in this profile | |||||||
![]() ![]() |
0..* | Reference(Account) | Not used in this profile | |||||||
Documentation for this format | ||||||||||
| Id | Grade | Path(s) | Description | Expression |
| o-lin-req-1 | error | EpisodeOfCare | The patient element is required and must be provided. |
patient.exists()
|
| o-lin-req-2 | error | EpisodeOfCare | The period element is required and must be provided. |
period.exists()
|
| o-lin-req-3 | error | EpisodeOfCare | 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-4 | error | EpisodeOfCare | The therapyLineIntent extension is required and must be provided. |
extension('http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-intent').exists()
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | EpisodeOfCare | An association of a Patient with an Organization and Healthcare Provider(s) for a period of time that the Organization assumes some level of responsibility Constraints: o-lin-req-1, o-lin-req-2, o-lin-req-3, o-lin-req-4 | ||||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||||
![]() ![]() |
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 | |||||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||||
![]() ![]() ![]() |
O | 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
| ||||||
![]() ![]() ![]() |
O | 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: Treatment Intents Value Set (required)
| ||||||
![]() ![]() ![]() |
O | 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
| ||||||
![]() ![]() ![]() |
O | 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
| ||||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||||
![]() ![]() |
0..* | Identifier | Business Identifier(s) relevant for this EpisodeOfCare | |||||||
![]() ![]() |
?!Σ | 1..1 | code | Not used in this profile Binding: EpisodeOfCareStatus (required): The status of the episode of care. | ||||||
![]() ![]() |
0..* | BackboneElement | Not used in this profile | |||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||
![]() ![]() ![]() |
1..1 | code | planned | waitlist | active | onhold | finished | cancelled | entered-in-error Binding: EpisodeOfCareStatus (required): The status of the episode of care. | |||||||
![]() ![]() ![]() |
1..1 | Period | Duration the EpisodeOfCare was in the specified status | |||||||
![]() ![]() |
Σ | 0..* | CodeableConcept | Type/class - e.g. specialist referral, disease management Binding: EpisodeOfCareType (example): The type of the episode of care. Required Pattern: At least the following | ||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||||
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: C133518 | |||||||
![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: Line of Therapy | |||||||
![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||||
![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |||||||
![]() ![]() |
Σ | 0..* | BackboneElement | Not used in this profile | ||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Condition) | Conditions/problems/diagnoses this episode of care is for | ||||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Role that this diagnosis has within the episode of care (e.g. admission, billing, discharge …) Binding: DiagnosisRole (preferred): The type of diagnosis this condition represents. | ||||||
![]() ![]() ![]() |
Σ | 0..1 | positiveInt | Ranking of the diagnosis (for each role type) | ||||||
![]() ![]() |
SOΣ | 1..1 | Reference(Cancer Patient Profile) | The patient receiving the therapy
| ||||||
![]() ![]() |
Σ | 0..1 | Reference(Organization) | Not used in this profile | ||||||
![]() ![]() |
SOΣ | 0..1 | Period | The period during which the therapy line was performed
| ||||||
![]() ![]() |
0..* | Reference(ServiceRequest) | Not used in this profile | |||||||
![]() ![]() |
0..1 | Reference(Practitioner | PractitionerRole) | Not used in this profile | |||||||
![]() ![]() |
0..* | Reference(CareTeam) | Not used in this profile | |||||||
![]() ![]() |
0..* | Reference(Account) | Not used in this profile | |||||||
Documentation for this format | ||||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| EpisodeOfCare.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| EpisodeOfCare.status | Base | required | EpisodeOfCareStatus | 📍4.0.1 | FHIR Std. |
| EpisodeOfCare.statusHistory.status | Base | required | EpisodeOfCareStatus | 📍4.0.1 | FHIR Std. |
| EpisodeOfCare.type | Base | example | Episode of care type | 📍4.0.1 | FHIR Std. |
| EpisodeOfCare.diagnosis.role | Base | preferred | DiagnosisRole | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | EpisodeOfCare | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | EpisodeOfCare | 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 | EpisodeOfCare | 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 | EpisodeOfCare | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | EpisodeOfCare | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| o-lin-req-1 | error | EpisodeOfCare | The patient element is required and must be provided. |
patient.exists()
|
| o-lin-req-2 | error | EpisodeOfCare | The period element is required and must be provided. |
period.exists()
|
| o-lin-req-3 | error | EpisodeOfCare | 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-4 | error | EpisodeOfCare | 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 EpisodeOfCare
Summary
Must-Support: 2 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | EpisodeOfCare | An association of a Patient with an Organization and Healthcare Provider(s) for a period of time that the Organization assumes some level of responsibility Constraints: o-lin-req-1, o-lin-req-2, o-lin-req-3, o-lin-req-4 | ||||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||||
![]() ![]() ![]() |
O | 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
| ||||||
![]() ![]() ![]() |
O | 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: Treatment Intents Value Set (required)
| ||||||
![]() ![]() ![]() |
O | 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
| ||||||
![]() ![]() ![]() |
O | 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
| ||||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||||
![]() ![]() |
?!Σ | 1..1 | code | Not used in this profile Binding: EpisodeOfCareStatus (required): The status of the episode of care. | ||||||
![]() ![]() |
0..* | BackboneElement | Not used in this profile | |||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||
![]() ![]() ![]() |
1..1 | code | planned | waitlist | active | onhold | finished | cancelled | entered-in-error Binding: EpisodeOfCareStatus (required): The status of the episode of care. | |||||||
![]() ![]() ![]() |
1..1 | Period | Duration the EpisodeOfCare was in the specified status | |||||||
![]() ![]() |
Σ | 0..* | CodeableConcept | Type/class - e.g. specialist referral, disease management Binding: EpisodeOfCareType (example): The type of the episode of care. Required Pattern: At least the following | ||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||||
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: C133518 | |||||||
![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: Line of Therapy | |||||||
![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||||
![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |||||||
![]() ![]() |
Σ | 0..* | BackboneElement | Not used in this profile | ||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Condition) | Conditions/problems/diagnoses this episode of care is for | ||||||
![]() ![]() |
SOΣ | 1..1 | Reference(Cancer Patient Profile) | The patient receiving the therapy
| ||||||
![]() ![]() |
Σ | 0..1 | Reference(Organization) | Not used in this profile | ||||||
![]() ![]() |
SOΣ | 0..1 | Period | The period during which the therapy line was performed
| ||||||
![]() ![]() |
0..* | Reference(ServiceRequest) | Not used in this profile | |||||||
![]() ![]() |
0..1 | Reference(Practitioner | PractitionerRole) | Not used in this profile | |||||||
![]() ![]() |
0..* | Reference(CareTeam) | Not used in this profile | |||||||
![]() ![]() |
0..* | Reference(Account) | Not used in this profile | |||||||
Documentation for this format | ||||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| EpisodeOfCare.status | Base | required | EpisodeOfCareStatus | 📍4.0.1 | FHIR Std. |
| EpisodeOfCare.statusHistory.status | Base | required | EpisodeOfCareStatus | 📍4.0.1 | FHIR Std. |
| EpisodeOfCare.type | Base | example | Episode of care type | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | EpisodeOfCare | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | EpisodeOfCare | 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 | EpisodeOfCare | 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 | EpisodeOfCare | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | EpisodeOfCare | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| o-lin-req-1 | error | EpisodeOfCare | The patient element is required and must be provided. |
patient.exists()
|
| o-lin-req-2 | error | EpisodeOfCare | The period element is required and must be provided. |
period.exists()
|
| o-lin-req-3 | error | EpisodeOfCare | 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-4 | error | EpisodeOfCare | 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 EpisodeOfCare
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | EpisodeOfCare | An association of a Patient with an Organization and Healthcare Provider(s) for a period of time that the Organization assumes some level of responsibility Constraints: o-lin-req-1, o-lin-req-2, o-lin-req-3, o-lin-req-4 | ||||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||||
![]() ![]() ![]() |
O | 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
| ||||||
![]() ![]() ![]() |
O | 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: Treatment Intents Value Set (required)
| ||||||
![]() ![]() ![]() |
O | 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
| ||||||
![]() ![]() ![]() |
O | 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
| ||||||
![]() ![]() |
1..1 | code | Not used in this profile | |||||||
![]() ![]() |
0..* | BackboneElement | Not used in this profile | |||||||
![]() ![]() |
0..* | CodeableConcept | Type/class - e.g. specialist referral, disease management Required Pattern: At least the following | |||||||
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |||||||
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl | |||||||
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: C133518 | |||||||
![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: Line of Therapy | |||||||
![]() ![]() |
0..* | BackboneElement | Not used in this profile | |||||||
![]() ![]() |
SO | 1..1 | Reference(Cancer Patient Profile) | The patient receiving the therapy
| ||||||
![]() ![]() |
0..1 | Reference(Organization) | Not used in this profile | |||||||
![]() ![]() |
SO | 0..1 | Period | The period during which the therapy line was performed
| ||||||
![]() ![]() |
0..* | Reference(ServiceRequest) | Not used in this profile | |||||||
![]() ![]() |
0..1 | Reference(Practitioner | PractitionerRole) | Not used in this profile | |||||||
![]() ![]() |
0..* | Reference(CareTeam) | Not used in this profile | |||||||
![]() ![]() |
0..* | Reference(Account) | Not used in this profile | |||||||
Documentation for this format | ||||||||||
| Id | Grade | Path(s) | Description | Expression |
| o-lin-req-1 | error | EpisodeOfCare | The patient element is required and must be provided. |
patient.exists()
|
| o-lin-req-2 | error | EpisodeOfCare | The period element is required and must be provided. |
period.exists()
|
| o-lin-req-3 | error | EpisodeOfCare | 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-4 | error | EpisodeOfCare | The therapyLineIntent extension is required and must be provided. |
extension('http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-intent').exists()
|
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | EpisodeOfCare | An association of a Patient with an Organization and Healthcare Provider(s) for a period of time that the Organization assumes some level of responsibility Constraints: o-lin-req-1, o-lin-req-2, o-lin-req-3, o-lin-req-4 | ||||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||||
![]() ![]() |
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 | |||||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||||
![]() ![]() ![]() |
O | 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
| ||||||
![]() ![]() ![]() |
O | 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: Treatment Intents Value Set (required)
| ||||||
![]() ![]() ![]() |
O | 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
| ||||||
![]() ![]() ![]() |
O | 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
| ||||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||||
![]() ![]() |
0..* | Identifier | Business Identifier(s) relevant for this EpisodeOfCare | |||||||
![]() ![]() |
?!Σ | 1..1 | code | Not used in this profile Binding: EpisodeOfCareStatus (required): The status of the episode of care. | ||||||
![]() ![]() |
0..* | BackboneElement | Not used in this profile | |||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||
![]() ![]() ![]() |
1..1 | code | planned | waitlist | active | onhold | finished | cancelled | entered-in-error Binding: EpisodeOfCareStatus (required): The status of the episode of care. | |||||||
![]() ![]() ![]() |
1..1 | Period | Duration the EpisodeOfCare was in the specified status | |||||||
![]() ![]() |
Σ | 0..* | CodeableConcept | Type/class - e.g. specialist referral, disease management Binding: EpisodeOfCareType (example): The type of the episode of care. Required Pattern: At least the following | ||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||||
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: C133518 | |||||||
![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: Line of Therapy | |||||||
![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||||
![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |||||||
![]() ![]() |
Σ | 0..* | BackboneElement | Not used in this profile | ||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Condition) | Conditions/problems/diagnoses this episode of care is for | ||||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Role that this diagnosis has within the episode of care (e.g. admission, billing, discharge …) Binding: DiagnosisRole (preferred): The type of diagnosis this condition represents. | ||||||
![]() ![]() ![]() |
Σ | 0..1 | positiveInt | Ranking of the diagnosis (for each role type) | ||||||
![]() ![]() |
SOΣ | 1..1 | Reference(Cancer Patient Profile) | The patient receiving the therapy
| ||||||
![]() ![]() |
Σ | 0..1 | Reference(Organization) | Not used in this profile | ||||||
![]() ![]() |
SOΣ | 0..1 | Period | The period during which the therapy line was performed
| ||||||
![]() ![]() |
0..* | Reference(ServiceRequest) | Not used in this profile | |||||||
![]() ![]() |
0..1 | Reference(Practitioner | PractitionerRole) | Not used in this profile | |||||||
![]() ![]() |
0..* | Reference(CareTeam) | Not used in this profile | |||||||
![]() ![]() |
0..* | Reference(Account) | Not used in this profile | |||||||
Documentation for this format | ||||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| EpisodeOfCare.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| EpisodeOfCare.status | Base | required | EpisodeOfCareStatus | 📍4.0.1 | FHIR Std. |
| EpisodeOfCare.statusHistory.status | Base | required | EpisodeOfCareStatus | 📍4.0.1 | FHIR Std. |
| EpisodeOfCare.type | Base | example | Episode of care type | 📍4.0.1 | FHIR Std. |
| EpisodeOfCare.diagnosis.role | Base | preferred | DiagnosisRole | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | EpisodeOfCare | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | EpisodeOfCare | 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 | EpisodeOfCare | 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 | EpisodeOfCare | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | EpisodeOfCare | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| o-lin-req-1 | error | EpisodeOfCare | The patient element is required and must be provided. |
patient.exists()
|
| o-lin-req-2 | error | EpisodeOfCare | The period element is required and must be provided. |
period.exists()
|
| o-lin-req-3 | error | EpisodeOfCare | 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-4 | error | EpisodeOfCare | 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 EpisodeOfCare
Summary
Must-Support: 2 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Other representations of profile: CSV, Excel, Schematron