Toward naturalistic self-monitoring of medicine intake