In a German murder trial in which an Afghan refugee has been accused of rape and murder, health data from the refugee's iPhone is being used by the prosecution as proof of murder.