The line with "Donor accession number" should only be displayed if donorNumb is provided. Now it is displayed when donorNumb === null:
donorNumb
donorNumb === null