Fasten Connect orchestrates a two-stage flow that begins when a patient authorizes access with Fasten Stitch and concludes when your systems retrieve their clinical data. Aligning your product and engineering teams around these stages keeps the experience compliant, transparent, and technically reliable.
Patient Consent — Patient-facing flows built with Fasten Stitch capture identity, grant authorization, and return the identifiers your backend needs to act on the consent.
Data Collection — Server-side jobs use the identifiers to request exports, monitor webhooks, and deliver the records to downstream systems while respecting retention policies.
Embed Stitch — Add the fasten-stitch-element to your application, supplying a public key that matches the deployment environment.
Listen for events — Parse the widget.complete event from the Stitch event bus and hand off the event payload to your backend over a secure channel.
(Optional) Register a webhook endpoint so you can receive patient.connection_success event notifications as a backup or for auditing.
Store consent artifacts — Persist the org_connection_id, brand_id, and other metadata alongside your patient record to build an auditable consent log.
Keep a short-lived cache of the most recent Stitch events to support patient support inquiries and replay protection.
You will be automatically subscribed to patient.ehi_export_success and related events at your registered webhook URL.
Validate the task_id in incoming events against the job you launched and record progress updates for support visibility.
Tasks will automatically time out after a reasonable period (Fasten will send a patient.ehi_export_failed; implement retry logic for transient failures or delays.
Retrieve the download link(s) from the webhook payload and stream the file(s) to your storage tier before the URLs expire
Links are valid for 24 hours from the time of the webhook event.
Import, convert or fan out the FHIR JSONL export into downstream formats (clinical data repository, data warehouse, analytics pipelines, or patient-facing portals).
Ensure your systems can handle large files and variable resource counts. (eg. 30MB with 500 resources vs 3GB with 5,000 resources + Binary data).
Use a Clinical Data Repository (CDR) that natively supports FHIR to simplify ingestion and querying.
Orchestrate both stages with a job tracker that links consent events, export requests, webhook updates, and downloads.
Inform patients with status updates or notifications when collection finishes, reinforcing trust in the consent they granted.
Iterate by reviewing failure logs from both stages to tune patient messaging, retry logic, and webhook reliability testing.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Fasten Connect","colors":{"primary":"#5B47FB","light":"#5B47FB","dark":"#5B47FB"},"logo":{"light":"https://mintcdn.com/fastenhealth/A1Yj8CwIWNvOJiz5/logo/banner-transparent.png?fit=max\u0026auto=format\u0026n=A1Yj8CwIWNvOJiz5\u0026q=85\u0026s=84aa8892f55750e66313c066990623e5","dark":"https://mintcdn.com/fastenhealth/A1Yj8CwIWNvOJiz5/logo/banner-dark.png?fit=max\u0026auto=format\u0026n=A1Yj8CwIWNvOJiz5\u0026q=85\u0026s=9f2dc59f111764f1963a692122f8ce9e"},"favicon":"https://mintcdn.com/fastenhealth/A1Yj8CwIWNvOJiz5/favicon.png?fit=max\u0026auto=format\u0026n=A1Yj8CwIWNvOJiz5\u0026q=85\u0026s=9f601e2f5f44a3bf9e87b0f067699c5e","api":{"openapi":["api-reference/openapi.yaml"]},"navbar":{"links":[{"href":"mailto:support@fastenhealth.com","label":"Support"}],"primary":{"type":"button","label":"Portal","href":"https://portal.fastenhealth.com"}},"footer":{"socials":{"twitter":"https://twitter.com/fastenhealth","github":"https://github.com/fastenhealth","linkedin":"https://www.linkedin.com/company/fastenhealth"}},"integrations":{"ga4":{"measurementId":"G-WZK565L4EN"}},"banner":{"content":"🚀 TEFCA IAS is now Generally Available! See our [TEFCA Developer Guide](/guides/tefca-ias) for details.","dismissible":true},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"fastenhealth","hasAudioNarration":false,"actualSubdomain":"fastenhealth","customDomains":["docs.connect.fastenhealth.com"],"gitSource":{"type":"github","owner":"fastenhealth","repo":"fasten-connect-mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae498719046ef2bf2de4b87","collectionId":"5f17330c-6385-44ae-8c90-7567368cb9e4","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae498719046ef2bf2de4b87"},"entitlements":{},"buildId":"6ae498719046ef2bf2de4b87","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"default","tag":"Documentation","count":26},{"language":"default","tag":"Fasten Stitch SDK","count":24},{"language":"default","tag":"API Reference","count":15},{"language":"default","tag":"Guides","count":8},{"language":"default","tag":"Webhooks \u0026 Events","count":8},{"language":"default","tag":"Catalog","count":4},{"language":"default","tag":"Stitch.js (v3)","count":4},{"language":"default","tag":"React Native SDK","count":4},{"language":"default","tag":"React SDK","count":4},{"language":"default","tag":"Web Component SDK","count":4}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"guides/patient-consent-data-collection","slug":"/guides/patient-consent-data-collection","pageMetadata":{"title":"Patient Consent \u0026 Data Collection","description":"Understand how Fasten Connect guides patients through consent and how your systems collect the authorized data.","href":"/guides/patient-consent-data-collection"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Understand how Fasten Connect guides patients through consent and how your systems collect the authorized data.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,OptimizedImage,Tip}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsx(_components.p,{children:`Fasten Connect orchestrates a two-stage flow that begins when a patient authorizes access with Fasten Stitch and concludes when your systems retrieve their clinical data. Aligning your product and engineering teams around these stages keeps the experience compliant, transparent, and technically reliable.`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Patient Consent`}),` — Patient-facing flows built with Fasten Stitch capture identity, grant authorization, and return the identifiers your backend needs to act on the consent.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Data Collection`}),` — Server-side jobs use the identifiers to request exports, monitor webhooks, and deliver the records to downstream systems while respecting retention policies.`]}),`\n`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/fastenhealth/sWh7jQ1XPf1DBi5-/images/patient_consent_collection.drawio.png?fit=max\u0026auto=format\u0026n=sWh7jQ1XPf1DBi5-\u0026q=85\u0026s=ac7b53dd90fb0a86a1dc2b72e922acda`,alt:`patient consent \u0026 data collection diagram`,\"data-og-width\":`794`,width:`794`,\"data-og-height\":`711`,height:`711`,\"data-path\":`images/patient_consent_collection.drawio.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/fastenhealth/sWh7jQ1XPf1DBi5-/images/patient_consent_collection.drawio.png?w=280\u0026fit=max\u0026auto=format\u0026n=sWh7jQ1XPf1DBi5-\u0026q=85\u0026s=dd42c1a2099e653e0f93bab46b1c08d5 280w, https://mintcdn.com/fastenhealth/sWh7jQ1XPf1DBi5-/images/patient_consent_collection.drawio.png?w=560\u0026fit=max\u0026auto=format\u0026n=sWh7jQ1XPf1DBi5-\u0026q=85\u0026s=18b304c2a79ca975103a35159f4a997f 560w, https://mintcdn.com/fastenhealth/sWh7jQ1XPf1DBi5-/images/patient_consent_collection.drawio.png?w=840\u0026fit=max\u0026auto=format\u0026n=sWh7jQ1XPf1DBi5-\u0026q=85\u0026s=df61b51b0277f309755e72bfe5611247 840w, https://mintcdn.com/fastenhealth/sWh7jQ1XPf1DBi5-/images/patient_consent_collection.drawio.png?w=1100\u0026fit=max\u0026auto=format\u0026n=sWh7jQ1XPf1DBi5-\u0026q=85\u0026s=14f6891b4243b0cff209f4ad96597082 1100w, https://mintcdn.com/fastenhealth/sWh7jQ1XPf1DBi5-/images/patient_consent_collection.drawio.png?w=1650\u0026fit=max\u0026auto=format\u0026n=sWh7jQ1XPf1DBi5-\u0026q=85\u0026s=44b6bba54a1e155be8fc117a4869fd6d 1650w, https://mintcdn.com/fastenhealth/sWh7jQ1XPf1DBi5-/images/patient_consent_collection.drawio.png?w=2500\u0026fit=max\u0026auto=format\u0026n=sWh7jQ1XPf1DBi5-\u0026q=85\u0026s=43a36ba53520333cdc2e336033f81093 2500w`}),`\n`,_jsx(Heading,{level:`2`,id:`stage-1-patient-consent`,children:`Stage 1: Patient Consent`}),`\n`,_jsx(`video`,{controls:true,className:`mint-w-full mint-aspect-video mint-rounded-xl`,src:`https://blog.fastenhealth.com/assets/media/Patient-Access-APIs-5.21.25.mp4`}),`\n`,_jsx(Heading,{level:`3`,id:`your-role`,children:`Your Role`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Introduce Fasten Stitch in your application where patients expect to manage their health data.`}),`\n`,_jsx(_components.li,{children:`Explain the benefits of sharing EHI and how their data will be used.`}),`\n`,_jsx(_components.li,{children:`Introduce Fasten as a trusted intermediary that simplifies access to multiple health systems.`}),`\n`,_jsx(_components.li,{children:`Confirm that the patient authenticated successfully with their health system.`}),`\n`,_jsxs(_components.li,{children:[`Persist the `,_jsx(_components.code,{children:`org_connection_id`}),` and related metadata emitted by Webhook or Stitch events for later API calls.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`implementation-steps`,children:`Implementation steps`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Embed Stitch`}),` — Add the `,_jsx(_components.a,{href:`/stitch/v4/sdks/web-component/reference`,children:_jsx(_components.code,{children:`fasten-stitch-element`})}),` to your application, supplying a public key that matches the deployment environment.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Listen for events`}),` — Parse the `,_jsx(_components.code,{children:`widget.complete`}),` event from the Stitch event bus and hand off the event payload to your backend over a secure channel.`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`(Optional) Register a webhook endpoint so you can receive `,_jsxs(_components.a,{href:`/webhooks/events#patient-connection-success-beta`,children:[_jsx(_components.code,{children:`patient.connection_success`}),` event`]}),` notifications as a backup or for auditing.`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Store consent artifacts`}),` — Persist the `,_jsx(_components.code,{children:`org_connection_id`}),`, `,_jsx(_components.code,{children:`brand_id`}),`, and other metadata alongside your patient record to build an auditable consent log.`]}),`\n`]}),`\n`,_jsx(Tip,{children:`Keep a short-lived cache of the most recent Stitch events to support patient support inquiries and replay protection.`}),`\n`,_jsx(Heading,{level:`3`,id:`success-indicators`,children:`Success indicators`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Stitch reports `,_jsx(_components.code,{children:`connection_status: authorized`}),` for the selected health system.`]}),`\n`,_jsxs(_components.li,{children:[`Your backend acknowledges receipt of the `,_jsx(_components.code,{children:`org_connection_id`}),` and ties it to the patient in your system of record.`]}),`\n`,_jsx(_components.li,{children:`Consent timestamps and environment (test vs live) are recorded for audits.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`stage-2-data-collection`,children:`Stage 2: Data Collection`}),`\n`,_jsx(_components.p,{children:`Once consent is recorded, shift to backend workflows that gather the authorized data and deliver it to the right destination.`}),`\n`,_jsx(Heading,{level:`3`,id:`kick-off-exports`,children:`Kick off exports`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Use the `,_jsx(_components.a,{href:`/api-reference/ehi_export/create`,children:_jsx(_components.code,{children:`/bridge/fhir/ehi-export`})}),` endpoint with the stored `,_jsx(_components.code,{children:`org_connection_id`}),`.`]}),`\n`,_jsx(_components.li,{children:`This API call must be made from a secure backend environment using your private key.`}),`\n`,_jsxs(_components.li,{children:[`Asynchronously handle the response, capturing the `,_jsx(_components.code,{children:`task_id`}),` for tracking.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`monitor-completion`,children:`Monitor completion`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`You will be automatically subscribed to `,_jsx(_components.a,{href:`/webhooks/events#patient-ehi_export_success`,children:_jsx(_components.code,{children:`patient.ehi_export_success`})}),` and related events at your registered webhook URL.`]}),`\n`,_jsxs(_components.li,{children:[`Validate the `,_jsx(_components.code,{children:`task_id`}),` in incoming events against the job you launched and record progress updates for support visibility.`]}),`\n`,_jsxs(_components.li,{children:[`Tasks will automatically time out after a reasonable period (Fasten will send a `,_jsx(_components.a,{href:`/webhooks/events#patient-ehi_export_failed`,children:_jsx(_components.code,{children:`patient.ehi_export_failed`})}),`; implement retry logic for transient failures or delays.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`retrieve-records`,children:`Retrieve records`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Retrieve the download link(s) from the webhook payload and stream the file(s) to your storage tier before the URLs expire`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Links are valid for 24 hours from the time of the webhook event.`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`Import, convert or fan out the FHIR JSONL export into downstream formats (clinical data repository, data warehouse, analytics pipelines, or patient-facing portals).`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Ensure your systems can handle large files and variable resource counts. (eg. 30MB with 500 resources vs 3GB with 5,000 resources + Binary data).`}),`\n`,_jsxs(_components.li,{children:[`Use a Clinical Data Repository (CDR) that natively supports FHIR to simplify ingestion and querying.`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Open Source - `,_jsx(_components.a,{href:`https://www.medplum.com/`,children:`Medplum`}),`, `,_jsx(_components.a,{href:`https://hapifhir.io/`,children:`HAPI`}),`)`]}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`https://azure.microsoft.com/en-us/products/health-data-services`,children:`Azure Health Data Services`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`https://aws.amazon.com/healthlake/`,children:`AWS HealthLake`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`https://cloud.google.com/healthcare-api?hl=en`,children:`GCP Healthcare API`})}),`\n`]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`Apply retention policies: exports expire in Fasten storage after `,_jsx(_components.strong,{children:`24 hours`}),`, so plan long-term retention in your own infrastructure.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`putting-it-together`,children:`Putting it together`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Orchestrate`}),` both stages with a job tracker that links consent events, export requests, webhook updates, and downloads.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Inform patients`}),` with status updates or notifications when collection finishes, reinforcing trust in the consent they granted.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Iterate`}),` by reviewing failure logs from both stages to tune patient messaging, retry logic, and webhook reliability testing.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Patient Consent \u0026 Data Collection","description":"Understand how Fasten Connect guides patients through consent and how your systems collect the authorized data.","href":"/guides/patient-consent-data-collection"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Stage 1: Patient Consent","slug":"stage-1-patient-consent","depth":2,"children":[{"title":"Your Role","slug":"your-role","depth":3,"children":[]},{"title":"Implementation steps","slug":"implementation-steps","depth":3,"children":[]},{"title":"Success indicators","slug":"success-indicators","depth":3,"children":[]}]},{"title":"Stage 2: Data Collection","slug":"stage-2-data-collection","depth":2,"children":[{"title":"Kick off exports","slug":"kick-off-exports","depth":3,"children":[]},{"title":"Monitor completion","slug":"monitor-completion","depth":3,"children":[]},{"title":"Retrieve records","slug":"retrieve-records","depth":3,"children":[]}]},{"title":"Putting it together","slug":"putting-it-together","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"dynamicCss":".mint-aspect-video {\n aspect-ratio: 16 / 9\n}\n.mint-w-full {\n width: 100%\n}\n.mint-rounded-xl {\n border-radius: 0.75rem\n}","subdomain":"fastenhealth","siteName":"Fasten Connect","title":"Patient Consent \u0026 Data Collection - Fasten Connect","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-02-08T14:20:42.501Z","originalFileLocation":"guides/patient-consent-data-collection.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Understand how Fasten Connect guides patients through consent and how your systems collect the authorized data.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Fasten Connect\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/fastenhealth/LvCTXjMBYiFXXg4d/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/fastenhealth/LvCTXjMBYiFXXg4d/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/fastenhealth/LvCTXjMBYiFXXg4d/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/fastenhealth/LvCTXjMBYiFXXg4d/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/fastenhealth/LvCTXjMBYiFXXg4d/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/fastenhealth/LvCTXjMBYiFXXg4d/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/fastenhealth/LvCTXjMBYiFXXg4d/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/fastenhealth/LvCTXjMBYiFXXg4d/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/fastenhealth/LvCTXjMBYiFXXg4d/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Patient Consent \u0026amp; Data Collection - Fasten Connect\">\u003cmeta data-mint-head property=\"og:description\" content=\"Understand how Fasten Connect guides patients through consent and how your systems collect the authorized data.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Fasten Connect\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.connect.fastenhealth.com/guides/patient-consent-data-collection\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://fastenhealth.mintlify.app/_mintlify/api/og/v2?division=Guides\u0026amp;title=Patient+Consent+%26+Data+Collection\u0026amp;description=Understand+how+Fasten+Connect+guides+patients+through+consent+and+how+your+systems+collect+the+authorized+data.\u0026amp;theme=2822fc122a365d6c025b8173\u0026amp;signature=38da700639190e7e8c50ae8a4cd30119d80e02e1a31a5b8608a5e38f1b041f78\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Patient Consent \u0026amp; Data Collection - Fasten Connect\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Understand how Fasten Connect guides patients through consent and how your systems collect the authorized data.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://fastenhealth.mintlify.app/_mintlify/api/og/v2?division=Guides\u0026amp;title=Patient+Consent+%26+Data+Collection\u0026amp;description=Understand+how+Fasten+Connect+guides+patients+through+consent+and+how+your+systems+collect+the+authorized+data.\u0026amp;theme=2822fc122a365d6c025b8173\u0026amp;signature=38da700639190e7e8c50ae8a4cd30119d80e02e1a31a5b8608a5e38f1b041f78\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/fastenhealth/LvCTXjMBYiFXXg4d/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Fasten Connect\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5B47FB\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.connect.fastenhealth.com/guides/patient-consent-data-collection\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/patient-consent-data-collection.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.connect.fastenhealth.com/#organization\",\"name\":\"Fasten Connect\",\"url\":\"https://docs.connect.fastenhealth.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/fastenhealth/A1Yj8CwIWNvOJiz5/logo/banner-transparent.png?fit=max\u0026auto=format\u0026n=A1Yj8CwIWNvOJiz5\u0026q=85\u0026s=84aa8892f55750e66313c066990623e5\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.connect.fastenhealth.com#website\",\"name\":\"Fasten Connect\",\"url\":\"https://docs.connect.fastenhealth.com\",\"publisher\":{\"@id\":\"https://docs.connect.fastenhealth.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.connect.fastenhealth.com/guides/patient-consent-data-collection#webpage\",\"url\":\"https://docs.connect.fastenhealth.com/guides/patient-consent-data-collection\",\"name\":\"Patient Consent \u0026 Data Collection\",\"description\":\"Understand how Fasten Connect guides patients through consent and how your systems collect the authorized data.\",\"dateModified\":\"2026-02-08T14:20:42.501Z\",\"isPartOf\":{\"@id\":\"https://docs.connect.fastenhealth.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.connect.fastenhealth.com/guides/patient-consent-data-collection#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.connect.fastenhealth.com/guides/patient-consent-data-collection#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Fasten Connect\",\"item\":\"https://docs.connect.fastenhealth.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Patient Consent \u0026 Data Collection\",\"item\":\"https://docs.connect.fastenhealth.com/guides/patient-consent-data-collection\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.connect.fastenhealth.com/guides/patient-consent-data-collection#article\",\"headline\":\"Patient Consent \u0026 Data Collection\",\"name\":\"Patient Consent \u0026 Data Collection\",\"description\":\"Understand how Fasten Connect guides patients through consent and how your systems collect the authorized data.\",\"url\":\"https://docs.connect.fastenhealth.com/guides/patient-consent-data-collection\",\"mainEntityOfPage\":{\"@id\":\"https://docs.connect.fastenhealth.com/guides/patient-consent-data-collection#webpage\"},\"dateModified\":\"2026-02-08T14:20:42.501Z\",\"publisher\":{\"@id\":\"https://docs.connect.fastenhealth.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.connect.fastenhealth.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Fasten Connect\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Fasten Connect","nav":{"global":null,"tabs":[{"tab":"Documentation","anchors":[{"anchor":"Documentation","icon":"book-open-cover","groups":[{"group":"Get Started","pages":[{"title":"Home","href":"/home"},{"title":"Quickstart","href":"/quickstart"},{"title":"Changelog","href":"/changelog"}]},{"group":"Support","pages":[{"title":"Support","href":"/support"},{"title":"FAQs","description":"Frequently Asked Questions","href":"/faqs"}]},{"group":"Guides","pages":[{"title":"Patient Consent \u0026 Data Collection","href":"/guides/patient-consent-data-collection"},{"title":"Webhook Debugging \u0026 Simulator","description":null,"href":"/guides/webhook-debugging-simulator"},{"title":"Caching Strategy","href":"/guides/caching-strategy"},{"title":"Test Data Sources","href":"/guides/test-data"},{"title":"Contribute Catalog Updates","href":"/guides/catalog-editor"},{"title":"Display \u0026 Component Library","href":"/guides/display-component-library"},{"title":"Test Patient Credentials","href":"/guides/test-patient-credentials"},{"title":"TEFCA IAS Developer Guide","href":"/guides/tefca-ias"}]}]},{"anchor":"Blog","icon":"newspaper","href":"https://blog.fastenhealth.com"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]},{"tab":"Fasten Stitch SDK","versions":[{"version":"latest","anchors":[{"anchor":"Overview","pages":[{"title":"Introduction","href":"/stitch/v5/introduction"}]},{"anchor":"Web Component SDK","pages":[{"title":"Quickstart","href":"/stitch/v5/sdks/web-component/quickstart"},{"title":"Reference","href":"/stitch/v5/sdks/web-component/reference"}]},{"anchor":"React SDK","pages":[{"title":"Quickstart","href":"/stitch/v5/sdks/react/quickstart"},{"title":"Reference","href":"/stitch/v5/sdks/react/reference"}]},{"anchor":"React Native SDK","pages":[{"title":"Quickstart","href":"/stitch/v5/sdks/react-native/quickstart"},{"title":"Reference","href":"/stitch/v5/sdks/react-native/reference"}]},{"anchor":"Client Events","icon":"envelope","pages":[{"title":"Client Events","href":"/stitch/v5/client-events"}]},{"anchor":"Branding","icon":"stamp","pages":[{"title":"Branding","href":"/guides/branding"}]}]},{"version":"v4","pages":[{"title":"v4","href":"/stitch/v4/introduction"}]},{"version":"v3","pages":[{"title":"v3","href":"/stitch/v3/introduction"}]},{"version":"v1","pages":[{"title":"v1","href":"/stitch/v1/introduction"}]}]},{"tab":"Webhooks \u0026 Events","pages":[{"title":"Webhooks \u0026 Events","href":"/webhooks/introduction"}]},{"tab":"Identity Proofing","hidden":true,"pages":[{"title":"Identity Proofing","href":"/identity-proofing/introduction"}]}]},"basePath":"","title":"Patient Consent \u0026 Data Collection - Fasten Connect","buildId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","deploymentId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","dynamics":["10e4515597","a74be98ba7"],"chunks":["BannerMarkdown-CXEEkV6J.js","dist-lvhuD9Du.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","clsx-D1Z-ELXV.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","zoom-image-lightbox-DL4wrF0w.js","lightbox-handle-r17bVUz3.js"]}