Issue with nested repeat regions

I have been struggling to get the nest repeat region to display the data that i want correctly for several days. Just when i think i have it correct, it just doesn’t display what i want.

Here is a basic structure of my querys

Query 1 - gets patient ID number
Repeat Region 1 - Runs through Query 1 to get the names
Query 2 - Within the repeat region of this i am going and finding out specific dates that this patient was seen through a query
Repeat Region 2 - loops through the Query 2 to show all of the dates

Results should look like this

Patient Name
** Date**
** Date**
** Date**

However, i am not able to get the system to loop through the dates. The patient name shows correctly, but the dates are only showing the very first record date and no others (see screenshot)

From the screenshot you can see that i see the data in the results section (highlighted) but no matter what repeat region i setup on the App side, it doesn’t show this data

can you please help me and tell me what i am going wrong

Community Page
Last updated: