Siguiendo la documentación
ALTER TABLE patient
ALTER patientid SET NOT NULL, -- optional
ALTER patientid ADD GENERATED ALWAYS AS IDENTITY
(START WITH 2); -- optional
Agregar NOT NULL restricción si la columna aún no tiene la restricción. La cláusula opcional START WITH start cambia el valor de inicio grabado de la secuencia.
Pruébelo en DB<>Fiddle.