Patch body for updating a modifiable order's scheduled activation date.
activate_by
string<date> | null
required
The date on which the order should be activated (dispatched to the lab). Must be today or a future date. Set to null to clear an existing scheduled date and dispatch the order immediately. Note: an order originally created for immediate processing (no activate_by at creation time) cannot be rescheduled — only orders that were created with an activate_by can have it changed or cleared.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Junction","colors":{"primary":"#3D1836","light":"#D8DFE6","dark":"#3D1836"},"logo":{"light":"https://mintcdn.com/vital/eMrsGYbovvX8f4E9/logo/light.svg?fit=max\u0026auto=format\u0026n=eMrsGYbovvX8f4E9\u0026q=85\u0026s=ee117f69d6fb95bfe3444b1599cbf4ab","dark":"https://mintcdn.com/vital/eMrsGYbovvX8f4E9/logo/dark.svg?fit=max\u0026auto=format\u0026n=eMrsGYbovvX8f4E9\u0026q=85\u0026s=ebc0213ee8884949409e32422590de09"},"favicon":"https://mintcdn.com/vital/deJB3IUUpJEYmyW_/favicon.png?fit=max\u0026auto=format\u0026n=deJB3IUUpJEYmyW_\u0026q=85\u0026s=5a29581b030d504a93dc8ec7af55eab2","api":{"openapi":["swagger.json","org-management-api.json"],"mdx":{"auth":{"method":"key","name":"x-vital-api-key"},"server":["https://api.us.junction.com","https://api.sandbox.junction.com","https://api.eu.junction.com","https://api.sandbox.eu.junction.com"]}},"navbar":{"links":[{"href":"https://github.com/tryVital","label":"GitHub","type":"github"}],"primary":{"type":"button","label":"Get API Keys","href":"https://app.junction.com/"}},"footer":{"socials":{"website":"https://www.junction.com/","twitter":"https://twitter.com/tryVital","linkedin":"https://www.linkedin.com/company/tryvital"}},"integrations":{"posthog":{"apiKey":"phc_pjvYzFeBB6z4l6JByNiic3SoHt74M9Lqw1SVrR95OCd"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"vital","hasAudioNarration":false,"actualSubdomain":"vital","customDomains":["docs.junction.com"],"gitSource":{"type":"github","owner":"tryvital","repo":"docs","deployBranch":"main","contentDirectory":"docs","mountPath":"","label":""},"feedback":{"thumbs":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6afb36192e18d8b81a1d9c4f","clientVersion":"0.0.4167","searchFilterCounts":[{"language":"default","tag":"Devices","count":299},{"language":"default","tag":"API Reference","count":226},{"language":"default","tag":"Event Catalog","count":186},{"language":"default","tag":"Lab Testing","count":135},{"language":"default","tag":"Product Guides","count":133},{"language":"default","tag":"Vitals Timeseries","count":60},{"language":"default","tag":"Management API","count":45},{"language":"default","tag":"Activity Timeseries","count":43},{"language":"default","tag":"Junction Sense","count":34},{"language":"default","tag":"Body Timeseries","count":32}]},"assistantConfig":{"enableAskAiButton":true,"enableStarterQuestions":true,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@junction.com"}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[{"_id":"6903bdd6f72d20ee0d510a59","deploymentId":"62e9e13d5c3fe5998f7f58cd","questionText":"How do I connect wearable devices?","status":"active","generatedBy":"manual","createdAt":"2025-10-30T19:34:46.230Z","updatedAt":"2025-10-30T19:34:46.230Z","__v":0},{"_id":"6903bdb5f72d20ee0d510516","deploymentId":"62e9e13d5c3fe5998f7f58cd","questionText":"Do each test kit get an individual result or we get a batch of results for multiple test kit orders?","status":"active","generatedBy":"manual","createdAt":"2025-10-30T19:34:13.487Z","updatedAt":"2025-10-30T19:34:13.487Z","__v":0},{"_id":"6903bd91f72d20ee0d50fd48","deploymentId":"62e9e13d5c3fe5998f7f58cd","questionText":"Does a Sandbox Order provide real or mock results?","status":"active","generatedBy":"manual","createdAt":"2025-10-30T19:33:37.419Z","updatedAt":"2025-10-30T19:33:37.419Z","__v":0}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/lab-testing/patch-order","slug":"/api-reference/lab-testing/patch-order","pageMetadata":{"title":"Update An Order","description":"Update an order via the Junction API. Requires authentication with your team API key.","openapi":"PATCH /v3/order/{order_id}","href":"/api-reference/lab-testing/patch-order"},"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: \"Update an order via the Junction API. Requires authentication with your team API key.\"\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{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,..._provideComponents(),...props.components},{Note}=_components;if(!Note)_missingMdxReference(`Note`,true);return _jsx(Note,{children:_jsxs(_components.p,{children:[`You can only update an order while its `,_jsx(_components.a,{href:`/lab/workflow/lab-test-lifecycle#statuses`,children:`low-level status`}),` is `,_jsx(_components.code,{children:`ordered`}),` or `,_jsx(_components.code,{children:`awaiting_registration`}),`.`]})})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update An Order","description":"Update an order via the Junction API. Requires authentication with your team API key.","openapi":"PATCH /v3/order/{order_id}","href":"/api-reference/lab-testing/patch-order"}}},"mdxSourceWithNoJs":{"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`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Note,RequestExample,ResponseExample}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Note)_missingMdxReference(`Note`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);return _jsxs(_Fragment,{children:[_jsx(Note,{children:_jsxs(_components.p,{children:[`You can only update an order while its `,_jsx(_components.a,{href:`/lab/workflow/lab-test-lifecycle#statuses`,children:`low-level status`}),` is `,_jsx(_components.code,{children:`ordered`}),` or `,_jsx(_components.code,{children:`awaiting_registration`}),`.`]})}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PATCH`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.sandbox.junction.com/v3/order/`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`order_i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'x-vital-api-key: YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"activate_by\": \"2026-06-01\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Response`,numberOfLines:`11`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"order\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0ee312e2-6773-4a21-a6e1-506882cd98ed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"team_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"cbb64555-af07-46c1-be09-ef89308e9b60\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"user_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"94e2d9f2-d600-4a23-9f08-536df378e2c7\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"activate_by\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-06-01\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"received\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"order updated\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update An Order","description":"Update an order via the Junction API. Requires authentication with your team API key.","openapi":"PATCH /v3/order/{order_id}","href":"/api-reference/lab-testing/patch-order"}}}},"mdxExtracts":{"tableOfContents":[],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"7\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --request\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> PATCH\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --url\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://api.sandbox.junction.com/v3/order/\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">\u0026#x3C;\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">order_i\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">d\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">>\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'x-vital-api-key: YOUR_API_KEY'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Content-Type: application/json'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"activate_by\": \"2026-06-01\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Response","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"11\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"order\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"0ee312e2-6773-4a21-a6e1-506882cd98ed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"team_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"cbb64555-af07-46c1-be09-ef89308e9b60\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"user_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"94e2d9f2-d600-4a23-9f08-536df378e2c7\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"activate_by\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-06-01\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"received\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"order updated\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["order"],"summary":"Update Order","description":"Update an order via the Junction API. Requires authentication with your team API key.","operationId":"update_order_v3_order__order_id__patch","parameters":["37951bae-ca35-48a8-82ba-cbea1ed66166"],"requestBody":"e1ce1c8b-bb88-4c35-b0bb-70e4c7a8fe3a","responses":{"200":"2716ca32-4af2-4e12-85e3-282f5dc5b32b","422":"063d4095-ef70-4e29-937a-b140c4bdf637"},"x-fern-sdk-group-name":"lab_tests","x-fern-sdk-method-name":"update_order","method":"patch","type":"path","servers":["5b34d830-6c07-4749-94e7-040884fdcf24","0b6c741c-6a67-45f2-a8d8-3a6b939a6372","9577be61-0c10-4fdf-9b25-859d3cf35b2d","ce9a4f8c-2ab2-4e21-859c-cd428da3a6a0"],"security":["3b8c7f68-63ba-4cd2-bc90-12c01b8c4bed"],"path":"/v3/order/{order_id}","baseUrlOptions":["https://api.us.junction.com","https://api.eu.junction.com","https://api.sandbox.us.junction.com","https://api.sandbox.eu.junction.com"],"title":"Update Order","codeSamples":[],"requiredOnlyExamples":false,"requestExamples":[{"dropdown":false,"language":"shellscript","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"shellscript","children":{"type":"code","key":null,"ref":null,"props":{"language":"shellscript","numberOfLines":"7","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#953800","--shiki-dark":"#DCDCAA"},"children":"curl"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" --request"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" PATCH"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" --url"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" https://api.sandbox.junction.com/v3/order/"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":"\u003c"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"order_i"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"d"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":">"}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" --header"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" 'x-vital-api-key: YOUR_API_KEY'"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" --header"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" 'Content-Type: application/json'"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" --data"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" '{"}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"activate_by\": \"2026-06-01\""}}}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" }'"}}}},"\n"]}}}},"filename":"cURL"}],"requestExampleType":"mdx","responseExamples":[{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"11","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"order\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": {"}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"id\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"0ee312e2-6773-4a21-a6e1-506882cd98ed\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"team_id\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"cbb64555-af07-46c1-be09-ef89308e9b60\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"user_id\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"94e2d9f2-d600-4a23-9f08-536df378e2c7\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"activate_by\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"2026-06-01\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"status\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"received\""}}]}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" },"}}}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"status\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"success\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"message\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"order updated\""}}]}},"\n",{"type":"span","key":"20","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"Response"}],"responseExampleType":"mdx"},"dependencies":{"parameters":{"37951bae-ca35-48a8-82ba-cbea1ed66166":{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Your Order ID.","title":"Order Id","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"},"description":"Your Order ID."}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"activate_by":{"oneOf":[{"type":"string","title":"Activate By","description":"The date on which the order should be activated (dispatched to the lab). Must be today or a future date. Set to `null` to clear an existing scheduled date and dispatch the order immediately. Note: an order originally created for immediate processing (no `activate_by` at creation time) cannot be rescheduled — only orders that were created with an `activate_by` can have it changed or cleared.","format":"date","isRequired":true,"uniqueKey":"activate_by.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","title":"Activate By","description":"The date on which the order should be activated (dispatched to the lab). Must be today or a future date. Set to `null` to clear an existing scheduled date and dispatch the order immediately. Note: an order originally created for immediate processing (no `activate_by` at creation time) cannot be rescheduled — only orders that were created with an `activate_by` can have it changed or cleared.","isRequired":true,"uniqueKey":"activate_by.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"activate_by","typeLabel":"string\u003cdate> | null"}},"type":"object","required":["activate_by"],"title":"UpdateOrderBody","description":"Patch body for updating a modifiable order's scheduled activation date.","uniqueKey":"","typeLabel":"UpdateOrderBody · object"},"examples":{"Example":{"title":"Example","value":{"activate_by":"2023-12-25"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"2716ca32-4af2-4e12-85e3-282f5dc5b32b":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"order":{"properties":{"user_id":{"type":"string","format":"uuid","title":"User Id","description":"User id returned by vital create user request. This id should be stored in your database against the user and used for all interactions with the vital api.","isRequired":true,"uniqueKey":"order.user_id","typeLabel":"string\u003cuuid>"},"id":{"type":"string","format":"uuid","title":"Id","description":"The Vital Order ID","isRequired":true,"uniqueKey":"order.id","typeLabel":"string\u003cuuid>"},"team_id":{"type":"string","format":"uuid","title":"Team Id","description":"Your team id.","isRequired":true,"uniqueKey":"order.team_id","typeLabel":"string\u003cuuid>"},"patient_details":{"oneOf":[{"type":"object","title":"ClientFacingPatientDetailsCompatible","description":"Patient Details","required":["dob","gender"],"properties":{"dob":{"type":"string","format":"date-time","title":"Dob","isRequired":true,"uniqueKey":"order.patient_details.oneOf.0.dob","typeLabel":"string\u003cdate-time>"},"gender":{"type":"string","title":"Gender","isRequired":true,"uniqueKey":"order.patient_details.oneOf.0.gender","typeLabel":"string"},"first_name":{"oneOf":[{"type":"string","title":"First Name","uniqueKey":"order.patient_details.oneOf.0.first_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"First Name","uniqueKey":"order.patient_details.oneOf.0.first_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.patient_details.oneOf.0.first_name","typeLabel":"string | null"},"last_name":{"oneOf":[{"type":"string","title":"Last Name","uniqueKey":"order.patient_details.oneOf.0.last_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Last Name","uniqueKey":"order.patient_details.oneOf.0.last_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.patient_details.oneOf.0.last_name","typeLabel":"string | null"},"phone_number":{"oneOf":[{"type":"string","title":"Phone Number","uniqueKey":"order.patient_details.oneOf.0.phone_number.oneOf.0","typeLabel":"string"},{"type":"null","title":"Phone Number","uniqueKey":"order.patient_details.oneOf.0.phone_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.patient_details.oneOf.0.phone_number","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","title":"Email","uniqueKey":"order.patient_details.oneOf.0.email.oneOf.0","typeLabel":"string"},{"type":"null","title":"Email","uniqueKey":"order.patient_details.oneOf.0.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.patient_details.oneOf.0.email","typeLabel":"string | null"},"medical_proxy":{"oneOf":[{"type":"object","title":"GuarantorDetails","description":"Parent/medical_proxy details. Required if patient is a minor.","required":["first_name","last_name","address","phone_number"],"properties":{"first_name":{"type":"string","title":"First Name","isRequired":true,"uniqueKey":"order.patient_details.oneOf.0.medical_proxy.oneOf.0.first_name","typeLabel":"string"},"last_name":{"type":"string","title":"Last Name","isRequired":true,"uniqueKey":"order.patient_details.oneOf.0.medical_proxy.oneOf.0.last_name","typeLabel":"string"},"address":{"properties":{"first_line":{"type":"string","title":"First Line","isRequired":true,"uniqueKey":"order.patient_details.oneOf.0.medical_proxy.oneOf.0.address.first_line","typeLabel":"string"},"country":{"type":"string","title":"Country","isRequired":true,"uniqueKey":"order.patient_details.oneOf.0.medical_proxy.oneOf.0.address.country","typeLabel":"string"},"zip":{"type":"string","title":"Zip","isRequired":true,"uniqueKey":"order.patient_details.oneOf.0.medical_proxy.oneOf.0.address.zip","typeLabel":"string"},"city":{"type":"string","title":"City","isRequired":true,"uniqueKey":"order.patient_details.oneOf.0.medical_proxy.oneOf.0.address.city","typeLabel":"string"},"state":{"type":"string","title":"State","isRequired":true,"uniqueKey":"order.patient_details.oneOf.0.medical_proxy.oneOf.0.address.state","typeLabel":"string"},"second_line":{"oneOf":[{"type":"string","title":"Second Line","default":"","uniqueKey":"order.patient_details.oneOf.0.medical_proxy.oneOf.0.address.second_line.oneOf.0","typeLabel":"string"},{"type":"null","title":"Second Line","default":"","uniqueKey":"order.patient_details.oneOf.0.medical_proxy.oneOf.0.address.second_line.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.patient_details.oneOf.0.medical_proxy.oneOf.0.address.second_line","typeLabel":"string | null"},"access_notes":{"oneOf":[{"type":"string","title":"Access Notes","maxLength":1000,"uniqueKey":"order.patient_details.oneOf.0.medical_proxy.oneOf.0.address.access_notes.oneOf.0","typeLabel":"string"},{"type":"null","title":"Access Notes","uniqueKey":"order.patient_details.oneOf.0.medical_proxy.oneOf.0.address.access_notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.patient_details.oneOf.0.medical_proxy.oneOf.0.address.access_notes","typeLabel":"string | null"}},"type":"object","required":["first_line","country","zip","city","state"],"title":"Address","isRequired":true,"uniqueKey":"order.patient_details.oneOf.0.medical_proxy.oneOf.0.address","typeLabel":"Address · object"},"phone_number":{"type":"string","title":"Phone Number","isRequired":true,"uniqueKey":"order.patient_details.oneOf.0.medical_proxy.oneOf.0.phone_number","typeLabel":"string"},"household_income":{"oneOf":[{"type":"integer","title":"Household Income","uniqueKey":"order.patient_details.oneOf.0.medical_proxy.oneOf.0.household_income.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Household Income","uniqueKey":"order.patient_details.oneOf.0.medical_proxy.oneOf.0.household_income.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.patient_details.oneOf.0.medical_proxy.oneOf.0.household_income","typeLabel":"integer | null"},"household_size":{"oneOf":[{"type":"integer","title":"Household Size","uniqueKey":"order.patient_details.oneOf.0.medical_proxy.oneOf.0.household_size.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Household Size","uniqueKey":"order.patient_details.oneOf.0.medical_proxy.oneOf.0.household_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.patient_details.oneOf.0.medical_proxy.oneOf.0.household_size","typeLabel":"integer | null"},"email":{"oneOf":[{"type":"string","title":"Email","uniqueKey":"order.patient_details.oneOf.0.medical_proxy.oneOf.0.email.oneOf.0","typeLabel":"string"},{"type":"null","title":"Email","uniqueKey":"order.patient_details.oneOf.0.medical_proxy.oneOf.0.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.patient_details.oneOf.0.medical_proxy.oneOf.0.email","typeLabel":"string | null"}},"uniqueKey":"order.patient_details.oneOf.0.medical_proxy.oneOf.0","typeLabel":"GuarantorDetails · object"},{"type":"null","description":"Parent/medical_proxy details. Required if patient is a minor.","uniqueKey":"order.patient_details.oneOf.0.medical_proxy.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.patient_details.oneOf.0.medical_proxy","typeLabel":"GuarantorDetails · object | null"},"race":{"oneOf":[{"type":"string","title":"Race","description":"If not provided, will be set to 'Not Specified' ℹ️ This enum is non-exhaustive.","enum":["african_american_or_black","asian","indigenous_native_american_alaska_native","other","pacific_islander_or_hawaiian","white_caucasian"],"uniqueKey":"order.patient_details.oneOf.0.race.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"If not provided, will be set to 'Not Specified' ℹ️ This enum is non-exhaustive.","uniqueKey":"order.patient_details.oneOf.0.race.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.patient_details.oneOf.0.race","typeLabel":"enum\u003cstring> | null"},"ethnicity":{"oneOf":[{"type":"string","title":"Ethnicity","description":"If not provided, will be set to 'Not Specified' ℹ️ This enum is non-exhaustive.","enum":["hispanic","non_hispanic","ashkenazi_jewish","other"],"uniqueKey":"order.patient_details.oneOf.0.ethnicity.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"If not provided, will be set to 'Not Specified' ℹ️ This enum is non-exhaustive.","uniqueKey":"order.patient_details.oneOf.0.ethnicity.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.patient_details.oneOf.0.ethnicity","typeLabel":"enum\u003cstring> | null"},"sexual_orientation":{"oneOf":[{"type":"string","title":"SexualOrientation","description":"If not provided, will be set to 'Not Specified' ℹ️ This enum is non-exhaustive.","enum":["lesbian_gay_or_homosexual","heterosexual_or_straight","bisexual","dont_know","other"],"uniqueKey":"order.patient_details.oneOf.0.sexual_orientation.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"If not provided, will be set to 'Not Specified' ℹ️ This enum is non-exhaustive.","uniqueKey":"order.patient_details.oneOf.0.sexual_orientation.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.patient_details.oneOf.0.sexual_orientation","typeLabel":"enum\u003cstring> | null"},"gender_identity":{"oneOf":[{"type":"string","title":"GenderIdentity","description":"If not provided, will be set to 'Not Specified' ℹ️ This enum is non-exhaustive.","enum":["male","female","female_to_male_ftm_transgender_male_trans_man","male_to_female_mtf_transgender_female_trans_woman","genderqueer","other"],"uniqueKey":"order.patient_details.oneOf.0.gender_identity.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"If not provided, will be set to 'Not Specified' ℹ️ This enum is non-exhaustive.","uniqueKey":"order.patient_details.oneOf.0.gender_identity.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.patient_details.oneOf.0.gender_identity","typeLabel":"enum\u003cstring> | null"}},"isRequired":true,"uniqueKey":"order.patient_details.oneOf.0","typeLabel":"ClientFacingPatientDetailsCompatible · object"},{"type":"null","description":"Patient Details","isRequired":true,"uniqueKey":"order.patient_details.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.patient_details","typeLabel":"ClientFacingPatientDetailsCompatible · object | null"},"patient_address":{"oneOf":[{"type":"object","title":"PatientAddressCompatible","description":"Patient Address","required":["first_line","city","state","zip","country"],"properties":{"first_line":{"type":"string","title":"First Line","isRequired":true,"uniqueKey":"order.patient_address.oneOf.0.first_line","typeLabel":"string"},"city":{"type":"string","title":"City","isRequired":true,"uniqueKey":"order.patient_address.oneOf.0.city","typeLabel":"string"},"state":{"type":"string","title":"State","isRequired":true,"uniqueKey":"order.patient_address.oneOf.0.state","typeLabel":"string"},"zip":{"type":"string","title":"Zip","isRequired":true,"uniqueKey":"order.patient_address.oneOf.0.zip","typeLabel":"string"},"country":{"type":"string","title":"Country","isRequired":true,"uniqueKey":"order.patient_address.oneOf.0.country","typeLabel":"string"},"receiver_name":{"type":"string","title":"Receiver Name","default":"","uniqueKey":"order.patient_address.oneOf.0.receiver_name","typeLabel":"string"},"second_line":{"oneOf":[{"type":"string","title":"Second Line","uniqueKey":"order.patient_address.oneOf.0.second_line.oneOf.0","typeLabel":"string"},{"type":"null","title":"Second Line","uniqueKey":"order.patient_address.oneOf.0.second_line.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.patient_address.oneOf.0.second_line","typeLabel":"string | null"},"access_notes":{"oneOf":[{"type":"string","title":"Access Notes","maxLength":1000,"uniqueKey":"order.patient_address.oneOf.0.access_notes.oneOf.0","typeLabel":"string"},{"type":"null","title":"Access Notes","uniqueKey":"order.patient_address.oneOf.0.access_notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.patient_address.oneOf.0.access_notes","typeLabel":"string | null"},"phone_number":{"oneOf":[{"type":"string","title":"Phone Number","uniqueKey":"order.patient_address.oneOf.0.phone_number.oneOf.0","typeLabel":"string"},{"type":"null","title":"Phone Number","uniqueKey":"order.patient_address.oneOf.0.phone_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.patient_address.oneOf.0.phone_number","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"order.patient_address.oneOf.0","typeLabel":"PatientAddressCompatible · object"},{"type":"null","description":"Patient Address","isRequired":true,"uniqueKey":"order.patient_address.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.patient_address","typeLabel":"PatientAddressCompatible · object | null"},"lab_test":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"","isRequired":true,"uniqueKey":"order.lab_test.id","typeLabel":"string\u003cuuid>"},"slug":{"type":"string","title":"Slug","description":"","isRequired":true,"uniqueKey":"order.lab_test.slug","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"","isRequired":true,"uniqueKey":"order.lab_test.name","typeLabel":"string"},"sample_type":{"type":"string","enum":["dried_blood_spot","arm_collector","serum","saliva","urine","stool"],"title":"LabTestSampleType","description":"ℹ️ This enum is non-exhaustive.","isRequired":true,"uniqueKey":"order.lab_test.sample_type","typeLabel":"enum\u003cstring>"},"method":{"type":"string","enum":["testkit","walk_in_test","at_home_phlebotomy","on_site_collection"],"title":"LabTestCollectionMethod","description":"ℹ️ This enum is non-exhaustive.","isRequired":true,"uniqueKey":"order.lab_test.method","typeLabel":"enum\u003cstring>"},"price":{"type":"number","title":"Price","description":"","deprecated":true,"isRequired":true,"uniqueKey":"order.lab_test.price","typeLabel":"number"},"is_active":{"type":"boolean","title":"Is Active","description":"Deprecated. Use status instead.","isRequired":true,"uniqueKey":"order.lab_test.is_active","typeLabel":"boolean"},"status":{"type":"string","enum":["active","pending_approval","inactive"],"title":"LabTestStatus","description":"ℹ️ This enum is non-exhaustive.","isRequired":true,"uniqueKey":"order.lab_test.status","typeLabel":"enum\u003cstring>"},"lab":{"oneOf":[{"type":"object","title":"ClientFacingLab","description":"","required":["id","slug","name","first_line_address","city","zipcode","collection_methods","sample_types"],"example":{"city":"San Francisco","collection_methods":["testkit"],"first_line_address":"123 Main St","id":1,"logo_url":"https://assets.tryvital.io/labs/labcorp.png","name":"LabCorp","sample_types":["saliva"],"slug":"labcorp","zipcode":"91789"},"properties":{"id":{"type":"integer","title":"Id","isRequired":true,"uniqueKey":"order.lab_test.lab.oneOf.0.id","typeLabel":"integer"},"slug":{"type":"string","title":"Slug","isRequired":true,"uniqueKey":"order.lab_test.lab.oneOf.0.slug","typeLabel":"string"},"name":{"type":"string","title":"Name","isRequired":true,"uniqueKey":"order.lab_test.lab.oneOf.0.name","typeLabel":"string"},"first_line_address":{"type":"string","title":"First Line Address","isRequired":true,"uniqueKey":"order.lab_test.lab.oneOf.0.first_line_address","typeLabel":"string"},"city":{"type":"string","title":"City","isRequired":true,"uniqueKey":"order.lab_test.lab.oneOf.0.city","typeLabel":"string"},"zipcode":{"type":"string","title":"Zipcode","isRequired":true,"uniqueKey":"order.lab_test.lab.oneOf.0.zipcode","typeLabel":"string"},"collection_methods":{"items":{"type":"string","enum":["testkit","walk_in_test","at_home_phlebotomy","on_site_collection"],"title":"LabTestCollectionMethod","description":"The method used to perform a lab test. ℹ️ This enum is non-exhaustive.","uniqueKey":"order.lab_test.lab.oneOf.0.collection_methods.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","title":"Collection Methods","isRequired":true,"uniqueKey":"order.lab_test.lab.oneOf.0.collection_methods","typeLabel":"enum\u003cstring>[]"},"sample_types":{"items":{"type":"string","enum":["dried_blood_spot","arm_collector","serum","saliva","urine","stool"],"title":"LabTestSampleType","description":"The type of sample used to perform a lab test. ℹ️ This enum is non-exhaustive.","uniqueKey":"order.lab_test.lab.oneOf.0.sample_types.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","title":"Sample Types","isRequired":true,"uniqueKey":"order.lab_test.lab.oneOf.0.sample_types","typeLabel":"enum\u003cstring>[]"},"supports_structured_results":{"oneOf":[{"type":"boolean","title":"Supports Structured Results","uniqueKey":"order.lab_test.lab.oneOf.0.supports_structured_results.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Supports Structured Results","uniqueKey":"order.lab_test.lab.oneOf.0.supports_structured_results.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.lab_test.lab.oneOf.0.supports_structured_results","typeLabel":"boolean | null"},"logo_url":{"oneOf":[{"type":"string","title":"Logo Url","uniqueKey":"order.lab_test.lab.oneOf.0.logo_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Logo Url","uniqueKey":"order.lab_test.lab.oneOf.0.logo_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.lab_test.lab.oneOf.0.logo_url","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"order.lab_test.lab.oneOf.0","typeLabel":"ClientFacingLab · object"},{"type":"null","description":"","isRequired":true,"uniqueKey":"order.lab_test.lab.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.lab_test.lab","typeLabel":"ClientFacingLab · object | null"},"markers":{"oneOf":[{"type":"array","items":{"properties":{"id":{"type":"integer","title":"Id","isRequired":true,"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].id","typeLabel":"integer"},"name":{"type":"string","title":"Name","isRequired":true,"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].name","typeLabel":"string"},"slug":{"type":"string","title":"Slug","isRequired":true,"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].slug","typeLabel":"string"},"description":{"oneOf":[{"type":"string","title":"Description","uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","title":"Description","uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].description","typeLabel":"string | null"},"lab_id":{"oneOf":[{"type":"integer","title":"Lab Id","uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].lab_id.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Lab Id","uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].lab_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].lab_id","typeLabel":"integer | null"},"provider_id":{"oneOf":[{"type":"string","title":"Provider Id","uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].provider_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Provider Id","uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].provider_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].provider_id","typeLabel":"string | null"},"required_lab_account_id":{"oneOf":[{"type":"string","title":"Required Lab Account Id","format":"uuid","uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].required_lab_account_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Required Lab Account Id","uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].required_lab_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].required_lab_account_id","typeLabel":"string\u003cuuid> | null"},"type":{"oneOf":[{"type":"string","title":"MarkerType","description":"ℹ️ This enum is non-exhaustive.","enum":["biomarker","panel"],"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"ℹ️ This enum is non-exhaustive.","uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring> | null"},"unit":{"oneOf":[{"type":"string","title":"Unit","uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].unit.oneOf.0","typeLabel":"string"},{"type":"null","title":"Unit","uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].unit.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].unit","typeLabel":"string | null"},"price":{"oneOf":[{"type":"string","title":"Price","deprecated":true,"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].price.oneOf.0","typeLabel":"string"},{"type":"null","title":"Price","deprecated":true,"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].price.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].price","typeLabel":"string | null"},"aoe":{"oneOf":[{"type":"object","title":"AoE","required":["questions"],"properties":{"questions":{"items":{"properties":{"id":{"type":"integer","format":"int64","title":"Id","isRequired":true,"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].aoe.oneOf.0.questions.items.[INDEX].id","typeLabel":"integer\u003cint64>"},"required":{"type":"boolean","title":"Required","isRequired":true,"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].aoe.oneOf.0.questions.items.[INDEX].required","typeLabel":"boolean"},"code":{"type":"string","title":"Code","isRequired":true,"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].aoe.oneOf.0.questions.items.[INDEX].code","typeLabel":"string"},"value":{"type":"string","title":"Value","isRequired":true,"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].aoe.oneOf.0.questions.items.[INDEX].value","typeLabel":"string"},"type":{"type":"string","enum":["choice","text","numeric","multi_choice"],"title":"QuestionType","description":"ℹ️ This enum is non-exhaustive.","isRequired":true,"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].aoe.oneOf.0.questions.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"sequence":{"type":"integer","title":"Sequence","isRequired":true,"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].aoe.oneOf.0.questions.items.[INDEX].sequence","typeLabel":"integer"},"answers":{"items":{"properties":{"id":{"type":"integer","title":"Id","isRequired":true,"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].aoe.oneOf.0.questions.items.[INDEX].answers.items.[INDEX].id","typeLabel":"integer"},"code":{"type":"string","title":"Code","isRequired":true,"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].aoe.oneOf.0.questions.items.[INDEX].answers.items.[INDEX].code","typeLabel":"string"},"value":{"type":"string","title":"Value","isRequired":true,"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].aoe.oneOf.0.questions.items.[INDEX].answers.items.[INDEX].value","typeLabel":"string"}},"type":"object","required":["id","code","value"],"title":"Answer","uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].aoe.oneOf.0.questions.items.[INDEX].answers.items.[INDEX]","typeLabel":"Answer · object"},"type":"array","title":"Answers","isRequired":true,"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].aoe.oneOf.0.questions.items.[INDEX].answers","typeLabel":"Answer · object[]"},"constraint":{"oneOf":[{"type":"string","title":"Constraint","uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].aoe.oneOf.0.questions.items.[INDEX].constraint.oneOf.0","typeLabel":"string"},{"type":"null","title":"Constraint","uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].aoe.oneOf.0.questions.items.[INDEX].constraint.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].aoe.oneOf.0.questions.items.[INDEX].constraint","typeLabel":"string | null"},"default":{"oneOf":[{"type":"string","title":"Default","uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].aoe.oneOf.0.questions.items.[INDEX].default.oneOf.0","typeLabel":"string"},{"type":"null","title":"Default","uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].aoe.oneOf.0.questions.items.[INDEX].default.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].aoe.oneOf.0.questions.items.[INDEX].default","typeLabel":"string | null"}},"type":"object","required":["id","required","code","value","type","sequence","answers"],"title":"Question","uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].aoe.oneOf.0.questions.items.[INDEX]","typeLabel":"Question · object"},"type":"array","title":"Questions","isRequired":true,"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].aoe.oneOf.0.questions","typeLabel":"Question · object[]"}},"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].aoe.oneOf.0","typeLabel":"AoE · object"},{"type":"null","uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].aoe.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].aoe","typeLabel":"AoE · object | null"},"a_la_carte_enabled":{"type":"boolean","title":"A La Carte Enabled","default":false,"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].a_la_carte_enabled","typeLabel":"boolean"},"common_tat_days":{"oneOf":[{"type":"integer","title":"Common Tat Days","description":"Common turnaround time for this marker, in days. Uses the legacy estimate, or `p90_tat_days_past_90_days` when percentile fields are included. Null when unavailable.","deprecated":true,"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].common_tat_days.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Common Tat Days","description":"Common turnaround time for this marker, in days. Uses the legacy estimate, or `p90_tat_days_past_90_days` when percentile fields are included. Null when unavailable.","deprecated":true,"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].common_tat_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].common_tat_days","typeLabel":"integer | null"},"worst_case_tat_days":{"oneOf":[{"type":"integer","title":"Worst Case Tat Days","description":"Worst-case turnaround time for this marker, in days. Uses the legacy estimate, or `p95_tat_days_past_90_days` when percentile fields are included. Null when unavailable.","deprecated":true,"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].worst_case_tat_days.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Worst Case Tat Days","description":"Worst-case turnaround time for this marker, in days. Uses the legacy estimate, or `p95_tat_days_past_90_days` when percentile fields are included. Null when unavailable.","deprecated":true,"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].worst_case_tat_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].worst_case_tat_days","typeLabel":"integer | null"},"p50_tat_days_past_7_days":{"oneOf":[{"type":"integer","title":"P50 Tat Days Past 7 Days","description":"50th percentile marker turnaround time for the 7-day window, rounded up to days without a buffer. Omitted for legacy estimates; null when unavailable.","uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].p50_tat_days_past_7_days.oneOf.0","typeLabel":"integer"},{"type":"null","title":"P50 Tat Days Past 7 Days","description":"50th percentile marker turnaround time for the 7-day window, rounded up to days without a buffer. Omitted for legacy estimates; null when unavailable.","uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].p50_tat_days_past_7_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].p50_tat_days_past_7_days","typeLabel":"integer | null"},"p50_tat_days_past_90_days":{"oneOf":[{"type":"integer","title":"P50 Tat Days Past 90 Days","description":"50th percentile marker turnaround time for the 90-day window, rounded up to days without a buffer. Omitted for legacy estimates; null when unavailable.","uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].p50_tat_days_past_90_days.oneOf.0","typeLabel":"integer"},{"type":"null","title":"P50 Tat Days Past 90 Days","description":"50th percentile marker turnaround time for the 90-day window, rounded up to days without a buffer. Omitted for legacy estimates; null when unavailable.","uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].p50_tat_days_past_90_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].p50_tat_days_past_90_days","typeLabel":"integer | null"},"p90_tat_days_past_7_days":{"oneOf":[{"type":"integer","title":"P90 Tat Days Past 7 Days","description":"90th percentile marker turnaround time for the 7-day window, rounded up to days without a buffer. Omitted for legacy estimates; null when unavailable.","uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].p90_tat_days_past_7_days.oneOf.0","typeLabel":"integer"},{"type":"null","title":"P90 Tat Days Past 7 Days","description":"90th percentile marker turnaround time for the 7-day window, rounded up to days without a buffer. Omitted for legacy estimates; null when unavailable.","uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].p90_tat_days_past_7_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].p90_tat_days_past_7_days","typeLabel":"integer | null"},"p90_tat_days_past_90_days":{"oneOf":[{"type":"integer","title":"P90 Tat Days Past 90 Days","description":"90th percentile marker turnaround time for the 90-day window, rounded up to days without a buffer. Omitted for legacy estimates; null when unavailable.","uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].p90_tat_days_past_90_days.oneOf.0","typeLabel":"integer"},{"type":"null","title":"P90 Tat Days Past 90 Days","description":"90th percentile marker turnaround time for the 90-day window, rounded up to days without a buffer. Omitted for legacy estimates; null when unavailable.","uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].p90_tat_days_past_90_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].p90_tat_days_past_90_days","typeLabel":"integer | null"},"p95_tat_days_past_7_days":{"oneOf":[{"type":"integer","title":"P95 Tat Days Past 7 Days","description":"95th percentile marker turnaround time for the 7-day window, rounded up to days without a buffer. Omitted for legacy estimates; null when unavailable.","uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].p95_tat_days_past_7_days.oneOf.0","typeLabel":"integer"},{"type":"null","title":"P95 Tat Days Past 7 Days","description":"95th percentile marker turnaround time for the 7-day window, rounded up to days without a buffer. Omitted for legacy estimates; null when unavailable.","uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].p95_tat_days_past_7_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].p95_tat_days_past_7_days","typeLabel":"integer | null"},"p95_tat_days_past_90_days":{"oneOf":[{"type":"integer","title":"P95 Tat Days Past 90 Days","description":"95th percentile marker turnaround time for the 90-day window, rounded up to days without a buffer. Omitted for legacy estimates; null when unavailable.","uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].p95_tat_days_past_90_days.oneOf.0","typeLabel":"integer"},{"type":"null","title":"P95 Tat Days Past 90 Days","description":"95th percentile marker turnaround time for the 90-day window, rounded up to days without a buffer. Omitted for legacy estimates; null when unavailable.","uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].p95_tat_days_past_90_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].p95_tat_days_past_90_days","typeLabel":"integer | null"},"is_orderable":{"oneOf":[{"type":"boolean","title":"Is Orderable","default":true,"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].is_orderable.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Is Orderable","default":true,"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].is_orderable.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX].is_orderable","typeLabel":"boolean | null"}},"type":"object","required":["id","name","slug"],"title":"ClientFacingMarker","example":{"aoe":{"questions":[{"answers":[{"code":"answer_code","id":1,"value":"answer_value"}],"code":"question_code","id":1,"value":"question_value"}]},"common_tat_days":3,"description":"Hemoglobin A1c is a form of hemoglobin that is measured identify your average blood sugar levels over the past 3 months.","id":1,"is_orderable":true,"lab_id":1,"name":"Hemoglobin A1c","price":"10.00","provider_id":"1234","slug":"hemoglobin-a1c","type":"biomarker","unit":"%","worst_case_tat_days":5},"uniqueKey":"order.lab_test.markers.oneOf.0.items.[INDEX]","typeLabel":"ClientFacingMarker · object"},"title":"Markers","description":"","isRequired":true,"uniqueKey":"order.lab_test.markers.oneOf.0","typeLabel":"ClientFacingMarker · object[]"},{"type":"null","title":"Markers","description":"","isRequired":true,"uniqueKey":"order.lab_test.markers.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.lab_test.markers","typeLabel":"ClientFacingMarker · object[] | null"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","isRequired":true,"uniqueKey":"order.lab_test.updated_at","typeLabel":"string\u003cdate-time>"},"version":{"oneOf":[{"type":"integer","title":"Version","description":"Immutable marker-set version represented by this response.","uniqueKey":"order.lab_test.version.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Version","description":"Immutable marker-set version represented by this response.","uniqueKey":"order.lab_test.version.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.lab_test.version","typeLabel":"integer | null"},"required_lab_account_id":{"oneOf":[{"type":"string","title":"Required Lab Account Id","description":"Lab account required by this marker-set version, or null for an account-neutral panel.","format":"uuid","uniqueKey":"order.lab_test.required_lab_account_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Required Lab Account Id","description":"Lab account required by this marker-set version, or null for an account-neutral panel.","uniqueKey":"order.lab_test.required_lab_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.lab_test.required_lab_account_id","typeLabel":"string\u003cuuid> | null"},"fasting":{"type":"boolean","title":"Fasting","description":"Defines whether a lab test requires fasting.","default":false,"uniqueKey":"order.lab_test.fasting","typeLabel":"boolean"},"is_delegated":{"type":"boolean","title":"Is Delegated","description":"Deprecated and always false. Delegation is now at the lab account level. Used to denote whether a lab test requires using non-Vital physician networks.","default":false,"deprecated":true,"uniqueKey":"order.lab_test.is_delegated","typeLabel":"boolean"},"auto_generated":{"type":"boolean","title":"Auto Generated","description":"Whether the lab test was auto-generated by Vital","default":false,"uniqueKey":"order.lab_test.auto_generated","typeLabel":"boolean"},"source_sandbox_lab_test_id":{"oneOf":[{"type":"string","title":"Source Sandbox Lab Test Id","format":"uuid","uniqueKey":"order.lab_test.source_sandbox_lab_test_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Source Sandbox Lab Test Id","uniqueKey":"order.lab_test.source_sandbox_lab_test_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.lab_test.source_sandbox_lab_test_id","typeLabel":"string\u003cuuid> | null"},"has_collection_instructions":{"oneOf":[{"type":"boolean","title":"Has Collection Instructions","description":"Whether or not the lab test has collection instructions.","uniqueKey":"order.lab_test.has_collection_instructions.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Has Collection Instructions","description":"Whether or not the lab test has collection instructions.","uniqueKey":"order.lab_test.has_collection_instructions.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.lab_test.has_collection_instructions","typeLabel":"boolean | null"},"common_tat_days":{"oneOf":[{"type":"integer","title":"Common Tat Days","description":"The common turnaround time in days for the lab test. This is the expected time for the lab to process the test and return results. Uses their legacy or percentile-based values. Null if any included marker lacks a common or worst-case estimate.","uniqueKey":"order.lab_test.common_tat_days.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Common Tat Days","description":"The common turnaround time in days for the lab test. This is the expected time for the lab to process the test and return results. Uses their legacy or percentile-based values. Null if any included marker lacks a common or worst-case estimate.","uniqueKey":"order.lab_test.common_tat_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.lab_test.common_tat_days","typeLabel":"integer | null"},"worst_case_tat_days":{"oneOf":[{"type":"integer","title":"Worst Case Tat Days","description":"The worst-case turnaround time in days for the lab test. This is the maximum time the lab may take to process the test and return results. Uses their legacy or percentile-based values. Null if any included marker lacks a common or worst-case estimate.","uniqueKey":"order.lab_test.worst_case_tat_days.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Worst Case Tat Days","description":"The worst-case turnaround time in days for the lab test. This is the maximum time the lab may take to process the test and return results. Uses their legacy or percentile-based values. Null if any included marker lacks a common or worst-case estimate.","uniqueKey":"order.lab_test.worst_case_tat_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.lab_test.worst_case_tat_days","typeLabel":"integer | null"}},"type":"object","required":["id","slug","name","sample_type","method","price","is_active","status","lab","markers","updated_at"],"title":"ClientFacingLabTest","example":{"lab_test":{"description":"Cholesterol test","fasting":false,"has_collection_instructions":false,"is_delegated":false,"lab":{"city":"New York","first_line_address":"123 Main St","name":"US Specialty Lab","slug":"USSL","zipcode":"10001"},"markers":[{"description":"Hemoglobin A1c is a form of hemoglobin that is measured identify your average blood sugar levels over the past 3 months.","id":1,"lab_id":1,"name":"Hemoglobin A1c","price":"10.00","provider_id":"1234","slug":"hemoglobin-a1c","type":"biomarker","unit":"%"}],"method":"testkit","name":"Lipids Panel","price":10,"sample_type":"dried blood spot","status":"active"},"updated_at":"2020-01-01T00:00:00Z"},"description":"The Vital Test associated with the order","isRequired":true,"uniqueKey":"order.lab_test","typeLabel":"ClientFacingLabTest · object"},"details":{"oneOf":[{"type":"object","title":"ClientFacingWalkInOrderDetails","required":["type"],"properties":{"type":{"type":"string","const":"walk_in_test","title":"Type","isRequired":true,"uniqueKey":"order.details.oneOf.0.type","typeLabel":"string"},"data":{"oneOf":[{"type":"object","title":"ClientFacingWalkInTestOrder","description":"Schema for a walk-in test order in the client facing API.\n\nTo be used as part of a ClientFacingOrder.","required":["id","created_at","updated_at"],"example":{"appointment_id":"65983201-8165-4d59-a5a1-fa9fa9f17ce6","created_at":"2020-01-01T00:00:00Z","id":"cdd1ffd5-3da6-4d20-96f8-9902c1db9043","updated_at":"2020-01-01T00:00:00Z"},"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"The Vital walk-in test Order ID","isRequired":true,"uniqueKey":"order.details.oneOf.0.data.oneOf.0.id","typeLabel":"string\u003cuuid>"},"created_at":{"type":"string","format":"date-time","title":"Created At","isRequired":true,"uniqueKey":"order.details.oneOf.0.data.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","isRequired":true,"uniqueKey":"order.details.oneOf.0.data.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"appointment_id":{"oneOf":[{"type":"string","title":"Appointment Id","format":"uuid","uniqueKey":"order.details.oneOf.0.data.oneOf.0.appointment_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Appointment Id","uniqueKey":"order.details.oneOf.0.data.oneOf.0.appointment_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.details.oneOf.0.data.oneOf.0.appointment_id","typeLabel":"string\u003cuuid> | null"}},"uniqueKey":"order.details.oneOf.0.data.oneOf.0","typeLabel":"ClientFacingWalkInTestOrder · object"},{"type":"null","uniqueKey":"order.details.oneOf.0.data.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.details.oneOf.0.data","typeLabel":"ClientFacingWalkInTestOrder · object | null"}},"isRequired":true,"uniqueKey":"order.details.oneOf.0","typeLabel":"ClientFacingWalkInOrderDetails · object"},{"type":"object","title":"ClientFacingTestKitOrderDetails","required":["type"],"properties":{"type":{"type":"string","const":"testkit","title":"Type","isRequired":true,"uniqueKey":"order.details.oneOf.1.type","typeLabel":"string"},"data":{"oneOf":[{"type":"object","title":"ClientFacingTestkitOrder","description":"Schema for a testkit order in the client facing API.\n\nTo be used as part of a ClientFacingOrder.","required":["id","shipment","created_at","updated_at"],"example":{"created_at":"2020-01-01T00:00:00Z","id":"3a447817-d38f-4cdc-98c7-5f00d02f45fe","shipment":{"created_at":"2020-01-01T00:00:00.000Z","id":"9c1921a2-772c-4d0d-b3a9-31729c97bfd2","inbound_courier":"usps","inbound_tracking_number":"\u003cinbound_tracking_number>","inbound_tracking_url":"\u003cinbound_tracking_url>","notes":"\u003cnotes>","outbound_courier":"usps","outbound_tracking_number":"\u003coutbound_tracking_number>","outbound_tracking_url":"\u003coutbound_tracking_url>","updated_at":"2020-01-01T00:00:00.000Z"},"updated_at":"2020-01-01T00:00:00Z"},"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"The Vital TestKit Order ID","isRequired":true,"uniqueKey":"order.details.oneOf.1.data.oneOf.0.id","typeLabel":"string\u003cuuid>"},"shipment":{"oneOf":[{"type":"object","title":"ClientFacingShipment","description":"Shipment object","required":["id","outbound_tracking_number","outbound_tracking_url","inbound_tracking_number","inbound_tracking_url","outbound_courier","inbound_courier","notes"],"example":{"id":"ad2a2f92-0fd8-45b6-8ee0-6fb644e9be4c","inbound_courier":"usps","inbound_tracking_number":"\u003cinbound_tracking_number>","inbound_tracking_url":"\u003cinbound_tracking_url>","notes":"\u003cnotes>","outbound_courier":"usps","outbound_tracking_number":"\u003coutbound_tracking_number>","outbound_tracking_url":"\u003coutbound_tracking_url>"},"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"The Vital Shipment ID","isRequired":true,"uniqueKey":"order.details.oneOf.1.data.oneOf.0.shipment.oneOf.0.id","typeLabel":"string\u003cuuid>"},"outbound_tracking_number":{"oneOf":[{"type":"string","title":"Outbound Tracking Number","description":"Tracking number for delivery to customer","isRequired":true,"uniqueKey":"order.details.oneOf.1.data.oneOf.0.shipment.oneOf.0.outbound_tracking_number.oneOf.0","typeLabel":"string"},{"type":"null","title":"Outbound Tracking Number","description":"Tracking number for delivery to customer","isRequired":true,"uniqueKey":"order.details.oneOf.1.data.oneOf.0.shipment.oneOf.0.outbound_tracking_number.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.details.oneOf.1.data.oneOf.0.shipment.oneOf.0.outbound_tracking_number","typeLabel":"string | null"},"outbound_tracking_url":{"oneOf":[{"type":"string","title":"Outbound Tracking Url","description":"Tracking url for delivery to customer","isRequired":true,"uniqueKey":"order.details.oneOf.1.data.oneOf.0.shipment.oneOf.0.outbound_tracking_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Outbound Tracking Url","description":"Tracking url for delivery to customer","isRequired":true,"uniqueKey":"order.details.oneOf.1.data.oneOf.0.shipment.oneOf.0.outbound_tracking_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.details.oneOf.1.data.oneOf.0.shipment.oneOf.0.outbound_tracking_url","typeLabel":"string | null"},"inbound_tracking_number":{"oneOf":[{"type":"string","title":"Inbound Tracking Number","description":"Tracking number for delivery to lab","isRequired":true,"uniqueKey":"order.details.oneOf.1.data.oneOf.0.shipment.oneOf.0.inbound_tracking_number.oneOf.0","typeLabel":"string"},{"type":"null","title":"Inbound Tracking Number","description":"Tracking number for delivery to lab","isRequired":true,"uniqueKey":"order.details.oneOf.1.data.oneOf.0.shipment.oneOf.0.inbound_tracking_number.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.details.oneOf.1.data.oneOf.0.shipment.oneOf.0.inbound_tracking_number","typeLabel":"string | null"},"inbound_tracking_url":{"oneOf":[{"type":"string","title":"Inbound Tracking Url","description":"Tracking url for delivery to lab","isRequired":true,"uniqueKey":"order.details.oneOf.1.data.oneOf.0.shipment.oneOf.0.inbound_tracking_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Inbound Tracking Url","description":"Tracking url for delivery to lab","isRequired":true,"uniqueKey":"order.details.oneOf.1.data.oneOf.0.shipment.oneOf.0.inbound_tracking_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.details.oneOf.1.data.oneOf.0.shipment.oneOf.0.inbound_tracking_url","typeLabel":"string | null"},"outbound_courier":{"oneOf":[{"type":"string","title":"Outbound Courier","description":"Courier used for delivery to customer","isRequired":true,"uniqueKey":"order.details.oneOf.1.data.oneOf.0.shipment.oneOf.0.outbound_courier.oneOf.0","typeLabel":"string"},{"type":"null","title":"Outbound Courier","description":"Courier used for delivery to customer","isRequired":true,"uniqueKey":"order.details.oneOf.1.data.oneOf.0.shipment.oneOf.0.outbound_courier.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.details.oneOf.1.data.oneOf.0.shipment.oneOf.0.outbound_courier","typeLabel":"string | null"},"inbound_courier":{"oneOf":[{"type":"string","title":"Inbound Courier","description":"Courier used for delivery to lab","isRequired":true,"uniqueKey":"order.details.oneOf.1.data.oneOf.0.shipment.oneOf.0.inbound_courier.oneOf.0","typeLabel":"string"},{"type":"null","title":"Inbound Courier","description":"Courier used for delivery to lab","isRequired":true,"uniqueKey":"order.details.oneOf.1.data.oneOf.0.shipment.oneOf.0.inbound_courier.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.details.oneOf.1.data.oneOf.0.shipment.oneOf.0.inbound_courier","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","title":"Notes","description":"Notes associated to the Vital shipment","isRequired":true,"uniqueKey":"order.details.oneOf.1.data.oneOf.0.shipment.oneOf.0.notes.oneOf.0","typeLabel":"string"},{"type":"null","title":"Notes","description":"Notes associated to the Vital shipment","isRequired":true,"uniqueKey":"order.details.oneOf.1.data.oneOf.0.shipment.oneOf.0.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.details.oneOf.1.data.oneOf.0.shipment.oneOf.0.notes","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"order.details.oneOf.1.data.oneOf.0.shipment.oneOf.0","typeLabel":"ClientFacingShipment · object"},{"type":"null","description":"Shipment object","isRequired":true,"uniqueKey":"order.details.oneOf.1.data.oneOf.0.shipment.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.details.oneOf.1.data.oneOf.0.shipment","typeLabel":"ClientFacingShipment · object | null"},"created_at":{"type":"string","format":"date-time","title":"Created At","isRequired":true,"uniqueKey":"order.details.oneOf.1.data.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","isRequired":true,"uniqueKey":"order.details.oneOf.1.data.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"order.details.oneOf.1.data.oneOf.0","typeLabel":"ClientFacingTestkitOrder · object"},{"type":"null","uniqueKey":"order.details.oneOf.1.data.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.details.oneOf.1.data","typeLabel":"ClientFacingTestkitOrder · object | null"}},"isRequired":true,"uniqueKey":"order.details.oneOf.1","typeLabel":"ClientFacingTestKitOrderDetails · object"},{"type":"object","title":"ClientFacingAtHomePhlebotomyOrderDetails","required":["type"],"properties":{"type":{"type":"string","const":"at_home_phlebotomy","title":"Type","isRequired":true,"uniqueKey":"order.details.oneOf.2.type","typeLabel":"string"},"data":{"oneOf":[{"type":"object","title":"ClientFacingAtHomePhlebotomyOrder","description":"Schema for a at-home-phlebotomy test order in the client facing API.\n\nTo be used as part of a ClientFacingOrder.","required":["id","created_at","updated_at"],"example":{"appointment_id":"3ba6449f-cb16-4385-97b3-01d523927cf1","created_at":"2020-01-01T00:00:00Z","id":"24baa626-a06e-47f0-b573-d107e6d06cad","updated_at":"2020-01-01T00:00:00Z"},"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"The Vital at-home phlebotomy Order ID","isRequired":true,"uniqueKey":"order.details.oneOf.2.data.oneOf.0.id","typeLabel":"string\u003cuuid>"},"created_at":{"type":"string","format":"date-time","title":"Created At","isRequired":true,"uniqueKey":"order.details.oneOf.2.data.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","isRequired":true,"uniqueKey":"order.details.oneOf.2.data.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"appointment_id":{"oneOf":[{"type":"string","title":"Appointment Id","format":"uuid","uniqueKey":"order.details.oneOf.2.data.oneOf.0.appointment_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Appointment Id","uniqueKey":"order.details.oneOf.2.data.oneOf.0.appointment_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.details.oneOf.2.data.oneOf.0.appointment_id","typeLabel":"string\u003cuuid> | null"}},"uniqueKey":"order.details.oneOf.2.data.oneOf.0","typeLabel":"ClientFacingAtHomePhlebotomyOrder · object"},{"type":"null","uniqueKey":"order.details.oneOf.2.data.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.details.oneOf.2.data","typeLabel":"ClientFacingAtHomePhlebotomyOrder · object | null"}},"isRequired":true,"uniqueKey":"order.details.oneOf.2","typeLabel":"ClientFacingAtHomePhlebotomyOrderDetails · object"},{"type":"object","title":"ClientFacingOnSiteCollectionOrderDetails","required":["type"],"properties":{"type":{"type":"string","const":"on_site_collection","title":"Type","isRequired":true,"uniqueKey":"order.details.oneOf.3.type","typeLabel":"string"},"data":{"oneOf":[{"type":"object","title":"ClientFacingOnSiteCollectionOrder","description":"Schema for an on-site collection order in the client facing API.\nTo be used as part of a ClientFacingOrder.","required":["id","created_at","updated_at"],"example":{"created_at":"2020-01-01T00:00:00Z","id":"f044a963-18e6-4c5f-9748-4ffd258e0d7d","updated_at":"2020-01-01T00:00:00Z"},"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"The Junction on-site collection Order ID","isRequired":true,"uniqueKey":"order.details.oneOf.3.data.oneOf.0.id","typeLabel":"string\u003cuuid>"},"created_at":{"type":"string","format":"date-time","title":"Created At","isRequired":true,"uniqueKey":"order.details.oneOf.3.data.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","isRequired":true,"uniqueKey":"order.details.oneOf.3.data.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"order.details.oneOf.3.data.oneOf.0","typeLabel":"ClientFacingOnSiteCollectionOrder · object"},{"type":"null","uniqueKey":"order.details.oneOf.3.data.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.details.oneOf.3.data","typeLabel":"ClientFacingOnSiteCollectionOrder · object | null"}},"isRequired":true,"uniqueKey":"order.details.oneOf.3","typeLabel":"ClientFacingOnSiteCollectionOrderDetails · object"}],"isRequired":true,"uniqueKey":"order.details","typeLabel":"ClientFacingWalkInOrderDetails · object | ClientFacingTestKitOrderDetails · object | ClientFacingAtHomePhlebotomyOrderDetails · object | ClientFacingOnSiteCollectionOrderDetails · object"},"sample_id":{"oneOf":[{"type":"string","title":"Sample Id","description":"Sample ID","isRequired":true,"uniqueKey":"order.sample_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Sample Id","description":"Sample ID","isRequired":true,"uniqueKey":"order.sample_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.sample_id","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","title":"Notes","description":"Notes associated with the order","isRequired":true,"uniqueKey":"order.notes.oneOf.0","typeLabel":"string"},{"type":"null","title":"Notes","description":"Notes associated with the order","isRequired":true,"uniqueKey":"order.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.notes","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"When your order was created","isRequired":true,"uniqueKey":"order.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"When your order was last updated.","isRequired":true,"uniqueKey":"order.updated_at","typeLabel":"string\u003cdate-time>"},"events":{"items":{"properties":{"id":{"type":"integer","title":"Id","isRequired":true,"uniqueKey":"order.events.items.[INDEX].id","typeLabel":"integer"},"created_at":{"type":"string","format":"date-time","title":"Created At","isRequired":true,"uniqueKey":"order.events.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"},"status":{"type":"string","enum":["received.walk_in_test.ordered","received.walk_in_test.requisition_created","received.walk_in_test.requisition_bypassed","completed.walk_in_test.completed","sample_with_lab.walk_in_test.partial_results","failed.walk_in_test.sample_error","cancelled.walk_in_test.cancelled","collecting_sample.walk_in_test.appointment_pending","collecting_sample.walk_in_test.appointment_scheduled","collecting_sample.walk_in_test.appointment_cancelled","collecting_sample.walk_in_test.redraw_available","received.at_home_phlebotomy.ordered","received.at_home_phlebotomy.requisition_created","received.at_home_phlebotomy.requisition_bypassed","collecting_sample.at_home_phlebotomy.appointment_pending","collecting_sample.at_home_phlebotomy.appointment_scheduled","collecting_sample.at_home_phlebotomy.draw_completed","collecting_sample.at_home_phlebotomy.appointment_cancelled","completed.at_home_phlebotomy.completed","sample_with_lab.at_home_phlebotomy.partial_results","cancelled.at_home_phlebotomy.cancelled","failed.at_home_phlebotomy.sample_error","received.testkit.ordered","received.testkit.awaiting_registration","received.testkit.requisition_created","received.testkit.requisition_bypassed","received.testkit.registered","collecting_sample.testkit.transit_customer","collecting_sample.testkit.out_for_delivery","collecting_sample.testkit.with_customer","collecting_sample.testkit.transit_lab","sample_with_lab.testkit.delivered_to_lab","sample_with_lab.testkit.lab_processing_blocked","completed.testkit.completed","failed.testkit.failure_to_deliver_to_customer","failed.testkit.failure_to_deliver_to_lab","failed.testkit.sample_error","failed.testkit.lost","cancelled.testkit.cancelled","cancelled.testkit.do_not_process","collecting_sample.testkit.problem_in_transit_customer","collecting_sample.testkit.problem_in_transit_lab","received.on_site_collection.ordered","received.on_site_collection.requisition_created","received.on_site_collection.requisition_bypassed","sample_with_lab.on_site_collection.draw_completed","completed.on_site_collection.completed","cancelled.on_site_collection.cancelled","sample_with_lab.on_site_collection.partial_results","failed.on_site_collection.sample_error","completed.walk_in_test.corrected","completed.at_home_phlebotomy.corrected","completed.on_site_collection.corrected","completed.testkit.corrected"],"title":"OrderStatus","description":"ℹ️ This enum is non-exhaustive.","isRequired":true,"uniqueKey":"order.events.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"status_detail":{"oneOf":[{"type":"string","title":"OrderStatusDetail","description":"ℹ️ This enum is non-exhaustive.","enum":["fulfillment_error","date_of_collection_unspecified","demographic_information_unspecified","demographic_information_mismatch","sample_quantity_not_sufficient","sample_contaminated","sample_stability_exceeded","sample_hemolyzed","sample_improper_collection","sample_damaged_in_transit","sample_integrity_compromised","sample_not_provided","consent_missing","lab_not_certified_for_state","collection_device_expired","kit_not_registered","collection_site_unrecognised","rejected_on_request"],"uniqueKey":"order.events.items.[INDEX].status_detail.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"ℹ️ This enum is non-exhaustive.","uniqueKey":"order.events.items.[INDEX].status_detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.events.items.[INDEX].status_detail","typeLabel":"enum\u003cstring> | null"}},"type":"object","required":["id","created_at","status"],"title":"ClientFacingOrderEvent","uniqueKey":"order.events.items.[INDEX]","typeLabel":"ClientFacingOrderEvent · object"},"type":"array","title":"Events","isRequired":true,"uniqueKey":"order.events","typeLabel":"ClientFacingOrderEvent · object[]"},"last_event":{"properties":{"id":{"type":"integer","title":"Id","isRequired":true,"uniqueKey":"order.last_event.id","typeLabel":"integer"},"created_at":{"type":"string","format":"date-time","title":"Created At","isRequired":true,"uniqueKey":"order.last_event.created_at","typeLabel":"string\u003cdate-time>"},"status":{"type":"string","enum":["received.walk_in_test.ordered","received.walk_in_test.requisition_created","received.walk_in_test.requisition_bypassed","completed.walk_in_test.completed","sample_with_lab.walk_in_test.partial_results","failed.walk_in_test.sample_error","cancelled.walk_in_test.cancelled","collecting_sample.walk_in_test.appointment_pending","collecting_sample.walk_in_test.appointment_scheduled","collecting_sample.walk_in_test.appointment_cancelled","collecting_sample.walk_in_test.redraw_available","received.at_home_phlebotomy.ordered","received.at_home_phlebotomy.requisition_created","received.at_home_phlebotomy.requisition_bypassed","collecting_sample.at_home_phlebotomy.appointment_pending","collecting_sample.at_home_phlebotomy.appointment_scheduled","collecting_sample.at_home_phlebotomy.draw_completed","collecting_sample.at_home_phlebotomy.appointment_cancelled","completed.at_home_phlebotomy.completed","sample_with_lab.at_home_phlebotomy.partial_results","cancelled.at_home_phlebotomy.cancelled","failed.at_home_phlebotomy.sample_error","received.testkit.ordered","received.testkit.awaiting_registration","received.testkit.requisition_created","received.testkit.requisition_bypassed","received.testkit.registered","collecting_sample.testkit.transit_customer","collecting_sample.testkit.out_for_delivery","collecting_sample.testkit.with_customer","collecting_sample.testkit.transit_lab","sample_with_lab.testkit.delivered_to_lab","sample_with_lab.testkit.lab_processing_blocked","completed.testkit.completed","failed.testkit.failure_to_deliver_to_customer","failed.testkit.failure_to_deliver_to_lab","failed.testkit.sample_error","failed.testkit.lost","cancelled.testkit.cancelled","cancelled.testkit.do_not_process","collecting_sample.testkit.problem_in_transit_customer","collecting_sample.testkit.problem_in_transit_lab","received.on_site_collection.ordered","received.on_site_collection.requisition_created","received.on_site_collection.requisition_bypassed","sample_with_lab.on_site_collection.draw_completed","completed.on_site_collection.completed","cancelled.on_site_collection.cancelled","sample_with_lab.on_site_collection.partial_results","failed.on_site_collection.sample_error","completed.walk_in_test.corrected","completed.at_home_phlebotomy.corrected","completed.on_site_collection.corrected","completed.testkit.corrected"],"title":"OrderStatus","description":"ℹ️ This enum is non-exhaustive.","isRequired":true,"uniqueKey":"order.last_event.status","typeLabel":"enum\u003cstring>"},"status_detail":{"oneOf":[{"type":"string","title":"OrderStatusDetail","description":"ℹ️ This enum is non-exhaustive.","enum":["fulfillment_error","date_of_collection_unspecified","demographic_information_unspecified","demographic_information_mismatch","sample_quantity_not_sufficient","sample_contaminated","sample_stability_exceeded","sample_hemolyzed","sample_improper_collection","sample_damaged_in_transit","sample_integrity_compromised","sample_not_provided","consent_missing","lab_not_certified_for_state","collection_device_expired","kit_not_registered","collection_site_unrecognised","rejected_on_request"],"uniqueKey":"order.last_event.status_detail.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"ℹ️ This enum is non-exhaustive.","uniqueKey":"order.last_event.status_detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.last_event.status_detail","typeLabel":"enum\u003cstring> | null"}},"type":"object","required":["id","created_at","status"],"title":"ClientFacingOrderEvent","description":"The latest event in the order's lifecycle.","isRequired":true,"uniqueKey":"order.last_event","typeLabel":"ClientFacingOrderEvent · object"},"health_insurance_id":{"oneOf":[{"type":"string","title":"Health Insurance Id","description":"Vital ID of the health insurance.","format":"uuid","isRequired":true,"uniqueKey":"order.health_insurance_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Health Insurance Id","description":"Vital ID of the health insurance.","isRequired":true,"uniqueKey":"order.health_insurance_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.health_insurance_id","typeLabel":"string\u003cuuid> | null"},"requisition_form_url":{"oneOf":[{"type":"string","title":"Requisition Form Url","description":"DEPRECATED. Requistion form url.","isRequired":true,"uniqueKey":"order.requisition_form_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Requisition Form Url","description":"DEPRECATED. Requistion form url.","isRequired":true,"uniqueKey":"order.requisition_form_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.requisition_form_url","typeLabel":"string | null"},"shipping_details":{"oneOf":[{"type":"object","title":"ShippingAddress","description":"Shipping Details. For unregistered testkit orders.","required":["receiver_name","first_line","city","state","zip","country","phone_number"],"properties":{"receiver_name":{"type":"string","title":"Receiver Name","isRequired":true,"uniqueKey":"order.shipping_details.oneOf.0.receiver_name","typeLabel":"string"},"first_line":{"type":"string","title":"First Line","isRequired":true,"uniqueKey":"order.shipping_details.oneOf.0.first_line","typeLabel":"string"},"city":{"type":"string","title":"City","isRequired":true,"uniqueKey":"order.shipping_details.oneOf.0.city","typeLabel":"string"},"state":{"type":"string","title":"State","isRequired":true,"uniqueKey":"order.shipping_details.oneOf.0.state","typeLabel":"string"},"zip":{"type":"string","title":"Zip","isRequired":true,"uniqueKey":"order.shipping_details.oneOf.0.zip","typeLabel":"string"},"country":{"type":"string","title":"Country","isRequired":true,"uniqueKey":"order.shipping_details.oneOf.0.country","typeLabel":"string"},"phone_number":{"type":"string","title":"Phone Number","isRequired":true,"uniqueKey":"order.shipping_details.oneOf.0.phone_number","typeLabel":"string"},"second_line":{"oneOf":[{"type":"string","title":"Second Line","uniqueKey":"order.shipping_details.oneOf.0.second_line.oneOf.0","typeLabel":"string"},{"type":"null","title":"Second Line","uniqueKey":"order.shipping_details.oneOf.0.second_line.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.shipping_details.oneOf.0.second_line","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"order.shipping_details.oneOf.0","typeLabel":"ShippingAddress · object"},{"type":"null","description":"Shipping Details. For unregistered testkit orders.","isRequired":true,"uniqueKey":"order.shipping_details.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.shipping_details","typeLabel":"ShippingAddress · object | null"},"has_abn":{"type":"boolean","title":"Has Abn","description":"Defines whether the order has an Advanced Beneficiary Notice (ABN) form or not.","isRequired":true,"uniqueKey":"order.has_abn","typeLabel":"boolean"},"lab_account_id":{"oneOf":[{"type":"string","title":"Lab Account Id","format":"uuid","uniqueKey":"order.lab_account_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Lab Account Id","uniqueKey":"order.lab_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.lab_account_id","typeLabel":"string\u003cuuid> | null"},"clinical_notes":{"oneOf":[{"type":"string","title":"Clinical Notes","uniqueKey":"order.clinical_notes.oneOf.0","typeLabel":"string"},{"type":"null","title":"Clinical Notes","uniqueKey":"order.clinical_notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.clinical_notes","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","title":"OrderTopLevelStatus","description":"The top-level status of the latest event for this order. This field is deprecated. Please use `last_event` instead. ℹ️ This enum is non-exhaustive.","enum":["received","collecting_sample","sample_with_lab","completed","cancelled","failed"],"deprecated":true,"uniqueKey":"order.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The top-level status of the latest event for this order. This field is deprecated. Please use `last_event` instead. ℹ️ This enum is non-exhaustive.","deprecated":true,"uniqueKey":"order.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.status","typeLabel":"enum\u003cstring> | null"},"physician":{"oneOf":[{"type":"object","title":"ClientFacingPhysician","required":["first_name","last_name","npi"],"properties":{"first_name":{"type":"string","title":"First Name","isRequired":true,"uniqueKey":"order.physician.oneOf.0.first_name","typeLabel":"string"},"last_name":{"type":"string","title":"Last Name","isRequired":true,"uniqueKey":"order.physician.oneOf.0.last_name","typeLabel":"string"},"npi":{"type":"string","title":"Npi","isRequired":true,"uniqueKey":"order.physician.oneOf.0.npi","typeLabel":"string"}},"uniqueKey":"order.physician.oneOf.0","typeLabel":"ClientFacingPhysician · object"},{"type":"null","uniqueKey":"order.physician.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.physician","typeLabel":"ClientFacingPhysician · object | null"},"priority":{"type":"boolean","title":"Priority","description":"Defines whether order is priority or not. For some labs, this refers to a STAT order.","default":false,"uniqueKey":"order.priority","typeLabel":"boolean"},"activate_by":{"oneOf":[{"type":"string","title":"Activate By","description":"Schedule an Order to be processed in a future date.","format":"date","uniqueKey":"order.activate_by.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","title":"Activate By","description":"Schedule an Order to be processed in a future date.","uniqueKey":"order.activate_by.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.activate_by","typeLabel":"string\u003cdate> | null"},"passthrough":{"oneOf":[{"type":"string","title":"Passthrough","uniqueKey":"order.passthrough.oneOf.0","typeLabel":"string"},{"type":"null","title":"Passthrough","uniqueKey":"order.passthrough.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.passthrough","typeLabel":"string | null"},"billing_type":{"type":"string","enum":["client_bill","commercial_insurance","patient_bill_passthrough","patient_bill","upfront_payment"],"title":"Billing","description":"ℹ️ This enum is non-exhaustive.","default":"client_bill","uniqueKey":"order.billing_type","typeLabel":"enum\u003cstring>"},"icd_codes":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"order.icd_codes.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Icd Codes","uniqueKey":"order.icd_codes.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Icd Codes","uniqueKey":"order.icd_codes.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.icd_codes","typeLabel":"string[] | null"},"interpretation":{"oneOf":[{"type":"string","title":"Interpretation","description":"Interpretation of the order result. Can be one of (normal, abnormal, critical). ℹ️ This enum is non-exhaustive.","enum":["normal","abnormal","critical","unknown"],"uniqueKey":"order.interpretation.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Interpretation of the order result. Can be one of (normal, abnormal, critical). ℹ️ This enum is non-exhaustive.","uniqueKey":"order.interpretation.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.interpretation","typeLabel":"enum\u003cstring> | null"},"has_missing_results":{"oneOf":[{"type":"boolean","title":"Has Missing Results","description":"Defines whether the order result has missing biomarkers.","uniqueKey":"order.has_missing_results.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Has Missing Results","description":"Defines whether the order result has missing biomarkers.","uniqueKey":"order.has_missing_results.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.has_missing_results","typeLabel":"boolean | null"},"expected_result_by_date":{"oneOf":[{"type":"string","title":"Expected Result By Date","description":"The common-case date by which the order result is expected to be available.","format":"date","deprecated":true,"uniqueKey":"order.expected_result_by_date.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","title":"Expected Result By Date","description":"The common-case date by which the order result is expected to be available.","deprecated":true,"uniqueKey":"order.expected_result_by_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.expected_result_by_date","typeLabel":"string\u003cdate> | null"},"worst_case_result_by_date":{"oneOf":[{"type":"string","title":"Worst Case Result By Date","description":"The latest date by which the order result is expected to be available.","format":"date","deprecated":true,"uniqueKey":"order.worst_case_result_by_date.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","title":"Worst Case Result By Date","description":"The latest date by which the order result is expected to be available.","deprecated":true,"uniqueKey":"order.worst_case_result_by_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.worst_case_result_by_date","typeLabel":"string\u003cdate> | null"},"origin":{"oneOf":[{"type":"string","title":"OrderOrigin","description":"ℹ️ This enum is non-exhaustive.","enum":["initial","redraw","recreation"],"uniqueKey":"order.origin.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"ℹ️ This enum is non-exhaustive.","uniqueKey":"order.origin.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.origin","typeLabel":"enum\u003cstring> | null"},"order_transaction":{"oneOf":[{"type":"object","title":"ClientFacingOrderTransaction","description":"Order transaction info.","required":["id","status","orders"],"properties":{"id":{"type":"string","format":"uuid","title":"Id","isRequired":true,"uniqueKey":"order.order_transaction.oneOf.0.id","typeLabel":"string\u003cuuid>"},"status":{"type":"string","enum":["active","completed","cancelled"],"title":"OrderTransactionStatus","description":"ℹ️ This enum is non-exhaustive.","isRequired":true,"uniqueKey":"order.order_transaction.oneOf.0.status","typeLabel":"enum\u003cstring>"},"orders":{"items":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","isRequired":true,"uniqueKey":"order.order_transaction.oneOf.0.orders.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"created_at":{"type":"string","format":"date-time","title":"Created At","isRequired":true,"uniqueKey":"order.order_transaction.oneOf.0.orders.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","isRequired":true,"uniqueKey":"order.order_transaction.oneOf.0.orders.items.[INDEX].updated_at","typeLabel":"string\u003cdate-time>"},"low_level_status":{"oneOf":[{"type":"string","title":"OrderLowLevelStatus","description":"ℹ️ This enum is non-exhaustive.","enum":["ordered","requisition_created","requisition_bypassed","transit_customer","out_for_delivery","with_customer","transit_lab","delivered_to_lab","completed","failure_to_deliver_to_lab","failure_to_deliver_to_customer","problem_in_transit_lab","problem_in_transit_customer","sample_error","appointment_scheduled","appointment_cancelled","appointment_pending","draw_completed","cancelled","lost","do_not_process","partial_results","awaiting_registration","registered","redraw_available","corrected","lab_processing_blocked"],"uniqueKey":"order.order_transaction.oneOf.0.orders.items.[INDEX].low_level_status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"ℹ️ This enum is non-exhaustive.","uniqueKey":"order.order_transaction.oneOf.0.orders.items.[INDEX].low_level_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.order_transaction.oneOf.0.orders.items.[INDEX].low_level_status","typeLabel":"enum\u003cstring> | null"},"low_level_status_created_at":{"oneOf":[{"type":"string","title":"Low Level Status Created At","format":"date-time","uniqueKey":"order.order_transaction.oneOf.0.orders.items.[INDEX].low_level_status_created_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Low Level Status Created At","uniqueKey":"order.order_transaction.oneOf.0.orders.items.[INDEX].low_level_status_created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.order_transaction.oneOf.0.orders.items.[INDEX].low_level_status_created_at","typeLabel":"string\u003cdate-time> | null"},"origin":{"oneOf":[{"type":"string","title":"OrderOrigin","description":"ℹ️ This enum is non-exhaustive.","enum":["initial","redraw","recreation"],"uniqueKey":"order.order_transaction.oneOf.0.orders.items.[INDEX].origin.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"ℹ️ This enum is non-exhaustive.","uniqueKey":"order.order_transaction.oneOf.0.orders.items.[INDEX].origin.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.order_transaction.oneOf.0.orders.items.[INDEX].origin","typeLabel":"enum\u003cstring> | null"},"parent_id":{"oneOf":[{"type":"string","title":"Parent Id","format":"uuid","uniqueKey":"order.order_transaction.oneOf.0.orders.items.[INDEX].parent_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Parent Id","uniqueKey":"order.order_transaction.oneOf.0.orders.items.[INDEX].parent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.order_transaction.oneOf.0.orders.items.[INDEX].parent_id","typeLabel":"string\u003cuuid> | null"}},"type":"object","required":["id","created_at","updated_at"],"title":"ClientFacingOrderInTransaction","description":"Minimal order info for embedding in order_transaction payload.","uniqueKey":"order.order_transaction.oneOf.0.orders.items.[INDEX]","typeLabel":"ClientFacingOrderInTransaction · object"},"type":"array","title":"Orders","isRequired":true,"uniqueKey":"order.order_transaction.oneOf.0.orders","typeLabel":"ClientFacingOrderInTransaction · object[]"}},"uniqueKey":"order.order_transaction.oneOf.0","typeLabel":"ClientFacingOrderTransaction · object"},{"type":"null","uniqueKey":"order.order_transaction.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.order_transaction","typeLabel":"ClientFacingOrderTransaction · object | null"}},"type":"object","required":["user_id","id","team_id","patient_details","patient_address","lab_test","details","sample_id","notes","created_at","updated_at","events","last_event","health_insurance_id","requisition_form_url","shipping_details","has_abn"],"title":"ClientFacingOrder","example":{"activate_by":"2020-01-01","created_at":"2020-01-01T00:00:00Z","details":{"data":{"created_at":"2020-01-01T00:00:00Z","id":"a655f0e4-6405-4a1d-80b7-66f06c2108a7","shipment":{"created_at":"2020-01-01T00:00:00.000Z","id":"d55210cc-3d9f-4115-8262-5013f700c7be","inbound_courier":"usps","inbound_tracking_number":"\u003cinbound_tracking_number>","inbound_tracking_url":"\u003cinbound_tracking_url>","notes":"\u003cnotes>","outbound_courier":"usps","outbound_tracking_number":"\u003coutbound_tracking_number>","outbound_tracking_url":"\u003coutbound_tracking_url>","updated_at":"2020-01-01T00:00:00.000Z"},"updated_at":"2020-01-01T00:00:00Z"},"type":"testkit"},"events":[{"created_at":"2022-01-01T00:00:00Z","id":1,"status":"received.testkit.ordered"},{"created_at":"2022-01-02T00:00:00Z","id":2,"status":"received.testkit.requisition_created"},{"created_at":"2022-01-03T00:00:00Z","id":3,"status":"collecting_sample.testkit.transit_customer"}],"has_abn":false,"health_insurace_id":"2d7e0526-c938-4fcf-86d5-26c9dde850f7","id":"b6c70d29-6b34-45c4-90b3-ba5d8ebc2b7d","lab_test":{"description":"Cholesterol test","method":"testkit","name":"Lipids Panel","updated_at":"2020-01-01T00:00:00Z"},"last_event":{"created_at":"2022-01-03T00:00:00Z","id":3,"status":"collecting_sample.testkit.transit_customer"},"notes":"This is a note","order_transaction":{"id":"a655f0e4-6405-4a1d-80b7-66f06c2108a7","orders":[{"created_at":"2020-01-01T00:00:00Z","id":"d55210cc-3d9f-4115-8262-5013f700c7be","low_level_status":"transit_customer","low_level_status_created_at":"2020-01-05T00:00:00Z","origin":"initial","updated_at":"2020-01-05T00:00:00Z"},{"created_at":"2020-01-05T01:00:00Z","id":"e66321dd-4e0g-5226-9373-6124g811d8cf","low_level_status":"requisition_created","low_level_status_created_at":"2020-01-05T01:00:00Z","origin":"redraw","updated_at":"2020-01-05T01:00:00Z"}],"status":"active"},"origin":"initial","patient_address":{"city":"San Francisco","country":"United States","first_line":"123 Main St.","phone_number":"+11234567890","receiver_name":"John Doe","second_line":"Apt. 208","state":"CA","zip":"91189"},"patient_details":{"dob":"2020-01-01","gender":"male"},"requisition_form_url":"https://www.example.com","sample_id":"123456789","status":"collecting_sample","team_id":"c46a231d-108c-4d46-a806-1eba0031507a","updated_at":"2020-01-01T00:00:00Z","user_id":"4b1e763a-03e5-44da-9916-34308b44f2f2"},"isRequired":true,"uniqueKey":"order","typeLabel":"ClientFacingOrder · object"},"status":{"type":"string","title":"Status","isRequired":true,"uniqueKey":"status","typeLabel":"string"},"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"type":"object","required":["order","status","message"],"title":"PostOrderResponse","uniqueKey":"","typeLabel":"PostOrderResponse · object"},"examples":{"Example":{"title":"Example","value":{"order":{"activate_by":"2020-01-01","created_at":"2020-01-01T00:00:00Z","details":{"data":{"created_at":"2020-01-01T00:00:00Z","id":"a655f0e4-6405-4a1d-80b7-66f06c2108a7","shipment":{"created_at":"2020-01-01T00:00:00.000Z","id":"d55210cc-3d9f-4115-8262-5013f700c7be","inbound_courier":"usps","inbound_tracking_number":"\u003cinbound_tracking_number>","inbound_tracking_url":"\u003cinbound_tracking_url>","notes":"\u003cnotes>","outbound_courier":"usps","outbound_tracking_number":"\u003coutbound_tracking_number>","outbound_tracking_url":"\u003coutbound_tracking_url>","updated_at":"2020-01-01T00:00:00.000Z"},"updated_at":"2020-01-01T00:00:00Z"},"type":"testkit"},"events":[{"created_at":"2022-01-01T00:00:00Z","id":1,"status":"received.testkit.ordered"},{"created_at":"2022-01-02T00:00:00Z","id":2,"status":"received.testkit.requisition_created"},{"created_at":"2022-01-03T00:00:00Z","id":3,"status":"collecting_sample.testkit.transit_customer"}],"has_abn":false,"health_insurace_id":"2d7e0526-c938-4fcf-86d5-26c9dde850f7","id":"b6c70d29-6b34-45c4-90b3-ba5d8ebc2b7d","lab_test":{"description":"Cholesterol test","method":"testkit","name":"Lipids Panel","updated_at":"2020-01-01T00:00:00Z"},"last_event":{"created_at":"2022-01-03T00:00:00Z","id":3,"status":"collecting_sample.testkit.transit_customer"},"notes":"This is a note","order_transaction":{"id":"a655f0e4-6405-4a1d-80b7-66f06c2108a7","orders":[{"created_at":"2020-01-01T00:00:00Z","id":"d55210cc-3d9f-4115-8262-5013f700c7be","low_level_status":"transit_customer","low_level_status_created_at":"2020-01-05T00:00:00Z","origin":"initial","updated_at":"2020-01-05T00:00:00Z"},{"created_at":"2020-01-05T01:00:00Z","id":"e66321dd-4e0g-5226-9373-6124g811d8cf","low_level_status":"requisition_created","low_level_status_created_at":"2020-01-05T01:00:00Z","origin":"redraw","updated_at":"2020-01-05T01:00:00Z"}],"status":"active"},"origin":"initial","patient_address":{"city":"San Francisco","country":"United States","first_line":"123 Main St.","phone_number":"+11234567890","receiver_name":"John Doe","second_line":"Apt. 208","state":"CA","zip":"91189"},"patient_details":{"dob":"2020-01-01","gender":"male"},"requisition_form_url":"https://www.example.com","sample_id":"123456789","status":"collecting_sample","team_id":"c46a231d-108c-4d46-a806-1eba0031507a","updated_at":"2020-01-01T00:00:00Z","user_id":"4b1e763a-03e5-44da-9916-34308b44f2f2"},"status":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"063d4095-ef70-4e29-937a-b140c4bdf637":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"oneOf":[{"title":"Detail"}],"uniqueKey":"detail","typeLabel":"any"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"3b8c7f68-63ba-4cd2-bc90-12c01b8c4bed":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"x-vital-api-key","description":"Vital Team API Key","scopes":[],"schemeName":"apiKeyAuth"}}},"servers":{"5b34d830-6c07-4749-94e7-040884fdcf24":{"url":"https://api.us.junction.com","x-fern-server-name":"Production"},"0b6c741c-6a67-45f2-a8d8-3a6b939a6372":{"url":"https://api.eu.junction.com","x-fern-server-name":"ProductionEU"},"9577be61-0c10-4fdf-9b25-859d3cf35b2d":{"url":"https://api.sandbox.us.junction.com","x-fern-server-name":"Sandbox"},"ce9a4f8c-2ab2-4e21-859c-cd428da3a6a0":{"url":"https://api.sandbox.eu.junction.com","x-fern-server-name":"SandboxEU"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-vital-api-key","description":"Vital Team API Key","scopes":[],"schemeName":"apiKeyAuth"},"schema":{"title":"x-vital-api-key","type":"string","description":"Vital Team API Key","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyAuth","name":"x-vital-api-key"}],"title":"apiKeyAuth"}]},"originalFileLocation":"swagger.json"},"subdomain":"vital","siteName":"Junction","title":"Update An Order - Junction","relatedPagesConfig":{"enabled":true,"limit":5,"mode":"automatic"},"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-06T22:04:02.874Z","originalFileLocation":"api-reference/lab-testing/patch-order.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=\"Update an order via the Junction API. Requires authentication with your team API key.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Junction\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vital/pt6gmMsgL39tDSQT/_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/vital/pt6gmMsgL39tDSQT/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vital/pt6gmMsgL39tDSQT/_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/vital/pt6gmMsgL39tDSQT/_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/vital/pt6gmMsgL39tDSQT/_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/vital/pt6gmMsgL39tDSQT/_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/vital/pt6gmMsgL39tDSQT/_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/vital/pt6gmMsgL39tDSQT/_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/vital/pt6gmMsgL39tDSQT/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update An Order - Junction\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update an order via the Junction API. Requires authentication with your team API key.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Junction\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.junction.com/api-reference/lab-testing/patch-order\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://vital.mintlify.site/_mintlify/api/og/v2?division=Orders\u0026amp;title=Update+An+Order\u0026amp;description=Update+an+order+via+the+Junction+API.+Requires+authentication+with+your+team+API+key.\u0026amp;theme=70db05ab6525566ed63798f8\u0026amp;signature=fc3dd0e8b679bd3155d2bd4aeb8667dffac9f5b6f1dc8d6ecc8c9356f4246ded\">\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=\"Update An Order - Junction\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update an order via the Junction API. Requires authentication with your team API key.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://vital.mintlify.site/_mintlify/api/og/v2?division=Orders\u0026amp;title=Update+An+Order\u0026amp;description=Update+an+order+via+the+Junction+API.+Requires+authentication+with+your+team+API+key.\u0026amp;theme=70db05ab6525566ed63798f8\u0026amp;signature=fc3dd0e8b679bd3155d2bd4aeb8667dffac9f5b6f1dc8d6ecc8c9356f4246ded\">\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/vital/pt6gmMsgL39tDSQT/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Junction\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3D1836\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.junction.com/api-reference/lab-testing/patch-order\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/lab-testing/patch-order.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.junction.com/#organization\",\"name\":\"Junction\",\"url\":\"https://docs.junction.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/vital/eMrsGYbovvX8f4E9/logo/light.svg?fit=max\u0026auto=format\u0026n=eMrsGYbovvX8f4E9\u0026q=85\u0026s=ee117f69d6fb95bfe3444b1599cbf4ab\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.junction.com#website\",\"name\":\"Junction\",\"url\":\"https://docs.junction.com\",\"publisher\":{\"@id\":\"https://docs.junction.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.junction.com/api-reference/lab-testing/patch-order#webpage\",\"url\":\"https://docs.junction.com/api-reference/lab-testing/patch-order\",\"name\":\"Update An Order\",\"description\":\"Update an order via the Junction API. Requires authentication with your team API key.\",\"dateModified\":\"2026-11-06T22:04:02.874Z\",\"isPartOf\":{\"@id\":\"https://docs.junction.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.junction.com/api-reference/lab-testing/patch-order#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.junction.com/api-reference/lab-testing/patch-order#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Orders\",\"item\":\"https://docs.junction.com/api-reference/lab-testing/get-orders\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update An Order\",\"item\":\"https://docs.junction.com/api-reference/lab-testing/patch-order\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.junction.com/api-reference/lab-testing/patch-order#apireference\",\"headline\":\"Update An Order\",\"name\":\"Update An Order\",\"description\":\"Update an order via the Junction API. Requires authentication with your team API key.\",\"url\":\"https://docs.junction.com/api-reference/lab-testing/patch-order\",\"mainEntityOfPage\":{\"@id\":\"https://docs.junction.com/api-reference/lab-testing/patch-order#webpage\"},\"dateModified\":\"2026-11-06T22:04:02.874Z\",\"publisher\":{\"@id\":\"https://docs.junction.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.junction.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Junction\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Junction\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/lab-testing/patch-order.md","siteName":"Junction","nav":{"global":null,"tabs":[{"tab":"Home","icon":"home","pages":[{"title":"Home","href":"/home/welcome"}]},{"tab":"Core Platform","icon":"users","pages":[{"title":"Core Platform","href":"/api-details/junction-api"}]},{"tab":"Lab Testing","icon":"flask","anchors":[{"anchor":"Product Guides","icon":"flask","pages":[{"title":"Product Guides","href":"/lab/overview/introduction"}]},{"anchor":"API Reference","icon":"square-code","groups":[{"group":"Orders","pages":[{"title":"Get Orders","openapi":"GET /v3/orders","href":"/api-reference/lab-testing/get-orders"},{"title":"Get Order","openapi":"GET /v3/order/{order_id}","href":"/api-reference/lab-testing/get-order"},{"title":"Get order tracking","openapi":"GET /v3/order/{order_id}/tracking","href":"/api-reference/lab-testing/get-order-tracking"},{"title":"Get Requisition Form PDF","openapi":"GET /v3/order/{order_id}/requisition/pdf","href":"/api-reference/lab-testing/requisition-pdf"},{"title":"Get ABN Form PDF","openapi":"GET /v3/order/{order_id}/abn_pdf","version":"beta","href":"/api-reference/lab-testing/abn-pdf"},{"title":"Get Labels PDF","openapi":"GET /v3/order/{order_id}/labels/pdf","href":"/api-reference/lab-testing/labels-pdf"},{"title":"Get Collection Instructions PDF For Order","openapi":"GET /v3/order/{order_id}/collection_instruction_pdf","href":"/api-reference/lab-testing/order-collection-instructions-pdf"},{"title":"Create Order","openapi":"POST /v3/order","href":"/api-reference/lab-testing/create-order"},{"title":"Cancel Order","openapi":"POST /v3/order/{order_id}/cancel","href":"/api-reference/lab-testing/cancel-order"},{"title":"Create Unregistered Testkit Order","openapi":"POST /v3/order/testkit","href":"/api-reference/lab-testing/create-unregistered-order"},{"title":"Register Testkit Order","openapi":"POST /v3/order/testkit/register","href":"/api-reference/lab-testing/register-order"},{"title":"Import Order","openapi":"POST /v3/order/import","href":"/api-reference/lab-testing/import-order"},{"title":"Simulate Order","openapi":"POST /v3/order/{order_id}/test","href":"/api-reference/lab-testing/simulate-order"},{"title":"Resend Order Webhooks","description":"Replay the latest webhook event for one or more orders via the Junction API.","openapi":"POST /v3/order/resend_events","href":"/api-reference/lab-testing/resend-order-events"},{"title":"Update An Order","openapi":"PATCH /v3/order/{order_id}","href":"/api-reference/lab-testing/patch-order"},{"title":"Update Order Draw Completed","description":"Partially update order draw completed via the Junction API. Requires authentication with your team API key.","openapi":"PATCH /v3/order/{order_id}/draw_completed","href":"/api-reference/lab-testing/update-order-draw-completed"}]},{"group":"Order Transactions","pages":[{"title":"Get Order Transaction","openapi":"GET /v3/order_transaction/{transaction_id}","href":"/api-reference/lab-testing/order-transactions/get-order-transaction"}]},{"group":"Lab Accounts","pages":[{"title":"Get Lab Accounts","openapi":"GET /v3/lab_test/lab_account","href":"/api-reference/lab-testing/lab_accounts"}]},{"group":"Physicians","pages":[{"title":"Get Team Physicians","openapi":"GET /v2/team/{team_id}/physicians","href":"/api-reference/lab-testing/get-team-physicians"}]},{"group":"Area Info","pages":[{"title":"Get Area Info","openapi":"GET /v3/order/area/info","href":"/api-reference/lab-testing/area-info"},{"title":"Get PSC Info","openapi":"GET /v3/order/psc/info","href":"/api-reference/lab-testing/psc-info"},{"title":"Get Order PSC Info","openapi":"GET /v3/order/{order_id}/psc/info","href":"/api-reference/lab-testing/order-psc-info"}]},{"group":"Mobile Phlebotomy","pages":[{"title":"Get Appointment Cancellation Reasons","openapi":"GET /v3/order/phlebotomy/appointment/cancellation-reasons","href":"/api-reference/lab-testing/at-home-phlebotomy/appointment-cancellation-reasons"},{"title":"Get Phlebotomy Appointment","openapi":"GET /v3/order/{order_id}/phlebotomy/appointment","href":"/api-reference/lab-testing/at-home-phlebotomy/get-appointment"},{"title":"Create Appointment Availability","openapi":"POST /v3/order/phlebotomy/appointment/availability","href":"/api-reference/lab-testing/at-home-phlebotomy/appointment-availability"},{"title":"Create Appointment Book","openapi":"POST /v3/order/{order_id}/phlebotomy/appointment/book","href":"/api-reference/lab-testing/at-home-phlebotomy/appointment-booking"},{"title":"Create Appointment Request","openapi":"POST /v3/order/{order_id}/phlebotomy/appointment/request","href":"/api-reference/lab-testing/at-home-phlebotomy/appointment-request"},{"title":"Update Appointment Reschedule","openapi":"PATCH /v3/order/{order_id}/phlebotomy/appointment/reschedule","href":"/api-reference/lab-testing/at-home-phlebotomy/appointment-rescheduling"},{"title":"Cancel Appointment","openapi":"PATCH /v3/order/{order_id}/phlebotomy/appointment/cancel","href":"/api-reference/lab-testing/at-home-phlebotomy/appointment-cancelling"}]},{"group":"Patient Service Center (PSC)","pages":[{"openapi":"GET /v3/order/psc/appointment/cancellation-reasons","title":"PSC Appointment Cancellation Reasons","href":"/api-reference/lab-testing/psc-scheduling/appointment-psc-cancellation-reasons"},{"openapi":"GET /v3/order/{order_id}/psc/appointment","title":"Get PSC Appointment","href":"/api-reference/lab-testing/psc-scheduling/get-psc-appointment"},{"openapi":"POST /v3/order/psc/appointment/availability","title":"PSC Appointment Availability","href":"/api-reference/lab-testing/psc-scheduling/appointment-psc-availability"},{"openapi":"POST /v3/order/{order_id}/psc/appointment/book","title":"Book PSC Appointment","href":"/api-reference/lab-testing/psc-scheduling/appointment-psc-booking"},{"openapi":"PATCH /v3/order/{order_id}/psc/appointment/reschedule","title":"Reschedule PSC Appointment","href":"/api-reference/lab-testing/psc-scheduling/appointment-psc-rescheduling"},{"openapi":"PATCH /v3/order/{order_id}/psc/appointment/cancel","title":"Cancel PSC Appointment","href":"/api-reference/lab-testing/psc-scheduling/appointment-psc-cancelling"}]},{"group":"Tests","pages":[{"title":"Get Available Tests","openapi":"GET /v3/lab_tests","href":"/api-reference/lab-testing/tests"},{"title":"Get Available Tests","openapi":"GET /v3/lab_test","href":"/api-reference/lab-testing/tests-paginated"},{"title":"Get Lab Test","openapi":"GET /v3/lab_tests/{lab_test_id}","href":"/api-reference/lab-testing/get-lab-test"},{"title":"Get Lab Test Version History","openapi":"GET /v3/lab_tests/{lab_test_id}/version","href":"/api-reference/lab-testing/lab-test-version-history"},{"title":"Get Available Biomarkers","openapi":"GET /v3/lab_tests/markers","href":"/api-reference/lab-testing/biomarkers"},{"title":"Get All Available Labs","openapi":"GET /v3/lab_tests/labs","href":"/api-reference/lab-testing/labs"},{"title":"Get Markers For Lab Test","openapi":"GET /v3/lab_tests/{lab_test_id}/markers","href":"/api-reference/lab-testing/lab-test-markers"},{"title":"Get Collection Instructions For Lab Test","openapi":"GET /v3/lab_test/{lab_test_id}/collection_instructions","href":"/api-reference/lab-testing/lab-test-collection-instructions"},{"title":"Get Collection Instructions PDF For Lab Test","openapi":"GET /v3/lab_test/{lab_test_id}/collection_instruction_pdf","href":"/api-reference/lab-testing/lab-test-collection-instructions-pdf"},{"title":"Create A Test","openapi":"POST /v3/lab_tests","href":"/api-reference/lab-testing/post-test"},{"title":"Get Markers For Order Set","openapi":"POST /v3/lab_tests/list_order_set_markers","href":"/api-reference/lab-testing/order-set-marker"},{"title":"Estimate Order Set Pricing","openapi":"POST /v3/lab_test/estimate_order_set_pricing","href":"/api-reference/lab-testing/estimate-order-set-pricing"},{"title":"Update A Test","openapi":"PATCH /v3/lab_tests/{lab_test_id}","href":"/api-reference/lab-testing/patch-lab-test"}]},{"group":"Results","pages":[{"title":"Get Results","openapi":"GET /v3/order/{order_id}/result","href":"/api-reference/lab-testing/results/get-results"},{"title":"Get Results PDF","openapi":"GET /v3/order/{order_id}/result/pdf","href":"/api-reference/lab-testing/results/get-results-pdf"},{"title":"Get Results Metadata","openapi":"GET /v3/order/{order_id}/result/metadata","href":"/api-reference/lab-testing/results/get-results-metadata"},{"title":"Get Order Transaction Results","openapi":"GET /v3/order_transaction/{transaction_id}/result","href":"/api-reference/lab-testing/results/get-order-transaction-results"},{"title":"Get Order Transaction Results PDF","openapi":"GET /v3/order_transaction/{transaction_id}/result/pdf","href":"/api-reference/lab-testing/results/get-order-transaction-results-pdf"}]},{"group":"Unmatched Results","pages":[{"title":"List Unmatched Results","openapi":"GET /v3/unmatched_result","version":"beta","href":"/api-reference/lab-testing/unmatched-results/list-unmatched-results"},{"title":"Get Unmatched Result","openapi":"GET /v3/unmatched_result/{raw_result_id}","version":"beta","href":"/api-reference/lab-testing/unmatched-results/get-unmatched-result"},{"title":"List Unmatched Result Test Cases","openapi":"GET /v3/unmatched_result_test/case","version":"beta","href":"/api-reference/lab-testing/unmatched-results/list-unmatched-result-test-cases"},{"title":"Get Unmatched Result Test","openapi":"GET /v3/unmatched_result_test/{run_id}","version":"beta","href":"/api-reference/lab-testing/unmatched-results/get-unmatched-result-test"},{"title":"Accept Unmatched Result","openapi":"POST /v3/unmatched_result/{raw_result_id}/accept","version":"beta","href":"/api-reference/lab-testing/unmatched-results/accept-unmatched-result"},{"title":"Resolve Unmatched Result","openapi":"POST /v3/unmatched_result/{raw_result_id}/resolve","version":"beta","href":"/api-reference/lab-testing/unmatched-results/resolve-unmatched-result"},{"title":"Create Unmatched Result Test","openapi":"POST /v3/unmatched_result_test","version":"beta","href":"/api-reference/lab-testing/unmatched-results/create-unmatched-result-test"}]},{"group":"Lab Report Parsing","pages":[{"title":"Get Lab Report Parser Job","openapi":"GET /lab_report/v1/parser/job/{job_id}","href":"/api-reference/lab-testing/lab-report-parsing/get-lab-report-parser-job"},{"title":"Create Lab Report Parser Job","openapi":"POST /lab_report/v1/parser/job","href":"/api-reference/lab-testing/lab-report-parsing/post-lab-report-parser-job"}]},{"group":"Health Insurance","pages":[{"title":"Search ICD Codes","openapi":"GET /v3/insurance/search/diagnosis","href":"/api-reference/lab-testing/insurance/search-diagnosis"},{"title":"Search Payors","openapi":"GET /v3/insurance/search/payor","href":"/api-reference/lab-testing/insurance/search-payor-get"},{"title":"Validate ICD Codes","openapi":"POST /v3/insurance/validate_icd_codes","href":"/api-reference/lab-testing/insurance/validate-icd-codes"},{"title":"Create Payor","openapi":"POST /v3/payor","href":"/api-reference/lab-testing/insurance/create-payor"}]},{"group":"Compendium","pages":[{"title":"Compendium Search","openapi":"POST /v3/compendium/search","href":"/api-reference/lab-testing/compendium/search"},{"title":"Compendium Convert","openapi":"POST /v3/compendium/convert","href":"/api-reference/lab-testing/compendium/convert"}]}]},{"anchor":"Event Catalog","icon":"envelope","pages":[{"title":"Event Catalog","href":"/event-catalog/labtest.order.created"}]},{"anchor":"Changelog","icon":"book","href":"https://docs.junction.com/changelog/lab-testing"}]},{"tab":"Devices","icon":"watch-fitness","pages":[{"title":"Devices","href":"/wearables/connecting-providers/bring-your-own-oauth/overview"}]},{"tab":"Junction Sense","icon":"sensor","pages":[{"title":"Junction Sense","href":"/sense/overview"}]},{"tab":"Junction Connect","icon":"frame","pages":[{"title":"Junction Connect","href":"/connect/overview"}]},{"tab":"Management API","icon":"gear","pages":[{"title":"Management API","href":"/api-details/junction-management-api"}]},{"tab":"Changelog","icon":"book","pages":[{"title":"Changelog","href":"/changelog/core/api"}]}]},"basePath":"","title":"Update An Order - Junction","buildId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","deploymentId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BgGj2PGS.js","utils-BhNOqRKb.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BAgRNUZo.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CGkb0TPw.js","snippetPresets-ChLkL1a6.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-Ef10Jrbx.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DlVCnjU8.js","shallow-BA55zJxQ.js","getApiPlaygroundDisplay-DR09dKtp.js","CodeSnippet-BZ8J8Kll.js","CodeSnippets-CcguVheG.js","Page-C7x-eUfk.js","getPastedJson-D5UqeqBp.js","icon-DpD0l99C.js","MethodPill-Wg2NXsp_.js","DuplicateIcon-CCSyX8lh.js","createIcon-C4Ukv9HX.js","DynamicMarkdown-RhjEuCHC.js","SectionHeading-DL1MykRq.js","axios-vUo_bRtp.js","Markdown-BwQ4RMdp.js","dist-CiVXVcSh.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","katex-YMM-FMeD.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","AssistantPageLink-Dic2Jtb2.js"]}