You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am encountering an issue with the PATCH operation in the FHIR server. While the PATCH operation works fine for adding operations, I consistently receive a "Bad Request" error (HTTP 400) when attempting to perform a replace operation using PATCH. I am providing a sample JSON payload below to illustrate the problem:
Expected behavior
The PATCH operation with a "replace" type should execute successfully, updating the specified resource in accordance with the provided JSON payload.
Spark version
Version:1.5.17.0
Operating system + Database
OS: Linux Ubantu focal
Database: [MongoDB]
The text was updated successfully, but these errors were encountered:
Describe the bug
I am encountering an issue with the PATCH operation in the FHIR server. While the PATCH operation works fine for adding operations, I consistently receive a "Bad Request" error (HTTP 400) when attempting to perform a replace operation using PATCH. I am providing a sample JSON payload below to illustrate the problem:
To Reproduce
Steps to reproduce the behavior:
{ "resourceType": "Parameters", "parameter": [ { "name": "operation", "part": [ { "name": "type", "valueCode": "replace" }, { "name": "path", "valueString": "Patient.identifier.where(system='urn:oid:1.2.36.146.595.217.0.2')" }, { "name": "value", "valueIdentifier": { "use": "official", "type": { "coding": [ { "code": "MR", "display": "Medical record number" } ] }, "system": "urn:oid:1.2.36.146.595.217.0.2", "value": "0-95941-01" } } ] } ] }
Expected behavior
The PATCH operation with a "replace" type should execute successfully, updating the specified resource in accordance with the provided JSON payload.
Spark version
Operating system + Database
The text was updated successfully, but these errors were encountered: