The determination of the amount of immunoglobulin D in a sample. The trait is Experimental Factor Ontology id EFO_0020463 (immunoglobulin D measurement).