// Store all access logs mapping (address => AccessLog[]) accessLogs; // Add a new access log function addAccessLog(address doctor, address domain, string resource, uint timestamp) public { // Store access logs into contracts accessLogs[doctor].push(AccessLog{doctor, domain, resource, tim...