{
  "format": "minctrl.process/v1",
  "graph": {
    "edges": [
      {
        "id": "e0___start____intake",
        "source": "__start__",
        "target": "intake"
      },
      {
        "id": "e1_intake__fork-checks",
        "source": "intake",
        "target": "fork-checks"
      },
      {
        "id": "e2_fork-checks__criteria",
        "source": "fork-checks",
        "target": "criteria"
      },
      {
        "id": "e3_fork-checks__policy",
        "source": "fork-checks",
        "target": "policy"
      },
      {
        "id": "e4_criteria__join-checks",
        "source": "criteria",
        "target": "join-checks"
      },
      {
        "id": "e5_policy__join-checks",
        "source": "policy",
        "target": "join-checks"
      },
      {
        "id": "e6_join-checks__decision",
        "source": "join-checks",
        "target": "decision"
      },
      {
        "id": "e7_decision__autonotify",
        "label": "meets criteria / gold-carded",
        "source": "decision",
        "target": "autonotify"
      },
      {
        "id": "e8_decision__draft",
        "label": "fails criteria / medical-necessity call",
        "source": "decision",
        "target": "draft"
      },
      {
        "id": "e9_draft__signoff",
        "source": "draft",
        "target": "signoff"
      },
      {
        "id": "e10_signoff__rework-gate",
        "source": "signoff",
        "target": "rework-gate"
      },
      {
        "id": "e11_rework-gate__request-info",
        "label": "needs more clinical info",
        "source": "rework-gate",
        "target": "request-info"
      },
      {
        "id": "e12_rework-gate__transmit",
        "label": "director signs determination",
        "source": "rework-gate",
        "target": "transmit"
      },
      {
        "id": "e13_request-info__intake",
        "label": "provider resubmits with added documentation",
        "source": "request-info",
        "target": "intake"
      },
      {
        "id": "e14_autonotify__monitor",
        "source": "autonotify",
        "target": "monitor"
      },
      {
        "id": "e15_transmit__monitor",
        "source": "transmit",
        "target": "monitor"
      },
      {
        "id": "e16_monitor__appeal-review",
        "label": "provider files an appeal / peer-to-peer request",
        "source": "monitor",
        "target": "appeal-review"
      },
      {
        "id": "e17_appeal-review__appeal-decision",
        "source": "appeal-review",
        "target": "appeal-decision"
      },
      {
        "id": "e18_appeal-decision__transmit",
        "label": "appeal overturned — issue revised determination",
        "source": "appeal-decision",
        "target": "transmit"
      },
      {
        "id": "e19_appeal-decision__monitor",
        "label": "appeal upheld — close out",
        "source": "appeal-decision",
        "target": "monitor"
      }
    ],
    "nodes": [
      {
        "agent": null,
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "__start__",
        "interrupt_before": false,
        "kind": "terminal",
        "label": "Start",
        "position": {
          "x": 0,
          "y": 0
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "terminal",
        "tools": []
      },
      {
        "agent": "intake",
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "intake",
        "interrupt_before": false,
        "kind": "agent",
        "label": "Pull the auth request and clinical chart from the EHR",
        "position": {
          "x": 0,
          "y": 120
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "low",
        "tools": [
          "ehr-fhir",
          "ocr"
        ]
      },
      {
        "agent": null,
        "confidential": false,
        "gate": null,
        "gateway": "parallel",
        "human": null,
        "id": "fork-checks",
        "interrupt_before": false,
        "kind": "gateway",
        "label": "Run clinical and policy checks concurrently",
        "position": {
          "x": 0,
          "y": 240
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "gateway",
        "tools": []
      },
      {
        "agent": "reviewer",
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "criteria",
        "interrupt_before": false,
        "kind": "agent",
        "label": "Match the request against medical-necessity criteria (MCG / InterQual / NCD-LCD)",
        "position": {
          "x": 0,
          "y": 360
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "low",
        "tools": [
          "um-criteria",
          "payer-rules"
        ]
      },
      {
        "agent": "compliance",
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "policy",
        "interrupt_before": false,
        "kind": "agent",
        "label": "Run gold-card, ERISA-plan and appeal-rights checks",
        "position": {
          "x": 0,
          "y": 480
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "low",
        "tools": [
          "payer-rules"
        ]
      },
      {
        "agent": null,
        "confidential": false,
        "gate": null,
        "gateway": "parallel",
        "human": null,
        "id": "join-checks",
        "interrupt_before": false,
        "kind": "gateway",
        "label": "Combine clinical and policy findings",
        "position": {
          "x": 0,
          "y": 600
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "gateway",
        "tools": []
      },
      {
        "agent": null,
        "confidential": false,
        "gate": null,
        "gateway": "exclusive",
        "human": null,
        "id": "decision",
        "interrupt_before": false,
        "kind": "gateway",
        "label": "Meets criteria cleanly (or gold-carded)?",
        "position": {
          "x": 0,
          "y": 720
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "gateway",
        "tools": []
      },
      {
        "agent": "submit",
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "autonotify",
        "interrupt_before": false,
        "kind": "agent",
        "label": "Auto-approve and send the electronic approval notice to the provider",
        "position": {
          "x": 0,
          "y": 840
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "low",
        "tools": [
          "auth-portal:approve-notice"
        ]
      },
      {
        "agent": "compliance",
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "draft",
        "interrupt_before": false,
        "kind": "agent",
        "label": "Draft the adverse determination with a specific denial reason (CMS-0057-F), clinical rationale, and appeal rights",
        "position": {
          "x": 0,
          "y": 960
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "medium",
        "tools": [
          "payer-rules"
        ]
      },
      {
        "agent": null,
        "confidential": false,
        "gate": "gate:medical-director-signoff",
        "gateway": null,
        "human": "Plan medical director (MD)",
        "id": "signoff",
        "interrupt_before": true,
        "kind": "gate",
        "label": "A plan medical director reviews the chart and signs, requests more info, or sends back for re-review of every denial / adverse determination — per NCQA, a clinician (not software) must make any medical-necessity denial.",
        "position": {
          "x": 0,
          "y": 1080
        },
        "reversible": false,
        "sla": "72h expedited / 7 calendar-day standard (CMS-0057-F)",
        "sla_spec": null,
        "tier": "high",
        "tools": []
      },
      {
        "agent": null,
        "confidential": false,
        "gate": null,
        "gateway": "exclusive",
        "human": null,
        "id": "rework-gate",
        "interrupt_before": false,
        "kind": "gateway",
        "label": "Director's call?",
        "position": {
          "x": 0,
          "y": 1200
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "gateway",
        "tools": []
      },
      {
        "agent": "submit",
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "request-info",
        "interrupt_before": false,
        "kind": "agent",
        "label": "Issue an X12 275 additional-documentation request to the provider and pend the case until the requested clinical info is resubmitted",
        "position": {
          "x": 0,
          "y": 1320
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "medium",
        "tools": [
          "auth-portal:request-info"
        ]
      },
      {
        "agent": "submit",
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "transmit",
        "interrupt_before": false,
        "kind": "agent",
        "label": "Transmit the signed determination to the provider as an X12 278 response / FHIR ClaimResponse (reviewaction reason code)",
        "position": {
          "x": 0,
          "y": 1440
        },
        "reversible": false,
        "sla": null,
        "sla_spec": null,
        "tier": "high",
        "tools": [
          "auth-portal"
        ]
      },
      {
        "agent": "monitor",
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "monitor",
        "interrupt_before": false,
        "kind": "agent",
        "label": "Track CMS-0057-F decision SLAs (72h expedited / 7 calendar-day standard), route appeals, and report the annual prior-authorization metrics",
        "position": {
          "x": 0,
          "y": 1560
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "low",
        "tools": [
          "auth-portal:check-status"
        ]
      },
      {
        "agent": null,
        "confidential": false,
        "gate": "gate:appeal-specialist-review",
        "gateway": null,
        "human": "Appeal reviewer (same/similar-specialty MD)",
        "id": "appeal-review",
        "interrupt_before": true,
        "kind": "gate",
        "label": "A same-or-similar-specialty physician (not the original reviewer) reviews the appeal of an adverse determination and upholds or overturns it — NCQA requires same/similar-specialty appeal review",
        "position": {
          "x": 0,
          "y": 1680
        },
        "reversible": false,
        "sla": null,
        "sla_spec": null,
        "tier": "high",
        "tools": []
      },
      {
        "agent": null,
        "confidential": false,
        "gate": null,
        "gateway": "exclusive",
        "human": null,
        "id": "appeal-decision",
        "interrupt_before": false,
        "kind": "gateway",
        "label": "Appeal upheld or overturned?",
        "position": {
          "x": 0,
          "y": 1800
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "gateway",
        "tools": []
      },
      {
        "agent": null,
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "__end__",
        "interrupt_before": false,
        "kind": "terminal",
        "label": "Done",
        "position": {
          "x": 0,
          "y": 1920
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "terminal",
        "tools": []
      }
    ]
  },
  "hash": "2b640a3e230dc3fb599e390280990b01a5a203ca42ad2f7ef2bd88f99296e30f",
  "name": "Prior-authorization autopilot",
  "slug": "prior-auth",
  "source": "example",
  "version": null,
  "violations": []
}
