cURL
curl --request PUT \ --url https://{tenantId}.api.nestmed.com/api/v1/episodes/{episodeId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "status": "<string>", "endDate": "2023-12-25", "dischargeReason": "<string>" } '
{ "episodeId": "<string>", "patientId": "<string>", "admissionId": "<string>", "startDate": "2023-12-25", "endDate": "2023-12-25", "status": "active", "primaryDiagnosis": "<string>", "certificationPeriod": { "start": "2023-12-25", "end": "2023-12-25" }, "careTeam": [ {} ], "visitCount": { "scheduled": 123, "completed": 123 } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Episode updated successfully.
active
completed
discharged
cancelled
Show child attributes