ALTER TABLE [TableName] ADD CONSTRAINT my_constraint CHECK (PatientType = 'Admitted' OR PatientType = 'OPD')