Update
Description of how to update a resource using our FHIR API.
PUT
{base}/fhir/{type}
Below is an example of how to use a PUT
request to update a resource. A complete list of resources can be found by visiting the resource specifications here.
Request
PUT
{base}/fhir/Patient/{id}
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Body
{
"name": [{"family": "Charlie"}]
}
Response
{
"name": [
{
"family": "Charlie"
}
],
"id": "20304050",
"resourceType": "Patient",
"meta": {
"lastUpdated": "2024-07-16T11:46:05.849929Z",
"versionId": "540520",
"extension": [
{
"url": "ex:createdAt",
"valueInstant": "2024-07-16T10:08:33.753699Z"
}
]
}
}
Last updated