HerdView

- a PC-program for interactive analysis of reproduction and health in dairy herds.

Iver Thysen (iver@thysen.dk) & Carsten Enevoldsen (ce@life.ku.dk)

[Home] [Introduction] [Download Program and Demo Files] [A Veterinarian's User's Guide] [Creating definition and data files]


Veterinary Herd Analysis with HerdView: A Short Introduction to Practical Use

Carsten Enevoldsen
October, 5 1995

Contents

Introduction
Getting started
Which events occur and at what time of year
When did the events occur as related to lactation stage?
Differences in analysis results for different groups of cows in the herd - do they exist?
How were the insemination and pregnancy rates in the herd?
Other possibilities with HerdView
How to save and print results from an analysis with HerdView
Without a mouse
Exit programme
Literature

Introduction

Through the work with single animal treatment in the cattle herd, the veterinarian gets insight in the most important health problems and how they arise. It may, however, be difficult to get insight in the development in the herd as a whole because the age and calving distribution change during the year. HerdView is a PC-programme providing such an insight in the composition of a cattle herd and the development in events during time. In the following, the use of this programme is briefly described. Details concerning development and construction of the programme as well as use and interpretation of results and perspectives for application are described in detail in the literature listed below.

Top of page

Getting started

Go to the directory where the analysis programme is stored with examples of herd data. If the programme and the data are on a floppy disk, then put the floppy disk in the floppy disk drive and type 'a:'. (It is however more appropriate to install the programme on the hard disk of the PC.)

The following description applies with a mouse installed on the PC. What to do without a mouse is described at the end of this instruction.

Type 'herdview' and press the 'Enter' key. Now the HerdView programme is started.At the top and bottom of the screen, menus appear on 'bars'. Move the mouse cursor to 'Files' and 'click with the mouse', i.e. press the left button and let go immediately. Now a new menu appears. Click 'Definitions'. On the menu a series of file names appears. They serve to group events (mainly disease diagnoses made at treatment).

When the programme is used for the first time, the mouse cursor is moved to 'dk-herd.def' followed by a click after which the file name is highlighted. The mouse cursor is then moved to 'OK' followed by a click. The highlighting is now off, but the name of the selected definition file appears at the bottom right corner of the screen. Again the mouse cursor is moved to 'Files'. Click and click again at 'Data'. Now a list of available herd files appears. The herd of interest is selected by clicking the file name followed by clicking 'OK'. Now the herd data are retrieved with a speed according to the capacity of the PC. The name of the selected data file also appears on the bottom bar.

In case the number of events (symbols) are high, the lists may be very crowded. This may be solved by clicking 'Edit', and a menu appears. Click 'Events', and a menu box appears in the middle of the screen listing the definitions of symbols used in the list. By moving the mouse cursor to the 'right arrow' at the bottom of the menu box and keeping the mouse button down, the list of symbols can be scrolled down. The same procedure with the 'left arrow', will scroll up the list. If the mouse cursor is placed on the 'button' between the right and left arrow at the bottom of the menu box, it is possible to move fast up or down in the menu box by keeping the mouse button down and moving the mouse to either right or left. Moving up or down is also possible by using arrow keys (up and down).

Now highlight the symbol for one or more events to be deleted - for example 'High SCC' - by clicking the line in question. Then press the 'Delete' key on the keyboard which makes the line grey. To cancel the choice, recall the event by pressing the 'Insert' key. After having chosen symbols - click 'OK'. By repeated retrievement of data (which takes some time), the list is restored without the deleted symbols. By suitable combinations of 'xx.def'- files and editing of events whatever complexitivity of the event list can be designed.

HerdView can now provide precise answers to the following questions - questions, which are crucial to an epidemiological analysis of data from a dairy herd.

Top of page

Which events occur and at what time of year

Click 'Statistics'. Select 'Frequency'. Now a list of definitions of symbols appears on the screen. The number of events with each symbol of the herd in question is given after each definition. The list of symbols can be scrolled up and down as described above. Now highlight the symbol for calving. In the menu box a submenu entitled 'Frequency type' appears, in which 'Number' should be highlighted. Click 'OK' with the mouse, and the symbol for calving will be highlighted on the screen. At the bottom of the screen a box with bars showing number of calvings per week during the last 60 weeks before the latest test day appears. The calving distribution in the herd is thus visualized.

The chart can be erased by clicking somewhere on the chart box. Thus a green so-called 'icon' appears at the top left corner of the chart box. By clicking on this icon, the screen is cleared. The chart box can also be removed by clicking 'Statistics' again and then clicking 'Delete' on the menu.

Select 'Statistics' again and then 'Frequency' and 'Udder treatment'. HerdView only shows the cows with this treatment symbol and the symbols are highlighted. At the bottom of the screen, the number of udder treatments per week during the year appears. Thus it is possible to evaluate, whether the event occurs in connection with a calving or at a certain time of year. Clear the screen again.

Top of page

When did the events occur as related to lactation stage?

Click 'Statistics' and select 'Lactation time analysis'. Then the list of symbols again appears at the bottom. At the top, a menu box with three choices appears. 'Start' is automatically marked with '(+)', when the box appears. Click at the calving line. Click 'Event' in the top menu box. Then click the event to be examined, for example 'Udder treatment'. Finally, click 'Censor' in the top menu box, after which 'Slaughtering' is clicked in the bottom box. By doing this, slaughtered animals are 'censored', i.e. they are excluded from calculations of the daily risk of diseases when they have been slaughtered.

Click 'OK'. After a while - depending on herd size and PC capacity - a new screen picture appears. For each cow, the time from start to event marked with a coloured bar appears. By pressing the keys 'Page down' and 'Page up' (often abbreviated 'PgDn' and 'PgUp') it is possible to 'browse' the list. The arrows and the button farthest to the right on the screen can also be used when browsing up and down. It is now clear, whether the time from start to event varies during the year. If a larger number of bars for cows having calved at different times of year end at the same time, the events probably take place independently of calving.

At the bottom of the screen, a chart with number of weeks after start on the horizontal axes is shown. On the vertical axis, the 'accumulated' percentage, where the event took place as related to any time after start, is shown. The highest bar shows for example '% pregnant of calvings', if 'Positive pregnant check' is 'Event'. The slope shows how large the 'Event risk' (hazard) is at any time after start (calving). A steep rise during a lactation period means that a large part of so far 'event-free' animals has experienced the event in question during the period. As the number of event-free animals at the end of the lactation often may be very low in typical (small) herds, slopes later than 36 weeks after calving should be interpreted very carefully. If a frequency analysis of the event in question is carried out at the same line, a rather complete picture of the occurrence of the event in question as related to time of year and lactation stage appears. Whatever event can be selected as start of time for such a event analysis. Clear the screen once again.

Top of page

Differences in analysis results for different groups of cows in the herd - do they exist?

Single cows or groups of cows can be deleted from the list and thus be left out of the analyses. Click 'Edit'. Enter 'Parity', if an entire parity group is to be deleted. Now a list of lactation numbers in the herd is shown. If cows in first lactation are to be deleted, click '1', press 'Delete' and then 'OK'. Now a list without cows in first lactation is shown. All above mentioned analyses can now be performed on this restricted group. This makes it possible to compare 'Occurrence of event' in these groups, which is a key part of an epidemiological herd analysis. Deleted parities may be recalled by using the 'Insert' key.

Single cows can be deleted from the list by clicking 'Animal' on the 'Edit' menu. Single cows to be deleted from the list (and thus the analysis), are highlighted by clicking the mouse. Press the 'Delete' key to delete animals. Press the 'Insert' key to recall animals. It may, for instance, be relevant to delete purchased animals or animals with specific diagnoses (e.g. ketosis) from an analysis. This will make it possible to compare analysis results among well-defined groups of animals.

Top of page

How were the insemination and pregnancy rates in the herd?

Choose a herd. The cows' 'lifelines' are shown with '=' to the right of the symbol showing starting time of voluntary wait period. This point in time is calculated individually for each herd as the number of days after calving, when 5% of the cows have been inseminated.

Now chose 'Repro' on the statistics menu. Two charts appear showing the development in insemination and pregnancy ratios during the year. The calculation method is described in a Thysen & Enevoldsen (1994). These two key figures together have a major influence on the time expected to pass before a cow becomes pregnant after calving. The slope in a 'Lactation time analysis' of time from calving to pregnancy is primarily a product of these two parameters and the interval from calving to onset of the voluntary weight period. Analyses performed at The Danish Institute of Animal Science show, that the number of days from calving to the time, when 50% are pregnant, is a valid expression for reproduction efficiency in a herd.

Top of page

Other possibilities with HerdView

All events, which can be assigned a date in a cattle herd, may meaningfully be presented by use of HerdView. Examples: time for sudden drop of yield in cows, claw trimming, and turn out. Such 'events' just have to be available with date and code in the herd file. The user is able to create groups of diagnoses completely like s/he wishes by editing the socalled 'Def.-files'. These may be edited using the 'DOS' command 'Edit'. For further details, see the 'technical' manual for HerdView and the manual for the DOS operating system.

Top of page

How to save and print results from an analysis with HerdView

Choose 'Print' on the top menu bar. Click 'Destination'. If you want to print a chart or a list on the printer linked to the PC, then click 'Print'. If you want to save the screen picture for later (for example for further editing in a word processing programme), then click 'File'. Choice of destination has to be confirmed by clicking 'OK'. Then once again chose 'Print'. If the destination is fixed as print, then click 'Print'. Now a menu appears with choices such as combinations of animal list and graph for prints and a symbol list describing definitions of the symbols shown on the screen appears. By clicking one of these choices, the printer or printing to a file is started.

Top of page

Without a mouse

By pressing the F10 key, the possibility of using keyboard is turned on and off. If one of the menu choices on the top bar is highlighted, it is possible to move from one menu choice to another by using the arrow keys on the keyboard. Choices which were executed by clicking the mouse, now are executed by pressing the 'Enter' key instead. Each time an analysis is terminated, F10 has to be pressed again (menu choice is highlighted). It is also possible to move between menu choices in the submenus by using the arrow keys (up and down). In the menu boxes with more submenus shown at the same time (for example by frequency analysis and editing of animal list) the cursor is moved from box to box by using the 'TAB' key. To exit a menu system, use the 'Esc' key. Clearing the screen is only possible when using 'Delete' in the statistics menu.

Top of page

Exit programme

To exit HerdView, press F7 or chose 'Exit' on the file menu.

Literature

Enevoldsen, C., 1993. Dairy herd health management. Ph.D.-thesis. 138 pp. (In Danish with English summary)

Enevoldsen, C. & Thysen, I., 1990. Sundhedsstyring i mælke- og kødproduktionen: 1. En metode til beskrivelse af sygdomsforekomsten i kvægbesætninger. Dansk Vet. Tidsskrift., 73:74-80.

Thysen I. & Enevoldsen, C., 1994. Visual monitoring of reproduction in dairy herds. Preventive Veterinary Medicine, 19, 189-202.

Top of page

Page by Iver Thysen iver@thysen.dk  Updated 17 October 2011