I have a table of patient ids with the date of their first hospital visit in a column called firstcontactDTE. This table is called patientvisits.
I need to use first