This paper introduces a trust management framework, named the hexagon model, designed for IoT-based peer-to-peer medical applications, addressing significant security and privacy challenges. The framework employs a computational representation of human trust using six key factors: peer recommendation, operational risk, operational cost, reputation, privacy, and role/identity management. The architecture and inference engine for trust value calculations are discussed, with plans for future implementation and testing with IoT-based medical devices.