Logo GenPRES

Validation Module

Holds the validator that checks that the id, the name and the birth date of a patient are all given or all absent.

Functions and values

Function or value Description

identityValidator field (arg2, arg2, arg2)

Full Usage: identityValidator field (arg2, arg2, arg2)

Parameters:
    field : string
    arg1 : string
    arg2 : string
    arg3 : 'a option

Returns: ValidationResult<string * string * 'a option>
Type parameters: 'a

Checks that the id, the name and the birth date are all given or all absent.

field : string
arg1 : string
arg2 : string
arg3 : 'a option
Returns: ValidationResult<string * string * 'a option>

Type something to start searching.