Field Layout for Demographic csv files

 

  1. Circuit number  – cmi_herds.cir_no
  2. District number – cmi_herds.cir_dst_cd
  3. Fieldstaff name – cmi_contacts.surname and first_name
  4. Province – cmi_herds.prv_cd
  5. Herd – cmi_herds.id
  6. Owner’s first name – cmi_contacts.first_name
  7. Owner’s last name – cmi_contacts.surname
  8. Publishable Ind – ais_herd_service_plans.publish_ind
  9. Service Plan – cmi_herd_service_plans.service_plan_abbr
  10. Latest test date – cmi_herd_test_periods.test_date
  11. Number of animal – cmi_herd_test_periods.cows_in_herd_num
  12. Number of 1st lactation with unique id – cmi_herd_test_periods.cows_reg_no_first_lact_num
  13. Number of 1st lactation more than 90 days from first_test – cmi_herd_test_periods.active_cows_1st_lact_ftd_num
  14. Number of 1st lactation with verified id – cmi_herd_test_periods.active_cows_1st_lact_ftd_pv_num
  15. Number of animals with unique id – cmi_herd_test_periods.cows_reg_no_num
  16. Number of animals in milk – cmi_herd_test_totals.num_cow_milk_lact
  17. Number of animals with milk – cmi_herd_test_totals.num_cow_prod_milk
  18. Number of animals dry – cmi_herd_test_totals.num_dry_cows
  19. Number of heifers – counted from cmi_herd_animals where heifer_ind = 1
  20. Number of old heifers  (3 yrs +) –  counted from cmi_herd_animals where sex = F  and heifer_ind = 1 and age is 3 years or more
  21. Number of breedings – counted from cmi_breedings for non-heifers serviced within one year
  22. Number of heats – counted from cmi_heat_dates for non-heifers in heat within one year
  23. Number of pregnancies – counted from cmi_pregnancies for non-heifers and preg-checked within one year
  24. Number of health events – counted from cmi_healths for non-heifers and observed within one year
  25. Milking brand code– cmi_barns.mbr_cd
  26. Milking brand description – Text description for cmi_barns.mbr_cd
  27. Milking system type code – cmi_barns.mkt_cd
  28. Milking system type description – Text description for cmi_barns.mkt_cd
  29. Feed system code  – cmi_barns.feed_sys_type
  30. Feed system description – Text description for cmi_barns.feed_sys_type
  31. Barn layout code – cmi_barns.layot
  32. Barn layout description – Text description for cmi_barns.layot
  33. Number of milking units – cmi_barns.milk_machine_num
  34. Number of owned meters – cmi_barns.owned_meter_num
  35. Number of rented meters – cmi_barns.rental_meter_num
  36. Unit of measure – cmi_barns.unit_measure
  37. Number of animals in lactation 1 – counted from latest cmi_animal_tests for lact_no = 1 and animal is not sold
  38. Number of milking speed records – counted from cmi_animals for animals with lact_no = 1 on the latest test
  39. Number of temperament records – counted from cmi_animals for animals with lact_no = 1 on the latest test
  40. Number of calving ease records – counted from cmi_calving_easy for the lact_no current on the latest test
  41. Number of calving ease with sire – counted from cmi_calving_easy for the lact_no current on the latest test with sire_reg_id not null
  42. Last date meters verified – cmi_meter_verifications.verfctn_date
  43. On DAISY option – cmi_herd_contact_options
  44. Electronic File Type – from cmi_herds.elec_file_type
  45. Rolling Percent 1st lact verified – fields 13 and 14 summed over a 380 day window from the last test expessed as a percentage
  46. County – Text description for cmi_herds.cny_cd
  47. Herd average Current BCA for Milk – cmi_herd_test_averages.curr_bca
  48. Herd average Current BCA for Fat – cmi_herd_test_averages.curr_bca
  49. Herd average Current BCA for Pro – cmi_herd_test_averages.curr_bca
  50. Number of ERA – counted from cmi_era_animals – accumulated fiscal year-to-date value (from Oct 01)
  51. Number of heifer breedings – counted from cmi_breedings for animals currently flagged as heifers and serviced within one year
  52. Number of heifer pregnancies – counted from cmi_pregnancies for animals currently flagged as heifers and preg-checked within one year
  53. Number of uniquely identified heifers  –  counted from cmi_herd_animals where sex = F and heifer_ind = 1 and reg_id is not null
  54. Number of id verified heifers  –  counted from cmi_herd_animals where sex = F and heifer_ind = 1 and pedigree status is “verified”
  55. Number of males  –  counted from cmi_herd_animals where sex = M
  56. Health Events Recorded code – from cmi_herd_test_periods.health_events_recrd
  57. Health Events Recorded – text description for cmi_herd_test_periods.health_events_recrd
  58. Number of Health Events for retained placenta – counted from cmi_healths for non-heifers and observed within one year
  59. Number of Health Events for metritis – counted from cmi_healths for non-heifers and observed within one year (includes acute, chronic and endometritis)
  60. Number of Health Events for ovarian cysts – counted from cmi_healths for non-heifers and observed within one year
  61. Number of Health Events for mastitis – counted from cmi_healths for non-heifers and observed within one year
  62. Number of Health Events for lameness – counted from cmi_healths for non-heifers and observed within one year (includes foot rot, arthritis, sole bruise, sprain, laminitis, white-line, periarthritis, bulb ulcer and sole ulcer)
  63. Number of Health Events for ketosis – counted from cmi_healths for non-heifers and observed within one year
  64. Number of Health Events for milk fever – counted from cmi_healths for non-heifers and observed within one year
  65. Number of Health Events for displaced abomasum – counted from cmi_healths for non-heifers and observed within one year
  66. Turnaround – Test to Herd header upload
  67. Turnaround – Test to Lab header upload
  68. Turnaround – Test to Match end date
  69. Turnaround – Test to Mail