Designing an intelligent IoT and AI-based model for safer blood extraction and transfusion with accurate heart attack risk prediction