Automation lab Aú E2E Workflows (E2E_WORKFLOWS)

Lab 120: Healthcare Expert E2E: Admission -> Lab Orders -> Delayed Results -> Protocol Update -> Doctor Change -> Record Lock

Practice a multi-stage inpatient treatment workflow with delayed lab results, protocol updates, doctor reassignment, and medical record locking.

expert expert
expert

Objectives

Use for test scripts
  • Automate an expert multi-stage healthcare workflow with several mini-flows.
  • Handle delayed results using refresh or polling patterns and stable assertions.
  • Verify protocol update rules and role-based permissions.
  • Test doctor reassignment and ensure continuity of care.
  • Lock the medical record and assert read-only enforcement and timeline integrity.

Sandbox

E2E Workflows | expert | active

Healthcare Expert E2E: Admission -> Lab Orders -> Delayed Results -> Protocol Update -> Doctor Change -> Record Lock

Multi-stage inpatient flow with delayed lab results, protocol updates, doctor reassignment, and record lock.

Healthcare Delayed results Record lock

Learning objectives

  • Automate a multi-stage healthcare workflow with multiple roles.
  • Handle delayed lab results with polling or refresh.
  • Validate protocol update rules and role permissions.
  • Reassign doctor and lock the medical record.

Steps

  1. Reception admits a new patient.
  2. Doctor orders lab tests.
  3. Lab tech publishes results with delay.
  4. Doctor updates protocol after results.
  5. Chief doctor reassigns doctor and locks record.

Expected results

  • Status transitions follow the correct order.
  • Delayed results appear within the wait window.
  • Protocol updates are blocked before lab results.
  • Old doctor loses edit access after reassignment.
  • Record lock enforces read-only UI.

Practice sandbox

Admission, labs, protocol update, doctor change, and record lock.

Live

Login

Not signed in.

Guest

Sample accounts: reception01, doctor01, labtech01, chief01. Password: Pass1234.

Admission (Reception)

Register patient admission details.

ADMISSION_DRAFT

Lab orders (Doctor)

Order lab tests after admission.

LAB_PENDING

Lab tests

Lab queue (Lab Tech)

Select a case waiting for results.

Case code Status Action

Publish lab result (Lab Tech)

Result availability is delayed.

Protocol update (Doctor)

Requires lab results.

No medications added.

Chief doctor actions

Reassign doctor and lock record.

Case detail

Case code: -

ADMISSION_DRAFT

Assigned doctor: -

Patient: -

DOB: -

Triage: -

Department: -

Timeline

    Ready.