Logo GenPRES

Dto Module

Finds the G-Standaard product of a request Dto and fills the Dto with the dose rules of the product and a dose text.

Types

Type Description

Dto

A Dto to work wih the ZForm library.

Rule

Functions and values

Function or value Description

(

Full Usage: (

Returns: bool -> bool -> Limit option -> Limit option -> bool
Returns: bool -> bool -> Limit option -> Limit option -> bool

(>?)

Full Usage: (>?)

Returns: bool -> bool -> Limit option -> Limit option -> bool
Returns: bool -> bool -> Limit option -> Limit option -> bool

dto

Full Usage: dto

Returns: Dto

An empty Dto.

Returns: Dto

fillRuleWithDosage gpk d r

Full Usage: fillRuleWithDosage gpk d r

Parameters:
    gpk : int - The GPK
    d : Dosage - The Dosage
    r : Rule - The Rule dto

Returns: Rule The filled Rule dto

Fill the given Rule dto with the given Dosage for a given GPK.

gpk : int

The GPK

d : Dosage

The Dosage

r : Rule

The Rule dto

Returns: Rule

The filled Rule dto

find dto

Full Usage: find dto

Parameters:
    dto : Dto - The Dto

Returns: int * string * string * string * float * string * string The Generic Product info

Find the Generic Product info for the given dto.

dto : Dto

The Dto

Returns: int * string * string * string * float * string * string

The Generic Product info

loadGenForm ()

Full Usage: loadGenForm ()

Parameters:
    () : unit

Load the Zindex data in memory.

() : unit

processDto dto

Full Usage: processDto dto

Parameters:
    dto : Dto - The Dto

Returns: Dto The Dto with the rules filled in

Convert the given Dto to a Dto with the rules filled in.

dto : Dto

The Dto

Returns: Dto

The Dto with the rules filled in

rule

Full Usage: rule

Returns: Rule
Returns: Rule

Type something to start searching.