Text messages are HIPAA compliant if they do not contain PHI, are encrypted, sent through a secure, HIPAA-compliant server, and the patient has agreed to communicate via text.