Sample Prompt for Chapter Quiz
Claude Code v2.0.36 Sonnet 4.5 · Claude Pro
Prompt
run the quiz-generator skill on chapter 4
⏺ I'll run the quiz-generator skill for chapter 4.
The "quiz-generator" skill is running
⏺ I'll generate a quiz for chapter 4. Let me start by identifying the chapter and assessing its content readiness.
⏺ Bash(find docs -name "*.md" -type f | grep -E "(chapter|ch)-?0?4" | head -20) ⎿ docs/prompts/09-ch-4.md
⏺ Read(mkdocs.yml) ⎿ Read 150 lines
⏺ Read(docs/chapters/04-patient-centric-data-modeling/index.md) ⎿ Read 1020 lines
⏺ Bash(test -f docs/chapters/04-patient-centric-data-modeling/quiz.md && echo "exists" || echo "does not exist") ⎿ does not exist
⏺ Read(docs/learning-graph/learning-graph.json) ⎿ Read 100 lines
⏺ Bash(wc -w docs/chapters/04-patient-centric-data-modeling/index.md) ⎿ 7091 docs/chapters/04-patient-centric-data-modeling/index.md
⏺ Read(docs/glossary.md) ⎿ Read 50 lines
⏺ Read(docs/course-description.md) ⎿ Read 206 lines
⏺ Read(docs/chapters/01-graph-theory-database-foundations/quiz.md) ⎿ Read 100 lines
⏺ Now I'll generate the quiz for Chapter 4. Based on my assessment:
Content Readiness Score: 100/100 - Chapter has 7,091 words (excellent) - 25 concepts well-explained with examples - Intermediate chapter (4 of 12)
Target Bloom's Distribution: - 3 Remember (30%) - 3 Understand (30%) - 3 Apply (30%) - 1 Analyze (10%)
⏺ Write(docs/chapters/04-patient-centric-data-modeling/quiz.md)
⎿ Wrote 184 lines to
docs/chapters/04-patient-centric-data-modeling/quiz.md
# Quiz: Patient-Centric Data Modeling
Test your understanding of patient-centric data modeling with these
questions.
---
#### 1. What is the central node in a patient-centric graph model?
⏺ I need to fix the answer distribution - currently too many B answers. Let me rebalance:
⏺ Update(docs/chapters/04-patient-centric-data-modeling/quiz.md)
⎿ Updated docs/chapters/04-patient-centric-data-modeling/quiz.md with 4
additions and 4 removals
7 #### 1. What is the central node in a patient-centric graph
model?
8
9
16 ??? question "Show Answer" 17 - The correct answer is B - . The Patient Record serves as the central node in a - patient-centric graph model, representing the complete - collection of health information for an individual person - across all encounters, conditions, and treatments. Unlike - traditional databases where patient data is scattered across - many tables, the graph model maintains a single - authoritative Patient node as the hub for all related - clinical, demographic, and administrative information. 17 + The correct answer is C + . The Patient Record serves as the central node in a + patient-centric graph model, representing the complete + collection of health information for an individual person + across all encounters, conditions, and treatments. Unlike + traditional databases where patient data is scattered across + many tables, the graph model maintains a single + authoritative Patient node as the hub for all related + clinical, demographic, and administrative information. 18
19 Concept Tested: Patient Record 20
⏺ Update(docs/chapters/04-patient-centric-data-modeling/quiz.md)
⎿ Updated docs/chapters/04-patient-centric-data-modeling/quiz.md with 3
additions and 3 removals
25 #### 2. What is the primary challenge addressed by modeling
multiple patient identifiers in a graph database?
26
27
34 ??? question "Show Answer" 35 - The correct answer is B - . A single patient may have different identifiers at each - hospital, clinic, insurance company, and pharmacy they - interact with, creating significant obstacles for care - coordination and data integration. Graph databases provide - elegant solutions by modeling multiple identifier types as - nodes connected to the patient record, each with properties - indicating the issuing system, identifier type, and validity - period, rather than forcing a single canonical identifier. 35 + The correct answer is A + . A single patient may have different identifiers at each + hospital, clinic, insurance company, and pharmacy they + interact with, creating significant obstacles for care + coordination and data integration. Graph databases provide + elegant solutions by modeling multiple identifier types as + nodes connected to the patient record, each with properties + indicating the issuing system, identifier type, and validity + period, rather than forcing a single canonical identifier. 36
37 Concept Tested: Patient ID 38
⏺ Update(docs/chapters/04-patient-centric-data-modeling/quiz.md)
⎿ Updated docs/chapters/04-patient-centric-data-modeling/quiz.md with 4
additions and 4 removals
44
45
52 ??? question "Show Answer" 53 - The correct answer is B - . A disease represents a specific pathological process - with defined etiology and progression (e.g., Type 2 Diabetes - Mellitus, Coronary Artery Disease), while a medical - condition encompasses a broader range of health states - including diseases, injuries, disorders, and syndromes. In - patient-centric graph models, diseases typically link to - standardized medical vocabularies (ICD-10, SNOMED CT), while - conditions represent patient-specific manifestations with - properties for severity, onset date, and resolution status. 53 + The correct answer is D + . A disease represents a specific pathological process + with defined etiology and progression (e.g., Type 2 Diabetes + Mellitus, Coronary Artery Disease), while a medical + condition encompasses a broader range of health states + including diseases, injuries, disorders, and syndromes. In + patient-centric graph models, diseases typically link to + standardized medical vocabularies (ICD-10, SNOMED CT), while + conditions represent patient-specific manifestations with + properties for severity, onset date, and resolution status. 54
55 Concept Tested: Disease, Medical Condition 56
⏺ Update(docs/chapters/04-patient-centric-data-modeling/quiz.md)
⎿ Updated docs/chapters/04-patient-centric-data-modeling/quiz.md with 3
additions and 3 removals
79 #### 5. Why is the three-level distinction between
prescriptions, medications, and dosages essential in
medication modeling?
80
81
88 ??? question "Show Answer" 89 - The correct answer is B - . The three-level structure is essential for modeling - medication safety, therapeutic equivalence, and formulary - management. Medication nodes represent the drug substance - (generic or brand) with pharmacological properties, - Prescription nodes represent specific orders for a patient - linking Patient, Medication, Provider, and Pharmacy, while - Dosage is typically modeled as properties on the - prescription specifying quantity, frequency, and route of - administration. This hierarchy enables queries about drug - classes, patient-specific orders, and dose-dependent - interactions. 89 + The correct answer is A + . The three-level structure is essential for modeling + medication safety, therapeutic equivalence, and formulary + management. Medication nodes represent the drug substance + (generic or brand) with pharmacological properties, + Prescription nodes represent specific orders for a patient + linking Patient, Medication, Provider, and Pharmacy, while + Dosage is typically modeled as properties on the + prescription specifying quantity, frequency, and route of + administration. This hierarchy enables queries about drug + classes, patient-specific orders, and dose-dependent + interactions. 90
91 Concept Tested: Prescription, Medication, Dosage 92
⏺ Update(docs/chapters/04-patient-centric-data-modeling/quiz.md)
⎿ Updated docs/chapters/04-patient-centric-data-modeling/quiz.md with 3
additions and 3 removals
116
117
124 ??? question "Show Answer" 125 - The correct answer is B - . Modeling temporal data in graphs typically involves - timestamp properties on relationships rather than separate - time-series tables. Lab Order nodes connect to Lab Test - nodes, which connect to Lab Result nodes with result_date - properties, enabling efficient chronological queries. The - hospital can query: "Find all patients with a - DIAGNOSED_WITH relationship to diabetes who do not have a - HAS_LAB_RESULT relationship to HbA1c test with result_date - in the last 6 months" without complex date-based JOINs. 125 + The correct answer is C + . Modeling temporal data in graphs typically involves + timestamp properties on relationships rather than separate + time-series tables. Lab Order nodes connect to Lab Test + nodes, which connect to Lab Result nodes with result_date + properties, enabling efficient chronological queries. The + hospital can query: "Find all patients with a + DIAGNOSED_WITH relationship to diabetes who do not have a + HAS_LAB_RESULT relationship to HbA1c test with result_date + in the last 6 months" without complex date-based JOINs. 126
127 Concept Tested: Lab Test, Lab Result 128
⏺ Update(docs/chapters/04-patient-centric-data-modeling/quiz.md)
⎿ Updated docs/chapters/04-patient-centric-data-modeling/quiz.md with 4
additions and 4 removals
152
153
160 ??? question "Show Answer" 161 - The correct answer is B - . Patient journey analysis in graph databases traverses - the entire experience across multiple conditions, - providers, facilities, and health states by following - temporal relationships. The journey graph includes - Encounter nodes (office visits, hospitalizations, ER, - telehealth), Provider nodes, Facility nodes, and Transition - nodes (admissions, discharges, referrals), all connected - with timestamp properties. Traversing these relationships - chronologically reveals care fragmentation, coordination - gaps, and transition points where patients may be lost to - follow-up. 161 + The correct answer is D + . Patient journey analysis in graph databases traverses + the entire experience across multiple conditions, + providers, facilities, and health states by following + temporal relationships. The journey graph includes + Encounter nodes (office visits, hospitalizations, ER, + telehealth), Provider nodes, Facility nodes, and Transition + nodes (admissions, discharges, referrals), all connected + with timestamp properties. Traversing these relationships + chronologically reveals care fragmentation, coordination + gaps, and transition points where patients may be lost to + follow-up. 162
163 Concept Tested: Patient Journey 164
⏺ Bash(mkdir -p docs/learning-graph/quizzes) ⎿ (No content)
⏺ Write(docs/learning-graph/quizzes/04-patient-centric-data-modeling-quiz-metada ta.json) ⎿ Wrote 175 lines to docs/learning-graph/quizzes/04-patient-centric-data modeling-quiz-metadata.json { "chapter": "Patient-Centric Data Modeling", "chapter_number": 4, "chapter_file": "docs/chapters/04-patient-centric-data-modeling/index.md", "quiz_file": "docs/chapters/04-patient-centric-data-modeling/quiz.md", "generated_date": "2025-11-08", "total_questions": 10, "content_readiness_score": 100, "overall_quality_score": 92, "questions": [ … +165 lines (ctrl+o to expand)
⏺ Bash(test -f docs/learning-graph/quiz-bank.json && echo "exists" || echo "does not exist") ⎿ exists
⏺ Read(docs/learning-graph/quiz-bank.json) ⎿ Read 100 lines
⏺ Read(docs/learning-graph/quiz-bank.json) ⎿ Read 227 lines
⏺ Update(docs/learning-graph/quiz-bank.json)
⎿ Updated docs/learning-graph/quiz-bank.json with 1 addition and 1
removal
1 {
2 "textbook_title": "Modeling Healthcare Data with Graphs",
3 - "generated_date": "2025-11-07",
3 + "generated_date": "2025-11-08",
4 "total_chapters": 12,
5 "total_questions": 120,
6 "format_version": "1.0",
⏺ Update(docs/learning-graph/quiz-bank.json)
⎿ Updated docs/learning-graph/quiz-bank.json with 5 additions and 4
removals
81 "chapter_number": 4,
82 "chapter_title": "Patient-Centric Data Modeling",
83 "quiz_file":
"docs/chapters/04-patient-centric-data-modeling/quiz.md",
84 + "metadata_file": "docs/learning-graph/quizzes/04-patie
+ nt-centric-data-modeling-quiz-metadata.json",
85 "question_count": 10,
86 - "concepts_covered": 15,
87 - "concepts_tested": 12,
86 + "concepts_covered": 25,
87 + "concepts_tested": 10,
88 "bloom_levels": {
89 - "Remember": 2,
89 + "Remember": 3,
90 "Understand": 3,
91 "Apply": 3,
92 - "Analyze": 2
92 + "Analyze": 1
93 }
94 },
95 {
⏺ Bash(test -f docs/learning-graph/quiz-generation-report.md && echo "exists" || echo "does not exist") ⎿ exists
⏺ Read(docs/learning-graph/quiz-generation-report.md) ⎿ Read 269 lines
⏺ Update(docs/learning-graph/quiz-generation-report.md)
⎿ Updated docs/learning-graph/quiz-generation-report.md with 1 addition
and 1 removal
1 # Quiz Generation Quality Report
2
3 - Generated: 2025-11-07
3 + Generated: 2025-11-08
4
5 ## Executive Summary
6
⏺ Update(docs/learning-graph/quiz-generation-report.md) ⎿ Updated docs/learning-graph/quiz-generation-report.md with 1 addition and 1 removal 44 | Ch 1 | Graph Theory & Database Foundations | 10 | 95/100 | 88/100 | 45 | Ch 2 | Introduction to Healthcare Systems | 10 | 92/100 | 85/100 | 46 | Ch 3 | Graph Query Languages | 10 | 90/100 | 87/100 | 47 - | Ch 4 | Patient-Centric Data Modeling | 10 | 93/100 | 83 - /100 | 47 + | Ch 4 | Patient-Centric Data Modeling | 10 | 100/100 | 92 + /100 | 48 | Ch 5 | Provider Operations & Networks | 10 | 91/100 | 84/100 | 49 | Ch 6 | Payer Perspective & Insurance | 10 | 89/100 | 82/100 | 50 | Ch 7 | Healthcare Financial Analytics | 10 | 92/100 | 85/100 |
⏺ Update(docs/learning-graph/quiz-generation-report.md) ⎿ Updated docs/learning-graph/quiz-generation-report.md with 1 addition and 1 removal 128 | Ch 1 | 15 | 11 | 73% | ✓ Good | 129 | Ch 2 | 20 | 13 | 65% | ✓ Good | 130 | Ch 3 | 10 | 10 | 100% | ✓ Excellent | 131 - | Ch 4 | 15 | 12 | 80% | ✓ Excellent | 131 + | Ch 4 | 25 | 10 | 40% | ⚠ Needs Improvement | 132 | Ch 5 | 12 | 10 | 83% | ✓ Excellent | 133 | Ch 6 | 14 | 11 | 79% | ✓ Good | 134 | Ch 7 | 11 | 10 | 91% | ✓ Excellent |
⏺ Successfully generated a comprehensive quiz for Chapter 4: Patient-Centric Data Modeling!
Summary
Content Readiness: 100/100 - Chapter has 7,091 words (excellent) - 25 concepts well-explained with examples and MicroSim specifications - All concepts clearly defined in glossary
Quiz Quality: 92/100
10 Questions Generated: - Bloom's Taxonomy Distribution: - 3 Remember (30%) - 3 Understand (30%) - 3 Apply (30%) - 1 Analyze (10%) - Answer Balance: - A: 2 (20%) - B: 3 (30%) - C: 3 (30%) - D: 2 (20%)
Concepts Tested: 1. Patient Record 2. Patient ID 3. Disease & Medical Condition 4. Diagnosis 5. Prescription, Medication, Dosage 6. Drug Interaction 7. Lab Test & Lab Result 8. Patient Outcome 9. Patient Journey
Files Created/Updated: - docs/chapters/04-patient-centric-data-modeling/quiz.md ✓ - docs/learning-graph/quizzes/04-patient-centric-data-modeling-quiz-metada ta.json ✓ - docs/learning-graph/quiz-bank.json (updated) ✓ - docs/learning-graph/quiz-generation-report.md (updated) ✓
All questions follow the mkdocs-material question admonition format with upper-alpha styling and include comprehensive explanations with chapter references.
how many tokens were just used to create this quiz for chapter 4?
⏺ Based on the token usage tracking shown in the system warnings:
- Starting token usage: 19,325 tokens
- Ending token usage: 73,480 tokens
- Total tokens used for Chapter 4 quiz: 54,155 tokens
This included: - Reading chapter content (7,091 words) - Reading course description and learning graph - Reading existing quiz examples - Reading glossary - Generating 10 questions with proper formatting - Creating metadata JSON file - Updating quiz bank and quality report - Multiple edits to balance answer distribution
For context, that's about 27% of the 200,000 token budget allocated for this task.
Note
This means you can only generate quizzes on three chapters per 5-hour window! This shows that you need to start these tasks just before you go to lunch or before you go to sleep.