patients.PatientsClassesListView Class
Item Index
Methods
controlsViewArgs
()
Null
Returns:
not available
doDownload
()
Null
Merges and then downloads the generated documents in the queue.
Returns:
not available
doSendFax
()
Null
Merges and then faxes the generated documents in the queue.
Returns:
not available
each
-
callback
Iterates over the array of document data.
Parameters:
-
callbackFunctionInterative function
Returns:
fetch
()
jQuery.Defferred
Loads the view data for the given patient.
Returns:
Promise
generateAll
()
Undefined
Sequentially generates each active document in the list.
Returns:
generateNextDocument
-
model -
queue
Starts the process of progressively generating each document.
Parameters:
-
modelPatientsAssemblyModelModel
-
queueArrayQueue
Returns:
generateNextDocument
-
model -
queue -
index
Recursively generates the next document in the queue.
Parameters:
-
modelPatientsAssemblyModelModel
-
queueArrayQueue
-
indexIntegerIndex
Returns:
getCount
()
Integer
Return the number of documents loaded
Returns:
Count
getDocumentAssemblyData
-
pat_id
Makes a call to the charts print API for the given Encounter Id and returns the Deferred (promise) object.
Parameters:
-
pat_idIntegerID
Returns:
Promise
initialize
()
Null
Returns:
not available
onClearAll
()
Null
Called when the user clicks the Clear All button.
Returns:
not available
onDownload
()
Null
Called when the user clicks the Send Fax button.
Returns:
not available
onDownload
()
Null
Called when the user clicks the Download button.
Returns:
not available
onGenerate
()
Null
Called when the user clicks the Generate button.
Returns:
not available
onRefresh
()
Null
Called when the user refreshes the view.
Returns:
not available
render
()
Null
Returns:
not available
render
()
Undefined
Returns:
view
-
pda_id
Remove a document given the pda id.
Parameters:
-
pda_idIntegerID
Returns:
Promise
view
-
pda_id -
order
Reorders a document given the pda id.
Parameters:
-
pda_idIntegerID
-
orderIntegerOrder
Returns:
Promise
view
-
pda_id
Removes all documents for the given patient and user.
Parameters:
-
pda_idIntegerID
Returns:
Promise
view
-
pda_id
View a document given the pda id.
Parameters:
-
pda_idIntegerID
Returns:
Promise