adewg / ICAR

Standard messages and specifications for animal data exchange in livestock.
https://icar.org/
Apache License 2.0
46 stars 26 forks source link

Add missing property "EventDateTime" in resource "icarGestationResource" #459

Closed MartijnBlom101 closed 4 months ago

MartijnBlom101 commented 4 months ago

The resource "icarGestationResource" currently lacks property, "EventDateTime", which is essential for accurate tracking of the date on which it is determined that an animal is pregnant.

Expected Behavior: The EventDateTime property should be added to the icarGestationResource schema. This property should represent the date and time when pregnancy is confirmed or determined.

cookeac commented 4 months ago

icarGestationResource is really a reporting resource providing summary information about a gestation (equivalent to an icarLactationResource). For recording pregnancy confirmation as an event, we recommend using the icarReproPregnancyCheckEventResource, which does have an eventDateTime.

However, I can see the case for adding a latestPregnancyCheckDate or similar to the icarGestationResource. What do other people think?

cookeac commented 4 months ago

We discussed this 2024-04-18 and decided not to add the last pregancy check date, as there may be multiple pregnancy check events. The gestation resource is more of a report or prediction.

We should fix the description of the id which refers to this as an "event".

cookeac commented 4 months ago

Closing this issue in favour of #463