Template:Ottawa Ankle Calculator: Difference between revisions

(Create Ottawa Ankle Rule calculator template)
 
(Fix Ottawa Ankle calculator to use {{calculator}} template syntax for proper defaults)
Line 17: Line 17:
|-
|-
|   Bone tenderness along distal 6 cm of '''posterior edge of tibia''' or tip of '''medial malleolus'''
|   Bone tenderness along distal 6 cm of '''posterior edge of tibia''' or tip of '''medial malleolus'''
| <span class="calculator-field" id="calculator-field-oa_med" data-calculator-type="radio" data-calculator-name="oa_med" data-calculator-checked="true">0</span>
| {{calculator|id=oa_medNo|type=radio|name=oa_med|default=1}}
| <span class="calculator-field" id="calculator-field-oa_med1" data-calculator-type="radio" data-calculator-name="oa_med">1</span>
| {{calculator|id=oa_medYes|type=radio|name=oa_med}}
|-
|-
| &nbsp;&nbsp;Bone tenderness along distal 6 cm of '''posterior edge of fibula''' or tip of '''lateral malleolus'''
| &nbsp;&nbsp;Bone tenderness along distal 6 cm of '''posterior edge of fibula''' or tip of '''lateral malleolus'''
| <span class="calculator-field" id="calculator-field-oa_lat" data-calculator-type="radio" data-calculator-name="oa_lat" data-calculator-checked="true">0</span>
| {{calculator|id=oa_latNo|type=radio|name=oa_lat|default=1}}
| <span class="calculator-field" id="calculator-field-oa_lat1" data-calculator-type="radio" data-calculator-name="oa_lat">1</span>
| {{calculator|id=oa_latYes|type=radio|name=oa_lat}}
|-
|-
| &nbsp;&nbsp;'''Inability to bear weight''' both immediately and in the ED (4 steps)
| &nbsp;&nbsp;'''Inability to bear weight''' both immediately and in the ED (4 steps)
| <span class="calculator-field" id="calculator-field-oa_wt" data-calculator-type="radio" data-calculator-name="oa_wt" data-calculator-checked="true">0</span>
| {{calculator|id=oa_wtNo|type=radio|name=oa_wt|default=1}}
| <span class="calculator-field" id="calculator-field-oa_wt1" data-calculator-type="radio" data-calculator-name="oa_wt">1</span>
| {{calculator|id=oa_wtYes|type=radio|name=oa_wt}}
|-
|-
| '''Foot X-ray''' is required if there is pain in the ''midfoot zone'' AND any of the following:
| '''Foot X-ray''' is required if there is pain in the ''midfoot zone'' AND any of the following:
Line 32: Line 32:
|-
|-
| &nbsp;&nbsp;Bone tenderness at the '''base of the 5th metatarsal'''
| &nbsp;&nbsp;Bone tenderness at the '''base of the 5th metatarsal'''
| <span class="calculator-field" id="calculator-field-oa_5mt" data-calculator-type="radio" data-calculator-name="oa_5mt" data-calculator-checked="true">0</span>
| {{calculator|id=oa_5mtNo|type=radio|name=oa_5mt|default=1}}
| <span class="calculator-field" id="calculator-field-oa_5mt1" data-calculator-type="radio" data-calculator-name="oa_5mt">1</span>
| {{calculator|id=oa_5mtYes|type=radio|name=oa_5mt}}
|-
|-
| &nbsp;&nbsp;Bone tenderness at the '''navicular'''
| &nbsp;&nbsp;Bone tenderness at the '''navicular'''
| <span class="calculator-field" id="calculator-field-oa_nav" data-calculator-type="radio" data-calculator-name="oa_nav" data-calculator-checked="true">0</span>
| {{calculator|id=oa_navNo|type=radio|name=oa_nav|default=1}}
| <span class="calculator-field" id="calculator-field-oa_nav1" data-calculator-type="radio" data-calculator-name="oa_nav">1</span>
| {{calculator|id=oa_navYes|type=radio|name=oa_nav}}
|-
|-
| &nbsp;&nbsp;'''Inability to bear weight''' both immediately and in the ED (4 steps)
| &nbsp;&nbsp;'''Inability to bear weight''' both immediately and in the ED (4 steps)
| <span class="calculator-field" id="calculator-field-oa_fwt" data-calculator-type="radio" data-calculator-name="oa_fwt" data-calculator-checked="true">0</span>
| {{calculator|id=oa_fwtNo|type=radio|name=oa_fwt|default=1}}
| <span class="calculator-field" id="calculator-field-oa_fwt1" data-calculator-type="radio" data-calculator-name="oa_fwt">1</span>
| {{calculator|id=oa_fwtYes|type=radio|name=oa_fwt}}
|-
|-
! style="background:#2c3e50; color:white;" | Positive Criteria
! style="background:#2c3e50; color:white;" | Positive Criteria
! colspan="2" style="background:#2c3e50; color:white;" | <span class="calculator-field" id="calculator-field-oa_total" data-calculator-type="plain" data-calculator-formula="radiogroup(oa_med)+radiogroup(oa_lat)+radiogroup(oa_wt)+radiogroup(oa_5mt)+radiogroup(oa_nav)+radiogroup(oa_fwt)">0</span> &nbsp; / 6
! colspan="2" style="background:#2c3e50; color:white;" | {{calculator|id=oa_total|type=plain|formula=oa_medYes+oa_latYes+oa_wtYes+oa_5mtYes+oa_navYes+oa_fwtYes|style=min-width:3ch;display:inline-block}} / 6
|}
|}


Line 52: Line 52:
|-
|-
| style="background:#27ae60; color:white; text-align:center; width:20%; font-weight:bold;" | Score = 0
| style="background:#27ae60; color:white; text-align:center; width:20%; font-weight:bold;" | Score = 0
| '''No X-ray needed''' — Sensitivity 96.4–99.6% for clinically significant fractures. Patient can be safely discharged with weight-bearing as tolerated.
| '''No X-ray needed''' — Sensitivity 96.4–99.6% for clinically significant fractures.
|-
|-
| style="background:#e74c3c; color:white; text-align:center; font-weight:bold;" | Score ≥ 1
| style="background:#e74c3c; color:white; text-align:center; font-weight:bold;" | Score ≥ 1

Revision as of 12:11, 21 March 2026

Interactive Ottawa Ankle Rule calculator. Requires the calculator gadget.

Usage: {{Ottawa Ankle Calculator}}