GenOrder


Prescription

Namespace: Informedica.GenOrder.Lib

Types and functions that presents a Prescription, i.e. either a process, or a continuous prescription or a discontinuous prescription with or without a time

Nested types and modules

TypeDescription
Prescription

Type that represents a prescription

Functions and values

Function or valueDescription
continuous n
Signature: n:string list -> Prescription

Create a continuous Prescription with name generated by string list n

discontinuous n
Signature: n:string list -> Prescription

Create a discontinuous Prescription with name generated by string list n

freqTime n
Signature: n:string list -> Frequency * Time

Create Frequency and Time with name generated by string list n

fromEqs eqs prs
Signature: eqs:Variable list list -> prs:Prescription -> Prescription

Set a list of Equation eqs to a Prescription prs

isContinuous _arg1
Signature: _arg1:Prescription -> bool

Check whether a Presciption is continuous

isTimed _arg1
Signature: _arg1:Prescription -> bool

Check whether a Presciption is discontinuous with a time

process
Signature: Prescription

A Process

timed n
Signature: n:string list -> Prescription

Create a timed Prescription with name generated by string list n

toEqs prs
Signature: prs:Prescription -> VariableUnit option * VariableUnit option

Turn Prescription prs into VariableUnits to be used in equations

toString prs
Signature: prs:Prescription -> string list

Turn a Prescription prs into a string list

Fork me on GitHub