Here’s a link to a post on a different GSOC project about tracking of patient medication adherence at home. Maybe you could consider adding a separate MAR for drugs taken at home. I’d recommend keeping it separate due to lower confidence/data integrity, people could just put tic tacs in their pill bottle and probably pull a fast one on the clinician observer.