FHIRcast, published by HL7 International / Infrastructure And Messaging. This guide is not an authorized publication; it is the continuous build for version 3.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhircast-docs/ and changes regularly. See the Directory of published versions
eventMaturity | 2 - Tested |
A synchronization error has been detected and this is indicated to Subscribers.
Unlike most of FHIRcast events, SyncError
is an infrastructural event and does not follow the FHIR-resource
-[open|close]
syntax and is directly referenced in the underlying specification.
A SyncError
is sent by a Subscriber when:
Event Notification Response
).In these events the field issue.severity
is SHALL be set to warning
as is specified in Operation outcome for Subscriber generated sync-errors. SyncError
is not used when a Subscriber responds to an *-update
or *-select
event.
A SyncError
is broadcast by the Hub when one of the following conditions occur:
Event Notification Response
).Event Notification Response
).Hub Generated SyncError Events
).In these events the field issue.severity
SHALL beset to warning
as is specified in Operation outcome for Hub generated sync-errors.
The context
array SHALL contain a single FHIR OperationOutcome based on the profile Operation outcome for sync-errors.
{
"timestamp": "2018-01-08T01:37:05.14",
"id": "q9v3jubddqt63n1",
"event": {
"hub.topic": "7544fe65-ea26-44b5-835d-14287e46390b",
"hub.event": "syncerror",
"context": [
{
"key": "operationoutcome",
"resource": {
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "warning",
"code": "processing",
"diagnostics": "Acme Product failed to follow context",
"details": {
"coding": [
{
"system": "https://fhircast.hl7.org/events/syncerror/eventid",
"code": "fdb2f928-5546-4f52-87a0-0648e9ded065"
},
{
"system": "https://fhircast.hl7.org/events/syncerror/eventname",
"code": "Patient-open"
},
{
"system": "https://fhircast.hl7.org/events/syncerror/subscriber",
"code": "Acme Product"
},
{
"system": "http://example.com/events/syncerror/your-error-code-system",
"code": "FHIRcast sync error"
}
]
}
}
]
}
}
]
}
}
Version | Description |
---|---|
1.0 | Initial Release |
2.0 | Require id of event syncerror is about, in OperationOutcome.details.coding.code |
2.1 | Clarify scenarios, make the OperationOutcome resource required, and specify explicit severity codes |