Skip to main content
Version: 1.0
Last Updated: 2026-02-21
Spec: PM-14 Secure Messaging
Constitution Reference: Section 1.2 (Core Independence), Section 1.3 (Integration Patterns)

Overview

PM-14 provides PHI-compliant secure messaging between patients, providers, and care teams (threading, attachments, retention, routing, notifications). Integrations use Platform Integration Layer and documented dependencies; cross-core integration with CL is via explicit contracts (no direct core-to-core imports).

Integration Points (from spec)


Event / API Contracts

  • PM-12: Patient portal messaging UI consumes PM-14 conversations/messages via pf_conversations with patient_id filter.
  • PF-10: Domain events pm_message_sent and pm_urgent_message_sent published from usePmSendMessage hook; PF-10 listens for urgent messages to trigger in-app/email notifications.
  • CL-01: Chart documentation of clinical messages; PM sets chart_documented metadata flag when note is created/linked in CL. Contract: metadata field on pf_messages.
  • CL-11: Part 2 SUD restrictions on SUD-related messages; stub ready for consent/access-check integration when CL-11 is implemented.

Integration Matrix


References