基于FHIR标准的健康档案共享文档实施指南
0.8.0.2022705 - 持续集成版

基于FHIR的健康档案共享文档实施时必须严格遵循本实施指南的规定。

Resource Profile: 日主食量目标结构定义

Defining URL:http://hl7.org.cn/fhir/sd/ehr/StructureDefinition/profile-goal-dailyfc
Version:0.8.0.2022705
Name:GoalDailyFC
Title:日主食量目标结构定义
Status:Active as of 2022-07-05T13:46:42+08:00
Definition:

日主食量目标资源本地化定义。

Publisher:CHIMA&HL7中国委员会
Source Resource:XML / JSON / Turtle

日主食量目标结构定义的正式唯一标识为:

http://hl7.org.cn/fhir/sd/ehr/StructureDefinition/profile-goal-dailyfc

简介

目标日主食量使用Goal资源进行表示。该资源的本地化结构定义声明了对适用于健康医疗信息平台中目标日主食量的最低要求。它确定在使用此资源时应包含哪些核心元素、扩展和术语。

快速实施指导

定义内容的视图

日主食量目标结构定义是在FHIR标准的LivingGoal基础上进行更加详细的规则约束,下表展示了日主食量目标结构定义的结构表示。

关于定义、差异、快照以及如何解读这些表示法

这种结构源自 LivingGoal

Summary

Mandatory: 3 elements

Slices

This structure defines the following Slices:

  • The element Goal.target.detail[x] is sliced based on the value of type:$this

这种结构源自 LivingGoal

NameFlagsCard.TypeDescription & Constraintsdoco
.. Goal 0..*LivingGoalDescribes the intended objective(s) for a patient, group or organization
... description 1..1CodeableConceptCode or text describing goal
Required Pattern: At least the following
.... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
..... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org.cn/fhir/sd/ehr/CodeSystem/ws363-2011
..... code1..1codeSymbol in syntax defined by the system
Fixed Value: DE03.00.055.00
..... display1..1stringRepresentation defined by the system
Fixed Value: 目标日主食量
... target
.... detail[x] 1..1(Slice Definition)目标值
Slice: Unordered, Open by type:$this
.... detailQuantity 1..1Quantity目标取值类型为:度量类型
..... value 1..1decimal度量值
..... unit 1..1string度量单位:克
Required Pattern:

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Goal 0..*LivingGoalDescribes the intended objective(s) for a patient, group or organization
... id Σ0..1stringLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier 0..*IdentifierExternal Ids for this goal
... lifecycleStatus ?!Σ1..1code目标状态,默认值为planed
Binding: GoalLifecycleStatus (required): Codes that reflect the current state of a goal and whether the goal is still being targeted.

... achievementStatus Σ0..1CodeableConceptin-progress | improving | worsening | no-change | achieved | sustaining | not-achieved | no-progress | not-attainable
Binding: GoalAchievementStatus (preferred): Indicates the progression, or lack thereof, towards the goal against the target.

... category Σ0..*CodeableConceptE.g. Treatment, dietary, behavioral, etc.
Binding: GoalCategory (example): Codes for grouping and sorting goals.


... priority Σ0..1CodeableConcepthigh-priority | medium-priority | low-priority
Binding: GoalPriority (preferred): The level of importance associated with a goal.

... description Σ1..1CodeableConceptCode or text describing goal
Binding: SNOMEDCTClinicalFindings (example): Codes providing the details of a particular goal. This will generally be system or implementation guide-specific. In many systems, only the text element will be used.


Required Pattern: At least the following
.... id0..1stringUnique id for inter-element referencing
.... extension0..*ExtensionAdditional content defined by implementations
.... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
..... id0..1stringUnique id for inter-element referencing
..... extension0..*ExtensionAdditional content defined by implementations
..... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org.cn/fhir/sd/ehr/CodeSystem/ws363-2011
..... version0..1stringVersion of the system - if relevant
..... code1..1codeSymbol in syntax defined by the system
Fixed Value: DE03.00.055.00
..... display1..1stringRepresentation defined by the system
Fixed Value: 目标日主食量
..... userSelected0..1booleanIf this coding was chosen directly by the user
.... text0..1stringPlain text representation of the concept
... subject Σ1..1Reference(Patient | Group | Organization)患者
... start[x] Σ0..1(Slice Definition)When goal pursuit begins
Slice: Unordered, Closed by type:$this
.... start[x]:startDate Σ0..1date目标开始日期
... target I1..2BackboneElement设定的要达到的目标
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... measure ΣI0..1CodeableConcept目标编码
Binding: 卫生标准数据元代码表 (required)
.... detail[x] ΣI1..1(Slice Definition)目标值
Slice: Unordered, Closed by type:$this
Binding: (unbound) (example): Codes to identify the target value of the focus to be achieved to signify the fulfillment of the goal.

..... detail[x]:detailQuantity ΣI1..1Quantity目标取值类型为:度量类型
Binding: (unbound) (example): Codes to identify the target value of the focus to be achieved to signify the fulfillment of the goal.

...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... value Σ1..1decimal度量值
...... comparator ?!Σ0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

...... unit Σ1..1string度量单位:克
Required Pattern:
...... system ΣI0..1uriSystem that defines coded unit form
...... code Σ0..1codeCoded form of the unit
.... due[x] Σ0..1(Slice Definition)Reach goal on or before
Slice: Unordered, Closed by type:$this
..... due[x]:dueDate Σ0..1date期望的目标达成时间
... statusDate Σ0..1dateWhen goal status took effect
... statusReason 0..1stringReason for current status
... expressedBy Σ0..1Reference(Patient | Practitioner | PractitionerRole | RelatedPerson)Who's responsible for creating Goal?
... addresses 1..1Reference(Condition | Observation | MedicationStatement | NutritionOrder | ServiceRequest | RiskAssessment)针对哪个观察资源设定的目标,指向生活方式资源或者生命体征资源
... note 0..*AnnotationComments about the goal
... outcomeCode 0..*CodeableConceptWhat result was achieved regarding the goal?
Binding: SNOMEDCTClinicalFindings (example): The result of the goal; e.g. "25% increase in shoulder mobility", "Anxiety reduced to moderate levels". "15 kg weight loss sustained over 6 months".


... outcomeReference 0..*Reference(Observation)Observation that resulted from goal

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Goal 0..*LivingGoalDescribes the intended objective(s) for a patient, group or organization

doco Documentation for this format

这种结构源自 LivingGoal

Summary

Mandatory: 3 elements

Slices

This structure defines the following Slices:

  • The element Goal.target.detail[x] is sliced based on the value of type:$this

差异视图

这种结构源自 LivingGoal

NameFlagsCard.TypeDescription & Constraintsdoco
.. Goal 0..*LivingGoalDescribes the intended objective(s) for a patient, group or organization
... description 1..1CodeableConceptCode or text describing goal
Required Pattern: At least the following
.... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
..... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org.cn/fhir/sd/ehr/CodeSystem/ws363-2011
..... code1..1codeSymbol in syntax defined by the system
Fixed Value: DE03.00.055.00
..... display1..1stringRepresentation defined by the system
Fixed Value: 目标日主食量
... target
.... detail[x] 1..1(Slice Definition)目标值
Slice: Unordered, Open by type:$this
.... detailQuantity 1..1Quantity目标取值类型为:度量类型
..... value 1..1decimal度量值
..... unit 1..1string度量单位:克
Required Pattern:

doco Documentation for this format

快照视图

NameFlagsCard.TypeDescription & Constraintsdoco
.. Goal 0..*LivingGoalDescribes the intended objective(s) for a patient, group or organization
... id Σ0..1stringLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier 0..*IdentifierExternal Ids for this goal
... lifecycleStatus ?!Σ1..1code目标状态,默认值为planed
Binding: GoalLifecycleStatus (required): Codes that reflect the current state of a goal and whether the goal is still being targeted.

... achievementStatus Σ0..1CodeableConceptin-progress | improving | worsening | no-change | achieved | sustaining | not-achieved | no-progress | not-attainable
Binding: GoalAchievementStatus (preferred): Indicates the progression, or lack thereof, towards the goal against the target.

... category Σ0..*CodeableConceptE.g. Treatment, dietary, behavioral, etc.
Binding: GoalCategory (example): Codes for grouping and sorting goals.


... priority Σ0..1CodeableConcepthigh-priority | medium-priority | low-priority
Binding: GoalPriority (preferred): The level of importance associated with a goal.

... description Σ1..1CodeableConceptCode or text describing goal
Binding: SNOMEDCTClinicalFindings (example): Codes providing the details of a particular goal. This will generally be system or implementation guide-specific. In many systems, only the text element will be used.


Required Pattern: At least the following
.... id0..1stringUnique id for inter-element referencing
.... extension0..*ExtensionAdditional content defined by implementations
.... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
..... id0..1stringUnique id for inter-element referencing
..... extension0..*ExtensionAdditional content defined by implementations
..... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org.cn/fhir/sd/ehr/CodeSystem/ws363-2011
..... version0..1stringVersion of the system - if relevant
..... code1..1codeSymbol in syntax defined by the system
Fixed Value: DE03.00.055.00
..... display1..1stringRepresentation defined by the system
Fixed Value: 目标日主食量
..... userSelected0..1booleanIf this coding was chosen directly by the user
.... text0..1stringPlain text representation of the concept
... subject Σ1..1Reference(Patient | Group | Organization)患者
... start[x] Σ0..1(Slice Definition)When goal pursuit begins
Slice: Unordered, Closed by type:$this
.... start[x]:startDate Σ0..1date目标开始日期
... target I1..2BackboneElement设定的要达到的目标
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... measure ΣI0..1CodeableConcept目标编码
Binding: 卫生标准数据元代码表 (required)
.... detail[x] ΣI1..1(Slice Definition)目标值
Slice: Unordered, Closed by type:$this
Binding: (unbound) (example): Codes to identify the target value of the focus to be achieved to signify the fulfillment of the goal.

..... detail[x]:detailQuantity ΣI1..1Quantity目标取值类型为:度量类型
Binding: (unbound) (example): Codes to identify the target value of the focus to be achieved to signify the fulfillment of the goal.

...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... value Σ1..1decimal度量值
...... comparator ?!Σ0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

...... unit Σ1..1string度量单位:克
Required Pattern:
...... system ΣI0..1uriSystem that defines coded unit form
...... code Σ0..1codeCoded form of the unit
.... due[x] Σ0..1(Slice Definition)Reach goal on or before
Slice: Unordered, Closed by type:$this
..... due[x]:dueDate Σ0..1date期望的目标达成时间
... statusDate Σ0..1dateWhen goal status took effect
... statusReason 0..1stringReason for current status
... expressedBy Σ0..1Reference(Patient | Practitioner | PractitionerRole | RelatedPerson)Who's responsible for creating Goal?
... addresses 1..1Reference(Condition | Observation | MedicationStatement | NutritionOrder | ServiceRequest | RiskAssessment)针对哪个观察资源设定的目标,指向生活方式资源或者生命体征资源
... note 0..*AnnotationComments about the goal
... outcomeCode 0..*CodeableConceptWhat result was achieved regarding the goal?
Binding: SNOMEDCTClinicalFindings (example): The result of the goal; e.g. "25% increase in shoulder mobility", "Anxiety reduced to moderate levels". "15 kg weight loss sustained over 6 months".


... outcomeReference 0..*Reference(Observation)Observation that resulted from goal

doco Documentation for this format

 

本定义的其它表示法: Schematron

Terminology Bindings

PathConformanceValueSet / Code
Goal.languagepreferredCommonLanguages
Max Binding: AllLanguages
Goal.lifecycleStatusrequiredGoalLifecycleStatus
Goal.achievementStatuspreferredGoalAchievementStatus
Goal.categoryexampleGoalCategory
Goal.prioritypreferredGoalPriority
Goal.descriptionexamplePattern: DE03.00.055.00("目标日主食量")
Goal.target.measurerequiredWSDE
Goal.target.detail[x]example
Goal.target.detail[x]:detailQuantityexample
Goal.target.detail[x]:detailQuantity.comparatorrequiredQuantityComparator
Goal.outcomeCodeexampleSNOMEDCTClinicalFindings

Constraints

IdPathDetailsRequirements
dom-2GoalIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3GoalIf 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-4GoalIf 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-5GoalIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6GoalA resource should have narrative for robust management
: text.`div`.exists()
ele-1Goal.metaAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Goal.implicitRulesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Goal.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Goal.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Goal.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Goal.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Goal.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Goal.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Goal.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Goal.lifecycleStatusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Goal.achievementStatusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Goal.categoryAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Goal.priorityAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Goal.descriptionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Goal.subjectAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Goal.start[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Goal.start[x]:startDateAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Goal.targetAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
gol-1Goal.targetGoal.target.measure is required if Goal.target.detail is populated
: (detail.exists() and measure.exists()) or detail.exists().not()
ele-1Goal.target.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Goal.target.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Goal.target.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Goal.target.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Goal.target.measureAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Goal.target.detail[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Goal.target.detail[x]:detailQuantityAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Goal.target.detail[x]:detailQuantity.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Goal.target.detail[x]:detailQuantity.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Goal.target.detail[x]:detailQuantity.valueAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Goal.target.detail[x]:detailQuantity.comparatorAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Goal.target.detail[x]:detailQuantity.unitAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Goal.target.detail[x]:detailQuantity.systemAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Goal.target.detail[x]:detailQuantity.codeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Goal.target.due[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Goal.target.due[x]:dueDateAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Goal.statusDateAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Goal.statusReasonAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Goal.expressedByAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Goal.addressesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Goal.noteAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Goal.outcomeCodeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Goal.outcomeReferenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())