Update Encounter Record by Encounter ID
PATCH {{url}}/{{tenantName}}/{{instanceName}}/patients/{{patientId}}/encounters/{{encounterId}}
HTTP Request
Please, fill only that fields that you want to update.
PATCH /{tenantName}/{instanceName}/patients/{patientId}/encounters/{encounterId}
in our example it would be:
PATCH https://api.live.welkincloud.io/gh/sb-demo/patients/620ef7f0-2ba9-48e1-8e0f-a47f40890bf4/encounters/b30355dd-ff65-4ae3-aab7-a1bdd0fddd79
Responses
Code | Description |
---|---|
200 | OK |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
Request Body
{"title"=>"Some title", "description"=>"Some description", "status"=>"DRAFT", "notes"=>"Some notes", "currentScheduledAppointment"=>{"externalId"=>"example-ext-id-1", "eventTitle"=>"Event title", "eventDescription"=>"Event description", "startDateTime"=>"2021-10-26T14:00:00.000Z", "endDateTime"=>"2021-10-26T14:30:00.000Z", "allDayEvent"=>false, "eventType"=>"ENCOUNTER", "eventStatus"=>"SCHEDULED", "eventMode"=>"IN-PERSON", "hostId"=>"42f1cd39-50a7-4aeb-baf3-e493efcb5c2d"}}