id -- the server assigns one and returns it in the Location header and in the response body.Authorization: Bearer ********************{
"resourceType": "Encounter",
"status": "finished",
"class": {
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code": "AMB",
"display": "ambulatory"
},
"subject": {
"reference": "Patient/example"
},
"period": {
"start": "2026-08-01T09:00:00Z",
"end": "2026-08-01T09:45:00Z"
}
}{
"resourceType": "Encounter",
"status": "finished",
"class": {
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code": "AMB",
"display": "ambulatory"
},
"subject": {
"reference": "Patient/example"
},
"period": {
"start": "2026-08-01T09:00:00Z",
"end": "2026-08-01T09:45:00Z"
}
}