Hello,
I use ODK Central/Collect to capture animal welfare records. That is, collecting records of a human visit to a physical location and recording an interaction with animals such as feeding, verifying water is available and to conduct other husbandry.
I am currently using a 2 form setup, 1 form to track mob movements between paddocks and another to track welfare checks on paddocks 1-many relationship. These records are then combined externally to Central with a python script to match mobs to welfare checks using date/time.
This has some downsides such as no visibility on mob status in Collect and the required compilation of records for analysis and reporting.
New Forms using Entities
The new entities functionality seems ideal for this, I have a staging instance setup with the newest version of central to test entities for this workflow.
Below are my new forms for registering a new mob entity, updating the paddock of an entity and completing a welfare check on a paddock containing entities.
This is a proof of concept so not all fields are included. I currently use a geojson file for paddock polygons, this can be switched to the paddock_list choice list if you don't have a geojson file to substitute. You may also have to remove the parameter value=title if you do this.
Mob Create Entity
Mob Paddock Movement Entity
Mob Paddock Welfare Check
Issue using Entities
I'm struggling to find a way to automatically capture a filtered list of entities in the welfare check form.
In the paddock welfare check form provided I have a select_multiple mobs.csv (entity list) with a choice filter using the user provided paddock name mob_paddock=${paddock_checked}.
This shows all entities/mobs with the user specified paddock name but would then require the user to select all filtered options displayed manually.
Is there some way to capture all filtered entities automatically?
If this was a note field that auto filled that would be ideal to show the user what mobs are in the selected paddock and record them.
Also, using my current select_multiple the entities UUIDs are recorded and not the entity names, is it possible to record all entity names (mob_name) instead of UUIDs?
Thank you for your time, I appreciate any assistance.
Ben