BreezRx · Integration register · Read mode

Production Integrations Report

A maintained list of every external capability BreezRx needs for production. For each one it records how the POC fakes it today, what replaces it, what data it touches, the legal prerequisites, how credentials and webhooks are handled, how failure is handled, and what evidence closes it.

1. Current truth

No production integration exists

The demo calls no external service. There is no identity provider, eRx, EHR/FHIR, telehealth, OCR, real payment processor, carrier, email or SMS integration. Payments, clinical review, fulfillment and tax run behind provider interfaces (PaymentProvider, ClinicalProvider, FulfillmentProvider, TaxProvider) with local mock implementations, so each row below swaps one implementation, not the call sites. All providers below are undecided unless a row says otherwise. Mentioning a vendor category or example does not mean a contract, a BAA or an endorsement exists.

Not started no work beyond this registerDiscovery requirements/vendor research needed firstOpen decision business/legal choice blocks designLive (none yet)

2. Maintenance rules

  • The canonical file is docs/production-integrations.html. Copies under apps/web/public/reports/ are generated with cp and never edited by hand.
  • Integration IDs are permanent: INT-<DOMAIN>-<NN>. Retire an ID rather than reuse it.
  • A status moves to Live only once every acceptance evidence item is linked from the change log.
  • Credential entries are path placeholders only. Never paste a key, token or sample secret into this file.
  • Any change to the data a vendor handles needs a privacy review and an update to the "BAA / consent / legal" field.
  • Review the whole register at each phase gate in the technical design roadmap.

3. Inventory

All integrations (select an ID for details)
IDCapabilityDomainPhaseCurrent POC mockStatus
INT-ID-01Customer & workforce identity (OIDC)IdentityMVPLocal email + password accounts (scrypt), HttpOnly session cookie (GET /api/auth/session). No external IdPNot started
INT-ID-02MFA & WebAuthn passkeysIdentityMVPNoneNot started
INT-ID-03Identity proofing (government ID / KYC)IdentityMVP (if required by prescribing protocol / fraud policy)Not simulated. The POC collects no government IDDiscovery
INT-CL-01Telehealth platform & clinician networkClinicalMVPClinicalProvider seam: questionnaire evaluation with rule flags; any signed-in user approves/declines in /opsDiscovery
INT-CL-02e-Prescribing (Surescripts network via certified vendor)ClinicalMVPApproval issues a local prescription with fills authorized/remaining and expiry (active/exhausted/expired/revoked)Not started
INT-CL-03EHR / FHIR R4 interoperabilityClinicalAutomationNone (no EHR in the POC)Not started
INT-CL-04Drug compendium & DURClinical/PharmacyMVPSeeded synthetic product rows; no DURNot started
INT-CL-05Lab ordering (optional, per protocol)ClinicalAutomationNoneOpen decision
INT-PH-01Licensed dispensing pharmacy / pharmacy management systemPharmacyMVPFulfillmentProvider seam: /ops advance confirmed→packed→shipped→deliveredDiscovery
INT-PH-02Shipping carriers & cold-chain packaging/telemetryPharmacyMVPMock carrier and tracking number on shipmentsNot started
INT-PH-03Address validationPharmacyMVPCustomer-entered saved addresses (US states, ZIP format checks); no validation serviceNot started
INT-PH-04Recall & shortage feedsPharmacyAutomationNoneNot started
INT-PY-01Payment processorPaymentsMVPPaymentProvider seam backed by mock_gateway: tokenized card capture, saved methods, authorize/capture/void/refund, idempotent checkout and test decline cards. Rows tagged provider/livemode=falseDiscovery
INT-PY-02Sales taxPaymentsMVPTaxProvider seam: illustrative state rates for non-Rx goods, prescriptions exempt; tax snapshotted on each orderNot started
INT-PY-03Insurance / pharmacy benefits (PBM)PaymentsScaleNone (cash-pay assumption)Open decision
INT-DC-01Document antivirus scanningDocumentsAutomationNo uploads in the POCNot started
INT-DC-02OCR (assistive only)DocumentsAutomationNoneNot started
INT-CM-01Transactional emailCommsMVPNoneNot started
INT-CM-02SMSCommsMVPNoneNot started
INT-CM-03Customer support / helpdeskCommsMVPNoneNot started
INT-PL-01Observability (logs, metrics, traces)PlatformMVPContainer stdout logs onlyNot started
INT-PL-02Secrets & keys (AWS Secrets Manager + KMS)PlatformMVP.env not used; the POC has no secretsNot started
INT-PL-03Product analyticsPlatformMVPNoneNot started
INT-PL-04Bot, fraud & abuse protectionPlatformMVPExpress rate limiting in the POC APINot started
INT-PL-05Consent & preference managementPlatformMVPAttestation answer captured on each evaluationNot started
INT-PL-06Workflow / saga enginePlatformAutomationSynchronous handlers plus an in-process renewal scheduler (FOR UPDATE SKIP LOCKED)Open decision

4. Integration details

Each entry uses the same template. Expand an entry to read it. Expand the entries you need before printing.

INT-ID-01 · Customer & workforce identity (OIDC)
CapabilityCustomer & workforce identity (OIDC)
DomainIdentity
Target phaseMVP
ProviderUndecided: Amazon Cognito, Auth0/Okta CIC, or other OIDC provider. Pick only after BAA coverage and HIPAA eligibility are confirmed for the configuration used
Current POC mockShared synthetic demo identity from GET /api/session. No login
Production replacementOIDC Authorization Code + PKCE; server-side session in Redis; workforce SSO through the corporate IdP
Data handledEmail, phone, name, sub, auth events (PII; PHI when linked to care)
BAA / consent / legalBAA required if the provider stores patient identity linked to care; check the HIPAA-eligible service list; privacy notice
Credentials (placeholder path, not a secret)aws-sm://breezrx/{env}/identity/oidc/client_secret (placeholder)
Webhook auth & replayN/A (OIDC). Back-channel logout token: JWT signature, iat ≤ 5 min, jti de-dupe
Failure modeIdP outage: existing sessions continue until expiry; new logins get a status page; no local password fallback
Acceptance evidenceBAA on file; eligibility memo; pentest of the auth flows; MFA enforcement test; session-timeout test
OwnerIdentity eng lead (TBD)
DependenciesINT-PL-02, INT-ID-02
StatusNot started
INT-ID-02 · MFA & WebAuthn passkeys
CapabilityMFA & WebAuthn passkeys
DomainIdentity
Target phaseMVP
ProviderUndecided: the IdP's native passkeys, or a vetted server library (for example SimpleWebAuthn) if the IdP lacks the features
Current POC mockNone
Production replacementWebAuthn registration and assertion with user verification required; TOTP fallback; SMS last resort
Data handledCredential ID, public key, sign count, AAGUID. No biometric data ever
BAA / consent / legalDisclosure that biometrics stay on the device; accessibility review
Credentials (placeholder path, not a secret)aws-sm://breezrx/{env}/identity/totp/encryption_key_ref (KMS key alias, placeholder)
Webhook auth & replayN/A
Failure modeAuthenticator lost: recovery through verified identity plus support with step-up; audited
Acceptance evidenceConformance tests against the WebAuthn spec; no biometric fields in the schema (schema review)
OwnerIdentity eng lead (TBD)
DependenciesINT-ID-01
StatusNot started
INT-ID-03 · Identity proofing (government ID / KYC)
CapabilityIdentity proofing (government ID / KYC)
DomainIdentity
Target phaseMVP (if required by prescribing protocol / fraud policy)
ProviderUndecided: an identity verification vendor with a BAA and a document-retention option
Current POC mockNot simulated. The POC collects no government ID
Production replacementHosted capture SDK; we keep the result, a reference and a risk score, not the images
Data handledGovernment ID image (vendor side), selfie liveness (vendor side), result
BAA / consent / legalBAA; state biometric privacy laws (for example Illinois BIPA) apply to the vendor's face matching, so consent text and retention must be reviewed
Credentials (placeholder path, not a secret)aws-sm://breezrx/{env}/idv/api_key, …/idv/webhook_secret (placeholders)
Webhook auth & replayHMAC-SHA256 signature over timestamp + body; 5-minute tolerance; event-ID de-dupe table
Failure modeVendor down: queue the case for manual review; no auto-approval
Acceptance evidenceSigned DPA/BAA; legal memo on biometric consent; false-reject rate review
OwnerTrust & Safety lead (TBD)
DependenciesINT-ID-01, legal
StatusDiscovery
INT-CL-01 · Telehealth platform & clinician network
CapabilityTelehealth platform & clinician network
DomainClinical
Target phaseMVP
ProviderUndecided: a white-label telehealth and affiliated medical group (PC/MSO structure) or our own clinicians on a telehealth platform
Current POC mockDemo operator "approve/decline" in the pharmacy workspace
Production replacementEncounter API: case routed by patient state → clinician decision → signed order
Data handledIntake answers, encounter notes, decisions (PHI)
BAA / consent / legalBAA; telehealth consent per state; corporate practice of medicine structure; malpractice coverage
Credentials (placeholder path, not a secret)aws-sm://breezrx/{env}/telehealth/api_key, …/telehealth/webhook_secret (placeholders)
Webhook auth & replaySigned webhooks (HMAC or JWS); replay window 5 min; idempotent by event ID
Failure modePartner outage: cases wait in the queue; patients see revised timelines; no auto-approval
Acceptance evidenceClinical protocol sign-off; end-to-end sandbox run; state licensure coverage matrix
OwnerClinical eng lead + Medical Director (TBD)
DependenciesINT-CL-02, INT-CL-04
StatusDiscovery
INT-CL-02 · e-Prescribing (Surescripts network via certified vendor)
Capabilitye-Prescribing (Surescripts network via certified vendor)
DomainClinical
Target phaseMVP
ProviderUndecided: a Surescripts-certified eRx vendor; often bundled with the telehealth partner or PMS
Current POC mockSimulated prescription record with status pending/approved/declined
Production replacementNCPDP SCRIPT NewRx/CancelRx/RxRenewal through the vendor; we never connect directly unless certified
Data handledRx details, prescriber NPI, patient demographics (PHI)
BAA / consent / legalBAA; vendor network certification; EPCS only if controlled substances are ever in scope (not planned)
Credentials (placeholder path, not a secret)aws-sm://breezrx/{env}/erx/client_cert, …/erx/api_key (placeholders)
Webhook auth & replaymTLS or signed callbacks; message-ID de-dupe
Failure modeTransmission failure: retry with backoff; after N failures alert the prescriber; never dispense unsigned
Acceptance evidenceCertification letter; NewRx/CancelRx sandbox transcripts; reconciliation report
OwnerClinical eng lead (TBD)
DependenciesINT-CL-01, INT-PH-01
StatusNot started
INT-CL-03 · EHR / FHIR R4 interoperability
CapabilityEHR / FHIR R4 interoperability
DomainClinical
Target phaseAutomation
ProviderUndecided: an aggregator (HIE/FHIR network) or a partner EHR
Current POC mockNone (no EHR in the POC)
Production replacementFHIR R4 Patient, MedicationRequest, MedicationStatement, Observation; SMART on FHIR backend services
Data handledClinical records (PHI)
BAA / consent / legalBAA; patient authorization where required; TEFCA/information-blocking considerations
Credentials (placeholder path, not a secret)aws-sm://breezrx/{env}/fhir/private_jwk (placeholder; private_key_jwt client auth)
Webhook auth & replaySubscriptions: signed notifications, verified by fetching the resource again
Failure modePartner down: proceed with intake data only; flag for the clinician
Acceptance evidenceConformance test results; data-mapping spec signed by clinical lead
OwnerClinical eng lead (TBD)
DependenciesINT-CL-01
StatusNot started
INT-CL-04 · Drug compendium & DUR
CapabilityDrug compendium & DUR
DomainClinical/Pharmacy
Target phaseMVP
ProviderUndecided: a licensed drug database (several commercial compendia exist)
Current POC mockSeeded synthetic product rows; no DUR
Production replacementNDC ↔ product mapping; interaction, duplicate-therapy and contraindication screening at clinician review and PV
Data handledDrug codes; patient med list sent to the screening engine (PHI if hosted externally)
BAA / consent / legalLicense agreement; BAA if a hosted API receives patient data
Credentials (placeholder path, not a secret)aws-sm://breezrx/{env}/compendium/license_key (placeholder)
Webhook auth & replayN/A (pull-based weekly updates, checksum verified)
Failure modeData load failure: keep the last good version; alert; block new SKUs
Acceptance evidenceClinical QA of DUR alerts against test cases; update cadence SLA
OwnerPharmacy eng lead (TBD)
DependenciesINT-PH-01
StatusNot started
INT-CL-05 · Lab ordering (optional, per protocol)
CapabilityLab ordering (optional, per protocol)
DomainClinical
Target phaseAutomation
ProviderUndecided: a national lab network through an ordering partner
Current POC mockNone
Production replacementOrder labs and receive results (HL7v2/FHIR) when the medical director's protocol requires baseline labs
Data handledLab orders and results (PHI)
BAA / consent / legalBAA; state direct-access testing rules
Credentials (placeholder path, not a secret)aws-sm://breezrx/{env}/labs/api_key (placeholder)
Webhook auth & replaySigned result webhooks; de-dupe by accession number
Failure modeResult delayed: hold the decision; patient reminder
Acceptance evidenceProtocol decision; sandbox results mapped
OwnerMedical Director (TBD)
DependenciesINT-CL-01
StatusOpen decision
INT-PH-01 · Licensed dispensing pharmacy / pharmacy management system
CapabilityLicensed dispensing pharmacy / pharmacy management system
DomainPharmacy
Target phaseMVP
ProviderUndecided: partner 503A pharmacy (API) or our own licensed pharmacy with a PMS
Current POC mock"Advance" button: approved→ready_to_ship→shipped→delivered
Production replacementOrder handoff API, PV status, dispense events, lot numbers, tracking numbers
Data handledRx, patient demographics, shipping address (PHI)
BAA / consent / legalBAA / pharmacy services agreement; resident and non-resident licensure per launch state; PIC designation
Credentials (placeholder path, not a secret)aws-sm://breezrx/{env}/pharmacy/api_key, …/pharmacy/webhook_secret (placeholders)
Webhook auth & replayHMAC signature + timestamp; ordered by sequence number per order; out-of-order events parked
Failure modePartner down: orders stay in verified_pending_dispense; no capture; customer notified
Acceptance evidenceLicensure matrix; PV workflow walkthrough; dispense reconciliation daily = 0 mismatches over 2 weeks
OwnerPharmacy ops lead + PIC (TBD)
DependenciesINT-CL-02, INT-PY-01, INT-PH-02
StatusDiscovery
INT-PH-02 · Shipping carriers & cold-chain packaging/telemetry
CapabilityShipping carriers & cold-chain packaging/telemetry
DomainPharmacy
Target phaseMVP
ProviderUndecided: carrier aggregator or direct carrier APIs, plus a validated cold-chain packaging supplier
Current POC mockSynthetic tracking events with fixed labels
Production replacementLabel purchase, tracking webhooks, temperature indicator data where available; ship-day rules
Data handledName and address on the label (PHI when linked to the pharmacy); generic package description
BAA / consent / legalBAA if the carrier API receives PHI beyond the shipping minimum; packaging validation records
Credentials (placeholder path, not a secret)aws-sm://breezrx/{env}/shipping/api_key, …/shipping/webhook_secret (placeholders)
Webhook auth & replaySigned webhooks; tracking-number + event-time de-dupe
Failure modeCarrier API down: queue labels; manual label fallback SOP; excursion → replacement + quarantine
Acceptance evidencePackaging validation report per season/lane; webhook replay test
OwnerPharmacy ops lead (TBD)
DependenciesINT-PH-01
StatusNot started
INT-PH-03 · Address validation
CapabilityAddress validation
DomainPharmacy
Target phaseMVP
ProviderUndecided: a USPS-CASS-certified provider
Current POC mockFixed synthetic demo address (demo_home)
Production replacementValidate and normalize the address at checkout; gate on launch states
Data handledAddress (PII)
BAA / consent / legalDPA; minimum necessary (no product data sent)
Credentials (placeholder path, not a secret)aws-sm://breezrx/{env}/address/api_key (placeholder)
Webhook auth & replayN/A
Failure modeDown: accept with a unverified flag; pharmacy confirms before shipping
Acceptance evidenceAccuracy sample test; state-gating test
OwnerCommerce eng lead (TBD)
Dependencies—
StatusNot started
INT-PH-04 · Recall & shortage feeds
CapabilityRecall & shortage feeds
DomainPharmacy
Target phaseAutomation
ProviderUndecided: FDA enforcement/recall data feeds + manufacturer/wholesaler notices
Current POC mockNone
Production replacementIngest recall notices → match NDC/lot → set lots to recalled; trigger the traceability workflow
Data handledProduct/lot data only
BAA / consent / legalNone for the feed; patient outreach under pharmacy policy
Credentials (placeholder path, not a secret)None for public feeds; wholesaler portal credentials: aws-sm://breezrx/{env}/wholesaler/… (placeholder)
Webhook auth & replayPolling with content hash de-dupe
Failure modeFeed down: daily manual check SOP by the PIC
Acceptance evidenceRecall drill: 100% affected dispenses traced in ≤ 4 h
OwnerPharmacy ops lead (TBD)
DependenciesINT-PH-01
StatusNot started
INT-PY-01 · Payment processor
CapabilityPayment processor
DomainPayments
Target phaseMVP
ProviderUndecided: Stripe or another approved processor that has underwritten the telehealth/pharmacy category
Current POC mockNo payment. Totals are display-only; no card fields
Production replacementHosted card elements; manual-capture authorizations; subscriptions; refunds; disputes
Data handledCard tokens (processor side); amount; opaque order ID. No product names, conditions or Rx data in metadata or descriptors
BAA / consent / legalProcessor underwriting approval; PCI DSS SAQ A scope; HSA/FSA rules if offered; possibly a BAA is not needed when no PHI is sent, confirm with counsel
Credentials (placeholder path, not a secret)aws-sm://breezrx/{env}/payments/psp/secret_key, …/psp/webhook_signing_secret (placeholders)
Webhook auth & replayProcessor signature header verified with its library; 5-minute tolerance; event-ID de-dupe; process asynchronously
Failure modeDown: orders stay authorized-pending; retry capture; never dispense without capture
Acceptance evidenceUnderwriting approval letter; saga chaos test: 0 double captures, 0 dispenses without capture; metadata PHI scan
OwnerPayments eng lead (TBD)
DependenciesINT-PL-06
StatusDiscovery
INT-PY-02 · Sales tax
CapabilitySales tax
DomainPayments
Target phaseMVP
ProviderUndecided: a tax calculation service
Current POC mockNone
Production replacementCalculate tax by product taxability (Rx drugs are usually exempt; wellness items vary by state)
Data handledAddress, product tax code (no clinical data)
BAA / consent / legalNexus analysis
Credentials (placeholder path, not a secret)aws-sm://breezrx/{env}/tax/api_key (placeholder)
Webhook auth & replayN/A
Failure modeDown: use a cached rate table and flag for reconciliation
Acceptance evidenceTax counsel sign-off on product codes
OwnerFinance (TBD)
DependenciesINT-PY-01
StatusNot started
INT-PY-03 · Insurance / pharmacy benefits (PBM)
CapabilityInsurance / pharmacy benefits (PBM)
DomainPayments
Target phaseScale
ProviderUndecided: claims switch / benefits check vendor
Current POC mockNone (cash-pay assumption)
Production replacementEligibility, real-time benefit check, claims adjudication
Data handledMember ID, Rx (PHI)
BAA / consent / legalBAA; PBM network contracts
Credentials (placeholder path, not a secret)aws-sm://breezrx/{env}/pbm/… (placeholder)
Webhook auth & replayPer vendor
Failure modeFallback to cash price with disclosure
Acceptance evidenceBusiness decision on cash-pay versus insurance
OwnerProduct (TBD)
DependenciesINT-PH-01
StatusOpen decision
INT-DC-01 · Document antivirus scanning
CapabilityDocument antivirus scanning
DomainDocuments
Target phaseAutomation
ProviderUndecided: managed S3 malware scanning (AWS-native option, if eligible) or a containerized AV engine
Current POC mockNo uploads in the POC
Production replacementS3 quarantine bucket → scan → promote to the PHI vault or isolate
Data handledUploaded documents (PHI)
BAA / consent / legalMust run in our account or be covered by a BAA
Credentials (placeholder path, not a secret)N/A for AWS-native; signature updates through a private mirror
Webhook auth & replayEvent-driven (S3 → EventBridge); idempotent by object version
Failure modeScanner down: files stay in quarantine; nothing is promoted
Acceptance evidenceEICAR test file quarantined; latency p95 ≤ 60 s
OwnerSecurity eng (TBD)
DependenciesINT-PL-02
StatusNot started
INT-DC-02 · OCR (assistive only)
CapabilityOCR (assistive only)
DomainDocuments
Target phaseAutomation
ProviderUndecided: a HIPAA-eligible OCR service in our account
Current POC mockNone
Production replacementPre-fill fields from a prescription or label image for human review. Never approves
Data handledImages and extracted text (PHI)
BAA / consent / legalBAA / service eligibility; accuracy disclosure to staff
Credentials (placeholder path, not a secret)N/A (IAM role)
Webhook auth & replayN/A
Failure modeDown: manual data entry
Acceptance evidenceUI review proves OCR output is shown only as a suggestion; audit shows a human confirmation for every field
OwnerPharmacy eng lead (TBD)
DependenciesINT-DC-01
StatusNot started
INT-CM-01 · Transactional email
CapabilityTransactional email
DomainComms
Target phaseMVP
ProviderUndecided: an email provider; a BAA is required if any PHI is sent, which our design avoids
Current POC mockNone
Production replacementPHI-minimal templates ("Your order has an update") linking to the authenticated app
Data handledEmail address; no clinical content
BAA / consent / legalTemplate review; CAN-SPAM for marketing (separate stream and consent)
Credentials (placeholder path, not a secret)aws-sm://breezrx/{env}/email/api_key (placeholder)
Webhook auth & replayBounce/complaint webhooks signed; de-dupe
Failure modeDown: queue and retry; in-app notifications continue
Acceptance evidenceTemplate PHI review checklist signed
OwnerPlatform eng (TBD)
Dependencies—
StatusNot started
INT-CM-02 · SMS
CapabilitySMS
DomainComms
Target phaseMVP
ProviderUndecided: an SMS provider with 10DLC registration
Current POC mockNone
Production replacementOpt-in reminders and OTP fallback; PHI-minimal content
Data handledPhone number
BAA / consent / legalTCPA consent; 10DLC brand/campaign registration
Credentials (placeholder path, not a secret)aws-sm://breezrx/{env}/sms/auth_token (placeholder)
Webhook auth & replayProvider request signature validation
Failure modeDown: email/in-app fallback
Acceptance evidenceConsent capture test; STOP handling test
OwnerPlatform eng (TBD)
DependenciesINT-PL-05
StatusNot started
INT-CM-03 · Customer support / helpdesk
CapabilityCustomer support / helpdesk
DomainComms
Target phaseMVP
ProviderUndecided: helpdesk vendor with a BAA
Current POC mockNone
Production replacementTicketing with masked clinical fields; deep links to the ops console instead of copying PHI
Data handledContact details; limited order data
BAA / consent / legalBAA if tickets may contain PHI (assume they will)
Credentials (placeholder path, not a secret)aws-sm://breezrx/{env}/helpdesk/api_key (placeholder)
Webhook auth & replaySigned webhooks
Failure modeDown: email inbox fallback
Acceptance evidenceBAA; agent access review
OwnerSupport lead (TBD)
DependenciesINT-ID-01
StatusNot started
INT-PL-01 · Observability (logs, metrics, traces)
CapabilityObservability (logs, metrics, traces)
DomainPlatform
Target phaseMVP
ProviderUndecided: CloudWatch/AWS-native, or a vendor under a BAA
Current POC mockContainer stdout logs only
Production replacementOpenTelemetry → collector with redaction processors → backend
Data handledOperational data only. No PHI by design, with a BAA anyway as defense in depth
BAA / consent / legalBAA if there is any chance of PHI; retention policy
Credentials (placeholder path, not a secret)aws-sm://breezrx/{env}/observability/api_key (placeholder)
Webhook auth & replayN/A
Failure modeDown: buffer in the collector; alerting through the cloud-native fallback
Acceptance evidencePHI canary test in CI; dashboards for SLOs
OwnerSRE lead (TBD)
Dependencies—
StatusNot started
INT-PL-02 · Secrets & keys (AWS Secrets Manager + KMS)
CapabilitySecrets & keys (AWS Secrets Manager + KMS)
DomainPlatform
Target phaseMVP
ProviderAWS (pending account + BAA)
Current POC mock.env not used; the POC has no secrets
Production replacementExternal Secrets Operator syncs to Kubernetes; IRSA/Pod Identity; KMS CMKs per data class
Data handledSecrets, key material
BAA / consent / legalCovered under the AWS BAA (confirm eligibility)
Credentials (placeholder path, not a secret)Root of the path scheme: aws-sm://breezrx/{env}/{domain}/{name}
Webhook auth & replayN/A
Failure modeKMS regional outage: follow the DR runbook (multi-Region keys for DR are an open decision)
Acceptance evidenceRotation test; access-log review; no secrets in git (scanner gate)
OwnerSecurity eng (TBD)
DependenciesCloud account
StatusNot started
INT-PL-03 · Product analytics
CapabilityProduct analytics
DomainPlatform
Target phaseMVP
ProviderUndecided: self-hosted or vendor without PHI
Current POC mockNone
Production replacementMarketing pages only; event allow-list; no pixels on intake/clinical/order pages
Data handledPseudonymous events
BAA / consent / legalFTC Health Breach Notification Rule and state consumer-health-data laws; no ad pixels on health pages
Credentials (placeholder path, not a secret)aws-sm://breezrx/{env}/analytics/write_key (placeholder)
Webhook auth & replayN/A
Failure modeDown: no impact
Acceptance evidenceTag audit shows no third-party requests from clinical routes
OwnerGrowth (TBD) + Privacy
DependenciesINT-PL-05
StatusNot started
INT-PL-04 · Bot, fraud & abuse protection
CapabilityBot, fraud & abuse protection
DomainPlatform
Target phaseMVP
ProviderAWS WAF (+ bot control) and possibly a fraud vendor
Current POC mockExpress rate limiting in the POC API
Production replacementWAF managed rules, rate rules, CAPTCHA on account creation; payment fraud via the processor
Data handledIP, device signals
BAA / consent / legalPrivacy notice
Credentials (placeholder path, not a secret)N/A / aws-sm://breezrx/{env}/fraud/api_key (placeholder)
Webhook auth & replayN/A
Failure modeFail open for reads, closed for account creation surges (runbook)
Acceptance evidenceWAF rule tests; false-positive review
OwnerSecurity eng (TBD)
DependenciesINT-PY-01
StatusNot started
INT-PL-05 · Consent & preference management
CapabilityConsent & preference management
DomainPlatform
Target phaseMVP
ProviderUndecided: build in the Identity context or a consent platform
Current POC mockconsent:true flag on the demo intake
Production replacementVersioned consent records per purpose (telehealth, notices, SMS, marketing); withdrawal flows
Data handledConsent records
BAA / consent / legalState law; TCPA; GDPR if ever applicable
Credentials (placeholder path, not a secret)N/A
Webhook auth & replayN/A
Failure modeN/A
Acceptance evidenceConsent replay report per account
OwnerPrivacy lead (TBD)
DependenciesINT-ID-01
StatusNot started
INT-PL-06 · Workflow / saga engine
CapabilityWorkflow / saga engine
DomainPlatform
Target phaseAutomation
ProviderUndecided: Temporal Cloud (BAA status to confirm), self-hosted Temporal on EKS, or AWS Step Functions + SQS
Current POC mockSynchronous handlers in the POC
Production replacementOrder saga with durable timers; outbox relay to SQS
Data handledWorkflow payloads contain IDs only, no PHI
BAA / consent / legalBAA if any PHI could pass through; payload encryption codec if needed
Credentials (placeholder path, not a secret)aws-sm://breezrx/{env}/workflow/… (placeholder)
Webhook auth & replayN/A
Failure modeEngine down: outbox keeps events; resume without loss
Acceptance evidenceChaos test: kill workers mid-saga with no double side effects
OwnerPlatform eng (TBD)
DependenciesINT-PY-01, INT-PH-01
StatusOpen decision

5. Adapter pattern (how mocks get replaced)

domain servicecalls portPort (TS interface)DI by envMockAdapter (POC)orVendorAdapter (prod)
  • Each integration has a TypeScript port owned by its domain, for example PaymentGateway.authorize(orderId, amountCents, idemKey). Vendor SDK types never leak past the adapter.
  • Mock adapters stay deterministic and seedable so demos and tests can be repeated. In production builds the mock adapters are left out of the bundle, so they cannot be enabled by accident.
  • Contract tests run against the mock and against the vendor sandbox in CI (nightly) so the two cannot drift apart.
  • Outbound calls use timeouts (connect 2 s, total ≤ 10 s unless documented), retries with jittered backoff only for idempotent operations, a circuit breaker, and the outbox for side effects.
  • Payload minimization happens inside the adapter: an allow-list of fields per vendor, with a unit test that fails if a new field appears.

Proposed The POC handlers may implement the simulation inline rather than behind ports. Refactor to ports before the first real integration.

6. Webhook standard (inbound)

  1. Endpoint: a dedicated path per vendor, /webhooks/<vendor>, on a separate ingress with WAF rules and a body size limit. Use an IP allow-list only where the vendor publishes stable ranges.
  2. Authenticate: verify the vendor signature (HMAC-SHA256 or JWS) over the raw body with a constant-time compare. Reject if the timestamp differs from now by more than 300 s.
  3. Replay protection: insert (vendor, event_id) into platform.webhook_receipts with a UNIQUE constraint. A duplicate returns 200 without reprocessing.
  4. Acknowledge fast: persist the raw event (encrypted if it holds PHI) and enqueue it, then return 2xx within 2 s. Business processing runs asynchronously.
  5. Order: never assume events arrive in order. Re-fetch the authoritative resource from the vendor API before changing state, or compare sequence numbers or versions.
  6. Rotation: support two active secrets during rotation, and log which one verified each event.
  7. Observability: record the counts of verified, rejected and duplicate events. Alert on a spike in signature failures. Never log the body.

7. Credentials & secrets

ItemStandard
Path schemeaws-sm://breezrx/{env}/{domain}/{name} where env ∈ dev, stage, prod. These are placeholders; nothing exists yet
Delivery to podsExternal Secrets Operator → Kubernetes Secret (encrypted with a KMS envelope) → environment or file mount. Workload identity through IRSA or EKS Pod Identity. No long-lived AWS keys
Rotation90 days or vendor maximum; webhook secrets support two active values; rotation runbook per integration
SeparationSandbox and production credentials live in different AWS accounts. Developers never hold production credentials
DetectionSecret scanning in pre-commit and CI; push protection; alert on use of a credential outside its expected workload
POCNo secrets are needed or used. The Compose file must not reference real keys

8. Vendor due diligence checklist

  • Will the vendor handle PHI? If so, a BAA must be signed before any PHI flows. The specific services and configurations must be covered.
  • Security posture evidence: SOC 2 Type II report or equivalent (ISO 27001), pentest summary, subprocessor list.
  • Data residency (US), retention and deletion on termination, breach notification timeline.
  • For healthcare networks: certifications required to join (for example eRx network certification).
  • Payment: category underwriting approval in writing; restrictions on descriptors and metadata.
  • Exit plan: data export format; how hard it would be to switch to an alternative.
  • Remember that a BAA is not enough. Our own configuration, access control and minimization still decide whether we are compliant.

9. Acceptance evidence template

Integration: INT-XX-NN   Owner: <name>   Date: YYYY-MM-DD
[ ] Contract / BAA / DPA reference (document ID in the contract system, not the file)
[ ] Data flow diagram + field allow-list reviewed by privacy
[ ] Sandbox contract tests green (CI run URL)
[ ] Webhook signature, replay and out-of-order tests green
[ ] Failure-mode game day performed (notes link)
[ ] Secrets provisioned at the placeholder path; rotation tested
[ ] Monitoring dashboards and alerts live
[ ] Runbook published; on-call trained
[ ] Security review sign-off
[ ] Status moved to Live in this register, with a change-log entry

10. Integration sequencing

Before MVP

INT-PL-02 secrets/KMS
INT-ID-01/02 identity + MFA
INT-PH-01 pharmacy partner
INT-CL-01/02/04 telehealth, eRx, DUR
INT-PY-01/02 payments, tax
INT-PH-02/03 shipping, address
INT-CM-01/02/03 comms
INT-PL-01/03/04/05

Automation

INT-PL-06 saga engine
INT-CL-03 FHIR
INT-CL-05 labs (if protocol)
INT-PH-04 recalls
INT-DC-01/02 AV + assistive OCR

Scale

INT-PY-03 insurance/PBM
Multi-pharmacy routing
Additional states and partners

Critical path: pharmacy operator and launch states → telehealth/eRx partner → payment underwriting. See risks R-02, R-04 and R-06 in the technical design and the cloud prerequisites in the deployment plan.

11. Change log

DateChangeBy
2026-11-25Initial register: 26 integrations, all undecided/not live. POC mocks documented.Architecture

Shopping concierge integration

The implemented assistant interprets shopping preferences through a private configurable vLLM/OpenAI-compatible endpoint. It returns typed preferences and FAQ topics only; server-controlled catalog copy, pack prices, product constraints and clinical routing remain authoritative. It is not a prescribing, diagnosis, dosing or drug-interaction engine.

Product packs are persistent catalog/custom entities with order and subscription attribution. A pack may include an explicitly selected prescription product, but evaluation, clinician approval and refill checks still apply to each item. Pack items renew and bill independently and retain individual pause/skip/cancel controls.

Before production: review model and weight licenses, benchmark supported recipes for valid typed responses and latency, establish private authenticated inference networking and global traffic admission, monitor fallback rates, and obtain clinical/legal review of recommendation rules and disclosures. No model is certified for clinical decisions; no compliance or efficacy claim is made. Do not enter real medical details in this sandbox.