[Navigation]

Validation

You should periodically check your data for errors by running the validation routines. Any errors should be reported to Premier Vet.

Chapter contents

  • Validation options Running the validation routine
  • Standalone utilities Some of the standalone utilities are concerned with data validation, and can be run from the command line or automatically at user defined intervals

  • Validation options

    Select 'G'eneral apps. - 'V'alidation to display the validation menu. You will see the following choices:

    Validate data files

    This option validates the main data files displaying/fixing any errors that may have crept in. Premvet 5 will prompt for the following parameters before completing a validation run:
    Continue <Y/N> 
    
    Answer as appropriate
    Printout all errors <Y/N>
    
    Answer 'Y'es.
    Automatically fix any errors <Y/N>
    
    Normally answer 'Y'es to this question. However there are certain errors that do not normally affect the running of the system. These include the additional screens e.g. lab, PDSA, condensed history etc. The validation program will fix these errors but in doing so may increase the size of various files. If you are short of disk space then answer 'N'o to this question and fix errors manually.
    Include DD discrepancies 
    
    A side effect of the validation run is a list of all free records. These are records that have either been freed by the archiving options or by broken client chains. If you are using the validation program just to determine the free list then answer 'N'o. If it is being used to help you find dead animals then answer 'Y'es.

    The system will then start validating the files. A summary of all the errors will appear on the screen with more detailed information being printed on the printer. Once the validation has finished make a note of the number of free records, this is the amount of free clinical records that can be re- used.

    Error messages

    Errors that are unimportant and can be ignored:

    Short form errors
    v6w9 corrupted
    pkt errors
    Client name blank
    
    Errors which are not critical but should be fixed:
    Financial amounts don't balance
    
    Edit either the clinical records or management records so the totals agree. If there are numerous messages please refer to the documentation on the validation menu for details on fixing these globally.

    Important errors fixed automatically (if selected):

    Client xxxx management record corrupted
    Client xxxx clinical record xxxx corrupted
    Client xxxx V6MR  W9 pointer corrupted
    
    If you selected 'automatically fix errors' then these errors will have been fixed otherwise refer to the validation menu documentation for further details.

    Errors that are not fixed automatically but which must be fixed:

    Client xxxx is cross linked to client xxxx
    

    Fix short form

    This will rebuild the short form pointers for each client. This option should be used only if the main validation reported 'Short form corrupted' errors.

    Check free list

    See Archiving for details of this option.

    Remove linkage errors

    If the validation reports 'Client XXX is cross linked to client YYY' then this option can be used to remove the errors. You should run this twice, once for client XXX and then again for client YYY.

    Fix main index

    If you are having problems accessing clients by name but can access them by number the main index on the system may be corrupted. This option will quickly re-create the index.

    Restore balances

    If the validation program reports 'Financial amounts differ', this option can be used to restore the management record figures to that on the clinical screen.

    Reorganise files

    See Archiving for details of this option.

    Sort by date & Fix surcharges

    Ignore these options.

    Global changes

    This option will allow global changes to be made to the billing types and discount fields. You are asked 'Enter billing mask'. The first character you enter represents the billing type for small animals, the second for farm clients and the third for equine. If you enter a question mark (?), this means the billing type will be left as it is. So, for example, if you want to change all farm clients to type 'N' and leave the other client types as they are, enter ?N? as the bill mask. You are then asked for the small animal discount field mask, and then the other client types. These work in the same way as the billing type mask.

    Fix related records

    If while accessing clients you find that displaying Tree View or related clients is not working as expected this option could be used to check and fix any clients related incorrectly. Note: For the system to fix errors you MUST print the report.

    Fix pointers back

    If when using the <U>p option to scroll backwards through clinical lines you find the balances are wrong, this option will re-create them.

    Scan financial amounts

    This option will look at all the clinical records for any one transaction that exceeds a specified amount. This option is usually used to locate an incorrect entry e.g. entering cheque card number as a payment.

    Supervised options

    DO NOT USE ANY OPTIONS ON THIS MENU.

    Top Classic New-Style Chapters Sections Index Search