Class: MedMetaService

MedMetaService


new MedMetaService()

Service for Meta (non-clinical) queries relating to the Medication domain.

Methods


lookupValidRoute(routeName, context, callback)

Returns the id and abbreviation for a route if the name is valid.

Parameters:
Name Type Description
routeName String

Route name or abbreviation to validate

context Object

Session context information associated with the service call.

callback function

Function called on process completion, with standard (err, result) signature.

Returns:

medicationRoute Medication Route containing id and abbreviation

Type
Object