Update Goal

PATCH {{url}}/{{tenantName}}/{{instanceName}}/patients/{{patientId}}/care-plan/goals/{{goal_id}}

Update goal details: name, status, priority.

  1. HTTP Request

PATCH /{tenantName}/{instanceName}/patients/{patientId}/care-plan/goals/{goalId}

2. In our example it would be:

PATCH https://api.live.welkincloud.io/gh/sb-demo/patients/d6ea79ce-d3d6-4c2d-a27e-e4d1207f60f1/care-plan/goals/57827fdb-d240-46f9-8e6a-a89441cf8718

Parameters

NameLocated inDescriptionRequiredType
patientIdpathID of patientYesUUID
goalIdpathID of goalYesUUID
tenantNamepathName of tenantYesstring
instanceNamepathName of instanceYesstring
dtobodydtoYesjson

Responses

CodeDescription
200OK
401Unauthorized
403Forbidden
404Not Found

Request Body

{"name"=>"Comfortably sit up in chair for 2 hour", "priority"=>"HIGH", "status"=>"REMOVED"}