Create a new letter from an existing output by branching into another AI assistant
Branching lets you take a finished letter and generate a new draft with a different AI assistant, without starting the record from scratch. The same patient is kept. The original letter stays where it is.Use this when one consultation should produce more than one document type — for example a clinic letter and a GP letter, or a summary and a referral.
1
Open a letter that is no longer a Clinical Draft
Open the record on the letter page. Branch lives in the output toolbar, next to Copy and Export.Branch is available only after the output leaves Clinical Draft — typically after you press Clinically approve. While the letter is still a draft, the more-options menu (and Branch) is hidden.
Letter page after clinical approval. The more-options menu (three dots) is in the output toolbar.
2
Open more options and choose Branch
In the output toolbar, press the three-dot menu, then Branch.
More-options menu on the letter page, with Copy and Branch.
3
Choose an assistant from Branching options
A BRANCH INTO list opens with the other assistants for this clinic. Select the assistant you want the new letter to use. Hover an assistant to see that it opens as a new draft.You cannot choose:
The same assistant as the letter you are viewing (it appears greyed out).
The assistant this letter was branched from, if you are already on a branched letter.
Branching options: BRANCH INTO list of assistants. The selected assistant opens as a new draft.
4
Review the new draft
MedWrite creates a new record and generates the letter with the assistant you chose. The original record is unchanged.On the new letter page you will see:
Patient details – The same patient as the original record.
AI Assistant Input – The text of the original letter, used as the input for the new assistant.
Branched from – A link back to the original record, with the original assistant name and the date.
Record output – The new draft, ready to review, edit, and clinically approve.
Audio and reference files from the original record are not copied. Add them again on the new draft if you need them.
New draft after branching, with the Branched from link above AI Assistant Input.
Choose the assistant that matches the extra document you need. The new letter follows that assistant’s template and style, using the original letter as context.
If you do not see Branch, check the following:
The output is no longer a Clinical Draft (clinically approve it first).
Your role can create records with at least one other assistant for this clinic.
Medical admin and Critical care nurse roles cannot branch.
The letter is not empty, and a patient name is filled in.
You are on the web letter page. Branching is not available in the mobile app.
What branching does
When you branch, MedWrite does four things:
Creates a new record as a Clinical Draft in the assistant you selected.
Keeps the patient (name, ID, and date of birth) from the original record.
Uses the original letter text as the input for the new assistant.
Links the two records so you can open the original from Branched from.
The original letter is not edited, replaced, or deleted. You can keep reviewing, exporting, or sending it as usual.
Next steps
Review Record
Review, edit, and refine the new draft on the letter page.
Clinical Approval
Clinically approve the branched letter before sharing or sending.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"MedWrite.ai","colors":{"primary":"#169c97","light":"#2BBEB8","dark":"#117A76"},"logo":{"light":"https://mintcdn.com/medwriteai/3s0IbxTNiFnzwJpB/images/logo1.png?fit=max\u0026auto=format\u0026n=3s0IbxTNiFnzwJpB\u0026q=85\u0026s=6fab4035583ab6917e6d9bb804d3941b","dark":"https://mintcdn.com/medwriteai/3s0IbxTNiFnzwJpB/images/logo1.png?fit=max\u0026auto=format\u0026n=3s0IbxTNiFnzwJpB\u0026q=85\u0026s=6fab4035583ab6917e6d9bb804d3941b","href":"https://medwrite.ai/"},"favicon":"https://mintcdn.com/medwriteai/fumn6lG29vGR3bLm/images/website.png?fit=max\u0026auto=format\u0026n=fumn6lG29vGR3bLm\u0026q=85\u0026s=3ead4bf71cbc57ac6b65a0351206a42c","navbar":{"links":[{"href":"https://medwrite.ai/contact","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.medwrite.ai/dashboard"}},"footer":{"socials":{"website":"https://medwrite.ai/","linkedin":"https://linkedin.com/company/medwrite-ai"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Blog","icon":"newspaper","href":"https://medwrite.ai/news"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"medwriteai","hasAudioNarration":false,"actualSubdomain":"medwriteai","customDomains":["docs.medwrite.ai"],"gitSource":{"type":"github","owner":"sidebotai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6afc36d89a75d401a4040af0","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"Guides","count":46},{"language":"default","tag":"Updates","count":10},{"language":"default","tag":"API reference","count":9},{"language":"default","tag":"Output \u0026 Letters","count":7},{"language":"default","tag":"Mobile Application","count":7},{"language":"default","tag":"Organization Management","count":6},{"language":"default","tag":"AI Assistants","count":5},{"language":"default","tag":"Dashboard","count":5},{"language":"default","tag":"Get Records","count":4},{"language":"default","tag":"Authentication","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#navbar img,nav img[alt],[class*=\"navbar\"] img,[class*=\"logo\"] img{max-height:42px!important;height:42px!important;width:auto!important;object-fit:contain}footer a[href*=\"mintlify\"],footer *:has(>a[href*=\"mintlify\"]){display:none!important}#navbar a[href*=\"app.medwrite.ai/dashboard\"],nav a[href*=\"app.medwrite.ai/dashboard\"]{display:none!important}.store-buttons{display:flex;justify-content:center;gap:0.9rem;flex-wrap:wrap;margin-top:1.25rem;margin-bottom:1.5rem}.store-button{display:inline-flex;align-items:center;justify-content:center;gap:0.4rem;min-width:200px;height:60px;padding:0.35rem 0.65rem;box-sizing:border-box;border-radius:0.9rem;background:linear-gradient(180deg, #171717 0%, #000000 100%);border:1px solid #2f2f2f;box-shadow:0 4px 12px rgba(0, 0, 0, 0.25);color:#ffffff;text-decoration:none}.store-button-icon{width:32px;height:32px;object-fit:contain;flex-shrink:0}.store-button-text{display:flex;flex-direction:column;align-items:start;text-align:center;line-height:1;margin:0}.store-button-kicker{font-size:0.65rem;letter-spacing:0.03em;font-weight:300}.store-button-title{font-size:1.2rem;font-weight:700}.download-app-frame-image{border-radius:0.5rem;max-width:100%}"}]}
{"page":{"pagePath":"untitled-page","slug":"/untitled-page","pageMetadata":{"title":"Branching","description":"Create a new letter from an existing output by branching into another AI assistant","icon":"code-branch","href":"/untitled-page"},"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: \"Create a new letter from an existing output by branching into another AI assistant\"\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={li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Card,Columns,Frame,Heading,Note,OptimizedImage,Step,Steps,Tip}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!Columns)_missingMdxReference(`Columns`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Branching lets you take a finished letter and generate a `,_jsx(_components.strong,{children:`new draft`}),` with a different AI assistant, without starting the record from scratch. The same patient is kept. The original letter stays where it is.`]}),`\n`,_jsx(_components.p,{children:`Use this when one consultation should produce more than one document type — for example a clinic letter and a GP letter, or a summary and a referral.`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Open a letter that is no longer a Clinical Draft`,children:[_jsx(_components.p,{children:`Open the record on the letter page. Branch lives in the output toolbar, next to Copy and Export.`}),_jsxs(_components.p,{children:[`Branch is available only after the output leaves `,_jsx(_components.strong,{children:`Clinical Draft`}),` — typically after you press `,_jsx(_components.strong,{children:`Clinically approve`}),`. While the letter is still a draft, the more-options menu (and Branch) is hidden.`]}),_jsx(Frame,{caption:`Letter page after clinical approval. The more-options menu (three dots) is in the output toolbar.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/medwriteai/BzS_Tksx7GfS2Dso/images/image-(14).png?fit=max\u0026auto=format\u0026n=BzS_Tksx7GfS2Dso\u0026q=85\u0026s=d18cb5917b11dd23df7ff9ae58a2d87d`,alt:`Image (14)`,style:{borderRadius:`0.5rem`},title:`Image (14)`,\"data-og-width\":`1488`,width:`1488`,\"data-og-height\":`822`,height:`822`,\"data-path\":`images/image-(14).png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/medwriteai/BzS_Tksx7GfS2Dso/images/image-(14).png?w=280\u0026fit=max\u0026auto=format\u0026n=BzS_Tksx7GfS2Dso\u0026q=85\u0026s=a9eb7afaecd90836aea229bc8324a470 280w, https://mintcdn.com/medwriteai/BzS_Tksx7GfS2Dso/images/image-(14).png?w=560\u0026fit=max\u0026auto=format\u0026n=BzS_Tksx7GfS2Dso\u0026q=85\u0026s=a683969c55b55c28d8c70b8b1f01f020 560w, https://mintcdn.com/medwriteai/BzS_Tksx7GfS2Dso/images/image-(14).png?w=840\u0026fit=max\u0026auto=format\u0026n=BzS_Tksx7GfS2Dso\u0026q=85\u0026s=89ab8c553f4f1ee8e7010f0d9a2bf617 840w, https://mintcdn.com/medwriteai/BzS_Tksx7GfS2Dso/images/image-(14).png?w=1100\u0026fit=max\u0026auto=format\u0026n=BzS_Tksx7GfS2Dso\u0026q=85\u0026s=745af9ef8ab711868533d5233b2a3272 1100w, https://mintcdn.com/medwriteai/BzS_Tksx7GfS2Dso/images/image-(14).png?w=1650\u0026fit=max\u0026auto=format\u0026n=BzS_Tksx7GfS2Dso\u0026q=85\u0026s=28d44b723968f644fe70845f6b207356 1650w, https://mintcdn.com/medwriteai/BzS_Tksx7GfS2Dso/images/image-(14).png?w=2500\u0026fit=max\u0026auto=format\u0026n=BzS_Tksx7GfS2Dso\u0026q=85\u0026s=43fccf80bf008ec932ce63685909ac76 2500w`})})]}),_jsxs(Step,{title:`Open more options and choose Branch`,children:[_jsxs(_components.p,{children:[`In the output toolbar, press the `,_jsx(_components.strong,{children:`three-dot`}),` menu, then `,_jsx(_components.strong,{children:`Branch`}),`.`]}),_jsx(Frame,{caption:`More-options menu on the letter page, with Copy and Branch.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/medwriteai/_al075lHfve34oUu/images/image-(16).png?fit=max\u0026auto=format\u0026n=_al075lHfve34oUu\u0026q=85\u0026s=9319c6f05cedafd936703387cd4d1ea5`,alt:`Image (16)`,style:{borderRadius:`0.5rem`},title:`Image (16)`,\"data-og-width\":`1003`,width:`1003`,\"data-og-height\":`322`,height:`322`,\"data-path\":`images/image-(16).png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/medwriteai/_al075lHfve34oUu/images/image-(16).png?w=280\u0026fit=max\u0026auto=format\u0026n=_al075lHfve34oUu\u0026q=85\u0026s=5f1370acc57e1229cd38ac41f51aafed 280w, https://mintcdn.com/medwriteai/_al075lHfve34oUu/images/image-(16).png?w=560\u0026fit=max\u0026auto=format\u0026n=_al075lHfve34oUu\u0026q=85\u0026s=7cff58d81ea8b6969238e9ed02da3cb3 560w, https://mintcdn.com/medwriteai/_al075lHfve34oUu/images/image-(16).png?w=840\u0026fit=max\u0026auto=format\u0026n=_al075lHfve34oUu\u0026q=85\u0026s=0826fd1e8825098bf2f3516808bd357d 840w, https://mintcdn.com/medwriteai/_al075lHfve34oUu/images/image-(16).png?w=1100\u0026fit=max\u0026auto=format\u0026n=_al075lHfve34oUu\u0026q=85\u0026s=0b4e02327cbe219247633de5bcf2fce6 1100w, https://mintcdn.com/medwriteai/_al075lHfve34oUu/images/image-(16).png?w=1650\u0026fit=max\u0026auto=format\u0026n=_al075lHfve34oUu\u0026q=85\u0026s=07bf2bbd1f80980f1178a3fa0a07603d 1650w, https://mintcdn.com/medwriteai/_al075lHfve34oUu/images/image-(16).png?w=2500\u0026fit=max\u0026auto=format\u0026n=_al075lHfve34oUu\u0026q=85\u0026s=b0061ef40f324cc808c3fa49ea5de225 2500w`})})]}),_jsxs(Step,{title:`Choose an assistant from Branching options`,children:[_jsxs(_components.p,{children:[`A `,_jsx(_components.strong,{children:`BRANCH INTO`}),` list opens with the other assistants for this clinic. Select the assistant you want the new letter to use. Hover an assistant to see that it `,_jsx(_components.strong,{children:`opens as a new draft`}),`.`]}),_jsx(_components.p,{children:`You cannot choose:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`The `,_jsx(_components.strong,{children:`same assistant`}),` as the letter you are viewing (it appears greyed out).`]}),`\n`,_jsxs(_components.li,{children:[`The assistant this letter was `,_jsx(_components.strong,{children:`branched from`}),`, if you are already on a branched letter.`]}),`\n`]}),_jsx(Frame,{caption:`Branching options: BRANCH INTO list of assistants. The selected assistant opens as a new draft.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/medwriteai/_al075lHfve34oUu/images/image-(17).png?fit=max\u0026auto=format\u0026n=_al075lHfve34oUu\u0026q=85\u0026s=e3b23c9a5aacd07cf837e25ff7ef29dc`,alt:`Image (17)`,style:{borderRadius:`0.5rem`},title:`Image (17)`,\"data-og-width\":`632`,width:`632`,\"data-og-height\":`297`,height:`297`,\"data-path\":`images/image-(17).png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/medwriteai/_al075lHfve34oUu/images/image-(17).png?w=280\u0026fit=max\u0026auto=format\u0026n=_al075lHfve34oUu\u0026q=85\u0026s=e855ea207988199bd88dd6c002ae318a 280w, https://mintcdn.com/medwriteai/_al075lHfve34oUu/images/image-(17).png?w=560\u0026fit=max\u0026auto=format\u0026n=_al075lHfve34oUu\u0026q=85\u0026s=4c917a823b3cefa43a76e41635ddf18b 560w, https://mintcdn.com/medwriteai/_al075lHfve34oUu/images/image-(17).png?w=840\u0026fit=max\u0026auto=format\u0026n=_al075lHfve34oUu\u0026q=85\u0026s=4f328c451c76f1ac04aa5690a9cc7900 840w, https://mintcdn.com/medwriteai/_al075lHfve34oUu/images/image-(17).png?w=1100\u0026fit=max\u0026auto=format\u0026n=_al075lHfve34oUu\u0026q=85\u0026s=72ee06b2ef579cd2f87c7383e4e1b684 1100w, https://mintcdn.com/medwriteai/_al075lHfve34oUu/images/image-(17).png?w=1650\u0026fit=max\u0026auto=format\u0026n=_al075lHfve34oUu\u0026q=85\u0026s=0a080ee3c40e72bae8fc1731417d1fc3 1650w, https://mintcdn.com/medwriteai/_al075lHfve34oUu/images/image-(17).png?w=2500\u0026fit=max\u0026auto=format\u0026n=_al075lHfve34oUu\u0026q=85\u0026s=30ece008810d32000a7f0e4078495c14 2500w`})})]}),_jsxs(Step,{title:`Review the new draft`,children:[_jsxs(_components.p,{children:[`MedWrite creates a `,_jsx(_components.strong,{children:`new record`}),` and generates the letter with the assistant you chose. The original record is unchanged.`]}),_jsx(_components.p,{children:`On the new letter page you will see:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Patient details`}),` – The same patient as the original record.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`AI Assistant Input`}),` – The text of the original letter, used as the input for the new assistant.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Branched from`}),` – A link back to the original record, with the original assistant name and the date.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Record output`}),` – The new draft, ready to review, edit, and clinically approve.`]}),`\n`]}),_jsxs(_components.p,{children:[`Audio and reference files from the original record are `,_jsx(_components.strong,{children:`not`}),` copied. Add them again on the new draft if you need them.`]}),_jsx(Frame,{caption:`New draft after branching, with the Branched from link above AI Assistant Input.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/medwriteai/_al075lHfve34oUu/images/image-(15).png?fit=max\u0026auto=format\u0026n=_al075lHfve34oUu\u0026q=85\u0026s=28b51f36360920a13cfb09b9509377cf`,alt:`Image (15)`,style:{borderRadius:`0.5rem`},title:`Image (15)`,\"data-og-width\":`1525`,width:`1525`,\"data-og-height\":`822`,height:`822`,\"data-path\":`images/image-(15).png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/medwriteai/_al075lHfve34oUu/images/image-(15).png?w=280\u0026fit=max\u0026auto=format\u0026n=_al075lHfve34oUu\u0026q=85\u0026s=c0d9d9af1814eb3acd59e7921f306e76 280w, https://mintcdn.com/medwriteai/_al075lHfve34oUu/images/image-(15).png?w=560\u0026fit=max\u0026auto=format\u0026n=_al075lHfve34oUu\u0026q=85\u0026s=bdbca1cd3e5698ff581c121636a36aae 560w, https://mintcdn.com/medwriteai/_al075lHfve34oUu/images/image-(15).png?w=840\u0026fit=max\u0026auto=format\u0026n=_al075lHfve34oUu\u0026q=85\u0026s=494450e0f4420434f485784fcd2ccffc 840w, https://mintcdn.com/medwriteai/_al075lHfve34oUu/images/image-(15).png?w=1100\u0026fit=max\u0026auto=format\u0026n=_al075lHfve34oUu\u0026q=85\u0026s=fd0f0fb56f215afdca09f21acd040c86 1100w, https://mintcdn.com/medwriteai/_al075lHfve34oUu/images/image-(15).png?w=1650\u0026fit=max\u0026auto=format\u0026n=_al075lHfve34oUu\u0026q=85\u0026s=3f4bd4d9c58497bdee648372f83aaba4 1650w, https://mintcdn.com/medwriteai/_al075lHfve34oUu/images/image-(15).png?w=2500\u0026fit=max\u0026auto=format\u0026n=_al075lHfve34oUu\u0026q=85\u0026s=4c31d28bffe866ca2e90b1c3003388a6 2500w`})})]})]}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Choose the assistant that matches the extra document you need. The new letter follows that assistant’s template and style, using the original letter as context.`})}),`\n`,_jsxs(Note,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`If you do not see Branch`}),`, check the following:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`The output is no longer a `,_jsx(_components.strong,{children:`Clinical Draft`}),` (clinically approve it first).`]}),`\n`,_jsxs(_components.li,{children:[`Your role can `,_jsx(_components.strong,{children:`create records`}),` with at least one other assistant for this clinic.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Medical admin`}),` and `,_jsx(_components.strong,{children:`Critical care nurse`}),` roles cannot branch.`]}),`\n`,_jsxs(_components.li,{children:[`The letter is not empty, and a `,_jsx(_components.strong,{children:`patient name`}),` is filled in.`]}),`\n`,_jsxs(_components.li,{children:[`You are on the `,_jsx(_components.strong,{children:`web`}),` letter page. Branching is not available in the mobile app.`]}),`\n`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`what-branching-does`,children:`What branching does`}),`\n`,_jsxs(_components.p,{children:[`When you branch, MedWrite does `,_jsx(_components.strong,{children:`four`}),` things:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Creates a new record`}),` as a Clinical Draft in the assistant you selected.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Keeps the patient`}),` (name, ID, and date of birth) from the original record.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Uses the original letter text`}),` as the input for the new assistant.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Links the two records`}),` so you can open the original from `,_jsx(_components.strong,{children:`Branched from`}),`.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`The original letter is not edited, replaced, or deleted. You can keep reviewing, exporting, or sending it as usual.`}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next steps`}),`\n`,_jsxs(Columns,{cols:2,children:[_jsx(Card,{title:`Review Record`,icon:`file-lines`,href:`/essentials/review-record`,children:_jsx(_components.p,{children:`Review, edit, and refine the new draft on the letter page.`})}),_jsx(Card,{title:`Clinical Approval`,icon:`badge-check`,href:`/essentials/clinical-approval`,children:_jsx(_components.p,{children:`Clinically approve the branched letter before sharing or sending.`})})]})]})}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":"Branching","description":"Create a new letter from an existing output by branching into another AI assistant","icon":"code-branch","href":"/untitled-page"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What branching does","slug":"what-branching-does","depth":2,"children":[]},{"title":"Next steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"medwriteai","siteName":"MedWrite.ai","title":"Branching - MedWrite.ai","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-05T07:01:24.167Z","originalFileLocation":"untitled-page.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=\"Create a new letter from an existing output by branching into another AI assistant\">\u003cmeta data-mint-head name=\"application-name\" content=\"MedWrite.ai\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/medwriteai/6jKHXgiRYAL6FtSI/_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/medwriteai/6jKHXgiRYAL6FtSI/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/medwriteai/6jKHXgiRYAL6FtSI/_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/medwriteai/6jKHXgiRYAL6FtSI/_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/medwriteai/6jKHXgiRYAL6FtSI/_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/medwriteai/6jKHXgiRYAL6FtSI/_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/medwriteai/6jKHXgiRYAL6FtSI/_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/medwriteai/6jKHXgiRYAL6FtSI/_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/medwriteai/6jKHXgiRYAL6FtSI/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Branching - MedWrite.ai\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a new letter from an existing output by branching into another AI assistant\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"MedWrite.ai\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.medwrite.ai/untitled-page\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://medwriteai.mintlify.site/_mintlify/api/og/v2?division=Output+%26+Letters\u0026amp;title=Branching\u0026amp;description=Create+a+new+letter+from+an+existing+output+by+branching+into+another+AI+assistant\u0026amp;theme=9987545c8553b1d1c37a0c17\u0026amp;signature=42febdd0c0ce41c4f00832aa28526aac80a56827a5bf5135580246f8f0ed7426\">\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=\"Branching - MedWrite.ai\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a new letter from an existing output by branching into another AI assistant\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://medwriteai.mintlify.site/_mintlify/api/og/v2?division=Output+%26+Letters\u0026amp;title=Branching\u0026amp;description=Create+a+new+letter+from+an+existing+output+by+branching+into+another+AI+assistant\u0026amp;theme=9987545c8553b1d1c37a0c17\u0026amp;signature=42febdd0c0ce41c4f00832aa28526aac80a56827a5bf5135580246f8f0ed7426\">\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/medwriteai/6jKHXgiRYAL6FtSI/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"MedWrite.ai\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#169c97\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.medwrite.ai/untitled-page\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/untitled-page.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.medwrite.ai/#organization\",\"name\":\"MedWrite.ai\",\"url\":\"https://docs.medwrite.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/medwriteai/3s0IbxTNiFnzwJpB/images/logo1.png?fit=max\u0026auto=format\u0026n=3s0IbxTNiFnzwJpB\u0026q=85\u0026s=6fab4035583ab6917e6d9bb804d3941b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.medwrite.ai#website\",\"name\":\"MedWrite.ai\",\"url\":\"https://docs.medwrite.ai\",\"publisher\":{\"@id\":\"https://docs.medwrite.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.medwrite.ai/untitled-page#webpage\",\"url\":\"https://docs.medwrite.ai/untitled-page\",\"name\":\"Branching\",\"description\":\"Create a new letter from an existing output by branching into another AI assistant\",\"dateModified\":\"2026-10-05T07:01:24.167Z\",\"isPartOf\":{\"@id\":\"https://docs.medwrite.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.medwrite.ai/untitled-page#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.medwrite.ai/untitled-page#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Output \u0026 Letters\",\"item\":\"https://docs.medwrite.ai/essentials/create-record\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Branching\",\"item\":\"https://docs.medwrite.ai/untitled-page\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.medwrite.ai/untitled-page#article\",\"headline\":\"Branching\",\"name\":\"Branching\",\"description\":\"Create a new letter from an existing output by branching into another AI assistant\",\"url\":\"https://docs.medwrite.ai/untitled-page\",\"mainEntityOfPage\":{\"@id\":\"https://docs.medwrite.ai/untitled-page#webpage\"},\"dateModified\":\"2026-10-05T07:01:24.167Z\",\"publisher\":{\"@id\":\"https://docs.medwrite.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.medwrite.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"MedWrite.ai\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"MedWrite.ai\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/untitled-page.md","siteName":"MedWrite.ai","nav":{"global":{"anchors":[{"anchor":"Blog","icon":"newspaper","href":"https://medwrite.ai/news"}]},"tabs":[{"tab":"Guides","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/introduction"},{"title":"Register","icon":"user-plus","href":"/register"},{"title":"Login","icon":"right-to-bracket","href":"/login"}]},{"group":"Output \u0026 Letters","pages":[{"title":"Create Record","icon":"file-plus","href":"/essentials/create-record"},{"title":"Review Record","icon":"file-check","href":"/essentials/review-record"},{"title":"Clinical Approval","description":"Review and clinically approve letters before sharing or sending","icon":"badge-check","href":"/essentials/clinical-approval"},{"title":"Branching","icon":"code-branch","href":"/untitled-page"},{"title":"Mark as Complete","description":"Mark a record or letter as complete when you have finished with it","icon":"check","href":"/essentials/mark-as-complete"},{"title":"Send Email","icon":"mailbox","href":"/essentials/send-email"},{"title":"Dashboard Filters","icon":"bars-filter","href":"/clinic-consultant-filters"}]},{"group":"Organization Management","pages":[{"title":"Create Group","icon":"users-medical","href":"/essentials/create-group"},{"title":"Create Clinic","icon":"building-circle-arrow-right","href":"/essentials/create-clinic"},{"title":"Workflow Status Tabs","icon":"layer-group","href":"/workflow-status-tabs"},{"title":"Manage Patients","icon":"clipboard-list-check","href":"/essentials/manage-patients"},{"title":"Contact Directory","icon":"address-book","href":"/essentials/address-lookup"},{"title":"Assign User Roles","icon":"clipboard-user","href":"/essentials/assign-user-role"}]},{"group":"Documents","pages":[{"title":"Manage Templates","icon":"table-layout","href":"/essentials/manage-templates"},{"title":"Add PDF Template","icon":"file-pdf","href":"/essentials/add-pdf-template"},{"title":"Add Word Template","icon":"file-word","href":"/essentials/add-word-template"}]},{"group":"AI Assistants","pages":[{"title":"Create Assistant","icon":"robot","hidden":true,"href":"/essentials/create-assistant"},{"icon":"user-robot","title":"AI Workflow Setup","href":"/essentials/AI-workflow-setup"},{"title":"Manage Assistants","icon":"user-robot-xmarks","href":"/essentials/manage-assistants"},{"title":"Update Assistant","icon":"user-robot","href":"/essentials/update-assistant"},{"title":"Assistant Library","icon":"user-robot","href":"/essentials/assistant-library"},{"title":"AI Builder","icon":"wand-magic-sparkles","href":"/ai-builder"}]},{"group":"Dashboard","pages":[{"title":"User Profile","icon":"circle-user","href":"/user-profile-account-settings-profile-output-input-preference-account"},{"title":"New Records","icon":"list-dropdown","href":"/new-records"},{"title":"Search Patient","icon":"list-dropdown","href":"/search-patient"},{"title":"Date Filter","icon":"calendar","href":"/date-filter"},{"title":"Patient List Table","icon":"table-list","href":"/patient-list-table"}]},{"group":"Mobile Application","pages":[{"title":"Download the App","icon":"download","href":"/essentials/download-app"},{"title":"Activate Your Account","icon":"user-check","href":"/essentials/activate-account"},{"title":"Record Consultation","icon":"record-vinyl","href":"/essentials/record-consultation"},{"title":"Approve Records","icon":"badge-check","href":"/essentials/approve-records"},{"title":"Review Records","icon":"clipboard-list-check","href":"/essentials/review-records"},{"title":"Search Records","icon":"magnifying-glass","href":"/essentials/search-records"},{"title":"Review Later","icon":"calendar-clock","href":"/essentials/review-later"}]},{"group":"Updates","pages":[{"title":"Product Roadmap","icon":"sitemap","hidden":true,"href":"/essentials/product-roadmap"},{"title":"#Issue 6 - June Changelog","href":"/essentials/june-2026"},{"title":"#Issue 5 - May Changelog","href":"/may-2026"},{"title":"#Issue 4 - Apr Changelog","href":"/essentials/april-2026"},{"title":"#Issue 3 - Mar Changelog","href":"/essentials/march-2026"},{"title":"#Issue 2 - Feb Changelog","href":"/essentials/february-2026"},{"title":"#Issue 1 - Jan Changelog","href":"/essentials/january-2026"},{"title":"#Issue 7 - July Changelog","href":"/essentials/july-2026"},{"title":"#Issue 8 - August Changelog","href":"/essentials/august-2026"},{"title":"#Issue 9 - September Changelog","href":"/essentials/september-2026"},{"title":"#Issue 10 - October Changelog","href":"/essentials/october-2026"}]},{"group":"Examples","hidden":true,"pages":[{"title":"Markdown syntax","icon":"text-size","href":"/essentials/markdown"},{"title":"Code blocks","icon":"code","href":"/essentials/code"},{"title":"Images and embeds","icon":"image","href":"/essentials/images"},{"title":"Reusable snippets","icon":"recycle","href":"/essentials/reusable-snippets"}]}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/api-reference/introduction"}]}]},"basePath":"","title":"Branching - MedWrite.ai","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-D0FT0qQs.js","DynamicMarkdown-CQM9Bhbv.js","zoom-image-lightbox-BQ4tbj_9.js","lightbox-handle-r17bVUz3.js"]}