Open rogtrifork opened 2 years ago
I tried to repeat the operations and now the output message is: HAPI-0928: Failed to parse database resource[Patient/9999999 (pid 9999999, version R4): HAPI-1814: Incorrect resource type found, expected "Patient" but found "Observation"
Describe the bug Delete operation returning successful delete operation response even though the resource does not exist on the server.
To Reproduce
Alternatively, this can also be achieved through a GUI:
Expected behavior If a Delete operation is executed with an ID that does not exist, throw a ResourceNotFoundException
Screenshots
Environment (please complete the following information):
Additional context The deletion does actually work. When the resource actually exists, it is deleted, it's just that when it doesn't exist it still tells you that a resource was deleted