Update

You can update an existing resource on an FHIR server by performing an Update operation. The Update uses an HTTP PUT against the URL [baseUrl]/[resourceName]/[id]. This PUT should have a Content-Type header that specifies the MIME type of the payload.

The following example shows a simple Patient resource update using a JSON Payload. This example uses the previously created Patient resource (see Create) and updates it by adding an address.

Request: FHIR CRUD Update operation


Request: FHIR CRUD Update operation

Response: FHIR CRUD Update operation

The endpoint responds with a response similar to the following:


Response: FHIR CRUD Update operation