Patient permission customization

How can I enable patients to insert their own vitals and other patients won’t able to see any patient’s data except their own?