cpoe.LabOrderModel Class
/var/www/azaleahealth.com/branches/docs/source_repo/awa/resources/apps/js/cpoe/LabOrderModel.js:67
Front end model for lab orders. Also handles standing orders options.
Item Index
Methods
addICD9Code
-
args -
op
Parameters:
-
argsObjectPrimary set of options
-
[callback]Function optionalcalled when code is added
-
icd9Object | awa.mvc.ModelCode to add
-
-
opObjectSecondary set of options
Returns:
addTestCode
-
args -
op
Parameters:
-
argsObjectPrimary set of options
-
[callback]Function optionalcalled when code is added
-
cptObject | awa.mvc.ModelCode to add
-
-
opObjectSecondary set of options
Returns:
createResult
-
args
front end request method to create a result for a given order.
Parameters:
-
argsObjectSet of arguments
-
[callback]Function optionalfirst argument is a cpoe.RadiologyResultModel object
-
Returns:
labInterfaceDisabled
()
Boolean
Returns:
if attached lab interface has been disabled
save
-
attrs -
[options]
overriden until barebones backend is set This also convert all of the data to fit the backend as well. In the future, we can fix both the front end and back to not need all of this extra work.
Parameters:
-
attrsObjectObject of properties
-
[options]Object optionalObject of save options
Returns:
setChart
-
args
Parameters:
-
argsObjectPrimary set of options
-
[callback]Function optionalcalled on success
-
chartObject | charts.ChartModelChart to add
-
Returns:
setPatient
-
args
Parameters:
-
argsObjectPrimary set of options
-
[callback]Function optionalcalled on success
-
patientObject | patients.PatientModelPatient model
-