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 figureLast 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 ↗
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.
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.