patients.PatientChartsListView Class
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.
Item Index
Methods
- addSelectedCharts
- attachChartListActionsEvents
- attachChartListActionsEvents
- attachControlsEventsListeners
- beforeRenderControls
- getSelectedCharts
- initialize
- onAssembleCharts
- onBatchReleaseChartsToPortal
- onChartCheck
- onChartListActionSelect
- onMoreActions
- onPrintCharts
- onSelectAllCharts
- onSelectAllCharts
- onSelectAllCharts
- onSelectAllCharts
- onShowHideChartActions
- removeSelectedChart
- render
- render
- renderChartsList
- renderControls
- renderGrid
- renderReferralsList
- setup
- unselectAllCharts
Methods
addSelectedCharts
-
$selected
Adds the given inputs to the internal cache of selected rows.
Parameters:
-
$selectedJQueryJquery selection of selected charts
Returns:
attachChartListActionsEvents
()
Undefined
Attaches event listeners for the chart list actions.
Returns:
attachChartListActionsEvents
()
Undefined
Attaches event listeners for the chart list grid.
Returns:
attachControlsEventsListeners
()
Undefined
Binds all event listeners for the controls.
Returns:
beforeRenderControls
()
jQuery.Deferred
Fetches data required to render the controls.
Returns:
Promise like object
getSelectedCharts
()
Array
Returns an array of chart IDs that are currently selected, or it returns an empty array.
Returns:
Encounter ids
initialize
()
Undefined
Returns:
onAssembleCharts
()
Undefined
Send the selected charts to document assembler
Returns:
onBatchReleaseChartsToPortal
()
Undefined
Called when mutliple (or 1) charts are released to portal using overall action
Returns:
onChartCheck
-
el
Called when the user clicks a checkbox in the charts grid
Parameters:
-
elElementHTML Element
Returns:
onChartListActionSelect
-
value
Called when the user select an action in the check / select menu
Parameters:
-
valueStringSelect action key
Returns:
onMoreActions
-
event
Called when the more actions select menu changes
Parameters:
-
eventHTMLEventEvent object
Returns:
onPrintCharts
()
Undefined
Print the selected charts
Returns:
onSelectAllCharts
()
Undefined
Selects all chart rows in the current grid view
Returns:
onSelectAllCharts
()
Undefined
Un-selects all chart rows in the current grid view
Returns:
onSelectAllCharts
()
Undefined
Selects all signed chart rows in the current grid view
Returns:
onSelectAllCharts
()
Undefined
Selects all unsigned chart rows in the current grid view
Returns:
onShowHideChartActions
()
Undefined
Determines whether or not the chart actions should be shown or hidden
Returns:
removeSelectedChart
-
id
Removes the chart with the given id from the internal cache of selected rows
Parameters:
-
idInteger | StringIdentifier of chart
Returns:
render
()
Undefined
render the view
Returns:
render
()
Undefined
Returns:
undefined
renderChartsList
()
Undefined
Returns:
undefined
renderControls
()
Undefined
Render the controls
Returns:
renderGrid
()
Undefined
Render the charts grid
Returns:
renderReferralsList
()
Undefined
Returns:
undefined
setup
-
options
Called by the PatientView
Parameters:
-
optionsObjectA set of values
Returns:
undefined
unselectAllCharts
()
Undefined
Unselects all charts from the grid and updates the internal cache of selected rows.