Create Goal
POST {{url}}/{{tenantName}}/{{instanceName}}/patients/{{patientId}}/care-plan/goals
Create goal for patient by goal-template
- HTTP Request
POST /{tenantName}/{instanceName}/patients/{patientId}/care-plan/goals
2. In our example it would be:
POST https://api.live.welkincloud.io/gh/sb-demo/patients/d6ea79ce-d3d6-4c2d-a27e-e4d1207f60f1/care-plan/goals
Parameters
Name | Located in | Description | Required | Type |
---|---|---|---|---|
patientId | path | ID of patient | Yes | UUID |
tenantName | path | Name of tenant | Yes | string |
instanceName | path | Name of instance | Yes | string |
dto | body | dto | Yes | json |
Responses
Code | Description |
---|---|
201 | Created |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
Request Body
{"goalTemplateName"=>"example"}