DEV Community

Cover image for Change Hospital Triage Routing Rules at Runtime — No Java Redeploy (Kiponos SDK)
Devops Kiponos
Devops Kiponos

Posted on • Originally published at github.com

Change Hospital Triage Routing Rules at Runtime — No Java Redeploy (Kiponos SDK)

Emergency departments change protocols when flu season hits, a trauma surge arrives, or a ward goes offline. Operational rules should not wait for a scheduled Java deployment.

Kiponos.io gives triage and routing services live operational config — WebSocket deltas, in-memory reads on every patient event.

Routing hot path

public Department route(PatientEvent event) {
    var rules = kiponos.path("triage", "routing");
    int acuity = scoreAcuity(event);
    if (acuity >= rules.getInt("trauma_threshold")) {
        return Department.TRAUMA;
    }
    if (rules.getBool("pediatric_overflow_to_general")) {
        return Department.PEDIATRIC;
    }
    return Department.GENERAL;
}
Enter fullscreen mode Exit fullscreen mode

getInt() / getBool() are local — safe on the admission event path.

Operational config tree

triage/
  routing/
    trauma_threshold: 8
    pediatric_overflow_to_general: false
    fast_track_enabled: true
  capacity/
    ed_max_queue: 45
    redirect_non_urgent: true
  protocols/
    flu_season_mode: false
    mask_required: false
Enter fullscreen mode Exit fullscreen mode

Real operational changes

Event Live config change
Flu surge Enable flu_season_mode, adjust routing
Ward closure Redirect overflow flags
Staffing shortage Lower ed_max_queue, enable redirect
Policy update Toggle fast_track_enabled

Clinical code stays deployed. Operational parameters change in Kiponos — auditable, instant, no pod restart.

Compliance note

Kiponos controls operational thresholds and routing flags, not clinical decision models. Pair with your existing audit logging; use afterValueChanged listeners for change records.

Free TeamPro: kiponos.io. Integration: github.com/kiponos-io/kiponos-io


Kiponos.io — real-time config for Java. Adapt operations while the ED is live.

Top comments (0)