Quantification of 3-hydroxybutyrate in a sample. The trait is 3-hydroxybutyrate measurement (EFO_0010982).