Class: AllergyMetaService

AllergyMetaService


new AllergyMetaService()

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

Methods


lookupAllergyDefList(context, callback)

Returns default values and list sets for Allergy ordering dialog.

Parameters:
Name Type Description
context Object

the session data

callback function

the callback function used to process results

Returns:
  • Array containining top10Reaction object
Type
Array

lookupAllergySiteParams(context, callback)

return a list of Allergy Site Parameters as an Object (see return docs for details)

Parameters:
Name Type Description
context Object

the session data

callback function

the function that will process results from lookupAllergySiteParams

Returns:

Allergy Site Param list (see ResObj docs)

Type
ResObj

Type Definitions


ResObj

Type:
  • Object
Properties:
Name Type Description
name string

The name of this set of parameters, defaults to 'HOSPITAL'.

autoverifyFoodDrugOther number

This field determines which types of allergies a site wants autoverified at the user sign off. 0:NO AUTOVERIFY 1:AUTOVERIFY DRUG ONLY 2:AUTOVERIFY FOOD ONLY 3:AUTOVERIFY DRUG/FOOD 4:AUTOVERIFY OTHER ONLY 5:AUTOVERIFY DRUG/OTHER 6:AUTOVERIFY FOOD/OTHER 7:AUTOVERIFY ALL

autoverifyObservedHistorical number

This field is configurable by the site to allow autoverification of observed or historical allergies. 0:NO AUTOVERIFY 1:AUTOVERIFY HISTORICAL ONLY 2:AUTOVERIFY OBSERVED ONLY 3:AUTOVERIFY BOTH

requireOriginatorComments number

This field indicates whether the originator will be required to enter comments for an OBSERVED reaction. 0:NO 1:YES

markIdBandFlag number

This field is an indicator to denote whether the site wants to document if the patient ID band should be marked for a certain allergy. The system will assume the site wants to document the marking of inpatient ID bands. If this field is answered NO, the site does not want to document the marking of inpatient ID bands. 0:NO 1:YES

autoverifyLogicalOperator string

This field will determine how the Autoverify Food/Drug/Other and Autoverify Observed/Historical parameters relate to each other. OR means that the reaction will be autoverified if it meets the criteria of one of the two parameters, while AND means the reaction will be autoverified only if it meets the criteria of both parameters. If this field is left null, the OR condition will be used. For example, if you want to verify only observed drug reactions, you would set the Autoverify Food/Drug/Other parameter to AUTOVERIFY FOOD/OTHER and the Autoverify Observed/Historical to AUTOVERIFY HISTORICAL ONLY , and the Autoverify Logical Operator to OR. This means that a reaction that has a type of Food/Other OR is Historical will be autoverified, thus leaving observed drug reactions to be verified. Another example would be if you wanted to verify all observed reactions and all drug reactions whether observed or historical. The parameters should be set accordingly: Autoverify Food/Drug/Other to AUTOVERIFY FOOD/OTHER, Autoverify Observed/Historical to AUTOVERIFY HISTORICAL ONLY and Autoverify Logical Operator to AND. In this case to be autoverifed, a reaction has to have a type of Food/Other AND it must be Historical, all other reactions will need to be verified. !:OR &:AND

fdaDataRequired string

This field will indicate whether the entry of FDA Data should be required during the Enter/Edit Patient Reaction Data. If this field is answered "YES", then the user must enter the FDA Data at the time of entering a reaction. If this field is left null or answered "NO", then the FDA Data entry will not be required during the Enter/Edit Patient Reaction Data option. y:YES n:NO

methodOfNotification number

This field tells ART if or how the users should be notified for chart or ID band markings. There are three methods. The first method is the use of BULLETINs, which is the current way ART works. The second method is the use of OE/RR Teams. If this method is used, then you will need to set up different teams for each ward and also assign printers to these teams. The third method is to turn off the function. 0:BULLETIN 1:OE/RR TEAMS 2:NO NOTIFICATION

alertIdBandChartMark number

This field is to let the system know if you want to issue alerts if the fields have not been answered in the Enter/Edit Patient Reaction Data portion of the system. If the field is answered yes(1) or is null then, the system will continue to issue the alerts. If this field is no(0), then the system will not issue alerts for this record. 1:YES 0:NO

newAdmissionChartMark number

This is to indicate if the site wants to send chart mark bulletin for a new admission. 1:YES 0:NO

eEDescriptionActive number

Permit users to indicate why a reaction was Entered in Error. 1:YES 0:NO