TwinFyRxTwinFyRx

TwinFyRx Labs

From pharmacy claims to
suspected diagnoses

Walk through five steps that turn incomplete pharmacy claims into ranked diagnosis signals. See the gap, explore the rules, watch them fire in real time, and understand how clinical signals combine at the member and population level.

Step 1 of 5

The Diagnosis Gap

What pharmacy claims are missing

Pharmacy claims tell you what a patient is taking — but rarely why. Diagnosis codes on Rx claims are frequently missing, nonspecific, or copied from the last encounter. For analytics teams building patient cohorts, this is a massive blind spot.
member_iddrugfill_datedx_codedx_description
M-44210Metformin 1000mg Tab2025-01-12Missing
M-44210Empagliflozin 25mg Tab2025-01-12Missing
M-58723Atorvastatin 20mg Tab2025-01-15Z79.899Other long term drug therapy
M-58723Amlodipine 5mg Tab2025-01-15Z79.899Other long term drug therapy
M-63091Duloxetine 60mg Cap2025-02-03F32.9Major depressive disorder
M-71882Gabapentin 300mg Cap2025-02-10M54.5Low back pain
M-71882Metformin 1000mg Tab2025-02-10E11.9Type 2 diabetes without comp.
M-85446Amlodipine 5mg Tab2025-02-18Missing

37.5%

missing diagnosis

25.0%

nonspecific (Z-code)

62.5%

not actionable

M-44210 is on Metformin and Empagliflozin — two diabetes drugs — yet has no diagnosis code. M-58723 shows "other long term drug therapy" for a statin + CCB combo. The clinical signal is hiding in plain sight. Suspecting rules extract it.