{
"code": 500,
"message": "internal server error"
}
Updated:
You can now send Embedded Form templates and prior section text on each section with sections[].precharted_content. Read more in Embedded Forms.
You can now provide EMR context and Medication orders details in the Ambient Session Context API.
When you use E/M Coding with an ambient session, you can send patient.patient_type, patient.mrn, patient.insurance, provider first_name / last_name / npi, and visit date_of_service / total_time_minutes / csn.
Use this endpoint to provide or update the for an .Context such as specialty, note sections, diagnoses, EMR details, and Medication orders helps Suki generate a more accurate and relevant .
Send the full visit context with this POST after you create the session, and finish before you end the session. POST replaces the entire context. To change only some fields later, use Update ambient session context API.
details (for example specialty and role). For E/M Coding, also send first_name, last_name, and npi.
Patient and visit information. For E/M Coding, include patient_type (NEW_PATIENT / ESTABLISHED_PATIENT), mrn, insurance.coverages[], visit date_of_service, total_time_minutes, and csn when available.
A list of codes for the clinical sections you want to generate. If you omit sections, Suki uses the Default 13 LOINC sections.
Existing with their associated medical codes. For E/M Coding with an ambient session, Suki maps ICD10 and IMO codes.
EMR context, including target EMR, when you need EMR-specific behavior (for example order submission rules).
Medication orders, including structured medication orders for active medications and related metadata.
Prior section text and Embedded Form templates on each section through sections[].precharted_content.
To generate E/M codes with the ambient session, pass artifacts: ["EM_CODES"] on create, then seed the fields above. See Add E/M codes to an ambient visit.
For more information about the context, refer to the PBC and Specialty section.
For more information about Medication orders, refer to the Medication orders guide.
Use the Codes section to provide additional context for a session, such as medical codes for a diagnosis.
Do not include HCC codes or note personalization fields such as verbosity and section_format in session context.
HCC codes are output-only and are returned in structured note data. Configure note personalization through User preferences. Refer to Diagnosis codes for HCC code handling and Note Personalization guide for personalization best practices.
To ensure your requests succeed, follow these validation rules when sending data to the API:
Field validation and constraints
Character Limits: Ensure the chief_complaint and reason_for_visit fields do not exceed 255 characters.
Enumerated Values: Use only the predefined string values for visit_type, encounter_type, and provider_role.
EMR Selection: You must set emr.target_emr to one of the following: ATHENA, EPIC, or CERNER.
Medication order requirements
When you send orders.medication_orders.values, include the following required properties for each object:
Drug Information: Provide both the drug_name and a medication_code.
Coding Systems: For medication_code, specify the code and set the type to RXCUI or NDC.
Order Status: Set the status to ACTIVE, DISCONTINUED, or REFILLED.
Metadata: Include the metadata object with a required origin of EMR or SUKI_AMBIENT.
If you set origin to EMR, you must also set metadata.encounter_relation to either CURRENT_ENCOUNTER or PRIOR_ENCOUNTER.
Diagnosis links:To link a diagnosis to an order, ensure the codes in linked_diagnosis_codes match a diagnosis already provided in the diagnoses section.
Use the same coding system for both to allow the service to validate the link.
Precharted content and Embedded Forms
Each item in sections can carry a precharted_content list. Send type: "string" with text for prior section text, or type: "structured" with template_id and fields for an Embedded Form template.
Send Embedded Form templates after you create the session and finish seed or update context before you end the session. You can seed or update after streaming has started, including just before you end. For field rules and a full example, refer to Seed and read Embedded Forms.
{
"code": 500,
"message": "internal server error"
}
{"docsConfig":{"theme":"sequoia","$schema":"https://mintlify.com/docs.json","name":"Suki","colors":{"primary":"#6F5410","light":"#FFE148","dark":"#494949"},"logo":{"light":"https://mintcdn.com/suki-1e08f176/Ty1qetPx27FuOOjL/logo/nav-suki-dark.svg?fit=max\u0026auto=format\u0026n=Ty1qetPx27FuOOjL\u0026q=85\u0026s=5971f67d212fc42c3fb3cf10f0d453e7","dark":"https://mintcdn.com/suki-1e08f176/Ty1qetPx27FuOOjL/logo/nav-suki-light.svg?fit=max\u0026auto=format\u0026n=Ty1qetPx27FuOOjL\u0026q=85\u0026s=936e7fe54c056454e09bfd16280a3153","href":"/documentation/home"},"favicon":"https://mintcdn.com/suki-1e08f176/suQ4tYMQJoqGO4mm/new-favicon.ico?fit=max\u0026auto=format\u0026n=suQ4tYMQJoqGO4mm\u0026q=85\u0026s=0f501a8c0c628b548ac494292e0d91ea","api":{"playground":{"display":"interactive"},"examples":{"defaults":"all"}},"navbar":{"links":[]},"seo":{"metatags":{"og:type":"website","og:site_name":"Suki Developer Documentation","twitter:card":"summary_large_image","robots":"index, follow"},"indexing":"all"},"fonts":{"heading":{"family":"General Grotesque","weight":600,"source":"fonts/GeneralGrotesque-Demi.woff2","format":"woff2"},"body":{"family":"ABC Monument Grotesk","weight":400,"source":"fonts/ABCMonumentGrotesk-Regular.woff2","format":"woff2"}},"styling":{"codeblocks":{"theme":{"light":"one-light","dark":"material-theme-darker"}},"latex":false},"integrations":{"gtm":{"tagId":"GTM-5C5RJLJ"}},"banner":{"content":"**Get E/M codes recommendations to fast-track your RCM workflows**. [Learn more](/documentation/concepts/em-coding/overview)","dismissible":true},"contextual":{"options":["copy","view","perplexity","grok","cursor","devin","aistudio","windsurf","download-spec"],"display":"toc"},"thumbnails":{"appearance":"light","background":"https://mintcdn.com/suki-1e08f176/Ty1qetPx27FuOOjL/og-image/og-card-bg.png?fit=max\u0026auto=format\u0026n=Ty1qetPx27FuOOjL\u0026q=85\u0026s=a3642037c8c93d0a37a953467204d249"},"metadata":{"timestamp":true},"variables":{"releaseNotesSubscribeSubmitUrl":"https://script.google.com/macros/s/AKfycbxv2tdIdWMOBIUHcsYOnA0nfm9SFBamNLy-6lVJv9FHusbmCmbXes5glg8lOt6Jl9kv/exec"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"suki-1e08f176","hasAudioNarration":true,"actualSubdomain":"suki-1e08f176","customDomains":["developer.suki.ai"],"gitSource":{"type":"github","owner":"learningmotors","repo":"platform-documentation","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0eef607b641245128aa7b5","clientVersion":"0.0.4389","searchFilterCounts":[{"language":"default","tag":"SDKs","count":195},{"language":"default","tag":"Concepts \u0026 Feature Guides","count":164},{"language":"default","tag":"APIs","count":139},{"language":"default","tag":"Docs","count":117},{"language":"default","tag":"Resources","count":115},{"language":"default","tag":"API References","count":110},{"language":"default","tag":"Get Started","count":78},{"language":"default","tag":"Web SDK","count":68},{"language":"default","tag":"Ambient \u0026 Dictation APIs","count":64},{"language":"default","tag":"Releases","count":50}],"searchSettings":{"maxResults":8,"showContentSnippets":true,"isFiltersEnabled":false,"fullPageSearch":true}},"assistantConfig":{"enableAskAiButton":true,"enableStarterQuestions":true,"enableAskAiSearchBar":false,"deflection":{"enabled":false,"email":"support@suki.ai","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"rbac-expansion","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":"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":"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":"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":"turbopuffer-dual-write","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},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[{"_id":"69525636593b9cdd2f0cf3e3","deploymentId":"67f04f31bc375eecad02726c","questionText":"How do I use the useAuth hook in the React SDK, and what auth parameters does it require?","status":"active","generatedBy":"manual","createdAt":"2025-12-29T10:21:42.883Z","updatedAt":"2025-12-29T10:21:42.883Z","__v":0},{"_id":"695255de593b9cdd2f0cf0b2","deploymentId":"67f04f31bc375eecad02726c","questionText":"What authentication mechanisms are supported by Suki APIs?","status":"active","generatedBy":"manual","createdAt":"2025-12-29T10:20:14.968Z","updatedAt":"2025-12-29T10:20:14.968Z","__v":0},{"_id":"695255d6593b9cdd2f0cf077","deploymentId":"67f04f31bc375eecad02726c","questionText":"How do I decide which integration option best fits my use case?","status":"active","generatedBy":"manual","createdAt":"2025-12-29T10:20:06.388Z","updatedAt":"2025-12-29T10:20:06.388Z","__v":0}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","href":"/_mintlify/custom/suki-1e08f176/18441c144cd75fb4/style.css"},{"filePath":"release-notes-print.css","content":"@media print{html.suki-print-monthly-release-notes #content-area .mdx-content{font-size:11pt!important;line-height:1.55!important;max-width:100%!important;color:#111827!important;-webkit-text-fill-color:#111827!important}html.suki-print-monthly-release-notes #content-area .mdx-content>p{color:#111827!important;-webkit-text-fill-color:#111827!important;margin-bottom:1rem!important}html.suki-print-monthly-release-notes #content-area .mdx-content>h2{break-after:avoid!important;page-break-after:avoid!important;margin-top:1.35rem!important;margin-bottom:0.65rem!important;color:#111827!important;-webkit-text-fill-color:#111827!important}html.suki-print-monthly-release-notes #content-area .mdx-content>h2:first-of-type{margin-top:0!important}html.suki-print-monthly-release-notes #content-area .update-container{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0.65rem!important;width:100%!important;max-width:100%!important;margin:0 0 1.15rem 0!important;padding:1rem 1.15rem 1.2rem!important;border:1px solid #e5e7eb!important;border-radius:0.65rem!important;background:#ffffff!important;background-color:#ffffff!important;box-shadow:none!important;break-inside:avoid!important;page-break-inside:avoid!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}html.suki-print-monthly-release-notes #content-area .update-container>div{width:100%!important;max-width:100%!important;flex:0 0 auto!important;position:static!important;top:auto!important;overflow:visible!important}html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-label\"]{color:#111827!important;-webkit-text-fill-color:#111827!important;background:#fffdf5!important;border:1px solid rgba(111, 84, 16, 0.2)!important}html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-description\"]{max-width:100%!important;color:#374151!important;-webkit-text-fill-color:#374151!important}html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-tag-list\"],html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-tag\"]{color:#111827!important;-webkit-text-fill-color:#111827!important}html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-content\"]{color:#111827!important;-webkit-text-fill-color:#111827!important}html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-content\"] h3,html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-content\"] h4{break-after:avoid!important;page-break-after:avoid!important;color:#111827!important;-webkit-text-fill-color:#111827!important}html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-content\"] h3.flex,html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-content\"] h4.flex{display:block!important}html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-content\"] p,html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-content\"] li,html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-content\"] td,html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-content\"] th,html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-content\"] span.cursor-pointer{color:#111827!important;-webkit-text-fill-color:#111827!important}html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-content\"] a[href]{color:#0b57d0!important;-webkit-text-fill-color:#0b57d0!important}html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-content\"] code{background:#f3f4f6!important;color:#1f2937!important;-webkit-text-fill-color:#1f2937!important;border:1px solid #e5e7eb!important}html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-content\"] pre,html.suki-print-monthly-release-notes #content-area [data-component-part=\"update-content\"] pre code{background:#f9fafb!important;color:#111827!important;-webkit-text-fill-color:#111827!important;border:1px solid #e5e7eb!important}html.suki-print-monthly-release-notes #content-area .mdx-content>span[id]:empty{display:none!important}}"},{"filePath":"documentation/web-sdk-executive.css","href":"/_mintlify/custom/suki-1e08f176/f3bd8213e8f2aef7/documentation/web-sdk-executive.css"},{"filePath":"dictation-sdk/dictation-sdk-intro.css","content":"#content-area .dictation-sdk-intro{display:grid;grid-template-columns:1fr;gap:1.5rem;align-items:center;margin:0 0 1.75rem;border-bottom:1px solid rgba(15, 23, 42, 0.08)}#content-area .dictation-sdk-intro__copy{min-width:0}#content-area .dictation-sdk-intro__copy>p{margin:0}#content-area .dictation-sdk-intro__copy>p+p{margin-top:0.75rem}#content-area .dictation-sdk-intro__usecase{margin:1.5rem 0 0}#content-area .dictation-sdk-intro__visual{min-width:0;width:100%;line-height:0}#content-area .dictation-sdk-intro__visual img,#content-area .dictation-sdk-intro__visual [data-rmiz],#content-area .dictation-sdk-intro__visual [data-rmiz-content]{display:block;margin:0!important}#content-area .dictation-sdk-intro__visual img{width:100%;height:auto}#content-area .dictation-sdk-intro__visual .sdk-intro-img--light{display:block!important}#content-area .dictation-sdk-intro__visual .sdk-intro-img--dark{display:none!important}#content-area .dictation-sdk-intro__visual [data-rmiz]:has(.sdk-intro-img--dark){display:none!important}html.dark #content-area .dictation-sdk-intro__visual .sdk-intro-img--light,[data-theme=\"dark\"] #content-area .dictation-sdk-intro__visual .sdk-intro-img--light{display:none!important}html.dark #content-area .dictation-sdk-intro__visual .sdk-intro-img--dark,[data-theme=\"dark\"] #content-area .dictation-sdk-intro__visual .sdk-intro-img--dark{display:block!important}html.dark #content-area .dictation-sdk-intro__visual [data-rmiz]:has(.sdk-intro-img--light),[data-theme=\"dark\"] #content-area .dictation-sdk-intro__visual [data-rmiz]:has(.sdk-intro-img--light){display:none!important}html.dark #content-area .dictation-sdk-intro__visual [data-rmiz]:has(.sdk-intro-img--dark),[data-theme=\"dark\"] #content-area .dictation-sdk-intro__visual [data-rmiz]:has(.sdk-intro-img--dark){display:block!important}html.dark #content-area .dictation-sdk-intro,[data-theme=\"dark\"] #content-area .dictation-sdk-intro{border-bottom-color:rgba(255, 255, 255, 0.1)}@media (min-width: 960px){#content-area .dictation-sdk-intro{grid-template-columns:minmax(0, 1.05fr) minmax(0, 1fr);gap:2rem;align-items:center}}"},{"filePath":"documentation/home-hero-stack.css","content":".sk-hs{margin:0;padding:0;width:100%;max-width:360px}.sk-hs svg{display:block;width:100%;height:auto;overflow:visible}.sk-hs-face-top{fill:#1f1f1e;stroke:#f6f2e4;stroke-width:1.25;stroke-linejoin:round}.sk-hs-face-side{fill:#121211;stroke:#f6f2e4;stroke-width:1.25;stroke-linejoin:round}.sk-hs-face-hatch{fill:url(#sk-hs-hatch);stroke:#f6f2e4;stroke-width:1.25;stroke-linejoin:round}.sk-hs-face-y{fill:#ffd447;stroke:#ffd447;stroke-width:1.25;stroke-linejoin:round}.sk-hs-face-side--y{fill:#b0921f;stroke:#ffd447}.sk-hs-int-marks rect{fill:#1c1c1c;opacity:0.45}.sk-hs-face-app{fill:#f6f2e4;stroke:#f6f2e4;stroke-width:1.25;stroke-linejoin:round}.sk-hs-face-app-side{fill:#d9d4c2;stroke:#f6f2e4;stroke-width:1.25;stroke-linejoin:round}.sk-hs-ui-dark{fill:#1c1c1c}.sk-hs-ui-dot{fill:#f6f2e4;opacity:0.7}.sk-hs-ui-mute{fill:#f6f2e4;opacity:0.35}.sk-hs-ui-frame{fill:none;stroke:#1c1c1c;stroke-width:1.25;opacity:0.8}.sk-hs-ui-line{fill:#1c1c1c;opacity:0.3}.sk-hs-ui-line--strong{opacity:0.8}.sk-hs-ui-cta{fill:#ffd447;stroke:#1c1c1c;stroke-width:1}.sk-hs-ui-cta-text{fill:#1c1c1c;opacity:0.85}.sk-hs-cube-t{fill:#f6f2e4;stroke:#1c1c1c;stroke-width:1;stroke-linejoin:round}.sk-hs-cube-l{fill:#8f8a79;stroke:#1c1c1c;stroke-width:1}.sk-hs-cube-r{fill:#c9c4b2;stroke:#1c1c1c;stroke-width:1}.sk-hs-glyph{color:#1c1c1c}.sk-hs-layer--inf{opacity:0;animation:sk-hs-inf 10s ease infinite}.sk-hs-layer--int{opacity:0;animation:sk-hs-int 10s ease infinite}.sk-hs-layer--plat{opacity:0;animation:sk-hs-plat 10s ease infinite}.sk-hs-layer--app{opacity:0;animation:sk-hs-app 10s ease infinite}@keyframes sk-hs-inf{0%,1%{opacity:0}8%,97%{opacity:1}100%{opacity:0}}@keyframes sk-hs-int{0%,8%{opacity:0}16%,97%{opacity:1}100%{opacity:0}}@keyframes sk-hs-plat{0%,16%{opacity:0}24%,97%{opacity:1}100%{opacity:0}}@keyframes sk-hs-app{0%,44%{opacity:0}52%,97%{opacity:1}100%{opacity:0}}.sk-hs-block{opacity:0;animation:sk-hs-block 10s ease infinite}.sk-hs-block--2{animation-delay:0.45s}.sk-hs-block--3{animation-delay:0.9s}.sk-hs-block--4{animation-delay:1.35s}@keyframes sk-hs-block{0%,24%{opacity:0}29%,97%{opacity:1}100%{opacity:0}}.sk-hs-ui>*{opacity:0;animation:sk-hs-ui 10s ease infinite}.sk-hs-ui>*:nth-child(n+2):nth-child(-n+4){animation-delay:0.1s}.sk-hs-ui>*:nth-child(n+5):nth-child(-n+8){animation-delay:0.25s}.sk-hs-ui>*:nth-child(n+9):nth-child(-n+13){animation-delay:0.45s}.sk-hs-ui>*:nth-child(n+14):nth-child(-n+17){animation-delay:0.65s}.sk-hs-ui>*:nth-child(n+18){animation-delay:0.85s}@keyframes sk-hs-ui{0%,54%{opacity:0}60%,97%{opacity:1}100%{opacity:0}}.sk-hs-ui .sk-hs-ui-dot{animation-name:sk-hs-ui-70}@keyframes sk-hs-ui-70{0%,54%{opacity:0}60%,97%{opacity:0.7}100%{opacity:0}}.sk-hs-ui .sk-hs-ui-mute{animation-name:sk-hs-ui-35}@keyframes sk-hs-ui-35{0%,54%{opacity:0}60%,97%{opacity:0.35}100%{opacity:0}}.sk-hs-ui .sk-hs-ui-line{animation-name:sk-hs-ui-30}@keyframes sk-hs-ui-30{0%,54%{opacity:0}60%,97%{opacity:0.3}100%{opacity:0}}.sk-hs-ui .sk-hs-ui-line--strong{animation-name:sk-hs-ui-80}.sk-hs-ui .sk-hs-ui-frame{animation-name:sk-hs-ui-80}@keyframes sk-hs-ui-80{0%,54%{opacity:0}60%,97%{opacity:0.8}100%{opacity:0}}.sk-hs-ui .sk-hs-ui-cta-text{animation-name:sk-hs-ui-85}@keyframes sk-hs-ui-85{0%,54%{opacity:0}60%,97%{opacity:0.85}100%{opacity:0}}.sk-hs-rise{fill:none;stroke:#ffd447;stroke-width:5;stroke-linecap:round;stroke-dasharray:0.35 2;stroke-dashoffset:1.35;opacity:0;animation:sk-hs-rise 10s cubic-bezier(0.4, 0, 0.6, 1) infinite}@keyframes sk-hs-rise{0%,66%{stroke-dashoffset:1.35;opacity:0}67%{opacity:1}80%{opacity:1}82%,100%{stroke-dashoffset:0;opacity:0}}@media (prefers-reduced-motion: reduce){.sk-hs *{animation:none!important}.sk-hs-layer--inf,.sk-hs-layer--int,.sk-hs-layer--plat,.sk-hs-layer--app,.sk-hs-block{opacity:1}.sk-hs-ui>*{opacity:1}.sk-hs-ui .sk-hs-ui-dot{opacity:0.7}.sk-hs-ui .sk-hs-ui-mute{opacity:0.35}.sk-hs-ui .sk-hs-ui-line{opacity:0.3}.sk-hs-ui .sk-hs-ui-line--strong,.sk-hs-ui .sk-hs-ui-frame{opacity:0.8}.sk-hs-rise{display:none}}"},{"filePath":"form-filling-sdk/form-filling-sdk-intro.css","content":"#content-area .form-filling-sdk-intro{display:grid;grid-template-columns:1fr;gap:1.5rem;align-items:center;margin:0 0 1.75rem;border-bottom:1px solid rgba(15, 23, 42, 0.08)}#content-area .form-filling-sdk-intro__copy{min-width:0}#content-area .form-filling-sdk-intro__copy>p{margin:0}#content-area .form-filling-sdk-intro__copy>p+p{margin-top:0.75rem}#content-area .form-filling-sdk-intro__usecase{margin:1.5rem 0 0}#content-area .form-filling-sdk-intro__visual{min-width:0;width:100%;line-height:0}#content-area .form-filling-sdk-intro__visual img,#content-area .form-filling-sdk-intro__visual [data-rmiz],#content-area .form-filling-sdk-intro__visual [data-rmiz-content]{display:block;margin:0!important}#content-area .form-filling-sdk-intro__visual img{width:100%;height:auto}#content-area .form-filling-sdk-intro__visual .sdk-intro-img--light{display:block!important}#content-area .form-filling-sdk-intro__visual .sdk-intro-img--dark{display:none!important}#content-area .form-filling-sdk-intro__visual [data-rmiz]:has(.sdk-intro-img--dark){display:none!important}html.dark #content-area .form-filling-sdk-intro__visual .sdk-intro-img--light,[data-theme=\"dark\"] #content-area .form-filling-sdk-intro__visual .sdk-intro-img--light{display:none!important}html.dark #content-area .form-filling-sdk-intro__visual .sdk-intro-img--dark,[data-theme=\"dark\"] #content-area .form-filling-sdk-intro__visual .sdk-intro-img--dark{display:block!important}html.dark #content-area .form-filling-sdk-intro__visual [data-rmiz]:has(.sdk-intro-img--light),[data-theme=\"dark\"] #content-area .form-filling-sdk-intro__visual [data-rmiz]:has(.sdk-intro-img--light){display:none!important}html.dark #content-area .form-filling-sdk-intro__visual [data-rmiz]:has(.sdk-intro-img--dark),[data-theme=\"dark\"] #content-area .form-filling-sdk-intro__visual [data-rmiz]:has(.sdk-intro-img--dark){display:block!important}html.dark #content-area .form-filling-sdk-intro,[data-theme=\"dark\"] #content-area .form-filling-sdk-intro{border-bottom-color:rgba(255, 255, 255, 0.1)}@media (min-width: 960px){#content-area .form-filling-sdk-intro{grid-template-columns:minmax(0, 1.05fr) minmax(0, 1fr);gap:2rem;align-items:center}}"},{"filePath":"headless-web-sdk/headless-web-sdk-intro.css","content":"#content-area .headless-sdk-intro{display:grid;grid-template-columns:1fr;gap:1.5rem;align-items:center;margin:0 0 1.75rem;border-bottom:1px solid rgba(15, 23, 42, 0.08)}#content-area .headless-sdk-intro__copy{min-width:0}#content-area .headless-sdk-intro__copy>p{margin:0}#content-area .headless-sdk-intro__copy>p+p{margin-top:0.75rem}#content-area .headless-sdk-intro__usecase{margin:1.5rem 0 0}#content-area .headless-sdk-intro__visual{min-width:0;width:100%}html.dark #content-area .headless-sdk-intro,[data-theme=\"dark\"] #content-area .headless-sdk-intro{border-bottom-color:rgba(255, 255, 255, 0.1)}@media (min-width: 960px){#content-area .headless-sdk-intro{grid-template-columns:minmax(0, 1.05fr) minmax(0, 1fr);gap:2rem;align-items:center}}"},{"filePath":"mobile-sdk/mobile-sdk-intro.css","content":"#content-area .mobile-sdk-intro{display:grid;grid-template-columns:1fr;gap:1.5rem;align-items:center;margin:0 0 1.75rem;border-bottom:1px solid rgba(15, 23, 42, 0.08)}#content-area .mobile-sdk-intro__copy{min-width:0}#content-area .mobile-sdk-intro__copy>p{margin:0}#content-area .mobile-sdk-intro__copy>p+p{margin-top:0.75rem}#content-area .mobile-sdk-intro__usecase{margin:1.5rem 0 0}#content-area .mobile-sdk-intro__visual{min-width:0;width:100%}html.dark #content-area .mobile-sdk-intro,[data-theme=\"dark\"] #content-area .mobile-sdk-intro{border-bottom-color:rgba(255, 255, 255, 0.1)}@media (min-width: 960px){#content-area .mobile-sdk-intro{grid-template-columns:minmax(0, 1.05fr) minmax(0, 1fr);gap:2rem;align-items:center}}"},{"filePath":"web-sdk/web-sdk-intro.css","content":"#content-area .web-sdk-intro{display:grid;grid-template-columns:1fr;gap:1.5rem;align-items:center;margin:0 0 1.75rem;border-bottom:1px solid rgba(15, 23, 42, 0.08)}#content-area .web-sdk-intro__copy{min-width:0}#content-area .web-sdk-intro__copy>p{margin:0}#content-area .web-sdk-intro__copy>p+p{margin-top:0.75rem}#content-area .web-sdk-intro__usecase{margin:1.5rem 0 0}#content-area .web-sdk-intro__visual{min-width:0;width:100%;line-height:0}#content-area .web-sdk-intro__visual img,#content-area .web-sdk-intro__visual [data-rmiz],#content-area .web-sdk-intro__visual [data-rmiz-content]{display:block;margin:0!important}#content-area .web-sdk-intro__visual img{width:100%;height:auto}#content-area .web-sdk-intro__visual .sdk-intro-img--light{display:block!important}#content-area .web-sdk-intro__visual .sdk-intro-img--dark{display:none!important}#content-area .web-sdk-intro__visual [data-rmiz]:has(.sdk-intro-img--dark){display:none!important}html.dark #content-area .web-sdk-intro__visual .sdk-intro-img--light,[data-theme=\"dark\"] #content-area .web-sdk-intro__visual .sdk-intro-img--light{display:none!important}html.dark #content-area .web-sdk-intro__visual .sdk-intro-img--dark,[data-theme=\"dark\"] #content-area .web-sdk-intro__visual .sdk-intro-img--dark{display:block!important}html.dark #content-area .web-sdk-intro__visual [data-rmiz]:has(.sdk-intro-img--light),[data-theme=\"dark\"] #content-area .web-sdk-intro__visual [data-rmiz]:has(.sdk-intro-img--light){display:none!important}html.dark #content-area .web-sdk-intro__visual [data-rmiz]:has(.sdk-intro-img--dark),[data-theme=\"dark\"] #content-area .web-sdk-intro__visual [data-rmiz]:has(.sdk-intro-img--dark){display:block!important}html.dark #content-area .web-sdk-intro,[data-theme=\"dark\"] #content-area .web-sdk-intro{border-bottom-color:rgba(255, 255, 255, 0.1)}@media (min-width: 960px){#content-area .web-sdk-intro{grid-template-columns:minmax(0, 1.05fr) minmax(0, 1fr);gap:2rem;align-items:center}}"},{"filePath":"icons/icons.css","href":"/_mintlify/custom/suki-1e08f176/bf1a37de3f6c5cc6/icons/icons.css"},{"filePath":"sdk-intro-annotated.css","content":"#content-area .sia{--sia-yellow: #ffe148;--sia-ink: #1b1b1b;--sia-line: #dbdbdb;--sia-card: #ffffff;--sia-stripe: #ebebe8;--sia-label: rgb(var(--gray-500, 115 114 112));--sia-text: rgb(var(--gray-900, 26 25 23));--sia-code-bg: #1b1b1b;--sia-tip-bg: #dbdbdb;--sia-tip-ink: #1b1b1b;--sia-leader: #1b1b1b;--sia-shadow: 0 1px 2px rgba(26, 25, 23, 0.04), 0 8px 24px rgba(26, 25, 23, 0.06);container-type:inline-size;margin:0;width:100%}html.dark #content-area .sia,[data-theme=\"dark\"] #content-area .sia{--sia-line: rgba(255, 255, 255, 0.12);--sia-card: #1e1e1c;--sia-stripe: rgba(255, 255, 255, 0.1);--sia-label: var(--suki-dark-text-muted);--sia-text: var(--suki-dark-text);--sia-code-bg: #0e0e0e;--sia-tip-bg: #41413f;--sia-tip-ink: #f4f4f4;--sia-leader: #a1a19f;--sia-shadow: 0 8px 24px rgba(0, 0, 0, 0.35)}#content-area .sia-scene{position:relative;max-width:460px;margin:0 auto;padding:14px 14px 24px}#content-area .sia-card{position:relative;border-radius:var(--suki-card-radius)}#content-area .sia-card--platform{z-index:1;margin-left:22%;height:116px;background:var(--sia-card);border:1px solid var(--sia-line);box-shadow:var(--sia-shadow)}#content-area .sia-card--app{z-index:2;width:94%;margin-top:-74px;background:var(--sia-code-bg);box-shadow:0 12px 24px rgba(26, 25, 23, 0.18)}html.dark #content-area .sia-card--app,[data-theme=\"dark\"] #content-area .sia-card--app{box-shadow:0 12px 24px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.08)}#content-area .sia-card--result{z-index:3;width:68%;margin:-10px 0 0 32%}#content-area .sia-label{position:absolute;top:12px;right:14px;display:inline-flex;align-items:center;gap:6px;font-family:var(--suki-font-body);font-size:10px;font-weight:600;line-height:12px;letter-spacing:0.08em;text-transform:uppercase;color:var(--sia-label)}#content-area .sia-label::before{content:\"\";width:6px;height:6px;border-radius:50%;background:var(--sia-yellow)}#content-area .sia-card--app .sia-label{color:#a1a19f}#content-area .sia-stripes{display:flex;flex-direction:column;gap:7px;padding:14px}#content-area .sia-stripe-row{display:flex;gap:4px}#content-area .sia-stripe-row span{flex:none;height:4px;border-radius:2px;background:var(--sia-stripe)}#content-area .sia-stripe-row span.is-accent{background:var(--sia-yellow)}#content-area .sia-code{padding:36px 16px 4px;overflow-x:auto;font-size:11px;line-height:17px;color:#e1e1de;scrollbar-width:none}#content-area .sia-code::-webkit-scrollbar{display:none}#content-area .sia-code-line{white-space:pre}#content-area .sia-tk-k{color:#c792ea}#content-area .sia-tk-f{color:var(--sia-yellow)}#content-area .sia-tk-s{color:#c3e88d}#content-area .sia-tk-p{color:#f07178}#content-area .sia-tk-c{color:#7e7e7c;font-style:italic}#content-area a.sia-example{display:inline-flex;align-items:center;gap:2px;margin:10px 16px 16px;font-family:var(--suki-font-body);font-size:12px;font-weight:500;line-height:16px;color:#f4f4f4;border-bottom:1px solid rgba(244, 244, 244, 0.45);text-decoration:none;transition:color 0.15s ease, border-color 0.15s ease}#content-area a.sia-example:is(:hover,:focus-visible){color:var(--sia-yellow);border-bottom-color:var(--sia-yellow)}#content-area .sia-result{padding:14px 30px 14px 14px;border:1px solid var(--sia-line);border-radius:var(--suki-card-radius) var(--suki-card-radius) 0;background:var(--sia-card);box-shadow:var(--sia-shadow);font-family:var(--suki-font-body);font-size:13px;line-height:1.4;color:var(--sia-text)}#content-area .sia-mark{position:absolute;z-index:10;top:-12px;width:24px;height:24px}#content-area .sia-mark--1,#content-area .sia-mark--3{right:-12px}#content-area .sia-mark--2{left:-12px}#content-area .sia-dot{display:grid;place-items:center;width:24px;height:24px;padding:0;border:0;border-radius:50%;background:var(--sia-yellow);color:var(--sia-ink);font-family:var(--suki-font-body);font-size:12px;font-weight:600;line-height:1;cursor:pointer;animation:sia-pulse 2.4s ease-out infinite}#content-area .sia-mark--2 .sia-dot{animation-delay:0.8s}#content-area .sia-mark--3 .sia-dot{animation-delay:1.6s}#content-area .sia-dot:focus-visible{outline:2px solid var(--sia-yellow);outline-offset:2px}@keyframes sia-pulse{0%{box-shadow:0 0 0 0 rgba(255, 225, 72, 0.6)}70%{box-shadow:0 0 0 8px rgba(255, 225, 72, 0)}100%{box-shadow:0 0 0 0 rgba(255, 225, 72, 0)}}#content-area .sia-tip{position:absolute;bottom:calc(100% + 12px);display:none;width:max-content;max-width:min(328px, 92cqi);padding:4px 16px;border-radius:999px;background:var(--sia-tip-bg);font-family:var(--suki-font-body);font-size:14px;font-weight:400;line-height:18px;color:var(--sia-tip-ink);text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}#content-area .sia-tip--left{right:0}#content-area .sia-tip--right{left:0}#content-area .sia-tip--center{left:50%;translate:-50% 0}#content-area .sia-mark::before{content:\"\";position:absolute;bottom:100%;left:11.5px;display:none;width:1px;height:12px;background:var(--sia-leader)}#content-area .sia-mark:hover .sia-tip,#content-area .sia-mark:has(.sia-dot:focus-visible) .sia-tip{display:block;animation:sia-tip-in 0.15s ease}#content-area .sia-mark:hover::before,#content-area .sia-mark:has(.sia-dot:focus-visible)::before{display:block}@keyframes sia-tip-in{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion: reduce){#content-area .sia-dot,#content-area .sia-mark:hover .sia-tip,#content-area .sia-mark:has(.sia-dot:focus-visible) .sia-tip{animation:none}}#content-area .sia-shot{position:relative;line-height:normal}#content-area .sia-shot-img,#content-area .sia-shot [data-rmiz],#content-area .sia-shot [data-rmiz-content]{display:block;width:100%;height:auto;margin:0!important}#content-area .sia-shot-img--dark,#content-area .sia-shot [data-rmiz]:has(.sia-shot-img--dark){display:none!important}html.dark #content-area .sia-shot-img--light,[data-theme=\"dark\"] #content-area .sia-shot-img--light,html.dark #content-area .sia-shot [data-rmiz]:has(.sia-shot-img--light),[data-theme=\"dark\"] #content-area .sia-shot [data-rmiz]:has(.sia-shot-img--light){display:none!important}html.dark #content-area .sia-shot-img--dark,[data-theme=\"dark\"] #content-area .sia-shot-img--dark,html.dark #content-area .sia-shot [data-rmiz]:has(.sia-shot-img--dark),[data-theme=\"dark\"] #content-area .sia-shot [data-rmiz]:has(.sia-shot-img--dark){display:block!important}#content-area .sia-shot .sia-mark{top:auto;right:auto;left:auto;margin:-12px 0 0 -12px}@container (max-width: 340px){#content-area .sia-code{font-size:10px;line-height:15px}#content-area .sia-card--app{width:100%}}"}]}
{"page":{"pagePath":"api-reference/ambient-sessions/context","slug":"/api-reference/ambient-sessions/context","pageMetadata":{"title":"Seed Ambient Session Context","sidebarTitle":"Seed Ambient Session Context","openapi":"POST /api/v1/ambient/session/{ambient_session_id}/context","description":"Provide clinical context and patient information for Ambient session","href":"/api-reference/ambient-sessions/context"},"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: \"Provide clinical context and patient information for Ambient session\"\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`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Badge,Callout,CodeBlock,Heading,Note,Tab,Tabs,Tip,Tooltip,Visibility,Warning}=_components;if(!Badge)_missingMdxReference(`Badge`,true);if(!Callout)_missingMdxReference(`Callout`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Tooltip)_missingMdxReference(`Tooltip`,true);if(!Visibility)_missingMdxReference(`Visibility`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(Callout,{title:`Updates`,color:`orange`,icon:`/icons/material/notifications.svg`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Updated:`})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`You can now send `,_jsx(_components.strong,{children:`Embedded Form templates`}),` and prior section text on each section with `,_jsx(_components.code,{children:`sections[].precharted_content`}),`. Read more in `,_jsx(_components.a,{href:`/documentation/concepts/ambient-clinical-notes/embedded-forms`,children:`Embedded Forms`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`You can now provide `,_jsx(_components.strong,{children:`EMR context`}),` and `,_jsx(_components.strong,{children:`Medication orders`}),` details in the Ambient Session Context API.`]}),`\n`,_jsxs(_components.li,{children:[`When you use `,_jsx(_components.a,{href:`/documentation/concepts/em-coding/overview`,children:`E/M Coding`}),` with an ambient session, you can send `,_jsx(_components.code,{children:`patient.patient_type`}),`, `,_jsx(_components.code,{children:`patient.mrn`}),`, `,_jsx(_components.code,{children:`patient.insurance`}),`, provider `,_jsx(_components.code,{children:`first_name`}),` / `,_jsx(_components.code,{children:`last_name`}),` / `,_jsx(_components.code,{children:`npi`}),`, and visit `,_jsx(_components.code,{children:`date_of_service`}),` / `,_jsx(_components.code,{children:`total_time_minutes`}),` / `,_jsx(_components.code,{children:`csn`}),`.`]}),`\n`]})]}),`\n`,_jsxs(_components.p,{children:[`Use this endpoint to provide or update the `,_jsx(Tooltip,{tip:`Metadata provided when creating an ambient session (such as encounter type, patient age, diagnoses) that helps guide note generation and improve output quality.`,cta:`View in Glossary`,href:`/Glossary/s`,children:`session context`}),` for an `,_jsx(Tooltip,{tip:`A single, time-bound instance of an ambient recording for a specific patient encounter that captures clinical conversations.`,cta:`View in Glossary`,href:`/Glossary/a`,children:`ambient session`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Context such as specialty, note sections, diagnoses, EMR details, and Medication orders helps Suki generate a more accurate and relevant `,_jsx(Tooltip,{tip:`The structured medical documentation produced for a patient encounter. In Suki, ambient note generation organizes content into LOINC-coded sections so partners can review, edit, and submit notes into an EHR-ready workflow.`,cta:`View in Glossary`,href:`/Glossary/c`,children:`clinical note`}),`.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Send the full visit context with this POST after you create the session, and finish `,_jsx(_components.strong,{children:`before`}),` you end the session. `,_jsx(Badge,{color:`blue`,size:`sm`,children:`POST`}),` replaces the entire context. To change only some fields later, use `,_jsx(_components.a,{href:`/api-reference/ambient-sessions/update-context`,children:`Update ambient session context`}),` API.`]})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`For what to send and when, refer to `,_jsx(_components.a,{href:`/documentation/how-to/ambient-clinical-notes/seed-ambient-session-context`,children:`Provide visit context`}),` guide.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`what-you-can-send`,children:`What you can send`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(Tooltip,{tip:`A healthcare professional such as a physician, APP, or nurse who documents care. In Suki integrations, provider identity ties sessions, preferences, and generated notes to the correct clinician.`,cta:`View in Glossary`,href:`/Glossary/p`,children:`Provider`}),` details (for example specialty and role). For E/M Coding, also send `,_jsx(_components.code,{children:`first_name`}),`, `,_jsx(_components.code,{children:`last_name`}),`, and `,_jsx(_components.code,{children:`npi`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Patient and visit information. For E/M Coding, include `,_jsx(_components.code,{children:`patient_type`}),` (`,_jsx(_components.code,{children:`NEW_PATIENT`}),` / `,_jsx(_components.code,{children:`ESTABLISHED_PATIENT`}),`), `,_jsx(_components.code,{children:`mrn`}),`, `,_jsx(_components.code,{children:`insurance.coverages[]`}),`, visit `,_jsx(_components.code,{children:`date_of_service`}),`, `,_jsx(_components.code,{children:`total_time_minutes`}),`, and `,_jsx(_components.code,{children:`csn`}),` when available.`]}),`\n`,_jsxs(_components.li,{children:[`A list of `,_jsx(Tooltip,{tip:`Logical Observation Identifiers Names and Codes. An international healthcare coding standard that assigns unique codes to clinical content such as note sections, labs, and observations. In Suki, you pass LOINC codes when you configure ambient note sections so each part of the generated note maps cleanly into your EHR.`,cta:`View in Glossary`,href:`/Glossary/l`,children:`LOINC`}),` codes for the clinical sections you want to generate. If you omit `,_jsx(_components.code,{children:`sections`}),`, Suki uses the `,_jsx(_components.a,{href:`/documentation/concepts/ambient-clinical-notes/note-sections#default-sections-when-no-loinc-codes-are-specified`,children:`Default 13 LOINC sections`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Existing `,_jsx(Tooltip,{tip:`A clinical determination of a patient's condition or disease, often encoded using ICD10 or IMO for interoperability with EHR systems.`,cta:`View in Glossary`,href:`/Glossary/d`,children:`diagnoses`}),` with their associated medical codes. For E/M Coding with an ambient session, Suki maps ICD10 and IMO codes.`]}),`\n`,_jsx(_components.li,{children:`EMR context, including target EMR, when you need EMR-specific behavior (for example order submission rules).`}),`\n`,_jsx(_components.li,{children:`Medication orders, including structured medication orders for active medications and related metadata.`}),`\n`,_jsxs(_components.li,{children:[`Prior section text and Embedded Form templates on each section through `,_jsx(_components.code,{children:`sections[].precharted_content`}),`.`]}),`\n`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`To generate E/M codes with the ambient session, pass `,_jsx(_components.code,{children:`artifacts: [\"EM_CODES\"]`}),` on create, then seed the fields above. See `,_jsx(_components.a,{href:`/documentation/how-to/em-coding/generate-with-ambient`,children:`Add E/M codes to an ambient visit`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[`For more information about the context, refer to the `,_jsx(_components.a,{href:`/api-reference/capabilities/problem-based-charting`,children:`PBC`}),` and `,_jsx(_components.a,{href:`/documentation/concepts/ambient-clinical-notes/specialties`,children:`Specialty`}),` section.\nFor more information about Medication orders, refer to the `,_jsx(_components.a,{href:`/documentation/concepts/ambient-clinical-notes/medication-orders`,children:`Medication orders`}),` guide.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Use the `,_jsx(_components.code,{children:`Codes`}),` section to provide additional context for a session, such as `,_jsx(_components.strong,{children:`medical codes`}),` for a `,_jsx(_components.strong,{children:`diagnosis`}),`.`]})}),`\n`,_jsx(Warning,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Do not include `,_jsx(_components.strong,{children:`HCC codes`}),` or note personalization fields such as `,_jsx(_components.code,{children:`verbosity`}),` and `,_jsx(_components.code,{children:`section_format`}),` in session context.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`HCC codes are output-only and are returned in structured note data. Configure note personalization through `,_jsx(_components.a,{href:`/api-reference/user-preferences/preferences`,children:`User preferences`}),`. Refer to `,_jsx(_components.a,{href:`/api-reference/faqs/diagnosis-codes`,children:`Diagnosis codes`}),` for HCC code handling and `,_jsx(_components.a,{href:`/api-reference/capabilities/personalization#build-personalization-into-your-product`,children:`Note Personalization`}),` guide for personalization best practices.`]}),`\n`]}),`\n`]})}),`\n`,_jsx(_components.p,{children:`To ensure your requests succeed, follow these validation rules when sending data to the API:`}),`\n`,_jsx(Heading,{level:`3`,id:`field-validation-and-constraints`,children:`Field validation and constraints`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Character Limits`}),`: Ensure the `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`chief_complaint`})}),` and `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`reason_for_visit`})}),` fields do not exceed `,_jsx(_components.strong,{children:`255 characters`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Enumerated Values`}),`: Use only the predefined string values for `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`visit_type`})}),`, `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`encounter_type`})}),`, and `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`provider_role`})}),`.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`EMR Selection`}),`: You must set `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`emr.target_emr`})}),` to one of the following: `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`ATHENA`})}),`, `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`EPIC`})}),`, or `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`CERNER`})}),`.`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`medication-order-requirements`,children:`Medication order requirements`}),`\n`,_jsxs(_components.p,{children:[`When you send `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`orders.medication_orders.values`})}),`, include the following required properties for each object:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Drug Information`}),`: Provide both the `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`drug_name`})}),` and a `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`medication_code`})}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Coding Systems`}),`: For `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`medication_code`})}),`, specify the `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`code`})}),` and set the `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`type`})}),` to `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`RXCUI`})}),` or `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`NDC`})}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Order Status`}),`: Set the `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`status`})}),` to `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`ACTIVE`})}),`, `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`DISCONTINUED`})}),`, or `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`REFILLED`})}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Metadata`}),`: Include the `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`metadata`})}),` object with a required `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`origin`})}),` of `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`EMR`})}),` or `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`SUKI_AMBIENT`})}),`.`]}),`\n`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`If you set `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`origin`})}),` to `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`EMR`})}),`, you must also set `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`metadata.encounter_relation`})}),` to either `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`CURRENT_ENCOUNTER`})}),` or `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`PRIOR_ENCOUNTER`})}),`.`]})}),`\n`,_jsxs(Note,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Diagnosis links`}),`:`]}),_jsxs(_components.p,{children:[`To link a diagnosis to an order, ensure the codes in `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`linked_diagnosis_codes`})}),` match a diagnosis already provided in the `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`diagnoses`})}),` section.\nUse the same coding system for both to allow the service to validate the link.`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`precharted-content-and-embedded-forms`,children:`Precharted content and Embedded Forms`}),`\n`,_jsxs(_components.p,{children:[`Each item in `,_jsx(_components.code,{children:`sections`}),` can carry a `,_jsx(_components.code,{children:`precharted_content`}),` list. Send `,_jsx(_components.code,{children:`type: \"string\"`}),` with `,_jsx(_components.code,{children:`text`}),` for prior section text, or `,_jsx(_components.code,{children:`type: \"structured\"`}),` with `,_jsx(_components.code,{children:`template_id`}),` and `,_jsx(_components.code,{children:`fields`}),` for an `,_jsx(_components.a,{href:`/documentation/concepts/ambient-clinical-notes/embedded-forms`,children:`Embedded Form`}),` template.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Send Embedded Form templates after you create the session and finish seed or update context `,_jsx(_components.strong,{children:`before you end the session`}),`. You can seed or update after streaming has started, including just before you end. For field rules and a full example, refer to `,_jsx(_components.a,{href:`/documentation/how-to/ambient-clinical-notes/seed-and-read-embedded-forms#seed-embedded-forms-on-session-context`,children:`Seed and read Embedded Forms`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`code-examples`,children:`Code examples`}),`\n`,_jsx(Visibility,{for:`agents`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Language tabs (agents):`}),` Equivalent code samples are available in: Python, TypeScript. Humans see one language at a time. Use the variant that matches the user’s stack; behavior is the same across tabs.`]})}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`Python`,id:`python`,children:_jsx(CodeBlock,{filename:``,expandable:`true`,numberOfLines:`138`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes one-light material-theme-darker`,style:{backgroundColor:`#FAFAFA`,\"--shiki-dark-bg\":`#212121`,color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`138`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89DDFF`,\"--shiki-dark-font-style\":`italic`},children:`import`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` json`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89DDFF`,\"--shiki-dark-font-style\":`italic`},children:`import`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`BASE_URL `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`https://sdp.suki.ai`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0A1A7`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#545454`,\"--shiki-dark-font-style\":`italic`},children:`# From Create Ambient Session response`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`ambient_session_id `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cambient_session_id>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0A1A7`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#545454`,\"--shiki-dark-font-style\":`italic`},children:`# Get sdp_suki_token from Login: POST /api/v1/auth/login`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`sdp_suki_token `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003csdp_suki_token>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0A1A7`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#545454`,\"--shiki-dark-font-style\":`italic`},children:`# Required for single_auth partners`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`sdp_provider_id `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003csdp_provider_id>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0A1A7`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#545454`,\"--shiki-dark-font-style\":`italic`},children:`# Set these from your system`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`patient_id `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cpatient_id>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`patient_given_name `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cpatient_given_name>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`patient_family_name `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cpatient_family_name>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`patient_dob `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cpatient_dob>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#A0A1A7`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#545454`,\"--shiki-dark-font-style\":`italic`},children:` # YYYY-MM-DD`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`patient_sex `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cpatient_sex>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#A0A1A7`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#545454`,\"--shiki-dark-font-style\":`italic`},children:` # male | female | other | unknown`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`provider_specialty `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cprovider_specialty>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`provider_role `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cprovider_role>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`chief_complaint `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cchief_complaint>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`reason_for_visit `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003creason_for_visit>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`encounter_type `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cencounter_type>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`visit_type `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cvisit_type>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`section_loinc_codes `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` [`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cloinc_code>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`diagnosis_code `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cdiagnosis_code>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`diagnosis_code_type `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cdiagnosis_code_type>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#A0A1A7`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#545454`,\"--shiki-dark-font-style\":`italic`},children:` # for example ICD10`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`diagnosis_description `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cdiagnosis_description>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`diagnosis_note `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cdiagnosis_note>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`target_emr `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003ctarget_emr>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#A0A1A7`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#545454`,\"--shiki-dark-font-style\":`italic`},children:` # ATHENA | EPIC | CERNER`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`drug_name `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cdrug_name>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`medication_code `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cmedication_code>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`medication_code_type `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cmedication_code_type>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#A0A1A7`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#545454`,\"--shiki-dark-font-style\":`italic`},children:` # RXCUI | NDC`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`medication_status `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cmedication_status>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#A0A1A7`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#545454`,\"--shiki-dark-font-style\":`italic`},children:` # ACTIVE | DISCONTINUED | REFILLED`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`medication_origin `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cmedication_origin>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#A0A1A7`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#545454`,\"--shiki-dark-font-style\":`italic`},children:` # EMR | SUKI_AMBIENT`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`medication_instructions `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cmedication_instructions>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`url `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:` f`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\"`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#F78C6C`},children:`{`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`BASE_URL`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#F78C6C`},children:`}`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`/api/v1/ambient/session/`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#F78C6C`},children:`{`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`ambient_session_id`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#F78C6C`},children:`}`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`/context\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`headers `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`sdp_suki_token`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` sdp_suki_token`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`sdp_provider_id`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` sdp_provider_id`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`Content-Type`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`application/json`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`payload `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`provider`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`specialty`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` provider_specialty`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`provider_role`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` provider_role`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`patient`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`patient_id`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` patient_id`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`name`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`given`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` [`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`patient_given_name`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`family`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` patient_family_name`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`dob`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` patient_dob`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`sex`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` patient_sex`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`visit`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`chief_complaint`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` chief_complaint`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`encounter_type`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` encounter_type`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`reason_for_visit`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` reason_for_visit`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`visit_type`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` visit_type`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`sections`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` [{`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`loinc`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` loinc`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`}`}),_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89DDFF`,\"--shiki-dark-font-style\":`italic`},children:` for`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` loinc `}),_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89DDFF`,\"--shiki-dark-font-style\":`italic`},children:`in`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` section_loinc_codes`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`diagnoses`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`values`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`codes`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`code`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` diagnosis_code`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`description`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` diagnosis_description`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`type`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` diagnosis_code_type`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`diagnosis_note`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` diagnosis_note`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`emr`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`target_emr`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` target_emr`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`orders`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`medication_orders`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`values`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`drug_name`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` drug_name`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`medication_code`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`code`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` medication_code`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`type`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` medication_code_type`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`linked_diagnosis_codes`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`code`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` diagnosis_code`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`type`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` diagnosis_code_type`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`metadata`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`origin`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` medication_origin`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`status`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` medication_status`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`instructions`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` medication_instructions`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`response `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` requests`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#82AAFF`},children:`post`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`(`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#82AAFF`},children:`url`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#EEFFFF`,\"--shiki-dark-font-style\":`italic`},children:` headers`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#82AAFF`},children:`headers`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#EEFFFF`,\"--shiki-dark-font-style\":`italic`},children:` json`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#82AAFF`},children:`payload`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#EEFFFF`,\"--shiki-dark-font-style\":`italic`},children:` timeout`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#F78C6C`},children:`60`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#82AAFF`},children:`print`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`(`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`HTTP status:`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#82AAFF`},children:` response`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#F07178`},children:`status_code`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89DDFF`,\"--shiki-dark-font-style\":`italic`},children:`try`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` response_body `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` response`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#82AAFF`},children:`json`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89DDFF`,\"--shiki-dark-font-style\":`italic`},children:`except`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#FFCB6B`},children:` ValueError`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#82AAFF`},children:` print`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`(`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`Response was not JSON:`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#82AAFF`},children:` print`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`(`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#82AAFF`},children:`response`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#F07178`},children:`text`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89DDFF`,\"--shiki-dark-font-style\":`italic`},children:` raise`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#FFCB6B`},children:` SystemExit`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`(`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#F78C6C`},children:`1`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#82AAFF`},children:`print`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`(`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`Response body:`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#82AAFF`},children:`print`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`(`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#82AAFF`},children:`json`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#82AAFF`},children:`dumps`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`(`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#82AAFF`},children:`response_body`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#EEFFFF`,\"--shiki-dark-font-style\":`italic`},children:` indent`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`=`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#F78C6C`},children:`2`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`))`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89DDFF`,\"--shiki-dark-font-style\":`italic`},children:`if`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` response`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#F07178`},children:`status_code`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` ==`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#F78C6C`},children:` 200`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#82AAFF`},children:` print`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`(`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`Context seeded successfully.`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89DDFF`,\"--shiki-dark-font-style\":`italic`},children:`else`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#82AAFF`},children:` print`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`(`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`Seed Ambient session context failed.`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89DDFF`,\"--shiki-dark-font-style\":`italic`},children:` if`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#82AAFF`},children:` isinstance`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`(`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#82AAFF`},children:`response_body`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#FFCB6B`},children:` dict`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`):`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#82AAFF`},children:` print`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`(`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`code:`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#82AAFF`},children:` response_body`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#82AAFF`},children:`get`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`(`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`code`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`))`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#82AAFF`},children:` print`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`(`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`message:`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#82AAFF`},children:` response_body`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#82AAFF`},children:`get`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`(`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`message`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`))`})]}),`\n`]})})})}),_jsx(Tab,{title:`TypeScript`,id:`typescript`,children:_jsx(CodeBlock,{filename:``,expandable:`true`,numberOfLines:`146`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes one-light material-theme-darker`,style:{backgroundColor:`#FAFAFA`,\"--shiki-dark-bg\":`#212121`,color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`146`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` BASE_URL`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`https://sdp.suki.ai`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0A1A7`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#545454`,\"--shiki-dark-font-style\":`italic`},children:`// From Create Ambient Session response`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` ambientSessionId`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cambient_session_id>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0A1A7`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#545454`,\"--shiki-dark-font-style\":`italic`},children:`// Get sdp_suki_token from Login: POST /api/v1/auth/login`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` sdpSukiToken`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003csdp_suki_token>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0A1A7`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#545454`,\"--shiki-dark-font-style\":`italic`},children:`// Required for single_auth partners`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` sdpProviderId`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003csdp_provider_id>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0A1A7`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#545454`,\"--shiki-dark-font-style\":`italic`},children:`// Set these from your system`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` patientId`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cpatient_id>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` patientGivenName`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cpatient_given_name>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` patientFamilyName`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cpatient_family_name>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` patientDob`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cpatient_dob>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`}),_jsx(_components.span,{style:{color:`#A0A1A7`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#545454`,\"--shiki-dark-font-style\":`italic`},children:` // YYYY-MM-DD`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` patientSex`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cpatient_sex>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`}),_jsx(_components.span,{style:{color:`#A0A1A7`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#545454`,\"--shiki-dark-font-style\":`italic`},children:` // male | female | other | unknown`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` providerSpecialty`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cprovider_specialty>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` providerRole`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cprovider_role>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` chiefComplaint`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cchief_complaint>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` reasonForVisit`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003creason_for_visit>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` encounterType`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cencounter_type>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` visitType`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cvisit_type>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` sectionLoincCodes`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` [`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cloinc_code>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`]`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` diagnosisCode`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cdiagnosis_code>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` diagnosisCodeType`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cdiagnosis_code_type>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`}),_jsx(_components.span,{style:{color:`#A0A1A7`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#545454`,\"--shiki-dark-font-style\":`italic`},children:` // for example ICD10`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` diagnosisDescription`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cdiagnosis_description>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` diagnosisNote`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cdiagnosis_note>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` targetEmr`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003ctarget_emr>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`}),_jsx(_components.span,{style:{color:`#A0A1A7`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#545454`,\"--shiki-dark-font-style\":`italic`},children:` // ATHENA | EPIC | CERNER`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` drugName`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cdrug_name>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` medicationCode`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cmedication_code>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` medicationCodeType`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cmedication_code_type>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`}),_jsx(_components.span,{style:{color:`#A0A1A7`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#545454`,\"--shiki-dark-font-style\":`italic`},children:` // RXCUI | NDC`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` medicationStatus`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cmedication_status>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`}),_jsx(_components.span,{style:{color:`#A0A1A7`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#545454`,\"--shiki-dark-font-style\":`italic`},children:` // ACTIVE | DISCONTINUED | REFILLED`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` medicationOrigin`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cmedication_origin>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`}),_jsx(_components.span,{style:{color:`#A0A1A7`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#545454`,\"--shiki-dark-font-style\":`italic`},children:` // EMR | SUKI_AMBIENT`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` medicationInstructions`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`\u003cmedication_instructions>`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`type`}),_jsx(_components.span,{style:{color:`#C18401`,\"--shiki-dark\":`#FFCB6B`},children:` ApiErrorResponse`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#F07178`},children:` code`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`?:`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#FFCB6B`},children:` number`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#F07178`},children:` message`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`?:`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#FFCB6B`},children:` string`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`};`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` payload`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` provider`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` specialty`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` providerSpecialty`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` provider_role`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` providerRole`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` patient`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` patient_id`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` patientId`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` name`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` given`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` [patientGivenName]`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` family`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` patientFamilyName`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` dob`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` patientDob`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` sex`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` patientSex`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` visit`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` chief_complaint`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` chiefComplaint`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` encounter_type`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` encounterType`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` reason_for_visit`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` reasonForVisit`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` visit_type`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` visitType`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` sections`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` sectionLoincCodes`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#4078F2`,\"--shiki-dark\":`#82AAFF`},children:`map`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`(`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`(`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#EEFFFF`,\"--shiki-dark-font-style\":`italic`},children:`loinc`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`)`}),_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:` =>`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` (`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`{`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` loinc `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`}`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`))`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` diagnoses`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` values`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` codes`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` code`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` diagnosisCode`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` description`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` diagnosisDescription`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` type`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` diagnosisCodeType`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` ]`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` diagnosis_note`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` diagnosisNote`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` ]`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` emr`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` target_emr`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` targetEmr`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` orders`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` medication_orders`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` values`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` drug_name`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` drugName`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` medication_code`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` code`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` medicationCode`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` type`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` medicationCodeType`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` linked_diagnosis_codes`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` code`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` diagnosisCode`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` type`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` diagnosisCodeType`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` ]`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` metadata`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` origin`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` medicationOrigin`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` status`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` medicationStatus`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` instructions`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` medicationInstructions`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` ]`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`};`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` response`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89DDFF`,\"--shiki-dark-font-style\":`italic`},children:` await`}),_jsx(_components.span,{style:{color:`#4078F2`,\"--shiki-dark\":`#82AAFF`},children:` fetch`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:\" `\"}),_jsx(_components.span,{style:{color:`#CA1243`,\"--shiki-dark\":`#89DDFF`},children:\"${\"}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:`BASE_URL`}),_jsx(_components.span,{style:{color:`#CA1243`,\"--shiki-dark\":`#89DDFF`},children:`}`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`/api/v1/ambient/session/`}),_jsx(_components.span,{style:{color:`#CA1243`,\"--shiki-dark\":`#89DDFF`},children:\"${\"}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`ambientSessionId`}),_jsx(_components.span,{style:{color:`#CA1243`,\"--shiki-dark\":`#89DDFF`},children:`}`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`/context`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:\"`\"}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` method`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`POST`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` headers`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` sdp_suki_token`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` sdpSukiToken`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` sdp_provider_id`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` sdpProviderId`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#F07178`},children:`Content-Type`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`application/json`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#F07178`},children:` body`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#4078F2`,\"--shiki-dark\":`#82AAFF`},children:`stringify`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`(payload)`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`)`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` responseText`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89DDFF`,\"--shiki-dark-font-style\":`italic`},children:` await`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` response`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#4078F2`,\"--shiki-dark\":`#82AAFF`},children:`text`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`()`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:`let`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` responseBody`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#C18401`,\"--shiki-dark\":`#FFCB6B`},children:` ApiErrorResponse`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` |`}),_jsx(_components.span,{style:{color:`#C18401`,\"--shiki-dark\":`#FFCB6B`},children:` Record`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#FFCB6B`},children:`string`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#FFCB6B`},children:` unknown`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`>`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` |`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#FFCB6B`},children:` unknown`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89DDFF`,\"--shiki-dark-font-style\":`italic`},children:`try`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` responseBody`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` responseText`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` ?`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#4078F2`,\"--shiki-dark\":`#82AAFF`},children:`parse`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#F07178`},children:`(`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`responseText`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#F07178`},children:`) `}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {};`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`}`}),_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89DDFF`,\"--shiki-dark-font-style\":`italic`},children:` catch`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` console`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#4078F2`,\"--shiki-dark\":`#82AAFF`},children:`error`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#F07178`},children:`(`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`Response was not JSON:`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#F07178`},children:`)`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` console`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#4078F2`,\"--shiki-dark\":`#82AAFF`},children:`error`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#F07178`},children:`(`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`responseText`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#F07178`},children:`)`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89DDFF`,\"--shiki-dark-font-style\":`italic`},children:` throw`}),_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#89DDFF`},children:` new`}),_jsx(_components.span,{style:{color:`#4078F2`,\"--shiki-dark\":`#82AAFF`},children:` Error`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#F07178`},children:`(`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`Seed Ambient session context returned non-JSON response`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#F07178`},children:`)`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`console`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#4078F2`,\"--shiki-dark\":`#82AAFF`},children:`log`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`(`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`HTTP status:`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` response`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#EEFFFF`},children:`status`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`)`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`console`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#4078F2`,\"--shiki-dark\":`#82AAFF`},children:`log`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`(`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`Response body:`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#4078F2`,\"--shiki-dark\":`#82AAFF`},children:`stringify`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`(responseBody`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#89DDFF`},children:` null`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#F78C6C`},children:` 2`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`))`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89DDFF`,\"--shiki-dark-font-style\":`italic`},children:`if`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` (response`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#EEFFFF`},children:`status`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` ===`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#F78C6C`},children:` 200`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:`) `}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` console`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#4078F2`,\"--shiki-dark\":`#82AAFF`},children:`log`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#F07178`},children:`(`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`Context seeded successfully.`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#F07178`},children:`)`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`}`}),_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89DDFF`,\"--shiki-dark-font-style\":`italic`},children:` else`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#A626A4`,\"--shiki-dark\":`#C792EA`},children:` const`}),_jsx(_components.span,{style:{color:`#986801`,\"--shiki-dark\":`#EEFFFF`},children:` error`}),_jsx(_components.span,{style:{color:`#0184BC`,\"--shiki-dark\":`#89DDFF`},children:` =`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` responseBody`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89DDFF`,\"--shiki-dark-font-style\":`italic`},children:` as`}),_jsx(_components.span,{style:{color:`#C18401`,\"--shiki-dark\":`#FFCB6B`},children:` ApiErrorResponse`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` console`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#4078F2`,\"--shiki-dark\":`#82AAFF`},children:`error`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#F07178`},children:`(`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`Seed Ambient session context failed.`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#F07178`},children:`)`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` console`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#4078F2`,\"--shiki-dark\":`#82AAFF`},children:`error`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#F07178`},children:`(`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`code:`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` error`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#EEFFFF`},children:`code`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#F07178`},children:`)`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` console`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#4078F2`,\"--shiki-dark\":`#82AAFF`},children:`error`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#F07178`},children:`(`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#C3E88D`},children:`message:`}),_jsx(_components.span,{style:{color:`#50A14F`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`,`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#EEFFFF`},children:` error`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`.`}),_jsx(_components.span,{style:{color:`#E45649`,\"--shiki-dark\":`#EEFFFF`},children:`message`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#F07178`},children:`)`}),_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#383A42`,\"--shiki-dark\":`#89DDFF`},children:`}`})}),`\n`]})})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`endpoint-reference`,children:`Endpoint reference`})]})}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":{"codeStyling":{"theme":{"light":"one-light","dark":"material-theme-darker"}},"config":{},"pageMetadata":{"title":"Seed Ambient Session Context","sidebarTitle":"Seed Ambient Session Context","openapi":"POST /api/v1/ambient/session/{ambient_session_id}/context","description":"Provide clinical context and patient information for Ambient session","href":"/api-reference/ambient-sessions/context"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What you can send","slug":"what-you-can-send","depth":3,"children":[]},{"title":"Field validation and constraints","slug":"field-validation-and-constraints","depth":3,"children":[]},{"title":"Medication order requirements","slug":"medication-order-requirements","depth":3,"children":[]},{"title":"Precharted content and Embedded Forms","slug":"precharted-content-and-embedded-forms","depth":3,"children":[]},{"title":"Code examples","slug":"code-examples","depth":2,"children":[{"title":"Endpoint reference","slug":"endpoint-reference","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/suki-1e08f176/4be3b3db5ccd0660/scripts/export-pdf.js","/_mintlify/custom/suki-1e08f176/6c8a275827cf1d9b/scripts/install-copy.js","/_mintlify/custom/suki-1e08f176/72d2f1f9d56b13c1/scripts/read-time.js","/_mintlify/custom/suki-1e08f176/d1af89e3040fe9a9/scripts/release-notes-print-scope.js","/_mintlify/custom/suki-1e08f176/001605b6d16dbecc/scripts/wide-content.js","/_mintlify/custom/suki-1e08f176/0a68e6012e9228cb/scripts/mcp-navbar-dropdown.js","/_mintlify/custom/suki-1e08f176/c482ec34be0d4330/scripts/sdk-tab-menu-beta-badges.js","/_mintlify/custom/suki-1e08f176/ff2c529b4c57e28f/scripts/sidebar-collapse.js","/_mintlify/custom/suki-1e08f176/7a80b27eede9d28b/scripts/suki-spa-navigation.js","/_mintlify/custom/suki-1e08f176/e3208b12ce3b9174/scripts/api-changelog-filter.js","/_mintlify/custom/suki-1e08f176/93753e94d24c350e/scripts/api-tab-menu-new-badge.js","/_mintlify/custom/suki-1e08f176/4b5b55036138115a/scripts/body-font-size.js","/_mintlify/custom/suki-1e08f176/390096554f95c282/scripts/focus-mode.js","/_mintlify/custom/suki-1e08f176/a2cf4e93f850e8d0/scripts/glossary-index-data.js","/_mintlify/custom/suki-1e08f176/12ad9593ccfa169d/scripts/more-from-suki-navbar-dropdown.js","/_mintlify/custom/suki-1e08f176/c2a5808cb06007b7/scripts/multilingual-lang-filter.js","/_mintlify/custom/suki-1e08f176/cb9d9ea4984a3d55/scripts/release-notes-subscribe.js","/_mintlify/custom/suki-1e08f176/d7841b244465e802/scripts/specialties-table-search.js","/_mintlify/custom/suki-1e08f176/a77e57b790140262/scripts/use-case-explorer.js","/_mintlify/custom/suki-1e08f176/2cba09c3c9f8f9e3/scripts/suki-doc-footer.js","/_mintlify/custom/suki-1e08f176/ea4cb415e5e32d91/scripts/toc-scroll-sync.js","/_mintlify/custom/suki-1e08f176/4b6417cd39bc5920/scripts/api-error-messages-filter.js","/_mintlify/custom/suki-1e08f176/4109401e9dc16eac/scripts/docs-survey-config.js","/_mintlify/custom/suki-1e08f176/8f8c6099fd0692dc/scripts/docs-survey.js","/_mintlify/custom/suki-1e08f176/1e15b615811bf697/scripts/chatbot-assistant-bridge.js","/_mintlify/custom/suki-1e08f176/5254a260e068b642/scripts/glossary-letter-anchors.js","/_mintlify/custom/suki-1e08f176/2a41160d508509fc/scripts/reader-controls-routes.js","/_mintlify/custom/suki-1e08f176/d34f2dc00aa36fbb/scripts/release-notes-jump-timeline-data.js","/_mintlify/custom/suki-1e08f176/11427007e37ac576/suki-chatbot.js","/_mintlify/custom/suki-1e08f176/8a5d72e2a4e674c7/scripts/doc-tutorial-full-code.js","/_mintlify/custom/suki-1e08f176/7e1928326b6e64af/scripts/faq-index-data.js","/_mintlify/custom/suki-1e08f176/1a06e4a273425045/scripts/suki-desktop-theme-switcher.js","/_mintlify/custom/suki-1e08f176/315b0f1c3b404b39/scripts/tut-hub.js","/_mintlify/custom/suki-1e08f176/1b51d8358a57117f/scripts/agent-skill-versions-data.js","/_mintlify/custom/suki-1e08f176/040eb4dd4f03bda3/scripts/install-skill.js","/_mintlify/custom/suki-1e08f176/6fee53def4fdd798/scripts/learn-tab-menu-new-badge.js","/_mintlify/custom/suki-1e08f176/345c3e051be6efca/scripts/cb-recipe-run.js","/_mintlify/custom/suki-1e08f176/21a9a9a679589e3d/scripts/home-hero-search.js","/_mintlify/custom/suki-1e08f176/e2d26e3a514fea6f/scripts/code-block-wrap.js","/_mintlify/custom/suki-1e08f176/9d1240ef69d10508/scripts/home-learn-counts-data.js","/_mintlify/custom/suki-1e08f176/e4415d295279aac2/scripts/home-learn-promo.js","/_mintlify/custom/suki-1e08f176/f41e61257722aa94/scripts/mermaid-loading.js","/_mintlify/custom/suki-1e08f176/39e890ec91cca9fc/scripts/recently-viewed-sticky.js","/_mintlify/custom/suki-1e08f176/e013ee85bb9e1225/scripts/resources-tab-menu-badges.js","/_mintlify/custom/suki-1e08f176/00c48a0061f3a708/scripts/tut-card-media.js","/_mintlify/custom/suki-1e08f176/2c40099d31951650/scripts/tut-code-explorer.js","/_mintlify/custom/suki-1e08f176/9d36463e0c1488d3/scripts/page-tools.js","/_mintlify/custom/suki-1e08f176/feb8015f7ceb3efd/scripts/support-mailto-draft.js","/_mintlify/custom/suki-1e08f176/ba5685f8ce7f1983/scripts/web-sdk-changelog-filter.js","/_mintlify/custom/suki-1e08f176/825b51377a225325/scripts/webhook-event-catalog.js","/_mintlify/custom/suki-1e08f176/caa39cf40c97e411/scripts/banner-link-new-tab.js","/_mintlify/custom/suki-1e08f176/fb79091ffa88c247/scripts/doc-type-title-badge.js","/_mintlify/custom/suki-1e08f176/3ac53df42033b038/scripts/doc-type-title-data.js","/_mintlify/custom/suki-1e08f176/dd36c1b98d50efb8/scripts/mobile-toc-bar.js","/_mintlify/custom/suki-1e08f176/b267370f5e9a0dd5/scripts/page-loading-indicator.js","/_mintlify/custom/suki-1e08f176/f6ec33e56e3e9cd5/scripts/find-search-map-data.js","/_mintlify/custom/suki-1e08f176/687cf29e27fc0446/scripts/mintlify-search-filters.js","/_mintlify/custom/suki-1e08f176/f759ceef720986cb/scripts/mermaid-sequence-animate.js"],"narration":{"path":"api-reference/ambient-sessions/context","locale":"en","estimatedDurationSec":282},"openApiReferenceData":{"operation":{"tags":["/api/v1/ambient/session"],"summary":"Seed ambient session context","description":"Provide clinical context and patient information for Ambient session","parameters":["5dc34d3a-ebe5-4d20-b725-3e3c894a5dc9","8a73952e-f9cb-4520-938b-faef49de6b10"],"requestBody":"69e16bab-3d76-49ad-b1b2-15b0ac3e1029","responses":{"200":"d205af2a-e9ae-4008-a89b-4b664e495b27","400":"d065336b-079b-4415-b6d4-6aaf3856211a","401":"27175913-810f-4862-a65f-980821df80e8","403":"3382db0a-3ac3-41ea-bd83-9474e7a2a8fe","404":"6520314e-5141-448d-89db-ca7c5edf9bfb","500":"8c7c30da-abaa-4e53-ac50-d9061de26d7a"},"x-codegen-request-body-name":"body","x-codeSamples":[{"lang":"bash","label":"cURL","source":"curl --request POST \\\n --url https://sdp.suki.ai/api/v1/ambient/session/\u003cambient_session_id>/context \\\n --header 'Content-Type: application/json' \\\n --header 'sdp_suki_token: \u003csdp_suki_token>' \\\n --header 'sdp_provider_id: \u003csdp_provider_id>' \\\n --data '{\n \"diagnoses\": {\n \"values\": [\n {\n \"codes\": [\n {\n \"code\": \"30422\",\n \"description\": \"Essential hypertension\",\n \"type\": \"IMO\"\n }\n ],\n \"diagnosis_note\": \"Hypertension\"\n }\n ]\n },\n \"emr\": {\n \"target_emr\": \"ATHENA\"\n },\n \"orders\": {\n \"medication_orders\": {\n \"values\": [\n {\n \"dosage\": {\n \"quantity\": 1,\n \"raw_value\": \"1 tablet\",\n \"unit\": \"TAB\"\n },\n \"drug_name\": \"Acetaminophen 500mg Tab\",\n \"duration_in_days\": 7,\n \"end_date\": \"2026-01-08T00:00:00Z\",\n \"format\": {\n \"raw_value\": \"Tablet\"\n },\n \"frequency\": {\n \"raw_value\": \"once daily\",\n \"structured_value\": \"ONE_A_DAY\"\n },\n \"instructions\": \"Take with food\",\n \"linked_diagnosis_codes\": [\n {\n \"code\": \"I10\",\n \"type\": \"ICD10\"\n }\n ],\n \"medication_code\": {\n \"code\": \"860975\",\n \"type\": \"RXCUI\"\n },\n \"medication_timing\": {\n \"raw_value\": \"morning\",\n \"structured_value\": \"IN_THE_MORNING\"\n },\n \"metadata\": {\n \"encounter_relation\": \"CURRENT_ENCOUNTER\",\n \"origin\": \"SUKI_AMBIENT\"\n },\n \"number_of_refills\": 3,\n \"quantity_dispensed\": \"1 box\",\n \"route\": {\n \"raw_value\": \"Oral\"\n },\n \"start_date\": \"2026-01-01T00:00:00Z\",\n \"status\": \"ACTIVE\",\n \"strength\": {\n \"raw_value\": \"500mg\"\n }\n }\n ]\n }\n },\n \"patient\": {\n \"dob\": \"2000-01-01\",\n \"sex\": \"male\"\n },\n \"provider\": {\n \"role\": \"ATTENDING\",\n \"specialty\": \"CARDIOLOGY\"\n },\n \"sections\": [\n {\n \"loinc\": \"10164-2\",\n \"precharted_content\": [\n {\n \"type\": \"string\",\n \"text\": \"Patient reported low mood and poor sleep at the last visit.\"\n },\n {\n \"type\": \"structured\",\n \"template_id\": \"hpi-mood-v1\",\n \"fields\": [\n {\n \"id\": \"slot-symptoms\",\n \"key\": \"symptoms\",\n \"context\": \"Which symptoms has the patient had?\",\n \"type\": \"multi_select\",\n \"options\": [\n \"low mood\",\n \"poor sleep\",\n \"anxiety\"\n ]\n },\n {\n \"id\": \"slot-duration\",\n \"key\": \"symptom_duration\",\n \"context\": \"How long have the symptoms been present?\",\n \"type\": \"radio\",\n \"options\": [\n \"recently\",\n \"in the last two weeks\",\n \"for over 6 months\"\n ]\n },\n {\n \"id\": \"slot-onset\",\n \"key\": \"onset_date\",\n \"type\": \"date\"\n }\n ]\n }\n ]\n }\n ],\n \"visit\": {\n \"chief_complaint\": \"Headache\",\n \"encounter_type\": \"AMBULATORY\",\n \"reason_for_visit\": \"Follow-up for migraines\",\n \"visit_type\": \"ESTABLISHED_PATIENT\"\n }\n}'"}],"security":["62cde27c-9dc2-4d91-b03d-d6be1296a826"],"method":"post","type":"path","servers":["84557c11-3940-452f-b576-cd4a21a3d775"],"path":"/api/v1/ambient/session/{ambient_session_id}/context","baseUrlOptions":["https://sdp.suki.ai"],"title":"Seed ambient session context","codeSamples":[{"label":"cURL","lang":"bash","source":"curl --request POST \\\n --url https://sdp.suki.ai/api/v1/ambient/session/\u003cambient_session_id>/context \\\n --header 'Content-Type: application/json' \\\n --header 'sdp_suki_token: \u003csdp_suki_token>' \\\n --header 'sdp_provider_id: \u003csdp_provider_id>' \\\n --data '{\n \"diagnoses\": {\n \"values\": [\n {\n \"codes\": [\n {\n \"code\": \"30422\",\n \"description\": \"Essential hypertension\",\n \"type\": \"IMO\"\n }\n ],\n \"diagnosis_note\": \"Hypertension\"\n }\n ]\n },\n \"emr\": {\n \"target_emr\": \"ATHENA\"\n },\n \"orders\": {\n \"medication_orders\": {\n \"values\": [\n {\n \"dosage\": {\n \"quantity\": 1,\n \"raw_value\": \"1 tablet\",\n \"unit\": \"TAB\"\n },\n \"drug_name\": \"Acetaminophen 500mg Tab\",\n \"duration_in_days\": 7,\n \"end_date\": \"2026-01-08T00:00:00Z\",\n \"format\": {\n \"raw_value\": \"Tablet\"\n },\n \"frequency\": {\n \"raw_value\": \"once daily\",\n \"structured_value\": \"ONE_A_DAY\"\n },\n \"instructions\": \"Take with food\",\n \"linked_diagnosis_codes\": [\n {\n \"code\": \"I10\",\n \"type\": \"ICD10\"\n }\n ],\n \"medication_code\": {\n \"code\": \"860975\",\n \"type\": \"RXCUI\"\n },\n \"medication_timing\": {\n \"raw_value\": \"morning\",\n \"structured_value\": \"IN_THE_MORNING\"\n },\n \"metadata\": {\n \"encounter_relation\": \"CURRENT_ENCOUNTER\",\n \"origin\": \"SUKI_AMBIENT\"\n },\n \"number_of_refills\": 3,\n \"quantity_dispensed\": \"1 box\",\n \"route\": {\n \"raw_value\": \"Oral\"\n },\n \"start_date\": \"2026-01-01T00:00:00Z\",\n \"status\": \"ACTIVE\",\n \"strength\": {\n \"raw_value\": \"500mg\"\n }\n }\n ]\n }\n },\n \"patient\": {\n \"dob\": \"2000-01-01\",\n \"sex\": \"male\"\n },\n \"provider\": {\n \"role\": \"ATTENDING\",\n \"specialty\": \"CARDIOLOGY\"\n },\n \"sections\": [\n {\n \"loinc\": \"10164-2\",\n \"precharted_content\": [\n {\n \"type\": \"string\",\n \"text\": \"Patient reported low mood and poor sleep at the last visit.\"\n },\n {\n \"type\": \"structured\",\n \"template_id\": \"hpi-mood-v1\",\n \"fields\": [\n {\n \"id\": \"slot-symptoms\",\n \"key\": \"symptoms\",\n \"context\": \"Which symptoms has the patient had?\",\n \"type\": \"multi_select\",\n \"options\": [\n \"low mood\",\n \"poor sleep\",\n \"anxiety\"\n ]\n },\n {\n \"id\": \"slot-duration\",\n \"key\": \"symptom_duration\",\n \"context\": \"How long have the symptoms been present?\",\n \"type\": \"radio\",\n \"options\": [\n \"recently\",\n \"in the last two weeks\",\n \"for over 6 months\"\n ]\n },\n {\n \"id\": \"slot-onset\",\n \"key\": \"onset_date\",\n \"type\": \"date\"\n }\n ]\n }\n ]\n }\n ],\n \"visit\": {\n \"chief_complaint\": \"Headache\",\n \"encounter_type\": \"AMBULATORY\",\n \"reason_for_visit\": \"Follow-up for migraines\",\n \"visit_type\": \"ESTABLISHED_PATIENT\"\n }\n}'"}],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{"5dc34d3a-ebe5-4d20-b725-3e3c894a5dc9":{"name":"ambient_session_id","in":"path","description":"UUID for the ambient session. Use the `ambient_session_id` returned from Create Ambient Session, or the UUID you supplied in that request.","required":true,"schema":{"type":"string","isRequired":true,"description":"UUID for the ambient session. Use the `ambient_session_id` returned from Create Ambient Session, or the UUID you supplied in that request.","uniqueKey":"","typeLabel":"string"}},"8a73952e-f9cb-4520-938b-faef49de6b10":{"name":"sdp_provider_id","in":"header","description":"**Optional** for standard partners.\n\n**Required** for:\n\n- **Bearer authentication.** Use the same `provider_id` returned by the Login or Register API.\n- **Single Auth Token authentication.** Include the same `provider_id` on every request as `sdp_provider_id`.","required":false,"schema":{"type":"string","example":"provider-123","isRequired":false,"description":"**Optional** for standard partners.\n\n**Required** for:\n\n- **Bearer authentication.** Use the same `provider_id` returned by the Login or Register API.\n- **Single Auth Token authentication.** Include the same `provider_id` on every request as `sdp_provider_id`.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"diagnoses":{"type":"object","description":"**Optional** - Existing diagnoses and coded values to include in note generation.","properties":{"values":{"description":"(Optional) Array of diagnosis requests","type":"array","items":{"type":"object","properties":{"codes":{"type":"array","description":"**Optional** - Codes associated with the diagnosis. When sending context, use ICD10 or IMO. HCC codes are returned in structured data output only.","items":{"type":"object","properties":{"code":{"description":"Code value","type":"string","example":"30422","uniqueKey":"diagnoses.values.items.[INDEX].codes.items.[INDEX].code","typeLabel":"string"},"description":{"description":"Description of the code","type":"string","example":"Essential hypertension","uniqueKey":"diagnoses.values.items.[INDEX].codes.items.[INDEX].description","typeLabel":"string"},"type":{"type":"string","enum":["UNSPECIFIED","IMO","ICD10","SNOMED"],"example":"IMO","uniqueKey":"diagnoses.values.items.[INDEX].codes.items.[INDEX].type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"diagnoses.values.items.[INDEX].codes.items.[INDEX]","typeLabel":"object"},"uniqueKey":"diagnoses.values.items.[INDEX].codes","typeLabel":"object[]"},"diagnosis_note":{"type":"string","description":"**Optional** - Diagnosis note","example":"Hypertension","uniqueKey":"diagnoses.values.items.[INDEX].diagnosis_note","typeLabel":"string"}},"uniqueKey":"diagnoses.values.items.[INDEX]","typeLabel":"object"},"uniqueKey":"diagnoses.values","typeLabel":"object[]"}},"uniqueKey":"diagnoses","typeLabel":"object"},"emr":{"type":"object","description":"**Optional** - EMR context, including the target EMR system.","properties":{"target_emr":{"type":"string","description":"**Optional** - Target EMR for context-aware processing, such as order submission and validation rules. Supported values include ATHENA, EPIC, and CERNER.","enum":["ATHENA","EPIC","CERNER"],"example":"ATHENA","uniqueKey":"emr.target_emr","typeLabel":"enum\u003cstring>"}},"uniqueKey":"emr","typeLabel":"object"},"orders":{"type":"object","description":"**Optional** - Medication orders and related order context.","properties":{"medication_orders":{"type":"object","description":"**Optional** - Medication orders supplied in context","properties":{"values":{"type":"array","description":"**Optional** - Medication order requests","items":{"type":"object","required":["drug_name","status"],"properties":{"drug_name":{"type":"string","description":"**Required** - Full medication name","example":"Acetaminophen 500mg Tab","isRequired":true,"uniqueKey":"orders.medication_orders.values.items.[INDEX].drug_name","typeLabel":"string"},"status":{"type":"string","description":"**Required** - Order status","enum":["ACTIVE","DISCONTINUED","REFILLED"],"example":"ACTIVE","isRequired":true,"uniqueKey":"orders.medication_orders.values.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"dosage":{"type":"object","description":"**Optional** - Amount per administration","properties":{"quantity":{"description":"(Optional) Dosage quantity","type":"number","example":1,"uniqueKey":"orders.medication_orders.values.items.[INDEX].dosage.quantity","typeLabel":"number"},"raw_value":{"description":"(Optional) Raw dosage text","type":"string","example":"1 tablet","uniqueKey":"orders.medication_orders.values.items.[INDEX].dosage.raw_value","typeLabel":"string"},"unit":{"description":"(Optional) Dosage unit","type":"string","example":"TAB","uniqueKey":"orders.medication_orders.values.items.[INDEX].dosage.unit","typeLabel":"string"}},"uniqueKey":"orders.medication_orders.values.items.[INDEX].dosage","typeLabel":"object"},"duration_in_days":{"type":"integer","description":"**Optional** - Duration in days","example":7,"uniqueKey":"orders.medication_orders.values.items.[INDEX].duration_in_days","typeLabel":"integer"},"end_date":{"type":"string","description":"**Optional** - End date-time (RFC3339)","example":"2026-01-08T00:00:00Z","uniqueKey":"orders.medication_orders.values.items.[INDEX].end_date","typeLabel":"string"},"format":{"type":"object","description":"**Optional** - Physical dosage form","properties":{"raw_value":{"description":"(Optional) Raw medication form","type":"string","example":"Tablet","uniqueKey":"orders.medication_orders.values.items.[INDEX].format.raw_value","typeLabel":"string"}},"uniqueKey":"orders.medication_orders.values.items.[INDEX].format","typeLabel":"object"},"frequency":{"type":"object","description":"**Optional** - Administration frequency","properties":{"raw_value":{"description":"(Optional) Raw frequency text","type":"string","example":"once daily","uniqueKey":"orders.medication_orders.values.items.[INDEX].frequency.raw_value","typeLabel":"string"},"structured_value":{"description":"(Optional) Frequency enum","type":"string","example":"ONE_A_DAY","uniqueKey":"orders.medication_orders.values.items.[INDEX].frequency.structured_value","typeLabel":"string"}},"uniqueKey":"orders.medication_orders.values.items.[INDEX].frequency","typeLabel":"object"},"instructions":{"type":"string","description":"**Optional** - Free-form instructions","example":"Take with food","uniqueKey":"orders.medication_orders.values.items.[INDEX].instructions","typeLabel":"string"},"linked_diagnosis_codes":{"type":"array","description":"**Optional** - Diagnosis codes linked to this order. When provided, each entry should match a diagnosis already supplied under `diagnoses` (same coding system) so the platform can validate the link.","items":{"type":"object","properties":{"code":{"description":"**Optional** - Diagnosis code value","type":"string","example":"I10","uniqueKey":"orders.medication_orders.values.items.[INDEX].linked_diagnosis_codes.items.[INDEX].code","typeLabel":"string"},"type":{"description":"**Optional** - Diagnosis coding system","type":"string","example":"ICD10","uniqueKey":"orders.medication_orders.values.items.[INDEX].linked_diagnosis_codes.items.[INDEX].type","typeLabel":"string"}},"uniqueKey":"orders.medication_orders.values.items.[INDEX].linked_diagnosis_codes.items.[INDEX]","typeLabel":"object"},"uniqueKey":"orders.medication_orders.values.items.[INDEX].linked_diagnosis_codes","typeLabel":"object[]"},"medication_code":{"type":"object","description":"**Optional** - Standardized medication code (see `MedicationCode`)","properties":{"code":{"description":"**Optional** - Medication code value","type":"string","example":"860975","uniqueKey":"orders.medication_orders.values.items.[INDEX].medication_code.code","typeLabel":"string"},"type":{"description":"**Optional** - Medication coding system","type":"string","enum":["RXCUI","NDC"],"example":"RXCUI","uniqueKey":"orders.medication_orders.values.items.[INDEX].medication_code.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"orders.medication_orders.values.items.[INDEX].medication_code","typeLabel":"object"},"medication_timing":{"type":"object","description":"**Optional** - Timing modifiers","properties":{"raw_value":{"description":"(Optional) Raw timing text","type":"string","example":"morning","uniqueKey":"orders.medication_orders.values.items.[INDEX].medication_timing.raw_value","typeLabel":"string"},"structured_value":{"description":"(Optional) Medication timing enum","type":"string","example":"IN_THE_MORNING","uniqueKey":"orders.medication_orders.values.items.[INDEX].medication_timing.structured_value","typeLabel":"string"}},"uniqueKey":"orders.medication_orders.values.items.[INDEX].medication_timing","typeLabel":"object"},"metadata":{"type":"object","description":"**Required** - Order metadata. **`origin`** is required (`EMR` or `SUKI_AMBIENT`). **`encounter_relation`** is **required** when **`origin`** is **`EMR`** (see `OrderMetadata`).","required":["origin"],"properties":{"origin":{"type":"string","description":"**Required** - Source of the order","enum":["EMR","SUKI_AMBIENT"],"example":"SUKI_AMBIENT","isRequired":true,"uniqueKey":"orders.medication_orders.values.items.[INDEX].metadata.origin","typeLabel":"enum\u003cstring>"},"encounter_relation":{"type":"string","description":"**Required when `origin` is `EMR`** - How this order relates to the encounter. Set to **`CURRENT_ENCOUNTER`** or **`PRIOR_ENCOUNTER`**.","enum":["CURRENT_ENCOUNTER","PRIOR_ENCOUNTER"],"example":"CURRENT_ENCOUNTER","uniqueKey":"orders.medication_orders.values.items.[INDEX].metadata.encounter_relation","typeLabel":"enum\u003cstring>"}},"uniqueKey":"orders.medication_orders.values.items.[INDEX].metadata","typeLabel":"object"},"number_of_refills":{"type":"integer","description":"**Optional** - Number of refills","example":3,"uniqueKey":"orders.medication_orders.values.items.[INDEX].number_of_refills","typeLabel":"integer"},"quantity_dispensed":{"type":"string","description":"**Optional** - Quantity dispensed","example":"1 box","uniqueKey":"orders.medication_orders.values.items.[INDEX].quantity_dispensed","typeLabel":"string"},"route":{"type":"object","description":"**Optional** - Administration route","properties":{"raw_value":{"description":"(Optional) Raw administration route","type":"string","example":"Oral","uniqueKey":"orders.medication_orders.values.items.[INDEX].route.raw_value","typeLabel":"string"}},"uniqueKey":"orders.medication_orders.values.items.[INDEX].route","typeLabel":"object"},"start_date":{"type":"string","description":"**Optional** - Start date-time (RFC3339)","example":"2026-01-01T00:00:00Z","uniqueKey":"orders.medication_orders.values.items.[INDEX].start_date","typeLabel":"string"},"strength":{"type":"object","description":"**Optional** - Medication strength or concentration (`raw_value` until standardized values are finalized)","properties":{"raw_value":{"description":"(Optional) Raw strength value","type":"string","example":"500mg","uniqueKey":"orders.medication_orders.values.items.[INDEX].strength.raw_value","typeLabel":"string"}},"uniqueKey":"orders.medication_orders.values.items.[INDEX].strength","typeLabel":"object"}},"uniqueKey":"orders.medication_orders.values.items.[INDEX]","typeLabel":"object"},"uniqueKey":"orders.medication_orders.values","typeLabel":"object[]"}},"uniqueKey":"orders.medication_orders","typeLabel":"object"}},"uniqueKey":"orders","typeLabel":"object"},"patient":{"type":"object","description":"**Optional** - Patient demographics such as date of birth and sex.","properties":{"dob":{"description":"(Optional) {YYYY-MM-DD}","type":"string","example":"2000-01-01","uniqueKey":"patient.dob","typeLabel":"string"},"insurance":{"type":"object","description":"(Optional) Insurance coverages. Used for E/M coding.","properties":{"coverages":{"type":"array","items":{"description":"A single insurance coverage, as provided by the EMR","type":"object","properties":{"eligibility_status":{"description":"(Optional) Eligibility status.","type":"string","example":"Eligible","uniqueKey":"patient.insurance.coverages.items.[INDEX].eligibility_status","typeLabel":"string"},"insurance_payer_name_raw":{"description":"(Optional) Raw payer name.","type":"string","example":"AETNA","uniqueKey":"patient.insurance.coverages.items.[INDEX].insurance_payer_name_raw","typeLabel":"string"},"insurance_product_type_raw":{"description":"(Optional) Raw insurance product type.","type":"string","example":"PPO","uniqueKey":"patient.insurance.coverages.items.[INDEX].insurance_product_type_raw","typeLabel":"string"},"insurance_type_raw":{"description":"(Optional) Raw insurance type.","type":"string","example":"Commercial","uniqueKey":"patient.insurance.coverages.items.[INDEX].insurance_type_raw","typeLabel":"string"},"sequence_number":{"description":"(Optional) \"1\" for primary, \"2\" for secondary, etc.","type":"string","example":"1","uniqueKey":"patient.insurance.coverages.items.[INDEX].sequence_number","typeLabel":"string"}},"uniqueKey":"patient.insurance.coverages.items.[INDEX]","typeLabel":"object"},"uniqueKey":"patient.insurance.coverages","typeLabel":"object[]"}},"uniqueKey":"patient.insurance","typeLabel":"object"},"mrn":{"description":"(Optional) Patient medical record number, up to 64 characters. Used for E/M coding.","type":"string","example":"MRN-12345","uniqueKey":"patient.mrn","typeLabel":"string"},"name":{"type":"any","description":"(Optional) Patient name for create + note label","uniqueKey":"patient.name","typeLabel":"any"},"patient_id":{"description":"(Optional) Partner patient id (maps to ms-patients emr_id)","type":"string","example":"partner-patient-123","uniqueKey":"patient.patient_id","typeLabel":"string"},"patient_type":{"description":"(Optional) Used for E/M coding.","type":"string","enum":["NEW_PATIENT","ESTABLISHED_PATIENT"],"example":"ESTABLISHED_PATIENT","uniqueKey":"patient.patient_type","typeLabel":"enum\u003cstring>"},"sex":{"description":"(Optional)","type":"string","enum":["male","female","other","unknown"],"example":"male","uniqueKey":"patient.sex","typeLabel":"enum\u003cstring>"}},"uniqueKey":"patient","typeLabel":"object"},"provider":{"type":"object","description":"**Optional** - Provider role and specialty for the session.","properties":{"first_name":{"description":"(Optional) Used for E/M coding.","type":"string","example":"Jane","uniqueKey":"provider.first_name","typeLabel":"string"},"last_name":{"description":"(Optional) Used for E/M coding.","type":"string","example":"Doe","uniqueKey":"provider.last_name","typeLabel":"string"},"npi":{"description":"(Optional) National Provider Identifier, up to 64 characters. Used for E/M coding.","type":"string","example":"1234567893","uniqueKey":"provider.npi","typeLabel":"string"},"role":{"description":"(Optional)","type":"string","example":"ATTENDING","uniqueKey":"provider.role","typeLabel":"string"},"specialty":{"description":"(Optional)","type":"string","example":"CARDIOLOGY","uniqueKey":"provider.specialty","typeLabel":"string"}},"uniqueKey":"provider","typeLabel":"object"},"sections":{"type":"array","description":"**Optional** - Information about the sections to be generated.\nIf not provided, all supported [note-sections](/documentation/concepts/ambient-clinical-notes/note-sections) will be generated.","items":{"type":"object","required":["loinc"],"properties":{"loinc":{"type":"string","description":"LOINC code for the section. Supported Loinc codes are available at: [note-sections](/documentation/concepts/ambient-clinical-notes/note-sections)","example":"10164-2","isRequired":true,"uniqueKey":"sections.items.[INDEX].loinc","typeLabel":"string"},"precharted_content":{"type":"array","description":"**Optional** - Content you already have for this section, Embedded Form templates, or both. Each entry is either `type: \"string\"` (prior section text) or `type: \"structured\"` (an Embedded Form template). You can send more than one `structured` entry on the same LOINC. Refer to [Embedded Forms](/documentation/concepts/ambient-clinical-notes/embedded-forms).","items":{"type":"object","required":["type"],"description":"One entry in `sections[].precharted_content`. Send `text` when `type` is `string`. Send `template_id` and `fields` when `type` is `structured`. Do not mix them in one entry.","properties":{"type":{"type":"string","enum":["string","structured"],"description":"**Required** - `string` for prior section text, or `structured` for an Embedded Form template. Entries with any other value are skipped.","example":"structured","isRequired":true,"uniqueKey":"sections.items.[INDEX].precharted_content.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"**Required when `type` is `string`** - Prior text for this section, such as history already in the chart. Suki considers it with the visit conversation when it generates the section.","example":"Patient reported low mood and poor sleep at the last visit.","uniqueKey":"sections.items.[INDEX].precharted_content.items.[INDEX].text","typeLabel":"string"},"template_id":{"type":"string","description":"**Required when `type` is `structured`** - Your stable ID for the template. The same value comes back on the filled values. A `structured` entry without `template_id` is skipped and returns no filled values.","example":"hpi-mood-v1","uniqueKey":"sections.items.[INDEX].precharted_content.items.[INDEX].template_id","typeLabel":"string"},"fields":{"type":"array","description":"**Required when `type` is `structured`** - The fields you want Suki to fill from the visit.","items":{"type":"object","required":["key","type"],"description":"A field in an Embedded Form template. `context` and `options` are used for filling only and do not come back on the read endpoints.","properties":{"key":{"type":"string","description":"**Required** - Stable machine name for the field. The same value comes back on the filled value.","example":"symptom_duration","isRequired":true,"uniqueKey":"sections.items.[INDEX].precharted_content.items.[INDEX].fields.items.[INDEX].key","typeLabel":"string"},"type":{"type":"string","enum":["text","radio","multi_select","date"],"description":"**Required** - Field type. `radio` and `multi_select` need `options`. Get the current list from [Structured data field types](/api-reference/info/structured-data-field-types).","example":"radio","isRequired":true,"uniqueKey":"sections.items.[INDEX].precharted_content.items.[INDEX].fields.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"**Optional** - Your ID for the field. Suki returns it unchanged on the filled value so you can map the answer back to your form.","example":"slot-duration","uniqueKey":"sections.items.[INDEX].precharted_content.items.[INDEX].fields.items.[INDEX].id","typeLabel":"string"},"context":{"type":"string","description":"**Optional** - What the field asks for, for example `How long have the symptoms been present?`. You can include other field `id` values as `{id}` placeholders, for example `Patient has had {slot-symptoms} for {slot-duration}`. Not returned on read.","example":"How long have the symptoms been present?","uniqueKey":"sections.items.[INDEX].precharted_content.items.[INDEX].fields.items.[INDEX].context","typeLabel":"string"},"options":{"type":"array","items":{"type":"string","uniqueKey":"sections.items.[INDEX].precharted_content.items.[INDEX].fields.items.[INDEX].options.items.[INDEX]","typeLabel":"string"},"description":"**Required for `radio` and `multi_select`** - The choices Suki can pick from. Not returned on read.","example":["recently","in the last two weeks","for over 6 months"],"uniqueKey":"sections.items.[INDEX].precharted_content.items.[INDEX].fields.items.[INDEX].options","typeLabel":"string[]"}},"uniqueKey":"sections.items.[INDEX].precharted_content.items.[INDEX].fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"sections.items.[INDEX].precharted_content.items.[INDEX].fields","typeLabel":"object[]"}},"uniqueKey":"sections.items.[INDEX].precharted_content.items.[INDEX]","typeLabel":"object"},"uniqueKey":"sections.items.[INDEX].precharted_content","typeLabel":"object[]"}},"uniqueKey":"sections.items.[INDEX]","typeLabel":"object"},"uniqueKey":"sections","typeLabel":"object[]"},"visit":{"type":"object","description":"**Optional** - Visit details such as chief complaint and encounter type.","properties":{"chief_complaint":{"description":"(Optional)","type":"string","example":"Headache","uniqueKey":"visit.chief_complaint","typeLabel":"string"},"csn":{"description":"(Optional) Contact Serial Number, up to 64 characters. Used for E/M coding.","type":"string","example":"CSN-12345","uniqueKey":"visit.csn","typeLabel":"string"},"date_of_service":{"description":"(Optional) {YYYY-MM-DD}, not in the future. Used for E/M coding.","type":"string","example":"2026-01-01","uniqueKey":"visit.date_of_service","typeLabel":"string"},"encounter_type":{"description":"(Optional)","type":"string","example":"AMBULATORY","uniqueKey":"visit.encounter_type","typeLabel":"string"},"reason_for_visit":{"description":"(Optional)","type":"string","example":"Follow-up for migraines","uniqueKey":"visit.reason_for_visit","typeLabel":"string"},"total_time_minutes":{"description":"(Optional) Total clinician time in minutes, greater than 0. Used for time-based E/M coding.","type":"integer","example":35,"uniqueKey":"visit.total_time_minutes","typeLabel":"integer"},"visit_type":{"description":"(Optional)","type":"string","example":"ESTABLISHED_PATIENT","uniqueKey":"visit.visit_type","typeLabel":"string"}},"uniqueKey":"visit","typeLabel":"object"}},"description":"Clinical context for the ambient session, including provider, patient, visit, sections, diagnoses, EMR, and medication orders.","uniqueKey":"","typeLabel":"object"},"example":{"diagnoses":{"values":[{"codes":[{"code":"30422","description":"Essential hypertension","type":"IMO"}],"diagnosis_note":"Hypertension"}]},"emr":{"target_emr":"ATHENA"},"orders":{"medication_orders":{"values":[{"dosage":{"quantity":1,"raw_value":"1 tablet","unit":"TAB"},"drug_name":"Acetaminophen 500mg Tab","duration_in_days":7,"end_date":"2026-01-08T00:00:00Z","format":{"raw_value":"Tablet"},"frequency":{"raw_value":"once daily","structured_value":"ONE_A_DAY"},"instructions":"Take with food","linked_diagnosis_codes":[{"code":"I10","type":"ICD10"}],"medication_code":{"code":"860975","type":"RXCUI"},"medication_timing":{"raw_value":"morning","structured_value":"IN_THE_MORNING"},"metadata":{"encounter_relation":"CURRENT_ENCOUNTER","origin":"SUKI_AMBIENT"},"number_of_refills":3,"quantity_dispensed":"1 box","route":{"raw_value":"Oral"},"start_date":"2026-01-01T00:00:00Z","status":"ACTIVE","strength":{"raw_value":"500mg"}}]}},"patient":{"dob":"2000-01-01","sex":"male"},"provider":{"role":"ATTENDING","specialty":"CARDIOLOGY"},"sections":[{"loinc":"10164-2","precharted_content":[{"type":"string","text":"Patient reported low mood and poor sleep at the last visit."},{"type":"structured","template_id":"hpi-mood-v1","fields":[{"id":"slot-symptoms","key":"symptoms","context":"Which symptoms has the patient had?","type":"multi_select","options":["low mood","poor sleep","anxiety"]},{"id":"slot-duration","key":"symptom_duration","context":"How long have the symptoms been present?","type":"radio","options":["recently","in the last two weeks","for over 6 months"]},{"id":"slot-onset","key":"onset_date","type":"date"}]}]}],"visit":{"chief_complaint":"Headache","encounter_type":"AMBULATORY","reason_for_visit":"Follow-up for migraines","visit_type":"ESTABLISHED_PATIENT"}},"examples":{"Example":{"title":"Example","value":{"diagnoses":{"values":[{"codes":[{"code":"30422","description":"Essential hypertension","type":"IMO"}],"diagnosis_note":"Hypertension"}]},"emr":{"target_emr":"ATHENA"},"orders":{"medication_orders":{"values":[{"dosage":{"quantity":1,"raw_value":"1 tablet","unit":"TAB"},"drug_name":"Acetaminophen 500mg Tab","duration_in_days":7,"end_date":"2026-01-08T00:00:00Z","format":{"raw_value":"Tablet"},"frequency":{"raw_value":"once daily","structured_value":"ONE_A_DAY"},"instructions":"Take with food","linked_diagnosis_codes":[{"code":"I10","type":"ICD10"}],"medication_code":{"code":"860975","type":"RXCUI"},"medication_timing":{"raw_value":"morning","structured_value":"IN_THE_MORNING"},"metadata":{"encounter_relation":"CURRENT_ENCOUNTER","origin":"SUKI_AMBIENT"},"number_of_refills":3,"quantity_dispensed":"1 box","route":{"raw_value":"Oral"},"start_date":"2026-01-01T00:00:00Z","status":"ACTIVE","strength":{"raw_value":"500mg"}}]}},"patient":{"dob":"2000-01-01","sex":"male"},"provider":{"role":"ATTENDING","specialty":"CARDIOLOGY"},"sections":[{"loinc":"10164-2","precharted_content":[{"type":"string","text":"Patient reported low mood and poor sleep at the last visit."},{"type":"structured","template_id":"hpi-mood-v1","fields":[{"id":"slot-symptoms","key":"symptoms","context":"Which symptoms has the patient had?","type":"multi_select","options":["low mood","poor sleep","anxiety"]},{"id":"slot-duration","key":"symptom_duration","context":"How long have the symptoms been present?","type":"radio","options":["recently","in the last two weeks","for over 6 months"]},{"id":"slot-onset","key":"onset_date","type":"date"}]}]}],"visit":{"chief_complaint":"Headache","encounter_type":"AMBULATORY","reason_for_visit":"Follow-up for migraines","visit_type":"ESTABLISHED_PATIENT"}}}},"exampleType":"examples"}},"required":true,"exampleType":"examples"},"responses":{"d205af2a-e9ae-4008-a89b-4b664e495b27":{"description":"Request succeeded.","content":{},"exampleType":"generated"},"d065336b-079b-4415-b6d4-6aaf3856211a":{"description":"Bad request. The request body or parameters failed validation.","content":{"application/json":{"schema":{"description":"Bad Request Response","type":"object","properties":{"code":{"type":"integer","example":400,"uniqueKey":"code","typeLabel":"integer"},"message":{"type":"string","example":"invalid request","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":400,"message":"invalid request"}}},"exampleType":"generated"}},"exampleType":"generated"},"27175913-810f-4862-a65f-980821df80e8":{"description":"Unauthorized. The Suki access token is missing, expired, or invalid.","content":{"application/json":{"schema":{"description":"Authentication Failure Response","type":"object","properties":{"code":{"type":"integer","example":401,"uniqueKey":"code","typeLabel":"integer"},"message":{"type":"string","example":"invalid token","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":401,"message":"invalid token"}}},"exampleType":"generated"}},"exampleType":"generated"},"3382db0a-3ac3-41ea-bd83-9474e7a2a8fe":{"description":"Forbidden. The authenticated user cannot access this resource.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","example":403,"description":"HTTP status code for the error.","uniqueKey":"code","typeLabel":"integer"},"message":{"type":"string","example":"forbidden","description":"Human-readable description of the authorization failure.","uniqueKey":"message","typeLabel":"string"}},"description":"Error response when the caller lacks permission.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":403,"message":"forbidden"}}},"exampleType":"generated"}},"exampleType":"generated"},"6520314e-5141-448d-89db-ca7c5edf9bfb":{"description":"Not found. The session, encounter, or resource ID does not exist.","content":{"application/json":{"schema":{"description":"Not Found Response","type":"object","properties":{"code":{"type":"integer","example":404,"uniqueKey":"code","typeLabel":"integer"},"message":{"type":"string","example":"not found","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":404,"message":"not found"}}},"exampleType":"generated"}},"exampleType":"generated"},"8c7c30da-abaa-4e53-ac50-d9061de26d7a":{"description":"Internal server error.","content":{"application/json":{"schema":{"description":"Internal Server Error Response","type":"object","properties":{"code":{"type":"integer","example":500,"uniqueKey":"code","typeLabel":"integer"},"message":{"type":"string","example":"internal server error","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":500,"message":"internal server error"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"62cde27c-9dc2-4d91-b03d-d6be1296a826":{"SukiTokenAuth":{"type":"apiKey","in":"header","name":"sdp_suki_token","description":"Suki access token (`suki_token`) from Login or Register. Expires after one hour.","scopes":[],"schemeName":"SukiTokenAuth"}}},"servers":{"84557c11-3940-452f-b576-cd4a21a3d775":{"url":"https://sdp.suki.ai","description":"Production base URL for Suki Developer Platform REST APIs. WebSocket endpoints use the same host with `wss://`."}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"sdp_suki_token","description":"Suki access token (`suki_token`) from Login or Register. Expires after one hour.","scopes":[],"schemeName":"SukiTokenAuth"},"schema":{"title":"sdp_suki_token","type":"string","description":"Suki access token (`suki_token`) from Login or Register. Expires after one hour.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"SukiTokenAuth","name":"sdp_suki_token"}],"title":"SukiTokenAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"suki-1e08f176","siteName":"Suki","title":"Seed Ambient Session Context - Suki","relatedPagesConfig":{"enabled":false,"limit":3,"mode":"automatic"},"contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-25T11:42:29.939Z","gitLastModified":"2026-11-25T11:39:59.000Z","originalFileLocation":"api-reference/ambient-sessions/context.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=\"Provide clinical context and patient information for Ambient session\">\u003cmeta data-mint-head name=\"application-name\" content=\"Suki\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/suki-1e08f176/chwSqXoYdzbBLOrz/_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/suki-1e08f176/chwSqXoYdzbBLOrz/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/suki-1e08f176/chwSqXoYdzbBLOrz/_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/suki-1e08f176/chwSqXoYdzbBLOrz/_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/suki-1e08f176/chwSqXoYdzbBLOrz/_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/suki-1e08f176/chwSqXoYdzbBLOrz/_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/suki-1e08f176/chwSqXoYdzbBLOrz/_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/suki-1e08f176/chwSqXoYdzbBLOrz/_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/suki-1e08f176/chwSqXoYdzbBLOrz/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Seed Ambient Session Context - Suki\">\u003cmeta data-mint-head property=\"og:description\" content=\"Provide clinical context and patient information for Ambient session\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Suki Developer Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developer.suki.ai/api-reference/ambient-sessions/context\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://suki-1e08f176.mintlify.site/_mintlify/api/og/v2?division=Ambient+Session+Management\u0026amp;title=Seed+Ambient+Session+Context\u0026amp;description=Provide+clinical+context+and+patient+information+for+Ambient+session\u0026amp;theme=76261d2c4c9044755aea96d5\u0026amp;signature=d6c65030ea79b8ca1a349e75cde0719a5214a1c40dfc672251d1fb1154afaba8\">\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=\"Seed Ambient Session Context - Suki\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Provide clinical context and patient information for Ambient session\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://suki-1e08f176.mintlify.site/_mintlify/api/og/v2?division=Ambient+Session+Management\u0026amp;title=Seed+Ambient+Session+Context\u0026amp;description=Provide+clinical+context+and+patient+information+for+Ambient+session\u0026amp;theme=76261d2c4c9044755aea96d5\u0026amp;signature=d6c65030ea79b8ca1a349e75cde0719a5214a1c40dfc672251d1fb1154afaba8\">\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/suki-1e08f176/chwSqXoYdzbBLOrz/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Suki\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6F5410\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developer.suki.ai/api-reference/ambient-sessions/context\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/ambient-sessions/context.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developer.suki.ai/#organization\",\"name\":\"Suki\",\"url\":\"https://developer.suki.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/suki-1e08f176/Ty1qetPx27FuOOjL/logo/nav-suki-dark.svg?fit=max\u0026auto=format\u0026n=Ty1qetPx27FuOOjL\u0026q=85\u0026s=5971f67d212fc42c3fb3cf10f0d453e7\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developer.suki.ai#website\",\"name\":\"Suki\",\"url\":\"https://developer.suki.ai\",\"publisher\":{\"@id\":\"https://developer.suki.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developer.suki.ai/api-reference/ambient-sessions/context#webpage\",\"url\":\"https://developer.suki.ai/api-reference/ambient-sessions/context\",\"name\":\"Seed Ambient Session Context\",\"description\":\"Provide clinical context and patient information for Ambient session\",\"dateModified\":\"2026-11-25T11:39:59.000Z\",\"isPartOf\":{\"@id\":\"https://developer.suki.ai#website\"},\"breadcrumb\":{\"@id\":\"https://developer.suki.ai/api-reference/ambient-sessions/context#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developer.suki.ai/api-reference/ambient-sessions/context#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API References\",\"item\":\"https://developer.suki.ai/api-reference/authentication\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ambient Session Management\",\"item\":\"https://developer.suki.ai/api-reference/ambient-session-management\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Seed Ambient Session Context\",\"item\":\"https://developer.suki.ai/api-reference/ambient-sessions/context\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developer.suki.ai/api-reference/ambient-sessions/context#apireference\",\"headline\":\"Seed Ambient Session Context\",\"name\":\"Seed Ambient Session Context\",\"description\":\"Provide clinical context and patient information for Ambient session\",\"url\":\"https://developer.suki.ai/api-reference/ambient-sessions/context\",\"mainEntityOfPage\":{\"@id\":\"https://developer.suki.ai/api-reference/ambient-sessions/context#webpage\"},\"dateModified\":\"2026-11-25T11:39:59.000Z\",\"publisher\":{\"@id\":\"https://developer.suki.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://developer.suki.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Suki\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Suki\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/ambient-sessions/context.md","siteName":"Suki","nav":{"global":null,"tabs":[{"tab":"Home","pages":[{"title":"Home","href":"/documentation/home"}]},{"tab":"Docs","pages":[{"title":"Docs","href":"/documentation/get-started/overview"}]},{"tab":"SDKs","menu":[{"item":"Suki SDKs Overview","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/material/rocket_launch.svg","pages":[{"title":"Suki SDKs Overview","href":"/sdk-overview/overview"}]},{"item":"Web SDK","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/material/deployed_code.svg","pages":[{"title":"Web SDK","href":"/web-sdk"}]},{"item":"Mobile SDK","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/material/smartphone.svg","pages":[{"title":"Mobile SDK","href":"/mobile-sdk"}]},{"item":"Headless Web SDK","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/suki/script.svg","pages":[{"title":"Headless Web SDK","href":"/headless-web-sdk"}]},{"item":"Dictation SDK","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/suki/mic.svg","pages":[{"title":"Dictation SDK","href":"/dictation-sdk"}]},{"item":"Form Filling SDK","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/suki/note.svg","pages":[{"title":"Form Filling SDK","href":"/form-filling-sdk"}]}],"pages":[{"title":"SDKs","href":"/sdk-overview/overview"}]},{"tab":"APIs","menu":[{"item":"Suki APIs Overview","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/material/rocket_launch.svg","pages":[{"title":"Suki APIs Overview","href":"/api-overview/overview"}]},{"item":"Ambient \u0026 Dictation APIs","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/suki/script.svg","groups":[{"group":"Get Started","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/material/rocket_launch.svg","pages":[{"title":"Ambient \u0026 Dictation APIs Overview","sidebarTitle":"Overview","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/material/menu_book.svg","href":"/api-reference/overview"},{"title":"Ambient API Quickstart","sidebarTitle":"Quickstart","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/material/rocket_launch.svg","href":"/api-reference/quickstart"},{"title":"Ambient \u0026 Dictation Error Messages","sidebarTitle":"Error Messages","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/suki/caution.svg","href":"/api-reference/error-messages"},{"title":"Ambient \u0026 Dictation APIs Changelog","sidebarTitle":"Changelog","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/suki/activity.svg","href":"/api-reference/product-updates/changelog"}]},{"group":"API References","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/suki/script.svg","pages":[{"group":"Authentication","pages":[{"title":"Authentication APIs","sidebarTitle":"Overview","href":"/api-reference/authentication"},{"title":"Register","sidebarTitle":"Register","openapi":"POST /api/v1/auth/register","href":"/api-reference/authentication/register"},{"title":"Login","sidebarTitle":"Login","openapi":"POST /api/v1/auth/login","href":"/api-reference/authentication/login"},{"title":"JWKS URL","openapi":"GET /api/auth/.well-known/jwks-pub.json","href":"/api-reference/authentication/jwks"}]},{"group":"Ambient Session Management","pages":[{"title":"Ambient Session Management APIs","sidebarTitle":"Overview","href":"/api-reference/ambient-session-management"},{"title":"Create Ambient Session","sidebarTitle":"Create Ambient Session","openapi":"POST /api/v1/ambient/session/create","description":"Initialize a new Ambient session for patient encounter documentation","href":"/api-reference/ambient-sessions/create"},{"title":"Seed Ambient Session Context","sidebarTitle":"Seed Ambient Session Context","openapi":"POST /api/v1/ambient/session/{ambient_session_id}/context","href":"/api-reference/ambient-sessions/context"},{"title":"Update Ambient Session Context","sidebarTitle":"Update Ambient Session Context","openapi":"PATCH /api/v1/ambient/session/{ambient_session_id}/context","description":"Update existing session context with new clinical information","href":"/api-reference/ambient-sessions/update-context"},{"title":"Ambient Session Metadata","sidebarTitle":"Ambient Session Metadata","openapi":"POST /api/v1/ambient/session/{ambient_session_id}/metadata","tag":"DEPRECATED","href":"/api-reference/ambient-sessions/metadata"},{"title":"Audio Streaming","sidebarTitle":"Audio Streaming","openapi":"GET /ws/stream","tag":"WS","href":"/api-reference/ambient-sessions/audio-stream"},{"title":"Get Audio File Upload URL","sidebarTitle":"Get Audio File Upload URL","openapi":"GET /api/v1/ambient/audio/file-uploadurl/{ambient_session_id}","tag":"NEW","href":"/api-reference/ambient-sessions/file-uploadurl"},{"title":"Submit Transcript Input","sidebarTitle":"Submit Transcript Input","openapi":"POST /api/v1/ambient/session/{ambient_session_id}/transcript-input","tag":"NEW","href":"/api-reference/ambient-sessions/transcript-input"},{"title":"End Ambient Session","sidebarTitle":"End Ambient Session","openapi":"POST /api/v1/ambient/session/{ambient_session_id}/end","href":"/api-reference/ambient-sessions/end"}]},{"group":"Dictation","pages":[{"title":"Dictation APIs","sidebarTitle":"Overview","href":"/api-reference/ambient-dictation"},{"title":"Create Dictation Session","sidebarTitle":"Create Dictation Session","openapi":"POST /api/v1/transcription/session/create","href":"/api-reference/audio-transcription/create-session"},{"title":"Dictation Session Streaming","sidebarTitle":"Stream Dictation Session Audio","openapi":"GET /ws/transcribe","tag":"WS","href":"/api-reference/audio-transcription/stream-transcription"},{"title":"End Dictation Session","sidebarTitle":"End Dictation Session","openapi":"POST /api/v1/transcription/session/{transcription_session_id}/end","href":"/api-reference/audio-transcription/end-session"},{"group":"Content Rewrite","pages":[{"title":"Rewrite Content","sidebarTitle":"Rewrite Content","openapi":"POST /api/v1/content/rewrite","href":"/api-reference/content/rewrite"}]}]},{"group":"Ambient Content Retrieval","pages":[{"title":"Ambient Content Retrieval APIs","sidebarTitle":"Overview","href":"/api-reference/ambient-content-retrieval"},{"title":"Get Ambient Session Status","sidebarTitle":"Ambient Session Status","openapi":"GET /api/v1/ambient/session/{ambient_session_id}/status","href":"/api-reference/ambient-content/status"},{"title":"Get Session Transcript","sidebarTitle":"Ambient Session Transcript","openapi":"GET /api/v1/ambient/session/{ambient_session_id}/transcript","href":"/api-reference/ambient-content/transcript"},{"title":"Get Ambient Session Recording","openapi":"GET /api/v1/ambient/session/{ambient_session_id}/recording","sidebarTitle":"Ambient Session Recording","href":"/api-reference/ambient-content/recording"},{"title":"Get Ambient Session Content","sidebarTitle":"Ambient Session Content","openapi":"GET /api/v1/ambient/session/{ambient_session_id}/content","href":"/api-reference/ambient-content/content"},{"title":"Get Ambient Encounter Content","sidebarTitle":"Ambient Encounter Content","openapi":"GET /api/v1/ambient/encounter/{encounter_id}/content","href":"/api-reference/ambient-content/encounter-content"},{"title":"Get Ambient Session Structured Data","sidebarTitle":"Ambient Session Structured Data","openapi":"GET /api/v1/ambient/session/{ambient_session_id}/structured-data","href":"/api-reference/ambient-content/structured-data"},{"title":"Get Ambient Encounter Structured Data","sidebarTitle":"Ambient Encounter Structured Data","openapi":"GET /api/v1/ambient/encounter/{encounter_id}/structured-data","href":"/api-reference/ambient-content/encounter-structured-data"},{"title":"Get Ambient Session Section Structured Data","sidebarTitle":"Ambient Session Section Structured Data","openapi":"GET /api/v1/ambient/session/{ambient_session_id}/structured-data/section-structured-data","href":"/api-reference/ambient-content/section-structured-data"},{"title":"Get Ambient Encounter Section Structured Data","sidebarTitle":"Ambient Encounter Section Structured Data","openapi":"GET /api/v1/ambient/encounter/{encounter_id}/structured-data/section-structured-data","href":"/api-reference/ambient-content/encounter-section-structured-data"},{"title":"List Encounter Notes","sidebarTitle":"List Encounter Notes","openapi":"GET /api/v1/ambient/encounter/{emr_encounter_id}/notes","href":"/api-reference/ambient-content/list-encounter-notes"},{"title":"Get Note Content","sidebarTitle":"Note Content","openapi":"GET /api/v1/ambient/note/{note_id}/content","href":"/api-reference/ambient-content/note-content"},{"title":"Get Note Context","sidebarTitle":"Note Context","openapi":"GET /api/v1/ambient/note/{note_id}/context","href":"/api-reference/ambient-content/note-context"},{"title":"Get Note Structured Data","sidebarTitle":"Note Structured Data","openapi":"GET /api/v1/ambient/note/{note_id}/structured-data","href":"/api-reference/ambient-content/note-structured-data"},{"title":"Retrieve E/M Codes Using Ambient Session ID","sidebarTitle":"E/M Codes Using Ambient Session ID","openapi":"GET /api/v1/ambient/session/{ambient_session_id}/structured-data/em-codes","tag":"NEW","href":"/api-reference/ambient-content/session-em-codes"},{"title":"Retrieve E/M Codes Using Encounter ID","sidebarTitle":"E/M Codes Using Encounter ID","openapi":"GET /api/v1/ambient/encounter/{encounter_id}/structured-data/em-codes","tag":"NEW","href":"/api-reference/ambient-content/encounter-em-codes"},{"title":"Retrieve E/M Codes Using Note ID","sidebarTitle":"E/M Codes Using Note ID","openapi":"GET /api/v1/ambient/note/{note_id}/structured-data/em-codes","tag":"NEW","href":"/api-reference/ambient-content/note-em-codes"}]},{"group":"User Preferences","pages":[{"title":"User Preferences API","sidebarTitle":"Overview","href":"/api-reference/user-preferences"},{"title":"User Preferences","sidebarTitle":"User Preferences","openapi":"PATCH /api/v1/user/preferences","href":"/api-reference/user-preferences/preferences"}]},{"group":"User Feedback","pages":[{"title":"User Feedback API","sidebarTitle":"Overview","href":"/api-reference/user-feedback"},{"title":"Ambient Session User Feedback","sidebarTitle":"Ambient Session User Feedback","openapi":"POST /api/v1/ambient/session/{session_id}/{entity}/feedback","href":"/api-reference/feedback/feedback"}]},{"group":"Send Notifications","pages":[{"title":"Send Notifications API","sidebarTitle":"Overview","href":"/api-reference/send-notifications"},{"title":"Asynchronous Notifications","sidebarTitle":"Ambient Session Asynchronous Notifications","openapi":"POST /webhooks/notification","tag":"WEBHOOK","href":"/api-reference/asynchronous/webhook"}]},{"group":"Info","pages":[{"title":"Info APIs","sidebarTitle":"Overview","href":"/api-reference/info"},{"title":"System Information","sidebarTitle":"System Information","openapi":"GET /api/v1/info","href":"/api-reference/info/information"},{"title":"Encounter Information","sidebarTitle":"Encounter Information","openapi":"GET /api/v1/ambient/encounter/{emr_encounter_id}/info","href":"/api-reference/info/get-encounter-info"},{"title":"Supported LOINCs","sidebarTitle":"Supported LOINCs","openapi":"GET /api/v1/info/loincs","href":"/api-reference/info/loincs"},{"title":"Supported Diagnosis Codes","sidebarTitle":"Diagnosis Codes","openapi":"GET /api/v1/info/diagnosis","href":"/api-reference/info/diagnosis"},{"title":"Supported Medical Specialties","openapi":"GET /api/v1/info/specialties","href":"/api-reference/info/specialties"},{"title":"Encounter Types","sidebarTitle":"Encounter Types","openapi":"GET /api/v1/info/encounter-types","href":"/api-reference/info/encounter-types"},{"title":"Visit Types","sidebarTitle":"Visit Types","openapi":"GET /api/v1/info/visit-types","href":"/api-reference/info/visit-types"},{"title":"Provider Roles","openapi":"GET /api/v1/info/provider-roles","href":"/api-reference/info/provider-roles"},{"title":"Structured Data Field Types","sidebarTitle":"Structured Data Field Types","openapi":"GET /api/v1/info/structured-data-field-types","href":"/api-reference/info/structured-data-field-types"}]},{"group":"Medication Orders Info","pages":[{"title":"Medication Orders Info APIs","sidebarTitle":"Overview","href":"/api-reference/medication-orders-info"},{"title":"Medication Order Metadata","sidebarTitle":"Order Metadata","openapi":"GET /api/v1/info/orders","href":"/api-reference/info/orders"},{"title":"Medication Coding Systems","sidebarTitle":"Order Coding Systems","openapi":"GET /api/v1/info/orders/coding-systems","href":"/api-reference/info/orders-coding-systems"},{"title":"Medication Dosage Units","sidebarTitle":"Order Dosage Units","openapi":"GET /api/v1/info/orders/dosage-units","href":"/api-reference/info/orders-dosage-units"},{"title":"Order Encounter Relations","sidebarTitle":"Order Encounter Relations","openapi":"GET /api/v1/info/orders/encounter-relations","href":"/api-reference/info/orders-encounter-relations"},{"title":"Medication Frequency Types","sidebarTitle":"Order Frequencies","openapi":"GET /api/v1/info/orders/frequencies","href":"/api-reference/info/orders-frequencies"},{"title":"Medication Timings","sidebarTitle":"Order Timings","openapi":"GET /api/v1/info/orders/medication-timings","href":"/api-reference/info/orders-medication-timings"},{"title":"Order Origins","sidebarTitle":"Order Origins","openapi":"GET /api/v1/info/orders/origins","href":"/api-reference/info/orders-origins"},{"title":"Medication Order Statuses","sidebarTitle":"Order Statuses","openapi":"GET /api/v1/info/orders/statuses","href":"/api-reference/info/orders-statuses"}]}]}]},{"item":"Form Filling APIs","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/suki/script.svg","pages":[{"title":"Form Filling APIs","href":"/form-filling-api-reference/overview"}]},{"item":"Patient Summary APIs","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/suki/script.svg","pages":[{"title":"Patient Summary APIs","href":"/patient-summary-api-reference/overview"}]},{"item":"E/M Coding APIs","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/suki/script.svg","pages":[{"title":"E/M Coding APIs","href":"/em-coding-api-reference/overview"}]}]},{"tab":"Learn","menu":[{"item":"Cookbooks","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/material/menu_book.svg","pages":[{"title":"Cookbooks","href":"/documentation/cookbooks/overview"}]},{"item":"Tutorials","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/material/school.svg","pages":[{"title":"Tutorials","href":"/documentation/tutorials/overview"}]}],"pages":[{"title":"Learn","href":"/documentation/cookbooks/overview"}]},{"tab":"Resources","menu":[{"item":"Glossary","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/material/menu_book.svg","pages":[{"title":"Glossary","href":"/Glossary/glossary"}]},{"item":"Releases","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/suki/calendar.svg","pages":[{"title":"Releases","href":"/updates/release-notes"}]},{"item":"System Status","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/suki/cell-tower.svg","href":"https://status-platform.suki.ai/"},{"item":"Troubleshooting","icon":"https://mintlify.s3.us-west-1.amazonaws.com/suki-1e08f176/icons/material/build.svg","pages":[{"title":"Troubleshooting","href":"/documentation/troubleshooting/overview"}]}],"pages":[{"title":"Resources","href":"/Glossary/glossary"}]}]},"basePath":"","title":"Seed Ambient Session Context - Suki","deploymentId":"dpl_4DWa5VHHws8GyZotTfaG5njNqY1w","buildId":"dpl_4DWa5VHHws8GyZotTfaG5njNqY1w","dynamics":["10e4515597","c2aa737661","2bfc744e19","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["BannerMarkdown-DyzLiT8c.js","dist-C_2TOOIX.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","OpenApiReferenceProvider-BSmGr6_d.js","snippetPresets-ScYHtgPH.js","utils-CEQwJl7d.js","style-to-object-BY3JEAdk.js","utils-B22OY4jq.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-D7Wy8St1.js","conditional-requirements-CFM0id0Q.js","cloneDeep-BR14VZ6P.js","_Uint8Array-C_Hiqjf5.js","isObject-FP1Yky1u.js","NarrationPlayer-DGoMc1Az.js","types-CiTgMxws.js","shallow-Bpslp4zw.js","Page-BkBC9rKz.js","api-description-markdown-viF3flEw.js","DynamicMarkdown-ChHD_AmO.js","CodeSnippet-SObXR_MO.js","use-playground-group-access-B94EDetc.js","SectionHeading-BXzqAgc6.js","ApiExamples-rpsi2T43.js","usePlaygroundInputsStore-CUAKkrDg.js","isEqual-HLimTTXg.js","CodeSnippets-CZ_WZFtq.js","MethodPill-D2328AeU.js","getPastedJson-BDyiAD6x.js","Check2Icon-8iE1_yY_.js","axios-CsQoIw0U.js","Markdown-ChbbJS-9.js","AssistantPageLink-DbSMdE4V.js"]}