Class: ProblemMetaService

ProblemMetaService


new ProblemMetaService()

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

Methods


getUserParametersForProblemList(context, callback)

Returns user parameters for problem list

Parameters:
Name Type Description
context Object

Session context information associated with the service call.

callback function

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

Returns:

response User parameters for problem list: [0] - {Boolean} UserMetaService.hasMultipleSecurityKey output [1] - {String} NEW PERSON (200) probListPrimaryView contents [2] - {Boolean} PROBLEM LIST SITE PARAMETERS (125_99) verifyTranscribedProblems contents [3] - {Boolean} PROBLEM LIST SITE PARAMETERS (125_99) if promptForChartCopy contents includes "YES" [4] - {Boolean} PROBLEM LIST SITE PARAMETERS (125_99) useClinicalLexicon [5] - {Boolean} PROBLEM LIST SITE PARAMETERS (125_99) if displayOrder is reverse-chronological or not [6] - {String} ORCH CONTEXT PROBLEMS ParameterService split value [7] - {String} NEW PERSON (200) with gmplProvId response contents [8] - {String} Results from getService method [9] - {String} NEW PERSON (200) probListPrimaryView contents [10] - {String} NEW PERSON (200) probListPrimaryView contents [11] - {String} Empty string [12] - {String} ORCH CONTEXT PROBLEMS ParameterService split value [13] - {String} ORQQPL SUPPRESS CODES ParameterService response value

Type
Array

lookupCategoriesForUser(location, context, callback)

Returns array of categories for user to select from

Parameters:
Name Type Description
location String

Clinical Location ID

context Object

Session context information associated with the service call.

callback function

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

Returns:

arrOfCategories Array of categories: label, subheader, and showProblems for user to select from

Type
Array