Legal Considerations in Quality Assurance