ValidateName

This function is called by the validation triggers on the naming of each of the Oracle Clinical objects. These objects include discrete value groups, questions, question groups, DCMs, DCIs, Procedures, Where clauses, and queries. As input, the function takes a code for the type of object and the name being validated. If the validation succeeds, the function returns NULL and the user can continue.

If the validation fails, the function returns a varchar2 character string, that contains an error message. The error message is displayed in the status line of the form. This function is called by the following forms that validate the name of the object being created. You can add your own validation to enforce your company naming standards as an example:

  • Maintain DVG
  • Maintain Questions
  • Maintain Question Groups
  • Maintain DCMs
  • Maintain DCIs
  • Maintain Procedures (both Derivation and Validation)
  • Maintain Copy Groups
  • Maintain Where Clauses
  • Maintain Labs
  • Mass Changes