PatientInventoryPopupView Class
Popup for creating / updating inventory products
Item Index
Methods
buildAdministeredSelects
()
Undefined
Builds select dropdowns for administered information.
Returns:
buildAttachedCodes
()
Undefined
Renders any attached codes.
Returns:
didAddImmunization
-
vaccine -
manufacturers
Called after a user selects an immunization (vaccine). Updates the form to reflect the selection.
Parameters:
-
vaccineObjectVaccine object
-
manufacturersArrayManufacturers array
Returns:
initialize
()
Undefined
Returns:
initializeForm
()
Undefined
Returns:
onAdminLocationChanged
-
evt
Called when the administered route select is changed.
Parameters:
-
evtjQuery.EventHTMLEvent
Returns:
onAdminRouteChanged
-
evt
Called when the administered route select is changed.
Parameters:
-
evtjQuery.EventHTMLEvent
Returns:
onVaccineManufacturer
-
evt
Called when the user changes the vaccine's manufacturer type.
Parameters:
-
evtjQuery.EventHTMLEvent
Returns:
render
()
Undefined
Returns:
save
()
Undefined
Saves the Inventory Class
Returns:
willAddImmunization
()
Undefined
Called when a user will be adding a new immunization inventory type.
Returns:
willAddInventory
-
inventory
Called when a user will be adding a new inventory.
Parameters:
-
inventoryinventory.InventoryModelInventory model
Returns:
willAddVaccine
-
vaccine
Called when the user is adding a vaccine that doesn't come from the inventory.
Parameters:
-
vaccineObjectVaccine object