When considering imposing such a measure, the investigating judge or the liberty and custody judge shall inform the person under investigation that he or she may request at any time that a doctor check that the procedure described in Article R. 622-1 or the article R. 544-7 du code pénitentiaire does not present a health risk.