Describe your approach to integrating third-party APIs with legacy healthcare systems while maintaining data integrity.