Skip to content

Instantly share code, notes, and snippets.

View jmandel's full-sized avatar

Josh Mandel jmandel

View GitHub Profile
@jmandel
jmandel / claude4-opus.md
Last active May 22, 2025 17:59
TEFCA Patient Credential Economics

Let me search for data on legitimate use cases where patients share their full EHR with third parties.## Legitimate Patient Use Cases for Sharing Full EHR: Economic Analysis

Based on my research, here's a comprehensive analysis of legitimate use cases where patients would share their full EHR and the economic implications:

Major Use Cases & Market Sizes

1. Social Security Disability (SSDI/SSI) Applications

  • Annual Volume: ~2-2.5 million applications filed annually
  • Medical Records Need: Many states waive or limit fees for disability claims, with free copies for SSI/SSDI claims
  • Current Process: Manual requests, paper forms, state-specific pricing
@jmandel
jmandel / README.md
Created March 18, 2026 15:21
useDictation — React hook for browser speech-to-text that behaves like typing

useDictation

A React hook for browser speech-to-text that behaves like typing.

The problem

The Web Speech API (SpeechRecognition) gives you a stream of results, but wiring it into a text input is surprisingly fiddly:

  • Interim results need to stream in so the user sees text appear as they speak — but they also need to be replaced when the recognizer refines them or finalizes them.
  • Manual edits must be respected. If the user deletes text or types something, speech results shouldn't overwrite their changes.