HL7® Serious Med FHIR® Core Implementation Guide
1.0.0 - ci-build

HL7® Serious Med FHIR® Core Implementation Guide - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: SmCondition

Official URL: https://whcater.github.io/serious-med-ig/StructureDefinition/sm-condition Version: 1.0.0
Draft as of 2024-11-11 Computable Name: SmCondition

病情、问题或诊断

Usage:

  • This Resource Profile is not used by any profiles in this Implementation Guide

Formal Views of Profile Content

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

This structure is derived from Condition

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition 0..* Condition 有关病情、问题或诊断的详细信息
... id 0..1 id 不重复的ID用以识别储存在特定FHIR Server中的Condition纪录,通常又称为逻辑性ID。
... extension 0..* Extension 扩展字段
... identifier 0..* Identifier 此病情、问题或诊断的外部识别码
... verificationStatus S 0..1 CodeableConcept unconfirmed | provisional | differential | confirmed | refuted | entered-in-error ,支持或拒绝病情、问题或诊断的临床状态的验证状态。
Binding: ConditionVerificationStatus (required)
... category 0..* CodeableConcept problem-list-item | encounter-diagnosis ,指定病情、问题或诊断的类别。
... severity S 0..1 CodeableConcept 病情、问题或诊断的主观严重程度
Binding: Condition/DiagnosisSeverity (extensible)
... code S 0..1 CodeableConcept 病情、问题或诊断的识别
Binding: Condition/Problem/DiagnosisCodes (example)
.... Slices for coding 0..* Coding 由专门术语系统(terminology system)定义的代码。此资料项目为可扩充绑定预设国际标准值集,但实作者可视实务专案需求只绑定以下slices中的任一值集。目前未只限定绑定预设值集是因为尚无slice值集与预设国际标准值集的代码对应表,待后续有相对的代码对应表后将建议采用国际标准值集作为唯一绑定值集并针对该值集进行扩充与管理,以利进行跨国与跨系统之资料交换。
Slice: Unordered, Open by pattern:$this
..... coding:absentOrUnknownProblem S 0..1 Coding 不存在的问题或未知问题的代码
Binding: Absent or Unknown Problems - IPS (required): 应填入所绑定值集中的其中一个代码。

..... coding:sct S 0..1 Coding 此为SNOMED CT诊断代码,若机构已有购买相关授权,亦可使用。
Binding: ValueSet-SNOMED CT诊断代码值集 (required)
... bodySite S 0..* CodeableConcept 如果相关请填写解剖位置
Binding: SNOMEDCTBodyStructures (extensible)
... subject S 1..1 Reference(SmPatient | Group) 谁有此病情、问题或诊断?
... encounter 0..1 Reference(Encounter) 作为病情、问题或诊断纪录的一部分的就医(Encounter)纪录
... onset[x] S 0..1 dateTime, Age, Period, Range, string 估计的或实际的日期、日期—时间或年龄。医师认为此病情、问题或诊断之推估或实际发生时间或日期时间等
... abatement[x] S 0..1 dateTime, Age, Period, Range, string 何时解决/缓解
... recorder 0..1 Reference(SmPractitioner | SmPractitionerRole | SmPatient | RelatedPerson) 谁记录此病情、问题或诊断
... asserter S 0..1 Reference(SmPractitioner | SmPractitionerRole | SmPatient | RelatedPerson) 声称有此病情、问题或诊断的人
... stage 0..* BackboneElement 分期(stage)/分级(grade),通常是正式的评估。
.... summary 0..1 CodeableConcept 简单的摘要(特定疾病)。
Binding: ConditionStage (extensible): 描述病情、问题或诊断分期的代码(例如:癌症分期)。应填入所绑定值集中适合的代码,确定无适合的代码才可以使用其他值集的代码来表示。

.... assessment 0..* Reference(ClinicalImpression | DiagnosticReport | Observation) 正式的评估记录
.... type 0..1 CodeableConcept 分期的种类
Binding: ConditionStageType (extensible): 病情、问题或诊断分期种类的代码(如临床或病理);应填入所绑定值集中适合的代码,确定无适合的代码才可以使用其他值集的代码来表示。

... evidence 0..* BackboneElement 支持的证据
.... code 0..* CodeableConcept 表现/症状
Binding: ManifestationAndSymptomCodes (extensible): 病情、问题或诊断的表现或症状之代码;应填入所绑定值集中适合的代码,确定无适合的代码才可以使用其他值集的代码来表示。

.... detail 0..* Reference(Resource) 在其他地方找到的支持信息
... note S 0..* Annotation 关于此Condition的附加信息

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
http://hl7.org/fhir/ValueSet/condition-clinical|4.0.1
from the FHIR Standard
Condition.verificationStatusrequiredConditionVerificationStatus
http://hl7.org/fhir/ValueSet/condition-ver-status|4.0.1
from the FHIR Standard
Condition.severityextensibleCondition/DiagnosisSeverity
http://hl7.org/fhir/ValueSet/condition-severity
from the FHIR Standard
Condition.codeexampleCondition/Problem/DiagnosisCodes
http://hl7.org/fhir/ValueSet/condition-code
from the FHIR Standard
Condition.code.coding:absentOrUnknownProblemrequiredAbsentOrUnknownProblemsUvIps
http://hl7.org/fhir/uv/ips/ValueSet/absent-or-unknown-problems-uv-ips
Condition.code.coding:sctrequiredConditionCodeSCT
https://whcater.github.io/serious-med-ig/ValueSet/condition-code-sct
from this IG
Condition.bodySiteextensibleSNOMEDCTBodyStructures
http://hl7.org/fhir/ValueSet/body-site
from the FHIR Standard
Condition.stage.summaryextensibleConditionStage
http://hl7.org/fhir/ValueSet/condition-stage
from the FHIR Standard
Condition.stage.typeextensibleConditionStageType
http://hl7.org/fhir/ValueSet/condition-stage-type
from the FHIR Standard
Condition.evidence.codeextensibleManifestationAndSymptomCodes
http://hl7.org/fhir/ValueSet/manifestation-or-symptom
from the FHIR Standard
NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition C 0..* Condition 有关病情、问题或诊断的详细信息
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 不重复的ID用以识别储存在特定FHIR Server中的Condition纪录,通常又称为逻辑性ID。
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... extension 0..* Extension 扩展字段
... identifier Σ 0..* Identifier 此病情、问题或诊断的外部识别码
... clinicalStatus ?!SΣC 1..1 CodeableConcept active | recurrence | relapse | inactive | remission | resolved ,病情、问题或诊断的临床状态。
Binding: ConditionClinicalStatusCodes (required)
... verificationStatus ?!SΣC 0..1 CodeableConcept unconfirmed | provisional | differential | confirmed | refuted | entered-in-error ,支持或拒绝病情、问题或诊断的临床状态的验证状态。
Binding: ConditionVerificationStatus (required)
... category 0..* CodeableConcept problem-list-item | encounter-diagnosis ,指定病情、问题或诊断的类别。
Binding: ConditionCategoryCodes (extensible): A category assigned to the condition.


... severity S 0..1 CodeableConcept 病情、问题或诊断的主观严重程度
Binding: Condition/DiagnosisSeverity (extensible)
... code SΣ 0..1 CodeableConcept 病情、问题或诊断的识别
Binding: Condition/Problem/DiagnosisCodes (example)
.... Slices for coding Σ 0..* Coding 由专门术语系统(terminology system)定义的代码。此资料项目为可扩充绑定预设国际标准值集,但实作者可视实务专案需求只绑定以下slices中的任一值集。目前未只限定绑定预设值集是因为尚无slice值集与预设国际标准值集的代码对应表,待后续有相对的代码对应表后将建议采用国际标准值集作为唯一绑定值集并针对该值集进行扩充与管理,以利进行跨国与跨系统之资料交换。
Slice: Unordered, Open by pattern:$this
..... coding:absentOrUnknownProblem SΣ 0..1 Coding 不存在的问题或未知问题的代码
Binding: Absent or Unknown Problems - IPS (required): 应填入所绑定值集中的其中一个代码。


..... coding:sct SΣ 0..1 Coding 此为SNOMED CT诊断代码,若机构已有购买相关授权,亦可使用。
Binding: ValueSet-SNOMED CT诊断代码值集 (required)
... bodySite SΣ 0..* CodeableConcept 如果相关请填写解剖位置
Binding: SNOMEDCTBodyStructures (extensible)
... subject SΣ 1..1 Reference(SmPatient | Group) 谁有此病情、问题或诊断?
... encounter Σ 0..1 Reference(Encounter) 作为病情、问题或诊断纪录的一部分的就医(Encounter)纪录
... onset[x] SΣ 0..1 估计的或实际的日期、日期—时间或年龄。医师认为此病情、问题或诊断之推估或实际发生时间或日期时间等
.... onsetDateTime dateTime
.... onsetAge Age
.... onsetPeriod Period
.... onsetRange Range
.... onsetString string
... abatement[x] SC 0..1 何时解决/缓解
.... abatementDateTime dateTime
.... abatementAge Age
.... abatementPeriod Period
.... abatementRange Range
.... abatementString string
... recorder Σ 0..1 Reference(SmPractitioner | SmPractitionerRole | SmPatient | RelatedPerson) 谁记录此病情、问题或诊断
... asserter SΣ 0..1 Reference(SmPractitioner | SmPractitionerRole | SmPatient | RelatedPerson) 声称有此病情、问题或诊断的人
... stage C 0..* BackboneElement 分期(stage)/分级(grade),通常是正式的评估。
con-1: Stage SHALL have summary or assessment
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... summary C 0..1 CodeableConcept 简单的摘要(特定疾病)。
Binding: ConditionStage (extensible): 描述病情、问题或诊断分期的代码(例如:癌症分期)。应填入所绑定值集中适合的代码,确定无适合的代码才可以使用其他值集的代码来表示。

.... assessment C 0..* Reference(ClinicalImpression | DiagnosticReport | Observation) 正式的评估记录
.... type 0..1 CodeableConcept 分期的种类
Binding: ConditionStageType (extensible): 病情、问题或诊断分期种类的代码(如临床或病理);应填入所绑定值集中适合的代码,确定无适合的代码才可以使用其他值集的代码来表示。

... evidence C 0..* BackboneElement 支持的证据
con-2: evidence SHALL have code or details
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... code ΣC 0..* CodeableConcept 表现/症状
Binding: ManifestationAndSymptomCodes (extensible): 病情、问题或诊断的表现或症状之代码;应填入所绑定值集中适合的代码,确定无适合的代码才可以使用其他值集的代码来表示。


.... detail ΣC 0..* Reference(Resource) 在其他地方找到的支持信息
... note S 0..* Annotation 关于此Condition的附加信息

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
http://hl7.org/fhir/ValueSet/condition-clinical|4.0.1
from the FHIR Standard
Condition.verificationStatusrequiredConditionVerificationStatus
http://hl7.org/fhir/ValueSet/condition-ver-status|4.0.1
from the FHIR Standard
Condition.categoryextensibleConditionCategoryCodes
http://hl7.org/fhir/ValueSet/condition-category
from the FHIR Standard
Condition.severityextensibleCondition/DiagnosisSeverity
http://hl7.org/fhir/ValueSet/condition-severity
from the FHIR Standard
Condition.codeexampleCondition/Problem/DiagnosisCodes
http://hl7.org/fhir/ValueSet/condition-code
from the FHIR Standard
Condition.code.coding:absentOrUnknownProblemrequiredAbsentOrUnknownProblemsUvIps
http://hl7.org/fhir/uv/ips/ValueSet/absent-or-unknown-problems-uv-ips
Condition.code.coding:sctrequiredConditionCodeSCT
https://whcater.github.io/serious-med-ig/ValueSet/condition-code-sct
from this IG
Condition.bodySiteextensibleSNOMEDCTBodyStructures
http://hl7.org/fhir/ValueSet/body-site
from the FHIR Standard
Condition.stage.summaryextensibleConditionStage
http://hl7.org/fhir/ValueSet/condition-stage
from the FHIR Standard
Condition.stage.typeextensibleConditionStageType
http://hl7.org/fhir/ValueSet/condition-stage-type
from the FHIR Standard
Condition.evidence.codeextensibleManifestationAndSymptomCodes
http://hl7.org/fhir/ValueSet/manifestation-or-symptom
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
con-1errorCondition.stageStage SHALL have summary or assessment
: summary.exists() or assessment.exists()
con-2errorCondition.evidenceevidence SHALL have code or details
: code.exists() or detail.exists()
con-3best practiceConditionCondition.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-4errorConditionIf 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-5errorConditionCondition.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-2errorConditionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorConditionIf 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-4errorConditionIf 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-5errorConditionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceConditionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition C 0..* Condition 有关病情、问题或诊断的详细信息
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 不重复的ID用以识别储存在特定FHIR Server中的Condition纪录,通常又称为逻辑性ID。
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension 扩展字段
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier 此病情、问题或诊断的外部识别码
... clinicalStatus ?!SΣC 1..1 CodeableConcept active | recurrence | relapse | inactive | remission | resolved ,病情、问题或诊断的临床状态。
Binding: ConditionClinicalStatusCodes (required)
... verificationStatus ?!SΣC 0..1 CodeableConcept unconfirmed | provisional | differential | confirmed | refuted | entered-in-error ,支持或拒绝病情、问题或诊断的临床状态的验证状态。
Binding: ConditionVerificationStatus (required)
... category 0..* CodeableConcept problem-list-item | encounter-diagnosis ,指定病情、问题或诊断的类别。
Binding: ConditionCategoryCodes (extensible): A category assigned to the condition.


... severity S 0..1 CodeableConcept 病情、问题或诊断的主观严重程度
Binding: Condition/DiagnosisSeverity (extensible)
... code SΣ 0..1 CodeableConcept 病情、问题或诊断的识别
Binding: Condition/Problem/DiagnosisCodes (example)
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding Σ 0..* Coding 由专门术语系统(terminology system)定义的代码。此资料项目为可扩充绑定预设国际标准值集,但实作者可视实务专案需求只绑定以下slices中的任一值集。目前未只限定绑定预设值集是因为尚无slice值集与预设国际标准值集的代码对应表,待后续有相对的代码对应表后将建议采用国际标准值集作为唯一绑定值集并针对该值集进行扩充与管理,以利进行跨国与跨系统之资料交换。
Slice: Unordered, Open by pattern:$this
..... coding:absentOrUnknownProblem SΣ 0..1 Coding 不存在的问题或未知问题的代码
Binding: Absent or Unknown Problems - IPS (required): 应填入所绑定值集中的其中一个代码。


..... coding:sct SΣ 0..1 Coding 此为SNOMED CT诊断代码,若机构已有购买相关授权,亦可使用。
Binding: ValueSet-SNOMED CT诊断代码值集 (required)
.... text Σ 0..1 string Plain text representation of the concept
... bodySite SΣ 0..* CodeableConcept 如果相关请填写解剖位置
Binding: SNOMEDCTBodyStructures (extensible)
... subject SΣ 1..1 Reference(SmPatient | Group) 谁有此病情、问题或诊断?
... encounter Σ 0..1 Reference(Encounter) 作为病情、问题或诊断纪录的一部分的就医(Encounter)纪录
... onset[x] SΣ 0..1 估计的或实际的日期、日期—时间或年龄。医师认为此病情、问题或诊断之推估或实际发生时间或日期时间等
.... onsetDateTime dateTime
.... onsetAge Age
.... onsetPeriod Period
.... onsetRange Range
.... onsetString string
... abatement[x] SC 0..1 何时解决/缓解
.... abatementDateTime dateTime
.... abatementAge Age
.... abatementPeriod Period
.... abatementRange Range
.... abatementString string
... recordedDate Σ 0..1 dateTime Date record was first recorded
... recorder Σ 0..1 Reference(SmPractitioner | SmPractitionerRole | SmPatient | RelatedPerson) 谁记录此病情、问题或诊断
... asserter SΣ 0..1 Reference(SmPractitioner | SmPractitionerRole | SmPatient | RelatedPerson) 声称有此病情、问题或诊断的人
... stage C 0..* BackboneElement 分期(stage)/分级(grade),通常是正式的评估。
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 C 0..1 CodeableConcept 简单的摘要(特定疾病)。
Binding: ConditionStage (extensible): 描述病情、问题或诊断分期的代码(例如:癌症分期)。应填入所绑定值集中适合的代码,确定无适合的代码才可以使用其他值集的代码来表示。

.... assessment C 0..* Reference(ClinicalImpression | DiagnosticReport | Observation) 正式的评估记录
.... type 0..1 CodeableConcept 分期的种类
Binding: ConditionStageType (extensible): 病情、问题或诊断分期种类的代码(如临床或病理);应填入所绑定值集中适合的代码,确定无适合的代码才可以使用其他值集的代码来表示。

... evidence C 0..* BackboneElement 支持的证据
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 ΣC 0..* CodeableConcept 表现/症状
Binding: ManifestationAndSymptomCodes (extensible): 病情、问题或诊断的表现或症状之代码;应填入所绑定值集中适合的代码,确定无适合的代码才可以使用其他值集的代码来表示。


.... detail ΣC 0..* Reference(Resource) 在其他地方找到的支持信息
... note S 0..* Annotation 关于此Condition的附加信息

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Condition.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
http://hl7.org/fhir/ValueSet/condition-clinical|4.0.1
from the FHIR Standard
Condition.verificationStatusrequiredConditionVerificationStatus
http://hl7.org/fhir/ValueSet/condition-ver-status|4.0.1
from the FHIR Standard
Condition.categoryextensibleConditionCategoryCodes
http://hl7.org/fhir/ValueSet/condition-category
from the FHIR Standard
Condition.severityextensibleCondition/DiagnosisSeverity
http://hl7.org/fhir/ValueSet/condition-severity
from the FHIR Standard
Condition.codeexampleCondition/Problem/DiagnosisCodes
http://hl7.org/fhir/ValueSet/condition-code
from the FHIR Standard
Condition.code.coding:absentOrUnknownProblemrequiredAbsentOrUnknownProblemsUvIps
http://hl7.org/fhir/uv/ips/ValueSet/absent-or-unknown-problems-uv-ips
Condition.code.coding:sctrequiredConditionCodeSCT
https://whcater.github.io/serious-med-ig/ValueSet/condition-code-sct
from this IG
Condition.bodySiteextensibleSNOMEDCTBodyStructures
http://hl7.org/fhir/ValueSet/body-site
from the FHIR Standard
Condition.stage.summaryextensibleConditionStage
http://hl7.org/fhir/ValueSet/condition-stage
from the FHIR Standard
Condition.stage.typeextensibleConditionStageType
http://hl7.org/fhir/ValueSet/condition-stage-type
from the FHIR Standard
Condition.evidence.codeextensibleManifestationAndSymptomCodes
http://hl7.org/fhir/ValueSet/manifestation-or-symptom
from the FHIR Standard

Constraints

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

This structure is derived from Condition

Summary

Mandatory: 1 element
Must-Support: 12 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Condition.code.coding

Differential View

This structure is derived from Condition

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition 0..* Condition 有关病情、问题或诊断的详细信息
... id 0..1 id 不重复的ID用以识别储存在特定FHIR Server中的Condition纪录,通常又称为逻辑性ID。
... extension 0..* Extension 扩展字段
... identifier 0..* Identifier 此病情、问题或诊断的外部识别码
... verificationStatus S 0..1 CodeableConcept unconfirmed | provisional | differential | confirmed | refuted | entered-in-error ,支持或拒绝病情、问题或诊断的临床状态的验证状态。
Binding: ConditionVerificationStatus (required)
... category 0..* CodeableConcept problem-list-item | encounter-diagnosis ,指定病情、问题或诊断的类别。
... severity S 0..1 CodeableConcept 病情、问题或诊断的主观严重程度
Binding: Condition/DiagnosisSeverity (extensible)
... code S 0..1 CodeableConcept 病情、问题或诊断的识别
Binding: Condition/Problem/DiagnosisCodes (example)
.... Slices for coding 0..* Coding 由专门术语系统(terminology system)定义的代码。此资料项目为可扩充绑定预设国际标准值集,但实作者可视实务专案需求只绑定以下slices中的任一值集。目前未只限定绑定预设值集是因为尚无slice值集与预设国际标准值集的代码对应表,待后续有相对的代码对应表后将建议采用国际标准值集作为唯一绑定值集并针对该值集进行扩充与管理,以利进行跨国与跨系统之资料交换。
Slice: Unordered, Open by pattern:$this
..... coding:absentOrUnknownProblem S 0..1 Coding 不存在的问题或未知问题的代码
Binding: Absent or Unknown Problems - IPS (required): 应填入所绑定值集中的其中一个代码。

..... coding:sct S 0..1 Coding 此为SNOMED CT诊断代码,若机构已有购买相关授权,亦可使用。
Binding: ValueSet-SNOMED CT诊断代码值集 (required)
... bodySite S 0..* CodeableConcept 如果相关请填写解剖位置
Binding: SNOMEDCTBodyStructures (extensible)
... subject S 1..1 Reference(SmPatient | Group) 谁有此病情、问题或诊断?
... encounter 0..1 Reference(Encounter) 作为病情、问题或诊断纪录的一部分的就医(Encounter)纪录
... onset[x] S 0..1 dateTime, Age, Period, Range, string 估计的或实际的日期、日期—时间或年龄。医师认为此病情、问题或诊断之推估或实际发生时间或日期时间等
... abatement[x] S 0..1 dateTime, Age, Period, Range, string 何时解决/缓解
... recorder 0..1 Reference(SmPractitioner | SmPractitionerRole | SmPatient | RelatedPerson) 谁记录此病情、问题或诊断
... asserter S 0..1 Reference(SmPractitioner | SmPractitionerRole | SmPatient | RelatedPerson) 声称有此病情、问题或诊断的人
... stage 0..* BackboneElement 分期(stage)/分级(grade),通常是正式的评估。
.... summary 0..1 CodeableConcept 简单的摘要(特定疾病)。
Binding: ConditionStage (extensible): 描述病情、问题或诊断分期的代码(例如:癌症分期)。应填入所绑定值集中适合的代码,确定无适合的代码才可以使用其他值集的代码来表示。

.... assessment 0..* Reference(ClinicalImpression | DiagnosticReport | Observation) 正式的评估记录
.... type 0..1 CodeableConcept 分期的种类
Binding: ConditionStageType (extensible): 病情、问题或诊断分期种类的代码(如临床或病理);应填入所绑定值集中适合的代码,确定无适合的代码才可以使用其他值集的代码来表示。

... evidence 0..* BackboneElement 支持的证据
.... code 0..* CodeableConcept 表现/症状
Binding: ManifestationAndSymptomCodes (extensible): 病情、问题或诊断的表现或症状之代码;应填入所绑定值集中适合的代码,确定无适合的代码才可以使用其他值集的代码来表示。

.... detail 0..* Reference(Resource) 在其他地方找到的支持信息
... note S 0..* Annotation 关于此Condition的附加信息

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
http://hl7.org/fhir/ValueSet/condition-clinical|4.0.1
from the FHIR Standard
Condition.verificationStatusrequiredConditionVerificationStatus
http://hl7.org/fhir/ValueSet/condition-ver-status|4.0.1
from the FHIR Standard
Condition.severityextensibleCondition/DiagnosisSeverity
http://hl7.org/fhir/ValueSet/condition-severity
from the FHIR Standard
Condition.codeexampleCondition/Problem/DiagnosisCodes
http://hl7.org/fhir/ValueSet/condition-code
from the FHIR Standard
Condition.code.coding:absentOrUnknownProblemrequiredAbsentOrUnknownProblemsUvIps
http://hl7.org/fhir/uv/ips/ValueSet/absent-or-unknown-problems-uv-ips
Condition.code.coding:sctrequiredConditionCodeSCT
https://whcater.github.io/serious-med-ig/ValueSet/condition-code-sct
from this IG
Condition.bodySiteextensibleSNOMEDCTBodyStructures
http://hl7.org/fhir/ValueSet/body-site
from the FHIR Standard
Condition.stage.summaryextensibleConditionStage
http://hl7.org/fhir/ValueSet/condition-stage
from the FHIR Standard
Condition.stage.typeextensibleConditionStageType
http://hl7.org/fhir/ValueSet/condition-stage-type
from the FHIR Standard
Condition.evidence.codeextensibleManifestationAndSymptomCodes
http://hl7.org/fhir/ValueSet/manifestation-or-symptom
from the FHIR Standard

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition C 0..* Condition 有关病情、问题或诊断的详细信息
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 不重复的ID用以识别储存在特定FHIR Server中的Condition纪录,通常又称为逻辑性ID。
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... extension 0..* Extension 扩展字段
... identifier Σ 0..* Identifier 此病情、问题或诊断的外部识别码
... clinicalStatus ?!SΣC 1..1 CodeableConcept active | recurrence | relapse | inactive | remission | resolved ,病情、问题或诊断的临床状态。
Binding: ConditionClinicalStatusCodes (required)
... verificationStatus ?!SΣC 0..1 CodeableConcept unconfirmed | provisional | differential | confirmed | refuted | entered-in-error ,支持或拒绝病情、问题或诊断的临床状态的验证状态。
Binding: ConditionVerificationStatus (required)
... category 0..* CodeableConcept problem-list-item | encounter-diagnosis ,指定病情、问题或诊断的类别。
Binding: ConditionCategoryCodes (extensible): A category assigned to the condition.


... severity S 0..1 CodeableConcept 病情、问题或诊断的主观严重程度
Binding: Condition/DiagnosisSeverity (extensible)
... code SΣ 0..1 CodeableConcept 病情、问题或诊断的识别
Binding: Condition/Problem/DiagnosisCodes (example)
.... Slices for coding Σ 0..* Coding 由专门术语系统(terminology system)定义的代码。此资料项目为可扩充绑定预设国际标准值集,但实作者可视实务专案需求只绑定以下slices中的任一值集。目前未只限定绑定预设值集是因为尚无slice值集与预设国际标准值集的代码对应表,待后续有相对的代码对应表后将建议采用国际标准值集作为唯一绑定值集并针对该值集进行扩充与管理,以利进行跨国与跨系统之资料交换。
Slice: Unordered, Open by pattern:$this
..... coding:absentOrUnknownProblem SΣ 0..1 Coding 不存在的问题或未知问题的代码
Binding: Absent or Unknown Problems - IPS (required): 应填入所绑定值集中的其中一个代码。


..... coding:sct SΣ 0..1 Coding 此为SNOMED CT诊断代码,若机构已有购买相关授权,亦可使用。
Binding: ValueSet-SNOMED CT诊断代码值集 (required)
... bodySite SΣ 0..* CodeableConcept 如果相关请填写解剖位置
Binding: SNOMEDCTBodyStructures (extensible)
... subject SΣ 1..1 Reference(SmPatient | Group) 谁有此病情、问题或诊断?
... encounter Σ 0..1 Reference(Encounter) 作为病情、问题或诊断纪录的一部分的就医(Encounter)纪录
... onset[x] SΣ 0..1 估计的或实际的日期、日期—时间或年龄。医师认为此病情、问题或诊断之推估或实际发生时间或日期时间等
.... onsetDateTime dateTime
.... onsetAge Age
.... onsetPeriod Period
.... onsetRange Range
.... onsetString string
... abatement[x] SC 0..1 何时解决/缓解
.... abatementDateTime dateTime
.... abatementAge Age
.... abatementPeriod Period
.... abatementRange Range
.... abatementString string
... recorder Σ 0..1 Reference(SmPractitioner | SmPractitionerRole | SmPatient | RelatedPerson) 谁记录此病情、问题或诊断
... asserter SΣ 0..1 Reference(SmPractitioner | SmPractitionerRole | SmPatient | RelatedPerson) 声称有此病情、问题或诊断的人
... stage C 0..* BackboneElement 分期(stage)/分级(grade),通常是正式的评估。
con-1: Stage SHALL have summary or assessment
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... summary C 0..1 CodeableConcept 简单的摘要(特定疾病)。
Binding: ConditionStage (extensible): 描述病情、问题或诊断分期的代码(例如:癌症分期)。应填入所绑定值集中适合的代码,确定无适合的代码才可以使用其他值集的代码来表示。

.... assessment C 0..* Reference(ClinicalImpression | DiagnosticReport | Observation) 正式的评估记录
.... type 0..1 CodeableConcept 分期的种类
Binding: ConditionStageType (extensible): 病情、问题或诊断分期种类的代码(如临床或病理);应填入所绑定值集中适合的代码,确定无适合的代码才可以使用其他值集的代码来表示。

... evidence C 0..* BackboneElement 支持的证据
con-2: evidence SHALL have code or details
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... code ΣC 0..* CodeableConcept 表现/症状
Binding: ManifestationAndSymptomCodes (extensible): 病情、问题或诊断的表现或症状之代码;应填入所绑定值集中适合的代码,确定无适合的代码才可以使用其他值集的代码来表示。


.... detail ΣC 0..* Reference(Resource) 在其他地方找到的支持信息
... note S 0..* Annotation 关于此Condition的附加信息

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
http://hl7.org/fhir/ValueSet/condition-clinical|4.0.1
from the FHIR Standard
Condition.verificationStatusrequiredConditionVerificationStatus
http://hl7.org/fhir/ValueSet/condition-ver-status|4.0.1
from the FHIR Standard
Condition.categoryextensibleConditionCategoryCodes
http://hl7.org/fhir/ValueSet/condition-category
from the FHIR Standard
Condition.severityextensibleCondition/DiagnosisSeverity
http://hl7.org/fhir/ValueSet/condition-severity
from the FHIR Standard
Condition.codeexampleCondition/Problem/DiagnosisCodes
http://hl7.org/fhir/ValueSet/condition-code
from the FHIR Standard
Condition.code.coding:absentOrUnknownProblemrequiredAbsentOrUnknownProblemsUvIps
http://hl7.org/fhir/uv/ips/ValueSet/absent-or-unknown-problems-uv-ips
Condition.code.coding:sctrequiredConditionCodeSCT
https://whcater.github.io/serious-med-ig/ValueSet/condition-code-sct
from this IG
Condition.bodySiteextensibleSNOMEDCTBodyStructures
http://hl7.org/fhir/ValueSet/body-site
from the FHIR Standard
Condition.stage.summaryextensibleConditionStage
http://hl7.org/fhir/ValueSet/condition-stage
from the FHIR Standard
Condition.stage.typeextensibleConditionStageType
http://hl7.org/fhir/ValueSet/condition-stage-type
from the FHIR Standard
Condition.evidence.codeextensibleManifestationAndSymptomCodes
http://hl7.org/fhir/ValueSet/manifestation-or-symptom
from the FHIR Standard

Constraints

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

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition C 0..* Condition 有关病情、问题或诊断的详细信息
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 不重复的ID用以识别储存在特定FHIR Server中的Condition纪录,通常又称为逻辑性ID。
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension 扩展字段
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier 此病情、问题或诊断的外部识别码
... clinicalStatus ?!SΣC 1..1 CodeableConcept active | recurrence | relapse | inactive | remission | resolved ,病情、问题或诊断的临床状态。
Binding: ConditionClinicalStatusCodes (required)
... verificationStatus ?!SΣC 0..1 CodeableConcept unconfirmed | provisional | differential | confirmed | refuted | entered-in-error ,支持或拒绝病情、问题或诊断的临床状态的验证状态。
Binding: ConditionVerificationStatus (required)
... category 0..* CodeableConcept problem-list-item | encounter-diagnosis ,指定病情、问题或诊断的类别。
Binding: ConditionCategoryCodes (extensible): A category assigned to the condition.


... severity S 0..1 CodeableConcept 病情、问题或诊断的主观严重程度
Binding: Condition/DiagnosisSeverity (extensible)
... code SΣ 0..1 CodeableConcept 病情、问题或诊断的识别
Binding: Condition/Problem/DiagnosisCodes (example)
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding Σ 0..* Coding 由专门术语系统(terminology system)定义的代码。此资料项目为可扩充绑定预设国际标准值集,但实作者可视实务专案需求只绑定以下slices中的任一值集。目前未只限定绑定预设值集是因为尚无slice值集与预设国际标准值集的代码对应表,待后续有相对的代码对应表后将建议采用国际标准值集作为唯一绑定值集并针对该值集进行扩充与管理,以利进行跨国与跨系统之资料交换。
Slice: Unordered, Open by pattern:$this
..... coding:absentOrUnknownProblem SΣ 0..1 Coding 不存在的问题或未知问题的代码
Binding: Absent or Unknown Problems - IPS (required): 应填入所绑定值集中的其中一个代码。


..... coding:sct SΣ 0..1 Coding 此为SNOMED CT诊断代码,若机构已有购买相关授权,亦可使用。
Binding: ValueSet-SNOMED CT诊断代码值集 (required)
.... text Σ 0..1 string Plain text representation of the concept
... bodySite SΣ 0..* CodeableConcept 如果相关请填写解剖位置
Binding: SNOMEDCTBodyStructures (extensible)
... subject SΣ 1..1 Reference(SmPatient | Group) 谁有此病情、问题或诊断?
... encounter Σ 0..1 Reference(Encounter) 作为病情、问题或诊断纪录的一部分的就医(Encounter)纪录
... onset[x] SΣ 0..1 估计的或实际的日期、日期—时间或年龄。医师认为此病情、问题或诊断之推估或实际发生时间或日期时间等
.... onsetDateTime dateTime
.... onsetAge Age
.... onsetPeriod Period
.... onsetRange Range
.... onsetString string
... abatement[x] SC 0..1 何时解决/缓解
.... abatementDateTime dateTime
.... abatementAge Age
.... abatementPeriod Period
.... abatementRange Range
.... abatementString string
... recordedDate Σ 0..1 dateTime Date record was first recorded
... recorder Σ 0..1 Reference(SmPractitioner | SmPractitionerRole | SmPatient | RelatedPerson) 谁记录此病情、问题或诊断
... asserter SΣ 0..1 Reference(SmPractitioner | SmPractitionerRole | SmPatient | RelatedPerson) 声称有此病情、问题或诊断的人
... stage C 0..* BackboneElement 分期(stage)/分级(grade),通常是正式的评估。
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 C 0..1 CodeableConcept 简单的摘要(特定疾病)。
Binding: ConditionStage (extensible): 描述病情、问题或诊断分期的代码(例如:癌症分期)。应填入所绑定值集中适合的代码,确定无适合的代码才可以使用其他值集的代码来表示。

.... assessment C 0..* Reference(ClinicalImpression | DiagnosticReport | Observation) 正式的评估记录
.... type 0..1 CodeableConcept 分期的种类
Binding: ConditionStageType (extensible): 病情、问题或诊断分期种类的代码(如临床或病理);应填入所绑定值集中适合的代码,确定无适合的代码才可以使用其他值集的代码来表示。

... evidence C 0..* BackboneElement 支持的证据
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 ΣC 0..* CodeableConcept 表现/症状
Binding: ManifestationAndSymptomCodes (extensible): 病情、问题或诊断的表现或症状之代码;应填入所绑定值集中适合的代码,确定无适合的代码才可以使用其他值集的代码来表示。


.... detail ΣC 0..* Reference(Resource) 在其他地方找到的支持信息
... note S 0..* Annotation 关于此Condition的附加信息

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Condition.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
http://hl7.org/fhir/ValueSet/condition-clinical|4.0.1
from the FHIR Standard
Condition.verificationStatusrequiredConditionVerificationStatus
http://hl7.org/fhir/ValueSet/condition-ver-status|4.0.1
from the FHIR Standard
Condition.categoryextensibleConditionCategoryCodes
http://hl7.org/fhir/ValueSet/condition-category
from the FHIR Standard
Condition.severityextensibleCondition/DiagnosisSeverity
http://hl7.org/fhir/ValueSet/condition-severity
from the FHIR Standard
Condition.codeexampleCondition/Problem/DiagnosisCodes
http://hl7.org/fhir/ValueSet/condition-code
from the FHIR Standard
Condition.code.coding:absentOrUnknownProblemrequiredAbsentOrUnknownProblemsUvIps
http://hl7.org/fhir/uv/ips/ValueSet/absent-or-unknown-problems-uv-ips
Condition.code.coding:sctrequiredConditionCodeSCT
https://whcater.github.io/serious-med-ig/ValueSet/condition-code-sct
from this IG
Condition.bodySiteextensibleSNOMEDCTBodyStructures
http://hl7.org/fhir/ValueSet/body-site
from the FHIR Standard
Condition.stage.summaryextensibleConditionStage
http://hl7.org/fhir/ValueSet/condition-stage
from the FHIR Standard
Condition.stage.typeextensibleConditionStageType
http://hl7.org/fhir/ValueSet/condition-stage-type
from the FHIR Standard
Condition.evidence.codeextensibleManifestationAndSymptomCodes
http://hl7.org/fhir/ValueSet/manifestation-or-symptom
from the FHIR Standard

Constraints

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

This structure is derived from Condition

Summary

Mandatory: 1 element
Must-Support: 12 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Condition.code.coding

 

Other representations of profile: CSV, Excel, Schematron