<!doctype html>
<html>
<head>
  <meta charset="utf-8">
  <title>History - Headache / cranial neuralgia</title>
  <style>
    body{font-family:Arial,sans-serif;line-height:1.45;color:#1a202c;max-width:1100px;margin:24px auto;padding:0 16px;}
    table{border-collapse:collapse;width:100%;}
    td,th{border:1px solid #ccc;padding:6px;font-size:12px;vertical-align:top;}
    th{background:#0f766e;color:white;text-align:left;}
    code{font-size:11px;}
    .note{white-space:normal;background:#f8fafc;border:1px solid #ddd;padding:12px;}
  </style>
</head>
<body>
  <h1>History - Headache / cranial neuralgia</h1>
  <p><b>Form ID:</b> hist_headache_cranial_neuralgia &nbsp; <b>Type:</b> History &nbsp; <b>Family:</b> History</p>
  <h2>Structured fields</h2>
  <table>
    <tr><th>Section</th><th>Field</th><th>Key</th><th>Default layer</th><th>Required</th><th>Quick text templates</th><th>History/exam sources</th></tr>
    <tr><td>History</td><td>Condition focus</td><td><code>condition_focus</code></td><td>No Default</td><td>Required</td><td></td><td></td></tr>
    <tr><td>History</td><td>Presenting complaint / pain problem</td><td><code>presenting_complaint</code></td><td>No Default</td><td>Required</td><td></td><td></td></tr>
    <tr><td>History</td><td>Pain location / distribution</td><td><code>pain_location_distribution</code></td><td>No Default</td><td>Required</td><td></td><td></td></tr>
    <tr><td>History</td><td>Function / goals</td><td><code>functional_limitations</code></td><td>No Default</td><td>Required</td><td></td><td></td></tr>
    <tr><td>History</td><td>Prior treatments / response</td><td><code>prior_treatments</code></td><td>No Default</td><td>Required</td><td></td><td></td></tr>
    <tr><td>History</td><td>Current medications / anticoagulants</td><td><code>current_medications</code></td><td>No Default</td><td>Required</td><td></td><td></td></tr>
    <tr><td>History</td><td>Red flags / neurologic screen</td><td><code>red_flags_neuro_screen</code></td><td>No Default</td><td>Required</td><td></td><td></td></tr>
    <tr><td>History</td><td>Imaging / tests reviewed</td><td><code>imaging_labs_tests</code></td><td>No Default</td><td>Optional</td><td></td><td></td></tr>
    <tr><td>Plan</td><td>History impression / plan</td><td><code>history_impression_plan</code></td><td>No Default</td><td>Required</td><td></td><td></td></tr>
  </table>
  <h2>Narrative template</h2>
  <div class="note">History - Headache / cranial neuralgia<br><br>Condition focus: {{condition_focus}}<br>Presenting complaint: {{presenting_complaint}}<br>Pain distribution: {{pain_location_distribution}}<br>Function/goals: {{functional_limitations}}<br>Prior treatments: {{prior_treatments}}<br>Medications/safety: {{current_medications}}<br>Red flags/neuro screen: {{red_flags_neuro_screen}}<br>Imaging/tests: {{imaging_labs_tests}}<br>Impression/plan: {{history_impression_plan}}</div>
  <p>Physician review required before signing in the EMR. Verify actual medications, doses, lot/expiry, devices, image documentation, response, complications, and follow-up.</p>
</body>
</html>
