Skip to main content
GET
/
inventory
/
banked-items
/
patient
/
{patient_id}
List Patient Banked Items
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>",
      "taxable": false,
      "sortOrder": 123,
      "allowCustomPricing": false,
      "type": "PRODUCT"
    },
    "price": 123,
    "usages": [
      {
        "chargeId": "<string>",
        "chargeDate": "2023-11-07T05:31:56Z",
        "quantityUsed": 123,
        "chargeTotal": 123
      }
    ]
  }
]

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Path Parameters

patient_id
string
required

Response

Successful Response

id
string
required
itemId
string
required
patientId
string
required
createdByChargeItemId
string
required
quantity
integer
required
quantityRemaining
integer
required
createdDate
string<date-time>
required
item
ItemTiny · object
required
price
integer
required
usages
BankedItemUsage · object[]

List of charges that used this banked item