Patient object, 1 or 2 dates

OR

Patent ID, 1 or 2 dates

returns MedicationCustomObject[Integer]