臺灣健保癌症用藥事前審查實作指引
1.0.1 - release

This page is part of the 臺灣癌症用藥事前審查實作指引(TWPAS IG) (v1.0.1: Release) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions

Resource Profile: 放射治療總劑量-Substance TWPAS

Official URL: https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Substance-twpas Version: 1.0.1
Active as of 2024-12-12 Computable Name: SubstanceTWPAS

此放射治療總劑量-Substance TWPAS Profile說明本IG如何進一步定義FHIR的Substance Resource以呈現癌藥事前審查中治療資訊之放射治療總劑量

Usage:

Formal Views of Profile Content

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

This structure is derived from Substance

NameFlagsCard.TypeDescription & Constraintsdoco
.. Substance Substance
... code 1..1 CodeableConcept 放射治療項目,伽傌射線、高能量X光、質子治療、碘-123、鎝-99m、碘-131、銦-111等。ICD-PCS。
Binding: 健保事前審查-臺灣健保署2023年中文版ICD 10 PCS-放射治療項目值集 (preferred): 最新參考代碼清單請參考此檔案

.... Slices for coding 1..1 Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:ICD10PCS2023Radiotherapy S 0..1 Coding Code defined by a terminology system
Binding: 健保事前審查-臺灣健保署2023年中文版ICD 10 PCS-放射治療項目值集 (extensible): 最新參考代碼清單請參考此檔案

...... system S 1..1 uri Identity of the terminology system
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2023-tw
...... code S 1..1 code Symbol in syntax defined by the system
..... coding:ICD10PCS2014Radiotherapy S 0..1 Coding Code defined by a terminology system
Binding: 健保事前審查-臺灣健保署2014年中文版ICD 10 PCS-放射治療項目值集 (extensible): 最新參考代碼清單請參考此檔案

...... system S 1..1 uri Identity of the terminology system
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2014-tw
...... code S 1..1 code Symbol in syntax defined by the system
... ingredient S 0..1 BackboneElement Composition information about the substance
.... quantity
..... numerator
...... value S 0..1 decimal 放射治療總劑量
...... unit S 0..1 string 放射治療總劑量單位
.... Slices for substance[x] 1..1 CodeableConcept, Reference(Substance) 因FHIR設計而需必填
Slice: Unordered, Open by type:$this
Binding: 健保事前審查-臺灣健保署2023年中文版ICD 10 PCS-放射治療項目值集 (preferred): 最新參考代碼清單請參考此檔案

..... substance[x]:substanceCodeableConcept 0..1 CodeableConcept A component of the substance
...... Slices for coding 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
....... coding:ICD10PCS2023Radiotherapy S 0..1 Coding Code defined by a terminology system
Binding: 健保事前審查-臺灣健保署2023年中文版ICD 10 PCS-放射治療項目值集 (extensible): 最新參考代碼清單請參考此檔案

........ system S 1..1 uri Identity of the terminology system
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2023-tw
........ code S 1..1 code Symbol in syntax defined by the system
....... coding:ICD10PCS2014Radiotherapy S 0..1 Coding Code defined by a terminology system
Binding: 健保事前審查-臺灣健保署2014年中文版ICD 10 PCS-放射治療項目值集 (extensible): 最新參考代碼清單請參考此檔案

........ system S 1..1 uri Identity of the terminology system
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2014-tw
........ code S 1..1 code Symbol in syntax defined by the system

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Substance.codepreferredICD10PCS2023Radiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2023-radiotherapy
from this IG
Substance.code.coding:ICD10PCS2023RadiotherapyextensibleICD10PCS2023Radiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2023-radiotherapy
from this IG
Substance.code.coding:ICD10PCS2014RadiotherapyextensibleICD10PCSRadiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2014-radiotherapy
from this IG
Substance.ingredient.substance[x]preferredICD10PCS2023Radiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2023-radiotherapy
from this IG
Substance.ingredient.substance[x]:substanceCodeableConcept.coding:ICD10PCS2023RadiotherapyextensibleICD10PCS2023Radiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2023-radiotherapy
from this IG
Substance.ingredient.substance[x]:substanceCodeableConcept.coding:ICD10PCS2014RadiotherapyextensibleICD10PCSRadiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2014-radiotherapy
from this IG
NameFlagsCard.TypeDescription & Constraintsdoco
.. Substance 0..* Substance A homogeneous material with a definite composition
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: 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
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... status ?!Σ 0..1 code active | inactive | entered-in-error
Binding: FHIRSubstanceStatus (required): A code to indicate if the substance is actively used.


ele-1: All FHIR elements must have a @value or children
.... Slices for coding Σ 1..1 Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
ele-1: All FHIR elements must have a @value or children
..... coding:ICD10PCS2023Radiotherapy SΣ 0..1 Coding Code defined by a terminology system
Binding: 健保事前審查-臺灣健保署2023年中文版ICD 10 PCS-放射治療項目值集 (extensible): 最新參考代碼清單請參考此檔案


ele-1: All FHIR elements must have a @value or children
...... system SΣ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2023-tw
...... code SΣ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
..... coding:ICD10PCS2014Radiotherapy SΣ 0..1 Coding Code defined by a terminology system
Binding: 健保事前審查-臺灣健保署2014年中文版ICD 10 PCS-放射治療項目值集 (extensible): 最新參考代碼清單請參考此檔案


ele-1: All FHIR elements must have a @value or children
...... system SΣ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2014-tw
...... code SΣ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
... ingredient SΣ 0..1 BackboneElement Composition information about the substance
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... quantity Σ 0..1 Ratio Optional amount (concentration)
ele-1: All FHIR elements must have a @value or children
..... numerator Σ 0..1 Quantity Numerator value
ele-1: All FHIR elements must have a @value or children
...... value SΣ 0..1 decimal 放射治療總劑量
ele-1: All FHIR elements must have a @value or children
...... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.


ele-1: All FHIR elements must have a @value or children
...... unit SΣ 0..1 string 放射治療總劑量單位
ele-1: All FHIR elements must have a @value or children
.... Slices for substance[x] Σ 1..1 因FHIR設計而需必填
Slice: Unordered, Open by type:$this
Binding: 健保事前審查-臺灣健保署2023年中文版ICD 10 PCS-放射治療項目值集 (preferred): 最新參考代碼清單請參考此檔案


ele-1: All FHIR elements must have a @value or children
..... substanceCodeableConcept CodeableConcept
..... substanceReference Reference(Substance)
..... substance[x]:substanceCodeableConcept Σ 0..1 CodeableConcept A component of the substance
Binding: SubstanceCode (example): Substance Ingredient codes.


ele-1: All FHIR elements must have a @value or children
...... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
ele-1: All FHIR elements must have a @value or children
....... coding:ICD10PCS2023Radiotherapy SΣ 0..1 Coding Code defined by a terminology system
Binding: 健保事前審查-臺灣健保署2023年中文版ICD 10 PCS-放射治療項目值集 (extensible): 最新參考代碼清單請參考此檔案


ele-1: All FHIR elements must have a @value or children
........ system SΣ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2023-tw
........ code SΣ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
....... coding:ICD10PCS2014Radiotherapy SΣ 0..1 Coding Code defined by a terminology system
Binding: 健保事前審查-臺灣健保署2014年中文版ICD 10 PCS-放射治療項目值集 (extensible): 最新參考代碼清單請參考此檔案


ele-1: All FHIR elements must have a @value or children
........ system SΣ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2014-tw
........ code SΣ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Substance.statusrequiredFHIRSubstanceStatus
http://hl7.org/fhir/ValueSet/substance-status|4.0.1
from the FHIR Standard
Substance.codepreferredICD10PCS2023Radiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2023-radiotherapy
from this IG
Substance.code.coding:ICD10PCS2023RadiotherapyextensibleICD10PCS2023Radiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2023-radiotherapy
from this IG
Substance.code.coding:ICD10PCS2014RadiotherapyextensibleICD10PCSRadiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2014-radiotherapy
from this IG
Substance.ingredient.quantity.numerator.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
from the FHIR Standard
Substance.ingredient.substance[x]preferredICD10PCS2023Radiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2023-radiotherapy
from this IG
Substance.ingredient.substance[x]:substanceCodeableConceptexampleSubstanceCode
http://hl7.org/fhir/ValueSet/substance-code
from the FHIR Standard
Substance.ingredient.substance[x]:substanceCodeableConcept.coding:ICD10PCS2023RadiotherapyextensibleICD10PCS2023Radiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2023-radiotherapy
from this IG
Substance.ingredient.substance[x]:substanceCodeableConcept.coding:ICD10PCS2014RadiotherapyextensibleICD10PCSRadiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2014-radiotherapy
from this IG

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorSubstanceIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorSubstanceIf 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-4errorSubstanceIf 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-5errorSubstanceIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceSubstanceA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Substance 0..* Substance A homogeneous material with a definite composition
... 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
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier Unique identifier
... status ?!Σ 0..1 code active | inactive | entered-in-error
Binding: FHIRSubstanceStatus (required): A code to indicate if the substance is actively used.

... category Σ 0..* CodeableConcept What class/type of substance this is
Binding: SubstanceCategoryCodes (extensible): Category or classification of substance.


... code Σ 1..1 CodeableConcept 放射治療項目,伽傌射線、高能量X光、質子治療、碘-123、鎝-99m、碘-131、銦-111等。ICD-PCS。
Binding: 健保事前審查-臺灣健保署2023年中文版ICD 10 PCS-放射治療項目值集 (preferred): 最新參考代碼清單請參考此檔案

.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding Σ 1..1 Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:ICD10PCS2023Radiotherapy SΣ 0..1 Coding Code defined by a terminology system
Binding: 健保事前審查-臺灣健保署2023年中文版ICD 10 PCS-放射治療項目值集 (extensible): 最新參考代碼清單請參考此檔案


...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri Identity of the terminology system
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2023-tw
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:ICD10PCS2014Radiotherapy SΣ 0..1 Coding Code defined by a terminology system
Binding: 健保事前審查-臺灣健保署2014年中文版ICD 10 PCS-放射治療項目值集 (extensible): 最新參考代碼清單請參考此檔案


...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri Identity of the terminology system
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2014-tw
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Plain text representation of the concept
... description Σ 0..1 string Textual description of the substance, comments
... instance Σ 0..* BackboneElement If this describes a specific package/container of the substance
.... 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
.... identifier Σ 0..1 Identifier Identifier of the package/container
.... expiry Σ 0..1 dateTime When no longer valid to use
.... quantity Σ 0..1 SimpleQuantity Amount of substance in the package
... ingredient SΣ 0..1 BackboneElement Composition information about the substance
.... 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
.... quantity Σ 0..1 Ratio Optional amount (concentration)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... numerator Σ 0..1 Quantity Numerator value
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... value SΣ 0..1 decimal 放射治療總劑量
...... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

...... unit SΣ 0..1 string 放射治療總劑量單位
...... system ΣC 0..1 uri System that defines coded unit form
...... code Σ 0..1 code Coded form of the unit
..... denominator Σ 0..1 Quantity Denominator value
.... Slices for substance[x] Σ 1..1 因FHIR設計而需必填
Slice: Unordered, Open by type:$this
Binding: 健保事前審查-臺灣健保署2023年中文版ICD 10 PCS-放射治療項目值集 (preferred): 最新參考代碼清單請參考此檔案

..... substanceCodeableConcept CodeableConcept
..... substanceReference Reference(Substance)
..... substance[x]:substanceCodeableConcept Σ 0..1 CodeableConcept A component of the substance
Binding: SubstanceCode (example): Substance Ingredient codes.

...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
....... coding:ICD10PCS2023Radiotherapy SΣ 0..1 Coding Code defined by a terminology system
Binding: 健保事前審查-臺灣健保署2023年中文版ICD 10 PCS-放射治療項目值集 (extensible): 最新參考代碼清單請參考此檔案


........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ system SΣ 1..1 uri Identity of the terminology system
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2023-tw
........ version Σ 0..1 string Version of the system - if relevant
........ code SΣ 1..1 code Symbol in syntax defined by the system
........ display Σ 0..1 string Representation defined by the system
........ userSelected Σ 0..1 boolean If this coding was chosen directly by the user
....... coding:ICD10PCS2014Radiotherapy SΣ 0..1 Coding Code defined by a terminology system
Binding: 健保事前審查-臺灣健保署2014年中文版ICD 10 PCS-放射治療項目值集 (extensible): 最新參考代碼清單請參考此檔案


........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ system SΣ 1..1 uri Identity of the terminology system
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2014-tw
........ version Σ 0..1 string Version of the system - if relevant
........ code SΣ 1..1 code Symbol in syntax defined by the system
........ display Σ 0..1 string Representation defined by the system
........ userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Substance.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Substance.statusrequiredFHIRSubstanceStatus
http://hl7.org/fhir/ValueSet/substance-status|4.0.1
from the FHIR Standard
Substance.categoryextensibleSubstanceCategoryCodes
http://hl7.org/fhir/ValueSet/substance-category
from the FHIR Standard
Substance.codepreferredICD10PCS2023Radiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2023-radiotherapy
from this IG
Substance.code.coding:ICD10PCS2023RadiotherapyextensibleICD10PCS2023Radiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2023-radiotherapy
from this IG
Substance.code.coding:ICD10PCS2014RadiotherapyextensibleICD10PCSRadiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2014-radiotherapy
from this IG
Substance.ingredient.quantity.numerator.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
from the FHIR Standard
Substance.ingredient.substance[x]preferredICD10PCS2023Radiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2023-radiotherapy
from this IG
Substance.ingredient.substance[x]:substanceCodeableConceptexampleSubstanceCode
http://hl7.org/fhir/ValueSet/substance-code
from the FHIR Standard
Substance.ingredient.substance[x]:substanceCodeableConcept.coding:ICD10PCS2023RadiotherapyextensibleICD10PCS2023Radiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2023-radiotherapy
from this IG
Substance.ingredient.substance[x]:substanceCodeableConcept.coding:ICD10PCS2014RadiotherapyextensibleICD10PCSRadiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2014-radiotherapy
from this IG

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorSubstanceIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorSubstanceIf 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-4errorSubstanceIf 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-5errorSubstanceIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceSubstanceA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from Substance

Summary

Mandatory: 1 element(8 nested mandatory elements)
Must-Support: 15 elements

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Substance.code.coding
  • The element 1 is sliced based on the value of Substance.ingredient.substance[x]
  • The element 1 is sliced based on the value of Substance.ingredient.substance[x].coding

Differential View

This structure is derived from Substance

NameFlagsCard.TypeDescription & Constraintsdoco
.. Substance Substance
... code 1..1 CodeableConcept 放射治療項目,伽傌射線、高能量X光、質子治療、碘-123、鎝-99m、碘-131、銦-111等。ICD-PCS。
Binding: 健保事前審查-臺灣健保署2023年中文版ICD 10 PCS-放射治療項目值集 (preferred): 最新參考代碼清單請參考此檔案

.... Slices for coding 1..1 Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:ICD10PCS2023Radiotherapy S 0..1 Coding Code defined by a terminology system
Binding: 健保事前審查-臺灣健保署2023年中文版ICD 10 PCS-放射治療項目值集 (extensible): 最新參考代碼清單請參考此檔案

...... system S 1..1 uri Identity of the terminology system
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2023-tw
...... code S 1..1 code Symbol in syntax defined by the system
..... coding:ICD10PCS2014Radiotherapy S 0..1 Coding Code defined by a terminology system
Binding: 健保事前審查-臺灣健保署2014年中文版ICD 10 PCS-放射治療項目值集 (extensible): 最新參考代碼清單請參考此檔案

...... system S 1..1 uri Identity of the terminology system
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2014-tw
...... code S 1..1 code Symbol in syntax defined by the system
... ingredient S 0..1 BackboneElement Composition information about the substance
.... quantity
..... numerator
...... value S 0..1 decimal 放射治療總劑量
...... unit S 0..1 string 放射治療總劑量單位
.... Slices for substance[x] 1..1 CodeableConcept, Reference(Substance) 因FHIR設計而需必填
Slice: Unordered, Open by type:$this
Binding: 健保事前審查-臺灣健保署2023年中文版ICD 10 PCS-放射治療項目值集 (preferred): 最新參考代碼清單請參考此檔案

..... substance[x]:substanceCodeableConcept 0..1 CodeableConcept A component of the substance
...... Slices for coding 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
....... coding:ICD10PCS2023Radiotherapy S 0..1 Coding Code defined by a terminology system
Binding: 健保事前審查-臺灣健保署2023年中文版ICD 10 PCS-放射治療項目值集 (extensible): 最新參考代碼清單請參考此檔案

........ system S 1..1 uri Identity of the terminology system
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2023-tw
........ code S 1..1 code Symbol in syntax defined by the system
....... coding:ICD10PCS2014Radiotherapy S 0..1 Coding Code defined by a terminology system
Binding: 健保事前審查-臺灣健保署2014年中文版ICD 10 PCS-放射治療項目值集 (extensible): 最新參考代碼清單請參考此檔案

........ system S 1..1 uri Identity of the terminology system
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2014-tw
........ code S 1..1 code Symbol in syntax defined by the system

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Substance.codepreferredICD10PCS2023Radiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2023-radiotherapy
from this IG
Substance.code.coding:ICD10PCS2023RadiotherapyextensibleICD10PCS2023Radiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2023-radiotherapy
from this IG
Substance.code.coding:ICD10PCS2014RadiotherapyextensibleICD10PCSRadiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2014-radiotherapy
from this IG
Substance.ingredient.substance[x]preferredICD10PCS2023Radiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2023-radiotherapy
from this IG
Substance.ingredient.substance[x]:substanceCodeableConcept.coding:ICD10PCS2023RadiotherapyextensibleICD10PCS2023Radiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2023-radiotherapy
from this IG
Substance.ingredient.substance[x]:substanceCodeableConcept.coding:ICD10PCS2014RadiotherapyextensibleICD10PCSRadiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2014-radiotherapy
from this IG

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Substance 0..* Substance A homogeneous material with a definite composition
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: 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
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... status ?!Σ 0..1 code active | inactive | entered-in-error
Binding: FHIRSubstanceStatus (required): A code to indicate if the substance is actively used.


ele-1: All FHIR elements must have a @value or children
.... Slices for coding Σ 1..1 Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
ele-1: All FHIR elements must have a @value or children
..... coding:ICD10PCS2023Radiotherapy SΣ 0..1 Coding Code defined by a terminology system
Binding: 健保事前審查-臺灣健保署2023年中文版ICD 10 PCS-放射治療項目值集 (extensible): 最新參考代碼清單請參考此檔案


ele-1: All FHIR elements must have a @value or children
...... system SΣ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2023-tw
...... code SΣ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
..... coding:ICD10PCS2014Radiotherapy SΣ 0..1 Coding Code defined by a terminology system
Binding: 健保事前審查-臺灣健保署2014年中文版ICD 10 PCS-放射治療項目值集 (extensible): 最新參考代碼清單請參考此檔案


ele-1: All FHIR elements must have a @value or children
...... system SΣ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2014-tw
...... code SΣ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
... ingredient SΣ 0..1 BackboneElement Composition information about the substance
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... quantity Σ 0..1 Ratio Optional amount (concentration)
ele-1: All FHIR elements must have a @value or children
..... numerator Σ 0..1 Quantity Numerator value
ele-1: All FHIR elements must have a @value or children
...... value SΣ 0..1 decimal 放射治療總劑量
ele-1: All FHIR elements must have a @value or children
...... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.


ele-1: All FHIR elements must have a @value or children
...... unit SΣ 0..1 string 放射治療總劑量單位
ele-1: All FHIR elements must have a @value or children
.... Slices for substance[x] Σ 1..1 因FHIR設計而需必填
Slice: Unordered, Open by type:$this
Binding: 健保事前審查-臺灣健保署2023年中文版ICD 10 PCS-放射治療項目值集 (preferred): 最新參考代碼清單請參考此檔案


ele-1: All FHIR elements must have a @value or children
..... substanceCodeableConcept CodeableConcept
..... substanceReference Reference(Substance)
..... substance[x]:substanceCodeableConcept Σ 0..1 CodeableConcept A component of the substance
Binding: SubstanceCode (example): Substance Ingredient codes.


ele-1: All FHIR elements must have a @value or children
...... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
ele-1: All FHIR elements must have a @value or children
....... coding:ICD10PCS2023Radiotherapy SΣ 0..1 Coding Code defined by a terminology system
Binding: 健保事前審查-臺灣健保署2023年中文版ICD 10 PCS-放射治療項目值集 (extensible): 最新參考代碼清單請參考此檔案


ele-1: All FHIR elements must have a @value or children
........ system SΣ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2023-tw
........ code SΣ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
....... coding:ICD10PCS2014Radiotherapy SΣ 0..1 Coding Code defined by a terminology system
Binding: 健保事前審查-臺灣健保署2014年中文版ICD 10 PCS-放射治療項目值集 (extensible): 最新參考代碼清單請參考此檔案


ele-1: All FHIR elements must have a @value or children
........ system SΣ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2014-tw
........ code SΣ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Substance.statusrequiredFHIRSubstanceStatus
http://hl7.org/fhir/ValueSet/substance-status|4.0.1
from the FHIR Standard
Substance.codepreferredICD10PCS2023Radiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2023-radiotherapy
from this IG
Substance.code.coding:ICD10PCS2023RadiotherapyextensibleICD10PCS2023Radiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2023-radiotherapy
from this IG
Substance.code.coding:ICD10PCS2014RadiotherapyextensibleICD10PCSRadiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2014-radiotherapy
from this IG
Substance.ingredient.quantity.numerator.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
from the FHIR Standard
Substance.ingredient.substance[x]preferredICD10PCS2023Radiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2023-radiotherapy
from this IG
Substance.ingredient.substance[x]:substanceCodeableConceptexampleSubstanceCode
http://hl7.org/fhir/ValueSet/substance-code
from the FHIR Standard
Substance.ingredient.substance[x]:substanceCodeableConcept.coding:ICD10PCS2023RadiotherapyextensibleICD10PCS2023Radiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2023-radiotherapy
from this IG
Substance.ingredient.substance[x]:substanceCodeableConcept.coding:ICD10PCS2014RadiotherapyextensibleICD10PCSRadiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2014-radiotherapy
from this IG

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorSubstanceIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorSubstanceIf 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-4errorSubstanceIf 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-5errorSubstanceIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceSubstanceA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Substance 0..* Substance A homogeneous material with a definite composition
... 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
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier Unique identifier
... status ?!Σ 0..1 code active | inactive | entered-in-error
Binding: FHIRSubstanceStatus (required): A code to indicate if the substance is actively used.

... category Σ 0..* CodeableConcept What class/type of substance this is
Binding: SubstanceCategoryCodes (extensible): Category or classification of substance.


... code Σ 1..1 CodeableConcept 放射治療項目,伽傌射線、高能量X光、質子治療、碘-123、鎝-99m、碘-131、銦-111等。ICD-PCS。
Binding: 健保事前審查-臺灣健保署2023年中文版ICD 10 PCS-放射治療項目值集 (preferred): 最新參考代碼清單請參考此檔案

.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding Σ 1..1 Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:ICD10PCS2023Radiotherapy SΣ 0..1 Coding Code defined by a terminology system
Binding: 健保事前審查-臺灣健保署2023年中文版ICD 10 PCS-放射治療項目值集 (extensible): 最新參考代碼清單請參考此檔案


...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri Identity of the terminology system
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2023-tw
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:ICD10PCS2014Radiotherapy SΣ 0..1 Coding Code defined by a terminology system
Binding: 健保事前審查-臺灣健保署2014年中文版ICD 10 PCS-放射治療項目值集 (extensible): 最新參考代碼清單請參考此檔案


...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri Identity of the terminology system
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2014-tw
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Plain text representation of the concept
... description Σ 0..1 string Textual description of the substance, comments
... instance Σ 0..* BackboneElement If this describes a specific package/container of the substance
.... 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
.... identifier Σ 0..1 Identifier Identifier of the package/container
.... expiry Σ 0..1 dateTime When no longer valid to use
.... quantity Σ 0..1 SimpleQuantity Amount of substance in the package
... ingredient SΣ 0..1 BackboneElement Composition information about the substance
.... 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
.... quantity Σ 0..1 Ratio Optional amount (concentration)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... numerator Σ 0..1 Quantity Numerator value
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... value SΣ 0..1 decimal 放射治療總劑量
...... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

...... unit SΣ 0..1 string 放射治療總劑量單位
...... system ΣC 0..1 uri System that defines coded unit form
...... code Σ 0..1 code Coded form of the unit
..... denominator Σ 0..1 Quantity Denominator value
.... Slices for substance[x] Σ 1..1 因FHIR設計而需必填
Slice: Unordered, Open by type:$this
Binding: 健保事前審查-臺灣健保署2023年中文版ICD 10 PCS-放射治療項目值集 (preferred): 最新參考代碼清單請參考此檔案

..... substanceCodeableConcept CodeableConcept
..... substanceReference Reference(Substance)
..... substance[x]:substanceCodeableConcept Σ 0..1 CodeableConcept A component of the substance
Binding: SubstanceCode (example): Substance Ingredient codes.

...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
....... coding:ICD10PCS2023Radiotherapy SΣ 0..1 Coding Code defined by a terminology system
Binding: 健保事前審查-臺灣健保署2023年中文版ICD 10 PCS-放射治療項目值集 (extensible): 最新參考代碼清單請參考此檔案


........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ system SΣ 1..1 uri Identity of the terminology system
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2023-tw
........ version Σ 0..1 string Version of the system - if relevant
........ code SΣ 1..1 code Symbol in syntax defined by the system
........ display Σ 0..1 string Representation defined by the system
........ userSelected Σ 0..1 boolean If this coding was chosen directly by the user
....... coding:ICD10PCS2014Radiotherapy SΣ 0..1 Coding Code defined by a terminology system
Binding: 健保事前審查-臺灣健保署2014年中文版ICD 10 PCS-放射治療項目值集 (extensible): 最新參考代碼清單請參考此檔案


........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ system SΣ 1..1 uri Identity of the terminology system
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2014-tw
........ version Σ 0..1 string Version of the system - if relevant
........ code SΣ 1..1 code Symbol in syntax defined by the system
........ display Σ 0..1 string Representation defined by the system
........ userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Substance.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Substance.statusrequiredFHIRSubstanceStatus
http://hl7.org/fhir/ValueSet/substance-status|4.0.1
from the FHIR Standard
Substance.categoryextensibleSubstanceCategoryCodes
http://hl7.org/fhir/ValueSet/substance-category
from the FHIR Standard
Substance.codepreferredICD10PCS2023Radiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2023-radiotherapy
from this IG
Substance.code.coding:ICD10PCS2023RadiotherapyextensibleICD10PCS2023Radiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2023-radiotherapy
from this IG
Substance.code.coding:ICD10PCS2014RadiotherapyextensibleICD10PCSRadiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2014-radiotherapy
from this IG
Substance.ingredient.quantity.numerator.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
from the FHIR Standard
Substance.ingredient.substance[x]preferredICD10PCS2023Radiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2023-radiotherapy
from this IG
Substance.ingredient.substance[x]:substanceCodeableConceptexampleSubstanceCode
http://hl7.org/fhir/ValueSet/substance-code
from the FHIR Standard
Substance.ingredient.substance[x]:substanceCodeableConcept.coding:ICD10PCS2023RadiotherapyextensibleICD10PCS2023Radiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2023-radiotherapy
from this IG
Substance.ingredient.substance[x]:substanceCodeableConcept.coding:ICD10PCS2014RadiotherapyextensibleICD10PCSRadiotherapy
https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2014-radiotherapy
from this IG

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorSubstanceIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorSubstanceIf 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-4errorSubstanceIf 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-5errorSubstanceIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceSubstanceA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from Substance

Summary

Mandatory: 1 element(8 nested mandatory elements)
Must-Support: 15 elements

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Substance.code.coding
  • The element 1 is sliced based on the value of Substance.ingredient.substance[x]
  • The element 1 is sliced based on the value of Substance.ingredient.substance[x].coding

 

Other representations of profile: CSV, Excel, Schematron