Context | Optionality | Description |
---|---|---|
Key: parameters | Required | FHIR Parameters.appLanguage is updated to indicate the selected display language. The other unchanged parameters shall not be included in the Parameters resource. The hub shall maintain the state of the context and retain the values for the other parameters if previously populated. |
This specification only supports JSON format
Field | Optionality | Type | Description |
---|---|---|---|
timestamp | Required | string | ISO 8601-2 timestamp in UTC describing the time at which the event occurred with subsecond accuracy |
id | Required | string | Event identifier used to recognize retried notifications. This id SHALL be unique for the Hub, for example a GUID |
event | Required | object | A JSON object describing the event. See below |
Field | Optionality | Type | Description |
---|---|---|---|
hub.topic | Required | string | The uri of user's session that the subscriber wishes to subscribe to or unsubscribe from |
hub.event | Required | string | Comma separated list of event types from the Event Catalog for which the Subscriber wants notification |
context | Required | string | An array of named FHIR objects corresponding to the user's context after the given event has occurred. The hub MUST only return FHIR resources that can be accessed with the existing OAuth2 access_token. |
{
"timestamp": "2019-01-08T01:37:05.14Z",
"id": "q9v3jubddqt63n3",
"event": {
"hub.topic": "7jaa86kgdudewiaq0wta",
"hub.event": "OH.languageChange",
"context": [
{
"key": "parameters",
"resource": {
"resourceType": "Parameters",
"id": "0e303edb-cdb8-4e76-ab8d-87ad0fb85f07",
"meta": {
"profile":
[
"http://ehealthontario.ca/fhir/StructureDefinition/ca-on-cms-profile-Parameters|1.0.0"
]
},
"parameter": [
{
"name": "appLanguage",
"valueCoding": {
"system": "urn:ietf:bcp:47",
"code": "fr"
}
}
]
}
}
]
}
}
Powered by SIMPLIFIER.NET