MedCORE Next -- Design Handoff
Walk layers in order; every layer may be null (render nothing, never a blank frame).
MedCORE Next – Design Handoff
Extraction done. Data lives here; the look is yours.
Corpus: 249 topics / 32 subjects, extracted verbatim from MedCORE Production/Source JSON/Premium/ into Data/.
Uniform topic record (Data// .json)
meta topicName | topicCode (MED-DERM-01 style) | category | subcategory | identityColor | subject | sourceFile
layers.opener examPromise | nrePattern{howTested, disguise, discrimination} |
classicVignette{patient, presentation, keyClue, bestNextMove} | recognitionTrigger |
keyDiscriminator | fatalMiss
layers.spine paragraphs[] (markdown-bold prose) | mechanismChain[] | keyNumbers[{param, value}] | extra?
layers.recognition classicPresentation | disguisedPresentation | synonyms[] |
triggerTable[[clue, nextAction], ...] | extra?
layers.discriminator differentialTable{columns[], rows[]} | trapPairs[{correct, trap, discriminator}] |
whyWrong[{option, whyTempting, whyWrong}] | extra?
layers.management firstLine | unstableVsStable{unstable, stable} | contraindications[] |
escalationLadder[] | emergencyException | drugDoses{}? | extra?
layers.mcq howNREAsks | disguise | discrimination | commonWrongOptionLogic | futureAlert? |
embeddedMCQs? (CHD only: stem, options{a..d}, correctAnswer, explanation,
cognitiveTask, discriminator, trapType, futureAlert)
layers.recall recallPrompts[{prompt, answer}] | examTraps[{trap, why, futureAlert}] | errorLogFutureAlert
completeness missing[] | nonstandard[] (never hidden; renderer decides)
Renderer contract (for your new theme)
- Walk
layersin order; every layer may benull(render nothing, never a blank frame). extraobjects (only Cardiology CHD uses them) = titled sections at that layer’s position.recognition.triggerTablerows are[clue, action]pairs -> two-column trigger table.differentialTable.columns= header row; eachrows[i]= one data row, row[0] is the feature axis.keyNumbers-> stat chips (value big, param small).trapPairs-> correct-vs-trap flip cards;whyWrong-> option autopsy list.embeddedMCQs-> interactive quiz block (self-grading, options map).- Long prose fields (howTested etc.) contain numbered enumerations and
**bold**markdown – render bold inline. identityColorper-topic accent; your theme may unify instead.
Known gaps (flagged, not fixed – content is verbatim)
Gastroenterology/Hepatitis_C_Other.json: only opener + spine + recognition.Cardiology/CHD.json: fully custom structure (surfaced viaextra+embeddedMCQs).
Stats
- Topics per subject: 249 across 32 subjects (7-8 each; Supplementary 3).
Re-run: python3 Scripts/extract_premium_for_next.py (idempotent; regenerates Data/).