Implementierungsleitfaden Therapieziele Onkologie
1.0.0-ballot - Ballot Germany

Implementierungsleitfaden Therapieziele Onkologie - Local Development build (v1.0.0-ballot) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: Onkologische Therapielinie

Official URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/onko-therapy-line Version: 1.0.0-ballot
Draft as of 2026-08-03 Computable Name: OnkoTherapyLine

An oncological line of therapy based on EpisodeOfCare, EnLiST-conformant. A line of therapy is a treatment segment with a defined intent and a defined tumor condition, ended by a clinical event such as progression, toxicity, patient wish, end of study or planned switch.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description Differentials, Snapshots, and other representations.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. EpisodeOfCare 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: onko-enlist-1, onko-enlist-3, onko-enlist-4
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:therapyIntent S 1..1 (Complex) Therapy intent
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/onko-therapy-intent
.... extension:medicationRequest S 0..* Reference(MedicationRequest) Medication request
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/onko-therapy-line-medication-request
.... extension:lot SC 0..1 (Complex) EnLiST LoT designation
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-lot
Constraints: onko-enlist-2
.... extension:lineSegment S 0..1 Identifier EnLiST line segment
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-line-segment
.... extension:countable S 0..1 CodeableConcept EnLiST countability
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-countable
Binding: EnLiST-Zählstatus (ValueSet) (required)
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... statusHistory S 0..* BackboneElement Status history
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... status 1..1 code planned | waitlist | active | onhold | finished | cancelled | entered-in-error
Binding: EpisodeOfCareStatus (required): The status of the episode of care.
.... period 1..1 Period Duration the EpisodeOfCare was in the specified status
... type SΣ 0..* CodeableConcept Type of line of therapy
Binding: Onkologische Therapielinie – Art (VS) (extensible)
... diagnosis SΣ 1..* BackboneElement Diagnosis
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... condition SΣ 1..1 Reference(Onkologische Diagnose (Condition)) Condition
.... role SΣ 1..1 CodeableConcept Diagnosis role
Binding: DiagnosisRole (preferred): The type of diagnosis this condition represents.
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://terminology.hl7.org/CodeSystem/diagnosis-role
...... version 0..1 string Version of the system - if relevant
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: CC
...... display 1..1 string Representation defined by the system
Fixed Value: Chief complaint
...... userSelected 0..1 boolean If this coding was chosen directly by the user
..... text 0..1 string Plain text representation of the concept
.... rank SΣ 0..1 positiveInt Rank
... patient SΣ 1..1 Reference(Patient) Patient
... managingOrganization SΣ 0..1 Reference(Organization) Managing organization
... period SΣ 1..1 Period Treatment period
... referralRequest S 0..* Reference(ServiceRequest) Referral request
... careManager S 0..1 Reference(Practitioner | PractitionerRole) Care manager
... team S 0..* Reference(CareTeam) Care team

doco Documentation for this format

Terminology Bindings

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 extensible Onkologische Therapielinie – Art (VS) 📦1.0.0-ballot This IG
EpisodeOfCare.diagnosis.​role Base preferred DiagnosisRole 📍4.0.1 FHIR Std.

Constraints

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()
onko-enlist-1 error EpisodeOfCare Eine EnLiST-LoT-Designation (enlist-lot) darf nur vorliegen, wenn der Zählstatus (enlist-countable) 'counted' ist. extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-lot').exists() implies extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-countable').value.ofType(CodeableConcept).coding.where(code = 'counted').exists()
onko-enlist-2 warning EpisodeOfCare.extension:lot Die notation (falls vorhanden) muss aus setting, line und modification zusammengesetzt sein (z. B. 'eLoT 1.0'). extension.where(url = 'notation').exists() implies extension.where(url = 'notation').value = extension.where(url = 'setting').value.ofType(CodeableConcept).coding.first().code + ' ' + extension.where(url = 'line').value.toString() + '.' + extension.where(url = 'modification').value.toString()
onko-enlist-3 error EpisodeOfCare Zählstatus 'counted' erfordert eine EnLiST-Designation (enlist-lot, führende Episode) oder einen Segment-Marker (enlist-line-segment, ausführende Episode). extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-countable').value.ofType(CodeableConcept).coding.where(code = 'counted').exists() implies (extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-lot').exists() or extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-line-segment').exists())
onko-enlist-4 error EpisodeOfCare enlist-lot (führende Episode) und enlist-line-segment (ausführendes Segment) dürfen nicht an derselben Episode vorliegen. (extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-lot').exists() and extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-line-segment').exists()).not()

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. EpisodeOfCare 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: onko-enlist-1, onko-enlist-3, onko-enlist-4
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:therapyIntent S 1..1 (Complex) Therapy intent
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/onko-therapy-intent
.... extension:medicationRequest S 0..* Reference(MedicationRequest) Medication request
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/onko-therapy-line-medication-request
.... extension:lot S 0..1 (Complex) EnLiST LoT designation
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-lot
.... extension:lineSegment S 0..1 Identifier EnLiST line segment
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-line-segment
.... extension:countable S 0..1 CodeableConcept EnLiST countability
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-countable
Binding: EnLiST-Zählstatus (ValueSet) (required)
... status S 1..1 code Status
... statusHistory S 0..* BackboneElement Status history
... diagnosis S 1..* BackboneElement Diagnosis
.... condition S 1..1 Reference(Onkologische Diagnose (Condition)) Condition
.... role S 1..1 CodeableConcept Diagnosis role
Required Pattern: At least the following
..... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/diagnosis-role
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: CC
...... display 1..1 string Representation defined by the system
Fixed Value: Chief complaint
.... rank S 0..1 positiveInt Rank
... patient S 1..1 Reference(Patient) Patient
... managingOrganization S 0..1 Reference(Organization) Managing organization
... period S 1..1 Period Treatment period
... referralRequest S 0..* Reference(ServiceRequest) Referral request
... careManager S 0..1 Reference(Practitioner | PractitionerRole) Care manager
... team S 0..* Reference(CareTeam) Care team

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
EpisodeOfCare.type Base extensible Onkologische Therapielinie – Art (VS) 📦1.0.0-ballot This IG

Constraints

Id Grade Path(s) Description Expression
onko-enlist-1 error EpisodeOfCare Eine EnLiST-LoT-Designation (enlist-lot) darf nur vorliegen, wenn der Zählstatus (enlist-countable) 'counted' ist. extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-lot').exists() implies extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-countable').value.ofType(CodeableConcept).coding.where(code = 'counted').exists()
onko-enlist-3 error EpisodeOfCare Zählstatus 'counted' erfordert eine EnLiST-Designation (enlist-lot, führende Episode) oder einen Segment-Marker (enlist-line-segment, ausführende Episode). extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-countable').value.ofType(CodeableConcept).coding.where(code = 'counted').exists() implies (extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-lot').exists() or extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-line-segment').exists())
onko-enlist-4 error EpisodeOfCare enlist-lot (führende Episode) und enlist-line-segment (ausführendes Segment) dürfen nicht an derselben Episode vorliegen. (extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-lot').exists() and extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-line-segment').exists()).not()
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. EpisodeOfCare 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: onko-enlist-1, onko-enlist-3, onko-enlist-4
... 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 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:therapyIntent S 1..1 (Complex) Therapy intent
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/onko-therapy-intent
.... extension:medicationRequest S 0..* Reference(MedicationRequest) Medication request
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/onko-therapy-line-medication-request
.... extension:lot SC 0..1 (Complex) EnLiST LoT designation
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-lot
Constraints: onko-enlist-2
.... extension:lineSegment S 0..1 Identifier EnLiST line segment
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-line-segment
.... extension:countable S 0..1 CodeableConcept EnLiST countability
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-countable
Binding: EnLiST-Zählstatus (ValueSet) (required)
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier 0..* Identifier Business Identifier(s) relevant for this EpisodeOfCare
... status ?!SΣ 1..1 code Status
Binding: EpisodeOfCareStatus (required): The status of the episode of care.
... statusHistory S 0..* BackboneElement Status history
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... status 1..1 code planned | waitlist | active | onhold | finished | cancelled | entered-in-error
Binding: EpisodeOfCareStatus (required): The status of the episode of care.
.... period 1..1 Period Duration the EpisodeOfCare was in the specified status
... type SΣ 0..* CodeableConcept Type of line of therapy
Binding: Onkologische Therapielinie – Art (VS) (extensible)
... diagnosis SΣ 1..* BackboneElement Diagnosis
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... condition SΣ 1..1 Reference(Onkologische Diagnose (Condition)) Condition
.... role SΣ 1..1 CodeableConcept Diagnosis role
Binding: DiagnosisRole (preferred): The type of diagnosis this condition represents.
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://terminology.hl7.org/CodeSystem/diagnosis-role
...... version 0..1 string Version of the system - if relevant
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: CC
...... display 1..1 string Representation defined by the system
Fixed Value: Chief complaint
...... userSelected 0..1 boolean If this coding was chosen directly by the user
..... text 0..1 string Plain text representation of the concept
.... rank SΣ 0..1 positiveInt Rank
... patient SΣ 1..1 Reference(Patient) Patient
... managingOrganization SΣ 0..1 Reference(Organization) Managing organization
... period SΣ 1..1 Period Treatment period
... referralRequest S 0..* Reference(ServiceRequest) Referral request
... careManager S 0..1 Reference(Practitioner | PractitionerRole) Care manager
... team S 0..* Reference(CareTeam) Care team
... account 0..* Reference(Account) The set of accounts that may be used for billing for this EpisodeOfCare

doco Documentation for this format

Terminology Bindings

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 extensible Onkologische Therapielinie – Art (VS) 📦1.0.0-ballot This IG
EpisodeOfCare.diagnosis.​role Base preferred DiagnosisRole 📍4.0.1 FHIR Std.

Constraints

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()
onko-enlist-1 error EpisodeOfCare Eine EnLiST-LoT-Designation (enlist-lot) darf nur vorliegen, wenn der Zählstatus (enlist-countable) 'counted' ist. extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-lot').exists() implies extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-countable').value.ofType(CodeableConcept).coding.where(code = 'counted').exists()
onko-enlist-2 warning EpisodeOfCare.extension:lot Die notation (falls vorhanden) muss aus setting, line und modification zusammengesetzt sein (z. B. 'eLoT 1.0'). extension.where(url = 'notation').exists() implies extension.where(url = 'notation').value = extension.where(url = 'setting').value.ofType(CodeableConcept).coding.first().code + ' ' + extension.where(url = 'line').value.toString() + '.' + extension.where(url = 'modification').value.toString()
onko-enlist-3 error EpisodeOfCare Zählstatus 'counted' erfordert eine EnLiST-Designation (enlist-lot, führende Episode) oder einen Segment-Marker (enlist-line-segment, ausführende Episode). extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-countable').value.ofType(CodeableConcept).coding.where(code = 'counted').exists() implies (extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-lot').exists() or extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-line-segment').exists())
onko-enlist-4 error EpisodeOfCare enlist-lot (führende Episode) und enlist-line-segment (ausführendes Segment) dürfen nicht an derselben Episode vorliegen. (extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-lot').exists() and extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-line-segment').exists()).not()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. EpisodeOfCare 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: onko-enlist-1, onko-enlist-3, onko-enlist-4
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:therapyIntent S 1..1 (Complex) Therapy intent
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/onko-therapy-intent
.... extension:medicationRequest S 0..* Reference(MedicationRequest) Medication request
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/onko-therapy-line-medication-request
.... extension:lot SC 0..1 (Complex) EnLiST LoT designation
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-lot
Constraints: onko-enlist-2
.... extension:lineSegment S 0..1 Identifier EnLiST line segment
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-line-segment
.... extension:countable S 0..1 CodeableConcept EnLiST countability
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-countable
Binding: EnLiST-Zählstatus (ValueSet) (required)
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... statusHistory S 0..* BackboneElement Status history
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... status 1..1 code planned | waitlist | active | onhold | finished | cancelled | entered-in-error
Binding: EpisodeOfCareStatus (required): The status of the episode of care.
.... period 1..1 Period Duration the EpisodeOfCare was in the specified status
... type SΣ 0..* CodeableConcept Type of line of therapy
Binding: Onkologische Therapielinie – Art (VS) (extensible)
... diagnosis SΣ 1..* BackboneElement Diagnosis
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... condition SΣ 1..1 Reference(Onkologische Diagnose (Condition)) Condition
.... role SΣ 1..1 CodeableConcept Diagnosis role
Binding: DiagnosisRole (preferred): The type of diagnosis this condition represents.
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://terminology.hl7.org/CodeSystem/diagnosis-role
...... version 0..1 string Version of the system - if relevant
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: CC
...... display 1..1 string Representation defined by the system
Fixed Value: Chief complaint
...... userSelected 0..1 boolean If this coding was chosen directly by the user
..... text 0..1 string Plain text representation of the concept
.... rank SΣ 0..1 positiveInt Rank
... patient SΣ 1..1 Reference(Patient) Patient
... managingOrganization SΣ 0..1 Reference(Organization) Managing organization
... period SΣ 1..1 Period Treatment period
... referralRequest S 0..* Reference(ServiceRequest) Referral request
... careManager S 0..1 Reference(Practitioner | PractitionerRole) Care manager
... team S 0..* Reference(CareTeam) Care team

doco Documentation for this format

Terminology Bindings

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 extensible Onkologische Therapielinie – Art (VS) 📦1.0.0-ballot This IG
EpisodeOfCare.diagnosis.​role Base preferred DiagnosisRole 📍4.0.1 FHIR Std.

Constraints

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()
onko-enlist-1 error EpisodeOfCare Eine EnLiST-LoT-Designation (enlist-lot) darf nur vorliegen, wenn der Zählstatus (enlist-countable) 'counted' ist. extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-lot').exists() implies extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-countable').value.ofType(CodeableConcept).coding.where(code = 'counted').exists()
onko-enlist-2 warning EpisodeOfCare.extension:lot Die notation (falls vorhanden) muss aus setting, line und modification zusammengesetzt sein (z. B. 'eLoT 1.0'). extension.where(url = 'notation').exists() implies extension.where(url = 'notation').value = extension.where(url = 'setting').value.ofType(CodeableConcept).coding.first().code + ' ' + extension.where(url = 'line').value.toString() + '.' + extension.where(url = 'modification').value.toString()
onko-enlist-3 error EpisodeOfCare Zählstatus 'counted' erfordert eine EnLiST-Designation (enlist-lot, führende Episode) oder einen Segment-Marker (enlist-line-segment, ausführende Episode). extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-countable').value.ofType(CodeableConcept).coding.where(code = 'counted').exists() implies (extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-lot').exists() or extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-line-segment').exists())
onko-enlist-4 error EpisodeOfCare enlist-lot (führende Episode) und enlist-line-segment (ausführendes Segment) dürfen nicht an derselben Episode vorliegen. (extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-lot').exists() and extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-line-segment').exists()).not()

Differential View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. EpisodeOfCare 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: onko-enlist-1, onko-enlist-3, onko-enlist-4
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:therapyIntent S 1..1 (Complex) Therapy intent
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/onko-therapy-intent
.... extension:medicationRequest S 0..* Reference(MedicationRequest) Medication request
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/onko-therapy-line-medication-request
.... extension:lot S 0..1 (Complex) EnLiST LoT designation
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-lot
.... extension:lineSegment S 0..1 Identifier EnLiST line segment
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-line-segment
.... extension:countable S 0..1 CodeableConcept EnLiST countability
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-countable
Binding: EnLiST-Zählstatus (ValueSet) (required)
... status S 1..1 code Status
... statusHistory S 0..* BackboneElement Status history
... diagnosis S 1..* BackboneElement Diagnosis
.... condition S 1..1 Reference(Onkologische Diagnose (Condition)) Condition
.... role S 1..1 CodeableConcept Diagnosis role
Required Pattern: At least the following
..... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/diagnosis-role
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: CC
...... display 1..1 string Representation defined by the system
Fixed Value: Chief complaint
.... rank S 0..1 positiveInt Rank
... patient S 1..1 Reference(Patient) Patient
... managingOrganization S 0..1 Reference(Organization) Managing organization
... period S 1..1 Period Treatment period
... referralRequest S 0..* Reference(ServiceRequest) Referral request
... careManager S 0..1 Reference(Practitioner | PractitionerRole) Care manager
... team S 0..* Reference(CareTeam) Care team

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
EpisodeOfCare.type Base extensible Onkologische Therapielinie – Art (VS) 📦1.0.0-ballot This IG

Constraints

Id Grade Path(s) Description Expression
onko-enlist-1 error EpisodeOfCare Eine EnLiST-LoT-Designation (enlist-lot) darf nur vorliegen, wenn der Zählstatus (enlist-countable) 'counted' ist. extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-lot').exists() implies extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-countable').value.ofType(CodeableConcept).coding.where(code = 'counted').exists()
onko-enlist-3 error EpisodeOfCare Zählstatus 'counted' erfordert eine EnLiST-Designation (enlist-lot, führende Episode) oder einen Segment-Marker (enlist-line-segment, ausführende Episode). extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-countable').value.ofType(CodeableConcept).coding.where(code = 'counted').exists() implies (extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-lot').exists() or extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-line-segment').exists())
onko-enlist-4 error EpisodeOfCare enlist-lot (führende Episode) und enlist-line-segment (ausführendes Segment) dürfen nicht an derselben Episode vorliegen. (extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-lot').exists() and extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-line-segment').exists()).not()

Snapshot ViewView

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. EpisodeOfCare 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: onko-enlist-1, onko-enlist-3, onko-enlist-4
... 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 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:therapyIntent S 1..1 (Complex) Therapy intent
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/onko-therapy-intent
.... extension:medicationRequest S 0..* Reference(MedicationRequest) Medication request
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/onko-therapy-line-medication-request
.... extension:lot SC 0..1 (Complex) EnLiST LoT designation
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-lot
Constraints: onko-enlist-2
.... extension:lineSegment S 0..1 Identifier EnLiST line segment
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-line-segment
.... extension:countable S 0..1 CodeableConcept EnLiST countability
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-countable
Binding: EnLiST-Zählstatus (ValueSet) (required)
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier 0..* Identifier Business Identifier(s) relevant for this EpisodeOfCare
... status ?!SΣ 1..1 code Status
Binding: EpisodeOfCareStatus (required): The status of the episode of care.
... statusHistory S 0..* BackboneElement Status history
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... status 1..1 code planned | waitlist | active | onhold | finished | cancelled | entered-in-error
Binding: EpisodeOfCareStatus (required): The status of the episode of care.
.... period 1..1 Period Duration the EpisodeOfCare was in the specified status
... type SΣ 0..* CodeableConcept Type of line of therapy
Binding: Onkologische Therapielinie – Art (VS) (extensible)
... diagnosis SΣ 1..* BackboneElement Diagnosis
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... condition SΣ 1..1 Reference(Onkologische Diagnose (Condition)) Condition
.... role SΣ 1..1 CodeableConcept Diagnosis role
Binding: DiagnosisRole (preferred): The type of diagnosis this condition represents.
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://terminology.hl7.org/CodeSystem/diagnosis-role
...... version 0..1 string Version of the system - if relevant
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: CC
...... display 1..1 string Representation defined by the system
Fixed Value: Chief complaint
...... userSelected 0..1 boolean If this coding was chosen directly by the user
..... text 0..1 string Plain text representation of the concept
.... rank SΣ 0..1 positiveInt Rank
... patient SΣ 1..1 Reference(Patient) Patient
... managingOrganization SΣ 0..1 Reference(Organization) Managing organization
... period SΣ 1..1 Period Treatment period
... referralRequest S 0..* Reference(ServiceRequest) Referral request
... careManager S 0..1 Reference(Practitioner | PractitionerRole) Care manager
... team S 0..* Reference(CareTeam) Care team
... account 0..* Reference(Account) The set of accounts that may be used for billing for this EpisodeOfCare

doco Documentation for this format

Terminology Bindings

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 extensible Onkologische Therapielinie – Art (VS) 📦1.0.0-ballot This IG
EpisodeOfCare.diagnosis.​role Base preferred DiagnosisRole 📍4.0.1 FHIR Std.

Constraints

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()
onko-enlist-1 error EpisodeOfCare Eine EnLiST-LoT-Designation (enlist-lot) darf nur vorliegen, wenn der Zählstatus (enlist-countable) 'counted' ist. extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-lot').exists() implies extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-countable').value.ofType(CodeableConcept).coding.where(code = 'counted').exists()
onko-enlist-2 warning EpisodeOfCare.extension:lot Die notation (falls vorhanden) muss aus setting, line und modification zusammengesetzt sein (z. B. 'eLoT 1.0'). extension.where(url = 'notation').exists() implies extension.where(url = 'notation').value = extension.where(url = 'setting').value.ofType(CodeableConcept).coding.first().code + ' ' + extension.where(url = 'line').value.toString() + '.' + extension.where(url = 'modification').value.toString()
onko-enlist-3 error EpisodeOfCare Zählstatus 'counted' erfordert eine EnLiST-Designation (enlist-lot, führende Episode) oder einen Segment-Marker (enlist-line-segment, ausführende Episode). extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-countable').value.ofType(CodeableConcept).coding.where(code = 'counted').exists() implies (extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-lot').exists() or extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-line-segment').exists())
onko-enlist-4 error EpisodeOfCare enlist-lot (führende Episode) und enlist-line-segment (ausführendes Segment) dürfen nicht an derselben Episode vorliegen. (extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-lot').exists() and extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-line-segment').exists()).not()

 

Other representations of profile: CSV, Excel, Schematron