curl --request GET \
--url https://api.decodahealth.com/inventory/banked-items/patient/{patient_id} \
--header 'API-KEY: <api-key>' \
--header 'TENANT: <tenant>'[
{
"id": "<string>",
"itemId": "<string>",
"patientId": "<string>",
"createdByChargeItemId": "<string>",
"quantity": 123,
"quantityRemaining": 123,
"createdDate": "2023-11-07T05:31:56Z",
"item": {
"name": "<string>",
"price": 123,
"id": "<string>",
"brandName": "<string>",
"description": "<string>",
"category": "<string>",
"unit": "AMPOULES",
"isPhysical": true,
"isArchived": false,
"internalNotes": "<string>",
"sortOrder": 123,
"allowCustomPricing": false,
"type": "PRODUCT",
"externalId": "<string>",
"exemptedTaxIds": [
"<string>"
]
},
"price": 123,
"usages": [
{
"chargeId": "<string>",
"chargeDate": "2023-11-07T05:31:56Z",
"quantityUsed": 123,
"chargeTotal": 123
}
]
}
]List all banked items for a patient (including used ones, excluding archived).
curl --request GET \
--url https://api.decodahealth.com/inventory/banked-items/patient/{patient_id} \
--header 'API-KEY: <api-key>' \
--header 'TENANT: <tenant>'[
{
"id": "<string>",
"itemId": "<string>",
"patientId": "<string>",
"createdByChargeItemId": "<string>",
"quantity": 123,
"quantityRemaining": 123,
"createdDate": "2023-11-07T05:31:56Z",
"item": {
"name": "<string>",
"price": 123,
"id": "<string>",
"brandName": "<string>",
"description": "<string>",
"category": "<string>",
"unit": "AMPOULES",
"isPhysical": true,
"isArchived": false,
"internalNotes": "<string>",
"sortOrder": 123,
"allowCustomPricing": false,
"type": "PRODUCT",
"externalId": "<string>",
"exemptedTaxIds": [
"<string>"
]
},
"price": 123,
"usages": [
{
"chargeId": "<string>",
"chargeDate": "2023-11-07T05:31:56Z",
"quantityUsed": 123,
"chargeTotal": 123
}
]
}
]The tenant you are making this request on behalf of
Your api key
Successful Response
Show child attributes
List of charges that used this banked item
Show child attributes