MZResearch notebook

FIELD NOTES / Creative Coding

Beyond the Pain Score

I made the pain map editable. The region counts update as you draw, and you can compare profiles across several dimensions.

The prototype capture in the original figure shows the edited body map and the resulting region counts.

View original figure
Active DevelopmentEvidence B

Last reviewed 2026-11-21 · Public research / code

What the pain prototype takes from PerPAIN

The center shows Aster after adding a left-shoulder mark. The right compares the default fictional profiles at 6/10. Try the interactive prototype ↗

View full-size figure
A three-panel figure shows an empirical PerPAIN result, Aster’s edited body map with four marked regions, and the two default fictional profiles at six out of ten.

Research Question

How much can a pain score leave out about where it hurts, sensory response, everyday activities and psychosocial circumstances?

Technical Approach

A React and TypeScript prototype links an editable front/back SVG body map to live counts by view and side. It compares fictional profiles on separate dimensions and illustrates first pain and stopping on a simulated pressure ramp.

TypeScriptReactSVGPlaywright

My Contribution

For my PerPAIN doctorate, I prepared the data for secondary analysis and derived the variables. I ran the statistical and sensitivity analyses, assessed internal validation and drew the scientific figures.

Evidence

  • PerPAIN dissertation Table 12 provides aggregate results from internal held-out reconstruction of the clinical score.
  • Seven unit tests and eight browser tests passed, including live region counts, keyboard access and touch interaction.

Outputs

  • Browser-based interactive prototype
  • V2 research-to-interaction figure

Current Status

The prototype uses fictional profiles, schematic region counts and simulated thresholds. Clinical and educational effectiveness have yet to be evaluated.