For patchsets, check:

select * from v$version;

For one time patches, it is not that simple.