{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["partial","admonition","tabs","tab","code-snippet"]},"type":"markdown"},"seo":{"title":"Create an authorization"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"create-an-authorization","__idx":0},"children":["Create an authorization"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This playbook is for integrators who receive authorization (prior approval) requests in another system, such as a utilization management or intake tool, and need to record them in VBA. You end up with an authorization that has its procedure and diagnosis codes attached and a status, ready for claims to be matched against it."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"This changes production data"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["VBAPI clients connect to production, so the write calls on this page create or change real records in the database you name in ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["vbasoftware-database"]},". Try the steps in a non-production database first if VBA has given you one, use clearly fake values while you test, and keep the \"Check it worked\" calls, which only read data. \"Try it\" in the API reference also calls production."]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Who this is for"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Utilization management and care management integrators"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Time to run"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["About 10 minutes"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Writes data?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes. Every step except the read-back creates or changes a record. Try it in a non-production database first if you have one; \"Try it\" in the API reference also calls production."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Endpoints used"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["8"]}]}]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Before you start"},"children":[{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["You have completed the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/developer-portal/get-started/quick-start"},"children":["quick start"]}," and can get an ID token."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The member already exists. You need their ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["subscriber_ID"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["member_Seq"]}," (see ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/developer-portal/concepts/ids-and-conventions"},"children":["IDs, keys and field names"]},"). Check it with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /subscribers/{subscriberID}/members/{memberSeq}"]}," first: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /auths"]}," does not reject a member that does not exist."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The provider already exists. You need VBA's internal ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["provider_ID"]},", not the provider's NPI."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The procedure code, diagnosis code, and auth code you plan to use are configured in your database. The lookups in step 1 show you how to check."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Your API user has rights to the authorization screens. Which security areas that requires needs confirmation with VBA."]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"how-it-fits-together","__idx":1},"children":["How it fits together"]},{"$$mdtype":"Tag","name":"Diagram","attributes":{"data-language":"mermaid","diagramType":"mermaid","diagramSource":"sequenceDiagram\n  participant App as Your system\n  participant API as VBAPI\n  App->>API: POST /auths\n  API-->>App: Auth with generated auth_Number\n  App->>API: POST /auths/{authNumber}/procedure-codes\n  App->>API: POST /auths/{authNumber}/diagnostic-codes\n  App->>API: GET /auths/{authNumber} (plus code lists)\n  API-->>App: The saved authorization\n  App->>API: POST /auths/{authNumber}/process-status/{newAuthCode}\n  API-->>App: Auth with new auth_Code and status\n","diagramHtml":"<svg id=\"diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" style=\"max-width: 739px;\" viewBox=\"-50 -10 739 535\" role=\"graphics-document document\" aria-roledescription=\"sequence\"><style>\n    #diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c foreignObject {\n      overflow: visible;\n    }\n  </style><g><rect x=\"489\" y=\"449\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"API\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"564\" y=\"481.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"564\" dy=\"0\">VBAPI</tspan></text></g><g><rect x=\"0\" y=\"449\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"App\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"75\" y=\"481.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">Your system</tspan></text></g><g><line id=\"actor1\" x1=\"564\" y1=\"65\" x2=\"564\" y2=\"449\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"API\" data-et=\"life-line\" data-id=\"API\"></line><g id=\"root-1\" data-et=\"participant\" data-type=\"participant\" data-id=\"API\"><rect x=\"489\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"API\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"564\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"564\" dy=\"0\">VBAPI</tspan></text></g></g><g><line id=\"actor0\" x1=\"75\" y1=\"65\" x2=\"75\" y2=\"449\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"App\" data-et=\"life-line\" data-id=\"App\"></line><g id=\"root-0\" data-et=\"participant\" data-type=\"participant\" data-id=\"App\"><rect x=\"0\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"App\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"75\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">Your system</tspan></text></g></g><style>#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c{font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .error-icon{fill:#552222;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .error-text{fill:#552222;stroke:#552222;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .edge-thickness-normal{stroke-width:1px;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .edge-thickness-thick{stroke-width:3.5px;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .edge-pattern-solid{stroke-dasharray:0;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .edge-thickness-invisible{stroke-width:0;fill:none;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .edge-pattern-dashed{stroke-dasharray:3;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .edge-pattern-dotted{stroke-dasharray:2;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .marker{fill:#333333;stroke:#333333;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .marker.cross{stroke:#333333;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c svg{font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;font-size:16px;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c p{margin:0;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .actor{stroke:#9370DB;fill:#ECECFF;stroke-width:1;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c rect.actor.outer-path[data-look=\"neo\"]{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c rect.note[data-look=\"neo\"]{stroke:#aaaa33;fill:#fff5ad;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c text.actor&gt;tspan{fill:black;stroke:none;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .actor-line{stroke:#9370DB;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .innerArc{stroke-width:1.5;stroke-dasharray:none;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .messageLine1{stroke-width:1.5;stroke-dasharray:2,2;stroke:#333;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c [id$=\"-arrowhead\"] path{fill:#333;stroke:#333;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .sequenceNumber{fill:white;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c [id$=\"-sequencenumber\"]{fill:#333;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c [id$=\"-crosshead\"] path{fill:#333;stroke:#333;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .messageText{fill:#333;stroke:none;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .labelBox{stroke:#9370DB;fill:#ECECFF;filter:none;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .labelText,#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .labelText&gt;tspan{fill:black;stroke:none;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .loopText,#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .loopText&gt;tspan{fill:black;stroke:none;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .sectionTitle,#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .sectionTitle&gt;tspan{fill:black;stroke:none;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .loopLine{stroke-width:2px;stroke-dasharray:2,2;stroke:#9370DB;fill:#9370DB;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .note{stroke:#aaaa33;fill:#fff5ad;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .noteText,#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .noteText&gt;tspan{fill:black;stroke:none;font-weight:normal;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .activation0{fill:#f4f4f4;stroke:#666;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .activation1{fill:#f4f4f4;stroke:#666;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .activation2{fill:#f4f4f4;stroke:#666;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .actorPopupMenu{position:absolute;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .actorPopupMenuPanel{position:absolute;fill:#ECECFF;box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2);filter:drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .actor-man circle,#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c line{fill:#ECECFF;stroke-width:2px;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c g rect.rect{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));stroke:#9370DB;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c .node .neo-node{stroke:#9370DB;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c [data-look=\"neo\"].node rect,#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c [data-look=\"neo\"].cluster rect,#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c [data-look=\"neo\"].node polygon{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c [data-look=\"neo\"].swimlane.cluster rect{filter:none;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c [data-look=\"neo\"].node path{stroke:#9370DB;stroke-width:1px;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c [data-look=\"neo\"].node .outer-path{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c [data-look=\"neo\"].node .neo-line path{stroke:#9370DB;filter:none;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c [data-look=\"neo\"].node circle{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c [data-look=\"neo\"].node circle .state-start{fill:#000000;}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c [data-look=\"neo\"].icon-shape .icon{fill:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c [data-look=\"neo\"].icon-shape .icon-neo path{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c :root{--mermaid-font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;}</style><g></g><defs><symbol id=\"diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c-computer\" width=\"24\" height=\"24\"><path transform=\"scale(.5)\" d=\"M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z\"></path></symbol></defs><defs><symbol id=\"diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c-database\" fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path transform=\"scale(.5)\" d=\"M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z\"></path></symbol></defs><defs><symbol id=\"diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c-clock\" width=\"24\" height=\"24\"><path transform=\"scale(.5)\" d=\"M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z\"></path></symbol></defs><defs><marker id=\"diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c-arrowhead\" refX=\"7.9\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M -1 0 L 10 5 L 0 10 z\"></path></marker></defs><defs><marker id=\"diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c-crosshead\" markerWidth=\"15\" markerHeight=\"8\" orient=\"auto\" refX=\"4\" refY=\"4.5\"><path fill=\"none\" stroke=\"#000000\" stroke-width=\"1pt\" d=\"M 1,2 L 6,7 M 6,2 L 1,7\" style=\"stroke-dasharray: 0, 0;\"></path></marker></defs><defs><marker id=\"diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c-filled-head\" refX=\"15.5\" refY=\"7\" markerWidth=\"20\" markerHeight=\"28\" orient=\"auto\"><path d=\"M 18,7 L9,13 L14,7 L9,1 Z\"></path></marker></defs><defs><marker id=\"diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c-sequencenumber\" refX=\"15\" refY=\"15\" markerWidth=\"60\" markerHeight=\"40\" orient=\"auto\"><circle cx=\"15\" cy=\"15\" r=\"6\"></circle></marker></defs><defs><marker id=\"diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c-solidTopArrowHead\" refX=\"7.9\" refY=\"7.25\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 10 8 L 0 8 z\"></path></marker></defs><defs><marker id=\"diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c-solidBottomArrowHead\" refX=\"7.9\" refY=\"0.75\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 10 0 L 0 8 z\"></path></marker></defs><defs><marker id=\"diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c-stickTopArrowHead\" refX=\"7.5\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 7 7\" stroke=\"black\" stroke-width=\"1.5\" fill=\"none\"></path></marker></defs><defs><marker id=\"diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c-stickBottomArrowHead\" refX=\"7.5\" refY=\"0\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 7 L 7 0\" stroke=\"black\" stroke-width=\"1.5\" fill=\"none\"></path></marker></defs><text x=\"318\" y=\"80\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">POST /auths</text><line x1=\"76\" y1=\"109\" x2=\"560\" y2=\"109\" class=\"messageLine0\" data-et=\"message\" data-id=\"i0\" data-from=\"App\" data-to=\"API\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c-arrowhead)\" style=\"fill: none;\"></line><text x=\"321\" y=\"124\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">Auth with generated auth_Number</text><line x1=\"563\" y1=\"155\" x2=\"79\" y2=\"155\" class=\"messageLine1\" data-et=\"message\" data-id=\"i1\" data-from=\"API\" data-to=\"App\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c-arrowhead)\" style=\"stroke-dasharray: 3, 3; fill: none;\"></line><text x=\"318\" y=\"170\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">POST /auths/{authNumber}/procedure-codes</text><line x1=\"76\" y1=\"201\" x2=\"560\" y2=\"201\" class=\"messageLine0\" data-et=\"message\" data-id=\"i2\" data-from=\"App\" data-to=\"API\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c-arrowhead)\" style=\"fill: none;\"></line><text x=\"318\" y=\"216\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">POST /auths/{authNumber}/diagnostic-codes</text><line x1=\"76\" y1=\"247\" x2=\"560\" y2=\"247\" class=\"messageLine0\" data-et=\"message\" data-id=\"i3\" data-from=\"App\" data-to=\"API\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c-arrowhead)\" style=\"fill: none;\"></line><text x=\"318\" y=\"262\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">GET /auths/{authNumber} (plus code lists)</text><line x1=\"76\" y1=\"293\" x2=\"560\" y2=\"293\" class=\"messageLine0\" data-et=\"message\" data-id=\"i4\" data-from=\"App\" data-to=\"API\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c-arrowhead)\" style=\"fill: none;\"></line><text x=\"321\" y=\"308\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">The saved authorization</text><line x1=\"563\" y1=\"337\" x2=\"79\" y2=\"337\" class=\"messageLine1\" data-et=\"message\" data-id=\"i5\" data-from=\"API\" data-to=\"App\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c-arrowhead)\" style=\"stroke-dasharray: 3, 3; fill: none;\"></line><text x=\"318\" y=\"352\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">POST /auths/{authNumber}/process-status/{newAuthCode}</text><line x1=\"76\" y1=\"383\" x2=\"560\" y2=\"383\" class=\"messageLine0\" data-et=\"message\" data-id=\"i6\" data-from=\"App\" data-to=\"API\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c-arrowhead)\" style=\"fill: none;\"></line><text x=\"321\" y=\"398\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">Auth with new auth_Code and status</text><line x1=\"563\" y1=\"429\" x2=\"79\" y2=\"429\" class=\"messageLine1\" data-et=\"message\" data-id=\"i7\" data-from=\"API\" data-to=\"App\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-5842753d12e59eddfb273c916a484fdb0e0671410253975a2e4d85aa5f11f11c-arrowhead)\" style=\"stroke-dasharray: 3, 3; fill: none;\"></line></svg>","diagramHtmlDark":"<svg id=\"diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" style=\"max-width: 739px;\" viewBox=\"-50 -10 739 535\" role=\"graphics-document document\" aria-roledescription=\"sequence\"><style>\n    #diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f foreignObject {\n      overflow: visible;\n    }\n  </style><g><rect x=\"489\" y=\"449\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"API\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"564\" y=\"481.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"564\" dy=\"0\">VBAPI</tspan></text></g><g><rect x=\"0\" y=\"449\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"App\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"75\" y=\"481.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">Your system</tspan></text></g><g><line id=\"actor1\" x1=\"564\" y1=\"65\" x2=\"564\" y2=\"449\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"API\" data-et=\"life-line\" data-id=\"API\"></line><g id=\"root-1\" data-et=\"participant\" data-type=\"participant\" data-id=\"API\"><rect x=\"489\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"API\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"564\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"564\" dy=\"0\">VBAPI</tspan></text></g></g><g><line id=\"actor0\" x1=\"75\" y1=\"65\" x2=\"75\" y2=\"449\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"App\" data-et=\"life-line\" data-id=\"App\"></line><g id=\"root-0\" data-et=\"participant\" data-type=\"participant\" data-id=\"App\"><rect x=\"0\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"App\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"75\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">Your system</tspan></text></g></g><style>#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f{font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;font-size:16px;fill:#ccc;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .error-icon{fill:#a44141;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .error-text{fill:#ddd;stroke:#ddd;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .edge-thickness-normal{stroke-width:1px;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .edge-thickness-thick{stroke-width:3.5px;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .edge-pattern-solid{stroke-dasharray:0;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .edge-thickness-invisible{stroke-width:0;fill:none;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .edge-pattern-dashed{stroke-dasharray:3;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .edge-pattern-dotted{stroke-dasharray:2;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .marker{fill:lightgrey;stroke:lightgrey;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .marker.cross{stroke:lightgrey;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f svg{font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;font-size:16px;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f p{margin:0;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .actor{stroke:#ccc;fill:#1f2020;stroke-width:1;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f rect.actor.outer-path[data-look=\"neo\"]{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f rect.note[data-look=\"neo\"]{stroke:hsl(180, 0%, 18.3529411765%);fill:hsl(180, 1.5873015873%, 28.3529411765%);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f text.actor&gt;tspan{fill:lightgrey;stroke:none;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .actor-line{stroke:#ccc;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .innerArc{stroke-width:1.5;stroke-dasharray:none;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:lightgrey;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .messageLine1{stroke-width:1.5;stroke-dasharray:2,2;stroke:lightgrey;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f [id$=\"-arrowhead\"] path{fill:lightgrey;stroke:lightgrey;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .sequenceNumber{fill:black;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f [id$=\"-sequencenumber\"]{fill:lightgrey;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f [id$=\"-crosshead\"] path{fill:lightgrey;stroke:lightgrey;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .messageText{fill:lightgrey;stroke:none;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .labelBox{stroke:#ccc;fill:#1f2020;filter:none;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .labelText,#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .labelText&gt;tspan{fill:lightgrey;stroke:none;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .loopText,#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .loopText&gt;tspan{fill:lightgrey;stroke:none;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .sectionTitle,#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .sectionTitle&gt;tspan{fill:lightgrey;stroke:none;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .loopLine{stroke-width:2px;stroke-dasharray:2,2;stroke:#ccc;fill:#ccc;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .note{stroke:hsl(180, 0%, 18.3529411765%);fill:hsl(180, 1.5873015873%, 28.3529411765%);}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .noteText,#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .noteText&gt;tspan{fill:rgb(183.8476190475, 181.5523809523, 181.5523809523);stroke:none;font-weight:normal;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .activation0{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:#ccc;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .activation1{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:#ccc;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .activation2{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:#ccc;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .actorPopupMenu{position:absolute;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .actorPopupMenuPanel{position:absolute;fill:#1f2020;box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2);filter:drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .actor-man circle,#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f line{fill:#1f2020;stroke-width:2px;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f g rect.rect{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));stroke:#ccc;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f .node .neo-node{stroke:#ccc;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f [data-look=\"neo\"].node rect,#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f [data-look=\"neo\"].cluster rect,#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f [data-look=\"neo\"].node polygon{stroke:url(#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f [data-look=\"neo\"].swimlane.cluster rect{filter:none;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f [data-look=\"neo\"].node path{stroke:url(#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f-gradient);stroke-width:1px;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f [data-look=\"neo\"].node .outer-path{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f [data-look=\"neo\"].node .neo-line path{stroke:#ccc;filter:none;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f [data-look=\"neo\"].node circle{stroke:url(#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f [data-look=\"neo\"].node circle .state-start{fill:#000000;}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f [data-look=\"neo\"].icon-shape .icon{fill:url(#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f [data-look=\"neo\"].icon-shape .icon-neo path{stroke:url(#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f :root{--mermaid-font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;}</style><g></g><defs><symbol id=\"diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f-computer\" width=\"24\" height=\"24\"><path transform=\"scale(.5)\" d=\"M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z\"></path></symbol></defs><defs><symbol id=\"diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f-database\" fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path transform=\"scale(.5)\" d=\"M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z\"></path></symbol></defs><defs><symbol id=\"diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f-clock\" width=\"24\" height=\"24\"><path transform=\"scale(.5)\" d=\"M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z\"></path></symbol></defs><defs><marker id=\"diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f-arrowhead\" refX=\"7.9\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M -1 0 L 10 5 L 0 10 z\"></path></marker></defs><defs><marker id=\"diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f-crosshead\" markerWidth=\"15\" markerHeight=\"8\" orient=\"auto\" refX=\"4\" refY=\"4.5\"><path fill=\"none\" stroke=\"#000000\" stroke-width=\"1pt\" d=\"M 1,2 L 6,7 M 6,2 L 1,7\" style=\"stroke-dasharray: 0, 0;\"></path></marker></defs><defs><marker id=\"diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f-filled-head\" refX=\"15.5\" refY=\"7\" markerWidth=\"20\" markerHeight=\"28\" orient=\"auto\"><path d=\"M 18,7 L9,13 L14,7 L9,1 Z\"></path></marker></defs><defs><marker id=\"diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f-sequencenumber\" refX=\"15\" refY=\"15\" markerWidth=\"60\" markerHeight=\"40\" orient=\"auto\"><circle cx=\"15\" cy=\"15\" r=\"6\"></circle></marker></defs><defs><marker id=\"diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f-solidTopArrowHead\" refX=\"7.9\" refY=\"7.25\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 10 8 L 0 8 z\"></path></marker></defs><defs><marker id=\"diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f-solidBottomArrowHead\" refX=\"7.9\" refY=\"0.75\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 10 0 L 0 8 z\"></path></marker></defs><defs><marker id=\"diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f-stickTopArrowHead\" refX=\"7.5\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 7 7\" stroke=\"black\" stroke-width=\"1.5\" fill=\"none\"></path></marker></defs><defs><marker id=\"diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f-stickBottomArrowHead\" refX=\"7.5\" refY=\"0\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 7 L 7 0\" stroke=\"black\" stroke-width=\"1.5\" fill=\"none\"></path></marker></defs><text x=\"318\" y=\"80\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">POST /auths</text><line x1=\"76\" y1=\"109\" x2=\"560\" y2=\"109\" class=\"messageLine0\" data-et=\"message\" data-id=\"i0\" data-from=\"App\" data-to=\"API\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f-arrowhead)\" style=\"fill: none;\"></line><text x=\"321\" y=\"124\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">Auth with generated auth_Number</text><line x1=\"563\" y1=\"155\" x2=\"79\" y2=\"155\" class=\"messageLine1\" data-et=\"message\" data-id=\"i1\" data-from=\"API\" data-to=\"App\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f-arrowhead)\" style=\"stroke-dasharray: 3, 3; fill: none;\"></line><text x=\"318\" y=\"170\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">POST /auths/{authNumber}/procedure-codes</text><line x1=\"76\" y1=\"201\" x2=\"560\" y2=\"201\" class=\"messageLine0\" data-et=\"message\" data-id=\"i2\" data-from=\"App\" data-to=\"API\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f-arrowhead)\" style=\"fill: none;\"></line><text x=\"318\" y=\"216\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">POST /auths/{authNumber}/diagnostic-codes</text><line x1=\"76\" y1=\"247\" x2=\"560\" y2=\"247\" class=\"messageLine0\" data-et=\"message\" data-id=\"i3\" data-from=\"App\" data-to=\"API\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f-arrowhead)\" style=\"fill: none;\"></line><text x=\"318\" y=\"262\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">GET /auths/{authNumber} (plus code lists)</text><line x1=\"76\" y1=\"293\" x2=\"560\" y2=\"293\" class=\"messageLine0\" data-et=\"message\" data-id=\"i4\" data-from=\"App\" data-to=\"API\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f-arrowhead)\" style=\"fill: none;\"></line><text x=\"321\" y=\"308\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">The saved authorization</text><line x1=\"563\" y1=\"337\" x2=\"79\" y2=\"337\" class=\"messageLine1\" data-et=\"message\" data-id=\"i5\" data-from=\"API\" data-to=\"App\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f-arrowhead)\" style=\"stroke-dasharray: 3, 3; fill: none;\"></line><text x=\"318\" y=\"352\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">POST /auths/{authNumber}/process-status/{newAuthCode}</text><line x1=\"76\" y1=\"383\" x2=\"560\" y2=\"383\" class=\"messageLine0\" data-et=\"message\" data-id=\"i6\" data-from=\"App\" data-to=\"API\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f-arrowhead)\" style=\"fill: none;\"></line><text x=\"321\" y=\"398\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">Auth with new auth_Code and status</text><line x1=\"563\" y1=\"429\" x2=\"79\" y2=\"429\" class=\"messageLine1\" data-et=\"message\" data-id=\"i7\" data-from=\"API\" data-to=\"App\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-3cdec885897887d34fb4a895fae0066134e5e63628c20a8f15b265b749eb869f-arrowhead)\" style=\"stroke-dasharray: 3, 3; fill: none;\"></line></svg>"},"children":["sequenceDiagram\n  participant App as Your system\n  participant API as VBAPI\n  App->>API: POST /auths\n  API-->>App: Auth with generated auth_Number\n  App->>API: POST /auths/{authNumber}/procedure-codes\n  App->>API: POST /auths/{authNumber}/diagnostic-codes\n  App->>API: GET /auths/{authNumber} (plus code lists)\n  API-->>App: The saved authorization\n  App->>API: POST /auths/{authNumber}/process-status/{newAuthCode}\n  API-->>App: Auth with new auth_Code and status\n"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The samples read your credentials from environment variables:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The samples read your credentials from environment variables, so nothing secret is written into code. Set them in the terminal you run the samples from:"]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"PowerShell","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"powershell","header":{"controls":{"copy":{}}},"source":"$env:VBAPI_BASE_URL    = \"https://vbapi.vbasoftware.com/vbasoftware\"\n$env:VBAPI_API_KEY     = \"your-api-key\"\n$env:VBAPI_CLIENT_ID   = \"your-client-id\"\n$env:VBAPI_CLIENT_CODE = \"your-client-code\"\n$env:VBAPI_DATABASE    = \"YOUR_DATABASE\"\n$env:VBAPI_USERNAME    = \"your-api-username\"\n$env:VBAPI_PASSWORD    = \"your-api-password\"\n$env:VBAPI_USER_AGENT  = \"YourCompany-Integration/1.0\"\n","lang":"powershell"},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"bash","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"export VBAPI_BASE_URL=\"https://vbapi.vbasoftware.com/vbasoftware\"\nexport VBAPI_API_KEY=\"your-api-key\"\nexport VBAPI_CLIENT_ID=\"your-client-id\"\nexport VBAPI_CLIENT_CODE=\"your-client-code\"\nexport VBAPI_DATABASE=\"YOUR_DATABASE\"\nexport VBAPI_USERNAME=\"your-api-username\"\nexport VBAPI_PASSWORD=\"your-api-password\"\nexport VBAPI_USER_AGENT=\"YourCompany-Integration/1.0\"\n","lang":"bash"},"children":[]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In production code, load these from your secrets manager instead."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"steps","__idx":2},"children":["Steps"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"1-check-your-codes","__idx":3},"children":["1. Check your codes"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The authorization refers to codes that must already exist in your database. Look them up before you build the request:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Procedure codes: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/openapi/vbasoftware/vbasoftware.api/procedure-codes/listprocedurecode"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /procedure-codes"]}]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Diagnosis codes: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/openapi/vbasoftware/vbasoftware.api/diagnostic-codes/listdiagnosticcode"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /diagnostic-codes"]}]},", and the code types (the ICD version) with ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/openapi/vbasoftware/vbasoftware.api/diagnostic-code-types/listdiagnosticcodetype"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /diagnostic-code-types"]}]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Authorization types, if you set ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["auth_Type"]},": ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/openapi/vbasoftware/vbasoftware.api/auth-types/listauthtype"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /auth-types"]}]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The auth code you will apply in step 6: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/openapi/vbasoftware/vbasoftware.api/auth-code/getauthcode"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /auth-codes/{authCode}"]}]},". There is no list operation for auth codes, so get the codes your database uses from your VBA administrator."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The samples keep these values in constants at the top of the file. The codes shown (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["99213"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Z0000"]},", diagnosis code type ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0"]},", auth code ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DOCS-A"]},") are placeholders; replace them with codes from your own database."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"2-create-the-authorization","__idx":4},"children":["2. Create the authorization"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/openapi/vbasoftware/vbasoftware.api/auth/createauth"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /auths"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Send the six required fields plus the member, provider, and requested dates and units. Five of the required fields are booleans that the database defaults to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]},"; send ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]}," unless you know otherwise. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tPlan_Printed"]}," is a one-character string, not a boolean; the database default is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"0\""]},". Do not send ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["auth_Number"]},": the API generates it."]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"C#","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"../../_samples/playbooks/create-authorization/CreateAuthorization.cs","language":"csharp","header":{"controls":{"copy":{}}},"lang":"csharp","source":"        var auth = new Dictionary<string, object?>\n        {\n            // Required by the Auth schema. The server generates auth_Number, so do not send it.\n            [\"closed\"] = false,\n            [\"new_Or_Extended\"] = false,\n            [\"previous_Treatment\"] = false,\n            [\"tPlan_DownLoaded\"] = false,\n            [\"tPlan_Printed\"] = \"0\", // a one-character string, not a boolean\n            [\"urgent\"] = false,\n            // The member and provider the request is for.\n            [\"subscriber_ID\"] = SubscriberId,\n            [\"member_Seq\"] = MemberSeq,\n            [\"provider_ID\"] = ProviderId,\n            [\"requested_From\"] = \"2030-01-15T00:00:00\",\n            [\"requested_Thru\"] = \"2030-03-15T00:00:00\",\n            [\"units_Requested\"] = 6,\n            [\"notes\"] = \"DOCS sample authorization\",\n        };\n        var created = await api.PostAsync(\"/auths\", auth);\n        var authNumber = created.Data![\"auth_Number\"]!.GetValue<string>();\n        Console.WriteLine($\"Created auth {authNumber}\");\n        "},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Python","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"../../_samples/playbooks/create-authorization/create_authorization.py","language":"python","header":{"controls":{"copy":{}}},"lang":"python","source":"    auth = {\n        # Required by the Auth schema. The server generates auth_Number, so do not send it.\n        \"closed\": False,\n        \"new_Or_Extended\": False,\n        \"previous_Treatment\": False,\n        \"tPlan_DownLoaded\": False,\n        \"tPlan_Printed\": \"0\",  # a one-character string, not a boolean\n        \"urgent\": False,\n        # The member and provider the request is for.\n        \"subscriber_ID\": SUBSCRIBER_ID,\n        \"member_Seq\": MEMBER_SEQ,\n        \"provider_ID\": PROVIDER_ID,\n        \"requested_From\": \"2030-01-15T00:00:00\",\n        \"requested_Thru\": \"2030-03-15T00:00:00\",\n        \"units_Requested\": 6,\n        \"notes\": \"DOCS sample authorization\",\n    }\n    created = api.post(\"/auths\", auth)\n    auth_number = created.data[\"auth_Number\"]\n    print(f\"Created auth {auth_number}\")\n    "},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"TypeScript","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"../../_samples/playbooks/create-authorization/createAuthorization.ts","language":"typescript","header":{"controls":{"copy":{}}},"lang":"typescript","source":"  const auth = {\n    // Required by the Auth schema. The server generates auth_Number, so do not send it.\n    closed: false,\n    new_Or_Extended: false,\n    previous_Treatment: false,\n    tPlan_DownLoaded: false,\n    tPlan_Printed: \"0\", // a one-character string, not a boolean\n    urgent: false,\n    // The member and provider the request is for.\n    subscriber_ID: SUBSCRIBER_ID,\n    member_Seq: MEMBER_SEQ,\n    provider_ID: PROVIDER_ID,\n    requested_From: \"2030-01-15T00:00:00\",\n    requested_Thru: \"2030-03-15T00:00:00\",\n    units_Requested: 6,\n    notes: \"DOCS sample authorization\",\n  };\n  const created = await api.post(\"/auths\", auth);\n  const authNumber: string = created.data.auth_Number;\n  console.log(`Created auth ${authNumber}`);\n  "},"children":[]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The request body, as JSON:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"closed\": false,\n  \"new_Or_Extended\": false,\n  \"previous_Treatment\": false,\n  \"tPlan_DownLoaded\": false,\n  \"tPlan_Printed\": \"0\",\n  \"urgent\": false,\n  \"subscriber_ID\": \"DOCS-0001\",\n  \"member_Seq\": \"02\",\n  \"provider_ID\": \"DOCS-PRV1\",\n  \"requested_From\": \"2030-01-15T00:00:00\",\n  \"requested_Thru\": \"2030-03-15T00:00:00\",\n  \"units_Requested\": 6,\n  \"notes\": \"DOCS sample authorization\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The full field list is in the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Auth"]}," schema on the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/openapi/vbasoftware/vbasoftware.api/auth/createauth"},"children":["reference page"]},". Which other fields a simple outpatient request needs (for example ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["auth_Type"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["service_Type"]},", or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["treatment_Type"]},") depends on how your authorization screens are configured; check with your VBA administrator."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Save from the response:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data.auth_Number"]}," (used as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["authNumber"]}," in every later step)."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Check it worked:"]}," the response is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["200"]}," with the new authorization in ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data"]},". Creates return ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["200"]},", not ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["201"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"3-add-the-requested-procedures","__idx":5},"children":["3. Add the requested procedures"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/openapi/vbasoftware/vbasoftware.api/auth-procedure-codes/createauthproccode"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /auths/{authNumber}/procedure-codes"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Add one procedure line per call. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["auth_Number"]}," in the body must match the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["authNumber"]}," in the path, or the API rejects the request. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["authProcCodes_Key"]}," is required by the schema but is assigned by the database, so send ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0"]},"."]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"C#","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"../../_samples/playbooks/create-authorization/CreateAuthorization.cs","language":"csharp","header":{"controls":{"copy":{}}},"lang":"csharp","source":"        var procedure = new Dictionary<string, object?>\n        {\n            [\"authProcCodes_Key\"] = 0, // identity column; the server assigns the key\n            [\"auth_Number\"] = authNumber, // must match the path\n            [\"exclude_Modifier_Match\"] = false,\n            [\"procedure_Code\"] = ProcedureCode,\n            [\"units_Requested\"] = 6,\n        };\n        var addedProcedure = await api.PostAsync($\"/auths/{authNumber}/procedure-codes\", procedure);\n        Console.WriteLine($\"Added procedure line {addedProcedure.Data?[\"authProcCodes_Key\"]}\");\n        "},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Python","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"../../_samples/playbooks/create-authorization/create_authorization.py","language":"python","header":{"controls":{"copy":{}}},"lang":"python","source":"    procedure = {\n        \"authProcCodes_Key\": 0,  # identity column; the server assigns the key\n        \"auth_Number\": auth_number,  # must match the path\n        \"exclude_Modifier_Match\": False,\n        \"procedure_Code\": PROCEDURE_CODE,\n        \"units_Requested\": 6,\n    }\n    added_procedure = api.post(f\"/auths/{auth_number}/procedure-codes\", procedure)\n    print(f\"Added procedure line {added_procedure.data['authProcCodes_Key']}\")\n    "},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"TypeScript","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"../../_samples/playbooks/create-authorization/createAuthorization.ts","language":"typescript","header":{"controls":{"copy":{}}},"lang":"typescript","source":"  const procedure = {\n    authProcCodes_Key: 0, // identity column; the server assigns the key\n    auth_Number: authNumber, // must match the path\n    exclude_Modifier_Match: false,\n    procedure_Code: PROCEDURE_CODE,\n    units_Requested: 6,\n  };\n  const addedProcedure = await api.post(`/auths/${authNumber}/procedure-codes`, procedure);\n  console.log(`Added procedure line ${addedProcedure.data.authProcCodes_Key}`);\n  "},"children":[]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["exclude_Modifier_Match"]}," controls claim matching: when ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},", adjudication does not require the claim's procedure modifiers to match ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["modifier1"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["modifier4"]}," on this line."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Save from the response:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data.authProcCodes_Key"]},", if you will update or delete the line later."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"4-add-the-diagnoses","__idx":6},"children":["4. Add the diagnoses"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/openapi/vbasoftware/vbasoftware.api/auth-diagnostic-codes/createauthdiagcode"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /auths/{authNumber}/diagnostic-codes"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Add one diagnosis per call. The required fields are ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["auth_Number"]}," (matching the path), ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["diagnostic_Code"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["diagnostic_Code_Type"]}," (the ICD version, from step 1), and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["disable_Provider_Match"]},"."]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"C#","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"../../_samples/playbooks/create-authorization/CreateAuthorization.cs","language":"csharp","header":{"controls":{"copy":{}}},"lang":"csharp","source":"        var diagnosis = new Dictionary<string, object?>\n        {\n            [\"auth_Number\"] = authNumber, // must match the path\n            [\"diagnostic_Code\"] = DiagnosticCode,\n            [\"diagnostic_Code_Type\"] = DiagnosticCodeType,\n            [\"disable_Provider_Match\"] = false,\n            [\"primary_Diag\"] = \"Y\",\n        };\n        await api.PostAsync($\"/auths/{authNumber}/diagnostic-codes\", diagnosis);\n        "},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Python","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"../../_samples/playbooks/create-authorization/create_authorization.py","language":"python","header":{"controls":{"copy":{}}},"lang":"python","source":"    diagnosis = {\n        \"auth_Number\": auth_number,  # must match the path\n        \"diagnostic_Code\": DIAGNOSTIC_CODE,\n        \"diagnostic_Code_Type\": DIAGNOSTIC_CODE_TYPE,\n        \"disable_Provider_Match\": False,\n        \"primary_Diag\": \"Y\",\n    }\n    api.post(f\"/auths/{auth_number}/diagnostic-codes\", diagnosis)\n    "},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"TypeScript","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"../../_samples/playbooks/create-authorization/createAuthorization.ts","language":"typescript","header":{"controls":{"copy":{}}},"lang":"typescript","source":"  const diagnosis = {\n    auth_Number: authNumber, // must match the path\n    diagnostic_Code: DIAGNOSTIC_CODE,\n    diagnostic_Code_Type: DIAGNOSTIC_CODE_TYPE,\n    disable_Provider_Match: false,\n    primary_Diag: \"Y\",\n  };\n  await api.post(`/auths/${authNumber}/diagnostic-codes`, diagnosis);\n  "},"children":[]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The diagnosis key is the combination of ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["auth_Number"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["diagnostic_Code"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["diagnostic_Code_Type"]},", so adding the same code and type twice to one authorization fails."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"5-read-it-back","__idx":7},"children":["5. Read it back"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/openapi/vbasoftware/vbasoftware.api/auth/getauth"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /auths/{authNumber}"]}]},", ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/openapi/vbasoftware/vbasoftware.api/auth-procedure-codes/listauthproccodebyauth"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /auths/{authNumber}/procedure-codes"]}]},", and ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/openapi/vbasoftware/vbasoftware.api/auth-diagnostic-codes/getauthdiagcodelist"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /auths/{authNumber}/diagnostic-codes"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["These calls only read data. Use them to confirm what was saved before you change the status."]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"C#","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"../../_samples/playbooks/create-authorization/CreateAuthorization.cs","language":"csharp","header":{"controls":{"copy":{}}},"lang":"csharp","source":"        var saved = (await api.GetAsync($\"/auths/{authNumber}\")).Data!;\n        var procedures = (await api.GetAsync($\"/auths/{authNumber}/procedure-codes\")).Data?.AsArray().Count ?? 0;\n        var diagnoses = (await api.GetAsync($\"/auths/{authNumber}/diagnostic-codes\")).Data?.AsArray().Count ?? 0;\n        Console.WriteLine($\"Auth {saved[\"auth_Number\"]}: status={saved[\"status\"]} procedures={procedures} diagnoses={diagnoses}\");\n        "},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Python","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"../../_samples/playbooks/create-authorization/create_authorization.py","language":"python","header":{"controls":{"copy":{}}},"lang":"python","source":"    saved = api.get(f\"/auths/{auth_number}\").data\n    procedures = api.get(f\"/auths/{auth_number}/procedure-codes\").data or []\n    diagnoses = api.get(f\"/auths/{auth_number}/diagnostic-codes\").data or []\n    print(f\"Auth {saved['auth_Number']}: status={saved.get('status')} \"\n          f\"procedures={len(procedures)} diagnoses={len(diagnoses)}\")\n    "},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"TypeScript","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"../../_samples/playbooks/create-authorization/createAuthorization.ts","language":"typescript","header":{"controls":{"copy":{}}},"lang":"typescript","source":"  const saved = (await api.get(`/auths/${authNumber}`)).data;\n  const procedures = (await api.get<unknown[]>(`/auths/${authNumber}/procedure-codes`)).data ?? [];\n  const diagnoses = (await api.get<unknown[]>(`/auths/${authNumber}/diagnostic-codes`)).data ?? [];\n  console.log(`Auth ${saved.auth_Number}: status=${saved.status} procedures=${procedures.length} diagnoses=${diagnoses.length}`);\n  "},"children":[]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Example response from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /auths/{authNumber}"]}," (illustrative; field values are fake, and most of the 94 fields are omitted):"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"data\": {\n    \"auth_Number\": \"DOCS-0000001\",\n    \"subscriber_ID\": \"DOCS-0001\",\n    \"member_Seq\": \"02\",\n    \"provider_ID\": \"DOCS-PRV1\",\n    \"requested_From\": \"2030-01-15T00:00:00\",\n    \"requested_Thru\": \"2030-03-15T00:00:00\",\n    \"units_Requested\": 6,\n    \"auth_Code\": null,\n    \"status\": null,\n    \"closed\": false,\n    \"new_Or_Extended\": false,\n    \"previous_Treatment\": false,\n    \"tPlan_DownLoaded\": false,\n    \"tPlan_Printed\": \"0\",\n    \"urgent\": false\n  },\n  \"error\": null,\n  \"debug\": { \"activityID\": \"00000000-0000-0000-0000-000000000000\" }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"6-change-the-status","__idx":8},"children":["6. Change the status"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/openapi/vbasoftware/vbasoftware.api/adv.-auth/authprocessstatus"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /auths/{authNumber}/process-status/{newAuthCode}"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This call has no body. The API looks up ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["newAuthCode"]}," in your database's auth codes and then updates the authorization:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["auth_Code"]}," is set to the code, and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["status"]}," to that code's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["auth_Action"]}," (for example approved, denied, pended, or voided)."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["approved_By"]}," is set to your API user and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["approved_Date"]}," to the current time."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["If the code's action is denied or voided, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["units_Approved"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["amount_Approved"]}," are reset to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0"]},"."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["An unknown code fails, so the samples check it with ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/openapi/vbasoftware/vbasoftware.api/auth-code/getauthcode"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /auth-codes/{authCode}"]}]}," first."]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"C#","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"../../_samples/playbooks/create-authorization/CreateAuthorization.cs","language":"csharp","header":{"controls":{"copy":{}}},"lang":"csharp","source":"        System.Text.Json.Nodes.JsonNode code;\n        try\n        {\n            code = (await api.GetAsync($\"/auth-codes/{NewAuthCode}\")).Data!;\n        }\n        catch (VbapiException ex)\n        {\n            Console.WriteLine($\"Auth code {NewAuthCode} is not configured: {ex.Message}\");\n            return;\n        }\n        Console.WriteLine($\"Applying {code[\"auth_Code\"]} (action {code[\"auth_Action\"]}: {code[\"description\"]})\");\n        var updated = (await api.PostAsync($\"/auths/{authNumber}/process-status/{NewAuthCode}\")).Data!;\n        Console.WriteLine($\"Auth {authNumber}: auth_Code={updated[\"auth_Code\"]} status={updated[\"status\"]} approved_By={updated[\"approved_By\"]}\");\n        "},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Python","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"../../_samples/playbooks/create-authorization/create_authorization.py","language":"python","header":{"controls":{"copy":{}}},"lang":"python","source":"    try:\n        code = api.get(f\"/auth-codes/{NEW_AUTH_CODE}\").data\n    except VbapiError as error:\n        print(f\"Auth code {NEW_AUTH_CODE} is not configured: {error}\")\n        return\n    print(f\"Applying {code['auth_Code']} (action {code.get('auth_Action')}: {code.get('description')})\")\n    updated = api.post(f\"/auths/{auth_number}/process-status/{NEW_AUTH_CODE}\").data\n    print(f\"Auth {auth_number}: auth_Code={updated.get('auth_Code')} status={updated.get('status')} \"\n          f\"approved_By={updated.get('approved_By')}\")\n    "},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"TypeScript","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"../../_samples/playbooks/create-authorization/createAuthorization.ts","language":"typescript","header":{"controls":{"copy":{}}},"lang":"typescript","source":"  let code;\n  try {\n    code = (await api.get(`/auth-codes/${NEW_AUTH_CODE}`)).data;\n  } catch (error) {\n    if (!(error instanceof VbapiError)) throw error;\n    console.log(`Auth code ${NEW_AUTH_CODE} is not configured: ${error.message}`);\n    return;\n  }\n  console.log(`Applying ${code.auth_Code} (action ${code.auth_Action}: ${code.description})`);\n  const updated = (await api.post(`/auths/${authNumber}/process-status/${NEW_AUTH_CODE}`)).data;\n  console.log(`Auth ${authNumber}: auth_Code=${updated.auth_Code} status=${updated.status} approved_By=${updated.approved_By}`);\n  "},"children":[]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The status change does not set the approved dates or approved units. If your process records them (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["approved_From"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["approved_Thru"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["units_Approved"]},"), set them with ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/openapi/vbasoftware/vbasoftware.api/auth/updateauth"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PUT /auths/{authNumber}"]}]},". Whether they are required for your workflow needs confirmation with an SME."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Check it worked:"]}," the response ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data.auth_Code"]}," equals the code you sent."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"verify-the-result","__idx":9},"children":["Verify the result"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Call ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/openapi/vbasoftware/vbasoftware.api/auth/getauth"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /auths/{authNumber}"]}]}," again. You should see your ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["auth_Code"]},", the matching ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["status"]},", your API user in ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["approved_By"]},", and today's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["approved_Date"]},". The procedure and diagnosis lists from step 5 should each contain the lines you added."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"how-a-claim-finds-this-authorization","__idx":10},"children":["How a claim finds this authorization"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["VBA scores candidate authorizations for each claim line in the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CLAIMBATCHAUTHMATCH"]}," view (also available as a ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/developer-portal/reference/search-config-reference"},"children":["SearchConfig"]},"). For the claim's member, each authorization gets a point for each of these matches:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Provider:"]}," the authorization's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["provider_ID"]}," is the claim's provider."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Diagnosis:"]}," one of the claim's diagnosis codes, with the same code type, is on the authorization, or the authorization has no diagnoses."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Procedure:"]}," the claim line's procedure code and modifiers match a procedure line, or the authorization has no procedure lines."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Date:"]}," the service date falls between ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["approved_From"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["approved_Thru"]},"."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Separately, two flags tell adjudication what it may ignore when it assigns an authorization automatically: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["exclude_Modifier_Match"]}," on a procedure line (do not require the modifiers to match) and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["disable_Provider_Match"]}," on a diagnosis line (do not require the diagnosis to match). How adjudication combines these to choose an authorization needs confirmation with an SME."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"common-errors","__idx":11},"children":["Common errors"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Symptom"},"children":["Symptom"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Likely cause"},"children":["Likely cause"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Fix"},"children":["Fix"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["400"]}," or validation error naming a required field on ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /auths"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["One of ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["closed"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["new_Or_Extended"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["previous_Treatment"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tPlan_DownLoaded"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tPlan_Printed"]},", or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["urgent"]}," is missing, or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tPlan_Printed"]}," was sent as a boolean."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Send all six; send ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tPlan_Printed"]}," as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"0\""]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Error that ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["auth_Number"]}," does not match ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["authNumber"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The body's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["auth_Number"]}," differs from the path on a procedure or diagnosis call."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Use the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["auth_Number"]}," from step 2 in both places."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["404"]}," from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["process-status"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The auth code is not configured in your database, or the auth number is wrong."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Check the code with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /auth-codes/{authCode}"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Error adding a diagnosis"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The same ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["diagnostic_Code"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["diagnostic_Code_Type"]}," are already on this authorization."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read the list first with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /auths/{authNumber}/diagnostic-codes"]},"."]}]}]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Contacting support"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Send VBA support:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["debug.activityID"]}," from the response"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["the date and time of the call, with time zone"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["the method and path, for example ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /claim-batches"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["the full ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["error"]}," object from the response"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["the request body, with passwords, tokens, and personal data removed"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Never send your password, API key, or tokens. See ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/developer-portal/help/support"},"children":["Support and escalation"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"variations","__idx":12},"children":["Variations"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Many authorizations at once:"]}," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/openapi/vbasoftware/vbasoftware.api/auth/createorupdateauthbatch"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PUT /auths"]}]}," takes an array of ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Auth"]}," objects. Items without ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["auth_Number"]}," are created and items with one are updated. It returns ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["207"]}," with one result per item, so check each item's status. For codes, use ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/openapi/vbasoftware/vbasoftware.api/auth-procedure-codes/createauthproccodebatch"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /auths/{authNumber}/procedure-codes-batch"]}]}," and ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/openapi/vbasoftware/vbasoftware.api/auth-diagnostic-codes/updateauthdiagcodebatch"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PUT /auths/{authNumber}/diagnostic-codes-batch"]}]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Adjust an approved authorization:"]}," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/openapi/vbasoftware/vbasoftware.api/adv.-auth/authadjustment"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /auths/{authNumber}/adjust"]}]}," creates a new authorization from the original with new approved dates, can copy its procedure and diagnosis codes, shortens the original's approval if the dates overlap, and links the two with an adjustment reference. It returns the new authorization."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Link related authorizations:"]}," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/openapi/vbasoftware/vbasoftware.api/auth-reference/createauthreference"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /auths/{originalAuthNumber}/references"]}]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Safe to re-run?"]}," No. Each run of step 2 creates a new authorization with a new ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["auth_Number"]},". To avoid duplicates, store the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["auth_Number"]}," against your own request ID, and check for it before creating. To remove a test authorization, use ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/openapi/vbasoftware/vbasoftware.api/auth/deleteauth"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DELETE /auths/{authNumber}"]}]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"download","__idx":13},"children":["Download"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The full runnable samples are in the portal repository under ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["_samples/playbooks/create-authorization/"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CreateAuthorization.cs"]}," (run with the shared C# runner as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CreateAuthorizationPlaybook"]},"), ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["create_authorization.py"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["createAuthorization.ts"]},". Each uses the shared client helper for its language."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"related","__idx":14},"children":["Related"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Concepts: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/developer-portal/concepts/data-model"},"children":["Data model"]},", ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/developer-portal/concepts/ids-and-conventions"},"children":["IDs, keys and field names"]},", ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/developer-portal/concepts/errors"},"children":["Errors and troubleshooting"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Next playbook: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/developer-portal/playbooks/claims-intake-and-adjudication"},"children":["Enter claims and adjudicate them"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Terms: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/developer-portal/reference/glossary"},"children":["Glossary"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Ask the AI: \"Using the Create an authorization playbook, write a Python function that creates an authorization with one procedure code and one diagnosis code.\""]}]}]},"headings":[{"value":"Create an authorization","id":"create-an-authorization","depth":1},{"value":"How it fits together","id":"how-it-fits-together","depth":2},{"value":"Steps","id":"steps","depth":2},{"value":"1. Check your codes","id":"1-check-your-codes","depth":3},{"value":"2. Create the authorization","id":"2-create-the-authorization","depth":3},{"value":"3. Add the requested procedures","id":"3-add-the-requested-procedures","depth":3},{"value":"4. Add the diagnoses","id":"4-add-the-diagnoses","depth":3},{"value":"5. Read it back","id":"5-read-it-back","depth":3},{"value":"6. Change the status","id":"6-change-the-status","depth":3},{"value":"Verify the result","id":"verify-the-result","depth":2},{"value":"How a claim finds this authorization","id":"how-a-claim-finds-this-authorization","depth":2},{"value":"Common errors","id":"common-errors","depth":2},{"value":"Variations","id":"variations","depth":2},{"value":"Download","id":"download","depth":2},{"value":"Related","id":"related","depth":2}],"frontmatter":{"title":"Create an authorization","description":"Create a prior authorization for a member, attach its procedure and diagnosis codes, read it back, and set its status with VBAPI.","seo":{"title":"Create an authorization"}},"lastModified":"2026-10-26T21:09:33.693Z","pagePropGetterError":{"message":"","name":""}},"slug":"/developer-portal/playbooks/create-authorization","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}