index

Package gb_stvmdeq

Standard functions and procedures for Medical Equipment Code Validation Table


Program units
f_code_exists   Determine if the code exists in the table
f_get_description   Return description for the code

Cursors
stvmdeq_c  


stvmdeq_c

CURSOR stvmdeq_c(
   p_code  stvmdeq.stvmdeq_code%TYPE)
RETURN stvmdeq%ROWTYPE;

f_code_exists

FUNCTION f_code_exists(p_code stvmdeq.stvmdeq_code%TYPE) RETURN VARCHAR2

Determine if the code exists in the table

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

Returns
Y if found, otherwise N


f_get_description

FUNCTION f_get_description(p_code stvmdeq.stvmdeq_code%TYPE)
  RETURN VARCHAR2

Return description for the code

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

Returns
Description