Logo GenPRES

Departments Module

Collects the distinct departments named by the dose rules, the solution rules and the reconstitutions, and tests whether a department is known.

Functions and values

Function or value Description

isKnown departments department

Full Usage: isKnown departments department

Parameters:
    departments : string array
    department : string

Returns: bool

Returns whether the department is one of the departments.

departments : string array
department : string
Returns: bool

ofRules doseRows solutionRows reconstitutions

Full Usage: ofRules doseRows solutionRows reconstitutions

Parameters:
Returns: string array

Makes the departments from the dose rules, the solution rules and the reconstitutions.

doseRows : DoseRuleData[]
solutionRows : SolutionRuleData[]
reconstitutions : Reconstitution[]
Returns: string array

Type something to start searching.