國家級人體生物資料庫整合平台共同資料模式實作指引(NBCT Common Data Model IG)
0.1.0 - trial-use
This page is part of the 國家級人體生物資料庫整合平台共同資料模式實作指引(NBCT Common Data Model IG) (v0.1.0: Releases) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
Official URL: https://www.ghd.tw/cdm-fhir/fhir/StructureDefinition/Condition-Primary | Version: 0.1.0 | |||
Active as of 2024-09-01 | Computable Name: ConditionPrimaryCancer |
此Profile用於描述癌症登記長表資料檔(CRLF)之原發性癌症情況
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Condition | C | 0..* | Condition | Detailed information about conditions, problems or diagnoses con-3: Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item con-4: If condition is abated, then clinicalStatus must be either inactive, resolved, or remission con-5: Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error 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 |
Slices for extension | Content/Rules for all slices | |||
assertedDate | S | 0..1 | (Complex) | 最初診斷日期 URL: http://hl7.org/fhir/StructureDefinition/condition-assertedDate ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
extension | 0..0 | |||
url | 1..1 | uri | "http://hl7.org/fhir/StructureDefinition/condition-assertedDate" | |
value[x] | 1..1 | dateTime | 最初診斷日期。[LF.didiag] ele-1: All FHIR elements must have a @value or children | |
crlfHist | S | 0..* | CodeableConcept | Extension URL: https://www.ghd.tw/cdm-fhir/fhir/StructureDefinition/CRLF-Hist ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
crlfBehavior | S | 0..* | CodeableConcept | Extension URL: https://www.ghd.tw/cdm-fhir/fhir/StructureDefinition/CRLF-Behavior ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
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 |
clinicalStatus | ?!ΣC | 0..1 | CodeableConcept | active | recurrence | relapse | inactive | remission | resolved Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis. ele-1: All FHIR elements must have a @value or children |
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. ele-1: All FHIR elements must have a @value or children |
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. ele-1: All FHIR elements must have a @value or children |
category:Class | S | 1..1 | CodeableConcept | 個案分類 Binding: ConditionCategoryCodes (extensible): A category assigned to the condition. ele-1: All FHIR elements must have a @value or children |
coding | SΣ | 1..* | Coding | Code defined by a terminology system Binding: 個案分類值集 (required): 個案分類;應填入所綁定值集中的其中一個代碼。 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://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-Class |
code | SΣ | 1..1 | code | 個案分類。[CRLF.class] ele-1: All FHIR elements must have a @value or children |
text | SΣ | 0..1 | string | 個案分類。[CRLF.class] ele-1: All FHIR elements must have a @value or children |
category:Class_d | S | 1..1 | CodeableConcept | 診斷狀態分類 Binding: ConditionCategoryCodes (extensible): A category assigned to the condition. ele-1: All FHIR elements must have a @value or children |
coding | SΣ | 1..* | Coding | Code defined by a terminology system Binding: 診斷狀態分類值集 (required): 診斷狀態分類;應填入所綁定值集中的其中一個代碼。 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://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-ClassDiagnosis |
code | SΣ | 1..1 | code | 診斷狀態分類。[LF.class_d] ele-1: All FHIR elements must have a @value or children |
text | SΣ | 0..1 | string | 診斷狀態分類。[LF.class_d] ele-1: All FHIR elements must have a @value or children |
category:Class_T | S | 1..1 | CodeableConcept | 治療狀態分類 Binding: ConditionCategoryCodes (extensible): A category assigned to the condition. ele-1: All FHIR elements must have a @value or children |
coding | SΣ | 1..* | Coding | Code defined by a terminology system Binding: 治療狀態分類值集 (required): 治療狀態分類;應填入所綁定值集中的其中一個代碼。 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://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-Treatment |
code | SΣ | 1..1 | code | 治療狀態分類。[LF.class_t] ele-1: All FHIR elements must have a @value or children |
text | Σ | 0..1 | string | 治療狀態分類。[LF.class_t] ele-1: All FHIR elements must have a @value or children |
Slices for bodySite | SΣ | 2..* | CodeableConcept | Anatomical location, if relevant Slice: Unordered, Open by pattern:$this Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality. ele-1: All FHIR elements must have a @value or children |
bodySite:Site | SΣ | 1..1 | CodeableConcept | 原發部位 Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality. ele-1: All FHIR elements must have a @value or children |
coding | SΣ | 1..* | Coding | Code defined by a terminology system Binding: 原發部位值集 (required): 原發部位值集;應填入所綁定值集中的其中一個代碼。 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://www.ghd.tw/cdm-fhir/fhir/CodeSystem/CRLF-Site |
code | SΣ | 1..1 | code | 原發部位。[LF.site] ele-1: All FHIR elements must have a @value or children |
text | SΣ | 0..1 | string | 原發部位。[LF.site] ele-1: All FHIR elements must have a @value or children |
bodySite:Lateral | SΣ | 1..1 | CodeableConcept | 側性 Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality. ele-1: All FHIR elements must have a @value or children |
coding | SΣ | 1..* | Coding | Code defined by a terminology system Binding: 側性值集 (required): 側性值集;應填入所綁定值集中的其中一個代碼。 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://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-Lateral |
code | SΣ | 1..1 | code | 側性。[LF.lateral] ele-1: All FHIR elements must have a @value or children |
text | SΣ | 0..1 | string | 側性。[LF.lateral] ele-1: All FHIR elements must have a @value or children |
subject | SΣ | 1..1 | Reference(Patient CRLF-病患基本資料) | Who has the condition? ele-1: All FHIR elements must have a @value or children |
reference | SΣC | 1..1 | string | 患者 Resource Link ele-1: All FHIR elements must have a @value or children |
onset[x] | SΣ | 1..1 | Age | 診斷年齡。[LF.age] ele-1: All FHIR elements must have a @value or children |
value | SΣ | 0..1 | decimal | 診斷年齡。[LF.age] 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Σ | 1..1 | string | Unit representation ele-1: All FHIR elements must have a @value or children Fixed Value: years |
system | SΣC | 1..1 | uri | System that defines coded unit form ele-1: All FHIR elements must have a @value or children Fixed Value: http://unitsofmeasure.org |
code | SΣ | 1..1 | code | Coded form of the unit ele-1: All FHIR elements must have a @value or children Fixed Value: a |
recordedDate | SΣ | 1..1 | dateTime | 首次就診日期。[LF.dcont] ele-1: All FHIR elements must have a @value or children |
stage | SC | 1..* | BackboneElement | Stage/grade, usually assessed formally con-1: Stage SHALL have summary or assessment 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 |
summary | SC | 0..1 | CodeableConcept | Simple summary (disease specific) Binding: ConditionStage (example): Codes describing condition stages (e.g. Cancer stages). ele-1: All FHIR elements must have a @value or children |
coding | SΣ | 0..* | Coding | Code defined by a terminology system 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 |
code | SΣ | 1..1 | code | "臨床分級/分化"或"病理分級/分化",[LF.grade_c/LF.grade_p]。擇一使用。 ele-1: All FHIR elements must have a @value or children |
text | SΣ | 0..1 | string | "臨床分級/分化"或"病理分級/分化"。擇一使用 ele-1: All FHIR elements must have a @value or children |
assessment | SC | 0..* | Reference(ClinicalImpression | DiagnosticReport | CRLF Observation-臨床分級/分化 | CRLF Observation-病理分級/分化) | Formal record of assessment ele-1: All FHIR elements must have a @value or children |
reference | SΣC | 1..1 | string | "臨床分級/分化"或"病理分級/分化"之Resource Link ele-1: All FHIR elements must have a @value or children |
evidence | SC | 1..* | BackboneElement | Supporting evidence con-2: evidence SHALL have code or details 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 |
code | SΣC | 1..* | CodeableConcept | Manifestation/symptom Binding: ManifestationAndSymptomCodes (example): Codes that describe the manifestation or symptoms of a condition. ele-1: All FHIR elements must have a @value or children |
coding | SΣ | 0..* | Coding | Code defined by a terminology system 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 |
code | SΣ | 1..1 | code | 癌症確診方式。[CRLF.confirm] ele-1: All FHIR elements must have a @value or children |
text | SΣ | 0..1 | string | 癌症確診方式。[CRLF.confirm] ele-1: All FHIR elements must have a @value or children |
note | S | 1..1 | Annotation | Additional information about the Condition ele-1: All FHIR elements must have a @value or children |
text | SΣ | 1..1 | markdown | 癌症發生順序號碼。[LF.sequence] ele-1: All FHIR elements must have a @value or children |
Documentation for this format |
Path | Conformance | ValueSet | URI |
Condition.clinicalStatus | required | ConditionClinicalStatusCodeshttp://hl7.org/fhir/ValueSet/condition-clinical|4.0.1 from the FHIR Standard | |
Condition.verificationStatus | required | ConditionVerificationStatushttp://hl7.org/fhir/ValueSet/condition-ver-status|4.0.1 from the FHIR Standard | |
Condition.category | extensible | ConditionCategoryCodeshttp://hl7.org/fhir/ValueSet/condition-category from the FHIR Standard | |
Condition.category:Class | extensible | ConditionCategoryCodeshttp://hl7.org/fhir/ValueSet/condition-category from the FHIR Standard | |
Condition.category:Class.coding | required | CRLFClassValueSet (a valid code from CRLF個案分類)https://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-Class from this IG | |
Condition.category:Class_d | extensible | ConditionCategoryCodeshttp://hl7.org/fhir/ValueSet/condition-category from the FHIR Standard | |
Condition.category:Class_d.coding | required | CRLFClassDiagnosisValueSet (a valid code from 診斷狀態分類代碼系統)https://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-ClassDiagnosis from this IG | |
Condition.category:Class_T | extensible | ConditionCategoryCodeshttp://hl7.org/fhir/ValueSet/condition-category from the FHIR Standard | |
Condition.category:Class_T.coding | required | CRLFTreatmentValueSet (a valid code from 治療狀態分類代碼系統)https://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-Treatment from this IG | |
Condition.bodySite | example | SNOMEDCTBodyStructureshttp://hl7.org/fhir/ValueSet/body-site from the FHIR Standard | |
Condition.bodySite:Site | example | SNOMEDCTBodyStructureshttp://hl7.org/fhir/ValueSet/body-site from the FHIR Standard | |
Condition.bodySite:Site.coding | required | CRLFSiteValueSet (a valid code from 原發部位代碼系統)https://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-Site from this IG | |
Condition.bodySite:Lateral | example | SNOMEDCTBodyStructureshttp://hl7.org/fhir/ValueSet/body-site from the FHIR Standard | |
Condition.bodySite:Lateral.coding | required | CRLFLateralValueSet (a valid code from 側性代碼系統)https://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-Lateral from this IG | |
Condition.onset[x].comparator | required | QuantityComparatorhttp://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1 from the FHIR Standard | |
Condition.stage.summary | example | ConditionStagehttp://hl7.org/fhir/ValueSet/condition-stage from the FHIR Standard | |
Condition.evidence.code | example | ManifestationAndSymptomCodeshttp://hl7.org/fhir/ValueSet/manifestation-or-symptom from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
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
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Condition | 0..* | Condition | Detailed information about conditions, problems or diagnoses | |
Slices for extension | Content/Rules for all slices | |||
assertedDate | S | 0..1 | (Complex) | 最初診斷日期 URL: http://hl7.org/fhir/StructureDefinition/condition-assertedDate |
value[x] | 1..1 | dateTime | 最初診斷日期。[LF.didiag] | |
crlfHist | S | 0..* | CodeableConcept | Extension URL: https://www.ghd.tw/cdm-fhir/fhir/StructureDefinition/CRLF-Hist |
crlfBehavior | S | 0..* | CodeableConcept | Extension URL: https://www.ghd.tw/cdm-fhir/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/fhir/ValueSet/CRLF-Class |
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/fhir/ValueSet/CRLF-ClassDiagnosis |
code | S | 1..1 | code | 診斷狀態分類。[LF.class_d] |
text | S | 0..1 | string | 診斷狀態分類。[LF.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/fhir/ValueSet/CRLF-Treatment |
code | S | 1..1 | code | 治療狀態分類。[LF.class_t] |
text | 0..1 | string | 治療狀態分類。[LF.class_t] | |
Slices for bodySite | S | 2..* | CodeableConcept | Anatomical location, if relevant Slice: Unordered, Open by pattern:$this |
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/fhir/CodeSystem/CRLF-Site |
code | S | 1..1 | code | 原發部位。[LF.site] |
text | S | 0..1 | string | 原發部位。[LF.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/fhir/ValueSet/CRLF-Lateral |
code | S | 1..1 | code | 側性。[LF.lateral] |
text | S | 0..1 | string | 側性。[LF.lateral] |
subject | S | 1..1 | Reference(Patient CRLF-病患基本資料) | Who has the condition? |
reference | S | 1..1 | string | 患者 Resource Link |
onset[x] | S | 1..1 | Age | 診斷年齡。[LF.age] |
value | S | 0..1 | decimal | 診斷年齡。[LF.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 | 首次就診日期。[LF.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 | "臨床分級/分化"或"病理分級/分化",[LF.grade_c/LF.grade_p]。擇一使用。 |
text | S | 0..1 | string | "臨床分級/分化"或"病理分級/分化"。擇一使用 |
assessment | S | 0..* | Reference(ClinicalImpression | DiagnosticReport | CRLF Observation-臨床分級/分化 | CRLF Observation-病理分級/分化) | 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 | 0..* | Coding | Code defined by a terminology system |
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 | 癌症發生順序號碼。[LF.sequence] |
Documentation for this format |
Path | Conformance | ValueSet | URI |
Condition.category:Class.coding | required | CRLFClassValueSet (a valid code from CRLF個案分類)https://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-Class from this IG | |
Condition.category:Class_d.coding | required | CRLFClassDiagnosisValueSet (a valid code from 診斷狀態分類代碼系統)https://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-ClassDiagnosis from this IG | |
Condition.category:Class_T.coding | required | CRLFTreatmentValueSet (a valid code from 治療狀態分類代碼系統)https://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-Treatment from this IG | |
Condition.bodySite:Site.coding | required | CRLFSiteValueSet (a valid code from 原發部位代碼系統)https://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-Site from this IG | |
Condition.bodySite:Lateral.coding | required | CRLFLateralValueSet (a valid code from 側性代碼系統)https://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-Lateral from this IG |
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
Condition | C | 0..* | Condition | Detailed information about conditions, problems or diagnoses con-3: Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item con-4: If condition is abated, then clinicalStatus must be either inactive, resolved, or remission con-5: Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error | ||||
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 | ||||
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
assertedDate | S | 0..1 | (Complex) | 最初診斷日期 URL: http://hl7.org/fhir/StructureDefinition/condition-assertedDate | ||||
id | 0..1 | id | Unique id for inter-element referencing | |||||
extension | 0..0 | |||||||
url | 1..1 | uri | "http://hl7.org/fhir/StructureDefinition/condition-assertedDate" | |||||
value[x] | 1..1 | dateTime | 最初診斷日期。[LF.didiag] | |||||
crlfHist | S | 0..* | CodeableConcept | Extension URL: https://www.ghd.tw/cdm-fhir/fhir/StructureDefinition/CRLF-Hist | ||||
crlfBehavior | S | 0..* | CodeableConcept | Extension URL: https://www.ghd.tw/cdm-fhir/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/fhir/ValueSet/CRLF-Class | ||||
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/fhir/ValueSet/CRLF-ClassDiagnosis | ||||
version | Σ | 0..1 | string | Version of the system - if relevant | ||||
code | SΣ | 1..1 | code | 診斷狀態分類。[LF.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 | 診斷狀態分類。[LF.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/fhir/ValueSet/CRLF-Treatment | ||||
version | Σ | 0..1 | string | Version of the system - if relevant | ||||
code | SΣ | 1..1 | code | 治療狀態分類。[LF.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 | Σ | 0..1 | string | 治療狀態分類。[LF.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:$this 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/fhir/CodeSystem/CRLF-Site | ||||
version | Σ | 0..1 | string | Version of the system - if relevant | ||||
code | SΣ | 1..1 | code | 原發部位。[LF.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 | 原發部位。[LF.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/fhir/ValueSet/CRLF-Lateral | ||||
version | Σ | 0..1 | string | Version of the system - if relevant | ||||
code | SΣ | 1..1 | code | 側性。[LF.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 | 側性。[LF.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 | 診斷年齡。[LF.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Σ | 0..1 | decimal | 診斷年齡。[LF.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 | 首次就診日期。[LF.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 con-1: Stage SHALL have summary or assessment | ||||
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 | "臨床分級/分化"或"病理分級/分化",[LF.grade_c/LF.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 | CRLF Observation-臨床分級/分化 | CRLF Observation-病理分級/分化) | 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 con-2: evidence SHALL have code or details | ||||
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Σ | 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.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 | 癌症發生順序號碼。[LF.sequence] | ||||
Documentation for this format |
Path | Conformance | ValueSet | URI | |||
Condition.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages from the FHIR Standard
| ||||
Condition.clinicalStatus | required | ConditionClinicalStatusCodeshttp://hl7.org/fhir/ValueSet/condition-clinical|4.0.1 from the FHIR Standard | ||||
Condition.verificationStatus | required | ConditionVerificationStatushttp://hl7.org/fhir/ValueSet/condition-ver-status|4.0.1 from the FHIR Standard | ||||
Condition.category | extensible | ConditionCategoryCodeshttp://hl7.org/fhir/ValueSet/condition-category from the FHIR Standard | ||||
Condition.category:Class | extensible | ConditionCategoryCodeshttp://hl7.org/fhir/ValueSet/condition-category from the FHIR Standard | ||||
Condition.category:Class.coding | required | CRLFClassValueSet (a valid code from CRLF個案分類)https://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-Class from this IG | ||||
Condition.category:Class_d | extensible | ConditionCategoryCodeshttp://hl7.org/fhir/ValueSet/condition-category from the FHIR Standard | ||||
Condition.category:Class_d.coding | required | CRLFClassDiagnosisValueSet (a valid code from 診斷狀態分類代碼系統)https://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-ClassDiagnosis from this IG | ||||
Condition.category:Class_T | extensible | ConditionCategoryCodeshttp://hl7.org/fhir/ValueSet/condition-category from the FHIR Standard | ||||
Condition.category:Class_T.coding | required | CRLFTreatmentValueSet (a valid code from 治療狀態分類代碼系統)https://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-Treatment from this IG | ||||
Condition.severity | preferred | Condition/DiagnosisSeverityhttp://hl7.org/fhir/ValueSet/condition-severity from the FHIR Standard | ||||
Condition.code | example | Condition/Problem/DiagnosisCodeshttp://hl7.org/fhir/ValueSet/condition-code from the FHIR Standard | ||||
Condition.bodySite | example | SNOMEDCTBodyStructureshttp://hl7.org/fhir/ValueSet/body-site from the FHIR Standard | ||||
Condition.bodySite:Site | example | SNOMEDCTBodyStructureshttp://hl7.org/fhir/ValueSet/body-site from the FHIR Standard | ||||
Condition.bodySite:Site.coding | required | CRLFSiteValueSet (a valid code from 原發部位代碼系統)https://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-Site from this IG | ||||
Condition.bodySite:Lateral | example | SNOMEDCTBodyStructureshttp://hl7.org/fhir/ValueSet/body-site from the FHIR Standard | ||||
Condition.bodySite:Lateral.coding | required | CRLFLateralValueSet (a valid code from 側性代碼系統)https://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-Lateral from this IG | ||||
Condition.subject.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | ||||
Condition.onset[x].comparator | required | QuantityComparatorhttp://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1 from the FHIR Standard | ||||
Condition.stage.summary | example | ConditionStagehttp://hl7.org/fhir/ValueSet/condition-stage from the FHIR Standard | ||||
Condition.stage.assessment.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | ||||
Condition.stage.type | example | ConditionStageTypehttp://hl7.org/fhir/ValueSet/condition-stage-type from the FHIR Standard | ||||
Condition.evidence.code | example | ManifestationAndSymptomCodeshttp://hl7.org/fhir/ValueSet/manifestation-or-symptom from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
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: 30 elements(5 nested mandatory elements)
Must-Support: 53 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:
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Condition | C | 0..* | Condition | Detailed information about conditions, problems or diagnoses con-3: Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item con-4: If condition is abated, then clinicalStatus must be either inactive, resolved, or remission con-5: Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error 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 |
Slices for extension | Content/Rules for all slices | |||
assertedDate | S | 0..1 | (Complex) | 最初診斷日期 URL: http://hl7.org/fhir/StructureDefinition/condition-assertedDate ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
extension | 0..0 | |||
url | 1..1 | uri | "http://hl7.org/fhir/StructureDefinition/condition-assertedDate" | |
value[x] | 1..1 | dateTime | 最初診斷日期。[LF.didiag] ele-1: All FHIR elements must have a @value or children | |
crlfHist | S | 0..* | CodeableConcept | Extension URL: https://www.ghd.tw/cdm-fhir/fhir/StructureDefinition/CRLF-Hist ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
crlfBehavior | S | 0..* | CodeableConcept | Extension URL: https://www.ghd.tw/cdm-fhir/fhir/StructureDefinition/CRLF-Behavior ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
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 |
clinicalStatus | ?!ΣC | 0..1 | CodeableConcept | active | recurrence | relapse | inactive | remission | resolved Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis. ele-1: All FHIR elements must have a @value or children |
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. ele-1: All FHIR elements must have a @value or children |
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. ele-1: All FHIR elements must have a @value or children |
category:Class | S | 1..1 | CodeableConcept | 個案分類 Binding: ConditionCategoryCodes (extensible): A category assigned to the condition. ele-1: All FHIR elements must have a @value or children |
coding | SΣ | 1..* | Coding | Code defined by a terminology system Binding: 個案分類值集 (required): 個案分類;應填入所綁定值集中的其中一個代碼。 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://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-Class |
code | SΣ | 1..1 | code | 個案分類。[CRLF.class] ele-1: All FHIR elements must have a @value or children |
text | SΣ | 0..1 | string | 個案分類。[CRLF.class] ele-1: All FHIR elements must have a @value or children |
category:Class_d | S | 1..1 | CodeableConcept | 診斷狀態分類 Binding: ConditionCategoryCodes (extensible): A category assigned to the condition. ele-1: All FHIR elements must have a @value or children |
coding | SΣ | 1..* | Coding | Code defined by a terminology system Binding: 診斷狀態分類值集 (required): 診斷狀態分類;應填入所綁定值集中的其中一個代碼。 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://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-ClassDiagnosis |
code | SΣ | 1..1 | code | 診斷狀態分類。[LF.class_d] ele-1: All FHIR elements must have a @value or children |
text | SΣ | 0..1 | string | 診斷狀態分類。[LF.class_d] ele-1: All FHIR elements must have a @value or children |
category:Class_T | S | 1..1 | CodeableConcept | 治療狀態分類 Binding: ConditionCategoryCodes (extensible): A category assigned to the condition. ele-1: All FHIR elements must have a @value or children |
coding | SΣ | 1..* | Coding | Code defined by a terminology system Binding: 治療狀態分類值集 (required): 治療狀態分類;應填入所綁定值集中的其中一個代碼。 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://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-Treatment |
code | SΣ | 1..1 | code | 治療狀態分類。[LF.class_t] ele-1: All FHIR elements must have a @value or children |
text | Σ | 0..1 | string | 治療狀態分類。[LF.class_t] ele-1: All FHIR elements must have a @value or children |
Slices for bodySite | SΣ | 2..* | CodeableConcept | Anatomical location, if relevant Slice: Unordered, Open by pattern:$this Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality. ele-1: All FHIR elements must have a @value or children |
bodySite:Site | SΣ | 1..1 | CodeableConcept | 原發部位 Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality. ele-1: All FHIR elements must have a @value or children |
coding | SΣ | 1..* | Coding | Code defined by a terminology system Binding: 原發部位值集 (required): 原發部位值集;應填入所綁定值集中的其中一個代碼。 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://www.ghd.tw/cdm-fhir/fhir/CodeSystem/CRLF-Site |
code | SΣ | 1..1 | code | 原發部位。[LF.site] ele-1: All FHIR elements must have a @value or children |
text | SΣ | 0..1 | string | 原發部位。[LF.site] ele-1: All FHIR elements must have a @value or children |
bodySite:Lateral | SΣ | 1..1 | CodeableConcept | 側性 Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality. ele-1: All FHIR elements must have a @value or children |
coding | SΣ | 1..* | Coding | Code defined by a terminology system Binding: 側性值集 (required): 側性值集;應填入所綁定值集中的其中一個代碼。 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://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-Lateral |
code | SΣ | 1..1 | code | 側性。[LF.lateral] ele-1: All FHIR elements must have a @value or children |
text | SΣ | 0..1 | string | 側性。[LF.lateral] ele-1: All FHIR elements must have a @value or children |
subject | SΣ | 1..1 | Reference(Patient CRLF-病患基本資料) | Who has the condition? ele-1: All FHIR elements must have a @value or children |
reference | SΣC | 1..1 | string | 患者 Resource Link ele-1: All FHIR elements must have a @value or children |
onset[x] | SΣ | 1..1 | Age | 診斷年齡。[LF.age] ele-1: All FHIR elements must have a @value or children |
value | SΣ | 0..1 | decimal | 診斷年齡。[LF.age] 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Σ | 1..1 | string | Unit representation ele-1: All FHIR elements must have a @value or children Fixed Value: years |
system | SΣC | 1..1 | uri | System that defines coded unit form ele-1: All FHIR elements must have a @value or children Fixed Value: http://unitsofmeasure.org |
code | SΣ | 1..1 | code | Coded form of the unit ele-1: All FHIR elements must have a @value or children Fixed Value: a |
recordedDate | SΣ | 1..1 | dateTime | 首次就診日期。[LF.dcont] ele-1: All FHIR elements must have a @value or children |
stage | SC | 1..* | BackboneElement | Stage/grade, usually assessed formally con-1: Stage SHALL have summary or assessment 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 |
summary | SC | 0..1 | CodeableConcept | Simple summary (disease specific) Binding: ConditionStage (example): Codes describing condition stages (e.g. Cancer stages). ele-1: All FHIR elements must have a @value or children |
coding | SΣ | 0..* | Coding | Code defined by a terminology system 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 |
code | SΣ | 1..1 | code | "臨床分級/分化"或"病理分級/分化",[LF.grade_c/LF.grade_p]。擇一使用。 ele-1: All FHIR elements must have a @value or children |
text | SΣ | 0..1 | string | "臨床分級/分化"或"病理分級/分化"。擇一使用 ele-1: All FHIR elements must have a @value or children |
assessment | SC | 0..* | Reference(ClinicalImpression | DiagnosticReport | CRLF Observation-臨床分級/分化 | CRLF Observation-病理分級/分化) | Formal record of assessment ele-1: All FHIR elements must have a @value or children |
reference | SΣC | 1..1 | string | "臨床分級/分化"或"病理分級/分化"之Resource Link ele-1: All FHIR elements must have a @value or children |
evidence | SC | 1..* | BackboneElement | Supporting evidence con-2: evidence SHALL have code or details 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 |
code | SΣC | 1..* | CodeableConcept | Manifestation/symptom Binding: ManifestationAndSymptomCodes (example): Codes that describe the manifestation or symptoms of a condition. ele-1: All FHIR elements must have a @value or children |
coding | SΣ | 0..* | Coding | Code defined by a terminology system 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 |
code | SΣ | 1..1 | code | 癌症確診方式。[CRLF.confirm] ele-1: All FHIR elements must have a @value or children |
text | SΣ | 0..1 | string | 癌症確診方式。[CRLF.confirm] ele-1: All FHIR elements must have a @value or children |
note | S | 1..1 | Annotation | Additional information about the Condition ele-1: All FHIR elements must have a @value or children |
text | SΣ | 1..1 | markdown | 癌症發生順序號碼。[LF.sequence] ele-1: All FHIR elements must have a @value or children |
Documentation for this format |
Path | Conformance | ValueSet | URI |
Condition.clinicalStatus | required | ConditionClinicalStatusCodeshttp://hl7.org/fhir/ValueSet/condition-clinical|4.0.1 from the FHIR Standard | |
Condition.verificationStatus | required | ConditionVerificationStatushttp://hl7.org/fhir/ValueSet/condition-ver-status|4.0.1 from the FHIR Standard | |
Condition.category | extensible | ConditionCategoryCodeshttp://hl7.org/fhir/ValueSet/condition-category from the FHIR Standard | |
Condition.category:Class | extensible | ConditionCategoryCodeshttp://hl7.org/fhir/ValueSet/condition-category from the FHIR Standard | |
Condition.category:Class.coding | required | CRLFClassValueSet (a valid code from CRLF個案分類)https://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-Class from this IG | |
Condition.category:Class_d | extensible | ConditionCategoryCodeshttp://hl7.org/fhir/ValueSet/condition-category from the FHIR Standard | |
Condition.category:Class_d.coding | required | CRLFClassDiagnosisValueSet (a valid code from 診斷狀態分類代碼系統)https://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-ClassDiagnosis from this IG | |
Condition.category:Class_T | extensible | ConditionCategoryCodeshttp://hl7.org/fhir/ValueSet/condition-category from the FHIR Standard | |
Condition.category:Class_T.coding | required | CRLFTreatmentValueSet (a valid code from 治療狀態分類代碼系統)https://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-Treatment from this IG | |
Condition.bodySite | example | SNOMEDCTBodyStructureshttp://hl7.org/fhir/ValueSet/body-site from the FHIR Standard | |
Condition.bodySite:Site | example | SNOMEDCTBodyStructureshttp://hl7.org/fhir/ValueSet/body-site from the FHIR Standard | |
Condition.bodySite:Site.coding | required | CRLFSiteValueSet (a valid code from 原發部位代碼系統)https://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-Site from this IG | |
Condition.bodySite:Lateral | example | SNOMEDCTBodyStructureshttp://hl7.org/fhir/ValueSet/body-site from the FHIR Standard | |
Condition.bodySite:Lateral.coding | required | CRLFLateralValueSet (a valid code from 側性代碼系統)https://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-Lateral from this IG | |
Condition.onset[x].comparator | required | QuantityComparatorhttp://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1 from the FHIR Standard | |
Condition.stage.summary | example | ConditionStagehttp://hl7.org/fhir/ValueSet/condition-stage from the FHIR Standard | |
Condition.evidence.code | example | ManifestationAndSymptomCodeshttp://hl7.org/fhir/ValueSet/manifestation-or-symptom from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
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
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Condition | 0..* | Condition | Detailed information about conditions, problems or diagnoses | |
Slices for extension | Content/Rules for all slices | |||
assertedDate | S | 0..1 | (Complex) | 最初診斷日期 URL: http://hl7.org/fhir/StructureDefinition/condition-assertedDate |
value[x] | 1..1 | dateTime | 最初診斷日期。[LF.didiag] | |
crlfHist | S | 0..* | CodeableConcept | Extension URL: https://www.ghd.tw/cdm-fhir/fhir/StructureDefinition/CRLF-Hist |
crlfBehavior | S | 0..* | CodeableConcept | Extension URL: https://www.ghd.tw/cdm-fhir/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/fhir/ValueSet/CRLF-Class |
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/fhir/ValueSet/CRLF-ClassDiagnosis |
code | S | 1..1 | code | 診斷狀態分類。[LF.class_d] |
text | S | 0..1 | string | 診斷狀態分類。[LF.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/fhir/ValueSet/CRLF-Treatment |
code | S | 1..1 | code | 治療狀態分類。[LF.class_t] |
text | 0..1 | string | 治療狀態分類。[LF.class_t] | |
Slices for bodySite | S | 2..* | CodeableConcept | Anatomical location, if relevant Slice: Unordered, Open by pattern:$this |
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/fhir/CodeSystem/CRLF-Site |
code | S | 1..1 | code | 原發部位。[LF.site] |
text | S | 0..1 | string | 原發部位。[LF.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/fhir/ValueSet/CRLF-Lateral |
code | S | 1..1 | code | 側性。[LF.lateral] |
text | S | 0..1 | string | 側性。[LF.lateral] |
subject | S | 1..1 | Reference(Patient CRLF-病患基本資料) | Who has the condition? |
reference | S | 1..1 | string | 患者 Resource Link |
onset[x] | S | 1..1 | Age | 診斷年齡。[LF.age] |
value | S | 0..1 | decimal | 診斷年齡。[LF.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 | 首次就診日期。[LF.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 | "臨床分級/分化"或"病理分級/分化",[LF.grade_c/LF.grade_p]。擇一使用。 |
text | S | 0..1 | string | "臨床分級/分化"或"病理分級/分化"。擇一使用 |
assessment | S | 0..* | Reference(ClinicalImpression | DiagnosticReport | CRLF Observation-臨床分級/分化 | CRLF Observation-病理分級/分化) | 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 | 0..* | Coding | Code defined by a terminology system |
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 | 癌症發生順序號碼。[LF.sequence] |
Documentation for this format |
Path | Conformance | ValueSet | URI |
Condition.category:Class.coding | required | CRLFClassValueSet (a valid code from CRLF個案分類)https://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-Class from this IG | |
Condition.category:Class_d.coding | required | CRLFClassDiagnosisValueSet (a valid code from 診斷狀態分類代碼系統)https://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-ClassDiagnosis from this IG | |
Condition.category:Class_T.coding | required | CRLFTreatmentValueSet (a valid code from 治療狀態分類代碼系統)https://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-Treatment from this IG | |
Condition.bodySite:Site.coding | required | CRLFSiteValueSet (a valid code from 原發部位代碼系統)https://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-Site from this IG | |
Condition.bodySite:Lateral.coding | required | CRLFLateralValueSet (a valid code from 側性代碼系統)https://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-Lateral from this IG |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
Condition | C | 0..* | Condition | Detailed information about conditions, problems or diagnoses con-3: Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item con-4: If condition is abated, then clinicalStatus must be either inactive, resolved, or remission con-5: Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error | ||||
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 | ||||
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
assertedDate | S | 0..1 | (Complex) | 最初診斷日期 URL: http://hl7.org/fhir/StructureDefinition/condition-assertedDate | ||||
id | 0..1 | id | Unique id for inter-element referencing | |||||
extension | 0..0 | |||||||
url | 1..1 | uri | "http://hl7.org/fhir/StructureDefinition/condition-assertedDate" | |||||
value[x] | 1..1 | dateTime | 最初診斷日期。[LF.didiag] | |||||
crlfHist | S | 0..* | CodeableConcept | Extension URL: https://www.ghd.tw/cdm-fhir/fhir/StructureDefinition/CRLF-Hist | ||||
crlfBehavior | S | 0..* | CodeableConcept | Extension URL: https://www.ghd.tw/cdm-fhir/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/fhir/ValueSet/CRLF-Class | ||||
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/fhir/ValueSet/CRLF-ClassDiagnosis | ||||
version | Σ | 0..1 | string | Version of the system - if relevant | ||||
code | SΣ | 1..1 | code | 診斷狀態分類。[LF.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 | 診斷狀態分類。[LF.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/fhir/ValueSet/CRLF-Treatment | ||||
version | Σ | 0..1 | string | Version of the system - if relevant | ||||
code | SΣ | 1..1 | code | 治療狀態分類。[LF.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 | Σ | 0..1 | string | 治療狀態分類。[LF.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:$this 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/fhir/CodeSystem/CRLF-Site | ||||
version | Σ | 0..1 | string | Version of the system - if relevant | ||||
code | SΣ | 1..1 | code | 原發部位。[LF.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 | 原發部位。[LF.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/fhir/ValueSet/CRLF-Lateral | ||||
version | Σ | 0..1 | string | Version of the system - if relevant | ||||
code | SΣ | 1..1 | code | 側性。[LF.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 | 側性。[LF.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 | 診斷年齡。[LF.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Σ | 0..1 | decimal | 診斷年齡。[LF.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 | 首次就診日期。[LF.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 con-1: Stage SHALL have summary or assessment | ||||
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 | "臨床分級/分化"或"病理分級/分化",[LF.grade_c/LF.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 | CRLF Observation-臨床分級/分化 | CRLF Observation-病理分級/分化) | 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 con-2: evidence SHALL have code or details | ||||
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Σ | 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.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 | 癌症發生順序號碼。[LF.sequence] | ||||
Documentation for this format |
Path | Conformance | ValueSet | URI | |||
Condition.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages from the FHIR Standard
| ||||
Condition.clinicalStatus | required | ConditionClinicalStatusCodeshttp://hl7.org/fhir/ValueSet/condition-clinical|4.0.1 from the FHIR Standard | ||||
Condition.verificationStatus | required | ConditionVerificationStatushttp://hl7.org/fhir/ValueSet/condition-ver-status|4.0.1 from the FHIR Standard | ||||
Condition.category | extensible | ConditionCategoryCodeshttp://hl7.org/fhir/ValueSet/condition-category from the FHIR Standard | ||||
Condition.category:Class | extensible | ConditionCategoryCodeshttp://hl7.org/fhir/ValueSet/condition-category from the FHIR Standard | ||||
Condition.category:Class.coding | required | CRLFClassValueSet (a valid code from CRLF個案分類)https://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-Class from this IG | ||||
Condition.category:Class_d | extensible | ConditionCategoryCodeshttp://hl7.org/fhir/ValueSet/condition-category from the FHIR Standard | ||||
Condition.category:Class_d.coding | required | CRLFClassDiagnosisValueSet (a valid code from 診斷狀態分類代碼系統)https://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-ClassDiagnosis from this IG | ||||
Condition.category:Class_T | extensible | ConditionCategoryCodeshttp://hl7.org/fhir/ValueSet/condition-category from the FHIR Standard | ||||
Condition.category:Class_T.coding | required | CRLFTreatmentValueSet (a valid code from 治療狀態分類代碼系統)https://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-Treatment from this IG | ||||
Condition.severity | preferred | Condition/DiagnosisSeverityhttp://hl7.org/fhir/ValueSet/condition-severity from the FHIR Standard | ||||
Condition.code | example | Condition/Problem/DiagnosisCodeshttp://hl7.org/fhir/ValueSet/condition-code from the FHIR Standard | ||||
Condition.bodySite | example | SNOMEDCTBodyStructureshttp://hl7.org/fhir/ValueSet/body-site from the FHIR Standard | ||||
Condition.bodySite:Site | example | SNOMEDCTBodyStructureshttp://hl7.org/fhir/ValueSet/body-site from the FHIR Standard | ||||
Condition.bodySite:Site.coding | required | CRLFSiteValueSet (a valid code from 原發部位代碼系統)https://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-Site from this IG | ||||
Condition.bodySite:Lateral | example | SNOMEDCTBodyStructureshttp://hl7.org/fhir/ValueSet/body-site from the FHIR Standard | ||||
Condition.bodySite:Lateral.coding | required | CRLFLateralValueSet (a valid code from 側性代碼系統)https://www.ghd.tw/cdm-fhir/fhir/ValueSet/CRLF-Lateral from this IG | ||||
Condition.subject.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | ||||
Condition.onset[x].comparator | required | QuantityComparatorhttp://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1 from the FHIR Standard | ||||
Condition.stage.summary | example | ConditionStagehttp://hl7.org/fhir/ValueSet/condition-stage from the FHIR Standard | ||||
Condition.stage.assessment.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | ||||
Condition.stage.type | example | ConditionStageTypehttp://hl7.org/fhir/ValueSet/condition-stage-type from the FHIR Standard | ||||
Condition.evidence.code | example | ManifestationAndSymptomCodeshttp://hl7.org/fhir/ValueSet/manifestation-or-symptom from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
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: 30 elements(5 nested mandatory elements)
Must-Support: 53 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:
Other representations of profile: CSV, Excel, Schematron