HL7中国发布订阅框架实施指南
2025.03.10 - release
HL7中国发布订阅框架实施指南 - Local Development build (v2025.03.10) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
官方URL: http://hl7.org.cn/fhir-ig/pubsub/StructureDefinition/profile-operationoutcome-subscribe | 版本: 2025.03.10 | |||
Draft as of 2025-03-10 | 机读名称: SubscribeOperationOutcome |
由HL7中国设计的适用于中国健康信息化的订阅错误消息本地化定义。
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | OperationOutcome | Information about the success/failure of an action 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 | |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() ![]() |
?!Σ | 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 |
![]() ![]() ![]() |
Σ | 1..* | BackboneElement | A single issue associated with the action ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | 错误的严重等级 Binding: IssueSeverity (required): How the issue affects the success of the action. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | 错误的类型 Binding: IssueType (required): A code that describes the type of issue. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | 附加的错误信息提示 Binding: 订阅错误消息值集表 (required) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | 附加的错误信息详情,详细的文字描述。 ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
Σ | 0..* | string | 错误的位置,FHIRPath表示法。 ele-1: All FHIR elements must have a @value or children |
![]() |
Path | Conformance | ValueSet | URI |
OperationOutcome.issue.severity | required | IssueSeverityhttp://hl7.org/fhir/ValueSet/issue-severity|5.0.0 from the FHIR Standard | |
OperationOutcome.issue.code | required | IssueTypehttp://hl7.org/fhir/ValueSet/issue-type|5.0.0 from the FHIR Standard | |
OperationOutcome.issue.details | required | SubscribeOperationOutcomeCodes (a valid code from 订阅错误消息代码表)http://hl7.org.cn/fhir-ig/pubsub/ValueSet/operationoutcome-codes-subscribe from this IG |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | OperationOutcome | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | 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().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-4 | error | 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 | error | OperationOutcome | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | OperationOutcome | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
该结构继承自 OperationOutcome 。
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | OperationOutcome | Information about the success/failure of an action | |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
1..1 | code | 错误的严重等级 | |
![]() ![]() ![]() ![]() |
1..1 | code | 错误的类型 | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | 附加的错误信息提示 Binding: 订阅错误消息值集表 (required) | |
![]() ![]() ![]() ![]() |
0..1 | string | 附加的错误信息详情,详细的文字描述。 | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..* | string | 错误的位置,FHIRPath表示法。 | |
![]() |
Path | Conformance | ValueSet | URI |
OperationOutcome.issue.details | required | SubscribeOperationOutcomeCodes (a valid code from 订阅错误消息代码表)http://hl7.org.cn/fhir-ig/pubsub/ValueSet/operationoutcome-codes-subscribe from this IG |
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
0..* | OperationOutcome | Information about the success/failure of an action | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
Σ | 1..* | BackboneElement | A single issue associated with the action | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | 错误的严重等级 Binding: IssueSeverity (required): How the issue affects the success of the action. | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | 错误的类型 Binding: IssueType (required): A code that describes the type of issue. | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | 附加的错误信息提示 Binding: 订阅错误消息值集表 (required) | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | 附加的错误信息详情,详细的文字描述。 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | string | 错误的位置,FHIRPath表示法。 | ||||
![]() |
Path | Conformance | ValueSet | URI |
OperationOutcome.language | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages|5.0.0 from the FHIR Standard | |
OperationOutcome.issue.severity | required | IssueSeverityhttp://hl7.org/fhir/ValueSet/issue-severity|5.0.0 from the FHIR Standard | |
OperationOutcome.issue.code | required | IssueTypehttp://hl7.org/fhir/ValueSet/issue-type|5.0.0 from the FHIR Standard | |
OperationOutcome.issue.details | required | SubscribeOperationOutcomeCodes (a valid code from 订阅错误消息代码表)http://hl7.org.cn/fhir-ig/pubsub/ValueSet/operationoutcome-codes-subscribe from this IG |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | OperationOutcome | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | 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().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-4 | error | 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 | error | OperationOutcome | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | OperationOutcome | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
该结构继承自 OperationOutcome 。
关键元素视图
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | OperationOutcome | Information about the success/failure of an action 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 | |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() ![]() |
?!Σ | 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 |
![]() ![]() ![]() |
Σ | 1..* | BackboneElement | A single issue associated with the action ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | 错误的严重等级 Binding: IssueSeverity (required): How the issue affects the success of the action. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | 错误的类型 Binding: IssueType (required): A code that describes the type of issue. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | 附加的错误信息提示 Binding: 订阅错误消息值集表 (required) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | 附加的错误信息详情,详细的文字描述。 ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
Σ | 0..* | string | 错误的位置,FHIRPath表示法。 ele-1: All FHIR elements must have a @value or children |
![]() |
Path | Conformance | ValueSet | URI |
OperationOutcome.issue.severity | required | IssueSeverityhttp://hl7.org/fhir/ValueSet/issue-severity|5.0.0 from the FHIR Standard | |
OperationOutcome.issue.code | required | IssueTypehttp://hl7.org/fhir/ValueSet/issue-type|5.0.0 from the FHIR Standard | |
OperationOutcome.issue.details | required | SubscribeOperationOutcomeCodes (a valid code from 订阅错误消息代码表)http://hl7.org.cn/fhir-ig/pubsub/ValueSet/operationoutcome-codes-subscribe from this IG |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | OperationOutcome | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | 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().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-4 | error | 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 | error | OperationOutcome | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | OperationOutcome | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
差异视图
该结构继承自 OperationOutcome 。
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | OperationOutcome | Information about the success/failure of an action | |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
1..1 | code | 错误的严重等级 | |
![]() ![]() ![]() ![]() |
1..1 | code | 错误的类型 | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | 附加的错误信息提示 Binding: 订阅错误消息值集表 (required) | |
![]() ![]() ![]() ![]() |
0..1 | string | 附加的错误信息详情,详细的文字描述。 | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..* | string | 错误的位置,FHIRPath表示法。 | |
![]() |
Path | Conformance | ValueSet | URI |
OperationOutcome.issue.details | required | SubscribeOperationOutcomeCodes (a valid code from 订阅错误消息代码表)http://hl7.org.cn/fhir-ig/pubsub/ValueSet/operationoutcome-codes-subscribe from this IG |
快照视图
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
0..* | OperationOutcome | Information about the success/failure of an action | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
Σ | 1..* | BackboneElement | A single issue associated with the action | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | 错误的严重等级 Binding: IssueSeverity (required): How the issue affects the success of the action. | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | 错误的类型 Binding: IssueType (required): A code that describes the type of issue. | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | 附加的错误信息提示 Binding: 订阅错误消息值集表 (required) | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | 附加的错误信息详情,详细的文字描述。 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | string | 错误的位置,FHIRPath表示法。 | ||||
![]() |
Path | Conformance | ValueSet | URI |
OperationOutcome.language | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages|5.0.0 from the FHIR Standard | |
OperationOutcome.issue.severity | required | IssueSeverityhttp://hl7.org/fhir/ValueSet/issue-severity|5.0.0 from the FHIR Standard | |
OperationOutcome.issue.code | required | IssueTypehttp://hl7.org/fhir/ValueSet/issue-type|5.0.0 from the FHIR Standard | |
OperationOutcome.issue.details | required | SubscribeOperationOutcomeCodes (a valid code from 订阅错误消息代码表)http://hl7.org.cn/fhir-ig/pubsub/ValueSet/operationoutcome-codes-subscribe from this IG |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | OperationOutcome | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | 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().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-4 | error | 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 | error | OperationOutcome | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | OperationOutcome | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
该结构继承自 OperationOutcome 。
本 Profile 的其它表示法: CSV, Excel, Schematron