# Headache Disability Index

> Formesign template (assessment form), as markdown for agents. The page: https://formesign.com/care-assessments/others/headache-disability-index.html

## Customize it for the user

1. Find out what the form is for. If the user hasn't said, ask. They can pick one of the page's starting points (each links to it) or describe their own:
   - **[For a neurology intake](https://formesign.com/prompt-for/care-assessments?prompt=Adapt+this+assessment+for+patients+completing+it+before+a+neurology+appointment.+Preserve+all+existing+HDI+statements+and+answer+choices%2C+and+add+editable+assessment+date+and+clinician+fields+for+visit+preparation.&templateId=1FAIpQLSdKIIO4SkkR69sqGs-VUYIWTXAl1BNBh_wC1o_6OIKNFZv_0w):** Adapt this assessment for patients completing it before a neurology appointment. Preserve all existing HDI statements and answer choices, and add editable assessment date and clinician fields for visit preparation.
   - **[For a headache clinic follow-up](https://formesign.com/prompt-for/care-assessments?prompt=Prepare+the+form+for+repeat+headache+clinic+visits.+Keep+the+existing+HDI+questions%2C+choices%2C+and+scoring+unchanged%2C+and+add+editable+follow-up+date+and+visit+number+fields+to+support+review+across+visits.&templateId=1FAIpQLSdKIIO4SkkR69sqGs-VUYIWTXAl1BNBh_wC1o_6OIKNFZv_0w):** Prepare the form for repeat headache clinic visits. Keep the existing HDI questions, choices, and scoring unchanged, and add editable follow-up date and visit number fields to support review across visits.
   - **[For a primary care visit](https://formesign.com/prompt-for/care-assessments?prompt=Set+up+this+HDI+form+for+patients+completing+it+before+a+primary+care+appointment.+Retain+all+existing+statements+and+response+options%2C+and+add+editable+referral+reason+and+appointment+date+fields+for+the+care+team.&templateId=1FAIpQLSdKIIO4SkkR69sqGs-VUYIWTXAl1BNBh_wC1o_6OIKNFZv_0w):** Set up this HDI form for patients completing it before a primary care appointment. Retain all existing statements and response options, and add editable referral reason and appointment date fields for the care team.
2. Write the changes the user wants as a short request in their words, under 4,000 characters. Give them this link with the request added, URL-encoded, as `prompt`: https://formesign.com/prompt-for/care-assessments?templateId=1FAIpQLSdKIIO4SkkR69sqGs-VUYIWTXAl1BNBh_wC1o_6OIKNFZv_0w&prompt=
3. The link opens Formesign's Customize page with the request filled in. They press Generate to preview the form and Create to make it, signing in with Google when the page asks.

If Formesign's connector or MCP tools are already on in this chat, you can make the form yourself instead: rewrite the template below for the user's use case, keeping its sections, consent wording and signature lines unless the user asks to change them (a `*` marks a required question). Then call `create_form` with `format: "markdown"` and the whole document and share the preview link it returns. In ChatGPT Work or Codex, you can also open the page in the in-app browser and call its `customize_form` tool.

## The template

````markdown
# Headache Disability Index (HDI)

### Patient ID
Type: TEXT

### Patient Name
Type: TEXT

### Patient Email
Type: TEXT

### Patient Phone Number
Type: TEXT

### Doctor's Name
Type: TEXT

### Location
Type: TEXT

Please check the correct response about your headaches:

### I have a headache: *
Type: MULTIPLE_CHOICE
- once per month
- more than once but less than four times per month
- more than once per week

### My headache is: *
Type: MULTIPLE_CHOICE
- mild
- moderate
- severe

Please read carefully: The purpose of the scale is to identify difficulties that you may be experiencing because of your headache. Please check off “Yes”, “Sometimes”, or “No” to each item. Answer each question as it pertains to your headache only.

### Because of my headaches I feel disabled. *
Type: MULTIPLE_CHOICE
- Yes
- Sometimes
- No
Scoring: [4,2,0]

### Because of my headaches I feel restricted in performing my routine daily activities. *
Type: MULTIPLE_CHOICE
- Yes
- Sometimes
- No
Scoring: [4,2,0]

### No one understands the effect my headaches have on my life. *
Type: MULTIPLE_CHOICE
- Yes
- Sometimes
- No
Scoring: [4,2,0]

### I restrict my recreational activities (eg, sports, hobbies) because of my headaches. *
Type: MULTIPLE_CHOICE
- Yes
- Sometimes
- No
Scoring: [4,2,0]

### My headaches make me angry. *
Type: MULTIPLE_CHOICE
- Yes
- Sometimes
- No
Scoring: [4,2,0]

### Sometimes I feel that I am going to lose control because of my headaches. *
Type: MULTIPLE_CHOICE
- Yes
- Sometimes
- No
Scoring: [4,2,0]

### Because of my headaches I am less likely to socialize. *
Type: MULTIPLE_CHOICE
- Yes
- Sometimes
- No
Scoring: [4,2,0]

### My spouse (significant other), or family and friends have no idea what I am going through because of my headaches. *
Type: MULTIPLE_CHOICE
- Yes
- Sometimes
- No
Scoring: [4,2,0]

### My headaches are so bad that I feel that I am going to go insane. *
Type: MULTIPLE_CHOICE
- Yes
- Sometimes
- No
Scoring: [4,2,0]

### My outlook on the world is affected by my headaches. *
Type: MULTIPLE_CHOICE
- Yes
- Sometimes
- No
Scoring: [4,2,0]

### I am afraid to go outside when I feel that a headaches is starting. *
Type: MULTIPLE_CHOICE
- Yes
- Sometimes
- No
Scoring: [4,2,0]

### I feel desperate because of my headaches. *
Type: MULTIPLE_CHOICE
- Yes
- Sometimes
- No
Scoring: [4,2,0]

### I am concerned that I am paying penalties at work or at home because of my headaches. *
Type: MULTIPLE_CHOICE
- Yes
- Sometimes
- No
Scoring: [4,2,0]

### My headaches place stress on my relationships with family or friends. *
Type: MULTIPLE_CHOICE
- Yes
- Sometimes
- No
Scoring: [4,2,0]

### I avoid being around people when I have a headache. *
Type: MULTIPLE_CHOICE
- Yes
- Sometimes
- No
Scoring: [4,2,0]

### I believe my headaches are making it difficult for me to achieve my goals in life. *
Type: MULTIPLE_CHOICE
- Yes
- Sometimes
- No
Scoring: [4,2,0]

### I am unable to think clearly because of my headaches. *
Type: MULTIPLE_CHOICE
- Yes
- Sometimes
- No
Scoring: [4,2,0]

### I get tense (e.g., muscle tension) because of my headaches. *
Type: MULTIPLE_CHOICE
- Yes
- Sometimes
- No
Scoring: [4,2,0]

### I do not enjoy social gatherings because of my headaches. *
Type: MULTIPLE_CHOICE
- Yes
- Sometimes
- No
Scoring: [4,2,0]

### I feel irritable because of my headaches. *
Type: MULTIPLE_CHOICE
- Yes
- Sometimes
- No
Scoring: [4,2,0]

### I avoid traveling because of my headaches. *
Type: MULTIPLE_CHOICE
- Yes
- Sometimes
- No
Scoring: [4,2,0]

### My headaches make me feel confused. *
Type: MULTIPLE_CHOICE
- Yes
- Sometimes
- No
Scoring: [4,2,0]

### My headaches make me feel frustrated. *
Type: MULTIPLE_CHOICE
- Yes
- Sometimes
- No
Scoring: [4,2,0]

### I find it difficult to read because of my headaches. *
Type: MULTIPLE_CHOICE
- Yes
- Sometimes
- No
Scoring: [4,2,0]

### I find it difficult to focus my attention away from my headaches and on other things. *
Type: MULTIPLE_CHOICE
- Yes
- Sometimes
- No
Scoring: [4,2,0]

### Emotional score
Type: CALCULATED
Calculation: POINTS(CATEGORY, "Emotional")

### Functional score
Type: CALCULATED
Calculation: POINTS(CATEGORY, "Functional")

### HDI score
Type: CALCULATED
Calculation: POINTS()

### Disability Level
Type: CALCULATED
Calculation: IFS([HDI score]&nbsp;&gt;= 72, "complete disability", [HDI score]&nbsp;&gt;= 50, "severe disability", [HDI score] &gt;= 30, "moderate disability", [HDI score] &gt;= 10, "mild disability", "no disability")
````
