Skip to main content.
Index | Support | Documentation | FAQ | Forum

Read300a (Version 3.00.01) - October 2008 .... December 2008

Version 3.00 is a major upgrade to Premvet - you should ensure you have a backup PRIOR to upgrading as you will NOT be able to just roll back the upgrade.

If you are cross updating with other sites you should ensure that all sites are upgraded about the same time (+- 2 days).

Data Major

All stock and AP items are now available in DataMajor. There is a link between the client record and the items sold/dispensed.

Stock DM table 'stockprice' contains a list of all Stock items currently on file. This is updated when you exit the stock menu after changing items.

AP DM Table 'autoprice' contains a list of all AP items currently on file. This is updated as and when changes are made to AP cards.

Clinical table - some columns have been added.

DispFeeAmount If a dispensing fee is INCLUDED in the total - this will be the amount.
ClinCode Diagnostic Coding (for a future feature).
ItemCost The cost of the item at the time of sale.
SANumber The Stock Number (or AP Item number) - this allows links to be created to stockprice and autoprice tables above.
SubAnalysis Sub-Analysis Code (for a future version)
UserIDW User ID doing the work - this is different to the existing 'UserID' which is the ID of the user logged in.
StkSub Stock Sub Unit used.
ClinLocation Location (for a future version)
ClinRecType The type of record this is. A full list of the record type is in the full DataMajor manual.
ClinClass Class the animal is in at the time of transaction

Animal Table - New column 'DiscField' - this contains exactly what is in the Discount field on the animal record card.

Client Table - There may be a need for a 'Unique' client number rather then a unique animal number. There is a new EXPERIMENTAL column CID (Client ID) on the client table as needs arise the format of this entry may change.

The changes above to the Clinical, Animal and Client tables can be 'disabled' by either setting the params.txt entry

      New_DM_V3 = No 
or by using the startup option "-o oldclint". By default they will be enabled.

The FullDateTime column has been changed so it reflects the date and time the record was added to the system. TransactionDate is unchanged and reflects the date the work was done.

Diary Plus

The log-file with details of deletions has been renamed to 'ndiary.log' and will now include any appointment transfers.

Retired Options

The following options have been removed from the system:

AVID PetTracker

On-Line registration - you can register the chip directly with AVID when it is implanted. There is a new reserved word in definition files:

    @AVID(&idchip:&ref,1)

This will pass the Chip number (&idchip), and the animal number (&ref) along with a flag to the on-line system. The flag can be either a 0 or a 1, if it's 1 then the response from the AVID server will be included, set to a 0 you will not get any feedback.

This will allow you to include on the submission form if the chip has been registered successfully or not.

You do need some params.txt entries so you can be identified, please contact AVID for your details. The mandatory settings are:

    PetTrac_Org_PostCode = `Your Postcode` 
    PetTrac_Org_Name     = `Your Name` 
    PetTrac_Org_Serial   = `AVID Practice Number`
    PetTrac_Org_Password = `AVID Password`

There are 2 other settings that are defaulted and will only need changed if the registration url is changed or you need to alter the way the animal is registered.

   PetTrac_URL = `URL used for Registering`
   PetTrac_SelfReg = False  
(For Rescue/Welfare centers set PetTrac_SelfReg to True to be included as the alternative contact.)

System Date

Where possible the system will now always use a 10 character date.

If there is no need for you to back-date work you can set the params.txt entry

         System_Date = yes
This will cause Premvet to ALWAYS use the current date and time maintained by the system. When this is set

Automatic Pricing - Status Logging - a new column has been added with the system date the log entry was added.

Operation Consent/Recovery Forms

The questions asked for Operation Consent (Recovery, Vaccination and Euthanasia) have till now been 'hard coded' - that is you cannot alter them. With this release you can - the default behaviour is 'no change' so you do not need to alter the existing files.

There is a new definition file option '.OQ' (Old Question), these can be specified in the file, and rather than using the wording we allocated it will use the new one. If the option is left blank the question will not be asked. See the FAQ section of the Premvet Web Site for examples and details of the reserved words.

PDF Printing

If you have a printer setup that is capable of 'Direct PDF printing' (See read220q) - any PDF file can be added to your index files (def.idx, filter.idx or windows.idx). When selected, will be sent directly to the printer. This allow handouts and guides to be printed graphically even from 'Dumb' Axel/Wyse terminals.

If the Recovery form you select is a PDF - it will also print it directly (if you need to merge in client/animal details you will need to use PDF forms see guide pdf.txt). The operation will be removed from the list.

Reserved Words

The following reserved words are available:

&REFERFAX Referred By - Fax Number
&REFEREMAIL Referred By - E-Mail Address

When doing 'MailMerge' the Client 'Initial' is also added to the WordCSV.csv file. This is the same as the reserved word &INITIALS.

Clinical Reports

When running one of the clinical history reports you have two formats, plain text and the nicer looking groff. This does limit you for sending fax's and E-Mail's where you may want a different format. It is possible to have complicated .filter entries but is not suitable for all. A new params.txt entry:

     Report_XX_Filter = Blah_Blah
has been added. This can be set once and it will automatically handle any format changes. The 'XX' should be replaced with the report number. Here is one of the more elaborate examples to generate a PDF file and then mail it out to the client.
    Report_13_Filter = groff -P -pa4 -t -ma4 -mm -Tps %% | \
     ps2pdf - >/tmp/$$.pdf echo "Sample Report - Seen Out of Hours" | \
     mutt -s "Clinical Report" -a /tmp/$$.pdf ${EMAIL} ; rm /tmp/$$.pdf
The %% will be replaced with name of file.

Protocols

Can be called automatically at various parts of the system. This will enable you to start off procedures, prompt for record updates, log additional information etc.

You create a protocol (named as per the table below), tell the system you want it to be used (activate it).

See the main protocol documentation for creating the protocol, to activate use the params.txt entry:

Call_Protocol = x x1 x2 x3 x4 .... Where x x1 x2... are the protocol number(s) below.
(You can enter * to indicate all - depending on m/c spec may degrade system performance).

No Name Where Called
1 pva001 Entering Auto Pricing
2 pva002 Entering Clinical Screen
3 pva003 Adding to Waiting Room List from record card
4 pva004 Just BEFORE Estimate generated.
5 pva005 Just AFTER an estimate generated
6 pva006 Just before MR prompt Line appears
7 pva007 Dummy - same as 1 - hook in auto not menu
8 pva008 Finished with Auto Pricing

Please let us know other places where you may want to start of a procedure/log/protocol.

MOBILEOK
Works in a similar fashion to mailok and insuok - will exit silently if there is 'something' in the mobile telephone number field.
SAVEIT
The opposite of NOSAVE - when an Automatic protocol is called the NOSAVE flag will be set. If you are wanting a copy always saved then add [SAVEIT] to the body of the protocol.
LOOKUP X
This will return details from the vet System lookup tables x=13 Insured Tables
WARNING date1
Will pop_up a message is date is past or is due to expire in the next 30 days)

Options to SHOW

DATE1 Date from Additional Screen
REF1 Reference field from Additional Screen
MOBILE Mobile Phone Number

Reserved Words

&date1 Date from Additional Screen
&ref1 Reference field from Additional Screen
&mobile Mobile Phone Number

Options to SETV

INSURED Set the insured field
DATE1 Set the date 1 field
REF1 Set the ref 1 field
MOBILE Set the mobile number

When mailok, insuok and mobileok are used - normally if the protocol is called automatically or via AP they will cause the script to exit if set - they will NOT exit if called via the pr'O'tocol menu option.

Sample files included:

pvsinsu.pro Setting Insurance details.
pvsmob.pro Setting Mobile Number.

Both setv mail and setv mobile will update ALL related animals.

Lab Screen (Screen 1)

Graphing Lab results, normally the system will use the exact test from the table of tests, if however the test has been added via LabLink the system does not associate the test received with the manual tests. This makes graphing manual and automatic tests impossible. If you just press RETURN on the list of test the system will prompt for text - the results associated with the text will be used. Normal ranges and Units used will be taken from the 1st match made.

Windows Terminal Identification - Anita

Normally the system will use the 'IP Address' or DNS entry the P.C. is connecting from, this does give problems in some environments - specifically Windows Terminal Servers. To use the 'Windows Name', in Anita, select Config, Unix Env setup - make sure enable is ticked, and in the table enter PVWINT=%CLIENTNAME% - click OK then File - Save.

The next time you connect the Windows Terminal Name will be used. You can replace %CLIENTNAME% with any name you want and the system will use that.

SSH - Secure Shell Identification

If you have connected via SSH then the IP address of the Client will be used rather then the IP address of the connection.

With this and the above, you may need to alter the terminal settings as the default names may have changed. Please check master.dev if any settings are altered.

Cross Updating

As this release of Premvet stores the procedure involved on the clinical line - any cross updating sites MUST have the same procedure (and stock) items. The recommended procedure is to have a central file maintained at the main site. If for any reason you wish to limit price changes you can:

Misc