-
Notifications
You must be signed in to change notification settings - Fork 346
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
Add FHIRPath Patch support #3084
Comments
Hi @FlixCoder - thanks for submitting. It looks like your request uses "FHIRPatch Operations", which we currently do not support. According to the FHIR spec, https://hl7.org/fhir/r4/http.html#patch
The Medplum FHIR server currently only supports Here is your request converted into [
{
"op": "add",
"path": "/birthDate",
"value": "2021-02-01"
},
{
"op": "remove",
"path": "/active"
},
{
"op": "replace",
"path": "/gender",
"value": "female"
},
{
"op": "add",
"path": "/name/0",
"value": {
"family": "Family"
}
}
] Let me investigate how hard it would be to add the "FHIRPath Patch" support. |
Hi!
I am making a PATCH request to a Patient with the following body:
The Patient resource can be either empty or look as follows:
Medplum returns the following OperationOutcome:
Could you tell me what is going wrong? Is this a bug?
The same request works with the HAPI FHIR server, so I assume the request is correct, but please tell me if it is actually incorrect.
Thank you!
The text was updated successfully, but these errors were encountered: