The document presents the SPOC framework, a secure and privacy-preserving opportunistic computing solution for mobile healthcare emergencies. It enables medical users to efficiently process personal health information while minimizing privacy risks through user-centric access control and a novel encryption method. Performance evaluations demonstrate SPOC's effectiveness in ensuring reliable processing and transmission of health data during emergencies.