medOS Revenue
Insurance-Aware Workflows
Coverage as a first-class workflow axis
An insurance context rides on every encounter; workflow editors branch on scheme, coverage checks and preauth gates render as flow nodes; per-scheme UI mounts via a registry — no if(scheme) anywhere.
awaiting preauth · ack sent to AR
insurance_context: {
"scheme": "UCS",
"verified": true,
"preauth": "pending"
}
ลำดับสิทธิ 1 · UCSลำดับสิทธิ 2 · self-pay
Scheme branches, coverage checks, and preauth gates are workflow nodes — per-scheme behavior without if (scheme === …) in code.
Capabilities
insurance_context on the journey cache, updated by coverage events
Flow nodes: SchemeBranch, CoverageCheck, PreauthGate, SchemeSlot
Edge condition DSL for scheme-based routing
Per-market golden-path E2E specs (NHSO, PhilHealth, Kaigo)