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 feed utilisation/allowance event #382

Closed
cookeac opened this issue Apr 12, 2023 · 5 comments · Fixed by #396
Closed

Group feed utilisation/allowance event #382

cookeac opened this issue Apr 12, 2023 · 5 comments · Fixed by #396

Comments

@cookeac
Copy link
Collaborator

cookeac commented Apr 12, 2023

Now that we can support group events, it would be useful to have a group feed utilisation event analogous to the individual animal feed utilisation event.

@cookeac
Copy link
Collaborator Author

cookeac commented Jun 14, 2023

Proposed fields for an icarGroupFeedingEventResource based on icarGroupEventCoreResource.
Note that as it is for a group, it is not a feed intake - the individual animal intakes are not known, so you cannot convert a group feeding event to a set of individual animal feed intakes.

Proposed fields:

Attribute Type Description
feedingStartDateTime icarDateTimeType The RFC3339 UTC moment the feeding started. (Note that eventDateTime represents the end of feeding.
feedVisitDuration icarFeedDurationType The length of time of the feeding.
feedPerAnimal array of icarConsumedFeedType Gives the feed offered to and consumed per animal (average).
rationPerAnimal array of icarConsumedRationType Gives the ration offered to and consumed per animal (average).
device icarDeviceReferenceType Optional information about a device used for the feeding, if relevant.

cookeac added a commit to cookeac/ICAR that referenced this issue Jun 14, 2023
Add a resource for group feeding or feed allowance. Resolves adewg#382
@cookeac
Copy link
Collaborator Author

cookeac commented Jun 14, 2023

Draft PR for review #396. Still to add to the URL schemes.

@cookeac
Copy link
Collaborator Author

cookeac commented Jul 27, 2023

Suggestion - to identify groups (where we do not have animal identifiers) consider adding reference - a string - to the icarInventoryClassification.

@ErikUniformAgri
Copy link
Collaborator

Suggest to add dryMatterPercentage to icarConsumedFeedType and icarConsumedRationType

@cookeac
Copy link
Collaborator Author

cookeac commented Sep 21, 2023

We agreed with adding dryMatterPercentage.
We would like to change the way times are managed:

  • eventDateTime is the time that feed is available to animals (effectively the start date time for animals eating)
  • feedingEndDateTime (if supplied) is the end time at which animals could consume the feed.

Remove the feedingStartDateTime (this is now replaced by eventDateTime), and feedVisitDuration.

cookeac added a commit to cookeac/ICAR that referenced this issue Sep 28, 2023
Update to match comments on adewg#382
- Allow total as well as per-animal average feed and ration quantities
- Remove start date-time and duration
- eventDateTime is now start of feed availability for animals.
- feedingEndingDateTime is time feed is no longer available for animals.
@cookeac cookeac linked a pull request Sep 28, 2023 that will close this issue
cookeac added a commit that referenced this issue Oct 9, 2023
Add icarGroupFeedingEventResource. Resolves #382
@cookeac cookeac closed this as completed Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants