APIs

Show:

Popup for creating / updating inventory products

Methods

buildAdministeredSelects

() Undefined

Builds select dropdowns for administered information.

Returns:

Undefined:

buildAttachedCodes

() Undefined

Renders any attached codes.

Returns:

Undefined:

didAddImmunization

(
  • vaccine
  • manufacturers
)
Undefined

Called after a user selects an immunization (vaccine). Updates the form to reflect the selection.

Parameters:

  • vaccine Object

    Vaccine object

  • manufacturers Array

    Manufacturers array

Returns:

Undefined:

onAdminLocationChanged

(
  • evt
)
Undefined

Called when the administered route select is changed.

Parameters:

  • evt jQuery.Event

    HTMLEvent

Returns:

Undefined:

onAdminRouteChanged

(
  • evt
)
Undefined

Called when the administered route select is changed.

Parameters:

  • evt jQuery.Event

    HTMLEvent

Returns:

Undefined:

onVaccineManufacturer

(
  • evt
)
Undefined

Called when the user changes the vaccine's manufacturer type.

Parameters:

  • evt jQuery.Event

    HTMLEvent

Returns:

Undefined:

willAddImmunization

() Undefined

Called when a user will be adding a new immunization inventory type.

Returns:

Undefined:

willAddInventory

(
  • inventory
)
Undefined

Called when a user will be adding a new inventory.

Parameters:

  • inventory inventory.InventoryModel

    Inventory model

Returns:

Undefined:

willAddVaccine

(
  • vaccine
)
Undefined

Called when the user is adding a vaccine that doesn't come from the inventory.

Parameters:

  • vaccine Object

    Vaccine object

Returns:

Undefined: