Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
Cache-Control: no-cache

Patch

PUT requests in HAPI FHIR to update a resource require all the information of this resource in the payload.
That is, if we only want to modify the name of a patient, the payload to be sent will be all the patient's information modifying only the name. If only the name is sent, the rest of the patient's data will be deleted.

To send only the name, we must use the resource PATCH. You can see in postman an example in patient and also in QuestionnaireResponse.

Last Record for a resource

...