國家級人體生物資料庫整合平台共同資料模式實作指引(NBCT Common Data Model IG)
1.1.0 - Release1.1.0 Taiwan, Province of China flag

This page is part of the 國家級人體生物資料庫整合平台共同資料模式實作指引(NBCT Common Data Model IG) (v1.1.0: 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: Condition CRLF-原發性癌症情況

Official URL: https://www.ghd.tw/cdm-fhir/StructureDefinition/Condition-Primary Version: 1.1.0
Active as of 2024-09-01 Computable Name: ConditionPrimaryCancer

此Profile用於描述癌症登記長表資料檔(CRLF)之原發性癌症情況

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Condition C 0..* Condition Detailed information about conditions, problems or diagnoses
Constraints: con-3, con-4, con-5
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:assertedDate S 0..1 (Complex) 最初診斷日期
URL: http://hl7.org/fhir/StructureDefinition/condition-assertedDate
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/condition-assertedDate"
..... value[x] 1..1 dateTime 最初診斷日期。[CRLF.didiag]
.... extension:crlfHist S 0..* CodeableConcept Extension CRLF-組織類型(Histology)
URL: https://www.ghd.tw/cdm-fhir/StructureDefinition/CRLF-Hist
.... extension:crlfBehavior S 0..* CodeableConcept Extension CRLF-性態碼(Behavior)
URL: https://www.ghd.tw/cdm-fhir/StructureDefinition/CRLF-Behavior
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... verificationStatus ?!ΣC 0..1 CodeableConcept unconfirmed | provisional | differential | confirmed | refuted | entered-in-error
Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis.
... Slices for category S 3..* CodeableConcept problem-list-item | encounter-diagnosis
Slice: Unordered, Open by pattern:coding.system
Binding: ConditionCategoryCodes (extensible): A category assigned to the condition.
.... category:Class S 1..1 CodeableConcept 個案分類
Binding: ConditionCategoryCodes (extensible): A category assigned to the condition.
..... coding SΣ 1..* Coding Code defined by a terminology system
Binding: 個案分類值集 (required): 個案分類;應填入所綁定值集中的其中一個代碼。
...... system SΣ 1..1 uri Identity of the terminology system
Required Pattern: https://www.ghd.tw/cdm-fhir/CodeSystem/CRLF-Class-cs
...... code SΣ 1..1 code 個案分類。[CRLF.class]
..... text SΣ 0..1 string 個案分類。[CRLF.class]
.... category:Class_d S 1..1 CodeableConcept 診斷狀態分類
Binding: ConditionCategoryCodes (extensible): A category assigned to the condition.
..... coding SΣ 1..* Coding Code defined by a terminology system
Binding: 診斷狀態分類值集 (required): 診斷狀態分類;應填入所綁定值集中的其中一個代碼。
...... system SΣ 1..1 uri Identity of the terminology system
Required Pattern: https://www.ghd.tw/cdm-fhir/CodeSystem/CRLF-ClassDiagnosis-cs
...... code SΣ 1..1 code 診斷狀態分類。[CRLF.class_d]
..... text SΣ 0..1 string 診斷狀態分類。[CRLF.class_d]
.... category:Class_T S 1..1 CodeableConcept 治療狀態分類
Binding: ConditionCategoryCodes (extensible): A category assigned to the condition.
..... coding SΣ 1..* Coding Code defined by a terminology system
Binding: 治療狀態分類值集 (required): 治療狀態分類;應填入所綁定值集中的其中一個代碼。
...... system SΣ 1..1 uri Identity of the terminology system
Required Pattern: https://www.ghd.tw/cdm-fhir/CodeSystem/CRLF-Treatment-cs
...... code SΣ 1..1 code 治療狀態分類。[CRLF.class_t]
..... text SΣ 0..1 string 治療狀態分類。[CRLF.class_t]
... Slices for bodySite SΣ 2..* CodeableConcept Anatomical location, if relevant
Slice: Unordered, Open by pattern:coding.system
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.
.... bodySite:Site SΣ 1..1 CodeableConcept 原發部位
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.
..... coding SΣ 1..* Coding Code defined by a terminology system
Binding: 原發部位值集 (required): 原發部位值集;應填入所綁定值集中的其中一個代碼。
...... system SΣ 1..1 uri Identity of the terminology system
Required Pattern: https://www.ghd.tw/cdm-fhir/CodeSystem/CRLF-Site-cs
...... code SΣ 1..1 code 原發部位。[CRLF.site]
..... text SΣ 0..1 string 原發部位。[CRLF.site]
.... bodySite:Lateral SΣ 1..1 CodeableConcept 側性
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.
..... coding SΣ 1..* Coding Code defined by a terminology system
Binding: 側性值集 (required): 側性值集;應填入所綁定值集中的其中一個代碼。
...... system SΣ 1..1 uri Identity of the terminology system
Required Pattern: https://www.ghd.tw/cdm-fhir/CodeSystem/CRLF-Lateral-cs
...... code SΣ 1..1 code 側性。[CRLF.lateral]
..... text SΣ 0..1 string 側性。[CRLF.lateral]
... subject SΣ 1..1 Reference(Patient CRLF-病患基本資料) Who has the condition?
.... reference SΣC 1..1 string 患者 Resource Link
... onset[x] SΣ 1..1 Age 診斷年齡。[CRLF.age]
.... value SΣ 1..1 decimal 診斷年齡。[CRLF.age]
.... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
.... unit SΣ 1..1 string Unit representation
Fixed Value: years
.... system SΣC 1..1 uri System that defines coded unit form
Fixed Value: http://unitsofmeasure.org
.... code SΣ 1..1 code Coded form of the unit
Fixed Value: a
... recordedDate SΣ 1..1 dateTime 首次就診日期。[CRLF.dcont]
... stage SC 1..* BackboneElement Stage/grade, usually assessed formally
Constraints: con-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... summary SC 0..1 CodeableConcept Simple summary (disease specific)
Binding: ConditionStage (example): Codes describing condition stages (e.g. Cancer stages).
..... coding SΣ 0..* Coding Code defined by a terminology system
...... system SΣ 1..1 uri Identity of the terminology system
...... code SΣ 1..1 code "臨床分級/分化"或"病理分級/分化",[CRLF.grade_c/CRLF.grade_p]。擇一使用。
..... text SΣ 0..1 string "臨床分級/分化"或"病理分級/分化"。擇一使用
.... assessment SC 0..* Reference(ClinicalImpression | DiagnosticReport | Observation CRLF-臨床分級/分化 | Observation CRLF-病理分級/分化) Formal record of assessment
..... reference SΣC 1..1 string "臨床分級/分化"或"病理分級/分化"之Resource Link
... evidence SC 1..* BackboneElement Supporting evidence
Constraints: con-2
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... code SΣC 1..* CodeableConcept Manifestation/symptom
Binding: ManifestationAndSymptomCodes (example): Codes that describe the manifestation or symptoms of a condition.
..... coding SΣ 1..* Coding Code defined by a terminology system
Binding: 癌症確診方式值集 (required): 癌症確診方式;應填入所綁定值集中的其中一個代碼。
...... system SΣ 1..1 uri Identity of the terminology system
...... code SΣ 1..1 code 癌症確診方式。[CRLF.confirm]
..... text SΣ 0..1 string 癌症確診方式。[CRLF.confirm]
... note S 1..1 Annotation Additional information about the Condition
.... text SΣ 1..1 markdown 癌症發生順序號碼。[CRLF.sequence]

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Condition.clinicalStatus Base required Condition Clinical Status Codes 📍4.0.1 FHIR Std.
Condition.verificationStatus Base required ConditionVerificationStatus 📍4.0.1 FHIR Std.
Condition.category Base extensible Condition Category Codes 📍4.0.1 FHIR Std.
Condition.category:Class Base extensible Condition Category Codes 📍4.0.1 FHIR Std.
Condition.category:Class.​coding Base required 個案分類值集 📦1.1.0 This IG
Condition.category:Class_d Base extensible Condition Category Codes 📍4.0.1 FHIR Std.
Condition.category:Class_d.​coding Base required 診斷狀態分類值集 📦1.1.0 This IG
Condition.category:Class_T Base extensible Condition Category Codes 📍4.0.1 FHIR Std.
Condition.category:Class_T.​coding Base required 治療狀態分類值集 📦1.1.0 This IG
Condition.bodySite Base example SNOMED CT Body Structures 📍4.0.1 FHIR Std.
Condition.bodySite:Site Base example SNOMED CT Body Structures 📍4.0.1 FHIR Std.
Condition.bodySite:Site.​coding Base required 原發部位值集 📦1.1.0 This IG
Condition.bodySite:Lateral Base example SNOMED CT Body Structures 📍4.0.1 FHIR Std.
Condition.bodySite:Lateral.​coding Base required 側性值集 📦1.1.0 This IG
Condition.onset[x].comparator Base required QuantityComparator 📍4.0.1 FHIR Std.
Condition.stage.summary Base example Condition Stage 📍4.0.1 FHIR Std.
Condition.evidence.code Base example Manifestation and Symptom Codes 📍4.0.1 FHIR Std.
Condition.evidence.code.​coding Base required 癌症確診方式值集 📦1.1.0 This IG

Constraints

Id Grade Path(s) Description Expression
con-1 error Condition.stage Stage SHALL have summary or assessment summary.exists() or assessment.exists()
con-2 error Condition.evidence evidence SHALL have code or details code.exists() or detail.exists()
con-3 best practice Condition Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty()
con-4 error Condition If condition is abated, then clinicalStatus must be either inactive, resolved, or remission abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()
con-5 error Condition Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()
dom-2 error Condition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Condition 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 Condition 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 Condition If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Condition 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()

This structure is derived from Condition

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Condition 0..* Condition Detailed information about conditions, problems or diagnoses
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:assertedDate S 0..1 (Complex) 最初診斷日期
URL: http://hl7.org/fhir/StructureDefinition/condition-assertedDate
..... value[x] 1..1 dateTime 最初診斷日期。[CRLF.didiag]
.... extension:crlfHist S 0..* CodeableConcept Extension CRLF-組織類型(Histology)
URL: https://www.ghd.tw/cdm-fhir/StructureDefinition/CRLF-Hist
.... extension:crlfBehavior S 0..* CodeableConcept Extension CRLF-性態碼(Behavior)
URL: https://www.ghd.tw/cdm-fhir/StructureDefinition/CRLF-Behavior
... Slices for category S 3..* CodeableConcept problem-list-item | encounter-diagnosis
Slice: Unordered, Open by pattern:coding.system
.... category:Class S 1..1 CodeableConcept 個案分類
..... coding S 1..* Coding Code defined by a terminology system
Binding: 個案分類值集 (required): 個案分類;應填入所綁定值集中的其中一個代碼。
...... system S 1..1 uri Identity of the terminology system
Required Pattern: https://www.ghd.tw/cdm-fhir/CodeSystem/CRLF-Class-cs
...... code S 1..1 code 個案分類。[CRLF.class]
..... text S 0..1 string 個案分類。[CRLF.class]
.... category:Class_d S 1..1 CodeableConcept 診斷狀態分類
..... coding S 1..* Coding Code defined by a terminology system
Binding: 診斷狀態分類值集 (required): 診斷狀態分類;應填入所綁定值集中的其中一個代碼。
...... system S 1..1 uri Identity of the terminology system
Required Pattern: https://www.ghd.tw/cdm-fhir/CodeSystem/CRLF-ClassDiagnosis-cs
...... code S 1..1 code 診斷狀態分類。[CRLF.class_d]
..... text S 0..1 string 診斷狀態分類。[CRLF.class_d]
.... category:Class_T S 1..1 CodeableConcept 治療狀態分類
..... coding S 1..* Coding Code defined by a terminology system
Binding: 治療狀態分類值集 (required): 治療狀態分類;應填入所綁定值集中的其中一個代碼。
...... system S 1..1 uri Identity of the terminology system
Required Pattern: https://www.ghd.tw/cdm-fhir/CodeSystem/CRLF-Treatment-cs
...... code S 1..1 code 治療狀態分類。[CRLF.class_t]
..... text S 0..1 string 治療狀態分類。[CRLF.class_t]
... Slices for bodySite S 2..* CodeableConcept Anatomical location, if relevant
Slice: Unordered, Open by pattern:coding.system
.... bodySite:Site S 1..1 CodeableConcept 原發部位
..... coding S 1..* Coding Code defined by a terminology system
Binding: 原發部位值集 (required): 原發部位值集;應填入所綁定值集中的其中一個代碼。
...... system S 1..1 uri Identity of the terminology system
Required Pattern: https://www.ghd.tw/cdm-fhir/CodeSystem/CRLF-Site-cs
...... code S 1..1 code 原發部位。[CRLF.site]
..... text S 0..1 string 原發部位。[CRLF.site]
.... bodySite:Lateral S 1..1 CodeableConcept 側性
..... coding S 1..* Coding Code defined by a terminology system
Binding: 側性值集 (required): 側性值集;應填入所綁定值集中的其中一個代碼。
...... system S 1..1 uri Identity of the terminology system
Required Pattern: https://www.ghd.tw/cdm-fhir/CodeSystem/CRLF-Lateral-cs
...... code S 1..1 code 側性。[CRLF.lateral]
..... text S 0..1 string 側性。[CRLF.lateral]
.... reference S 1..1 string 患者 Resource Link
... onset[x] S 1..1 Age 診斷年齡。[CRLF.age]
.... value S 1..1 decimal 診斷年齡。[CRLF.age]
.... unit S 1..1 string Unit representation
Fixed Value: years
.... system S 1..1 uri System that defines coded unit form
Fixed Value: http://unitsofmeasure.org
.... code S 1..1 code Coded form of the unit
Fixed Value: a
... recordedDate S 1..1 dateTime 首次就診日期。[CRLF.dcont]
... stage S 1..* BackboneElement Stage/grade, usually assessed formally
.... summary S 0..1 CodeableConcept Simple summary (disease specific)
..... coding S 0..* Coding Code defined by a terminology system
...... system S 1..1 uri Identity of the terminology system
...... code S 1..1 code "臨床分級/分化"或"病理分級/分化",[CRLF.grade_c/CRLF.grade_p]。擇一使用。
..... text S 0..1 string "臨床分級/分化"或"病理分級/分化"。擇一使用
.... assessment S 0..* Reference(ClinicalImpression | DiagnosticReport | Observation CRLF-臨床分級/分化 | Observation CRLF-病理分級/分化) Formal record of assessment
..... reference S 1..1 string "臨床分級/分化"或"病理分級/分化"之Resource Link
... evidence S 1..* BackboneElement Supporting evidence
.... code S 1..* CodeableConcept Manifestation/symptom
..... coding S 1..* Coding Code defined by a terminology system
Binding: 癌症確診方式值集 (required): 癌症確診方式;應填入所綁定值集中的其中一個代碼。
...... system S 1..1 uri Identity of the terminology system
...... code S 1..1 code 癌症確診方式。[CRLF.confirm]
..... text S 0..1 string 癌症確診方式。[CRLF.confirm]
... note S 1..1 Annotation Additional information about the Condition
.... text S 1..1 markdown 癌症發生順序號碼。[CRLF.sequence]

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Condition.category:Class.​coding Base required 個案分類值集 📦1.1.0 This IG
Condition.category:Class_d.​coding Base required 診斷狀態分類值集 📦1.1.0 This IG
Condition.category:Class_T.​coding Base required 治療狀態分類值集 📦1.1.0 This IG
Condition.bodySite:Site.​coding Base required 原發部位值集 📦1.1.0 This IG
Condition.bodySite:Lateral.​coding Base required 側性值集 📦1.1.0 This IG
Condition.evidence.code.​coding Base required 癌症確診方式值集 📦1.1.0 This IG
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Condition C 0..* Condition Detailed information about conditions, problems or diagnoses
Constraints: con-3, con-4, con-5
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:assertedDate S 0..1 (Complex) 最初診斷日期
URL: http://hl7.org/fhir/StructureDefinition/condition-assertedDate
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/condition-assertedDate"
..... value[x] 1..1 dateTime 最初診斷日期。[CRLF.didiag]
.... extension:crlfHist S 0..* CodeableConcept Extension CRLF-組織類型(Histology)
URL: https://www.ghd.tw/cdm-fhir/StructureDefinition/CRLF-Hist
.... extension:crlfBehavior S 0..* CodeableConcept Extension CRLF-性態碼(Behavior)
URL: https://www.ghd.tw/cdm-fhir/StructureDefinition/CRLF-Behavior
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier External Ids for this condition
... clinicalStatus ?!ΣC 0..1 CodeableConcept active | recurrence | relapse | inactive | remission | resolved
Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis.
... verificationStatus ?!ΣC 0..1 CodeableConcept unconfirmed | provisional | differential | confirmed | refuted | entered-in-error
Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis.
... Slices for category S 3..* CodeableConcept problem-list-item | encounter-diagnosis
Slice: Unordered, Open by pattern:coding.system
Binding: ConditionCategoryCodes (extensible): A category assigned to the condition.
.... category:Class S 1..1 CodeableConcept 個案分類
Binding: ConditionCategoryCodes (extensible): A category assigned to the condition.
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding SΣ 1..* Coding Code defined by a terminology system
Binding: 個案分類值集 (required): 個案分類;應填入所綁定值集中的其中一個代碼。
...... 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://www.ghd.tw/cdm-fhir/CodeSystem/CRLF-Class-cs
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code 個案分類。[CRLF.class]
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text SΣ 0..1 string 個案分類。[CRLF.class]
.... category:Class_d S 1..1 CodeableConcept 診斷狀態分類
Binding: ConditionCategoryCodes (extensible): A category assigned to the condition.
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding SΣ 1..* Coding Code defined by a terminology system
Binding: 診斷狀態分類值集 (required): 診斷狀態分類;應填入所綁定值集中的其中一個代碼。
...... 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://www.ghd.tw/cdm-fhir/CodeSystem/CRLF-ClassDiagnosis-cs
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code 診斷狀態分類。[CRLF.class_d]
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text SΣ 0..1 string 診斷狀態分類。[CRLF.class_d]
.... category:Class_T S 1..1 CodeableConcept 治療狀態分類
Binding: ConditionCategoryCodes (extensible): A category assigned to the condition.
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding SΣ 1..* Coding Code defined by a terminology system
Binding: 治療狀態分類值集 (required): 治療狀態分類;應填入所綁定值集中的其中一個代碼。
...... 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://www.ghd.tw/cdm-fhir/CodeSystem/CRLF-Treatment-cs
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code 治療狀態分類。[CRLF.class_t]
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text SΣ 0..1 string 治療狀態分類。[CRLF.class_t]
... severity 0..1 CodeableConcept Subjective severity of condition
Binding: Condition/DiagnosisSeverity (preferred): A subjective assessment of the severity of the condition as evaluated by the clinician.
... code Σ 0..1 CodeableConcept Identification of the condition, problem or diagnosis
Binding: Condition/Problem/DiagnosisCodes (example): Identification of the condition or diagnosis.
... Slices for bodySite SΣ 2..* CodeableConcept Anatomical location, if relevant
Slice: Unordered, Open by pattern:coding.system
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.
.... bodySite:Site SΣ 1..1 CodeableConcept 原發部位
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding SΣ 1..* Coding Code defined by a terminology system
Binding: 原發部位值集 (required): 原發部位值集;應填入所綁定值集中的其中一個代碼。
...... 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://www.ghd.tw/cdm-fhir/CodeSystem/CRLF-Site-cs
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code 原發部位。[CRLF.site]
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text SΣ 0..1 string 原發部位。[CRLF.site]
.... bodySite:Lateral SΣ 1..1 CodeableConcept 側性
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding SΣ 1..* Coding Code defined by a terminology system
Binding: 側性值集 (required): 側性值集;應填入所綁定值集中的其中一個代碼。
...... 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://www.ghd.tw/cdm-fhir/CodeSystem/CRLF-Lateral-cs
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code 側性。[CRLF.lateral]
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text SΣ 0..1 string 側性。[CRLF.lateral]
... subject SΣ 1..1 Reference(Patient CRLF-病患基本資料) Who has the condition?
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference SΣC 1..1 string 患者 Resource Link
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... encounter Σ 0..1 Reference(Encounter) Encounter created as part of
... onset[x] SΣ 1..1 Age 診斷年齡。[CRLF.age]
.... 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Σ 1..1 decimal 診斷年齡。[CRLF.age]
.... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
.... unit SΣ 1..1 string Unit representation
Fixed Value: years
.... system SΣC 1..1 uri System that defines coded unit form
Fixed Value: http://unitsofmeasure.org
.... code SΣ 1..1 code Coded form of the unit
Fixed Value: a
... abatement[x] C 0..1 When in resolution/remission
.... abatementDateTime dateTime
.... abatementAge Age
.... abatementPeriod Period
.... abatementRange Range
.... abatementString string
... recordedDate SΣ 1..1 dateTime 首次就診日期。[CRLF.dcont]
... recorder Σ 0..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Who recorded the condition
... asserter Σ 0..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Person who asserts this condition
... stage SC 1..* BackboneElement Stage/grade, usually assessed formally
Constraints: con-1
.... 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
.... summary SC 0..1 CodeableConcept Simple summary (disease specific)
Binding: ConditionStage (example): Codes describing condition stages (e.g. Cancer stages).
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding SΣ 0..* Coding Code defined by a terminology system
...... 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
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code "臨床分級/分化"或"病理分級/分化",[CRLF.grade_c/CRLF.grade_p]。擇一使用。
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text SΣ 0..1 string "臨床分級/分化"或"病理分級/分化"。擇一使用
.... assessment SC 0..* Reference(ClinicalImpression | DiagnosticReport | Observation CRLF-臨床分級/分化 | Observation CRLF-病理分級/分化) Formal record of assessment
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... reference SΣC 1..1 string "臨床分級/分化"或"病理分級/分化"之Resource Link
..... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
..... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
..... display Σ 0..1 string Text alternative for the resource
.... type 0..1 CodeableConcept Kind of staging
Binding: ConditionStageType (example): Codes describing the kind of condition staging (e.g. clinical or pathological).
... evidence SC 1..* BackboneElement Supporting evidence
Constraints: con-2
.... 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
.... code SΣC 1..* CodeableConcept Manifestation/symptom
Binding: ManifestationAndSymptomCodes (example): Codes that describe the manifestation or symptoms of a condition.
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding SΣ 1..* Coding Code defined by a terminology system
Binding: 癌症確診方式值集 (required): 癌症確診方式;應填入所綁定值集中的其中一個代碼。
...... 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
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code 癌症確診方式。[CRLF.confirm]
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text SΣ 0..1 string 癌症確診方式。[CRLF.confirm]
.... detail ΣC 0..* Reference(Resource) Supporting information found elsewhere
... note S 1..1 Annotation Additional information about the Condition
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... author[x] Σ 0..1 Individual responsible for the annotation
..... authorReference Reference(Practitioner | Patient | RelatedPerson | Organization)
..... authorString string
.... time Σ 0..1 dateTime When the annotation was made
.... text SΣ 1..1 markdown 癌症發生順序號碼。[CRLF.sequence]

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Condition.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Condition.clinicalStatus Base required Condition Clinical Status Codes 📍4.0.1 FHIR Std.
Condition.verificationStatus Base required ConditionVerificationStatus 📍4.0.1 FHIR Std.
Condition.category Base extensible Condition Category Codes 📍4.0.1 FHIR Std.
Condition.category:Class Base extensible Condition Category Codes 📍4.0.1 FHIR Std.
Condition.category:Class.​coding Base required 個案分類值集 📦1.1.0 This IG
Condition.category:Class_d Base extensible Condition Category Codes 📍4.0.1 FHIR Std.
Condition.category:Class_d.​coding Base required 診斷狀態分類值集 📦1.1.0 This IG
Condition.category:Class_T Base extensible Condition Category Codes 📍4.0.1 FHIR Std.
Condition.category:Class_T.​coding Base required 治療狀態分類值集 📦1.1.0 This IG
Condition.severity Base preferred Condition/Diagnosis Severity 📍4.0.1 FHIR Std.
Condition.code Base example Condition/Problem/Diagnosis Codes 📍4.0.1 FHIR Std.
Condition.bodySite Base example SNOMED CT Body Structures 📍4.0.1 FHIR Std.
Condition.bodySite:Site Base example SNOMED CT Body Structures 📍4.0.1 FHIR Std.
Condition.bodySite:Site.​coding Base required 原發部位值集 📦1.1.0 This IG
Condition.bodySite:Lateral Base example SNOMED CT Body Structures 📍4.0.1 FHIR Std.
Condition.bodySite:Lateral.​coding Base required 側性值集 📦1.1.0 This IG
Condition.subject.type Base extensible ResourceType 📍4.0.1 FHIR Std.
Condition.onset[x].comparator Base required QuantityComparator 📍4.0.1 FHIR Std.
Condition.stage.summary Base example Condition Stage 📍4.0.1 FHIR Std.
Condition.stage.assessment.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Condition.stage.type Base example Condition Stage Type 📍4.0.1 FHIR Std.
Condition.evidence.code Base example Manifestation and Symptom Codes 📍4.0.1 FHIR Std.
Condition.evidence.code.​coding Base required 癌症確診方式值集 📦1.1.0 This IG

Constraints

Id Grade Path(s) Description Expression
con-1 error Condition.stage Stage SHALL have summary or assessment summary.exists() or assessment.exists()
con-2 error Condition.evidence evidence SHALL have code or details code.exists() or detail.exists()
con-3 best practice Condition Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty()
con-4 error Condition If condition is abated, then clinicalStatus must be either inactive, resolved, or remission abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()
con-5 error Condition Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()
dom-2 error Condition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Condition 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 Condition 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 Condition If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Condition 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()

This structure is derived from Condition

Summary

Mandatory: 34 elements(3 nested mandatory elements)
Must-Support: 54 elements
Fixed: 3 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the values of Condition.category
  • The element 1 is sliced based on the values of Condition.bodySite

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Condition C 0..* Condition Detailed information about conditions, problems or diagnoses
Constraints: con-3, con-4, con-5
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:assertedDate S 0..1 (Complex) 最初診斷日期
URL: http://hl7.org/fhir/StructureDefinition/condition-assertedDate
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/condition-assertedDate"
..... value[x] 1..1 dateTime 最初診斷日期。[CRLF.didiag]
.... extension:crlfHist S 0..* CodeableConcept Extension CRLF-組織類型(Histology)
URL: https://www.ghd.tw/cdm-fhir/StructureDefinition/CRLF-Hist
.... extension:crlfBehavior S 0..* CodeableConcept Extension CRLF-性態碼(Behavior)
URL: https://www.ghd.tw/cdm-fhir/StructureDefinition/CRLF-Behavior
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... verificationStatus ?!ΣC 0..1 CodeableConcept unconfirmed | provisional | differential | confirmed | refuted | entered-in-error
Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis.
... Slices for category S 3..* CodeableConcept problem-list-item | encounter-diagnosis
Slice: Unordered, Open by pattern:coding.system
Binding: ConditionCategoryCodes (extensible): A category assigned to the condition.
.... category:Class S 1..1 CodeableConcept 個案分類
Binding: ConditionCategoryCodes (extensible): A category assigned to the condition.
..... coding SΣ 1..* Coding Code defined by a terminology system
Binding: 個案分類值集 (required): 個案分類;應填入所綁定值集中的其中一個代碼。
...... system SΣ 1..1 uri Identity of the terminology system
Required Pattern: https://www.ghd.tw/cdm-fhir/CodeSystem/CRLF-Class-cs
...... code SΣ 1..1 code 個案分類。[CRLF.class]
..... text SΣ 0..1 string 個案分類。[CRLF.class]
.... category:Class_d S 1..1 CodeableConcept 診斷狀態分類
Binding: ConditionCategoryCodes (extensible): A category assigned to the condition.
..... coding SΣ 1..* Coding Code defined by a terminology system
Binding: 診斷狀態分類值集 (required): 診斷狀態分類;應填入所綁定值集中的其中一個代碼。
...... system SΣ 1..1 uri Identity of the terminology system
Required Pattern: https://www.ghd.tw/cdm-fhir/CodeSystem/CRLF-ClassDiagnosis-cs
...... code SΣ 1..1 code 診斷狀態分類。[CRLF.class_d]
..... text SΣ 0..1 string 診斷狀態分類。[CRLF.class_d]
.... category:Class_T S 1..1 CodeableConcept 治療狀態分類
Binding: ConditionCategoryCodes (extensible): A category assigned to the condition.
..... coding SΣ 1..* Coding Code defined by a terminology system
Binding: 治療狀態分類值集 (required): 治療狀態分類;應填入所綁定值集中的其中一個代碼。
...... system SΣ 1..1 uri Identity of the terminology system
Required Pattern: https://www.ghd.tw/cdm-fhir/CodeSystem/CRLF-Treatment-cs
...... code SΣ 1..1 code 治療狀態分類。[CRLF.class_t]
..... text SΣ 0..1 string 治療狀態分類。[CRLF.class_t]
... Slices for bodySite SΣ 2..* CodeableConcept Anatomical location, if relevant
Slice: Unordered, Open by pattern:coding.system
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.
.... bodySite:Site SΣ 1..1 CodeableConcept 原發部位
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.
..... coding SΣ 1..* Coding Code defined by a terminology system
Binding: 原發部位值集 (required): 原發部位值集;應填入所綁定值集中的其中一個代碼。
...... system SΣ 1..1 uri Identity of the terminology system
Required Pattern: https://www.ghd.tw/cdm-fhir/CodeSystem/CRLF-Site-cs
...... code SΣ 1..1 code 原發部位。[CRLF.site]
..... text SΣ 0..1 string 原發部位。[CRLF.site]
.... bodySite:Lateral SΣ 1..1 CodeableConcept 側性
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.
..... coding SΣ 1..* Coding Code defined by a terminology system
Binding: 側性值集 (required): 側性值集;應填入所綁定值集中的其中一個代碼。
...... system SΣ 1..1 uri Identity of the terminology system
Required Pattern: https://www.ghd.tw/cdm-fhir/CodeSystem/CRLF-Lateral-cs
...... code SΣ 1..1 code 側性。[CRLF.lateral]
..... text SΣ 0..1 string 側性。[CRLF.lateral]
... subject SΣ 1..1 Reference(Patient CRLF-病患基本資料) Who has the condition?
.... reference SΣC 1..1 string 患者 Resource Link
... onset[x] SΣ 1..1 Age 診斷年齡。[CRLF.age]
.... value SΣ 1..1 decimal 診斷年齡。[CRLF.age]
.... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
.... unit SΣ 1..1 string Unit representation
Fixed Value: years
.... system SΣC 1..1 uri System that defines coded unit form
Fixed Value: http://unitsofmeasure.org
.... code SΣ 1..1 code Coded form of the unit
Fixed Value: a
... recordedDate SΣ 1..1 dateTime 首次就診日期。[CRLF.dcont]
... stage SC 1..* BackboneElement Stage/grade, usually assessed formally
Constraints: con-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... summary SC 0..1 CodeableConcept Simple summary (disease specific)
Binding: ConditionStage (example): Codes describing condition stages (e.g. Cancer stages).
..... coding SΣ 0..* Coding Code defined by a terminology system
...... system SΣ 1..1 uri Identity of the terminology system
...... code SΣ 1..1 code "臨床分級/分化"或"病理分級/分化",[CRLF.grade_c/CRLF.grade_p]。擇一使用。
..... text SΣ 0..1 string "臨床分級/分化"或"病理分級/分化"。擇一使用
.... assessment SC 0..* Reference(ClinicalImpression | DiagnosticReport | Observation CRLF-臨床分級/分化 | Observation CRLF-病理分級/分化) Formal record of assessment
..... reference SΣC 1..1 string "臨床分級/分化"或"病理分級/分化"之Resource Link
... evidence SC 1..* BackboneElement Supporting evidence
Constraints: con-2
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... code SΣC 1..* CodeableConcept Manifestation/symptom
Binding: ManifestationAndSymptomCodes (example): Codes that describe the manifestation or symptoms of a condition.
..... coding SΣ 1..* Coding Code defined by a terminology system
Binding: 癌症確診方式值集 (required): 癌症確診方式;應填入所綁定值集中的其中一個代碼。
...... system SΣ 1..1 uri Identity of the terminology system
...... code SΣ 1..1 code 癌症確診方式。[CRLF.confirm]
..... text SΣ 0..1 string 癌症確診方式。[CRLF.confirm]
... note S 1..1 Annotation Additional information about the Condition
.... text SΣ 1..1 markdown 癌症發生順序號碼。[CRLF.sequence]

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Condition.clinicalStatus Base required Condition Clinical Status Codes 📍4.0.1 FHIR Std.
Condition.verificationStatus Base required ConditionVerificationStatus 📍4.0.1 FHIR Std.
Condition.category Base extensible Condition Category Codes 📍4.0.1 FHIR Std.
Condition.category:Class Base extensible Condition Category Codes 📍4.0.1 FHIR Std.
Condition.category:Class.​coding Base required 個案分類值集 📦1.1.0 This IG
Condition.category:Class_d Base extensible Condition Category Codes 📍4.0.1 FHIR Std.
Condition.category:Class_d.​coding Base required 診斷狀態分類值集 📦1.1.0 This IG
Condition.category:Class_T Base extensible Condition Category Codes 📍4.0.1 FHIR Std.
Condition.category:Class_T.​coding Base required 治療狀態分類值集 📦1.1.0 This IG
Condition.bodySite Base example SNOMED CT Body Structures 📍4.0.1 FHIR Std.
Condition.bodySite:Site Base example SNOMED CT Body Structures 📍4.0.1 FHIR Std.
Condition.bodySite:Site.​coding Base required 原發部位值集 📦1.1.0 This IG
Condition.bodySite:Lateral Base example SNOMED CT Body Structures 📍4.0.1 FHIR Std.
Condition.bodySite:Lateral.​coding Base required 側性值集 📦1.1.0 This IG
Condition.onset[x].comparator Base required QuantityComparator 📍4.0.1 FHIR Std.
Condition.stage.summary Base example Condition Stage 📍4.0.1 FHIR Std.
Condition.evidence.code Base example Manifestation and Symptom Codes 📍4.0.1 FHIR Std.
Condition.evidence.code.​coding Base required 癌症確診方式值集 📦1.1.0 This IG

Constraints

Id Grade Path(s) Description Expression
con-1 error Condition.stage Stage SHALL have summary or assessment summary.exists() or assessment.exists()
con-2 error Condition.evidence evidence SHALL have code or details code.exists() or detail.exists()
con-3 best practice Condition Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty()
con-4 error Condition If condition is abated, then clinicalStatus must be either inactive, resolved, or remission abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()
con-5 error Condition Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()
dom-2 error Condition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Condition 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 Condition 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 Condition If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Condition 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()

Differential View

This structure is derived from Condition

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Condition 0..* Condition Detailed information about conditions, problems or diagnoses
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:assertedDate S 0..1 (Complex) 最初診斷日期
URL: http://hl7.org/fhir/StructureDefinition/condition-assertedDate
..... value[x] 1..1 dateTime 最初診斷日期。[CRLF.didiag]
.... extension:crlfHist S 0..* CodeableConcept Extension CRLF-組織類型(Histology)
URL: https://www.ghd.tw/cdm-fhir/StructureDefinition/CRLF-Hist
.... extension:crlfBehavior S 0..* CodeableConcept Extension CRLF-性態碼(Behavior)
URL: https://www.ghd.tw/cdm-fhir/StructureDefinition/CRLF-Behavior
... Slices for category S 3..* CodeableConcept problem-list-item | encounter-diagnosis
Slice: Unordered, Open by pattern:coding.system
.... category:Class S 1..1 CodeableConcept 個案分類
..... coding S 1..* Coding Code defined by a terminology system
Binding: 個案分類值集 (required): 個案分類;應填入所綁定值集中的其中一個代碼。
...... system S 1..1 uri Identity of the terminology system
Required Pattern: https://www.ghd.tw/cdm-fhir/CodeSystem/CRLF-Class-cs
...... code S 1..1 code 個案分類。[CRLF.class]
..... text S 0..1 string 個案分類。[CRLF.class]
.... category:Class_d S 1..1 CodeableConcept 診斷狀態分類
..... coding S 1..* Coding Code defined by a terminology system
Binding: 診斷狀態分類值集 (required): 診斷狀態分類;應填入所綁定值集中的其中一個代碼。
...... system S 1..1 uri Identity of the terminology system
Required Pattern: https://www.ghd.tw/cdm-fhir/CodeSystem/CRLF-ClassDiagnosis-cs
...... code S 1..1 code 診斷狀態分類。[CRLF.class_d]
..... text S 0..1 string 診斷狀態分類。[CRLF.class_d]
.... category:Class_T S 1..1 CodeableConcept 治療狀態分類
..... coding S 1..* Coding Code defined by a terminology system
Binding: 治療狀態分類值集 (required): 治療狀態分類;應填入所綁定值集中的其中一個代碼。
...... system S 1..1 uri Identity of the terminology system
Required Pattern: https://www.ghd.tw/cdm-fhir/CodeSystem/CRLF-Treatment-cs
...... code S 1..1 code 治療狀態分類。[CRLF.class_t]
..... text S 0..1 string 治療狀態分類。[CRLF.class_t]
... Slices for bodySite S 2..* CodeableConcept Anatomical location, if relevant
Slice: Unordered, Open by pattern:coding.system
.... bodySite:Site S 1..1 CodeableConcept 原發部位
..... coding S 1..* Coding Code defined by a terminology system
Binding: 原發部位值集 (required): 原發部位值集;應填入所綁定值集中的其中一個代碼。
...... system S 1..1 uri Identity of the terminology system
Required Pattern: https://www.ghd.tw/cdm-fhir/CodeSystem/CRLF-Site-cs
...... code S 1..1 code 原發部位。[CRLF.site]
..... text S 0..1 string 原發部位。[CRLF.site]
.... bodySite:Lateral S 1..1 CodeableConcept 側性
..... coding S 1..* Coding Code defined by a terminology system
Binding: 側性值集 (required): 側性值集;應填入所綁定值集中的其中一個代碼。
...... system S 1..1 uri Identity of the terminology system
Required Pattern: https://www.ghd.tw/cdm-fhir/CodeSystem/CRLF-Lateral-cs
...... code S 1..1 code 側性。[CRLF.lateral]
..... text S 0..1 string 側性。[CRLF.lateral]
.... reference S 1..1 string 患者 Resource Link
... onset[x] S 1..1 Age 診斷年齡。[CRLF.age]
.... value S 1..1 decimal 診斷年齡。[CRLF.age]
.... unit S 1..1 string Unit representation
Fixed Value: years
.... system S 1..1 uri System that defines coded unit form
Fixed Value: http://unitsofmeasure.org
.... code S 1..1 code Coded form of the unit
Fixed Value: a
... recordedDate S 1..1 dateTime 首次就診日期。[CRLF.dcont]
... stage S 1..* BackboneElement Stage/grade, usually assessed formally
.... summary S 0..1 CodeableConcept Simple summary (disease specific)
..... coding S 0..* Coding Code defined by a terminology system
...... system S 1..1 uri Identity of the terminology system
...... code S 1..1 code "臨床分級/分化"或"病理分級/分化",[CRLF.grade_c/CRLF.grade_p]。擇一使用。
..... text S 0..1 string "臨床分級/分化"或"病理分級/分化"。擇一使用
.... assessment S 0..* Reference(ClinicalImpression | DiagnosticReport | Observation CRLF-臨床分級/分化 | Observation CRLF-病理分級/分化) Formal record of assessment
..... reference S 1..1 string "臨床分級/分化"或"病理分級/分化"之Resource Link
... evidence S 1..* BackboneElement Supporting evidence
.... code S 1..* CodeableConcept Manifestation/symptom
..... coding S 1..* Coding Code defined by a terminology system
Binding: 癌症確診方式值集 (required): 癌症確診方式;應填入所綁定值集中的其中一個代碼。
...... system S 1..1 uri Identity of the terminology system
...... code S 1..1 code 癌症確診方式。[CRLF.confirm]
..... text S 0..1 string 癌症確診方式。[CRLF.confirm]
... note S 1..1 Annotation Additional information about the Condition
.... text S 1..1 markdown 癌症發生順序號碼。[CRLF.sequence]

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Condition.category:Class.​coding Base required 個案分類值集 📦1.1.0 This IG
Condition.category:Class_d.​coding Base required 診斷狀態分類值集 📦1.1.0 This IG
Condition.category:Class_T.​coding Base required 治療狀態分類值集 📦1.1.0 This IG
Condition.bodySite:Site.​coding Base required 原發部位值集 📦1.1.0 This IG
Condition.bodySite:Lateral.​coding Base required 側性值集 📦1.1.0 This IG
Condition.evidence.code.​coding Base required 癌症確診方式值集 📦1.1.0 This IG

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Condition C 0..* Condition Detailed information about conditions, problems or diagnoses
Constraints: con-3, con-4, con-5
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:assertedDate S 0..1 (Complex) 最初診斷日期
URL: http://hl7.org/fhir/StructureDefinition/condition-assertedDate
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/condition-assertedDate"
..... value[x] 1..1 dateTime 最初診斷日期。[CRLF.didiag]
.... extension:crlfHist S 0..* CodeableConcept Extension CRLF-組織類型(Histology)
URL: https://www.ghd.tw/cdm-fhir/StructureDefinition/CRLF-Hist
.... extension:crlfBehavior S 0..* CodeableConcept Extension CRLF-性態碼(Behavior)
URL: https://www.ghd.tw/cdm-fhir/StructureDefinition/CRLF-Behavior
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier External Ids for this condition
... clinicalStatus ?!ΣC 0..1 CodeableConcept active | recurrence | relapse | inactive | remission | resolved
Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis.
... verificationStatus ?!ΣC 0..1 CodeableConcept unconfirmed | provisional | differential | confirmed | refuted | entered-in-error
Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis.
... Slices for category S 3..* CodeableConcept problem-list-item | encounter-diagnosis
Slice: Unordered, Open by pattern:coding.system
Binding: ConditionCategoryCodes (extensible): A category assigned to the condition.
.... category:Class S 1..1 CodeableConcept 個案分類
Binding: ConditionCategoryCodes (extensible): A category assigned to the condition.
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding SΣ 1..* Coding Code defined by a terminology system
Binding: 個案分類值集 (required): 個案分類;應填入所綁定值集中的其中一個代碼。
...... 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://www.ghd.tw/cdm-fhir/CodeSystem/CRLF-Class-cs
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code 個案分類。[CRLF.class]
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text SΣ 0..1 string 個案分類。[CRLF.class]
.... category:Class_d S 1..1 CodeableConcept 診斷狀態分類
Binding: ConditionCategoryCodes (extensible): A category assigned to the condition.
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding SΣ 1..* Coding Code defined by a terminology system
Binding: 診斷狀態分類值集 (required): 診斷狀態分類;應填入所綁定值集中的其中一個代碼。
...... 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://www.ghd.tw/cdm-fhir/CodeSystem/CRLF-ClassDiagnosis-cs
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code 診斷狀態分類。[CRLF.class_d]
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text SΣ 0..1 string 診斷狀態分類。[CRLF.class_d]
.... category:Class_T S 1..1 CodeableConcept 治療狀態分類
Binding: ConditionCategoryCodes (extensible): A category assigned to the condition.
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding SΣ 1..* Coding Code defined by a terminology system
Binding: 治療狀態分類值集 (required): 治療狀態分類;應填入所綁定值集中的其中一個代碼。
...... 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://www.ghd.tw/cdm-fhir/CodeSystem/CRLF-Treatment-cs
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code 治療狀態分類。[CRLF.class_t]
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text SΣ 0..1 string 治療狀態分類。[CRLF.class_t]
... severity 0..1 CodeableConcept Subjective severity of condition
Binding: Condition/DiagnosisSeverity (preferred): A subjective assessment of the severity of the condition as evaluated by the clinician.
... code Σ 0..1 CodeableConcept Identification of the condition, problem or diagnosis
Binding: Condition/Problem/DiagnosisCodes (example): Identification of the condition or diagnosis.
... Slices for bodySite SΣ 2..* CodeableConcept Anatomical location, if relevant
Slice: Unordered, Open by pattern:coding.system
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.
.... bodySite:Site SΣ 1..1 CodeableConcept 原發部位
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding SΣ 1..* Coding Code defined by a terminology system
Binding: 原發部位值集 (required): 原發部位值集;應填入所綁定值集中的其中一個代碼。
...... 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://www.ghd.tw/cdm-fhir/CodeSystem/CRLF-Site-cs
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code 原發部位。[CRLF.site]
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text SΣ 0..1 string 原發部位。[CRLF.site]
.... bodySite:Lateral SΣ 1..1 CodeableConcept 側性
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding SΣ 1..* Coding Code defined by a terminology system
Binding: 側性值集 (required): 側性值集;應填入所綁定值集中的其中一個代碼。
...... 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://www.ghd.tw/cdm-fhir/CodeSystem/CRLF-Lateral-cs
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code 側性。[CRLF.lateral]
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text SΣ 0..1 string 側性。[CRLF.lateral]
... subject SΣ 1..1 Reference(Patient CRLF-病患基本資料) Who has the condition?
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference SΣC 1..1 string 患者 Resource Link
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... encounter Σ 0..1 Reference(Encounter) Encounter created as part of
... onset[x] SΣ 1..1 Age 診斷年齡。[CRLF.age]
.... 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Σ 1..1 decimal 診斷年齡。[CRLF.age]
.... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
.... unit SΣ 1..1 string Unit representation
Fixed Value: years
.... system SΣC 1..1 uri System that defines coded unit form
Fixed Value: http://unitsofmeasure.org
.... code SΣ 1..1 code Coded form of the unit
Fixed Value: a
... abatement[x] C 0..1 When in resolution/remission
.... abatementDateTime dateTime
.... abatementAge Age
.... abatementPeriod Period
.... abatementRange Range
.... abatementString string
... recordedDate SΣ 1..1 dateTime 首次就診日期。[CRLF.dcont]
... recorder Σ 0..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Who recorded the condition
... asserter Σ 0..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Person who asserts this condition
... stage SC 1..* BackboneElement Stage/grade, usually assessed formally
Constraints: con-1
.... 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
.... summary SC 0..1 CodeableConcept Simple summary (disease specific)
Binding: ConditionStage (example): Codes describing condition stages (e.g. Cancer stages).
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding SΣ 0..* Coding Code defined by a terminology system
...... 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
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code "臨床分級/分化"或"病理分級/分化",[CRLF.grade_c/CRLF.grade_p]。擇一使用。
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text SΣ 0..1 string "臨床分級/分化"或"病理分級/分化"。擇一使用
.... assessment SC 0..* Reference(ClinicalImpression | DiagnosticReport | Observation CRLF-臨床分級/分化 | Observation CRLF-病理分級/分化) Formal record of assessment
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... reference SΣC 1..1 string "臨床分級/分化"或"病理分級/分化"之Resource Link
..... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
..... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
..... display Σ 0..1 string Text alternative for the resource
.... type 0..1 CodeableConcept Kind of staging
Binding: ConditionStageType (example): Codes describing the kind of condition staging (e.g. clinical or pathological).
... evidence SC 1..* BackboneElement Supporting evidence
Constraints: con-2
.... 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
.... code SΣC 1..* CodeableConcept Manifestation/symptom
Binding: ManifestationAndSymptomCodes (example): Codes that describe the manifestation or symptoms of a condition.
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding SΣ 1..* Coding Code defined by a terminology system
Binding: 癌症確診方式值集 (required): 癌症確診方式;應填入所綁定值集中的其中一個代碼。
...... 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
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code 癌症確診方式。[CRLF.confirm]
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text SΣ 0..1 string 癌症確診方式。[CRLF.confirm]
.... detail ΣC 0..* Reference(Resource) Supporting information found elsewhere
... note S 1..1 Annotation Additional information about the Condition
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... author[x] Σ 0..1 Individual responsible for the annotation
..... authorReference Reference(Practitioner | Patient | RelatedPerson | Organization)
..... authorString string
.... time Σ 0..1 dateTime When the annotation was made
.... text SΣ 1..1 markdown 癌症發生順序號碼。[CRLF.sequence]

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Condition.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Condition.clinicalStatus Base required Condition Clinical Status Codes 📍4.0.1 FHIR Std.
Condition.verificationStatus Base required ConditionVerificationStatus 📍4.0.1 FHIR Std.
Condition.category Base extensible Condition Category Codes 📍4.0.1 FHIR Std.
Condition.category:Class Base extensible Condition Category Codes 📍4.0.1 FHIR Std.
Condition.category:Class.​coding Base required 個案分類值集 📦1.1.0 This IG
Condition.category:Class_d Base extensible Condition Category Codes 📍4.0.1 FHIR Std.
Condition.category:Class_d.​coding Base required 診斷狀態分類值集 📦1.1.0 This IG
Condition.category:Class_T Base extensible Condition Category Codes 📍4.0.1 FHIR Std.
Condition.category:Class_T.​coding Base required 治療狀態分類值集 📦1.1.0 This IG
Condition.severity Base preferred Condition/Diagnosis Severity 📍4.0.1 FHIR Std.
Condition.code Base example Condition/Problem/Diagnosis Codes 📍4.0.1 FHIR Std.
Condition.bodySite Base example SNOMED CT Body Structures 📍4.0.1 FHIR Std.
Condition.bodySite:Site Base example SNOMED CT Body Structures 📍4.0.1 FHIR Std.
Condition.bodySite:Site.​coding Base required 原發部位值集 📦1.1.0 This IG
Condition.bodySite:Lateral Base example SNOMED CT Body Structures 📍4.0.1 FHIR Std.
Condition.bodySite:Lateral.​coding Base required 側性值集 📦1.1.0 This IG
Condition.subject.type Base extensible ResourceType 📍4.0.1 FHIR Std.
Condition.onset[x].comparator Base required QuantityComparator 📍4.0.1 FHIR Std.
Condition.stage.summary Base example Condition Stage 📍4.0.1 FHIR Std.
Condition.stage.assessment.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Condition.stage.type Base example Condition Stage Type 📍4.0.1 FHIR Std.
Condition.evidence.code Base example Manifestation and Symptom Codes 📍4.0.1 FHIR Std.
Condition.evidence.code.​coding Base required 癌症確診方式值集 📦1.1.0 This IG

Constraints

Id Grade Path(s) Description Expression
con-1 error Condition.stage Stage SHALL have summary or assessment summary.exists() or assessment.exists()
con-2 error Condition.evidence evidence SHALL have code or details code.exists() or detail.exists()
con-3 best practice Condition Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty()
con-4 error Condition If condition is abated, then clinicalStatus must be either inactive, resolved, or remission abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()
con-5 error Condition Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()
dom-2 error Condition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Condition 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 Condition 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 Condition If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Condition 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()

This structure is derived from Condition

Summary

Mandatory: 34 elements(3 nested mandatory elements)
Must-Support: 54 elements
Fixed: 3 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the values of Condition.category
  • The element 1 is sliced based on the values of Condition.bodySite

 

Other representations of profile: CSV, Excel, Schematron