I have an app that keeps track of the number of newborn visits and child visits made to children. Newborn are children under 30 days old while child is over 30 days old and upto 24 months.
Both child and newborn are on separate modules but case name is child. The case list is using filter function to get list of newborn as well as list for child. I’m trying to use the coalesce function to be able have the display the number of each visit done to newborn or child but in each case I only get the visit 1 even after for cases where visits been done more than once. The pregnancy visits work okay but newborn and child seem to have a problem. Your support is much appreciated.