The doctor examined the girl because of financial difficulties