# painDETECT

> Formesign template (assessment form), as markdown for agents. The page: https://formesign.com/care-assessments/pain-management/paindetect.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 Spine Clinic Intake](https://formesign.com/prompt-for/care-assessments?prompt=Adapt+patient%2C+clinician%2C+and+location+details+for+a+spine-clinic+intake%2C+with+an+editable+visit+date+for+later+comparison.+Keep+every+painDETECT+question%2C+recall+period%2C+response+choice%2C+scoring+rule%2C+and+interpretation+unchanged.&templateId=1FAIpQLSfQcPsU41sDGqhH-5dpDrPtI1ar8IHdH_M6B4XfzNvv9oXKYw):** Adapt patient, clinician, and location details for a spine-clinic intake, with an editable visit date for later comparison. Keep every painDETECT question, recall period, response choice, scoring rule, and interpretation unchanged.
   - **[For Remote Pain Follow-Up](https://formesign.com/prompt-for/care-assessments?prompt=Prepare+the+form+for+patients+completing+painDETECT+before+a+remote+follow-up%2C+and+make+contact+and+appointment+details+easy+to+update.+Preserve+all+existing+questions%2C+the+four-week+recall+period%2C+response+choices%2C+and+scoring+and+interpretation+rules.&templateId=1FAIpQLSfQcPsU41sDGqhH-5dpDrPtI1ar8IHdH_M6B4XfzNvv9oXKYw):** Prepare the form for patients completing painDETECT before a remote follow-up, and make contact and appointment details easy to update. Preserve all existing questions, the four-week recall period, response choices, and scoring and interpretation rules.
   - **[For a Multidisciplinary Pain Visit](https://formesign.com/prompt-for/care-assessments?prompt=Adapt+the+identifying+fields+for+a+multidisciplinary+pain-service+visit%2C+including+editable+clinician+and+clinic+location+details.+Retain+all+painDETECT+questions+and+answer+choices+exactly%2C+along+with+the+stated+recall+period%2C+score+calculation%2C+and+interpretation.&templateId=1FAIpQLSfQcPsU41sDGqhH-5dpDrPtI1ar8IHdH_M6B4XfzNvv9oXKYw):** Adapt the identifying fields for a multidisciplinary pain-service visit, including editable clinician and clinic location details. Retain all painDETECT questions and answer choices exactly, along with the stated recall period, score calculation, and interpretation.
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=1FAIpQLSfQcPsU41sDGqhH-5dpDrPtI1ar8IHdH_M6B4XfzNvv9oXKYw&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
# painDETECT Questionnaire (PD-Q)

The painDETECT questionnaire is a patient-completed screening tool with utility for identification of neuropathic pain.

### 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

### How would you assess your pain now, at this moment? *
Type: SCALE
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10

### How strong was the strongest pain during the past 4 weeks? *
Type: SCALE
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10

### How strong was the pain on average during the past 4 weeks? *
Type: SCALE
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10

### Select the statement that best describes the course of your pain: *
Type: MULTIPLE_CHOICE
- Persistent pain with slight fluctuations
- Persistent pain with pain attacks
- Pain attacks without pain between them
- Pain attacks with pain between them
Scoring: [0,-1,1,1]

### Does your pain radiate to other regions of your body? *
Type: MULTIPLE_CHOICE
- Yes
- No
Scoring: [2,0]

### Do you suffer from a burning sensation (e.g., stinging nettles) in the marked areas? *
Type: MULTIPLE_CHOICE
- Never
- Hardly Noticed
- Slightly
- Moderately
- Strongly
- Very Strongly
Scoring: [0,1,2,3,4,5]

### Do you have a tingling or prickling sensation in the area of your pain (like crawling ants or electrical tingling)? *
Type: MULTIPLE_CHOICE
- Never
- Hardly Noticed
- Slightly
- Moderately
- Strongly
- Very Strongly
Scoring: [0,1,2,3,4,5]

### Is light touching (clothing, a blanket) in this area painful? *
Type: MULTIPLE_CHOICE
- Never
- Hardly Noticed
- Slightly
- Moderately
- Strongly
- Very Strongly
Scoring: [0,1,2,3,4,5]

### Do you have sudden pain attacks in the area of your pain, like electric shocks? *
Type: MULTIPLE_CHOICE
- Never
- Hardly Noticed
- Slightly
- Moderately
- Strongly
- Very Strongly
Scoring: [0,1,2,3,4,5]

### Is cold or heat (bath water) in this area occasionally painful? *
Type: MULTIPLE_CHOICE
- Never
- Hardly Noticed
- Slightly
- Moderately
- Strongly
- Very Strongly
Scoring: [0,1,2,3,4,5]

### Do you suffer from a sensation of numbness in the areas that you marked? *
Type: MULTIPLE_CHOICE
- Never
- Hardly Noticed
- Slightly
- Moderately
- Strongly
- Very Strongly
Scoring: [0,1,2,3,4,5]

### Does slight pressure in this area, e.g., with a finger, trigger pain? *
Type: MULTIPLE_CHOICE
- Never
- Hardly Noticed
- Slightly
- Moderately
- Strongly
- Very Strongly
Scoring: [0,1,2,3,4,5]

### PD-Q Score
Type: CALCULATED
Calculation: POINTS()

### Diagnosis
Type: CALCULATED
Calculation: IFS([PD-Q Score] >= 19, "A neuropathic pain component is likely", [PD-Q Score] > 12, "Neuropathic pain can be present, but is uncertain", "A neuropathic pain component is unlikely")
````
