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

Changes for parturition event with new progeny details #243

Merged
merged 7 commits into from
Sep 24, 2021
Merged

Changes for parturition event with new progeny details #243

merged 7 commits into from
Sep 24, 2021

Conversation

ahokkonen
Copy link
Contributor

Resolves #191

Added new types for progeny details and enumeration parameters for progeny birth statuses.
Note! This is a draft PR - work is still in progress and will be progressed after first reviews/comments.

- added new type for parturition progeny details
- added new common enumeration for parturition progeny status
Copy link
Collaborator

@erwinspeybroeck erwinspeybroeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I wonder if it would not be better to leave out the progeny array at all - but probably needed for backwards compatibility I guess - for version 2.0 ....

@ahokkonen
Copy link
Contributor Author

@erwinspeybroeck as far as I remember we agreed on leaving the original array, but marking it as 'deprecated'. And we can then remove it completely in 2.x

@dirbSEGES
Copy link

Hi, what about the birthWeigtScore?

@cookeac
Copy link
Collaborator

cookeac commented Aug 28, 2021 via email

@ahokkonen
Copy link
Contributor Author

ahokkonen commented Aug 31, 2021

@erwinspeybroeck @dirbSEGES

New field is added for "birthSize" using enumeration for common codes.

@cookeac I'm still a bit unsure we we want to use Resource based type for icarParturitionProgenyDetailsType, any reason for having it like that?

- added managementTag and name
@ahokkonen
Copy link
Contributor Author

One thing in addition - should also sire information be added for the progeny details or for the parturition event?

@erwinspeybroeck
Copy link
Collaborator

looking from our perspective I would say no sire information to be added there. We always derive the sire based on reproduction events

@dirbSEGES
Copy link

The same from our perspective

- renames some birth status parameters
- added optional tagging date
@ahokkonen
Copy link
Contributor Author

Added a few changes - I guess having "DiedBeforeTaggingDate" instead of a "DiedBeforeOfficialRegistrationDate" is a more correct term. What you think @erwinspeybroeck @dirbSEGES @cookeac

@dirbSEGES
Copy link

Ok, from our side.

@erwinspeybroeck
Copy link
Collaborator

As long as the definition of what is meant is right - in fact it means the time the farmer has to officially tag the animals, I guess

@ahokkonen ahokkonen marked this pull request as ready for review September 21, 2021 07:41
@ahokkonen
Copy link
Contributor Author

PR opened for the official review
@cookeac @erwinspeybroeck @alamers

@ahokkonen ahokkonen merged commit b3bcb19 into adewg:Develop Sep 24, 2021
@ahokkonen ahokkonen deleted the issue191-progeny-revamp branch December 2, 2021 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants