The determination of the amount of d-dimer in a sample. The trait is d-dimer measurement (EFO_0020313).