Ensuring patient privacy and accuracy of analytical methods to support evidence-based healthcare