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 Behandlungsepisode ( Experimental )

Official URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/onko-behandlungsepisode Version: 1.0.0-ballot
Draft as of 2026-10-01 Computable Name: OnkoBehandlungsepisode

A delimited oncological care segment with its own intent based on EpisodeOfCare — the episode type distinguishes systemic line of therapy, locoregional treatment line, diagnostic line, active surveillance and watchful waiting; the treatment modality is a characteristic of its own. A systemic line of therapy is a clinical continuum that may span multiple organisation-bound episodes; the EnLiST designation is carried by exactly one leading episode per line, executing organisations document their episodes as segments with a shared lineId.

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, onko-episode-1, onko-episode-2
... 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) Intent
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/onko-therapy-intent
.... extension:modalitaet S 0..* CodeableConcept Treatment modality
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/onko-modalitaet
Binding: Behandlungsmodalität (VS) (example)
.... 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Σ 1..1 CodeableConcept Episode type
Binding: Episodenart (ValueSet) (extensible)
... diagnosis SΣ 0..* BackboneElement Diagnosis
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... condition SΣ 1..1 Reference(MII PR Onkologie Diagnose Primärtumor) 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 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 Episode type value set 📦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()
onko-episode-1 error EpisodeOfCare Therapeutische Episodenarten (systemische Therapielinie, lokoregionale Behandlungslinie) erfordern mindestens einen Diagnosebezug. type.coding.where(system = 'https://bih-cei.de/fhir/therapieziele-onkologie/CodeSystem/episodenart' and (code = 'systemische-therapielinie' or code = 'lokoregionale-behandlungslinie')).exists() implies diagnosis.exists()
onko-episode-2 error EpisodeOfCare EnLiST-Designation (enlist-lot), Segment-Marker (enlist-line-segment) und Zählstatus 'counted' sind nur bei Episodenart 'systemische Therapielinie' zulässig. (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() or extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-countable').value.ofType(CodeableConcept).coding.where(code = 'counted').exists()) implies type.coding.where(system = 'https://bih-cei.de/fhir/therapieziele-onkologie/CodeSystem/episodenart' and code = 'systemische-therapielinie').exists()

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, onko-episode-1, onko-episode-2
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:therapyIntent S 1..1 (Complex) Intent
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/onko-therapy-intent
.... extension:modalitaet S 0..* CodeableConcept Treatment modality
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/onko-modalitaet
Binding: Behandlungsmodalität (VS) (example)
.... 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 0..* BackboneElement Diagnosis
.... condition S 1..1 Reference(MII PR Onkologie Diagnose Primärtumor) 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 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 Episode type value set 📦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()
onko-episode-1 error EpisodeOfCare Therapeutische Episodenarten (systemische Therapielinie, lokoregionale Behandlungslinie) erfordern mindestens einen Diagnosebezug. type.coding.where(system = 'https://bih-cei.de/fhir/therapieziele-onkologie/CodeSystem/episodenart' and (code = 'systemische-therapielinie' or code = 'lokoregionale-behandlungslinie')).exists() implies diagnosis.exists()
onko-episode-2 error EpisodeOfCare EnLiST-Designation (enlist-lot), Segment-Marker (enlist-line-segment) und Zählstatus 'counted' sind nur bei Episodenart 'systemische Therapielinie' zulässig. (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() or extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-countable').value.ofType(CodeableConcept).coding.where(code = 'counted').exists()) implies type.coding.where(system = 'https://bih-cei.de/fhir/therapieziele-onkologie/CodeSystem/episodenart' and code = 'systemische-therapielinie').exists()
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, onko-episode-1, onko-episode-2
... 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) Intent
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/onko-therapy-intent
.... extension:modalitaet S 0..* CodeableConcept Treatment modality
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/onko-modalitaet
Binding: Behandlungsmodalität (VS) (example)
.... 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Σ 1..1 CodeableConcept Episode type
Binding: Episodenart (ValueSet) (extensible)
... diagnosis SΣ 0..* 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(MII PR Onkologie Diagnose Primärtumor) 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 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 Episode type value set 📦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()
onko-episode-1 error EpisodeOfCare Therapeutische Episodenarten (systemische Therapielinie, lokoregionale Behandlungslinie) erfordern mindestens einen Diagnosebezug. type.coding.where(system = 'https://bih-cei.de/fhir/therapieziele-onkologie/CodeSystem/episodenart' and (code = 'systemische-therapielinie' or code = 'lokoregionale-behandlungslinie')).exists() implies diagnosis.exists()
onko-episode-2 error EpisodeOfCare EnLiST-Designation (enlist-lot), Segment-Marker (enlist-line-segment) und Zählstatus 'counted' sind nur bei Episodenart 'systemische Therapielinie' zulässig. (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() or extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-countable').value.ofType(CodeableConcept).coding.where(code = 'counted').exists()) implies type.coding.where(system = 'https://bih-cei.de/fhir/therapieziele-onkologie/CodeSystem/episodenart' and code = 'systemische-therapielinie').exists()

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, onko-episode-1, onko-episode-2
... 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) Intent
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/onko-therapy-intent
.... extension:modalitaet S 0..* CodeableConcept Treatment modality
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/onko-modalitaet
Binding: Behandlungsmodalität (VS) (example)
.... 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Σ 1..1 CodeableConcept Episode type
Binding: Episodenart (ValueSet) (extensible)
... diagnosis SΣ 0..* BackboneElement Diagnosis
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... condition SΣ 1..1 Reference(MII PR Onkologie Diagnose Primärtumor) 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 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 Episode type value set 📦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()
onko-episode-1 error EpisodeOfCare Therapeutische Episodenarten (systemische Therapielinie, lokoregionale Behandlungslinie) erfordern mindestens einen Diagnosebezug. type.coding.where(system = 'https://bih-cei.de/fhir/therapieziele-onkologie/CodeSystem/episodenart' and (code = 'systemische-therapielinie' or code = 'lokoregionale-behandlungslinie')).exists() implies diagnosis.exists()
onko-episode-2 error EpisodeOfCare EnLiST-Designation (enlist-lot), Segment-Marker (enlist-line-segment) und Zählstatus 'counted' sind nur bei Episodenart 'systemische Therapielinie' zulässig. (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() or extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-countable').value.ofType(CodeableConcept).coding.where(code = 'counted').exists()) implies type.coding.where(system = 'https://bih-cei.de/fhir/therapieziele-onkologie/CodeSystem/episodenart' and code = 'systemische-therapielinie').exists()

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, onko-episode-1, onko-episode-2
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:therapyIntent S 1..1 (Complex) Intent
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/onko-therapy-intent
.... extension:modalitaet S 0..* CodeableConcept Treatment modality
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/onko-modalitaet
Binding: Behandlungsmodalität (VS) (example)
.... 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 0..* BackboneElement Diagnosis
.... condition S 1..1 Reference(MII PR Onkologie Diagnose Primärtumor) 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 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 Episode type value set 📦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()
onko-episode-1 error EpisodeOfCare Therapeutische Episodenarten (systemische Therapielinie, lokoregionale Behandlungslinie) erfordern mindestens einen Diagnosebezug. type.coding.where(system = 'https://bih-cei.de/fhir/therapieziele-onkologie/CodeSystem/episodenart' and (code = 'systemische-therapielinie' or code = 'lokoregionale-behandlungslinie')).exists() implies diagnosis.exists()
onko-episode-2 error EpisodeOfCare EnLiST-Designation (enlist-lot), Segment-Marker (enlist-line-segment) und Zählstatus 'counted' sind nur bei Episodenart 'systemische Therapielinie' zulässig. (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() or extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-countable').value.ofType(CodeableConcept).coding.where(code = 'counted').exists()) implies type.coding.where(system = 'https://bih-cei.de/fhir/therapieziele-onkologie/CodeSystem/episodenart' and code = 'systemische-therapielinie').exists()

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, onko-episode-1, onko-episode-2
... 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) Intent
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/onko-therapy-intent
.... extension:modalitaet S 0..* CodeableConcept Treatment modality
URL: https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/onko-modalitaet
Binding: Behandlungsmodalität (VS) (example)
.... 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Σ 1..1 CodeableConcept Episode type
Binding: Episodenart (ValueSet) (extensible)
... diagnosis SΣ 0..* 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(MII PR Onkologie Diagnose Primärtumor) 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 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 Episode type value set 📦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()
onko-episode-1 error EpisodeOfCare Therapeutische Episodenarten (systemische Therapielinie, lokoregionale Behandlungslinie) erfordern mindestens einen Diagnosebezug. type.coding.where(system = 'https://bih-cei.de/fhir/therapieziele-onkologie/CodeSystem/episodenart' and (code = 'systemische-therapielinie' or code = 'lokoregionale-behandlungslinie')).exists() implies diagnosis.exists()
onko-episode-2 error EpisodeOfCare EnLiST-Designation (enlist-lot), Segment-Marker (enlist-line-segment) und Zählstatus 'counted' sind nur bei Episodenart 'systemische Therapielinie' zulässig. (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() or extension.where(url = 'https://bih-cei.de/fhir/therapieziele-onkologie/StructureDefinition/enlist-countable').value.ofType(CodeableConcept).coding.where(code = 'counted').exists()) implies type.coding.where(system = 'https://bih-cei.de/fhir/therapieziele-onkologie/CodeSystem/episodenart' and code = 'systemische-therapielinie').exists()

 

Other representations of profile: CSV, Excel, Schematron