HL7中国FHIR Connectathon测试实施指南
V20230304 - release
本指南适用于HL7中国的FHIR Connectathon测试。
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
这种结构源自 OperationOutcome
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
OperationOutcome | 0..* | OperationOutcome | Information about the success/failure of an action | |
issue | ||||
severity | 1..1 | code | 错误的严重等级 | |
code | 1..1 | code | 错误的类型 | |
details | 1..1 | CodeableConcept | 附加的错误信息提示 Binding: 文档存储库错误消息代码表 (required) | |
diagnostics | 0..1 | string | 附加的错误信息详情,详细的文字描述。 | |
location | 0..0 | |||
expression | 0..* | string | 错误的位置,FHIRPath表示法。 | |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
OperationOutcome | 0..* | OperationOutcome | Information about the success/failure of an action | |
id | Σ | 0..1 | string | 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 |
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages: A human language. | |
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 |
issue | Σ | 1..* | BackboneElement | A single issue associated with the action |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
severity | Σ | 1..1 | code | 错误的严重等级 Binding: IssueSeverity (required): How the issue affects the success of the action. |
code | Σ | 1..1 | code | 错误的类型 Binding: IssueType (required): A code that describes the type of issue. |
details | Σ | 1..1 | CodeableConcept | 附加的错误信息提示 Binding: 文档存储库错误消息代码表 (required) |
diagnostics | Σ | 0..1 | string | 附加的错误信息详情,详细的文字描述。 |
expression | Σ | 0..* | string | 错误的位置,FHIRPath表示法。 |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
OperationOutcome | 0..* | OperationOutcome | Information about the success/failure of an action | |
Documentation for this format |
这种结构源自 OperationOutcome
差异视图
这种结构源自 OperationOutcome
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
OperationOutcome | 0..* | OperationOutcome | Information about the success/failure of an action | |
issue | ||||
severity | 1..1 | code | 错误的严重等级 | |
code | 1..1 | code | 错误的类型 | |
details | 1..1 | CodeableConcept | 附加的错误信息提示 Binding: 文档存储库错误消息代码表 (required) | |
diagnostics | 0..1 | string | 附加的错误信息详情,详细的文字描述。 | |
location | 0..0 | |||
expression | 0..* | string | 错误的位置,FHIRPath表示法。 | |
Documentation for this format |
快照视图
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
OperationOutcome | 0..* | OperationOutcome | Information about the success/failure of an action | |
id | Σ | 0..1 | string | 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 |
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages: A human language. | |
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 |
issue | Σ | 1..* | BackboneElement | A single issue associated with the action |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
severity | Σ | 1..1 | code | 错误的严重等级 Binding: IssueSeverity (required): How the issue affects the success of the action. |
code | Σ | 1..1 | code | 错误的类型 Binding: IssueType (required): A code that describes the type of issue. |
details | Σ | 1..1 | CodeableConcept | 附加的错误信息提示 Binding: 文档存储库错误消息代码表 (required) |
diagnostics | Σ | 0..1 | string | 附加的错误信息详情,详细的文字描述。 |
expression | Σ | 0..* | string | 错误的位置,FHIRPath表示法。 |
Documentation for this format |
本定义的其它表示法: Schematron
Path | Conformance | ValueSet |
OperationOutcome.language | preferred | CommonLanguages Max Binding: AllLanguages |
OperationOutcome.issue.severity | required | IssueSeverity |
OperationOutcome.issue.code | required | IssueType |
OperationOutcome.issue.details | required | VSXDSRepOperationOutcomeCode |
Id | Path | Details | Requirements |
dom-2 | OperationOutcome | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | OperationOutcome | 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 : 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-4 | OperationOutcome | If 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-5 | OperationOutcome | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | OperationOutcome | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | OperationOutcome.meta | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | OperationOutcome.implicitRules | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | OperationOutcome.language | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | OperationOutcome.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | OperationOutcome.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | OperationOutcome.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | OperationOutcome.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | OperationOutcome.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | OperationOutcome.issue | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | OperationOutcome.issue.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | OperationOutcome.issue.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | OperationOutcome.issue.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | OperationOutcome.issue.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | OperationOutcome.issue.severity | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | OperationOutcome.issue.code | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | OperationOutcome.issue.details | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | OperationOutcome.issue.diagnostics | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | OperationOutcome.issue.expression | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |