adewg / ICAR

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

Add icarConsignmentType on MovementDeathEventResource #192

Closed dirbSEGES closed 3 years ago

dirbSEGES commented 3 years ago

Hi,

in case of death/culled we need registrate a destinationlocation(locationid of disposal operator) . So could ConsigmentType be added?

Another solution could be that DepartureKindType was extented with 2 ekstra selections Death(deceased) and Culled?

ahokkonen commented 3 years ago

In NCDX data exchange solution we are solving death registration via "Departure" event and we do have these statuses for departure type/reason (for example Died, Lost, etc.)

In death event we already have a field for "disposalOperator", but seems like it is not enough for your needs?

dirbSEGES commented 3 years ago

We also handle death/culled as a depature in our system. So from our side it could really good if the DepatureKindType is extented with 2 extra selection death and culled. Then there are no resaon to add extra fields on DeathEvent.

ahokkonen commented 3 years ago

Personally I would prefer to use DeathEvent for registering death, but we might need to extend/adopt it for our requirements

dirbSEGES commented 3 years ago

If we need to used the DeathEvent we will set a very low standard for the data we will recieve. We don´t want to go that way.

cookeac commented 3 years ago

Before getting into the syntax of the fields, you need to be clear about the semantics of what you are expressing by the choice of messages:

You can then address the additional data fields that are required in the relevant event. For instance, the death event has:

I think there is a good case that deaths should optionally support icarConsignmentType (as the arrival and departure events do). This would allow more detailed transport and destination information to be captured on the removal of the dead animals. I would be happy to recommend this at the next technical group meeting.

If the animals leave the farm alive, then the departure event should be used. If you were culling animals, I would anticipate that:

dirbSEGES commented 3 years ago

I do understand the semantics of the 2 messages. And I´m trying to fit our system into it.

So if we must use Death event i suggest a field deathKind with the selection:

dead (passed away - expression indicating that the animal died without human intervention) euthanised

We need to differentiate between these 2 kinds of "death" .

It will really help a long way if icarConsignmentType is supported in the deathEvent, then we can recieve the destination location in with right id and scheme.

cookeac commented 3 years ago

At a recent meeting we discussed several options:

  1. Merging Deaths and Departures - this would be a structural change that would be more suitable for a major version number change, although it could be achieved without breaking changes with appropriate documentation. It will not match recording systems in many countries (including national registration systems) where deaths are considered separate from movements.
  2. Insisting that a Departure event is recorded after a Death, so that there are two events where animals may be registered on a farm (a birth/registration event or an arrival event), but only one event where they leave the farm. This will also not match recording systems where a death event is considered sufficent to remove the animal, or countries where on-premise disposal is allowed (extensive farms, small animals, or abattoirs).
  3. Adding a consignment property that recognises that in some cases recording a death will require recording the destination of movement for the corpse. This is my preference but we will discuss at the next meeting.

I agree that a deathKind (or perhaps deathMethod?) should be defined. This might have two or three valid values:

dirbSEGES commented 3 years ago

Hi, We are fine with using Death, if consignment and deathMethod is added to the resource.

cookeac commented 3 years ago

Fixed in #204