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

本指南适用于HL7中国的FHIR Connectathon测试。

Resource Profile: 提交集元数据本地化定义

Defining URL:http://hl7.org.cn/fhir/StructureDefinition/profile-documentmanifest-xds
Version:V20230304
Name:XDSDocumentManifest
Title:提交集元数据本地化定义
Status:Active as of 2023-03-04T16:13:14+08:00
Definition:

提交集元数据本地化定义。

Publisher:HL7中国
Source Resource:XML / JSON / Turtle

本定义的正式URL为:

http://hl7.org.cn/fhir/StructureDefinition/profile-documentmanifest-xds

定义内容的视图

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

这种结构源自 DocumentManifest

Summary

Mandatory: 5 elements
Must-Support: 2 elements

Structures

This structure refers to these other structures:

这种结构源自 DocumentManifest

NameFlagsCard.TypeDescription & Constraintsdoco
.. DocumentManifest 0..*DocumentManifestA list that defines a set of documents
... masterIdentifier S1..1Identifier提交集的唯一标识。在XDS规范一般为OID类型
... status 1..1code提交集的状态,默认取值为current。
... type 0..1CodeableConcept提交集的类型。
Binding: 共享文档类别代码表 (required)
... created 1..1dateTime提交集的生成时间
... author 1..*Reference(Practitioner | Organization)提交集的作者。视提交集中的文档、提交集的创建环境的不同而选择不同的引用资源。
... source 1..1uri标识来源系统。该提交集是由哪一个应用系统提交的。
... content S1..*Reference(文档元数据本地化定义)提交集中包含的DocumentReference。在Bundle资源中通过entry.fullUrl中的UUID标识进行引用

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. DocumentManifest 0..*DocumentManifestA list that defines a set of documents
... 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
... masterIdentifier SΣ1..1Identifier提交集的唯一标识。在XDS规范一般为OID类型
... identifier Σ0..*IdentifierOther identifiers for the manifest
... status ?!Σ1..1code提交集的状态,默认取值为current。
Binding: DocumentReferenceStatus (required): The status of the document reference.

... type Σ0..1CodeableConcept提交集的类型。
Binding: 共享文档类别代码表 (required)
... subject Σ1..1Reference(Patient)提交集记录的患者。指向患者资源
... created 1..1dateTime提交集的生成时间
... author Σ1..*Reference(Practitioner | Organization)提交集的作者。视提交集中的文档、提交集的创建环境的不同而选择不同的引用资源。
... recipient 0..*Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)Intended to get notified about this set of documents
... source 1..1uri标识来源系统。该提交集是由哪一个应用系统提交的。
... description Σ0..1stringHuman-readable description (title)
... content SΣ1..*Reference(文档元数据本地化定义)提交集中包含的DocumentReference。在Bundle资源中通过entry.fullUrl中的UUID标识进行引用
... related 0..*BackboneElementRelated things
.... 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
.... identifier 0..1IdentifierIdentifiers of things that are related
.... ref 0..1Reference(Resource)Related Resource

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. DocumentManifest 0..*DocumentManifestA list that defines a set of documents
... masterIdentifier Σ1..1Identifier提交集的唯一标识。在XDS规范一般为OID类型
... content Σ1..*Reference(文档元数据本地化定义)提交集中包含的DocumentReference。在Bundle资源中通过entry.fullUrl中的UUID标识进行引用

doco Documentation for this format

这种结构源自 DocumentManifest

Summary

Mandatory: 5 elements
Must-Support: 2 elements

Structures

This structure refers to these other structures:

差异视图

这种结构源自 DocumentManifest

NameFlagsCard.TypeDescription & Constraintsdoco
.. DocumentManifest 0..*DocumentManifestA list that defines a set of documents
... masterIdentifier S1..1Identifier提交集的唯一标识。在XDS规范一般为OID类型
... status 1..1code提交集的状态,默认取值为current。
... type 0..1CodeableConcept提交集的类型。
Binding: 共享文档类别代码表 (required)
... created 1..1dateTime提交集的生成时间
... author 1..*Reference(Practitioner | Organization)提交集的作者。视提交集中的文档、提交集的创建环境的不同而选择不同的引用资源。
... source 1..1uri标识来源系统。该提交集是由哪一个应用系统提交的。
... content S1..*Reference(文档元数据本地化定义)提交集中包含的DocumentReference。在Bundle资源中通过entry.fullUrl中的UUID标识进行引用

doco Documentation for this format

快照视图

NameFlagsCard.TypeDescription & Constraintsdoco
.. DocumentManifest 0..*DocumentManifestA list that defines a set of documents
... 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
... masterIdentifier SΣ1..1Identifier提交集的唯一标识。在XDS规范一般为OID类型
... identifier Σ0..*IdentifierOther identifiers for the manifest
... status ?!Σ1..1code提交集的状态,默认取值为current。
Binding: DocumentReferenceStatus (required): The status of the document reference.

... type Σ0..1CodeableConcept提交集的类型。
Binding: 共享文档类别代码表 (required)
... subject Σ1..1Reference(Patient)提交集记录的患者。指向患者资源
... created 1..1dateTime提交集的生成时间
... author Σ1..*Reference(Practitioner | Organization)提交集的作者。视提交集中的文档、提交集的创建环境的不同而选择不同的引用资源。
... recipient 0..*Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)Intended to get notified about this set of documents
... source 1..1uri标识来源系统。该提交集是由哪一个应用系统提交的。
... description Σ0..1stringHuman-readable description (title)
... content SΣ1..*Reference(文档元数据本地化定义)提交集中包含的DocumentReference。在Bundle资源中通过entry.fullUrl中的UUID标识进行引用
... related 0..*BackboneElementRelated things
.... 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
.... identifier 0..1IdentifierIdentifiers of things that are related
.... ref 0..1Reference(Resource)Related Resource

doco Documentation for this format

 

本定义的其它表示法: Schematron

Terminology Bindings

PathConformanceValueSet
DocumentManifest.languagepreferredCommonLanguages
Max Binding: AllLanguages
DocumentManifest.statusrequiredDocumentReferenceStatus
DocumentManifest.typerequiredDocumentCategory

Constraints

IdPathDetailsRequirements
dom-2DocumentManifestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3DocumentManifestIf 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-4DocumentManifestIf 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-5DocumentManifestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6DocumentManifestA resource should have narrative for robust management
: text.`div`.exists()
ele-1DocumentManifest.metaAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentManifest.implicitRulesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentManifest.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentManifest.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentManifest.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1DocumentManifest.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1DocumentManifest.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1DocumentManifest.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1DocumentManifest.masterIdentifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentManifest.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentManifest.statusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentManifest.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentManifest.subjectAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentManifest.createdAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentManifest.authorAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentManifest.recipientAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentManifest.sourceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentManifest.descriptionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentManifest.contentAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentManifest.relatedAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentManifest.related.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1DocumentManifest.related.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1DocumentManifest.related.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1DocumentManifest.related.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1DocumentManifest.related.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentManifest.related.refAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())