-
Notifications
You must be signed in to change notification settings - Fork 1
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
Split the first intervention into a casual observation and the intervention itself #77
Comments
Discussed with @damianooldoni It's probably better on the early alert side to only send emails for: datasetkey + occurrenceID + eventID is new However, eventID is not always present for other datasets. So if eventID is present, only send emails for new combinations of datasetkey and eventID. He will discuss with Nico |
We will need a new occurrenceID for the newly created occurrence record, this can be the original id + a suffix: It's not an ideal solution, but we can still try |
This will take a bit more work than I expected, as it's going to require restructuring the current mapping a little bit. |
When creating new occurrences from interventions, the casual observation occurrence if you will, what fields should these new records "inherit" from their parent record? In other words, what columns should be retained when I create a new record based on the first intervention in an event? @LienReyserhove Are there any columns that only make sense for an intervention occurrence record? That should be empty for an observation occurrence record? |
Discussed with @LienReyserhove :
These can be told apart based on @damianooldoni : to be discussed with Nico |
Currently no longer in the pipeline, waiting for new input from Lien/RATO to go ahead |
Request by @LienReyserhove and Karel:
The first intervention for an event can be identified:
For a Dossier_ID, sort on
Laatst_Bewerkt_Datum
, the first date whereDossier_status == Opvoling
-> This is the first intervention. This is when the species was observed for the very first time for that event.We want to split this record into 2 records:
So you can have only the casual observation, but you can't have the intervention without the casual observation.
Any further interventions, don't get a casual observation.
This is rather urgent.
The text was updated successfully, but these errors were encountered: