Code to pull database records to provide a checklist for observations for a mobile application