id in the body is required and must equal the {id} in the URL.If-Match with the version you last read to avoid overwriting someone else's change. If the version has moved on, the server returns 409.Authorization: Bearer ********************{
"resourceType": "DocumentReference",
"status": "current",
"type": {
"coding": [
{
"system": "http://loinc.org",
"code": "34133-9",
"display": "Summary of episode note"
}
]
},
"subject": {
"reference": "Patient/example"
},
"content": [
{
"attachment": {
"contentType": "application/pdf",
"url": "https://example.org/docs/1.pdf"
}
}
],
"id": "123"
}{
"resourceType": "DocumentReference",
"status": "current",
"type": {
"coding": [
{
"system": "http://loinc.org",
"code": "34133-9",
"display": "Summary of episode note"
}
]
},
"subject": {
"reference": "Patient/example"
},
"content": [
{
"attachment": {
"contentType": "application/pdf",
"url": "https://example.org/docs/1.pdf"
}
}
],
"id": "123",
"meta": {
"versionId": "2",
"lastUpdated": "2026-08-28T10:00:00Z"
}
}