Stream: fhircast-github
Topic: docs / Issue #56 change hub.event to hub.eventName
Github Notifications (FHIRcast) (Jan 10 2019 at 13:57):
mbellehumeur commented on Issue #56
Hi,
After reviewing my proposal, I think the issue is only with the notification content in JSON. We don;t really need to change the websub subscription process because it uses query string. So we can be fully compliant with websub. However, we should make small changes the to the notification so that it does not include dots or reserved workds in keys. For example, in the following:
{
"timestamp": "2018-01-08T01:37:05.14",
"id": "q9v3jubddqt63n1",
"event": {
"hub.topic": "https://hub.example.com/7jaa86kgdudewiaq0wtu",
"hub.event": "open-patient-chart",
"context": [
{
"key": "patient",
"resource": {
"resourceType": "Patient",
"id": "ewUbXT9RWEbSj5wPEdgRaBw3",
"identifier": [
{
"system": "urn:oid:1.2.840.114350",
"value": "185444"
},
{
"system": "urn:oid:1.2.840.114350.1.13.861.1.7.5.737384.27000",
"value": "2667"
}
]
}
}
]
}I propose to change:
"event" => "eventContent"
"hub.topic" => "topic"
"hub.event" => "eventName"
Last updated: Apr 12 2022 at 19:14 UTC