Create a basic inventory management module

Author: blestabCreated Dec 5, 2020Updated Jan 31, 2022
Labels🚀enhancementin progressLOE - largeinventory

Feature Proposal

This issue is to create a very basic inventory module. When this issue is finished, I would expect to be able to:

  • create a new inventory item
  • view a list of all inventory items
  • view a single inventory item

Technical Notes

Model Name InventoryItem defined as:

{
  id: string
  name: string
  rank: string
  type: clothing|equipment|medication 
  crossReference: string
  reorderPoint: number
  distributionUnit: ampoule|bag|bottle|box|bundle|capsule|case|container|cream|each|gel|nebule|ointment|pack|pair|pallet|patch|pcs|pill|plastic|polyamp|rollset|spray|suppository|suspension|syrup|tablet|tray|tube|vial
  pricePerUnit: number
  note: string
}
  • id should be auto-generated
  • There should be a text box which allows me to search for inventory items
  • Add the ability to filter the search by type, including the ability to show all types
  • The table of matching items should show the following fields: name, type, reorder point, distribution unit, price per unit

Permissions

  • Add new set of permissions for viewing and adding inventory items

Menu / Sidebar

  • Add a sidebar link named Inventory below the Incidents link
  • Underneath the Inventory sidebar menu, add "Add Inventory Item" and "Inventory Items" options
  • Add "Add Inventory Item" to quick create button in the Navbar as the last item

Source: HospitalRun/hospitalrun-frontend