Update
Description
The Update event is used to read and write supply metadata, such as the current quantity on hand, whether or not the supply is chargeable, and its location. This event is typically exchanged between inventory management systems, electronic health records (EHRs), and other systems responsible for managing and consuming supplies in a healthcare settings.
API endpoints for Update
Sync REST API Endpoint to call the API: https://{base_url}/api/v1/inventory/update.
Async REST API Endpoint to call the API: https://{base_url}/api/v1/endpoint.
Data Model JSON for Update
Update - Sample Payload
{
"Meta": {
"DataModel": "Inventory",
"EventType": "Update",
"EventDateTime": "2022-08-16T14:21:20.733Z",
"Test": true,
"Source": {
"ID": "7ce6f387-c33c-417d-8682-81e83628cbd9",
"Name": "EHR Bridge Dev Tools"
},
"Destinations": [
{
"ID": "af394f14-b34a-464f-8d24-895f370af4c9",
"Name": "Destinations EMR"
}
],
"Logs": [
{
"ID": "d9f5d293-7110-461e-a875-3beb089e79f3",
"AttemptID": "1eced808-3962-4923-9c52-b1bca879018a"
}
],
"Message": {
"ID": 5565
},
"Transmission": {
"ID": 12414
},
"FacilityCode": null
},
"Items": [
{
"Identifiers": [
{
"ID": "22246069",
"IDType": "SUPPLY"
}
],
"Description": "Sponges",
"Quantity": 4,
"Type": "Supply",
"Units": "Bandages",
"Procedure": {
"Code": null,
"Codeset": null,
"Modifier": null
},
"Notes": "Case of 2000",
"Vendor": {
"ID": "FSH",
"Name": "SCIENTIFIC LABS",
"CatalogNumber": "22-246069"
},
"Status": "Active",
"IsChargeable": false,
"ContainsLatex": false,
"Price": 118.9,
"Location": {
"Facility": null,
"Department": null,
"ID": "Central",
"Bin": "42"
}
}
]
}