HL7中国FHIR Connectathon测试实施指南
2024.5.5 - release
本指南适用于HL7中国的FHIR Connectathon测试。
Defining URL: | http://hl7.org.cn/fhir/StructureDefinition/core-problem |
Version: | 2024.5.5 |
Name: | CoreProblem |
Title: | 问题结构定义 |
Status: | Active as of 2024-05-05 21:11:47+0800 |
Definition: | 问题本地化定义。 |
Publisher: | HL7中国. HL7中国, |
Source Resource: | XML / JSON / Turtle |
本定义的正式URL为:
http://hl7.org.cn/fhir/StructureDefinition/core-problem
这种结构源自 Condition
Summary
Mandatory: 4 elements
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
这种结构源自 Condition
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Condition | 0..* | Condition | Detailed information about conditions, problems or diagnoses | |
clinicalStatus | 1..1 | CodeableConcept | 记录问题的临床状态。例如:活跃、不活跃、已解决等 | |
category | 1..1 | CodeableConcept | 记录问题的分类 Required Pattern: At least the following | |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/condition-category | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: problem-list-item | |
display | 1..1 | string | Representation defined by the system Fixed Value: 问题列表 | |
code | 1..1 | CodeableConcept | 问题的编码 Binding: http://hl7.org/fhir/sid/icd-9-R (preferred) | |
subject | 1..1 | Reference(患者信息结构定义) | 指向患者的引用 | |
encounter | 1..1 | Reference(门诊就诊服务结构定义 | 住院就诊服务结构定义) | 指向诊疗活动资源,例如:随访、门诊、住院等 | |
onset[x] | 0..1 | dateTime | Estimated or actual date, date-time, or age Slice: Unordered, Open by type:$this | |
onsetDateTime | 0..1 | dateTime | 问题开始时间,可以是估计时间 | |
participant | 1..* | BackboneElement | 问题记录医师 | |
actor | 1..1 | Reference(卫生服务人员信息结构定义) | Who or what participated in the activities related to the condition | |
note | 0..* | Annotation | 关于该症状的附加信息 | |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
Condition | C | 0..* | Condition | Detailed information about conditions, problems or diagnoses con-2: If category is problems list item, the clinicalStatus should not be unknown con-3: If condition is abated, then clinicalStatus must be either inactive, resolved, or remission. | ||||
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: AllLanguages (required): IETF language tag for a human language
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
identifier | Σ | 0..* | Identifier | External Ids for this condition | ||||
clinicalStatus | ?!ΣC | 1..1 | CodeableConcept | 记录问题的临床状态。例如:活跃、不活跃、已解决等 Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis. | ||||
verificationStatus | ?!Σ | 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. | ||||
category | C | 1..1 | CodeableConcept | 记录问题的分类 Binding: ConditionCategoryCodes (preferred): A category assigned to the condition. Required Pattern: At least the following | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/condition-category | |||||
version | 0..1 | string | Version of the system - if relevant | |||||
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: problem-list-item | |||||
display | 1..1 | string | Representation defined by the system Fixed Value: 问题列表 | |||||
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |||||
text | 0..1 | string | Plain text representation of the concept | |||||
severity | 0..1 | CodeableConcept | Subjective severity of condition Binding: ConditionDiagnosisSeverity (preferred): A subjective assessment of the severity of the condition as evaluated by the clinician. | |||||
code | Σ | 1..1 | CodeableConcept | 问题的编码 Binding: http://hl7.org/fhir/sid/icd-9-R (preferred) | ||||
bodySite | Σ | 0..* | CodeableConcept | Anatomical location, if relevant Binding: SNOMEDCTBodyStructures (example): SNOMED CT Body site concepts | ||||
subject | Σ | 1..1 | Reference(患者信息结构定义) | 指向患者的引用 | ||||
encounter | Σ | 1..1 | Reference(门诊就诊服务结构定义 | 住院就诊服务结构定义) | 指向诊疗活动资源,例如:随访、门诊、住院等 | ||||
Slices for onset[x] | Σ | 0..1 | dateTime | Estimated or actual date, date-time, or age Slice: Unordered, Closed by type:$this | ||||
onset[x]:onsetDateTime | Σ | 0..1 | dateTime | 问题开始时间,可以是估计时间 | ||||
abatement[x] | C | 0..1 | When in resolution/remission | |||||
abatementDateTime | dateTime | |||||||
abatementAge | Age | |||||||
abatementPeriod | Period | |||||||
abatementRange | Range | |||||||
abatementString | string | |||||||
recordedDate | Σ | 0..1 | dateTime | Date condition was first recorded | ||||
participant | Σ | 1..* | BackboneElement | 问题记录医师 | ||||
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 | ||||
function | Σ | 0..1 | CodeableConcept | Type of involvement Binding: ParticipationRoleType (extensible) | ||||
actor | Σ | 1..1 | Reference(卫生服务人员信息结构定义) | Who or what participated in the activities related to the condition | ||||
stage | C | 0..* | 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 | C | 0..1 | CodeableConcept | Simple summary (disease specific) Binding: ConditionStage (example): Codes describing condition stages (e.g. Cancer stages). | ||||
assessment | C | 0..* | Reference(ClinicalImpression | DiagnosticReport | Observation) | Formal record of assessment | ||||
type | 0..1 | CodeableConcept | Kind of staging Binding: ConditionStageType (example): Codes describing the kind of condition staging (e.g. clinical or pathological). | |||||
evidence | Σ | 0..* | CodeableReference(Resource) | Supporting evidence for the verification status Binding: SNOMEDCTClinicalFindings (example) | ||||
note | 0..* | Annotation | 关于该症状的附加信息 | |||||
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Condition | 0..* | Condition | Detailed information about conditions, problems or diagnoses | |
Documentation for this format |
这种结构源自 Condition
Summary
Mandatory: 4 elements
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
差异视图
这种结构源自 Condition
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Condition | 0..* | Condition | Detailed information about conditions, problems or diagnoses | |
clinicalStatus | 1..1 | CodeableConcept | 记录问题的临床状态。例如:活跃、不活跃、已解决等 | |
category | 1..1 | CodeableConcept | 记录问题的分类 Required Pattern: At least the following | |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/condition-category | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: problem-list-item | |
display | 1..1 | string | Representation defined by the system Fixed Value: 问题列表 | |
code | 1..1 | CodeableConcept | 问题的编码 Binding: http://hl7.org/fhir/sid/icd-9-R (preferred) | |
subject | 1..1 | Reference(患者信息结构定义) | 指向患者的引用 | |
encounter | 1..1 | Reference(门诊就诊服务结构定义 | 住院就诊服务结构定义) | 指向诊疗活动资源,例如:随访、门诊、住院等 | |
onset[x] | 0..1 | dateTime | Estimated or actual date, date-time, or age Slice: Unordered, Open by type:$this | |
onsetDateTime | 0..1 | dateTime | 问题开始时间,可以是估计时间 | |
participant | 1..* | BackboneElement | 问题记录医师 | |
actor | 1..1 | Reference(卫生服务人员信息结构定义) | Who or what participated in the activities related to the condition | |
note | 0..* | Annotation | 关于该症状的附加信息 | |
Documentation for this format |
快照视图
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
Condition | C | 0..* | Condition | Detailed information about conditions, problems or diagnoses con-2: If category is problems list item, the clinicalStatus should not be unknown con-3: If condition is abated, then clinicalStatus must be either inactive, resolved, or remission. | ||||
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: AllLanguages (required): IETF language tag for a human language
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
identifier | Σ | 0..* | Identifier | External Ids for this condition | ||||
clinicalStatus | ?!ΣC | 1..1 | CodeableConcept | 记录问题的临床状态。例如:活跃、不活跃、已解决等 Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis. | ||||
verificationStatus | ?!Σ | 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. | ||||
category | C | 1..1 | CodeableConcept | 记录问题的分类 Binding: ConditionCategoryCodes (preferred): A category assigned to the condition. Required Pattern: At least the following | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/condition-category | |||||
version | 0..1 | string | Version of the system - if relevant | |||||
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: problem-list-item | |||||
display | 1..1 | string | Representation defined by the system Fixed Value: 问题列表 | |||||
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |||||
text | 0..1 | string | Plain text representation of the concept | |||||
severity | 0..1 | CodeableConcept | Subjective severity of condition Binding: ConditionDiagnosisSeverity (preferred): A subjective assessment of the severity of the condition as evaluated by the clinician. | |||||
code | Σ | 1..1 | CodeableConcept | 问题的编码 Binding: http://hl7.org/fhir/sid/icd-9-R (preferred) | ||||
bodySite | Σ | 0..* | CodeableConcept | Anatomical location, if relevant Binding: SNOMEDCTBodyStructures (example): SNOMED CT Body site concepts | ||||
subject | Σ | 1..1 | Reference(患者信息结构定义) | 指向患者的引用 | ||||
encounter | Σ | 1..1 | Reference(门诊就诊服务结构定义 | 住院就诊服务结构定义) | 指向诊疗活动资源,例如:随访、门诊、住院等 | ||||
Slices for onset[x] | Σ | 0..1 | dateTime | Estimated or actual date, date-time, or age Slice: Unordered, Closed by type:$this | ||||
onset[x]:onsetDateTime | Σ | 0..1 | dateTime | 问题开始时间,可以是估计时间 | ||||
abatement[x] | C | 0..1 | When in resolution/remission | |||||
abatementDateTime | dateTime | |||||||
abatementAge | Age | |||||||
abatementPeriod | Period | |||||||
abatementRange | Range | |||||||
abatementString | string | |||||||
recordedDate | Σ | 0..1 | dateTime | Date condition was first recorded | ||||
participant | Σ | 1..* | BackboneElement | 问题记录医师 | ||||
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 | ||||
function | Σ | 0..1 | CodeableConcept | Type of involvement Binding: ParticipationRoleType (extensible) | ||||
actor | Σ | 1..1 | Reference(卫生服务人员信息结构定义) | Who or what participated in the activities related to the condition | ||||
stage | C | 0..* | 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 | C | 0..1 | CodeableConcept | Simple summary (disease specific) Binding: ConditionStage (example): Codes describing condition stages (e.g. Cancer stages). | ||||
assessment | C | 0..* | Reference(ClinicalImpression | DiagnosticReport | Observation) | Formal record of assessment | ||||
type | 0..1 | CodeableConcept | Kind of staging Binding: ConditionStageType (example): Codes describing the kind of condition staging (e.g. clinical or pathological). | |||||
evidence | Σ | 0..* | CodeableReference(Resource) | Supporting evidence for the verification status Binding: SNOMEDCTClinicalFindings (example) | ||||
note | 0..* | Annotation | 关于该症状的附加信息 | |||||
Documentation for this format |
本定义的其它表示法: Schematron
Path | Conformance | ValueSet / Code | URI |
Condition.language | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages|5.0.0 from the FHIR Standard | |
Condition.clinicalStatus | required | ConditionClinicalStatusCodeshttp://hl7.org/fhir/ValueSet/condition-clinical|5.0.0 from the FHIR Standard | |
Condition.verificationStatus | required | ConditionVerificationStatushttp://hl7.org/fhir/ValueSet/condition-ver-status|5.0.0 from the FHIR Standard | |
Condition.category | preferred | Pattern: problem-list-item("问题列表")http://hl7.org/fhir/ValueSet/condition-category from the FHIR Standard | |
Condition.severity | preferred | ConditionDiagnosisSeverityhttp://hl7.org/fhir/ValueSet/condition-severity from the FHIR Standard | |
Condition.code | preferred | http://hl7.org/fhir/sid/icd-9-Rhttp://hl7.org/fhir/sid/icd-9-R | |
Condition.bodySite | example | SNOMEDCTBodyStructureshttp://hl7.org/fhir/ValueSet/body-site from the FHIR Standard | |
Condition.participant.function | extensible | ParticipationRoleTypehttp://hl7.org/fhir/ValueSet/participation-role-type from the FHIR Standard | |
Condition.stage.summary | example | ConditionStagehttp://hl7.org/fhir/ValueSet/condition-stage from the FHIR Standard | |
Condition.stage.type | example | ConditionStageTypehttp://hl7.org/fhir/ValueSet/condition-stage-type from the FHIR Standard | |
Condition.evidence | example | SNOMEDCTClinicalFindingshttp://hl7.org/fhir/ValueSet/clinical-findings 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 | warning | Condition | If category is problems list item, the clinicalStatus should not be unknown : category.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-category' and code='problem-list-item').exists() implies clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and code='unknown').exists().not() | |
con-3 | error | Condition | If condition is abated, then clinicalStatus must be either inactive, resolved, or remission. : abatement.exists() implies (clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='inactive' or code='resolved' or code='remission')).exists()) | |
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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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() |