Logo GenPRES

OrderCategory Module

Returns the nutrition category whose rule set names the indication and allows the generic, otherwise Medication.

Functions and values

Function or value Description

ofRuleSets sets indication generic

Full Usage: ofRuleSets sets indication generic

Parameters:
    sets : RuleSet[]
    indication : string option
    generic : string option

Returns: OrderCategory

Returns the nutrition category whose rule set names the indication and allows the generic, otherwise Medication, also when the indication or the generic is missing.

sets : RuleSet[]
indication : string option
generic : string option
Returns: OrderCategory

Type something to start searching.