-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FHIRNotificationService should emit event for patch update #2692
Comments
Thank you for opening this @fsa1803 The default behavior is to do nothing with this notification.
If this helps your use case, we'll implement these in the corresponding classes as outlined below. FYI - this is a one pointer and needs minor updates. after the development team agrees to the appropriate behavior |
Fine, this help my use case. Thanks |
OK, thanks, just testing the change now and will review with Lee |
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
FHIRNotificationService should emit event for patch update #2692
Tested this fully with the FHIRPath Patch path and seems to be issuing the correct notifications. |
Describe the bug
When patch a Patient resource no websocket event is triggered.
Environment
IBM FHIR Server : 4.9
Windows: 10
JVM: JRE 1.8.0_251
To Reproduce
Steps to reproduce the behavior:
{"lastUpdated":"2021-08-17T11:01:15.307Z","location":"Patient/MPI0000000017/_history/1","operationType":"create","resourceId":"MPI0000000017","datasourceId":"default","tenantId":"default"}
curl -s -H "Content-Type: application/json-patch+json;charset=UTF-8" -XPATCH https://localhost:9443/fhir-server/api/v4/Patient/MPI0000000017 -u fhiruser:fhiruser --insecure -d '
[{ "op": "replace", "path": "/gender", "value": "male" }]
'
Expected behavior
A notification for Patient update
The text was updated successfully, but these errors were encountered: