APIs

Show:

Patients | Charts | PatientChartsView

This is the main view for the Patient Charts section of the Patient Record. Internally it creates child views for the Charts grid and the Referrals grid.

Methods

addSelectedCharts

(
  • $selected
)
Undefined

Adds the given inputs to the internal cache of selected rows.

Parameters:

  • $selected JQuery

    Jquery selection of selected charts

Returns:

Undefined:

attachChartListActionsEvents

() Undefined

Attaches event listeners for the chart list actions.

Returns:

Undefined:

attachChartListActionsEvents

() Undefined

Attaches event listeners for the chart list grid.

Returns:

Undefined:

attachControlsEventsListeners

() Undefined

Binds all event listeners for the controls.

Returns:

Undefined:

beforeRenderControls

() jQuery.Deferred

Fetches data required to render the controls.

Returns:

jQuery.Deferred:

Promise like object

getSelectedCharts

() Array

Returns an array of chart IDs that are currently selected, or it returns an empty array.

Returns:

Array:

Encounter ids

onAssembleCharts

() Undefined

Send the selected charts to document assembler

Returns:

Undefined:

onBatchReleaseChartsToPortal

() Undefined

Called when mutliple (or 1) charts are released to portal using overall action

Returns:

Undefined:

onChartCheck

(
  • el
)
Undefined

Called when the user clicks a checkbox in the charts grid

Parameters:

  • el Element

    HTML Element

Returns:

Undefined:

onChartListActionSelect

(
  • value
)
Undefined

Called when the user select an action in the check / select menu

Parameters:

  • value String

    Select action key

Returns:

Undefined:

onMoreActions

(
  • event
)
Undefined

Called when the more actions select menu changes

Parameters:

  • event HTMLEvent

    Event object

Returns:

Undefined:

onPrintCharts

() Undefined

Print the selected charts

Returns:

Undefined:

onSelectAllCharts

() Undefined

Selects all chart rows in the current grid view

Returns:

Undefined:

onSelectAllCharts

() Undefined

Un-selects all chart rows in the current grid view

Returns:

Undefined:

onSelectAllCharts

() Undefined

Selects all signed chart rows in the current grid view

Returns:

Undefined:

onSelectAllCharts

() Undefined

Selects all unsigned chart rows in the current grid view

Returns:

Undefined:

onShowHideChartActions

() Undefined

Determines whether or not the chart actions should be shown or hidden

Returns:

Undefined:

removeSelectedChart

(
  • id
)
Undefined

Removes the chart with the given id from the internal cache of selected rows

Parameters:

  • id Integer | String

    Identifier of chart

Returns:

Undefined:

render

() Undefined

render the view

Returns:

Undefined:

renderControls

() Undefined

Render the controls

Returns:

Undefined:

renderGrid

() Undefined

Render the charts grid

Returns:

Undefined:

renderReferralsList

() Undefined

Returns:

Undefined:

undefined

setup

(
  • options
)
Undefined

Called by the PatientView

Parameters:

  • options Object

    A set of values

Returns:

Undefined:

undefined

unselectAllCharts

() Undefined

Unselects all charts from the grid and updates the internal cache of selected rows.

Returns:

Undefined: