APIs

Show:

Front end model for lab orders. Also handles standing orders options.

Methods

addICD9Code

(
  • args
  • op
)
Undefined

Parameters:

  • args Object

    Primary set of options

    • [callback] Function optional

      called when code is added

    • icd9 Object | awa.mvc.Model

      Code to add

  • op Object

    Secondary set of options

Returns:

Undefined:

addTestCode

(
  • args
  • op
)
Undefined

Parameters:

  • args Object

    Primary set of options

    • [callback] Function optional

      called when code is added

    • cpt Object | awa.mvc.Model

      Code to add

  • op Object

    Secondary set of options

Returns:

Undefined:

createResult

(
  • args
)
Undefined

front end request method to create a result for a given order.

Parameters:

  • args Object

    Set of arguments

    • [callback] Function optional

      first argument is a cpoe.RadiologyResultModel object

Returns:

Undefined:

labInterfaceDisabled

() Boolean

Returns:

Boolean:

if attached lab interface has been disabled

save

(
  • attrs
  • [options]
)
Undefined

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:

  • attrs Object

    Object of properties

  • [options] Object optional

    Object of save options

Returns:

Undefined:

setChart

(
  • args
)
Undefined

Parameters:

  • args Object

    Primary set of options

    • [callback] Function optional

      called on success

    • chart Object | charts.ChartModel

      Chart to add

Returns:

Undefined:

setPatient

(
  • args
)
Undefined

Parameters:

  • args Object

    Primary set of options

Returns:

Undefined: