Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Group assignments missing (feeding, milking, barn) #88

Closed
ghost opened this issue Mar 23, 2020 · 2 comments · Fixed by #127
Closed

Group assignments missing (feeding, milking, barn) #88

ghost opened this issue Mar 23, 2020 · 2 comments · Fixed by #127

Comments

@ghost
Copy link

ghost commented Mar 23, 2020

During the process of implementing a data exchange using the ICAR format we recognized that animals cannot be assigned to groups right now. In our use case animals can be assigned to specific groups to define how they are fed, milked and in which barn area they are located.

A possible integration of that into the ICAR standard could be:

  • add a new resource "animal group" that has the attributes "type" as an enumerated value (e.g. "FEEDING", "MILKING", "BARN") and "name" which describes the group as a string value
  • allow for CRUD on the new resource type
  • add a new attribute "assigned groups" to the animal that consists of a list of "animal groups"
@MetroMarv
Copy link

First minimal proposal for a animal set resource. We use the term "set" instead of "groups" here, because it's more generic.

@cookeac
Copy link
Collaborator

cookeac commented Jul 27, 2020

@thomasd-gea @MetroMarv I'm currently reviewing PR #127 and I note that "type" does not have an enumeration defined (compare with the comment in the issue above regarding standard types). It is probably not useful without either an enumeration or a ID scheme (and I think an enumeration should be suitable initially).

Also I propose renaming the field from "type" to "purpose", only because otherwise the enumeration file will be called icarAnimalSetTypeType.json! This way it would be called icarAnimalSetPurposeType.json.

Some ideas of enumerated values:

Value Meaning
Feeding Used to manage different feeding regimes.
Health Used to manage different health treatments.
Reproduction Used to manage reproduction - for instance, mating group.
Lactation Used to manage lactation - for instance, milking or drying off groups.
Movement A group of animals are being moved together between locations (e.g. arrival, departure...)
Enclosure A group of animals being kept together - in a barn, pen, or paddock.
Session A group of animals being observed or handled together - for instance, a weighing session.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants