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

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

Resource Profile: 文档存储错误消息本地化定义

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

定义内容的视图

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

这种结构源自 OperationOutcome

Summary

Mandatory: 1 element
Prohibited: 1 element

 

本定义的其它表示法: Schematron

Terminology Bindings

PathConformanceValueSet
OperationOutcome.languagepreferredCommonLanguages
Max Binding: AllLanguages
OperationOutcome.issue.severityrequiredIssueSeverity
OperationOutcome.issue.coderequiredIssueType
OperationOutcome.issue.detailsrequiredVSXDSRepOperationOutcomeCode

Constraints

IdPathDetailsRequirements
dom-2OperationOutcomeIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3OperationOutcomeIf 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-4OperationOutcomeIf 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-5OperationOutcomeIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6OperationOutcomeA resource should have narrative for robust management
: text.`div`.exists()
ele-1OperationOutcome.metaAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1OperationOutcome.implicitRulesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1OperationOutcome.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1OperationOutcome.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1OperationOutcome.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1OperationOutcome.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1OperationOutcome.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1OperationOutcome.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1OperationOutcome.issueAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1OperationOutcome.issue.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1OperationOutcome.issue.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1OperationOutcome.issue.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1OperationOutcome.issue.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1OperationOutcome.issue.severityAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1OperationOutcome.issue.codeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1OperationOutcome.issue.detailsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1OperationOutcome.issue.diagnosticsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1OperationOutcome.issue.expressionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())