So I've looked everywhere, watched all the YouTubes, etc and can't figure this one out. I have a gallery that is populated by a collection. When I'm just viewing a record, it works great. The problem is when I want to add a new record or records (multiple lines of vital signs). I'm struggling with creating a blank collection, adding data to it from the gallery, and then getting that in to the SharePoint list.
Below is my list:

When I am creating a new patient record, I create my "blank" collection with the following (Vitals is the name of my list in SP:
ClearCollect(colVitalsFormData, Defaults(Vitals));
ClearCollect(colTest, AddColumns(colVitalsFormData, "GalID", 1));
And I get this collection:

And then I populate my gallery with colTest and it shows one blank line like this:

Per another example on the interwebs, I use GalID to help determine where the Add button is with this:
If(
!IsEmpty(colTest),
If(
ThisItem.GalID = Last(colTest).GalID,
//determine if i'm editing or just viewing
If(varFormMode = FormMode.Edit,
true,
false)
)
)
The onSelect of my Add button tries to patch the collection and update the GalID. But it's been through so many changes, it doesn't work and I can't even remember what what kind of working before.
Patch(colTest, ThisItem, {GalID: ThisItem.GalID +1})
And finally I have a button at the bottom that should save every thing to the list but of course I can't get that working because I can't get the collection updated. I currently have the below code on my save button (varPatientID is created on another page when I add a new record to my patient table:
Patch(Vitals, colVitalsFormData, {Patient_ID: varPatient_ID})
I know this has been done...probably by a lot of people but I can't figure it out or find an example on the web. Can anyone help me figure this out??
Thanks!