Test Sandbox APIs
API Reference
Capability Statement
Goal
The Goal API enables Humana members to exchange their personal health goals with third party applications. This API conforms to the R4 FHIR standard and the US Core STU3 Implementation Guide.
URL
Headers
ACCEPT | application/json |
AUTHORIZATION | Bearer {ACCESS_TOKEN} |
Sample Request
curl -X GET \
https://fhir.humana.com/sandbox/api/Goal \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {your access token}' \
curl -X GET \
https://fhir.humana.com/api/Goal \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {your access token}' \
Sample Response
{
"resourceType": "Bundle",
"id": "a4d4b9da667d498489e1a3d11f5850a6",
"meta": {
"lastUpdated": "2021-09-13T12:50:00.0529935+00:00"
},
"type": "searchset",
"link": [
{
"relation": "next",
"url": "https://fhir.humana.com/sandbox/api/Goal?_count=3&patient=5a357166754b59777137634248494434654c336d68773d3d&ct=W3sidG9rZW4iOiIrUklEOn5RNlpxQU9jemxRdXRtQndBQUFBQUFBPT0jUlQ6MSNUUkM6MyNJU1Y6MiNJRU86NjU1NTEjUUNGOjQjRlBDOkFnRnljbklPQUsyWUFjQlJFWk1PSUJCSWdBUWkiLCJyYW5nZSI6eyJtaW4iOiIiLCJtYXgiOiJGRiJ9fV0="
},
{
"relation": "self",
"url": "https://fhir.humana.com/sandbox/api/Goal?_count=3&patient=5a357166754b59777137634248494434654c336d68773d3d"
}
],
"entry": [
{
"fullUrl": "https://fhir.humana.com/sandbox/api/Goal/cdbf115dd356f96440b5594472ed1a71d46779c7e77962e0cab424b5aea2e00a",
"resource": {
"resourceType": "Goal",
"id": "cdbf115dd356f96440b5594472ed1a71d46779c7e77962e0cab424b5aea2e00a",
"meta": {
"versionId": "169",
"lastUpdated": "2021-09-13T08:30:13.154+00:00",
"source": "https://fhir.humana.com/documentation/glossary/HumanaDataSource",
"tag": [
{
"system": "https://www.hl7.org/fhir/patient.html",
"code": "Patient/5a357166754b59777137634248494434654c336d68773d3d"
},
{
"system": "https://fhir.humana.com/documentation/glossary/lastRefreshedOn",
"code": "2021-09-13T08:30:12.565Z"
}
]
},
"lifecycleStatus": "proposed",
"description": {
"text": "Lose 20 pounds"
},
"subject": {
"reference": "Patient/5a357166754b59777137634248494434654c336d68773d3d"
},
"expressedBy": {
"identifier": {
"system": "http://hl7.org/fhir/sid/us-npi",
"value": "1831192350"
},
"display": "BRIAN COMEAUX, CRNA"
}
},
"search": {
"mode": "match"
}
},
{
"fullUrl": "https://fhir.humana.com/sandbox/api/Goal/a262769efcabd3e5d8eb5f6e137398325b475c0ed4fd868932872658114b84a1",
"resource": {
"resourceType": "Goal",
"id": "a262769efcabd3e5d8eb5f6e137398325b475c0ed4fd868932872658114b84a1",
"meta": {
"versionId": "169",
"lastUpdated": "2021-09-13T08:30:13.194+00:00",
"source": "https://fhir.humana.com/documentation/glossary/HumanaDataSource",
"tag": [
{
"system": "https://www.hl7.org/fhir/patient.html",
"code": "Patient/5a357166754b59777137634248494434654c336d68773d3d"
},
{
"system": "https://fhir.humana.com/documentation/glossary/lastRefreshedOn",
"code": "2021-09-13T08:30:12.565Z"
}
]
},
"lifecycleStatus": "planned",
"description": {
"text": "Lose 20 pounds"
},
"subject": {
"reference": "Patient/5a357166754b59777137634248494434654c336d68773d3d"
},
"startDate": "2020-04-28",
"expressedBy": {
"identifier": {
"system": "http://hl7.org/fhir/sid/us-npi",
"value": "1962405365"
},
"display": "NITESH SHEKHADIA, M.D."
}
},
"search": {
"mode": "match"
}
},
{
"fullUrl": "https://fhir.humana.com/sandbox/api/Goal/03714e9153971a2402ed87369f8fbbafaa3a50bea7d26798691af6577808627d",
"resource": {
"resourceType": "Goal",
"id": "03714e9153971a2402ed87369f8fbbafaa3a50bea7d26798691af6577808627d",
"meta": {
"versionId": "169",
"lastUpdated": "2021-09-13T08:30:13.238+00:00",
"source": "https://fhir.humana.com/documentation/glossary/HumanaDataSource",
"tag": [
{
"system": "https://www.hl7.org/fhir/patient.html",
"code": "Patient/5a357166754b59777137634248494434654c336d68773d3d"
},
{
"system": "https://fhir.humana.com/documentation/glossary/lastRefreshedOn",
"code": "2021-09-13T08:30:12.565Z"
}
]
},
"lifecycleStatus": "entered-in-error",
"description": {
"text": "Stop smoking"
},
"subject": {
"reference": "Patient/5a357166754b59777137634248494434654c336d68773d3d"
},
"expressedBy": {
"identifier": {
"system": "http://hl7.org/fhir/sid/us-npi",
"value": "1417950825"
},
"display": "ANGUS GRAHAM, MD"
}
},
"search": {
"mode": "match"
}
}
]
}