What is the ideal way of documenting that a patient refuses an investigation or treatment in cases of e-prescription(EMR)? Suggestions.

it is often difficult to get it signed by patient or relatives in EMR.