Professional Project

Clinical Compass MD: Clinical Decision Support

Clinical Compass MD is EC Infosolutions' React Native app for clinical decision support, live on the App Store. A physician opens a specialty module, answers a multi-step assessment about the case, and gets back a guideline-backed recommendation, the codes and payer rules needed for prior authorization, and an appeal letter ready for an insurance denial. I led the project from kickoff to release.

My Role: Project Lead

Architecture

Set the technical direction up front: the server-driven form engine every module runs on, auth-gated navigation, TanStack Query for server data, and Zustand with MMKV for the session.

Coordination

Coordinated with the client and the development team, turning requirements into work the team could build and keeping everyone aligned through delivery.

Build

Worked hands-on with the development team, helping implement features and clear blockers on the way to the App Store.

Project Overview

Modules are organized by specialty, and both the modules and the forms that drive them come from the backend. A clinician works through a module's assessment step by step, and one submission opens three views of the same case: the assessment, the authorization guide, and the appeal letter.

Browse

Specialties and modules with search, filters, and infinite scroll

Assess

A scored recommendation with next steps and PubMed evidence

Authorize

CPT and ICD-10 codes with payer-specific prior-auth rules

Appeal

A pre-filled denial appeal letter, edited and shared as a PDF

One Form Engine, Every Module

No module's questions are written into the app. Each module's assessment arrives from the backend as a schema of steps and fields, and a single engine turns it into a validated, multi-step form. A new module or a changed question ships without an App Store release.

Described

The server sends the steps and fields, and the app renders eleven field types, from sliders and button groups to multi-selects and inline clinical alerts.

Validated

A Zod schema and default values are built from the form at runtime, and each step is checked before the next one opens.

Conditional

Declarative visibility rules decide which fields appear, and the same rules decide which fields are validated, so the two never disagree.

Tech Stack

React Native 0.85
React 19
TypeScript
React Navigation 7
TanStack Query v5
Zustand
MMKV
React Hook Form
Zod
Axios
Firebase Remote Config
Firebase Crashlytics
Firebase Analytics
Google Sign-In
Sign in with Apple
react-native-svg
react-native-html-to-pdf
react-native-markdown-display
react-native-image-picker
patch-package
ESLint
Prettier

Modules & Assessments

Home screen listing medical specialties, with live specialty and module counts

Debounced search on both the specialty and module lists

Module list filtered by specialty chips, with infinite scroll and pull-to-refresh

Skeleton loaders held for a minimum time, so fast responses don't flash

Multi-step assessment with a step indicator, back and close controls, and keyboard-aware layout

Edit and resubmit from the results, back to any step with the previous answers filled in

Clear empty, error, and retry states when a module has no form or a request fails

Assessment & Evidence

Recommendation card with a summary and color-coded badges

Score shown against its maximum, with an explanatory note

Alert cards for clinical warnings

Recommended next steps, numbered in order

Supporting guidelines and evidence, each with its source and description

PubMed links that open each cited study

Guideline source cited under the recommendation

Prior Authorization Guide

CPT procedure codes with RVUs and the services bundled into each code

ICD-10 diagnosis codes for the case

Tabs for switching between payers' requirements

Per-payer coverage status, prior-auth flag, notes, and reimbursement guidance

Known payer policies laid out as a table

Collapsible sections, with the first available one open by default

Markdown guides rendered as formatted text

Appeal Letters

A personalized appeal letter for each submission, pre-filled from the case

Every [bracketed] blank detected and given its own input

Denial templates grouped by category, loading more on demand

Templates inserted into the letter just above the signature

Full-letter editing, preview, and reset

Copy to clipboard, or export as a PDF through the native share sheet

Ratings that capture how effective the letter was and the appeal's outcome

Edits to the letter survive switching between result tabs

Accounts & Support

Email sign-up and password reset, both verified by one-time code

Google Sign-In and Sign in with Apple

Role (medical student or licensed professional) chosen at sign-up, or asked once on first Google or Apple sign-in

Profile editing with a photo from the camera or library that updates the avatar instantly

Onboarding and a how-it-works walkthrough before sign-in

Info & Support hub: about, approach, disclaimer, terms, and privacy

Collaboration and feedback forms validated with Zod

Architecture & Engineering

Navigation & State

  • Root navigator switches between the auth stack and the main tabs on session state
  • Each of the three tabs owns its own stack, behind a custom tab bar
  • Zustand stores for the auth session and user profile, persisted to MMKV
  • React Hook Form owns form input; nothing typed into a form is held in global state

Data & API

  • TanStack Query hooks per domain, with infinite queries for paginated lists
  • Typed Axios client that attaches the bearer token to every request
  • An unauthorized response signs the user out, except on sign-in, sign-up, and password-reset requests
  • API types mirrored from the backend's OpenAPI spec, which a script downloads

Releases & Monitoring

  • Firebase Remote Config sets minimum and latest versions per platform
  • Below the minimum the update is forced; below the latest it is optional
  • The update check fails open, so a config or network error never locks anyone out
  • Crashlytics and Analytics collect crash reports and usage automatically

Build & Tooling

  • Letters escaped into print-ready HTML before PDF rendering
  • SVG assets imported as components through a Metro transformer
  • Environment-based configuration for the API and OAuth client IDs
  • Fixes to two third-party libraries kept as patch-package patches

Product Principles

Evidence

  • Recommendations grounded in current clinical guidelines and peer-reviewed research
  • Every suggestion traceable to its source, down to the PubMed record
  • Built to support clinical judgment, never to replace it

Workflow

  • Built for busy clinical settings: clinic, rounds, and remote consults
  • One assessment carries through to authorization and appeal, with no re-entry

See it in action

Download it on the App Store