KMCH HIS Wiki
สแกนเพื่อเปิดบนมือถือ

OPD Patient Status

Concept Verified Wed Apr 29 2026 00:00:00 GMT+0000 (Coordinated Universal Time) For: NurseOPD Source: 3.MEDHIS_Manual_OPD V.1.docx Updated Wed Apr 29 2026 00:00:00 GMT+0000 (Coordinated Universal Time)

OPD Patient Status (สถานะผู้ป่วยนอก)

8 สถานะที่ผู้ป่วยนอกผ่านในระบบ OPD ตั้งแต่ลงทะเบียนจนกลับบ้าน

⚠ UAT verification — 12 statuses observed

The MEDHIS reference domain API at /framework/referencedomain/getrefdomains/[VST_STATUS] returns 12 visit statuses, not the 8 originally documented from the manual. Findings as of 2026-04-28 (UAT server 10.128.12.68:8080).

OrderStatus nameCodeInternalIn manual?
1RegisteredVSTSTS1R✓
2ArrivedVSTSTS2I✓
3Screening CompletedVSTSTS3I✓
4Consultation StartedVSTSTS4I✓
5Consultation CompletedVSTSTS5I✓
6Under ObservationVSTSTS9O✗ NEW
7Medical DischargeVSTSTS6D✓
8Billing InprogressVSTSTS8B✓
9Bill FinalizedVSTSTS10BF✗ NEW
10Financial DischargeVSTSTS7F✓
—TriagedVSTSTS11T✗ NEW (ER context)
—UrgentVSTSTS12U✗ NEW (ER context)

Status _id ↔ valuecode mapping (Phase 1–5 UAT-verified)

The MongoDB _id per status, captured live from $rootScope on the UAT server (2026-04-29):

Code_idDisplayLanePhase 1–5 exercised
VSTSTS15784c4d032f3003ef802ae15RegisteredREGISTERED✅
VSTSTS25784c4d032f3003ef802ae16ArrivedINPROGRESS✅
VSTSTS35784c4d032f3003ef802ae17Screening CompletedINPROGRESS✅
VSTSTS45784c4d032f3003ef802ae18Consultation StartedINPROGRESS✅
VSTSTS55784c4d032f3003ef802ae19Consultation CompletedINPROGRESS✅
VSTSTS65784c4d032f3003ef802ae1bMedical DischargeDISCHARGED✅ (server-side ICD gate, see MEDHIS Server-Side Gates)
VSTSTS7(in vm.financialDischargeStatusUid)Financial DischargeDISCHARGED✅
VSTSTS857c4446aa454a0ba852ce690Billing InprogressDISCHARGED✅
VSTSTS957c6712c4f362d6b9c5ef09eUnder ObservationINPROGRESS⏳ not yet exercised
VSTSTS10(TBD on UAT)Bill FinalizedDISCHARGED⏳ not yet exercised
VSTSTS115a0ac84700d17a9459beab28TriagedINPROGRESS🔵 ER-context
VSTSTS126489a121db4cede700dee2beUrgentINPROGRESS🔵 ER-context

Phase 1–5 verified flow (TCK-001)

The OP self-pay flow exercised on TCK-001 produced 9 journey rows in this order:

  1. Registered (Phase 1)
  2. Arrived (Phase 1)
  3. Arrived (re-emit on careprovider claim, Phase 2)
  4. Screening Completed (Phase 2)
  5. Consultation Started (Phase 3)
  6. Consultation Completed (Phase 3)
  7. Medical Discharge (Phase 5a — gated by ICD-10 server-side check)
  8. Billing Inprogress (Phase 5b — from Cashier Worklist Lock)
  9. Financial Discharge (Phase 5e — auto-emitted by vm.settleBill())

Bill Finalized (VSTSTS10) and Under Observation (VSTSTS9) were not exercised. They remain candidates for future UAT chunks.

For the user-driven flow, see OPD Patient Flow. For the cashier-side flow, see OP Billing Workflow.

Action items for this wiki:

Existing 8-status documentation below stands until UAT walkthrough confirms the new statuses’ actual triggers.

Status Flow

#StatusThaiColorผู้เปลี่ยนส่งต่อ
1Registeredลงทะเบียนรับการตรวจ—RegistrationOPD Worklist
2Arrivedรับผู้ป่วยเข้าแผนก—พยาบาล OPD—
3Screening Completedคัดกรองเสร็จ—พยาบาล OPDหน้าแพทย์
4Consultation Startedเริ่มตรวจเขียวแพทย์—
5Consultation Completedตรวจเสร็จเหลืองแพทย์พยาบาล review orders
6Medical Dischargeจำหน่ายทางการแพทย์—พยาบาล OPDการเงิน
7Billing In Progressอยู่ในขั้นตอนชำระเงิน—การเงิน (Lock)—
8Financial Dischargeชำระเงินเสร็จ กลับบ้าน—การเงิน—

ที่ใช้งาน

เนื้อหาที่เกี่ยวข้อง / Related