Chest pain - history

Work in progress snippet for chest pain history.

{formparagraph: name=hx}

Onset / Duration: {formtext: name=duration}
Freq: {formtext: name=freq}
Duration: {formtext: name=duration of sx}
Location: {formmenu: default=central chest; Left chest\ ; Right chest; name=location; multiple=no}
Radiation: {formmenu: default=none; left arm / shoulder; neck\ ; back; name=radiation; multiple=yes}
Quality: {formmenu: dull; aching; pressure; default=sharp; shooting; burning; name=pain quality; multiple=yes}
Aggravating: {formmenu: default=none; exercise / activity; stress / anxiety; deep breathing\ ; coughing; certain movements; certain foods; name=aggravating factors; multiple=yes}
Alleviating: {formmenu: default=none; rest; aspirin; nitro-spray\ ; aspirin; otc pain meds; certain positions\ ; name=alleviating; multiple=yes}
Associated symptoms:
{formtoggle: name=fever; default=no}+ fever{endformtoggle}{if: fever}{else}no fever{endif}
{formtoggle: name=cough; default=no}+ cough{endformtoggle}{if: cough}{else}no cough{endif}
{formtoggle: name=SOB; default=no}+ shortness of breath{endformtoggle}{if: sob}{else}no shortness of breath{endif}
{formtoggle: name=palpitations; default=no}+ palpitations{endformtoggle}{if: palpitations}{else}no palpitations{endif}
{formtoggle: name=GERD; default=no}+ reflux symptoms{endformtoggle} {if: gerd}{else}no reflux symptoms{endif}

Red flags:
{formtoggle: name=leaning_forward; default=no}+ better with leaning forward{endformtoggle}{if: leaning_forward}{else}no improvement with leaning forward{endif}
{formtoggle: name=tearing_ripping_sensation\ ; default=no}+ tearing/ripping sensation{endformtoggle}{if: tearing_ripping_sensation }{else}no tearing/ripping sensation{endif}
{formtoggle: name=leg_calf_pain\ ; default=no}+ leg/calf pain or swelling{endformtoggle}{if: leg_calf_pain }{else}no leg/calf pain or swelling{endif}
{formtoggle: name=pleuritic_cp; default=no}+ pleuritic chest pain{endformtoggle}{if: pleuritic_cp}{else}no pleuritic chest pain{endif}
{formtoggle: name=hemoptysis; default=no}+ hemoptysis{endformtoggle}{if: hemoptysis}{else}no hemoptysis{endif}
{formtoggle: name=vomiting\ ; default=no}+ vomiting {endformtoggle}{if: vomiting }{else}no vomiting {endif}

PMHx / RF:
{formmenu: default=non-smoker; ex-smoker:\ ; + smoker:\ ; name=smoking}{formtext: name=pyh}
{formtoggle: name=htn; default=no}+ htn{endformtoggle}{if: htn}{else}no htn{endif}
{formtoggle: name=DM; default=no}+ DM{endformtoggle}{if: dm}{else}no DM{endif}
{formtoggle: name=hld; default=no}+ HLD{endformtoggle}{if: hld}{else}no HLD{endif}
{formmenu: default=no CAD/CVA; + CAD:\ ; + CVA:; name=CAD/CVA; multiple=yes}{formtext: name=CAD/CVA text}
{formtoggle: name=COPD; default=no}+ COPD{endformtoggle}{if: copd}{else}no COPD{endif}
{formtoggle: name=fhx_stroke; default=no}+ stroke: {endformtoggle}{if: fhx_stroke}{else}no stroke{endif}{formtext: name=fhx stroke - text}
{formtoggle: name=fhx_mi; default=no}+ MI: {endformtoggle}{if: fhx_mi}{else}no MI{endif} {formtext: name=fhx MI - text}
Meds: {formtext: name=Meds; default=as per profile}
All: {formtext: name=Allergies; default=as per profile}
{formtoggle: name=EtOH; default=no}+ EtOH consumption: {endformtoggle}{if: etoh}{else}no / minimal EtOH consumption{endif}{formtext: name=EtOH -Text}
{formmenu: default=no recreational drugs; + MJ; + cocaine; + methamphetamine; + heroin\ ; name=recreational drugs; multiple=yes}