{"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":""},"chroma":{"liveDeploymentHistoryId":"6adb70bae5b0654fca41a889","collectionId":"bb5b1a9e-ebbe-42dc-8360-42a0e5e5752e","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adb70bae5b0654fca41a889"},"feedback":{"thumbs":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6adb70bae5b0654fca41a889","clientVersion":"0.0.3964","searchFilterCounts":[{"language":"default","tag":"Devices","count":300},{"language":"default","tag":"API Reference","count":224},{"language":"default","tag":"Event Catalog","count":185},{"language":"default","tag":"Product Guides","count":134},{"language":"default","tag":"Lab Testing","count":132},{"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"}},"hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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}],"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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"event-catalog/labtest.order.created","slug":"/event-catalog/labtest.order.created","pageMetadata":{"title":"labtest.order.created","description":"Webhook event sent when Junction creates a new lab test order. Includes the event payload schema.","openapi-schema":"ClientFacingOrderChanged","href":"/event-catalog/labtest.order.created"},"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: \"Webhook event sent when Junction creates a new lab test order. Includes the event payload schema.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"labtest.order.created","description":"Webhook event sent when Junction creates a new lab test order. Includes the event payload schema.","openapi-schema":"ClientFacingOrderChanged","href":"/event-catalog/labtest.order.created"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"schemaData":{"properties":{"event_type":{"type":"string","enum":["labtest.order.created","labtest.order.updated"],"title":"Event Type","x-junction-exhaustive":true,"isRequired":true,"uniqueKey":"event_type","typeLabel":"enum\u003cstring>"},"user_id":{"type":"string","format":"uuid","title":"User Id","isRequired":true,"uniqueKey":"user_id","typeLabel":"string\u003cuuid>"},"client_user_id":{"type":"string","format":"uuid","title":"Client User Id","isRequired":true,"uniqueKey":"client_user_id","typeLabel":"string\u003cuuid>"},"team_id":{"type":"string","format":"uuid","title":"Team Id","isRequired":true,"uniqueKey":"team_id","typeLabel":"string\u003cuuid>"},"data":{"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":"data.user_id","typeLabel":"string\u003cuuid>"},"id":{"type":"string","format":"uuid","title":"Id","description":"The Vital Order ID","isRequired":true,"uniqueKey":"data.id","typeLabel":"string\u003cuuid>"},"team_id":{"type":"string","format":"uuid","title":"Team Id","description":"Your team id.","isRequired":true,"uniqueKey":"data.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":"data.patient_details.oneOf.0.dob","typeLabel":"string\u003cdate-time>"},"gender":{"type":"string","title":"Gender","isRequired":true,"uniqueKey":"data.patient_details.oneOf.0.gender","typeLabel":"string"},"first_name":{"oneOf":[{"type":"string","title":"First Name","uniqueKey":"data.patient_details.oneOf.0.first_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"First Name","uniqueKey":"data.patient_details.oneOf.0.first_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.patient_details.oneOf.0.first_name","typeLabel":"string | null"},"last_name":{"oneOf":[{"type":"string","title":"Last Name","uniqueKey":"data.patient_details.oneOf.0.last_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Last Name","uniqueKey":"data.patient_details.oneOf.0.last_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.patient_details.oneOf.0.last_name","typeLabel":"string | null"},"phone_number":{"oneOf":[{"type":"string","title":"Phone Number","uniqueKey":"data.patient_details.oneOf.0.phone_number.oneOf.0","typeLabel":"string"},{"type":"null","title":"Phone Number","uniqueKey":"data.patient_details.oneOf.0.phone_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.patient_details.oneOf.0.phone_number","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","title":"Email","uniqueKey":"data.patient_details.oneOf.0.email.oneOf.0","typeLabel":"string"},{"type":"null","title":"Email","uniqueKey":"data.patient_details.oneOf.0.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.patient_details.oneOf.0.medical_proxy.oneOf.0.first_name","typeLabel":"string"},"last_name":{"type":"string","title":"Last Name","isRequired":true,"uniqueKey":"data.patient_details.oneOf.0.medical_proxy.oneOf.0.last_name","typeLabel":"string"},"address":{"properties":{"first_line":{"type":"string","title":"First Line","isRequired":true,"uniqueKey":"data.patient_details.oneOf.0.medical_proxy.oneOf.0.address.first_line","typeLabel":"string"},"country":{"type":"string","title":"Country","isRequired":true,"uniqueKey":"data.patient_details.oneOf.0.medical_proxy.oneOf.0.address.country","typeLabel":"string"},"zip":{"type":"string","title":"Zip","isRequired":true,"uniqueKey":"data.patient_details.oneOf.0.medical_proxy.oneOf.0.address.zip","typeLabel":"string"},"city":{"type":"string","title":"City","isRequired":true,"uniqueKey":"data.patient_details.oneOf.0.medical_proxy.oneOf.0.address.city","typeLabel":"string"},"state":{"type":"string","title":"State","isRequired":true,"uniqueKey":"data.patient_details.oneOf.0.medical_proxy.oneOf.0.address.state","typeLabel":"string"},"second_line":{"oneOf":[{"type":"string","title":"Second Line","default":"","uniqueKey":"data.patient_details.oneOf.0.medical_proxy.oneOf.0.address.second_line.oneOf.0","typeLabel":"string"},{"type":"null","title":"Second Line","default":"","uniqueKey":"data.patient_details.oneOf.0.medical_proxy.oneOf.0.address.second_line.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.patient_details.oneOf.0.medical_proxy.oneOf.0.address.access_notes.oneOf.0","typeLabel":"string"},{"type":"null","title":"Access Notes","uniqueKey":"data.patient_details.oneOf.0.medical_proxy.oneOf.0.address.access_notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.patient_details.oneOf.0.medical_proxy.oneOf.0.address","typeLabel":"Address · object"},"phone_number":{"type":"string","title":"Phone Number","isRequired":true,"uniqueKey":"data.patient_details.oneOf.0.medical_proxy.oneOf.0.phone_number","typeLabel":"string"},"household_income":{"oneOf":[{"type":"integer","title":"Household Income","uniqueKey":"data.patient_details.oneOf.0.medical_proxy.oneOf.0.household_income.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Household Income","uniqueKey":"data.patient_details.oneOf.0.medical_proxy.oneOf.0.household_income.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.patient_details.oneOf.0.medical_proxy.oneOf.0.household_income","typeLabel":"integer | null"},"household_size":{"oneOf":[{"type":"integer","title":"Household Size","uniqueKey":"data.patient_details.oneOf.0.medical_proxy.oneOf.0.household_size.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Household Size","uniqueKey":"data.patient_details.oneOf.0.medical_proxy.oneOf.0.household_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.patient_details.oneOf.0.medical_proxy.oneOf.0.household_size","typeLabel":"integer | null"},"email":{"oneOf":[{"type":"string","title":"Email","uniqueKey":"data.patient_details.oneOf.0.medical_proxy.oneOf.0.email.oneOf.0","typeLabel":"string"},{"type":"null","title":"Email","uniqueKey":"data.patient_details.oneOf.0.medical_proxy.oneOf.0.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.patient_details.oneOf.0.medical_proxy.oneOf.0.email","typeLabel":"string | null"}},"uniqueKey":"data.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":"data.patient_details.oneOf.0.medical_proxy.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.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":"data.patient_details.oneOf.0.race.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.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":"data.patient_details.oneOf.0.ethnicity.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.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":"data.patient_details.oneOf.0.sexual_orientation.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.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":"data.patient_details.oneOf.0.gender_identity.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.patient_details.oneOf.0.gender_identity","typeLabel":"enum\u003cstring> | null"}},"isRequired":true,"uniqueKey":"data.patient_details.oneOf.0","typeLabel":"ClientFacingPatientDetailsCompatible · object"},{"type":"null","description":"Patient Details","isRequired":true,"uniqueKey":"data.patient_details.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.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":"data.patient_address.oneOf.0.first_line","typeLabel":"string"},"city":{"type":"string","title":"City","isRequired":true,"uniqueKey":"data.patient_address.oneOf.0.city","typeLabel":"string"},"state":{"type":"string","title":"State","isRequired":true,"uniqueKey":"data.patient_address.oneOf.0.state","typeLabel":"string"},"zip":{"type":"string","title":"Zip","isRequired":true,"uniqueKey":"data.patient_address.oneOf.0.zip","typeLabel":"string"},"country":{"type":"string","title":"Country","isRequired":true,"uniqueKey":"data.patient_address.oneOf.0.country","typeLabel":"string"},"receiver_name":{"type":"string","title":"Receiver Name","default":"","uniqueKey":"data.patient_address.oneOf.0.receiver_name","typeLabel":"string"},"second_line":{"oneOf":[{"type":"string","title":"Second Line","uniqueKey":"data.patient_address.oneOf.0.second_line.oneOf.0","typeLabel":"string"},{"type":"null","title":"Second Line","uniqueKey":"data.patient_address.oneOf.0.second_line.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.patient_address.oneOf.0.second_line","typeLabel":"string | null"},"access_notes":{"oneOf":[{"type":"string","title":"Access Notes","maxLength":1000,"uniqueKey":"data.patient_address.oneOf.0.access_notes.oneOf.0","typeLabel":"string"},{"type":"null","title":"Access Notes","uniqueKey":"data.patient_address.oneOf.0.access_notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.patient_address.oneOf.0.access_notes","typeLabel":"string | null"},"phone_number":{"oneOf":[{"type":"string","title":"Phone Number","uniqueKey":"data.patient_address.oneOf.0.phone_number.oneOf.0","typeLabel":"string"},{"type":"null","title":"Phone Number","uniqueKey":"data.patient_address.oneOf.0.phone_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.patient_address.oneOf.0.phone_number","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data.patient_address.oneOf.0","typeLabel":"PatientAddressCompatible · object"},{"type":"null","description":"Patient Address","isRequired":true,"uniqueKey":"data.patient_address.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.patient_address","typeLabel":"PatientAddressCompatible · object | null"},"lab_test":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"","isRequired":true,"uniqueKey":"data.lab_test.id","typeLabel":"string\u003cuuid>"},"slug":{"type":"string","title":"Slug","description":"","isRequired":true,"uniqueKey":"data.lab_test.slug","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"","isRequired":true,"uniqueKey":"data.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":"data.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":"data.lab_test.method","typeLabel":"enum\u003cstring>"},"price":{"type":"number","title":"Price","description":"","deprecated":true,"isRequired":true,"uniqueKey":"data.lab_test.price","typeLabel":"number"},"is_active":{"type":"boolean","title":"Is Active","description":"Deprecated. Use status instead.","isRequired":true,"uniqueKey":"data.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":"data.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":"data.lab_test.lab.oneOf.0.id","typeLabel":"integer"},"slug":{"type":"string","title":"Slug","isRequired":true,"uniqueKey":"data.lab_test.lab.oneOf.0.slug","typeLabel":"string"},"name":{"type":"string","title":"Name","isRequired":true,"uniqueKey":"data.lab_test.lab.oneOf.0.name","typeLabel":"string"},"first_line_address":{"type":"string","title":"First Line Address","isRequired":true,"uniqueKey":"data.lab_test.lab.oneOf.0.first_line_address","typeLabel":"string"},"city":{"type":"string","title":"City","isRequired":true,"uniqueKey":"data.lab_test.lab.oneOf.0.city","typeLabel":"string"},"zipcode":{"type":"string","title":"Zipcode","isRequired":true,"uniqueKey":"data.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":"data.lab_test.lab.oneOf.0.collection_methods.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","title":"Collection Methods","isRequired":true,"uniqueKey":"data.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":"data.lab_test.lab.oneOf.0.sample_types.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","title":"Sample Types","isRequired":true,"uniqueKey":"data.lab_test.lab.oneOf.0.sample_types","typeLabel":"enum\u003cstring>[]"},"logo_url":{"oneOf":[{"type":"string","title":"Logo Url","uniqueKey":"data.lab_test.lab.oneOf.0.logo_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Logo Url","uniqueKey":"data.lab_test.lab.oneOf.0.logo_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lab_test.lab.oneOf.0.logo_url","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data.lab_test.lab.oneOf.0","typeLabel":"ClientFacingLab · object"},{"type":"null","description":"","isRequired":true,"uniqueKey":"data.lab_test.lab.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.lab_test.lab","typeLabel":"ClientFacingLab · object | null"},"markers":{"oneOf":[{"type":"array","items":{"properties":{"id":{"type":"integer","title":"Id","isRequired":true,"uniqueKey":"data.lab_test.markers.oneOf.0.items.[INDEX].id","typeLabel":"integer"},"name":{"type":"string","title":"Name","isRequired":true,"uniqueKey":"data.lab_test.markers.oneOf.0.items.[INDEX].name","typeLabel":"string"},"slug":{"type":"string","title":"Slug","isRequired":true,"uniqueKey":"data.lab_test.markers.oneOf.0.items.[INDEX].slug","typeLabel":"string"},"description":{"oneOf":[{"type":"string","title":"Description","uniqueKey":"data.lab_test.markers.oneOf.0.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","title":"Description","uniqueKey":"data.lab_test.markers.oneOf.0.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lab_test.markers.oneOf.0.items.[INDEX].description","typeLabel":"string | null"},"lab_id":{"oneOf":[{"type":"integer","title":"Lab Id","uniqueKey":"data.lab_test.markers.oneOf.0.items.[INDEX].lab_id.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Lab Id","uniqueKey":"data.lab_test.markers.oneOf.0.items.[INDEX].lab_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lab_test.markers.oneOf.0.items.[INDEX].lab_id","typeLabel":"integer | null"},"provider_id":{"oneOf":[{"type":"string","title":"Provider Id","uniqueKey":"data.lab_test.markers.oneOf.0.items.[INDEX].provider_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Provider Id","uniqueKey":"data.lab_test.markers.oneOf.0.items.[INDEX].provider_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lab_test.markers.oneOf.0.items.[INDEX].provider_id","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","title":"MarkerType","description":"ℹ️ This enum is non-exhaustive.","enum":["biomarker","panel"],"uniqueKey":"data.lab_test.markers.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"ℹ️ This enum is non-exhaustive.","uniqueKey":"data.lab_test.markers.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lab_test.markers.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring> | null"},"unit":{"oneOf":[{"type":"string","title":"Unit","uniqueKey":"data.lab_test.markers.oneOf.0.items.[INDEX].unit.oneOf.0","typeLabel":"string"},{"type":"null","title":"Unit","uniqueKey":"data.lab_test.markers.oneOf.0.items.[INDEX].unit.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lab_test.markers.oneOf.0.items.[INDEX].unit","typeLabel":"string | null"},"price":{"oneOf":[{"type":"string","title":"Price","deprecated":true,"uniqueKey":"data.lab_test.markers.oneOf.0.items.[INDEX].price.oneOf.0","typeLabel":"string"},{"type":"null","title":"Price","deprecated":true,"uniqueKey":"data.lab_test.markers.oneOf.0.items.[INDEX].price.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.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":"data.lab_test.markers.oneOf.0.items.[INDEX].aoe.oneOf.0.questions.items.[INDEX].required","typeLabel":"boolean"},"code":{"type":"string","title":"Code","isRequired":true,"uniqueKey":"data.lab_test.markers.oneOf.0.items.[INDEX].aoe.oneOf.0.questions.items.[INDEX].code","typeLabel":"string"},"value":{"type":"string","title":"Value","isRequired":true,"uniqueKey":"data.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":"data.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":"data.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":"data.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":"data.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":"data.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":"data.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":"data.lab_test.markers.oneOf.0.items.[INDEX].aoe.oneOf.0.questions.items.[INDEX].answers","typeLabel":"Answer · object[]"},"constraint":{"oneOf":[{"type":"string","title":"Constraint","uniqueKey":"data.lab_test.markers.oneOf.0.items.[INDEX].aoe.oneOf.0.questions.items.[INDEX].constraint.oneOf.0","typeLabel":"string"},{"type":"null","title":"Constraint","uniqueKey":"data.lab_test.markers.oneOf.0.items.[INDEX].aoe.oneOf.0.questions.items.[INDEX].constraint.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lab_test.markers.oneOf.0.items.[INDEX].aoe.oneOf.0.questions.items.[INDEX].constraint","typeLabel":"string | null"},"default":{"oneOf":[{"type":"string","title":"Default","uniqueKey":"data.lab_test.markers.oneOf.0.items.[INDEX].aoe.oneOf.0.questions.items.[INDEX].default.oneOf.0","typeLabel":"string"},{"type":"null","title":"Default","uniqueKey":"data.lab_test.markers.oneOf.0.items.[INDEX].aoe.oneOf.0.questions.items.[INDEX].default.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.lab_test.markers.oneOf.0.items.[INDEX].aoe.oneOf.0.questions.items.[INDEX]","typeLabel":"Question · object"},"type":"array","title":"Questions","isRequired":true,"uniqueKey":"data.lab_test.markers.oneOf.0.items.[INDEX].aoe.oneOf.0.questions","typeLabel":"Question · object[]"}},"uniqueKey":"data.lab_test.markers.oneOf.0.items.[INDEX].aoe.oneOf.0","typeLabel":"AoE · object"},{"type":"null","uniqueKey":"data.lab_test.markers.oneOf.0.items.[INDEX].aoe.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.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":"data.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":"data.lab_test.markers.oneOf.0.items.[INDEX].common_tat_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.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":"data.lab_test.markers.oneOf.0.items.[INDEX].worst_case_tat_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.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":"data.lab_test.markers.oneOf.0.items.[INDEX].p50_tat_days_past_7_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.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":"data.lab_test.markers.oneOf.0.items.[INDEX].p50_tat_days_past_90_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.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":"data.lab_test.markers.oneOf.0.items.[INDEX].p90_tat_days_past_7_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.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":"data.lab_test.markers.oneOf.0.items.[INDEX].p90_tat_days_past_90_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.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":"data.lab_test.markers.oneOf.0.items.[INDEX].p95_tat_days_past_7_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.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":"data.lab_test.markers.oneOf.0.items.[INDEX].p95_tat_days_past_90_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.lab_test.markers.oneOf.0.items.[INDEX].is_orderable.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Is Orderable","default":true,"uniqueKey":"data.lab_test.markers.oneOf.0.items.[INDEX].is_orderable.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.lab_test.markers.oneOf.0.items.[INDEX]","typeLabel":"ClientFacingMarker · object"},"title":"Markers","description":"","isRequired":true,"uniqueKey":"data.lab_test.markers.oneOf.0","typeLabel":"ClientFacingMarker · object[]"},{"type":"null","title":"Markers","description":"","isRequired":true,"uniqueKey":"data.lab_test.markers.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.lab_test.markers","typeLabel":"ClientFacingMarker · object[] | null"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","isRequired":true,"uniqueKey":"data.lab_test.updated_at","typeLabel":"string\u003cdate-time>"},"version":{"oneOf":[{"type":"integer","title":"Version","description":"Immutable marker-set version represented by this response.","uniqueKey":"data.lab_test.version.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Version","description":"Immutable marker-set version represented by this response.","uniqueKey":"data.lab_test.version.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lab_test.version","typeLabel":"integer | null"},"fasting":{"type":"boolean","title":"Fasting","description":"Defines whether a lab test requires fasting.","default":false,"uniqueKey":"data.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":"data.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":"data.lab_test.auto_generated","typeLabel":"boolean"},"source_sandbox_lab_test_id":{"oneOf":[{"type":"string","title":"Source Sandbox Lab Test Id","format":"uuid","uniqueKey":"data.lab_test.source_sandbox_lab_test_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Source Sandbox Lab Test Id","uniqueKey":"data.lab_test.source_sandbox_lab_test_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.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":"data.lab_test.has_collection_instructions.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.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":"data.lab_test.common_tat_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.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":"data.lab_test.worst_case_tat_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.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":"data.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":"f221392b-cbd1-42f5-98de-e71411f7eff2","created_at":"2020-01-01T00:00:00Z","id":"eb5fc1ee-13e9-49f5-86e8-a1d0ab56bb3d","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":"data.details.oneOf.0.data.oneOf.0.id","typeLabel":"string\u003cuuid>"},"created_at":{"type":"string","format":"date-time","title":"Created At","isRequired":true,"uniqueKey":"data.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":"data.details.oneOf.0.data.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"appointment_id":{"oneOf":[{"type":"string","title":"Appointment Id","format":"uuid","uniqueKey":"data.details.oneOf.0.data.oneOf.0.appointment_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Appointment Id","uniqueKey":"data.details.oneOf.0.data.oneOf.0.appointment_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.details.oneOf.0.data.oneOf.0.appointment_id","typeLabel":"string\u003cuuid> | null"}},"uniqueKey":"data.details.oneOf.0.data.oneOf.0","typeLabel":"ClientFacingWalkInTestOrder · object"},{"type":"null","uniqueKey":"data.details.oneOf.0.data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.details.oneOf.0.data","typeLabel":"ClientFacingWalkInTestOrder · object | null"}},"isRequired":true,"uniqueKey":"data.details.oneOf.0","typeLabel":"ClientFacingWalkInOrderDetails · object"},{"type":"object","title":"ClientFacingTestKitOrderDetails","required":["type"],"properties":{"type":{"type":"string","const":"testkit","title":"Type","isRequired":true,"uniqueKey":"data.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":"ab9a369d-aae8-4458-89f6-dcb49c5d16b3","shipment":{"created_at":"2020-01-01T00:00:00.000Z","id":"8a0d6434-bf48-4b3b-bf09-998f05630dc2","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":"data.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":"8cebe5b8-d160-41f8-accd-37f41184559c","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":"data.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":"data.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":"data.details.oneOf.1.data.oneOf.0.shipment.oneOf.0.outbound_tracking_number.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.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":"data.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":"data.details.oneOf.1.data.oneOf.0.shipment.oneOf.0.outbound_tracking_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.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":"data.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":"data.details.oneOf.1.data.oneOf.0.shipment.oneOf.0.inbound_tracking_number.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.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":"data.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":"data.details.oneOf.1.data.oneOf.0.shipment.oneOf.0.inbound_tracking_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.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":"data.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":"data.details.oneOf.1.data.oneOf.0.shipment.oneOf.0.outbound_courier.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.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":"data.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":"data.details.oneOf.1.data.oneOf.0.shipment.oneOf.0.inbound_courier.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.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":"data.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":"data.details.oneOf.1.data.oneOf.0.shipment.oneOf.0.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.details.oneOf.1.data.oneOf.0.shipment.oneOf.0.notes","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data.details.oneOf.1.data.oneOf.0.shipment.oneOf.0","typeLabel":"ClientFacingShipment · object"},{"type":"null","description":"Shipment object","isRequired":true,"uniqueKey":"data.details.oneOf.1.data.oneOf.0.shipment.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.details.oneOf.1.data.oneOf.0.shipment","typeLabel":"ClientFacingShipment · object | null"},"created_at":{"type":"string","format":"date-time","title":"Created At","isRequired":true,"uniqueKey":"data.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":"data.details.oneOf.1.data.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.details.oneOf.1.data.oneOf.0","typeLabel":"ClientFacingTestkitOrder · object"},{"type":"null","uniqueKey":"data.details.oneOf.1.data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.details.oneOf.1.data","typeLabel":"ClientFacingTestkitOrder · object | null"}},"isRequired":true,"uniqueKey":"data.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":"data.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":"8bcf2f88-eac0-47ab-9571-660d05a21faa","created_at":"2020-01-01T00:00:00Z","id":"9cbd468c-ccba-41c7-8f48-b114b47c6566","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":"data.details.oneOf.2.data.oneOf.0.id","typeLabel":"string\u003cuuid>"},"created_at":{"type":"string","format":"date-time","title":"Created At","isRequired":true,"uniqueKey":"data.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":"data.details.oneOf.2.data.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"appointment_id":{"oneOf":[{"type":"string","title":"Appointment Id","format":"uuid","uniqueKey":"data.details.oneOf.2.data.oneOf.0.appointment_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Appointment Id","uniqueKey":"data.details.oneOf.2.data.oneOf.0.appointment_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.details.oneOf.2.data.oneOf.0.appointment_id","typeLabel":"string\u003cuuid> | null"}},"uniqueKey":"data.details.oneOf.2.data.oneOf.0","typeLabel":"ClientFacingAtHomePhlebotomyOrder · object"},{"type":"null","uniqueKey":"data.details.oneOf.2.data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.details.oneOf.2.data","typeLabel":"ClientFacingAtHomePhlebotomyOrder · object | null"}},"isRequired":true,"uniqueKey":"data.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":"data.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":"96349900-e540-4429-af34-ea3ae585f8e8","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":"data.details.oneOf.3.data.oneOf.0.id","typeLabel":"string\u003cuuid>"},"created_at":{"type":"string","format":"date-time","title":"Created At","isRequired":true,"uniqueKey":"data.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":"data.details.oneOf.3.data.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.details.oneOf.3.data.oneOf.0","typeLabel":"ClientFacingOnSiteCollectionOrder · object"},{"type":"null","uniqueKey":"data.details.oneOf.3.data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.details.oneOf.3.data","typeLabel":"ClientFacingOnSiteCollectionOrder · object | null"}},"isRequired":true,"uniqueKey":"data.details.oneOf.3","typeLabel":"ClientFacingOnSiteCollectionOrderDetails · object"}],"isRequired":true,"uniqueKey":"data.details","typeLabel":"ClientFacingWalkInOrderDetails · object | ClientFacingTestKitOrderDetails · object | ClientFacingAtHomePhlebotomyOrderDetails · object | ClientFacingOnSiteCollectionOrderDetails · object"},"sample_id":{"oneOf":[{"type":"string","title":"Sample Id","description":"Sample ID","isRequired":true,"uniqueKey":"data.sample_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Sample Id","description":"Sample ID","isRequired":true,"uniqueKey":"data.sample_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.sample_id","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","title":"Notes","description":"Notes associated with the order","isRequired":true,"uniqueKey":"data.notes.oneOf.0","typeLabel":"string"},{"type":"null","title":"Notes","description":"Notes associated with the order","isRequired":true,"uniqueKey":"data.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.notes","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"When your order was created","isRequired":true,"uniqueKey":"data.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":"data.updated_at","typeLabel":"string\u003cdate-time>"},"events":{"items":{"properties":{"id":{"type":"integer","title":"Id","isRequired":true,"uniqueKey":"data.events.items.[INDEX].id","typeLabel":"integer"},"created_at":{"type":"string","format":"date-time","title":"Created At","isRequired":true,"uniqueKey":"data.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":"data.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":"data.events.items.[INDEX].status_detail.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"ℹ️ This enum is non-exhaustive.","uniqueKey":"data.events.items.[INDEX].status_detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.events.items.[INDEX].status_detail","typeLabel":"enum\u003cstring> | null"}},"type":"object","required":["id","created_at","status"],"title":"ClientFacingOrderEvent","uniqueKey":"data.events.items.[INDEX]","typeLabel":"ClientFacingOrderEvent · object"},"type":"array","title":"Events","isRequired":true,"uniqueKey":"data.events","typeLabel":"ClientFacingOrderEvent · object[]"},"last_event":{"properties":{"id":{"type":"integer","title":"Id","isRequired":true,"uniqueKey":"data.last_event.id","typeLabel":"integer"},"created_at":{"type":"string","format":"date-time","title":"Created At","isRequired":true,"uniqueKey":"data.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":"data.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":"data.last_event.status_detail.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"ℹ️ This enum is non-exhaustive.","uniqueKey":"data.last_event.status_detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.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":"data.health_insurance_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Health Insurance Id","description":"Vital ID of the health insurance.","isRequired":true,"uniqueKey":"data.health_insurance_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.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":"data.requisition_form_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Requisition Form Url","description":"DEPRECATED. Requistion form url.","isRequired":true,"uniqueKey":"data.requisition_form_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.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":"data.shipping_details.oneOf.0.receiver_name","typeLabel":"string"},"first_line":{"type":"string","title":"First Line","isRequired":true,"uniqueKey":"data.shipping_details.oneOf.0.first_line","typeLabel":"string"},"city":{"type":"string","title":"City","isRequired":true,"uniqueKey":"data.shipping_details.oneOf.0.city","typeLabel":"string"},"state":{"type":"string","title":"State","isRequired":true,"uniqueKey":"data.shipping_details.oneOf.0.state","typeLabel":"string"},"zip":{"type":"string","title":"Zip","isRequired":true,"uniqueKey":"data.shipping_details.oneOf.0.zip","typeLabel":"string"},"country":{"type":"string","title":"Country","isRequired":true,"uniqueKey":"data.shipping_details.oneOf.0.country","typeLabel":"string"},"phone_number":{"type":"string","title":"Phone Number","isRequired":true,"uniqueKey":"data.shipping_details.oneOf.0.phone_number","typeLabel":"string"},"second_line":{"oneOf":[{"type":"string","title":"Second Line","uniqueKey":"data.shipping_details.oneOf.0.second_line.oneOf.0","typeLabel":"string"},{"type":"null","title":"Second Line","uniqueKey":"data.shipping_details.oneOf.0.second_line.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.shipping_details.oneOf.0.second_line","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data.shipping_details.oneOf.0","typeLabel":"ShippingAddress · object"},{"type":"null","description":"Shipping Details. For unregistered testkit orders.","isRequired":true,"uniqueKey":"data.shipping_details.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.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":"data.has_abn","typeLabel":"boolean"},"lab_account_id":{"oneOf":[{"type":"string","title":"Lab Account Id","format":"uuid","uniqueKey":"data.lab_account_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Lab Account Id","uniqueKey":"data.lab_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lab_account_id","typeLabel":"string\u003cuuid> | null"},"clinical_notes":{"oneOf":[{"type":"string","title":"Clinical Notes","uniqueKey":"data.clinical_notes.oneOf.0","typeLabel":"string"},{"type":"null","title":"Clinical Notes","uniqueKey":"data.clinical_notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.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":"data.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.physician.oneOf.0.first_name","typeLabel":"string"},"last_name":{"type":"string","title":"Last Name","isRequired":true,"uniqueKey":"data.physician.oneOf.0.last_name","typeLabel":"string"},"npi":{"type":"string","title":"Npi","isRequired":true,"uniqueKey":"data.physician.oneOf.0.npi","typeLabel":"string"}},"uniqueKey":"data.physician.oneOf.0","typeLabel":"ClientFacingPhysician · object"},{"type":"null","uniqueKey":"data.physician.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.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":"data.activate_by.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","title":"Activate By","description":"Schedule an Order to be processed in a future date.","uniqueKey":"data.activate_by.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.activate_by","typeLabel":"string\u003cdate> | null"},"passthrough":{"oneOf":[{"type":"string","title":"Passthrough","uniqueKey":"data.passthrough.oneOf.0","typeLabel":"string"},{"type":"null","title":"Passthrough","uniqueKey":"data.passthrough.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.billing_type","typeLabel":"enum\u003cstring>"},"icd_codes":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"data.icd_codes.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Icd Codes","uniqueKey":"data.icd_codes.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Icd Codes","uniqueKey":"data.icd_codes.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.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":"data.interpretation.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.has_missing_results.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Has Missing Results","description":"Defines whether the order result has missing biomarkers.","uniqueKey":"data.has_missing_results.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.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":"data.expected_result_by_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.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":"data.worst_case_result_by_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.origin.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"ℹ️ This enum is non-exhaustive.","uniqueKey":"data.origin.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.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":"data.order_transaction.oneOf.0.status","typeLabel":"enum\u003cstring>"},"orders":{"items":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","isRequired":true,"uniqueKey":"data.order_transaction.oneOf.0.orders.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"created_at":{"type":"string","format":"date-time","title":"Created At","isRequired":true,"uniqueKey":"data.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":"data.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":"data.order_transaction.oneOf.0.orders.items.[INDEX].low_level_status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"ℹ️ This enum is non-exhaustive.","uniqueKey":"data.order_transaction.oneOf.0.orders.items.[INDEX].low_level_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.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":"data.order_transaction.oneOf.0.orders.items.[INDEX].low_level_status_created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.order_transaction.oneOf.0.orders.items.[INDEX].origin.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"ℹ️ This enum is non-exhaustive.","uniqueKey":"data.order_transaction.oneOf.0.orders.items.[INDEX].origin.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.order_transaction.oneOf.0.orders.items.[INDEX].origin","typeLabel":"enum\u003cstring> | null"},"parent_id":{"oneOf":[{"type":"string","title":"Parent Id","format":"uuid","uniqueKey":"data.order_transaction.oneOf.0.orders.items.[INDEX].parent_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Parent Id","uniqueKey":"data.order_transaction.oneOf.0.orders.items.[INDEX].parent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.order_transaction.oneOf.0.orders.items.[INDEX]","typeLabel":"ClientFacingOrderInTransaction · object"},"type":"array","title":"Orders","isRequired":true,"uniqueKey":"data.order_transaction.oneOf.0.orders","typeLabel":"ClientFacingOrderInTransaction · object[]"}},"uniqueKey":"data.order_transaction.oneOf.0","typeLabel":"ClientFacingOrderTransaction · object"},{"type":"null","uniqueKey":"data.order_transaction.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"e49493d4-aa35-40a7-b5ec-f3ef3792107d","id":"49c093b7-8015-4cc7-a960-37a1a587aa68","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":"9b8794e2-312b-49b7-a8dc-425fa16546c7","updated_at":"2020-01-01T00:00:00Z","user_id":"2c15a761-8e6a-4ba6-bb88-1e372602dc44"},"isRequired":true,"uniqueKey":"data","typeLabel":"ClientFacingOrder · object"}},"type":"object","required":["event_type","user_id","client_user_id","team_id","data"],"title":"ClientFacingOrderChanged","uniqueKey":"","typeLabel":"ClientFacingOrderChanged · object","example":{"title":"Example","value":{"user_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","client_user_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","team_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","data":{"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":"e49493d4-aa35-40a7-b5ec-f3ef3792107d","id":"49c093b7-8015-4cc7-a960-37a1a587aa68","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":"9b8794e2-312b-49b7-a8dc-425fa16546c7","updated_at":"2020-01-01T00:00:00Z","user_id":"2c15a761-8e6a-4ba6-bb88-1e372602dc44"}}}},"originalFileLocation":"swagger.json"},"subdomain":"vital","siteName":"Junction","title":"labtest.order.created - Junction","relatedPagesConfig":{"enabled":true,"limit":5,"mode":"automatic"},"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-23T14:32:02.029Z","originalFileLocation":"event-catalog/labtest.order.created.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=\"Webhook event sent when Junction creates a new lab test order. Includes the event payload schema.\">\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=\"labtest.order.created - Junction\">\u003cmeta data-mint-head property=\"og:description\" content=\"Webhook event sent when Junction creates a new lab test order. Includes the event payload schema.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Junction\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.junction.com/event-catalog/labtest.order.created\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://vital.mintlify.app/_mintlify/api/og/v2?division=Orders\u0026amp;title=labtest.order.created\u0026amp;description=Webhook+event+sent+when+Junction+creates+a+new+lab+test+order.+Includes+the+event+payload+schema.\u0026amp;theme=83ee27a3df1448316ba21b8d\u0026amp;signature=4c5c0a668cc1fc184530ef24447b7dd485880d62b60d96e3d66afe658d70e940\">\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=\"labtest.order.created - Junction\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Webhook event sent when Junction creates a new lab test order. Includes the event payload schema.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://vital.mintlify.app/_mintlify/api/og/v2?division=Orders\u0026amp;title=labtest.order.created\u0026amp;description=Webhook+event+sent+when+Junction+creates+a+new+lab+test+order.+Includes+the+event+payload+schema.\u0026amp;theme=83ee27a3df1448316ba21b8d\u0026amp;signature=4c5c0a668cc1fc184530ef24447b7dd485880d62b60d96e3d66afe658d70e940\">\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/event-catalog/labtest.order.created\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/event-catalog/labtest.order.created.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/event-catalog/labtest.order.created#webpage\",\"url\":\"https://docs.junction.com/event-catalog/labtest.order.created\",\"name\":\"labtest.order.created\",\"description\":\"Webhook event sent when Junction creates a new lab test order. Includes the event payload schema.\",\"dateModified\":\"2026-10-23T14:32:02.029Z\",\"isPartOf\":{\"@id\":\"https://docs.junction.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.junction.com/event-catalog/labtest.order.created#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.junction.com/event-catalog/labtest.order.created#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Junction\",\"item\":\"https://docs.junction.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"labtest.order.created\",\"item\":\"https://docs.junction.com/event-catalog/labtest.order.created\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.junction.com/event-catalog/labtest.order.created#apireference\",\"headline\":\"labtest.order.created\",\"name\":\"labtest.order.created\",\"description\":\"Webhook event sent when Junction creates a new lab test order. Includes the event payload schema.\",\"url\":\"https://docs.junction.com/event-catalog/labtest.order.created\",\"mainEntityOfPage\":{\"@id\":\"https://docs.junction.com/event-catalog/labtest.order.created#webpage\"},\"dateModified\":\"2026-10-23T14:32:02.029Z\",\"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\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","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","pages":[{"title":"API Reference","href":"/api-reference/lab-testing/create-order"}]},{"anchor":"Event Catalog","icon":"envelope","pages":[{"group":"Orders","pages":[{"title":"labtest.order.created","href":"/event-catalog/labtest.order.created"},{"title":"labtest.order.updated","description":"Webhook event sent when a lab test order changes status, such as when results are ready. Includes the payload schema.","href":"/event-catalog/labtest.order.updated"}]},{"group":"Results","pages":[{"title":"labtest.match_review.created","href":"/event-catalog/labtest.match_review.created"},{"title":"labtest.match_review.updated","href":"/event-catalog/labtest.match_review.updated"},{"title":"labtest.result.critical","href":"/event-catalog/labtest.result.critical"}]},{"group":"Appointments","pages":[{"title":"labtest.appointment.created","href":"/event-catalog/labtest.appointment.created"},{"title":"labtest.appointment.updated","href":"/event-catalog/labtest.appointment.updated"}]},{"group":"Lab Report Parsing","pages":[{"title":"lab_report.parsing_job.created","href":"/event-catalog/lab_report.parsing_job.created"},{"title":"lab_report.parsing_job.updated","href":"/event-catalog/lab_report.parsing_job.updated"}]}]},{"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"}]}]},"title":"labtest.order.created - Junction","buildId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","deploymentId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BRm_l__d.js","utils-f1l1Oc-G.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BlhqDhJO.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DHCB7rsC.js","snippetPresets-CYXLx6Hv.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-B78P2dEq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C4YLPVAh.js","shallow-vlLnTDkQ.js","getApiPlaygroundDisplay-D_98hhvf.js","CodeSnippet-DtnZHGqq.js","CodeSnippets-CLFb8KJt.js","Page-kQh739Uz.js","getPastedJson-Cq-zlbnU.js","icon-sN3t983t.js","MethodPill-P_YQ2s09.js","DuplicateIcon-BVzyNsGJ.js","createIcon-B3jqgqC6.js","DynamicMarkdown-Crwq6WG_.js","SectionHeading-C7pGS2Bb.js","axios-vUo_bRtp.js","Markdown-BuPH8yuW.js","clsx-CCOYKgaU.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BnkC_6oA.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BM4S31-f.js"]}