The determination of the amount of interleukin-22 in a sample. The trait is EFO_0020498 (interleukin-22 measurement).