Closed
Description
Describe the bug
A user with the below correct permissions will encounter the below error when POSTing a Transaction Bundle including a PATCH.
This is the error: HAPI-0339: Can not handle transaction with nested resource of type Parameters
To Reproduce
Steps to reproduce the behavior:
- Ensure you have an existing Patient
- Create a user with the permissions below
- POST the Bundle below (replace the patient ID with the one you created)
- See error: "HAPI-0339: Can not handle transaction with nested resource of type Parameters"
- FHIR_CLIENT
- FHIR_PATCH
- FHIR_TRANSACTION
- FHIR_WRITE_ALL_OF_TYPE (Patient)
- FHIR_WRITE_TYPE_IN_COMPARTMENT (Patient/???, not strictly not necessarily for the simple scenario for this bug)
{
"resourceType": "Bundle",
"type": "transaction",
"entry": [
{
"fullUrl": "Patient/1326",
"request": {
"method": "PATCH",
"url": "Patient/[[YOUR PATIENT ID]]"
},
"resource": {
"resourceType": "Parameters",
"parameter": [
{
"name": "operation",
"part": [
{
"name": "type",
"valueCode": "replace"
},
{
"name": "path",
"valueString": "Patient.birthDate"
},
{
"name": "value",
"valueDate": "1948-08-08"
}
]
}
]
}
}
]
}
Expected behavior
The bundle should correctly update the patient with the new birthDate
Environment (please complete the following information):
- HAPI FHIR Version: rel_7_0
Metadata
Metadata
Assignees
Labels
No labels