Add Goal task
POST {{url}}/{{tenantName}}/{{instanceName}}/patients/{{patientId}}/care-plan/goals/{{goal_id}}/tasks
Add custom task to goal
- HTTP Request
GET /{tenantName}/{instanceName}/patients/{patientId}/care-plan/goals/{goalId}/tasks
2. In our example it would be:
GET https://api.live.welkincloud.io/gh/sb-demo/patients/d6ea79ce-d3d6-4c2d-a27e-e4d1207f60f1/care-plan/goals/57827fdb-d240-46f9-8e6a-a89441cf8718/tasks
Responses
Code | Description |
---|---|
200 | Created |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
goalId | null | ID of goal |
Request Body
{"name"=>"New task 2", "description"=>"Create new patient profile", "dueDate"=>"2021-12-01T12:16:38.514Z", "status"=>"TODO", "priority"=>"URGENT", "assignee"=>{"id"=>"20eb246e-8099-4c7c-854c-5e0f9a366ddb"}}