To define
| Code | Description |
|---|---|
| 401 | Unauthorized |
| 500 | Server crashed for some <%= reason %> |
GET /Goal?patient=1&access_token=6b5h9crwD1EP2zzNDifB5GNZi1rgmU3vmjsdJE9G9BfhQUL3Pm7stAUvJCgwSbAb
200
{
"resourceType": "Bundle",
"id": "f3c5d9ebbfb43daa94618c47cb20b652",
"type": "search set",
"entry": [
{
"full_url": "https://camp.carepaths.dev:9215/Goal/1001",
"resource": {
"resourceType": "Goal",
"id": "1001",
"lifecycleStatus": "proposed",
"description": {
"text": "Test Narrative"
},
"subject": {
"reference": "Patient/1",
"display": "Newman, Alice, Jones, Alicia, "
},
"target": [
{
"dueDate": "2022-11-09"
}
]
}
}
],
"total": 1
}
| Param name | Description |
|---|---|
|
access_token required |
CarePaths User OAuth Token Validations:
|
|
patient optional |
ID of the requested patient Validations:
|
|
start_date optional |
Start date for dataset; Format YYYY-MM-DD Validations:
|
|
end_date optional |
End date for dataset; Format YYYY-MM-DD Validations:
|
List of resources
| Param name | Description |
|---|---|
|
resource_type required |
Goal Validations:
|
|
lifecycle_status required |
Validations:
|
|
description required |
Validations:
|
|
subject required |
Validations:
|
|
target required |
Validations:
|
| Code | Description |
|---|---|
| 401 | Unauthorized |
| 500 | Server crashed for some <%= reason %> |
GET /Goal/1001?access_token=6b5h9crwD1EP2zzNDifB5GNZi1rgmU3vmjsdJE9G9BfhQUL3Pm7stAUvJCgwSbAb
200
{
"resourceType": "Goal",
"id": "1001",
"lifecycleStatus": "proposed",
"description": {
"text": "Test Narrative"
},
"subject": {
"reference": "Patient/1",
"display": "Newman, Alice, Jones, Alicia, "
},
"target": [
{
"dueDate": "2022-11-09"
}
]
}
| Param name | Description |
|---|---|
|
access_token required |
CarePaths User OAuth Token Validations:
|
|
id optional |
ID of requested goal Validations:
|
List of resources
| Param name | Description |
|---|---|
|
resource_type required |
Goal Validations:
|
|
lifecycle_status required |
Validations:
|
|
description required |
Validations:
|
|
subject required |
Validations:
|
|
target required |
Validations:
|
| Code | Description |
|---|---|
| 401 | Unauthorized |
| 500 | Server crashed for some <%= reason %> |
| Param name | Description |
|---|---|
|
access_token required |
CarePaths User OAuth Token Validations:
|
|
patient optional |
ID of the requested patient Validations:
|
|
start_date optional |
Start date for dataset; Format YYYY-MM-DD Validations:
|
|
end_date optional |
End date for dataset; Format YYYY-MM-DD Validations:
|