How much upstream and downstream straight length run is essential for an orifice plate flow measurement?

An upstream of 28D and a downstream of minimum 7D is essential for an accurate orifice plate flow measuring system (where D= pipeline diameter). Greater the upstream and downstream length, lesser the flow turbulence and grater the accuracy of the flow measurement.