index

Package gb_immunization_strings

This package contains the error messages and error message functions for the IMMUNIZATION API (gb_immunization).

Message NameError Message
INVALID_PIDMInvalid PIDM for immunization information.
The PIDM does not exist in Banner.
INVALID_IMMU_CODEInvalid immunization code.
Immunization code must exist on GTVIMMU.
INVALID_IMST_CODEInvalid immunization status code.
Immunization status code must exist on GTVIMST.
MISSING_PIDMMissing mandatory PIDM for immunization.
The PIDM for the person must be provided. It is a key value for records in the table.
MISSING_IMMU_CODEMissing mandatory immunization code.
Immunization code must be entered. It is a key value for records in the table.
MISSING_SEQ_NOMissing mandatory immunization sequence number.
Sequence number must be entered. It is a key value for records in the table.
MISSING_USER_IDMissing mandatory value for user.
A valid Oracle ID is required.
PK_NOT_FOUNDCannot find record using primary for immunization.
The combination of key values (PIDM, Immunization Code, sequence number) does not exist.
P_DELETE_FAILEDCannot delete immunization information, record does not exist.
An attempt was made to delete a immunization information record that does not exist.
RECORD_EXISTSCannot create immunization information, record already exists.
An attempt was made to create an immunization information record with a PIDM, immunization code, and sequence number that already exists.


Program units
f_get_error   Returns the error message corresponding to p_errorname.

Variables
error_tab   Global PL/SQL table that holds the error messages.


error_tab

error_tab gb_common_strings.errmsg_tab_type;

Global PL/SQL table that holds the error messages.


f_get_error

FUNCTION f_get_error(p_errorname VARCHAR2)
  RETURN gb_common_strings.err_type

Returns the error message corresponding to p_errorname.

Parameters
p_errorname   Name associated with the error message.