improved emr context argument provider to accept uuids for patient ids