# STOP-Bang questionnaire > Formesign template (assessment form), as markdown for agents. The page: https://formesign.com/care-assessments/sleep/stop-bang-questionnaire.html ## Customize it for the user Ask what the form is for, unless the user has said. They can pick one of these starting points or describe their own: - **For Pre-Visit Screening:** Adapt the STOP-Bang form for completion before an in-person sleep clinic visit, with clear Patient ID, appointment date, and clinician fields. Preserve all eight screening questions, their response choices, and the existing score and risk fields. - **For Surgical Intake:** Prepare this form for sleep apnea screening during a pre-surgical intake workflow, including fields for Patient ID, intake date, and the reviewing clinician. Keep the original STOP-Bang questions, answer choices, scoring, and risk interpretation unchanged. - **For Community Screening Events:** Adapt the form for a community health screening event, adding practical fields for screening date, event location, and the staff member recording the results. Preserve the eight STOP-Bang questions, their response choices, and the existing score and risk fields. Write the changes they want as a short request in their words, under 4,000 characters. Then make the form: Use the first route that works, in this order: MCP if its tools are on or you can connect it yourself, then the page's tools, then the link. Don't click through the website for what a tool does. 1. **MCP:** Formesign's MCP server, `https://formesign.com/mcp`. Only its own tools make a Formesign form: Formfacade or Neartail tools make their own product's form, so with only those on, take the next route. - If its tools are on in this chat: 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. - If you can run a shell (Claude Code, Codex): connect it yourself. The sign-in steps are under "Before using MCP" in https://formesign.com/llms.txt; the user only signs in with Google. - Otherwise (Claude's chat, ChatGPT or Gemini without it): don't wait for it. Use the next route now. Tell the user in one line that adding Formesign lets you make the form in the chat next time: in Claude, Plugins, then Add, then Add custom connector with `https://formesign.com/mcp`; in ChatGPT, the [Formesign app](https://chatgpt.com/plugins/plugin_asdk_app_6946ef2466c88191984a7e7c260ea11f). 2. **WebMCP:** if you can open pages in a browser that runs page tools (the in-app browser of ChatGPT Work or Codex), open https://formesign.com/care-assessments/sleep/stop-bang-questionnaire.html and call its `customize_form` tool with the request. Page tools may not show in your general tool list: check the open page's own tools. 3. **The link:** otherwise, give the user this link with the request added at the end, URL-encoded: https://formesign.com/prompt-for/care-assessments?create=1&templateId=1FAIpQLScJ_xcXg_5cPKuaLY3HcKkqcSQIZirZoLndr2F3Y-FIm7ay0w&prompt= It opens Formesign's Customize page, which writes the form and creates it in their Google account by itself; they only sign in with Google if it asks. For a starting point as it is, its ready link: [For Pre-Visit Screening](https://formesign.com/prompt-for/care-assessments?create=1&templateId=1FAIpQLScJ_xcXg_5cPKuaLY3HcKkqcSQIZirZoLndr2F3Y-FIm7ay0w&prompt=Adapt%20the%20STOP-Bang%20form%20for%20completion%20before%20an%20in-person%20sleep%20clinic%20visit%2C%20with%20clear%20Patient%20ID%2C%20appointment%20date%2C%20and%20clinician%20fields.%20Preserve%20all%20eight%20screening%20questions%2C%20their%20response%20choices%2C%20and%20the%20existing%20score%20and%20risk%20fields.); [For Surgical Intake](https://formesign.com/prompt-for/care-assessments?create=1&templateId=1FAIpQLScJ_xcXg_5cPKuaLY3HcKkqcSQIZirZoLndr2F3Y-FIm7ay0w&prompt=Prepare%20this%20form%20for%20sleep%20apnea%20screening%20during%20a%20pre-surgical%20intake%20workflow%2C%20including%20fields%20for%20Patient%20ID%2C%20intake%20date%2C%20and%20the%20reviewing%20clinician.%20Keep%20the%20original%20STOP-Bang%20questions%2C%20answer%20choices%2C%20scoring%2C%20and%20risk%20interpretation%20unchanged.); [For Community Screening Events](https://formesign.com/prompt-for/care-assessments?create=1&templateId=1FAIpQLScJ_xcXg_5cPKuaLY3HcKkqcSQIZirZoLndr2F3Y-FIm7ay0w&prompt=Adapt%20the%20form%20for%20a%20community%20health%20screening%20event%2C%20adding%20practical%20fields%20for%20screening%20date%2C%20event%20location%2C%20and%20the%20staff%20member%20recording%20the%20results.%20Preserve%20the%20eight%20STOP-Bang%20questions%2C%20their%20response%20choices%2C%20and%20the%20existing%20score%20and%20risk%20fields.). Write the whole link out in a code block, not only behind a label: Gemini turns a link it writes into a web search. Only when you drive a browser yourself and no route above works, use that page by hand. ## The template ````markdown # STOP-Bang Sleep Apnea Questionnaire ### 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 ### Snoring * Type: MULTIPLE_CHOICE Do you snore loudly (louder than talking or loud enough to be heard through closed doors)? - Yes - No Scoring: [1,0] ### Tired * Type: MULTIPLE_CHOICE Do you often feel tired, fatigued, or sleepy during daytime? - Yes - No Scoring: [1,0] ### Observed * Type: MULTIPLE_CHOICE Has anyone observed you stop breathing during your sleep? - Yes - No Scoring: [1,0] ### Pressure * Type: MULTIPLE_CHOICE Do you have or are you being treated for high blood pressure? - Yes - No Scoring: [1,0] ### BMI * Type: MULTIPLE_CHOICE BMI more than 35 kg/m2 ? - Yes - No Scoring: [1,0] ### Age * Type: MULTIPLE_CHOICE Age over 50 years old? - Yes - No Scoring: [1,0] ### Neck size large * Type: MULTIPLE_CHOICE Is your shirt collar 16 inches / 40cm or larger? - Yes - No Scoring: [1,0] ### Gender * Type: MULTIPLE_CHOICE - Male - Female Scoring: [1,0] ### STOP-BANG Score Type: CALCULATED Calculation: POINTS() ### OSA Risk Type: TEXT ````