Medicolegal is something that involves both medical and legal aspects, mainly:
Medical jurisprudence, a branch of medicine
Medical law, a branch of law
In simple language it is a medical case with legal implications for the attending doctor where the attending doctor, after eliciting history and examining the patient, thinks that some investigation by law enforcement agencies is essential . Or a legal case requiring medical expertise when brought by the police for examination.