<!doctype html>
<html>
<head>
  <meta charset="utf-8">
  <title>History - Greater trochanteric pain syndrome</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 - Greater trochanteric pain syndrome</h1>
  <p><b>Form ID:</b> hist_gtps &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>Header</td><td>Clinician</td><td><code>clinician_name</code></td><td>Global Default</td><td>Required</td><td></td><td></td></tr>
    <tr><td>Header</td><td>Encounter date</td><td><code>encounter_date</code></td><td>No Default</td><td>Required</td><td></td><td></td></tr>
    <tr><td>Header</td><td>Condition focus</td><td><code>condition_focus</code></td><td>Per-Form Default</td><td>Required</td><td></td><td></td></tr>
    <tr><td>History</td><td>Presenting complaint / reason for visit</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 and 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>Onset, duration, and course</td><td><code>onset_duration_course</code></td><td>No Default</td><td>Required</td><td></td><td></td></tr>
    <tr><td>History</td><td>Mechanism/context and relevant history</td><td><code>mechanism_context</code></td><td>No Default</td><td>Optional</td><td></td><td></td></tr>
    <tr><td>History</td><td>Pain quality, pattern, severity</td><td><code>pain_quality_pattern</code></td><td>No Default</td><td>Required</td><td></td><td></td></tr>
    <tr><td>History</td><td>Aggravating and relieving factors</td><td><code>aggravating_relieving</code></td><td>No Default</td><td>Required</td><td></td><td></td></tr>
    <tr><td>Function</td><td>Functional limitations and goals</td><td><code>functional_limitations</code></td><td>No Default</td><td>Required</td><td></td><td></td></tr>
    <tr><td>Condition-specific</td><td>Condition-specific history prompts</td><td><code>condition_specific_questions</code></td><td>Per-Form Default</td><td>Optional</td><td></td><td></td></tr>
    <tr><td>Treatment history</td><td>Prior conservative/interventional treatments and response</td><td><code>prior_treatments</code></td><td>No Default</td><td>Required</td><td></td><td></td></tr>
    <tr><td>Treatment history</td><td>Current pain medications / relevant medication issues</td><td><code>current_medications</code></td><td>No Default</td><td>Required</td><td></td><td></td></tr>
    <tr><td>Diagnostics</td><td>Imaging/labs/EMG and relevant reports reviewed</td><td><code>imaging_labs_tests</code></td><td>No Default</td><td>Optional</td><td></td><td></td></tr>
    <tr><td>Safety</td><td>Red flags / neurologic / systemic screen</td><td><code>red_flags_neuro_screen</code></td><td>No Default</td><td>Required</td><td>Reviewed today and no patient-specific contraindication identified.; Patient-specific exception documented in the free-text field.</td><td></td></tr>
    <tr><td>Context</td><td>Sleep, mood, psychosocial and work/compensation context</td><td><code>psychosocial_sleep_mood</code></td><td>No Default</td><td>Optional</td><td></td><td></td></tr>
    <tr><td>Plan</td><td>Patient preferences, affordability constraints, and treatment priorities</td><td><code>patient_preferences_affordability</code></td><td>No Default</td><td>Optional</td><td></td><td></td></tr>
    <tr><td>Plan</td><td>History-based impression and plan</td><td><code>history_impression_plan</code></td><td>No Default</td><td>Required</td><td></td><td></td></tr>
    <tr><td>Plan</td><td>History follow-up phrase</td><td><code>history_followup_phrase</code></td><td>Global Default</td><td>Optional</td><td></td><td></td></tr>
  </table>
  <h2>Narrative template</h2>
  <div class="note">History template: Greater trochanteric pain syndrome<br>Clinician: {{clinician_name}}. Date: {{encounter_date}}.<br><br>Presenting problem: {{presenting_complaint}}. Pain location/distribution: {{pain_location_distribution}}. Onset/course: {{onset_duration_course}}. Mechanism/context: {{mechanism_context}}. Pain quality/severity/pattern: {{pain_quality_pattern}}. Aggravating/relieving factors: {{aggravating_relieving}}.<br><br>Function/goals: {{functional_limitations}}. Condition-specific prompts/findings: {{condition_specific_questions}}.<br><br>Prior treatment response: {{prior_treatments}}. Current medications/relevant issues: {{current_medications}}. Diagnostics reviewed: {{imaging_labs_tests}}. Safety/red flags/neuro/systemic screen: {{red_flags_neuro_screen}}. Sleep/mood/psychosocial context: {{psychosocial_sleep_mood}}. Preferences/affordability/priorities: {{patient_preferences_affordability}}.<br><br>History-based impression/plan: {{history_impression_plan}} {{history_followup_phrase}}</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>
