HL7中国FHIR Connectathon测试实施指南
2025.3.12 - release

HL7中国FHIR Connectathon测试实施指南 - Local Development build (v2025.3.12) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: 日程计划本地化定义

官方URL: http://hl7.org.cn/fhir/connectathon/StructureDefinition/profile-my-schedule 版本: 2025.3.12
Draft as of 2025-03-11 机读名称: MySchedule

计划本地化定义。

Usage:

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. Schedule 0..* Schedule A container for slots of time that may be available for booking appointments
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
... contained 0..* Resource Contained, inline Resources
... 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
... serviceCategory Σ 0..* CodeableConcept 日程表大类
Binding: ServiceCategory (example)
ele-1: All FHIR elements must have a @value or children
... serviceType Σ 0..* CodeableReference(HealthcareService) 日程表类型
Binding: ServiceType (example)
ele-1: All FHIR elements must have a @value or children
... Slices for actor Σ 1..* Reference(Practitioner | PractitionerRole | HealthcareService | Location) Resource(s) that availability information is being provided for
Slice: Unordered, Open by value:$this
ele-1: All FHIR elements must have a @value or children
.... actor:Department SΣ 1..1 Reference(HealthcareService) 预约科室
ele-1: All FHIR elements must have a @value or children
.... actor:Location Σ 0..1 Reference(Patient | Practitioner | PractitionerRole | CareTeam | RelatedPerson | Device | HealthcareService | Location) 预约科室位置
ele-1: All FHIR elements must have a @value or children
.... actor:Doctor SΣ 0..1 Reference(Practitioner | PractitionerRole) 预约医生
ele-1: All FHIR elements must have a @value or children
... planningHorizon Σ 0..1 Period 日程表覆盖日期区间
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Schedule.serviceCategoryexampleServiceCategory
http://hl7.org/fhir/ValueSet/service-category
from the FHIR Standard
Schedule.serviceTypeexampleServiceType
http://hl7.org/fhir/ValueSet/service-type
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorScheduleIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorScheduleIf 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-4errorScheduleIf 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-5errorScheduleIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceScheduleA 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()

该结构继承自 Schedule

NameFlagsCard.TypeDescription & Constraintsdoco
.. Schedule Schedule
... active 1..1 boolean 该日程计划是否有效标志
... serviceCategory 0..* CodeableConcept 日程表大类
... serviceType 0..* CodeableReference(HealthcareService) 日程表类型
.... actor:Department S 1..1 Reference(HealthcareService) 预约科室
.... actor:Location 0..1 Reference(Patient | Practitioner | PractitionerRole | CareTeam | RelatedPerson | Device | HealthcareService | Location) 预约科室位置
.... actor:Doctor S 0..1 Reference(Practitioner | PractitionerRole) 预约医生
... planningHorizon 0..1 Period 日程表覆盖日期区间

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Schedule 0..* Schedule A container for slots of time that may be available for booking appointments
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
... 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 item
... active ?!Σ 1..1 boolean 该日程计划是否有效标志
... serviceCategory Σ 0..* CodeableConcept 日程表大类
Binding: ServiceCategory (example)
... serviceType Σ 0..* CodeableReference(HealthcareService) 日程表类型
Binding: ServiceType (example)
... specialty Σ 0..* CodeableConcept Type of specialty needed
Binding: PracticeSettingCodeValueSet (preferred): Additional details about where the content was created (e.g. clinical specialty).


... name Σ 0..1 string Human-readable label
... Slices for actor Σ 1..* Reference(Practitioner | PractitionerRole | HealthcareService | Location) Resource(s) that availability information is being provided for
Slice: Unordered, Open by value:$this
.... actor:Department SΣ 1..1 Reference(HealthcareService) 预约科室
.... actor:Location Σ 0..1 Reference(Patient | Practitioner | PractitionerRole | CareTeam | RelatedPerson | Device | HealthcareService | Location) 预约科室位置
.... actor:Doctor SΣ 0..1 Reference(Practitioner | PractitionerRole) 预约医生
... planningHorizon Σ 0..1 Period 日程表覆盖日期区间
... comment 0..1 markdown Comments on availability

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Schedule.languagerequiredAllLanguages
http://hl7.org/fhir/ValueSet/all-languages|5.0.0
from the FHIR Standard
Schedule.serviceCategoryexampleServiceCategory
http://hl7.org/fhir/ValueSet/service-category
from the FHIR Standard
Schedule.serviceTypeexampleServiceType
http://hl7.org/fhir/ValueSet/service-type
from the FHIR Standard
Schedule.specialtypreferredPracticeSettingCodeValueSet
http://hl7.org/fhir/ValueSet/c80-practice-codes
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorScheduleIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorScheduleIf 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-4errorScheduleIf 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-5errorScheduleIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceScheduleA 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()

该结构继承自 Schedule

Summary

Mandatory: 2 elements
Must-Support: 2 elements

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Schedule.actor

关键元素视图

NameFlagsCard.TypeDescription & Constraintsdoco
.. Schedule 0..* Schedule A container for slots of time that may be available for booking appointments
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
... contained 0..* Resource Contained, inline Resources
... 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
... serviceCategory Σ 0..* CodeableConcept 日程表大类
Binding: ServiceCategory (example)
ele-1: All FHIR elements must have a @value or children
... serviceType Σ 0..* CodeableReference(HealthcareService) 日程表类型
Binding: ServiceType (example)
ele-1: All FHIR elements must have a @value or children
... Slices for actor Σ 1..* Reference(Practitioner | PractitionerRole | HealthcareService | Location) Resource(s) that availability information is being provided for
Slice: Unordered, Open by value:$this
ele-1: All FHIR elements must have a @value or children
.... actor:Department SΣ 1..1 Reference(HealthcareService) 预约科室
ele-1: All FHIR elements must have a @value or children
.... actor:Location Σ 0..1 Reference(Patient | Practitioner | PractitionerRole | CareTeam | RelatedPerson | Device | HealthcareService | Location) 预约科室位置
ele-1: All FHIR elements must have a @value or children
.... actor:Doctor SΣ 0..1 Reference(Practitioner | PractitionerRole) 预约医生
ele-1: All FHIR elements must have a @value or children
... planningHorizon Σ 0..1 Period 日程表覆盖日期区间
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Schedule.serviceCategoryexampleServiceCategory
http://hl7.org/fhir/ValueSet/service-category
from the FHIR Standard
Schedule.serviceTypeexampleServiceType
http://hl7.org/fhir/ValueSet/service-type
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorScheduleIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorScheduleIf 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-4errorScheduleIf 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-5errorScheduleIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceScheduleA 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()

差异视图

该结构继承自 Schedule

NameFlagsCard.TypeDescription & Constraintsdoco
.. Schedule Schedule
... active 1..1 boolean 该日程计划是否有效标志
... serviceCategory 0..* CodeableConcept 日程表大类
... serviceType 0..* CodeableReference(HealthcareService) 日程表类型
.... actor:Department S 1..1 Reference(HealthcareService) 预约科室
.... actor:Location 0..1 Reference(Patient | Practitioner | PractitionerRole | CareTeam | RelatedPerson | Device | HealthcareService | Location) 预约科室位置
.... actor:Doctor S 0..1 Reference(Practitioner | PractitionerRole) 预约医生
... planningHorizon 0..1 Period 日程表覆盖日期区间

doco Documentation for this format

快照视图

NameFlagsCard.TypeDescription & Constraintsdoco
.. Schedule 0..* Schedule A container for slots of time that may be available for booking appointments
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
... 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 item
... active ?!Σ 1..1 boolean 该日程计划是否有效标志
... serviceCategory Σ 0..* CodeableConcept 日程表大类
Binding: ServiceCategory (example)
... serviceType Σ 0..* CodeableReference(HealthcareService) 日程表类型
Binding: ServiceType (example)
... specialty Σ 0..* CodeableConcept Type of specialty needed
Binding: PracticeSettingCodeValueSet (preferred): Additional details about where the content was created (e.g. clinical specialty).


... name Σ 0..1 string Human-readable label
... Slices for actor Σ 1..* Reference(Practitioner | PractitionerRole | HealthcareService | Location) Resource(s) that availability information is being provided for
Slice: Unordered, Open by value:$this
.... actor:Department SΣ 1..1 Reference(HealthcareService) 预约科室
.... actor:Location Σ 0..1 Reference(Patient | Practitioner | PractitionerRole | CareTeam | RelatedPerson | Device | HealthcareService | Location) 预约科室位置
.... actor:Doctor SΣ 0..1 Reference(Practitioner | PractitionerRole) 预约医生
... planningHorizon Σ 0..1 Period 日程表覆盖日期区间
... comment 0..1 markdown Comments on availability

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Schedule.languagerequiredAllLanguages
http://hl7.org/fhir/ValueSet/all-languages|5.0.0
from the FHIR Standard
Schedule.serviceCategoryexampleServiceCategory
http://hl7.org/fhir/ValueSet/service-category
from the FHIR Standard
Schedule.serviceTypeexampleServiceType
http://hl7.org/fhir/ValueSet/service-type
from the FHIR Standard
Schedule.specialtypreferredPracticeSettingCodeValueSet
http://hl7.org/fhir/ValueSet/c80-practice-codes
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorScheduleIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorScheduleIf 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-4errorScheduleIf 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-5errorScheduleIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceScheduleA 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()

该结构继承自 Schedule

Summary

Mandatory: 2 elements
Must-Support: 2 elements

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Schedule.actor

 

本 Profile 的其它表示法: CSV, Excel, Schematron