DiagnosticTree/FrontalHeadache: Difference between revisions

From Painwiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
{
{
   "tree_id": "frontal-headache",
   "model": "bayesian_lr_scoring",
   "region": "Frontal Headache",
  "version": "1.0",
   "start": "agg-1",
   "region_label": "Frontal Headache",
 
   "description": "Probabilistic scoring model for frontal headache using Bayesian likelihood ratio updating with Thurstonian pairwise tiebreakers. Muscles drawn from T&S Vol.1: SCM (Ch.7), Semispinalis Capitis (Ch.16), Occipitofrontalis/Frontalis (Ch.14), Zygomaticus Major (Ch.13). SCM is split into clavicular and sternal divisions, scored separately due to clinically distinct referral and autonomic patterns (Subclavius principle). Bold muscles (SCM both divisions, semispinalis) carry higher priors; facial satellites (frontalis, zygomaticus) carry lower priors as they are almost always satellites of the key TrPs. Converted from legacy DiagnosticTree format 2026-07.",
   "redflags": {
   "thresholds": {
     "emergency": [
     "early_exit_posterior": 0.55,
      {
    "early_exit_gap": 0.18,
        "id": "rf-e1",
    "pairwise_trigger": 0.22
        "label": "Thunderclap headache",
  },
        "question": "Did the headache reach maximum intensity within seconds to a minute — described as 'the worst headache of my life' or like a blow to the head?",
  "emergency": [
        "rationale": "Subarachnoid haemorrhage presents as thunderclap headache. Any instantaneous-onset severe headache is an emergency until proven otherwise.",
    {
        "action": "Call emergency services immediately. Do not proceed with musculoskeletal assessment."
      "id": "rf-e1",
      },
      "label": "Thunderclap headache",
      {
      "question": "Did the headache reach maximum intensity within seconds to a minute \u2014 described as 'the worst headache of my life' or like a blow to the head?"
        "id": "rf-e2",
    },
        "label": "Signs of raised intracranial pressure",
    {
        "question": "Is there headache that is worse on waking, progressively worsening over days or weeks, or associated with vomiting, visual changes, or altered consciousness?",
      "id": "rf-e2",
        "rationale": "Progressive headache with morning predominance or vomiting suggests raised ICP — may indicate intracranial mass, hydrocephalus, or venous sinus thrombosis.",
      "label": "Signs of raised intracranial pressure",
        "action": "Emergency medical referral. CT head urgently required."
      "question": "Is there headache that is worse on waking, progressively worsening over days or weeks, or associated with vomiting, visual changes, or altered consciousness?"
      },
    },
      {
    {
        "id": "rf-e3",
      "id": "rf-e3",
        "label": "Meningism",
      "label": "Meningism",
        "question": "Is there neck stiffness with fever, photophobia, or a non-blanching rash?",
      "question": "Is there neck stiffness with fever, photophobia, or a non-blanching rash?"
        "rationale": "Meningitis or encephalitis must be excluded immediately. Neck stiffness with fever is a medical emergency.",
    },
        "action": "Call emergency services immediately."
    {
      },
      "id": "rf-e4",
      {
      "label": "Acute angle-closure glaucoma",
        "id": "rf-e4",
      "question": "Is there frontal or periorbital pain with sudden visual blurring, halos around lights, nausea, or a hard red eye?"
        "label": "Acute angle-closure glaucoma",
    },
        "question": "Is there frontal or periorbital pain with sudden visual blurring, halos around lights, nausea, or a hard red eye?",
    {
        "rationale": "Acute angle-closure glaucoma presents as severe frontal or periorbital pain with visual symptoms and is a sight-threatening emergency.",
      "id": "rf-e5",
        "action": "Emergency ophthalmology referral same day."
      "label": "SNOOP screen \u2014 secondary headache flags",
       }
       "question": "Any of: Systemic signs (fever, weight loss, cancer, HIV, immunosuppression); Neurological deficit or altered consciousness; Onset sudden (thunderclap); Onset after age 50; Pattern change from previous headaches; Papilloedema or positional/Valsalva aggravation?"
    ],
    }
    "urgent": [
  ],
      {
  "urgent": [
        "id": "rf-u1",
    {
        "label": "Temporal arteritis",
      "id": "rf-u1",
        "question": "Is the patient aged 50+ with jaw claudication (pain building with chewing then easing), scalp tenderness, or a non-pulsatile tender temporal artery?",
      "label": "Temporal arteritis (giant cell arteritis)",
        "rationale": "Temporal arteritis can cause irreversible blindness if untreated. Jaw claudication is pathognomonic. Same-day ESR required.",
      "question": "Is the patient aged 50+ with jaw claudication (pain building with chewing then easing), scalp tenderness, or a non-pulsatile tender temporal artery? Same-day ESR/CRP required \u2014 risk of irreversible blindness."
        "action": "Same-day GP referral + ESR and CRP. Do not delay for musculoskeletal assessment."
    },
      },
    {
      {
      "id": "rf-u2",
        "id": "rf-u2",
      "label": "Cervical instability",
        "label": "Cervical instability",
      "question": "Is there a history of significant trauma to the head or neck combined with arm symptoms, gait disturbance, or headache worsened by neck loading? No manual therapy or cervical stretch until cleared."
        "question": "Is there a history of significant trauma to the head or neck combined with arm symptoms, gait disturbance, or headache worsened by neck loading?",
    },
        "rationale": "Odontoid fracture or cervical instability can produce occipital and frontal head pain. Manual therapy is contraindicated until cleared.",
    {
        "action": "Urgent spinal assessment — no manual therapy or cervical stretch until cleared."
      "id": "rf-u3",
      },
      "label": "New headache in immunocompromised patient",
      {
      "question": "Is the patient immunocompromised (HIV, cancer, immunosuppressants) with a new or changing headache pattern? Opportunistic intracranial infection must be excluded."
        "id": "rf-u3",
    }
        "label": "New headache in immunocompromised patient",
  ],
        "question": "Is the patient immunocompromised (HIV, cancer, immunosuppressants) with a new or changing headache pattern?",
  "muscles": {
        "rationale": "Opportunistic intracranial infection such as cryptococcal meningitis or toxoplasmosis can present as progressive frontal headache.",
    "scm_clavicular": {
        "action": "Urgent medical referral."
      "label": "SCM \u2014 Clavicular Division",
       }
      "prior": 0.13,
     ]
      "page": "Muscle:Sternocleidomastoid",
      "key_trp_note": "The clavicular division is the chief myofascial source of ipsilateral frontal headache and drives frontalis satellite TrPs. Treating the clavicular SCM often resolves frontalis without direct treatment. NO autonomic phenomena \u2014 the absence of tearing and rhinitis distinguishes it from the sternal division. May also produce postural dizziness, imbalance, and dysmetria.",
      "subtitle": "Frontal headache aggravated by neck posture/head load; dizziness or imbalance; NO tearing or rhinitis"
    },
    "scm_sternal": {
      "label": "SCM \u2014 Sternal Division",
      "prior": 0.13,
      "page": "Muscle:Sternocleidomastoid",
      "key_trp_note": "The sternal division refers to cheek, supraorbital ridge, temple, occiput, and vertex \u2014 the frontal component is part of a wider pattern. Cardinal features are ipsilateral autonomic phenomena: profuse tearing, rhinitis, apparent ptosis. Drives zygomaticus major and orbicularis oculi satellites. SCM Compression Test resolves concurrent sore throat on swallowing. Treat sternal SCM before facial satellites.",
      "subtitle": "Cheek/orbital/frontal pain with autonomic phenomena \u2014 tearing, rhinitis, apparent ptosis"
    },
    "semispinalis": {
      "label": "Semispinalis Capitis",
      "prior": 0.13,
      "page": "Muscle:Semispinalis_Capitis",
      "key_trp_note": "The defining referral is a band-like headache encircling the head, maximal at the temple, continuing forward over the eye. Nuchal-line tenderness (Location 1) is enthesopathy driven by a midbelly TrP (Location 2) \u2014 palpate midbelly for the causal TrP. DO NOT inject Location 2 (vertebral artery proximity at C1). Greater occipital nerve entrapment may coexist. Frequently a satellite of upper trapezius and splenius capitis key TrPs \u2014 treat those first.",
      "subtitle": "Band-like headache encircling occiput \u2192 temple \u2192 over the eye; worse with sustained neck flexion"
    },
    "frontalis": {
      "label": "Frontalis (Occipitofrontalis)",
      "prior": 0.086667,
      "page": "Muscle:Occipitofrontalis",
      "key_trp_note": "Frontalis TrPs are nearly always satellites of clavicular division SCM TrPs \u2014 check and treat SCM first. Pain stays local to the forehead with no referral to eye or occiput. A habitually furrowed brow or raised eyebrows at rest is the cardinal sign. Suspect supraorbital nerve entrapment if the pain has a neuritic burning quality above the medial eyebrow.",
       "subtitle": "Pain localised to the forehead itself; no referral to eye/cheek/occiput; furrowed brow at rest"
    },
     "zygomaticus": {
      "label": "Zygomaticus Major",
      "prior": 0.086667,
      "page": "Muscle:Zygomaticus_Major",
      "key_trp_note": "Zygomaticus major TrPs refer in a distinctive nasal arc: cheek \u2192 lateral nose \u2192 nasal bridge \u2192 mid-forehead. TrP tightness restricts jaw opening 10\u201320mm; inactivation restores opening immediately (intratreatment confirmation). Nearly always a satellite of SCM sternal division or masticatory TrPs \u2014 treat the key TrP first.",
      "subtitle": "Nasal arc: cheek up the side of the nose to mid-forehead; jaw opening may be restricted 10\u201320mm"
    }
   },
   },
 
   "questions": [
   "nodes": {
    {
 
      "id": "q_primary_pattern",
    "agg-1": {
      "text": "What is the PRIMARY pattern of the frontal headache?",
      "sublabel": "This first split separates the muscles by mechanism. Choose the dominant pattern.",
       "type": "choice",
       "type": "choice",
       "question": "What is the PRIMARY pattern of the frontal headache?",
       "answers": [
      "clinical_rationale": "This first split separates the five muscles by mechanism. SCM clavicular produces frontal headache via neck and postural loading, or with dizziness. SCM sternal produces frontal headache via cheek and orbital referral with autonomic phenomena. Semispinalis capitis produces an encircling band that reaches the temple and sweeps forward over the eye, worsened by neck flexion. The facial satellite muscles — frontalis and zygomaticus major — produce local forehead or nasal arc patterns without a prominent neck component.",
      "options": [
         {
         {
           "label": "Neck movement, posture, or head load aggravates — or dizziness accompanies the frontal headache",
          "id": "neck_posture_dizziness",
           "label": "Neck movement, posture, or head load aggravates \u2014 OR dizziness/imbalance accompanies the frontal headache",
           "sublabel": "Turning the head, looking down, carrying a bag, sustained forward head position, or balance disturbance alongside the pain",
           "sublabel": "Turning the head, looking down, carrying a bag, sustained forward head position, or balance disturbance alongside the pain",
           "next": "scm-split-1"
           "lr": {
            "scm_clavicular": 6.0,
            "scm_sternal": 2.0,
            "semispinalis": 2.5,
            "frontalis": 1.0,
            "zygomaticus": 0.4
          }
         },
         },
         {
         {
          "id": "encircling_band",
           "label": "Band-like headache encircling from the occiput through the temple and forward over the eye",
           "label": "Band-like headache encircling from the occiput through the temple and forward over the eye",
           "sublabel": "Worsened by sustained neck flexion — reading, computing, sewing; often bilateral or sub-occipital at onset",
           "sublabel": "Worsened by sustained neck flexion \u2014 reading, computing, sewing; often bilateral or sub-occipital at onset",
           "next": "semispinalis-screen-1"
           "lr": {
            "semispinalis": 9.0,
            "scm_clavicular": 1.0,
            "scm_sternal": 1.0,
            "frontalis": 0.4,
            "zygomaticus": 0.3
          }
         },
         },
         {
         {
           "label": "Frontal pain that stays local to the forehead — OR a curved nasal arc from cheek up along the nose to mid-forehead",
          "id": "cheek_orbital_autonomic",
           "sublabel": "No prominent neck component; pain localised to the forehead itself, or tracing an arc up the side of the nose",
          "label": "Cheek, orbit, temple, and frontal pain \u2014 as part of a wider facial pattern, often with tearing or a watering/congested nose",
           "next": "facial-split-1"
          "sublabel": "Pain spreads across the cheek and around the eye with autonomic features on the same side",
          "lr": {
            "scm_sternal": 8.0,
            "zygomaticus": 2.0,
            "scm_clavicular": 0.8,
            "semispinalis": 0.6,
            "frontalis": 0.5
          }
        },
        {
          "id": "local_forehead",
           "label": "Frontal pain that stays LOCAL to the forehead itself",
          "sublabel": "No prominent neck component; pain confined to the forehead; patient may have a habitually furrowed brow",
          "lr": {
            "frontalis": 9.0,
            "scm_clavicular": 1.5,
            "scm_sternal": 0.5,
            "semispinalis": 0.4,
            "zygomaticus": 0.6
          }
        },
        {
          "id": "nasal_arc",
          "label": "A curved NASAL ARC \u2014 from the cheek, up along the side of the nose, to the mid-forehead",
           "sublabel": "Pain traces an arc up the side of the nose; jaw opening may be mildly restricted",
           "lr": {
            "zygomaticus": 10.0,
            "scm_sternal": 2.0,
            "frontalis": 0.6,
            "scm_clavicular": 0.4,
            "semispinalis": 0.3
          }
         }
         }
       ]
       ]
     },
     },
 
     {
     "scm-split-1": {
       "id": "q_autonomic",
       "type": "symptom",
       "text": "Alongside the frontal headache, are there ipsilateral AUTONOMIC phenomena \u2014 profuse tearing, rhinitis (watering or congested nose), conjunctival redness, or apparent drooping of the eyelid on the same side?",
       "question": "Alongside the frontal headache, are there ipsilateral AUTONOMIC phenomena — profuse tearing, rhinitis (watering or congested nose), conjunctival redness, or apparent drooping of the eyelid on the same side?",
       "sublabel": "These separate the two SCM divisions. Confirm pupils equal and reactive to exclude true Horner syndrome.",
       "symptom_name": "Autonomic phenomena — tearing, rhinitis, palpebral narrowing",
       "type": "binary",
       "muscles_implicated": ["SCM (Sternal Division)"],
       "answers": [
       "muscles_excluded": ["SCM (Clavicular Division)"],
        {
      "clinical_rationale": "This single question separates the two SCM divisions. Autonomic phenomena are specific to the sternal division — the clavicular division produces postural dizziness and frontal headache without tearing, rhinitis, or palpebral changes. Tearing is often the most alarming symptom to the patient and is frequently misattributed to eye disease.",
          "id": "yes",
      "yes": "exam-scm-sternal-1",
          "label": "Yes \u2014 tearing, rhinitis, conjunctival redness, or apparent ptosis on the pain side",
      "no": "exam-scm-clavicular-1"
          "lr": {
            "scm_sternal": 9.0,
            "zygomaticus": 1.5,
            "scm_clavicular": 0.2,
            "semispinalis": 0.4,
            "frontalis": 0.5
          }
        },
        {
          "id": "no",
          "label": "No \u2014 no autonomic phenomena",
          "lr": {
            "scm_sternal": 0.3,
            "scm_clavicular": 1.4,
            "semispinalis": 1.2,
            "frontalis": 1.2,
            "zygomaticus": 0.9
          }
        }
      ]
     },
     },
 
    {
    "exam-scm-clavicular-1": {
      "id": "q_neck_flexion",
       "type": "examination",
       "text": "Is cervical flexion restricted or does it reproduce the headache?",
       "question": "Does flat palpation of the clavicular head of the SCM — from the medial clavicle upward toward the mastoid — reproduce the frontal headache or provoke dizziness?",
       "sublabel": "Ask the patient to slowly lower the chin toward the chest \u2014 is the range reduced (normally chin comes within 1\u20132 finger-breadths of the sternum), or does flexion provoke or intensify the frontal or band-like pain?",
       "exam_type": "palpation",
       "type": "binary",
       "landmark": "With the patient supine and head rotated slightly toward the opposite side, use flat palpation of the clavicular (posterior) head, which lies deep and posterior to the sternal head. Palpate from the medial clavicle upward. Use the sternal head as a landmark and palpate just posterior to it. Ask the patient to report reproduction of the familiar headache OR any dizziness or imbalance sensation.",
       "answers": [
      "positive_finding": "Reproduces ipsilateral frontal headache, dizziness, or sensation of imbalance",
        {
      "muscles_implicated": ["SCM (Clavicular Division)"],
          "id": "yes",
      "yes": "result-scm-clavicular",
          "label": "Yes \u2014 cervical flexion is restricted or reproduces the headache",
      "no": "semispinalis-screen-1"
          "lr": {
            "semispinalis": 7.0,
            "scm_clavicular": 0.7,
            "scm_sternal": 0.6,
            "frontalis": 0.4,
            "zygomaticus": 0.3
          }
        },
        {
          "id": "no",
          "label": "No \u2014 full pain-free cervical flexion",
          "lr": {
            "semispinalis": 0.2,
            "scm_clavicular": 1.2,
            "scm_sternal": 1.2,
            "frontalis": 1.2,
            "zygomaticus": 1.2
          }
        }
      ]
     },
     },
 
     {
     "exam-scm-sternal-1": {
       "id": "q_dizziness",
       "type": "examination",
       "text": "Is there postural dizziness, imbalance, or disturbed weight perception (dysmetria) \u2014 without vertigo, nystagmus, or a positive Romberg?",
       "question": "Does pincer palpation of the sternal head — grasping the full muscle belly between thumb and forefinger from mastoid to sternum — reproduce the cheek, orbital, or frontal pain? And does the SCM Compression Test resolve a concurrent sore throat on swallowing?",
       "sublabel": "Non-vestibular imbalance: veering toward one side on a straight-line walk, dizziness worse lying without a pillow or on quick head rotation. Romberg negative, no nystagmus.",
       "exam_type": "palpation",
       "type": "binary",
       "landmark": "Patient supine, head rotated slightly toward the TrP side to relax the muscle. Grasp the full sternal belly in a pincer grip from the mastoid process down to the sternum. SCM Compression Test: firmly grip the belly and ask the patient to swallow — resolution of pharyngeal pain with compression is pathognomonic of a sternal central TrP. Also note palpebral fissure width: narrowing on the TrP side (apparent ptosis without miosis) is a confirmatory sign.",
      "answers": [
      "positive_finding": "Reproduces cheek, orbit, vertex, or frontal pain. SCM Compression Test may relieve concurrent sore throat.",
        {
      "muscles_implicated": ["SCM (Sternal Division)"],
          "id": "yes",
      "yes": "result-scm-sternal",
          "label": "Yes \u2014 non-vestibular dizziness, imbalance, or dysmetria",
      "no": "semispinalis-screen-1"
          "lr": {
            "scm_clavicular": 8.0,
            "scm_sternal": 0.8,
            "semispinalis": 0.6,
            "frontalis": 0.5,
            "zygomaticus": 0.4
          }
        },
        {
          "id": "no",
          "label": "No \u2014 no dizziness or imbalance",
          "lr": {
            "scm_clavicular": 0.4,
            "scm_sternal": 1.1,
            "semispinalis": 1.1,
            "frontalis": 1.1,
            "zygomaticus": 1.1
          }
        }
      ]
     },
     },
 
     {
     "semispinalis-screen-1": {
       "id": "q_jaw_opening",
       "type": "rom",
       "text": "Is jaw opening restricted \u2014 and does the restriction improve immediately when the relevant facial or masticatory trigger points are released?",
       "question": "Is cervical flexion restricted or does it reproduce the headache? Ask the patient to slowly lower the chin toward the chest — is the range reduced, or does flexion provoke or intensify the frontal or band-like pain?",
       "sublabel": "Measure interincisal opening. Zygomaticus (and masticatory) TrP tightness may reduce opening by 10\u201320mm; immediate restoration on TrP inactivation is a confirmatory sign.",
       "movement": "Cervical flexion",
       "type": "binary",
       "direction": "aggravating",
       "answers": [
       "muscles_implicated": ["Semispinalis Capitis"],
        {
      "clinical_rationale": "Semispinalis capitis acts as a checkrein during neck flexion — even slight forward head posture chronically loads it. Normal cervical flexion brings the chin within one to two finger-breadths of the sternum. Restriction or reproduction of the headache at less than this range is clinically significant.",
          "id": "yes",
      "yes": "exam-semispinalis-1",
          "label": "Yes \u2014 jaw opening restricted 10\u201320mm",
      "no": "facial-split-1"
          "lr": {
            "zygomaticus": 6.0,
            "scm_sternal": 1.3,
            "scm_clavicular": 0.6,
            "semispinalis": 0.6,
            "frontalis": 0.5
          }
        },
        {
          "id": "no",
          "label": "No \u2014 jaw opening is full and unrestricted",
          "lr": {
            "zygomaticus": 0.3,
            "scm_sternal": 1.0,
            "scm_clavicular": 1.1,
            "semispinalis": 1.1,
            "frontalis": 1.1
          }
        }
      ]
     },
     },
 
    {
    "exam-semispinalis-1": {
      "id": "q_brow_posture",
       "type": "examination",
       "text": "Does the patient have a habitually furrowed brow or persistently raised eyebrows at rest?",
       "question": "Does flat palpation of the semispinalis capitis — alongside the nuchal ligament from C₁ down to C₄, and at the enthesopathy zone at the nuchal line — reproduce the encircling or temporal headache?",
       "sublabel": "A visible sign of chronic frontalis overload \u2014 observe the resting brow position during history-taking.",
       "exam_type": "palpation",
       "type": "binary",
       "landmark": "Location 1 (enthesopathy zone): 1–2 cm lateral to midline at the superior nuchal line — usually exquisitely tender; driven by taut bands from TrPs lower in the muscle. Location 2 (upper-third TrP): at or just above C₁ level, 1–3 cm lateral to midline — DO NOT inject here (vertebral artery proximity). Location 3 (middle-third TrP): approximately C₃–C₄ level, 2–3 cm lateral to midline. Also examine upper trapezius and splenius capitis — these are key TrPs that frequently activate semispinalis as a satellite.",
       "answers": [
      "positive_finding": "Tenderness at the nuchal line (Location 1) or midbelly (Locations 2 or 3) that reproduces the band-like temporal or frontal headache",
        {
      "muscles_implicated": ["Semispinalis Capitis"],
          "id": "yes",
      "yes": "result-semispinalis",
          "label": "Yes \u2014 habitually furrowed or raised brow at rest",
      "no": "facial-split-1"
          "lr": {
            "frontalis": 5.0,
            "scm_clavicular": 1.2,
            "scm_sternal": 0.8,
            "semispinalis": 0.7,
            "zygomaticus": 0.7
          }
        },
        {
          "id": "no",
          "label": "No \u2014 resting brow position is normal",
          "lr": {
            "frontalis": 0.5,
            "scm_clavicular": 1.0,
            "scm_sternal": 1.0,
            "semispinalis": 1.0,
            "zygomaticus": 1.0
          }
        }
      ]
     },
     },
 
     {
     "facial-split-1": {
       "id": "q_sore_throat",
       "type": "choice",
       "text": "Does the SCM Compression Test relieve a concurrent sore throat on swallowing \u2014 firmly gripping the sternal belly and asking the patient to swallow eases pharyngeal pain?",
       "question": "Which pattern best describes the frontal or forehead pain?",
       "sublabel": "Pathognomonic of a sternal-division central TrP. Also note a dry tingling cough from a TrP near the sternal attachment.",
       "clinical_rationale": "At this point the neck-dominant muscles have been screened. The remaining two muscles are distinguished by referral geometry. Frontalis TrPs stay local to the forehead itself — the referred pain does not leave the muscle territory. Zygomaticus major TrPs produce a distinctive nasal arc (cheek to nose side to mid-forehead) and often restrict jaw opening by 10–20mm. Both are nearly always satellites of SCM or masticatory TrPs — treating the key TrP first often resolves both.",
       "type": "binary",
       "options": [
      "answers": [
         {
         {
           "label": "Pain spreads upward and over the forehead — localised to the forehead itself",
          "id": "yes",
           "sublabel": "Stays within the forehead region; no referral to the cheek or along the nose; patient may have a habitually furrowed brow",
           "label": "Yes \u2014 compression relieves the sore throat on swallowing",
          "next": "exam-frontalis-1"
           "lr": {
            "scm_sternal": 7.0,
            "scm_clavicular": 0.5,
            "semispinalis": 0.5,
            "frontalis": 0.5,
            "zygomaticus": 0.8
          }
         },
         },
         {
         {
           "label": "Pain traces an arc from the cheek, up along the side of the nose, to the mid-forehead",
          "id": "no",
           "sublabel": "The nasal arc pattern — curved path from cheek through nose bridge to forehead; jaw opening may be mildly restricted",
           "label": "No \u2014 no sore throat, or compression does not change it",
          "next": "exam-zygomaticus-1"
           "lr": {
            "scm_sternal": 0.8,
            "scm_clavicular": 1.1,
            "semispinalis": 1.1,
            "frontalis": 1.1,
            "zygomaticus": 1.0
          }
         }
         }
       ]
       ]
     },
     },
 
     {
     "exam-frontalis-1": {
       "id": "q_flexion_activities",
       "type": "examination",
       "text": "Is the headache clearly provoked by sustained forward-head activities \u2014 reading, computing, sewing, or writing with the head flexed for long periods?",
       "question": "Does flat palpation of the frontalis belly — pressing through the forehead skin above the eyebrow — reproduce the frontal headache? Also note: does the patient have a habitually furrowed brow or persistently raised eyebrows at rest?",
       "sublabel": "The checkrein loading mechanism of semispinalis capitis \u2014 sustained neck flexion chronically loads the muscle.",
      "exam_type": "palpation",
       "type": "binary",
      "landmark": "Frontalis lies in the subcutaneous fascia with no bony attachment anteriorly. Press firmly with the pad of the index finger through the forehead skin, moving systematically from above the medial eyebrow laterally. TrP tenderness will be focal and reproduce the familiar pain. Note brow position at rest — a habitually elevated or furrowed brow indicates chronic frontalis overload.",
       "answers": [
      "positive_finding": "Focal tenderness in the forehead belly reproducing the frontal headache. Habitually furrowed or raised brow at rest.",
        {
      "muscles_implicated": ["Frontalis (Occipitofrontalis)"],
          "id": "yes",
      "clinical_note": "Frontalis TrPs are nearly always satellites of SCM clavicular division TrPs — check and treat SCM first. If the forehead pain has a neuritic burning or stinging quality above the medial eyebrow, suspect supraorbital nerve entrapment by frontalis taut bands.",
          "label": "Yes \u2014 clearly provoked by sustained forward-head activity",
      "yes": "result-frontalis",
          "lr": {
      "no": "result-overlap"
            "semispinalis": 4.0,
    },
            "scm_clavicular": 1.2,
 
            "scm_sternal": 0.9,
    "exam-zygomaticus-1": {
            "frontalis": 1.2,
      "type": "examination",
            "zygomaticus": 0.7
      "question": "Does flat palpation of the zygomaticus major — along the diagonal from the zygomatic bone to the angle of the mouth — reproduce the nasal arc pain? Is jaw opening mildly restricted?",
          }
       "exam_type": "palpation",
         },
      "landmark": "Palpate with the index finger pad along the muscle's diagonal course from the malar prominence of the zygomatic bone to the angle of the mouth. The muscle is superficial and ribbon-like. Pincer palpation is possible with a gloved intraoral finger against the cheek. Measure interincisal opening — TrP tightness may reduce opening by 10–20mm. Inactivating the TrPs should restore opening immediately, which serves as an intratreatment confirmation.",
         {
       "positive_finding": "Tenderness along the diagonal belly reproducing the nasal arc pattern. Jaw opening possibly reduced by 10–20mm.",
          "id": "no",
       "muscles_implicated": ["Zygomaticus Major"],
          "label": "No \u2014 not clearly related to sustained neck flexion",
      "clinical_note": "Zygomaticus major TrPs develop as satellites of SCM sternal division or masticatory TrPs. Always identify the key TrP — the satellite often resolves without direct treatment.",
          "lr": {
      "yes": "result-zygomaticus",
            "semispinalis": 0.5,
      "no": "result-overlap"
            "scm_clavicular": 1.0,
    },
            "scm_sternal": 1.0,
 
            "frontalis": 0.9,
    "result-scm-clavicular": {
            "zygomaticus": 1.1
      "type": "result",
          }
      "diagnosis": "SCM Trigger Point — Clavicular Division",
         }
      "confidence": "high",
      "wiki_page": "Muscle:Sternocleidomastoid",
      "chapter_ref": "Travell & Simons Vol.1 — Ch.7 Sternocleidomastoid",
      "notes": "The clavicular division is the chief myofascial source of ipsilateral frontal headache. Any one of three presentations may dominate: frontal headache, postural dizziness or imbalance, or dysmetria (disturbed weight perception). The headache is aggravated by neck posture and head loading — carrying a bag on the same shoulder, lying without pillow support, or rapid head rotation. There are NO autonomic phenomena — the absence of tearing and rhinitis is the key distinguishing feature from the sternal division. Hearing may rarely be impaired on the same side.",
      "treatment_hint": "Flat palpation and spray and stretch of the clavicular head from clavicle upward. Correct forward head posture — the single most important perpetuating factor. Advise the patient to roll the head on the pillow when turning in bed rather than lifting it. Treating the clavicular SCM often resolves frontalis satellite TrPs without direct treatment.",
      "also_consider": ["SCM Sternal Division", "Semispinalis Capitis", "Scalene muscles", "Splenius Cervicis"],
      "less_likely": [
         { "muscle": "SCM Sternal Division", "reason": "No autonomic phenomena — absent tearing, rhinitis, and palpebral narrowing" },
         { "muscle": "Semispinalis Capitis", "reason": "No encircling band quality and no neck flexion aggravation on examination" },
        { "muscle": "Frontalis", "reason": "Clavicular SCM is the key TrP — frontalis is its satellite; treat SCM first" }
      ],
      "confirmatory": [
        "Frontal headache reproduced by flat palpation of the clavicular head — familiar headache reproduction, not just local tenderness",
        "Straight-line walking test: patient veers toward the TrP side while walking toward a fixed point — confirms clavicular division involvement",
        "Dizziness worsened by lying without pillow or by quick head rotation — non-vestibular character",
        "Romberg negative and nystagmus absent — distinguishes from vestibular pathology",
        "No autonomic phenomena — no tearing, rhinitis, or palpebral narrowing on the headache side",
        "Weight perception test: same object may feel heavier when held on the unaffected side (dysmetria)"
      ],
      "satellite_trps": ["Frontalis", "Orbicularis Oculi", "Scalene muscles", "Sternalis"],
      "landing_page_topics": [
        "Dizziness differentiation — vestibular vs non-vestibular: Romberg, nystagmus, straight-line walk",
        "Hearing restoration manoeuvre — rotate head toward affected side, tilt chin down",
        "Dysmetria and weight perception testing",
        "Car sickness, sea sickness, and nausea as clavicular TrP features",
        "Satellite TrP sequence — SCM clavicular before frontalis"
      ],
      "related_pages": [
        { "label": "Frontalis / Occipitofrontalis →", "page": "Muscle:Occipitofrontalis" },
         { "label": "Scalene TrPs →", "page": "Muscle:Scalene" }
       ]
       ]
     },
     }
 
  ],
    "result-scm-sternal": {
  "pairwise": [
      "type": "result",
    {
      "diagnosis": "SCM Trigger Point — Sternal Division",
       "id": "pw_scm_clav_sternal",
      "confidence": "high",
       "pair": [
      "wiki_page": "Muscle:Sternocleidomastoid",
         "scm_clavicular",
      "chapter_ref": "Travell & Simons Vol.1 — Ch.7 Sternocleidomastoid",
         "scm_sternal"
      "notes": "The sternal division refers to the cheek, supraorbital ridge, temple, occiput, and vertex — the frontal component is part of a wider pattern. Cardinal features are ipsilateral autonomic phenomena: profuse tearing (often more alarming to the patient than the pain itself), rhinitis, and apparent ptosis via palpebral fissure narrowing without true miosis. Head tilts toward the TrP side due to pain on holding the head upright. The patient prefers to lie with a pillow supporting the head so the sore face does not bear weight. A cough TrP near the sternal attachment may produce a dry tingling cough.",
      "treatment_hint": "Pincer palpation and spray and stretch superior to inferior. SCM Compression Test confirms sternal central TrP. Correct forward head posture. Treating the sternal SCM often resolves zygomaticus major and orbicularis oculi satellite TrPs without direct treatment.",
       "also_consider": ["SCM Clavicular Division", "Semispinalis Capitis", "Zygomaticus Major (satellite)"],
       "less_likely": [
         { "muscle": "SCM Clavicular Division", "reason": "Autonomic phenomena are present — tearing and rhinitis are specific to the sternal division" },
        { "muscle": "Semispinalis Capitis", "reason": "No encircling band quality; autonomic phenomena are specific to SCM sternal" },
         { "muscle": "Zygomaticus Major", "reason": "Sternal SCM is the key TrP driving zygomaticus as a satellite — treat SCM first" }
       ],
       ],
       "confirmatory": [
       "text": "Tiebreaker \u2014 SCM Clavicular vs Sternal Division",
        "SCM Compression Test positive — pharyngeal pain on swallowing resolves when the sternal belly is firmly gripped; pathognomonic of sternal central TrP",
      "question": "Are there autonomic phenomena (tearing, rhinitis, apparent ptosis) with the frontal headache, OR is the headache dominated by postural aggravation and dizziness WITHOUT any tearing or rhinitis?",
        "Profuse ipsilateral tearing — often the most alarming symptom; specific to the sternal division",
       "answers": [
        "Rhinitis on the TrP side — ipsilateral nasal congestion or watering without infection",
        {
        "Apparent ptosis without miosis — palpebral fissure narrowing; confirm pupils equal and reactive to exclude true Horner syndrome",
          "id": "autonomic_present",
        "Head tilts toward the TrP side; patient lies on sore side with pillow supporting the face",
          "label": "Autonomic phenomena present \u2014 tearing, rhinitis, apparent ptosis",
        "Visual disturbance with strongly contrasted vertical lines (venetian blinds, window frames) — not blurred or double vision"
          "lr": {
      ],
            "scm_sternal": 5.0,
       "satellite_trps": ["Zygomaticus Major", "Orbicularis Oculi", "Frontalis", "Masseter", "Temporalis"],
            "scm_clavicular": 0.2
      "landing_page_topics": [
          }
        "Horner syndrome exclusion — pupils, ciliospinal reflex, enophthalmos",
         },
        "CN XI entrapment and trapezius weakness monitoring",
         {
        "Cough TrP — dry tingling cough from sternal attachment",
          "id": "postural_dizziness",
        "Venetian blinds visual phenomenon",
          "label": "Postural aggravation and/or dizziness, NO autonomic phenomena",
        "Sleep posture and pillow advice",
          "lr": {
         "Satellite TrP treatment sequence — SCM sternal before facial muscles"
            "scm_sternal": 0.2,
      ],
            "scm_clavicular": 5.0
      "related_pages": [
          }
         { "label": "Zygomaticus Major TrP →", "page": "Muscle:Zygomaticus_Major" },
        }
        { "label": "Orbicularis Oculi TrP →", "page": "Muscle:Orbicularis_Oculi" }
       ]
       ]
     },
     },
 
     {
     "result-semispinalis": {
       "id": "pw_semispinalis_scm_clav",
       "type": "result",
       "pair": [
      "diagnosis": "Semispinalis Capitis Trigger Point",
         "semispinalis",
      "confidence": "high",
         "scm_clavicular"
      "wiki_page": "Muscle:Semispinalis_Capitis",
      "chapter_ref": "Travell & Simons Vol.1 — Ch.16 Semispinalis Capitis",
      "notes": "The defining referral is a band-like headache that encircles the head halfway, reaches maximum intensity at the temple, and continues forward over the eye. Tenderness at the nuchal line (Location 1) is enthesopathy driven by taut bands from a TrP in the upper-third midbelly (Location 2) — palpate the midbelly to find the causal TrP. Greater occipital nerve entrapment by taut bands produces a superficial tingling and hot prickling scalp pain distinct from the deep aching myofascial referral — both may coexist. The checkrein loading mechanism means sustained reading, computing, or sewing with a forward head posture chronically activates TrPs.",
      "treatment_hint": "Spray and stretch with neck extension and contralateral rotation. Moist heat. DO NOT inject Location 2 (vertebral artery proximity at C₁ level). Identify and treat upper trapezius and splenius capitis key TrPs first — semispinalis capitis is frequently their satellite and may resolve without direct treatment.",
      "also_consider": ["Upper Trapezius (key TrP)", "Splenius Capitis (key TrP)", "Semispinalis Cervicis", "Suboccipital Group"],
       "less_likely": [
         { "muscle": "SCM Clavicular Division", "reason": "Encircling band with neck flexion aggravation is specific to semispinalis; dizziness not dominant" },
        { "muscle": "SCM Sternal Division", "reason": "No autonomic phenomena; encircling band pattern does not arise from SCM" },
         { "muscle": "Frontalis", "reason": "Pain encircles from occiput through temple to forehead — not localised to the forehead muscle itself" }
       ],
       ],
       "confirmatory": [
       "text": "Tiebreaker \u2014 Semispinalis Capitis vs SCM Clavicular",
        "Band-like headache encircling from occiput through temporal region forward over the eye — the defining pattern of semispinalis capitis TrPs",
      "question": "Is the headache an encircling band (occiput \u2192 temple \u2192 over the eye) reproduced by neck flexion, OR is it a frontal headache aggravated by head load and accompanied by dizziness?",
        "Cervical flexion reproduces or intensifies the headache — the checkrein mechanism; reduced chin-to-chest range",
       "answers": [
        "Enthesopathy tenderness at the nuchal line (Location 1) — 1–2 cm lateral to midline at the superior nuchal line",
        {
        "Midbelly TrP (Location 2 or 3) reproduces the band headache on palpation — this is the causal TrP, not the nuchal line tenderness",
          "id": "encircling_flexion",
        "Greater occipital nerve entrapment: coexisting superficial tingling or hot prickling in scalp distribution — distinct from the deep aching referral",
          "label": "Encircling band reproduced by cervical flexion",
        "Aggravated by sustained forward head posture activities: reading, computing, sewing, writing"
          "lr": {
      ],
            "semispinalis": 4.5,
       "satellite_trps": ["Semispinalis Cervicis", "Suboccipital Group", "Multifidi", "Upper Trapezius"],
            "scm_clavicular": 0.25
      "landing_page_topics": [
          }
        "Three TrP locations — palpation technique, injection caution for Location 2",
         },
        "Greater occipital nerve entrapment — deep aching vs superficial tingling distinction",
         {
        "Occipital neuralgia differentiation — treat TrPs before neuroablative procedures",
          "id": "frontal_dizziness",
         "Posture correction — reading stands, screen height, laptop use"
          "label": "Frontal headache with head-load aggravation and dizziness",
      ],
          "lr": {
      "related_pages": [
            "semispinalis": 0.25,
         { "label": "Upper Trapezius TrPs →", "page": "Muscle:Trapezius/Upper" },
            "scm_clavicular": 4.5
        { "label": "Splenius Capitis TrP →", "page": "Muscle:Splenius_Capitis" }
          }
        }
       ]
       ]
     },
     },
 
     {
     "result-frontalis": {
       "id": "pw_frontalis_scm_clav",
       "type": "result",
       "pair": [
      "diagnosis": "Frontalis Trigger Point (Occipitofrontalis — Frontal Belly)",
         "frontalis",
      "confidence": "moderate",
         "scm_clavicular"
      "wiki_page": "Muscle:Occipitofrontalis",
      "chapter_ref": "Travell & Simons Vol.1 — Ch.14 Occipitofrontalis",
      "notes": "Frontalis TrPs produce pain that spreads upward and over the forehead on the same side — the referral stays local to the muscle, similar to TrPs in the deltoid. There is no referral to the eye or occiput. A habitually furrowed brow or persistently raised eyebrows at rest are the cardinal clinical signs of chronic frontalis overload. Frontalis TrPs are nearly always satellites of clavicular division SCM TrPs — treating SCM first is essential and often resolves the frontalis without direct treatment. If the frontal headache has a neuritic burning or stinging quality above the medial eyebrow, supraorbital nerve entrapment by frontalis taut bands should be suspected.",
      "treatment_hint": "Treat SCM clavicular division TrPs first — frontalis is almost always a satellite. If direct treatment is needed: spray and stretch upward over the forehead; ischemic compression over focal taut bands. Address habitual facial expression habits (frowning, raised brows).",
      "also_consider": ["SCM Clavicular Division (key TrP)", "Occipitalis belly", "Semispinalis Capitis"],
       "less_likely": [
         { "muscle": "SCM Clavicular Division", "reason": "SCM is the key TrP — frontalis is the satellite. Examine and treat SCM regardless." },
        { "muscle": "Zygomaticus Major", "reason": "No nasal arc pattern; pain localised to the forehead itself" },
         { "muscle": "Semispinalis Capitis", "reason": "No encircling band quality; pain does not spread from occiput through temple" }
       ],
       ],
       "confirmatory": [
       "text": "Tiebreaker \u2014 Frontalis vs SCM Clavicular",
        "Focal tenderness in the frontalis belly above the eyebrow reproducing the familiar frontal headache",
      "question": "Does the pain stay strictly LOCAL to the forehead with a furrowed brow at rest, OR is it a frontal headache with a clear neck-posture/head-load component or dizziness? (Note: frontalis is almost always a satellite of clavicular SCM \u2014 examine SCM regardless.)",
        "Pain stays local to the forehead — no referral to the eye, cheek, or occiput; this localisation distinguishes frontalis from all other muscles in this region",
       "answers": [
        "Habitually furrowed brow or raised eyebrows at rest — visible clinical sign of chronic overload",
        {
        "Supraorbital nerve entrapment suspected if neuritic burning or stinging quality above the medial eyebrow",
          "id": "local_forehead_brow",
        "Confirm clavicular SCM TrPs regardless — frontalis is almost invariably a satellite"
          "label": "Strictly local to the forehead; furrowed brow at rest; no neck component",
      ],
          "lr": {
       "satellite_trps": ["Occipitalis", "SCM Clavicular Division (key TrP)", "Temporalis"],
            "frontalis": 4.0,
      "landing_page_topics": [
            "scm_clavicular": 0.3
        "Supraorbital nerve entrapment — neuritic vs myofascial frontal headache",
          }
        "Occipitalis belly — through-the-skull referral and pillow intolerance",
        },
        "Satellite relationship with SCM clavicular division",
         {
        "Facial expression habits and frontalis overload"
          "id": "neck_component",
      ],
          "label": "Neck-posture/head-load component or dizziness present",
      "related_pages": [
          "lr": {
         { "label": "SCM TrPs →", "page": "Muscle:Sternocleidomastoid" },
            "frontalis": 0.3,
        { "label": "Occipitofrontalis page →", "page": "Muscle:Occipitofrontalis" }
            "scm_clavicular": 4.0
          }
        }
       ]
       ]
     },
     },
 
     {
     "result-zygomaticus": {
       "id": "pw_zygomaticus_scm_sternal",
       "type": "result",
       "pair": [
      "diagnosis": "Zygomaticus Major Trigger Point",
         "zygomaticus",
      "confidence": "moderate",
         "scm_sternal"
      "wiki_page": "Muscle:Zygomaticus_Major",
      "chapter_ref": "Travell & Simons Vol.1 — Ch.13 Zygomaticus Major",
      "notes": "Zygomaticus major TrPs refer in a distinctive nasal arc: from the cheek, along the lateral side of the nose, across the nasal bridge, and up to the mid-forehead. This is readily mistaken for tension headache or sinus pain. TrP tightness restricts jaw opening by 10–20mm — inactivating the TrPs should restore opening immediately, which serves as intratreatment confirmation. Unilateral palpebral fissure narrowing may be present on the affected side. Zygomaticus major TrPs are nearly always satellites of SCM sternal division TrPs (which refer to the cheek — the zygomaticus major lies within this referral zone) or severe masticatory muscle dysfunction.",
      "treatment_hint": "Treat SCM sternal division or masticatory TrPs first — zygomaticus major frequently resolves without direct treatment. If direct treatment is needed: spray and stretch along the diagonal muscle course; ischemic compression from zygomatic bone to the angle of the mouth. Immediate restoration of jaw opening confirms TrP inactivation.",
       "also_consider": ["SCM Sternal Division (key TrP)", "Masseter", "Buccinator", "Zygomaticus Minor"],
      "less_likely": [
         { "muscle": "SCM Sternal Division", "reason": "Sternal SCM is the key TrP for zygomaticus — always examine and treat before direct satellite treatment" },
         { "muscle": "Frontalis", "reason": "No nasal arc pattern — frontalis pain stays local to the forehead" },
        { "muscle": "Semispinalis Capitis", "reason": "No encircling band; nasal arc is specific to zygomaticus major" }
       ],
       ],
       "confirmatory": [
       "text": "Tiebreaker \u2014 Zygomaticus Major vs SCM Sternal",
        "Focal tenderness along the diagonal from zygomatic bone to angle of mouth reproducing the nasal arc pattern",
      "question": "Is the pain a discrete NASAL ARC (cheek \u2192 side of nose \u2192 mid-forehead) with restricted jaw opening, OR a wider cheek/orbital/frontal pattern with autonomic phenomena? (Note: zygomaticus is almost always a satellite of sternal SCM \u2014 examine SCM regardless.)",
        "Jaw opening restricted 10–20mm and improves immediately on TrP inactivation — intratreatment confirmation",
       "answers": [
        "Nasal arc referral confirmed: cheek to lateral nose to nasal bridge to mid-forehead",
        {
        "Unilateral palpebral fissure narrowing on the affected side from masticatory venous territory involvement",
          "id": "nasal_arc_jaw",
        "Confirm SCM sternal division TrPs — zygomaticus is almost invariably a satellite"
          "label": "Discrete nasal arc with restricted jaw opening",
      ],
          "lr": {
       "satellite_trps": ["Zygomaticus Minor", "Orbicularis Oris", "Buccinator", "SCM Sternal (key TrP)"],
            "zygomaticus": 4.0,
      "landing_page_topics": [
            "scm_sternal": 0.3
        "Nasal arc referral — clinical misdiagnosis as sinusitis or tension headache",
          }
        "Jaw opening restriction — immediate improvement on TrP inactivation as confirmation test",
         },
        "Palpebral fissure narrowing — venous mechanism in masticatory territory",
         {
         "Satellite relationship with SCM sternal and masticatory muscles"
          "id": "wider_autonomic",
      ],
          "label": "Wider cheek/orbital pattern with autonomic phenomena",
      "related_pages": [
          "lr": {
         { "label": "SCM TrPs →", "page": "Muscle:Sternocleidomastoid" },
            "zygomaticus": 0.3,
        { "label": "Buccinator TrP →", "page": "Muscle:Buccinator" }
            "scm_sternal": 4.0
          }
        }
       ]
       ]
    },
    "result-overlap": {
      "type": "overlap",
      "text": "Findings are inconclusive. Multi-muscle involvement is common in frontal headache — SCM is frequently the key TrP driving one or more satellite muscles in the face and scalp. Perform a systematic screen in order of clinical priority.",
      "screen_these": [
        "SCM both divisions — pincer palpation full length for the sternal head; flat palpation posterior to the sternal head for the clavicular head; SCM Compression Test for the sternal division",
        "Semispinalis capitis — palpation at the nuchal line (Location 1) and midbelly (Locations 2 and 3); assess neck flexion range and reproduction of headache",
        "Frontalis — flat palpation across the forehead above the eyebrow; note habitual brow position at rest",
        "Zygomaticus major — flat palpation along the diagonal from zygomatic bone to angle of mouth; measure jaw opening"
      ],
      "wiki_page": "Differential:Frontal_Headache"
     }
     }
 
  ],
  "treatment_dag": {
    "edges": [
      {
        "from": "scm_clavicular",
        "to": "frontalis",
        "type": "key_satellite",
        "label": "Clavicular SCM is the key TrP driving frontalis satellites \u2014 treat SCM first; frontalis often resolves without direct treatment"
      },
      {
        "from": "scm_sternal",
        "to": "zygomaticus",
        "type": "key_satellite",
        "label": "Sternal SCM is the key TrP driving zygomaticus major satellites \u2014 treat SCM first; zygomaticus often resolves without direct treatment"
      },
      {
        "from": "scm_clavicular",
        "to": "scm_sternal",
        "type": "functional_unit",
        "label": "Both SCM divisions frequently active together \u2014 examine and treat in the same session"
      },
      {
        "from": "semispinalis",
        "to": "frontalis",
        "type": "secondary_load",
        "label": "Forehead pain may persist as a semispinalis referral component \u2014 address after the key TrPs resolve"
      },
      {
        "from": "scm_sternal",
        "to": "semispinalis",
        "type": "antagonist_risk",
        "label": "\u26a0 Releasing anterior neck (SCM) may reactively load posterior extensors (semispinalis) \u2014 treat in alternating cycles"
      }
    ],
    "edge_type_labels": {
      "key_satellite": "Treat first \u2014 key TrP driving satellites",
      "functional_unit": "Treat concurrently in same session",
      "secondary_load": "Treat after primary resolves",
      "antagonist_risk": "\u26a0 Treat in alternating cycles \u2014 reactive activation risk"
    }
   },
   },
   "broad_differential": [
   "broad_differential": [
     {
     {
      "id": "bd-1",
       "condition": "Tension-type headache",
       "condition": "Tension-type Headache",
       "confidence": "uncommon",
       "confidence": "uncommon",
       "mimics": "Bilateral pressing or tightening frontal pain — overlaps strongly with semispinalis capitis and bilateral SCM TrP patterns",
       "mimics": "Bilateral pressing or tightening frontal pain overlapping strongly with semispinalis capitis and bilateral SCM referral",
       "distinguishing_feature": "Tension-type headache has a very high probability of myofascial TrP involvement (Ch.5, Table 5.1). The pressing quality of tension headache closely matches the steady deep aching of myofascial TrP pain. EMG studies do not support elevated muscle contraction as the mechanism — pericranial muscle tenderness consistent with TrPs is the consistent finding.",
       "distinguishing_feature": "Tension-type headache carries a high probability of pericranial TrP involvement; the pressing quality matches the steady deep ache of myofascial referral. Pericranial muscle tenderness rather than sustained EMG contraction is the consistent finding. All muscles in this algorithm should be screened.",
       "action": "Systematic TrP examination of all pericranial and cervical muscles. All five muscles in this algorithm should be screened. Myofascial treatment with perpetuating factor correction is first-line."
       "action": "Systematic TrP examination of pericranial and cervical muscles with perpetuating-factor correction as first-line."
     },
     },
     {
     {
      "id": "bd-2",
       "condition": "Migraine without aura",
       "condition": "Migraine Without Aura",
       "confidence": "uncommon",
       "confidence": "uncommon",
       "mimics": "Unilateral or bilateral frontal or temporal headache — overlapping referral patterns from SCM, semispinalis capitis, and masticatory TrPs produce a typical migraine picture",
       "mimics": "Unilateral or bilateral frontal/temporal headache reproduced by overlapping SCM, semispinalis, and masticatory referral",
       "distinguishing_feature": "Migraine patients have pericranial TrP tenderness even between attacks, and tenderness increases with attack intensity. Injection of these sites produces complete headache relief in 60% of patients. The myofascial and vascular components coexist — TrPs should be identified and treated alongside standard migraine management.",
       "distinguishing_feature": "Pericranial TrP tenderness persists between attacks and rises with attack intensity; the myofascial and vascular components coexist. TrP treatment addresses the myofascial trigger component without replacing migraine-specific medication.",
       "action": "Screen for pericranial TrPs in all migraine patients. Address perpetuating factors. TrP treatment reduces the myofascial trigger component without replacing migraine medication."
       "action": "Screen for pericranial TrPs in migraine patients and address perpetuating factors alongside standard migraine management."
     },
     },
     {
     {
      "id": "bd-3",
       "condition": "Cervicogenic headache",
       "condition": "Cervicogenic Headache",
       "confidence": "uncommon",
       "confidence": "uncommon",
       "mimics": "Predominantly unilateral frontal headache precipitated by neck movement — overlaps with SCM and semispinalis capitis patterns",
       "mimics": "Predominantly unilateral frontal headache precipitated by neck movement, overlapping SCM and semispinalis patterns",
       "distinguishing_feature": "Consistent unilaterality, precipitation by specific neck movements or sustained postures, and associated shoulder or arm pain. Most cervicogenic headache patients have myofascial TrPs that reproduce their headache. Reduced cervical segmental mobility accompanies the TrPs.",
       "distinguishing_feature": "Consistent unilaterality, precipitation by specific neck movements or sustained postures, and reduced cervical segmental mobility accompanying the TrPs. Most patients have TrPs that reproduce their headache.",
       "action": "Conservative myofascial TrP management first. Treat TrPs before attributing restriction to fibrous fixation or proceeding to invasive treatments."
       "action": "Conservative myofascial TrP management before attributing restriction to fibrous fixation or proceeding to invasive treatment."
     },
     },
     {
     {
      "id": "bd-4",
       "condition": "Sinusitis vs referred sinus-pattern pain",
       "condition": "Sinusitis",
       "confidence": "uncommon",
       "confidence": "uncommon",
       "mimics": "Frontal pressure and pain — zygomaticus major and masseter TrPs commonly produce maxillary pain described as sinus pain; SCM sternal TrPs produce rhinitis",
       "mimics": "Frontal and maxillary pressure \u2014 zygomaticus and masticatory referral is often described as sinus pain; sternal SCM produces rhinitis",
       "distinguishing_feature": "True sinusitis has fever, purulent nasal discharge, and radiographic mucosal thickening. TrP-referred sinus pain has normal radiographs, no fever, no discharge, and is reproduced by palpating the relevant TrPs.",
       "distinguishing_feature": "True sinusitis has fever, purulent discharge, and radiographic mucosal changes. TrP-referred sinus pain has normal imaging, no fever or discharge, and is reproduced by palpating the relevant TrPs.",
       "action": "Palpate the relevant TrPs and confirm referral pattern. Request sinus imaging only if clinical features make true sinusitis plausible."
       "action": "Palpate the relevant TrPs and confirm the referral pattern; request sinus imaging only if clinical features make true sinusitis plausible."
     },
     },
     {
     {
      "id": "bd-5",
       "condition": "Occipital neuralgia",
       "condition": "Occipital Neuralgia",
       "confidence": "rare",
       "confidence": "rare",
       "mimics": "Occipital and frontal pain with burning or shooting quality — overlaps with semispinalis capitis referral and greater occipital nerve entrapment",
       "mimics": "Occipital and frontal pain with burning or shooting quality overlapping semispinalis referral and greater occipital nerve entrapment",
       "distinguishing_feature": "Paroxysmal stabbing with aching between attacks, radiating to the frontal region. The greater occipital nerve may be entrapped by semispinalis capitis taut bands — producing both neuritic pain and myofascial TrP aching simultaneously. Always treat TrPs before any neuroablative procedure.",
       "distinguishing_feature": "Paroxysmal stabbing with aching between attacks radiating frontally. The greater occipital nerve may be entrapped by semispinalis taut bands, producing neuritic pain and myofascial ache together. Treat TrPs before any neuroablative procedure.",
       "action": "Treat semispinalis capitis TrPs first. If neuritic component persists after adequate TrP treatment, refer to neurology. Neuroablative treatments should be a last resort."
       "action": "Treat semispinalis TrPs first; refer to neurology only if the neuritic component persists after adequate TrP treatment."
     },
     },
     {
     {
      "id": "bd-6",
       "condition": "Analgesic (medication-overuse) rebound headache",
       "condition": "Analgesic Rebound Headache",
       "confidence": "uncommon",
       "confidence": "uncommon",
       "mimics": "Daily or near-daily frontal headache in patients using frequent analgesics — most also have active myofascial TrPs",
       "mimics": "Daily or near-daily frontal headache in frequent analgesic users, most of whom also have active TrPs",
       "distinguishing_feature": "Daily analgesic use more than 10–15 days per month. Headache becomes refractory and prophylactic medications lose effectiveness. Most analgesic rebound patients have active TrPs — detoxification must accompany TrP treatment.",
       "distinguishing_feature": "Analgesic use on more than 10\u201315 days per month; headache becomes refractory and prophylaxis loses effect. Detoxification must accompany TrP treatment.",
       "action": "Refer for medication detoxification protocol alongside TrP assessment. Time-contingent dosing with 20% weekly reduction. TrP treatment begins concurrently."
       "action": "Refer for a medication-withdrawal protocol alongside TrP assessment; begin TrP treatment concurrently."
     },
     },
     {
     {
      "id": "bd-7",
       "condition": "Post-traumatic headache",
       "condition": "Post-traumatic Headache",
       "confidence": "uncommon",
       "confidence": "uncommon",
       "mimics": "Frontal headache following whiplash or closed head injury — semispinalis capitis and SCM are the most commonly activated TrPs after motor vehicle accidents",
       "mimics": "Frontal headache following whiplash or closed head injury; semispinalis and SCM are the most commonly activated TrPs after motor-vehicle trauma",
       "distinguishing_feature": "History of trauma. Posttraumatic headache is clinically indistinguishable from tension-type headache and is likely driven by the same myofascial TrP mechanism. Semispinalis capitis and splenius capitis are most commonly involved regardless of impact direction.",
       "distinguishing_feature": "History of trauma; clinically indistinguishable from tension-type headache and likely driven by the same myofascial mechanism. Semispinalis and splenius capitis are commonly involved regardless of impact direction.",
       "action": "Systematic TrP screen with special attention to semispinalis capitis, SCM, upper trapezius, and splenius capitis. Address perpetuating factors. Refer if neurological symptoms suggest brainstem or vestibular involvement."
       "action": "Systematic TrP screen with attention to semispinalis, SCM, upper trapezius, and splenius capitis; refer if neurological or vestibular features suggest central involvement."
    },
    {
      "condition": "Cluster headache with myofascial component",
      "confidence": "rare",
      "mimics": "Severe unilateral frontal/orbital headache with autonomic features overlapping sternal SCM tearing and rhinitis",
      "distinguishing_feature": "Classic cluster is strictly unilateral, periorbital, 15\u2013180 minutes, with prominent autonomic features in bouts. An SCM TrP can contribute to or trigger attacks by referring to the suboccipital region and inducing nasal stuffiness; treating it may reduce frequency.",
      "action": "Examine for SCM TrPs in cluster patients, especially chronic cluster; myofascial treatment may reduce frequency without replacing prophylactic medication."
     },
     },
     {
     {
      "id": "bd-8",
       "condition": "Giant cell (temporal) arteritis",
       "condition": "Cluster Headache with myofascial component",
       "confidence": "rare",
       "confidence": "rare",
       "mimics": "Severe unilateral frontal or orbital headache with autonomic features — overlaps with SCM sternal division tearing and rhinitis",
       "mimics": "New frontal/temporal headache in patients over 50 with scalp and temporal tenderness overlapping semispinalis and temporalis referral",
       "distinguishing_feature": "Classic cluster: strictly unilateral, periorbital, 15–180 minutes, autonomic features, clustered in bouts. The Ch.5 case illustrates chronic cluster with an SCM TrP as a contributing and triggering factor — the TrP referred to the suboccipital region and induced nasal stuffiness mimicking cluster features. Treatment of the SCM TrP significantly reduced frequency.",
       "distinguishing_feature": "Jaw claudication, non-pulsatile tender temporal artery, visual symptoms, and raised ESR/CRP. This is a sight-threatening emergency, not a myofascial pattern \u2014 it is in the urgent red-flag screen for this reason.",
       "action": "Examine for SCM TrPs in all cluster headache patients, especially chronic cluster. Myofascial treatment may reduce frequency without replacing prophylactic cluster medications."
       "action": "Same-day ESR/CRP and referral if suspected; do not attribute to TrPs. Temporal artery biopsy confirms."
     }
     }
   ]
   ]
}
}

Latest revision as of 12:06, 4 July 2026

{

 "model": "bayesian_lr_scoring",
 "version": "1.0",
 "region_label": "Frontal Headache",
 "description": "Probabilistic scoring model for frontal headache using Bayesian likelihood ratio updating with Thurstonian pairwise tiebreakers. Muscles drawn from T&S Vol.1: SCM (Ch.7), Semispinalis Capitis (Ch.16), Occipitofrontalis/Frontalis (Ch.14), Zygomaticus Major (Ch.13). SCM is split into clavicular and sternal divisions, scored separately due to clinically distinct referral and autonomic patterns (Subclavius principle). Bold muscles (SCM both divisions, semispinalis) carry higher priors; facial satellites (frontalis, zygomaticus) carry lower priors as they are almost always satellites of the key TrPs. Converted from legacy DiagnosticTree format 2026-07.",
 "thresholds": {
   "early_exit_posterior": 0.55,
   "early_exit_gap": 0.18,
   "pairwise_trigger": 0.22
 },
 "emergency": [
   {
     "id": "rf-e1",
     "label": "Thunderclap headache",
     "question": "Did the headache reach maximum intensity within seconds to a minute \u2014 described as 'the worst headache of my life' or like a blow to the head?"
   },
   {
     "id": "rf-e2",
     "label": "Signs of raised intracranial pressure",
     "question": "Is there headache that is worse on waking, progressively worsening over days or weeks, or associated with vomiting, visual changes, or altered consciousness?"
   },
   {
     "id": "rf-e3",
     "label": "Meningism",
     "question": "Is there neck stiffness with fever, photophobia, or a non-blanching rash?"
   },
   {
     "id": "rf-e4",
     "label": "Acute angle-closure glaucoma",
     "question": "Is there frontal or periorbital pain with sudden visual blurring, halos around lights, nausea, or a hard red eye?"
   },
   {
     "id": "rf-e5",
     "label": "SNOOP screen \u2014 secondary headache flags",
     "question": "Any of: Systemic signs (fever, weight loss, cancer, HIV, immunosuppression); Neurological deficit or altered consciousness; Onset sudden (thunderclap); Onset after age 50; Pattern change from previous headaches; Papilloedema or positional/Valsalva aggravation?"
   }
 ],
 "urgent": [
   {
     "id": "rf-u1",
     "label": "Temporal arteritis (giant cell arteritis)",
     "question": "Is the patient aged 50+ with jaw claudication (pain building with chewing then easing), scalp tenderness, or a non-pulsatile tender temporal artery? Same-day ESR/CRP required \u2014 risk of irreversible blindness."
   },
   {
     "id": "rf-u2",
     "label": "Cervical instability",
     "question": "Is there a history of significant trauma to the head or neck combined with arm symptoms, gait disturbance, or headache worsened by neck loading? No manual therapy or cervical stretch until cleared."
   },
   {
     "id": "rf-u3",
     "label": "New headache in immunocompromised patient",
     "question": "Is the patient immunocompromised (HIV, cancer, immunosuppressants) with a new or changing headache pattern? Opportunistic intracranial infection must be excluded."
   }
 ],
 "muscles": {
   "scm_clavicular": {
     "label": "SCM \u2014 Clavicular Division",
     "prior": 0.13,
     "page": "Muscle:Sternocleidomastoid",
     "key_trp_note": "The clavicular division is the chief myofascial source of ipsilateral frontal headache and drives frontalis satellite TrPs. Treating the clavicular SCM often resolves frontalis without direct treatment. NO autonomic phenomena \u2014 the absence of tearing and rhinitis distinguishes it from the sternal division. May also produce postural dizziness, imbalance, and dysmetria.",
     "subtitle": "Frontal headache aggravated by neck posture/head load; dizziness or imbalance; NO tearing or rhinitis"
   },
   "scm_sternal": {
     "label": "SCM \u2014 Sternal Division",
     "prior": 0.13,
     "page": "Muscle:Sternocleidomastoid",
     "key_trp_note": "The sternal division refers to cheek, supraorbital ridge, temple, occiput, and vertex \u2014 the frontal component is part of a wider pattern. Cardinal features are ipsilateral autonomic phenomena: profuse tearing, rhinitis, apparent ptosis. Drives zygomaticus major and orbicularis oculi satellites. SCM Compression Test resolves concurrent sore throat on swallowing. Treat sternal SCM before facial satellites.",
     "subtitle": "Cheek/orbital/frontal pain with autonomic phenomena \u2014 tearing, rhinitis, apparent ptosis"
   },
   "semispinalis": {
     "label": "Semispinalis Capitis",
     "prior": 0.13,
     "page": "Muscle:Semispinalis_Capitis",
     "key_trp_note": "The defining referral is a band-like headache encircling the head, maximal at the temple, continuing forward over the eye. Nuchal-line tenderness (Location 1) is enthesopathy driven by a midbelly TrP (Location 2) \u2014 palpate midbelly for the causal TrP. DO NOT inject Location 2 (vertebral artery proximity at C1). Greater occipital nerve entrapment may coexist. Frequently a satellite of upper trapezius and splenius capitis key TrPs \u2014 treat those first.",
     "subtitle": "Band-like headache encircling occiput \u2192 temple \u2192 over the eye; worse with sustained neck flexion"
   },
   "frontalis": {
     "label": "Frontalis (Occipitofrontalis)",
     "prior": 0.086667,
     "page": "Muscle:Occipitofrontalis",
     "key_trp_note": "Frontalis TrPs are nearly always satellites of clavicular division SCM TrPs \u2014 check and treat SCM first. Pain stays local to the forehead with no referral to eye or occiput. A habitually furrowed brow or raised eyebrows at rest is the cardinal sign. Suspect supraorbital nerve entrapment if the pain has a neuritic burning quality above the medial eyebrow.",
     "subtitle": "Pain localised to the forehead itself; no referral to eye/cheek/occiput; furrowed brow at rest"
   },
   "zygomaticus": {
     "label": "Zygomaticus Major",
     "prior": 0.086667,
     "page": "Muscle:Zygomaticus_Major",
     "key_trp_note": "Zygomaticus major TrPs refer in a distinctive nasal arc: cheek \u2192 lateral nose \u2192 nasal bridge \u2192 mid-forehead. TrP tightness restricts jaw opening 10\u201320mm; inactivation restores opening immediately (intratreatment confirmation). Nearly always a satellite of SCM sternal division or masticatory TrPs \u2014 treat the key TrP first.",
     "subtitle": "Nasal arc: cheek up the side of the nose to mid-forehead; jaw opening may be restricted 10\u201320mm"
   }
 },
 "questions": [
   {
     "id": "q_primary_pattern",
     "text": "What is the PRIMARY pattern of the frontal headache?",
     "sublabel": "This first split separates the muscles by mechanism. Choose the dominant pattern.",
     "type": "choice",
     "answers": [
       {
         "id": "neck_posture_dizziness",
         "label": "Neck movement, posture, or head load aggravates \u2014 OR dizziness/imbalance accompanies the frontal headache",
         "sublabel": "Turning the head, looking down, carrying a bag, sustained forward head position, or balance disturbance alongside the pain",
         "lr": {
           "scm_clavicular": 6.0,
           "scm_sternal": 2.0,
           "semispinalis": 2.5,
           "frontalis": 1.0,
           "zygomaticus": 0.4
         }
       },
       {
         "id": "encircling_band",
         "label": "Band-like headache encircling from the occiput through the temple and forward over the eye",
         "sublabel": "Worsened by sustained neck flexion \u2014 reading, computing, sewing; often bilateral or sub-occipital at onset",
         "lr": {
           "semispinalis": 9.0,
           "scm_clavicular": 1.0,
           "scm_sternal": 1.0,
           "frontalis": 0.4,
           "zygomaticus": 0.3
         }
       },
       {
         "id": "cheek_orbital_autonomic",
         "label": "Cheek, orbit, temple, and frontal pain \u2014 as part of a wider facial pattern, often with tearing or a watering/congested nose",
         "sublabel": "Pain spreads across the cheek and around the eye with autonomic features on the same side",
         "lr": {
           "scm_sternal": 8.0,
           "zygomaticus": 2.0,
           "scm_clavicular": 0.8,
           "semispinalis": 0.6,
           "frontalis": 0.5
         }
       },
       {
         "id": "local_forehead",
         "label": "Frontal pain that stays LOCAL to the forehead itself",
         "sublabel": "No prominent neck component; pain confined to the forehead; patient may have a habitually furrowed brow",
         "lr": {
           "frontalis": 9.0,
           "scm_clavicular": 1.5,
           "scm_sternal": 0.5,
           "semispinalis": 0.4,
           "zygomaticus": 0.6
         }
       },
       {
         "id": "nasal_arc",
         "label": "A curved NASAL ARC \u2014 from the cheek, up along the side of the nose, to the mid-forehead",
         "sublabel": "Pain traces an arc up the side of the nose; jaw opening may be mildly restricted",
         "lr": {
           "zygomaticus": 10.0,
           "scm_sternal": 2.0,
           "frontalis": 0.6,
           "scm_clavicular": 0.4,
           "semispinalis": 0.3
         }
       }
     ]
   },
   {
     "id": "q_autonomic",
     "text": "Alongside the frontal headache, are there ipsilateral AUTONOMIC phenomena \u2014 profuse tearing, rhinitis (watering or congested nose), conjunctival redness, or apparent drooping of the eyelid on the same side?",
     "sublabel": "These separate the two SCM divisions. Confirm pupils equal and reactive to exclude true Horner syndrome.",
     "type": "binary",
     "answers": [
       {
         "id": "yes",
         "label": "Yes \u2014 tearing, rhinitis, conjunctival redness, or apparent ptosis on the pain side",
         "lr": {
           "scm_sternal": 9.0,
           "zygomaticus": 1.5,
           "scm_clavicular": 0.2,
           "semispinalis": 0.4,
           "frontalis": 0.5
         }
       },
       {
         "id": "no",
         "label": "No \u2014 no autonomic phenomena",
         "lr": {
           "scm_sternal": 0.3,
           "scm_clavicular": 1.4,
           "semispinalis": 1.2,
           "frontalis": 1.2,
           "zygomaticus": 0.9
         }
       }
     ]
   },
   {
     "id": "q_neck_flexion",
     "text": "Is cervical flexion restricted or does it reproduce the headache?",
     "sublabel": "Ask the patient to slowly lower the chin toward the chest \u2014 is the range reduced (normally chin comes within 1\u20132 finger-breadths of the sternum), or does flexion provoke or intensify the frontal or band-like pain?",
     "type": "binary",
     "answers": [
       {
         "id": "yes",
         "label": "Yes \u2014 cervical flexion is restricted or reproduces the headache",
         "lr": {
           "semispinalis": 7.0,
           "scm_clavicular": 0.7,
           "scm_sternal": 0.6,
           "frontalis": 0.4,
           "zygomaticus": 0.3
         }
       },
       {
         "id": "no",
         "label": "No \u2014 full pain-free cervical flexion",
         "lr": {
           "semispinalis": 0.2,
           "scm_clavicular": 1.2,
           "scm_sternal": 1.2,
           "frontalis": 1.2,
           "zygomaticus": 1.2
         }
       }
     ]
   },
   {
     "id": "q_dizziness",
     "text": "Is there postural dizziness, imbalance, or disturbed weight perception (dysmetria) \u2014 without vertigo, nystagmus, or a positive Romberg?",
     "sublabel": "Non-vestibular imbalance: veering toward one side on a straight-line walk, dizziness worse lying without a pillow or on quick head rotation. Romberg negative, no nystagmus.",
     "type": "binary",
     "answers": [
       {
         "id": "yes",
         "label": "Yes \u2014 non-vestibular dizziness, imbalance, or dysmetria",
         "lr": {
           "scm_clavicular": 8.0,
           "scm_sternal": 0.8,
           "semispinalis": 0.6,
           "frontalis": 0.5,
           "zygomaticus": 0.4
         }
       },
       {
         "id": "no",
         "label": "No \u2014 no dizziness or imbalance",
         "lr": {
           "scm_clavicular": 0.4,
           "scm_sternal": 1.1,
           "semispinalis": 1.1,
           "frontalis": 1.1,
           "zygomaticus": 1.1
         }
       }
     ]
   },
   {
     "id": "q_jaw_opening",
     "text": "Is jaw opening restricted \u2014 and does the restriction improve immediately when the relevant facial or masticatory trigger points are released?",
     "sublabel": "Measure interincisal opening. Zygomaticus (and masticatory) TrP tightness may reduce opening by 10\u201320mm; immediate restoration on TrP inactivation is a confirmatory sign.",
     "type": "binary",
     "answers": [
       {
         "id": "yes",
         "label": "Yes \u2014 jaw opening restricted 10\u201320mm",
         "lr": {
           "zygomaticus": 6.0,
           "scm_sternal": 1.3,
           "scm_clavicular": 0.6,
           "semispinalis": 0.6,
           "frontalis": 0.5
         }
       },
       {
         "id": "no",
         "label": "No \u2014 jaw opening is full and unrestricted",
         "lr": {
           "zygomaticus": 0.3,
           "scm_sternal": 1.0,
           "scm_clavicular": 1.1,
           "semispinalis": 1.1,
           "frontalis": 1.1
         }
       }
     ]
   },
   {
     "id": "q_brow_posture",
     "text": "Does the patient have a habitually furrowed brow or persistently raised eyebrows at rest?",
     "sublabel": "A visible sign of chronic frontalis overload \u2014 observe the resting brow position during history-taking.",
     "type": "binary",
     "answers": [
       {
         "id": "yes",
         "label": "Yes \u2014 habitually furrowed or raised brow at rest",
         "lr": {
           "frontalis": 5.0,
           "scm_clavicular": 1.2,
           "scm_sternal": 0.8,
           "semispinalis": 0.7,
           "zygomaticus": 0.7
         }
       },
       {
         "id": "no",
         "label": "No \u2014 resting brow position is normal",
         "lr": {
           "frontalis": 0.5,
           "scm_clavicular": 1.0,
           "scm_sternal": 1.0,
           "semispinalis": 1.0,
           "zygomaticus": 1.0
         }
       }
     ]
   },
   {
     "id": "q_sore_throat",
     "text": "Does the SCM Compression Test relieve a concurrent sore throat on swallowing \u2014 firmly gripping the sternal belly and asking the patient to swallow eases pharyngeal pain?",
     "sublabel": "Pathognomonic of a sternal-division central TrP. Also note a dry tingling cough from a TrP near the sternal attachment.",
     "type": "binary",
     "answers": [
       {
         "id": "yes",
         "label": "Yes \u2014 compression relieves the sore throat on swallowing",
         "lr": {
           "scm_sternal": 7.0,
           "scm_clavicular": 0.5,
           "semispinalis": 0.5,
           "frontalis": 0.5,
           "zygomaticus": 0.8
         }
       },
       {
         "id": "no",
         "label": "No \u2014 no sore throat, or compression does not change it",
         "lr": {
           "scm_sternal": 0.8,
           "scm_clavicular": 1.1,
           "semispinalis": 1.1,
           "frontalis": 1.1,
           "zygomaticus": 1.0
         }
       }
     ]
   },
   {
     "id": "q_flexion_activities",
     "text": "Is the headache clearly provoked by sustained forward-head activities \u2014 reading, computing, sewing, or writing with the head flexed for long periods?",
     "sublabel": "The checkrein loading mechanism of semispinalis capitis \u2014 sustained neck flexion chronically loads the muscle.",
     "type": "binary",
     "answers": [
       {
         "id": "yes",
         "label": "Yes \u2014 clearly provoked by sustained forward-head activity",
         "lr": {
           "semispinalis": 4.0,
           "scm_clavicular": 1.2,
           "scm_sternal": 0.9,
           "frontalis": 1.2,
           "zygomaticus": 0.7
         }
       },
       {
         "id": "no",
         "label": "No \u2014 not clearly related to sustained neck flexion",
         "lr": {
           "semispinalis": 0.5,
           "scm_clavicular": 1.0,
           "scm_sternal": 1.0,
           "frontalis": 0.9,
           "zygomaticus": 1.1
         }
       }
     ]
   }
 ],
 "pairwise": [
   {
     "id": "pw_scm_clav_sternal",
     "pair": [
       "scm_clavicular",
       "scm_sternal"
     ],
     "text": "Tiebreaker \u2014 SCM Clavicular vs Sternal Division",
     "question": "Are there autonomic phenomena (tearing, rhinitis, apparent ptosis) with the frontal headache, OR is the headache dominated by postural aggravation and dizziness WITHOUT any tearing or rhinitis?",
     "answers": [
       {
         "id": "autonomic_present",
         "label": "Autonomic phenomena present \u2014 tearing, rhinitis, apparent ptosis",
         "lr": {
           "scm_sternal": 5.0,
           "scm_clavicular": 0.2
         }
       },
       {
         "id": "postural_dizziness",
         "label": "Postural aggravation and/or dizziness, NO autonomic phenomena",
         "lr": {
           "scm_sternal": 0.2,
           "scm_clavicular": 5.0
         }
       }
     ]
   },
   {
     "id": "pw_semispinalis_scm_clav",
     "pair": [
       "semispinalis",
       "scm_clavicular"
     ],
     "text": "Tiebreaker \u2014 Semispinalis Capitis vs SCM Clavicular",
     "question": "Is the headache an encircling band (occiput \u2192 temple \u2192 over the eye) reproduced by neck flexion, OR is it a frontal headache aggravated by head load and accompanied by dizziness?",
     "answers": [
       {
         "id": "encircling_flexion",
         "label": "Encircling band reproduced by cervical flexion",
         "lr": {
           "semispinalis": 4.5,
           "scm_clavicular": 0.25
         }
       },
       {
         "id": "frontal_dizziness",
         "label": "Frontal headache with head-load aggravation and dizziness",
         "lr": {
           "semispinalis": 0.25,
           "scm_clavicular": 4.5
         }
       }
     ]
   },
   {
     "id": "pw_frontalis_scm_clav",
     "pair": [
       "frontalis",
       "scm_clavicular"
     ],
     "text": "Tiebreaker \u2014 Frontalis vs SCM Clavicular",
     "question": "Does the pain stay strictly LOCAL to the forehead with a furrowed brow at rest, OR is it a frontal headache with a clear neck-posture/head-load component or dizziness? (Note: frontalis is almost always a satellite of clavicular SCM \u2014 examine SCM regardless.)",
     "answers": [
       {
         "id": "local_forehead_brow",
         "label": "Strictly local to the forehead; furrowed brow at rest; no neck component",
         "lr": {
           "frontalis": 4.0,
           "scm_clavicular": 0.3
         }
       },
       {
         "id": "neck_component",
         "label": "Neck-posture/head-load component or dizziness present",
         "lr": {
           "frontalis": 0.3,
           "scm_clavicular": 4.0
         }
       }
     ]
   },
   {
     "id": "pw_zygomaticus_scm_sternal",
     "pair": [
       "zygomaticus",
       "scm_sternal"
     ],
     "text": "Tiebreaker \u2014 Zygomaticus Major vs SCM Sternal",
     "question": "Is the pain a discrete NASAL ARC (cheek \u2192 side of nose \u2192 mid-forehead) with restricted jaw opening, OR a wider cheek/orbital/frontal pattern with autonomic phenomena? (Note: zygomaticus is almost always a satellite of sternal SCM \u2014 examine SCM regardless.)",
     "answers": [
       {
         "id": "nasal_arc_jaw",
         "label": "Discrete nasal arc with restricted jaw opening",
         "lr": {
           "zygomaticus": 4.0,
           "scm_sternal": 0.3
         }
       },
       {
         "id": "wider_autonomic",
         "label": "Wider cheek/orbital pattern with autonomic phenomena",
         "lr": {
           "zygomaticus": 0.3,
           "scm_sternal": 4.0
         }
       }
     ]
   }
 ],
 "treatment_dag": {
   "edges": [
     {
       "from": "scm_clavicular",
       "to": "frontalis",
       "type": "key_satellite",
       "label": "Clavicular SCM is the key TrP driving frontalis satellites \u2014 treat SCM first; frontalis often resolves without direct treatment"
     },
     {
       "from": "scm_sternal",
       "to": "zygomaticus",
       "type": "key_satellite",
       "label": "Sternal SCM is the key TrP driving zygomaticus major satellites \u2014 treat SCM first; zygomaticus often resolves without direct treatment"
     },
     {
       "from": "scm_clavicular",
       "to": "scm_sternal",
       "type": "functional_unit",
       "label": "Both SCM divisions frequently active together \u2014 examine and treat in the same session"
     },
     {
       "from": "semispinalis",
       "to": "frontalis",
       "type": "secondary_load",
       "label": "Forehead pain may persist as a semispinalis referral component \u2014 address after the key TrPs resolve"
     },
     {
       "from": "scm_sternal",
       "to": "semispinalis",
       "type": "antagonist_risk",
       "label": "\u26a0 Releasing anterior neck (SCM) may reactively load posterior extensors (semispinalis) \u2014 treat in alternating cycles"
     }
   ],
   "edge_type_labels": {
     "key_satellite": "Treat first \u2014 key TrP driving satellites",
     "functional_unit": "Treat concurrently in same session",
     "secondary_load": "Treat after primary resolves",
     "antagonist_risk": "\u26a0 Treat in alternating cycles \u2014 reactive activation risk"
   }
 },
 "broad_differential": [
   {
     "condition": "Tension-type headache",
     "confidence": "uncommon",
     "mimics": "Bilateral pressing or tightening frontal pain overlapping strongly with semispinalis capitis and bilateral SCM referral",
     "distinguishing_feature": "Tension-type headache carries a high probability of pericranial TrP involvement; the pressing quality matches the steady deep ache of myofascial referral. Pericranial muscle tenderness rather than sustained EMG contraction is the consistent finding. All muscles in this algorithm should be screened.",
     "action": "Systematic TrP examination of pericranial and cervical muscles with perpetuating-factor correction as first-line."
   },
   {
     "condition": "Migraine without aura",
     "confidence": "uncommon",
     "mimics": "Unilateral or bilateral frontal/temporal headache reproduced by overlapping SCM, semispinalis, and masticatory referral",
     "distinguishing_feature": "Pericranial TrP tenderness persists between attacks and rises with attack intensity; the myofascial and vascular components coexist. TrP treatment addresses the myofascial trigger component without replacing migraine-specific medication.",
     "action": "Screen for pericranial TrPs in migraine patients and address perpetuating factors alongside standard migraine management."
   },
   {
     "condition": "Cervicogenic headache",
     "confidence": "uncommon",
     "mimics": "Predominantly unilateral frontal headache precipitated by neck movement, overlapping SCM and semispinalis patterns",
     "distinguishing_feature": "Consistent unilaterality, precipitation by specific neck movements or sustained postures, and reduced cervical segmental mobility accompanying the TrPs. Most patients have TrPs that reproduce their headache.",
     "action": "Conservative myofascial TrP management before attributing restriction to fibrous fixation or proceeding to invasive treatment."
   },
   {
     "condition": "Sinusitis vs referred sinus-pattern pain",
     "confidence": "uncommon",
     "mimics": "Frontal and maxillary pressure \u2014 zygomaticus and masticatory referral is often described as sinus pain; sternal SCM produces rhinitis",
     "distinguishing_feature": "True sinusitis has fever, purulent discharge, and radiographic mucosal changes. TrP-referred sinus pain has normal imaging, no fever or discharge, and is reproduced by palpating the relevant TrPs.",
     "action": "Palpate the relevant TrPs and confirm the referral pattern; request sinus imaging only if clinical features make true sinusitis plausible."
   },
   {
     "condition": "Occipital neuralgia",
     "confidence": "rare",
     "mimics": "Occipital and frontal pain with burning or shooting quality overlapping semispinalis referral and greater occipital nerve entrapment",
     "distinguishing_feature": "Paroxysmal stabbing with aching between attacks radiating frontally. The greater occipital nerve may be entrapped by semispinalis taut bands, producing neuritic pain and myofascial ache together. Treat TrPs before any neuroablative procedure.",
     "action": "Treat semispinalis TrPs first; refer to neurology only if the neuritic component persists after adequate TrP treatment."
   },
   {
     "condition": "Analgesic (medication-overuse) rebound headache",
     "confidence": "uncommon",
     "mimics": "Daily or near-daily frontal headache in frequent analgesic users, most of whom also have active TrPs",
     "distinguishing_feature": "Analgesic use on more than 10\u201315 days per month; headache becomes refractory and prophylaxis loses effect. Detoxification must accompany TrP treatment.",
     "action": "Refer for a medication-withdrawal protocol alongside TrP assessment; begin TrP treatment concurrently."
   },
   {
     "condition": "Post-traumatic headache",
     "confidence": "uncommon",
     "mimics": "Frontal headache following whiplash or closed head injury; semispinalis and SCM are the most commonly activated TrPs after motor-vehicle trauma",
     "distinguishing_feature": "History of trauma; clinically indistinguishable from tension-type headache and likely driven by the same myofascial mechanism. Semispinalis and splenius capitis are commonly involved regardless of impact direction.",
     "action": "Systematic TrP screen with attention to semispinalis, SCM, upper trapezius, and splenius capitis; refer if neurological or vestibular features suggest central involvement."
   },
   {
     "condition": "Cluster headache with myofascial component",
     "confidence": "rare",
     "mimics": "Severe unilateral frontal/orbital headache with autonomic features overlapping sternal SCM tearing and rhinitis",
     "distinguishing_feature": "Classic cluster is strictly unilateral, periorbital, 15\u2013180 minutes, with prominent autonomic features in bouts. An SCM TrP can contribute to or trigger attacks by referring to the suboccipital region and inducing nasal stuffiness; treating it may reduce frequency.",
     "action": "Examine for SCM TrPs in cluster patients, especially chronic cluster; myofascial treatment may reduce frequency without replacing prophylactic medication."
   },
   {
     "condition": "Giant cell (temporal) arteritis",
     "confidence": "rare",
     "mimics": "New frontal/temporal headache in patients over 50 with scalp and temporal tenderness overlapping semispinalis and temporalis referral",
     "distinguishing_feature": "Jaw claudication, non-pulsatile tender temporal artery, visual symptoms, and raised ESR/CRP. This is a sight-threatening emergency, not a myofascial pattern \u2014 it is in the urgent red-flag screen for this reason.",
     "action": "Same-day ESR/CRP and referral if suspected; do not attribute to TrPs. Temporal artery biopsy confirms."
   }
 ]

}