D3 | Added logging in save patient image