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

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

Resource Profile: 文档元数据本地化定义

Defining URL:http://hl7.org.cn/fhir/StructureDefinition/profile-documentreference-xds
Version:V20230304
Name:XDSDocumentReference
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-documentreference-xds

定义内容的视图

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

这种结构源自 DocumentReference

Summary

Mandatory: 11 elements (1 nested mandatory element)
Must-Support: 12 elements
Prohibited: 1 element

这种结构源自 DocumentReference

NameFlagsCard.TypeDescription & Constraintsdoco
.. DocumentReference 0..*DocumentReferenceA reference to a document
... type 1..1CodeableConcept文档的类型。例如,可以指明当前文档类型为20类健康档案之一
Binding: 健康档案共享文档类型代码表 (required)
... category 1..1CodeableConcept文档的分类。包括:PHR、EHR、EMR
Binding: 共享文档类别代码表 (required)
... subject 1..1Reference(Patient)文档内记录的患者。指向患者资源
... author 1..1Reference(Practitioner)文档的作者。一般指代文档记录业务活动的责任医师
... relatesTo S0..*BackboneElement指向其它文档,记录本文档与其它文档之间的关系。包括:替换、追加、转换、签名
... securityLabel S0..*CodeableConcept记录文档的安全标签
... content 1..1BackboneElementDocument referenced
.... attachment
..... contentType S1..1code文档内容的MimeType
..... data 0..0
..... url S1..1url指向存储文档的Binary资源的地址
..... size S1..1unsignedInt文档的大小。原始数据的大小,而不是进行Base64算法后的值
..... hash S1..1base64Binary文档内容进行摘要算法的Base64编码值。摘要算法为性价比最高的SHA1
..... title 1..1string文档的标题
..... creation S1..1dateTime文档的生成时间
.... format 1..1Coding文档的格式,由此判定文档的处理规则
Binding: 文档处理格式代码表 (required)
... context
.... period S0..1Period文档记录业务活动的起止时间。
..... start 1..1dateTime开始时间。
..... end S0..1dateTime结束时间。如果存在结束时间则必须给出。
.... facilityType S0..1CodeableConcept文档记录业务活动的场所类型。
Binding: 设施类型代码表 (required)
.... practiceSetting S0..1CodeableConcept文档记录业务活动的医学专业。
Binding: 临床医学专业代码表 (required)

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. DocumentReference 0..*DocumentReferenceA reference to a document
... 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 Σ0..1IdentifierMaster Version Specific Identifier
... identifier Σ0..*IdentifierOther identifiers for the document
... status ?!Σ1..1codecurrent | superseded | entered-in-error
Binding: DocumentReferenceStatus (required): The status of the document reference.

... docStatus Σ0..1codepreliminary | final | amended | entered-in-error
Binding: CompositionStatus (required): Status of the underlying document.

... type Σ1..1CodeableConcept文档的类型。例如,可以指明当前文档类型为20类健康档案之一
Binding: 健康档案共享文档类型代码表 (required)
... category Σ1..1CodeableConcept文档的分类。包括:PHR、EHR、EMR
Binding: 共享文档类别代码表 (required)
... subject Σ1..1Reference(Patient)文档内记录的患者。指向患者资源
... date SΣ0..1instant该文档元数据资源的生成时间
... author Σ1..1Reference(Practitioner)文档的作者。一般指代文档记录业务活动的责任医师
... authenticator 0..1Reference(Practitioner | PractitionerRole | Organization)Who/what authenticated the document
... custodian 0..1Reference(Organization)Organization which maintains the document
... relatesTo SΣ0..*BackboneElement指向其它文档,记录本文档与其它文档之间的关系。包括:替换、追加、转换、签名
.... 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
.... code Σ1..1codereplaces | transforms | signs | appends
Binding: DocumentRelationshipType (required): The type of relationship between documents.

.... target Σ1..1Reference(DocumentReference)Target of the relationship
... description Σ0..1stringHuman-readable description
... securityLabel SΣ0..*CodeableConcept记录文档的安全标签
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


... content Σ1..1BackboneElementDocument referenced
.... 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
.... attachment Σ1..1AttachmentWhere to access the document
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... contentType SΣ1..1code文档内容的MimeType
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.


Example General: text/plain; charset=UTF-8, image/png
..... language Σ0..1codeHuman language of the content (BCP-47)
Binding: CommonLanguages (preferred)
Max Binding: AllLanguages: A human language.


Example General: en-AU
..... url SΣ1..1url指向存储文档的Binary资源的地址
Example General: http://www.acme.com/logo-small.png
..... size SΣ1..1unsignedInt文档的大小。原始数据的大小,而不是进行Base64算法后的值
..... hash SΣ1..1base64Binary文档内容进行摘要算法的Base64编码值。摘要算法为性价比最高的SHA1
..... title Σ1..1string文档的标题
Example General: Official Corporate Logo
..... creation SΣ1..1dateTime文档的生成时间
.... format Σ1..1Coding文档的格式,由此判定文档的处理规则
Binding: 文档处理格式代码表 (required)
... context Σ0..1BackboneElementClinical context of document
.... 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
.... encounter 0..*Reference(Encounter | EpisodeOfCare)Context of the document content
.... event 0..*CodeableConceptMain clinical acts documented
Binding: v3 Code System ActCode (example): This list of codes represents the main clinical acts being documented.


.... period SΣ0..1Period文档记录业务活动的起止时间。
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... start ΣI1..1dateTime开始时间。
..... end SΣI0..1dateTime结束时间。如果存在结束时间则必须给出。
.... facilityType S0..1CodeableConcept文档记录业务活动的场所类型。
Binding: 设施类型代码表 (required)
.... practiceSetting S0..1CodeableConcept文档记录业务活动的医学专业。
Binding: 临床医学专业代码表 (required)
.... sourcePatientInfo 0..1Reference(Patient)Patient demographics from source
.... related 0..*Reference(Resource)Related identifiers or resources

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. DocumentReference 0..*DocumentReferenceA reference to a document
... date Σ0..1instant该文档元数据资源的生成时间
... relatesTo Σ0..*BackboneElement指向其它文档,记录本文档与其它文档之间的关系。包括:替换、追加、转换、签名
... securityLabel Σ0..*CodeableConcept记录文档的安全标签
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


.... attachment Σ1..1AttachmentWhere to access the document
..... contentType Σ1..1code文档内容的MimeType
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.

..... url Σ1..1url指向存储文档的Binary资源的地址
..... size Σ1..1unsignedInt文档的大小。原始数据的大小,而不是进行Base64算法后的值
..... hash Σ1..1base64Binary文档内容进行摘要算法的Base64编码值。摘要算法为性价比最高的SHA1
..... creation Σ1..1dateTime文档的生成时间
... context Σ0..1BackboneElementClinical context of document
.... period Σ0..1Period文档记录业务活动的起止时间。
..... end ΣI0..1dateTime结束时间。如果存在结束时间则必须给出。
.... facilityType 0..1CodeableConcept文档记录业务活动的场所类型。
Binding: 设施类型代码表 (required)
.... practiceSetting 0..1CodeableConcept文档记录业务活动的医学专业。
Binding: 临床医学专业代码表 (required)

doco Documentation for this format

这种结构源自 DocumentReference

Summary

Mandatory: 11 elements (1 nested mandatory element)
Must-Support: 12 elements
Prohibited: 1 element

差异视图

这种结构源自 DocumentReference

NameFlagsCard.TypeDescription & Constraintsdoco
.. DocumentReference 0..*DocumentReferenceA reference to a document
... type 1..1CodeableConcept文档的类型。例如,可以指明当前文档类型为20类健康档案之一
Binding: 健康档案共享文档类型代码表 (required)
... category 1..1CodeableConcept文档的分类。包括:PHR、EHR、EMR
Binding: 共享文档类别代码表 (required)
... subject 1..1Reference(Patient)文档内记录的患者。指向患者资源
... author 1..1Reference(Practitioner)文档的作者。一般指代文档记录业务活动的责任医师
... relatesTo S0..*BackboneElement指向其它文档,记录本文档与其它文档之间的关系。包括:替换、追加、转换、签名
... securityLabel S0..*CodeableConcept记录文档的安全标签
... content 1..1BackboneElementDocument referenced
.... attachment
..... contentType S1..1code文档内容的MimeType
..... data 0..0
..... url S1..1url指向存储文档的Binary资源的地址
..... size S1..1unsignedInt文档的大小。原始数据的大小,而不是进行Base64算法后的值
..... hash S1..1base64Binary文档内容进行摘要算法的Base64编码值。摘要算法为性价比最高的SHA1
..... title 1..1string文档的标题
..... creation S1..1dateTime文档的生成时间
.... format 1..1Coding文档的格式,由此判定文档的处理规则
Binding: 文档处理格式代码表 (required)
... context
.... period S0..1Period文档记录业务活动的起止时间。
..... start 1..1dateTime开始时间。
..... end S0..1dateTime结束时间。如果存在结束时间则必须给出。
.... facilityType S0..1CodeableConcept文档记录业务活动的场所类型。
Binding: 设施类型代码表 (required)
.... practiceSetting S0..1CodeableConcept文档记录业务活动的医学专业。
Binding: 临床医学专业代码表 (required)

doco Documentation for this format

快照视图

NameFlagsCard.TypeDescription & Constraintsdoco
.. DocumentReference 0..*DocumentReferenceA reference to a document
... 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 Σ0..1IdentifierMaster Version Specific Identifier
... identifier Σ0..*IdentifierOther identifiers for the document
... status ?!Σ1..1codecurrent | superseded | entered-in-error
Binding: DocumentReferenceStatus (required): The status of the document reference.

... docStatus Σ0..1codepreliminary | final | amended | entered-in-error
Binding: CompositionStatus (required): Status of the underlying document.

... type Σ1..1CodeableConcept文档的类型。例如,可以指明当前文档类型为20类健康档案之一
Binding: 健康档案共享文档类型代码表 (required)
... category Σ1..1CodeableConcept文档的分类。包括:PHR、EHR、EMR
Binding: 共享文档类别代码表 (required)
... subject Σ1..1Reference(Patient)文档内记录的患者。指向患者资源
... date SΣ0..1instant该文档元数据资源的生成时间
... author Σ1..1Reference(Practitioner)文档的作者。一般指代文档记录业务活动的责任医师
... authenticator 0..1Reference(Practitioner | PractitionerRole | Organization)Who/what authenticated the document
... custodian 0..1Reference(Organization)Organization which maintains the document
... relatesTo SΣ0..*BackboneElement指向其它文档,记录本文档与其它文档之间的关系。包括:替换、追加、转换、签名
.... 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
.... code Σ1..1codereplaces | transforms | signs | appends
Binding: DocumentRelationshipType (required): The type of relationship between documents.

.... target Σ1..1Reference(DocumentReference)Target of the relationship
... description Σ0..1stringHuman-readable description
... securityLabel SΣ0..*CodeableConcept记录文档的安全标签
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


... content Σ1..1BackboneElementDocument referenced
.... 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
.... attachment Σ1..1AttachmentWhere to access the document
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... contentType SΣ1..1code文档内容的MimeType
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.


Example General: text/plain; charset=UTF-8, image/png
..... language Σ0..1codeHuman language of the content (BCP-47)
Binding: CommonLanguages (preferred)
Max Binding: AllLanguages: A human language.


Example General: en-AU
..... url SΣ1..1url指向存储文档的Binary资源的地址
Example General: http://www.acme.com/logo-small.png
..... size SΣ1..1unsignedInt文档的大小。原始数据的大小,而不是进行Base64算法后的值
..... hash SΣ1..1base64Binary文档内容进行摘要算法的Base64编码值。摘要算法为性价比最高的SHA1
..... title Σ1..1string文档的标题
Example General: Official Corporate Logo
..... creation SΣ1..1dateTime文档的生成时间
.... format Σ1..1Coding文档的格式,由此判定文档的处理规则
Binding: 文档处理格式代码表 (required)
... context Σ0..1BackboneElementClinical context of document
.... 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
.... encounter 0..*Reference(Encounter | EpisodeOfCare)Context of the document content
.... event 0..*CodeableConceptMain clinical acts documented
Binding: v3 Code System ActCode (example): This list of codes represents the main clinical acts being documented.


.... period SΣ0..1Period文档记录业务活动的起止时间。
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... start ΣI1..1dateTime开始时间。
..... end SΣI0..1dateTime结束时间。如果存在结束时间则必须给出。
.... facilityType S0..1CodeableConcept文档记录业务活动的场所类型。
Binding: 设施类型代码表 (required)
.... practiceSetting S0..1CodeableConcept文档记录业务活动的医学专业。
Binding: 临床医学专业代码表 (required)
.... sourcePatientInfo 0..1Reference(Patient)Patient demographics from source
.... related 0..*Reference(Resource)Related identifiers or resources

doco Documentation for this format

 

本定义的其它表示法: Schematron

Terminology Bindings

PathConformanceValueSet
DocumentReference.languagepreferredCommonLanguages
Max Binding: AllLanguages
DocumentReference.statusrequiredDocumentReferenceStatus
DocumentReference.docStatusrequiredCompositionStatus
DocumentReference.typerequiredEHRDocumentType
DocumentReference.categoryrequiredDocumentCategory
DocumentReference.relatesTo.coderequiredDocumentRelationshipType
DocumentReference.securityLabelextensibleAll Security Labels
DocumentReference.content.attachment.contentTyperequiredMime Types
DocumentReference.content.attachment.languagepreferredCommonLanguages
Max Binding: AllLanguages
DocumentReference.content.formatrequiredVSDocumentFormatCode
DocumentReference.context.eventexampleActCode
DocumentReference.context.facilityTyperequiredVSFacilityTypeCode
DocumentReference.context.practiceSettingrequiredVSPracticeSettingCode

Constraints

IdPathDetailsRequirements
dom-2DocumentReferenceIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3DocumentReferenceIf 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-4DocumentReferenceIf 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-5DocumentReferenceIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6DocumentReferenceA resource should have narrative for robust management
: text.`div`.exists()
ele-1DocumentReference.metaAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.implicitRulesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1DocumentReference.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1DocumentReference.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1DocumentReference.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1DocumentReference.masterIdentifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.statusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.docStatusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.categoryAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.subjectAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.dateAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.authorAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.authenticatorAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.custodianAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.relatesToAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.relatesTo.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1DocumentReference.relatesTo.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1DocumentReference.relatesTo.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1DocumentReference.relatesTo.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1DocumentReference.relatesTo.codeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.relatesTo.targetAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.descriptionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.securityLabelAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.contentAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.content.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1DocumentReference.content.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1DocumentReference.content.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1DocumentReference.content.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1DocumentReference.content.attachmentAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.content.attachment.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1DocumentReference.content.attachment.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1DocumentReference.content.attachment.contentTypeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.content.attachment.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.content.attachment.urlAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.content.attachment.sizeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.content.attachment.hashAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.content.attachment.titleAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.content.attachment.creationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.content.formatAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.contextAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.context.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1DocumentReference.context.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1DocumentReference.context.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1DocumentReference.context.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1DocumentReference.context.encounterAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.context.eventAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.context.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.context.period.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1DocumentReference.context.period.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1DocumentReference.context.period.startAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.context.period.endAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.context.facilityTypeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.context.practiceSettingAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.context.sourcePatientInfoAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1DocumentReference.context.relatedAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())