Embedded System Design for Reliable Portable Health Diagnostics