index

Package gb_stvmedi

Standard functions and procedures for Medical Code Validation Table


Program units
f_code_exists   Determines if the code exists in the table
f_get_description   Returns description for the code

Cursors
stvmedi_c   Returns the record from the validation table.


stvmedi_c

CURSOR stvmedi_c(
    p_code  stvmedi.stvmedi_code%TYPE)
 RETURN stvmedi%ROWTYPE;

Returns the record from the validation table.


f_code_exists

FUNCTION f_code_exists(p_code stvmedi.stvmedi_code%TYPE) RETURN VARCHAR2

Determines if the code exists in the table

Parameters
p_code   Medical code referenced on the Medical Information    Form (GOAMEDI).

Returns
Y if found, otherwise N


f_get_description

FUNCTION f_get_description(p_code stvmedi.stvmedi_code%TYPE)
  RETURN VARCHAR2

Returns description for the code

Parameters
p_code   Medical code referenced on the Medical Information    Form (GOAMEDI).

Returns
Description