AdvancedRx Internal
Project plans, runbooks, and team documentation
Source-of-truth documentation for in-flight work, system runbooks,
and team resources. Access-restricted to @advancedrx.co.
Project plans
CA-compliant bottle labels — Apex ZPL + the Advanced Rx Helper print agent
Build the Rx bottle label as native ZPL in Apex, queue it as a Print_Job__c routed to the filler's workstation, and have a company-owned local agent (the Advanced Rx Helper — its own repo) poll Salesforce and print to the station's Zebra over USB. No print cloud, no browser, no third-party vendor. Enforce a California 16 CCR 1707.5-compliant format for every CA ship-to on one universal 4×3 stock; fix the current label's PHI leaks for real.
Greenfield Compounding Software — investigation & decision log
- refill-orderline-linkage.md — Refill→OrderLine linkage for the reservation lifecycle (release-on-fill + reconciliation sweep). Verified 2026-05-30. - due-date-source.md — the authoritative "due / needed-by" date (Order.Ship_Out_Date_Due_date__c). - bud-sufficiency-and-days-supply.md — fill-side lot BUD-sufficiency rule + days-supply + shipping-method fields.
Refill conversion — Phase 1 current-state audit
Phase 1 = diagnosis only. Maps the patient journey from refill-reminder dispatch through completed portal order, identifies where the 60% loss concentrates, surfaces measurement gaps. Does NOT propose interventions (magic link, SMS-conversational, wizard simplification) — those are downstream of this work.
Unified intake-graph Apex service (Azure + screen flow)
One Apex service shared by Azure and the data-entry screen flow, replacing the 7,904-line transcription monolith. Phase 3 of the Azure roadmap.
Magic-link portal login (Azure-led architecture)
SMS + email magic-link auth into the AdvancedRx B2B Commerce portal. Orchestration in the existing AdvancedRx Azure VNet; Salesforce-side surface = one External Client App + one permset. Auth flow (mint → redeem → JWT-Bearer/singleaccess) PROVEN end-to-end in ClaudeTest 2026-05-26. One open gap: the B2B storefront only renders in prod (WebStore/buyer data is prod-only). Remaining: prod ECA + cert + EcaClientId; SFMC real-send gated on credential rotation.
Account Enhancement (program)
Umbrella program for Practice-Account data improvements — flag Practices anchoring ENT Elite prescribers, then enrich practice records via a separate Cloudflare-stack tool (NPI verification + website scrape).
SFMC bounce-writeback rollup
Aggregate the 43K SFMC bounce records sitting in et4ae5__IndividualEmailResult__c up to Contact.SFMCEmailBounceDate__c via a single new DLRS rollup, so reporting and cleanup formulas finally see bouncing patients.
Conversion analytics modernization
Build out GA4 + conversion-event instrumentation across the B2B storefront, rotate analytics ownership off a departed consultant, close a HIPAA cookie-consent gap, and surface six storefront bugs discovered during the audit.