Back to Blog
§ Use Case10 min readBy James Thornton

How Hospital Directors Get Instant HIS Analytics Without an IT Ticket

Discover how hospital management teams use Qlar's Operations & Medical Data Analyst agent to query live HIS data — BOR, BPJS claims, LOS, and doctor performance — in plain language, with no SQL required.

Published on September 8, 2025

The Weekly Ops Review Nobody Could Actually Answer

Picture this: it is Monday morning at RSU Harapan Sehat's weekly operational review. The hospital director, Dr. Hendra Santoso, opens the meeting with a direct question to the room: “What was our BOR for the internal medicine ward last week, and how does it compare to our 85% target?” The operations manager opens a laptop and starts hunting through the HIS reporting module. The finance team lead pulls up a separate spreadsheet. Seven minutes pass. The figure that surfaces contradicts the one on the wall dashboard. A second question — “Which department has the longest average LOS this month?” — gets deferred to the end of the meeting while someone runs an ad-hoc report.

This is the Monday morning reality in hospital management teams across Indonesia. The data exists — it lives inside the Hospital Information System (HIS). But accessing it fast enough to be useful in a live operational review requires an IT ticket, a data analyst, a waiting period, and often a follow-up meeting to revisit the same questions with fresher numbers.

With Qlar's Operations & Medical Data Analyst agent, Dr. Hendra's question gets answered in under ten seconds — directly in the meeting, without raising a ticket. The agent queries the live HIS database, interprets the result, and returns a structured breakdown: BOR by ward, trend versus target, and a flag on any ward below threshold. No waiting. No contradictory dashboards. No deferred decisions.

BOR BY WARDInt. Med 88%Surgical 93%OB/GYN 81%Pediatric 85%ICU 72% !AIBOR Internal Medicine: 88.4%Target: 85% — Exceeded by 3.4 ptsTrend: +2.1% vs prior weekAlert: ICU BOR 72% — below 80% threshold3 beds available, 2 pending discharge

The Hidden Cost of the “I'll Pull the Report” Culture

Hospital management teams sit on an enormous volume of operational data. Every admission, every discharge, every BPJS claim submission, every doctor visit — it all flows into the HIS. Yet the gap between data existing in a system and data being usable in a decision is where hospital operations quietly suffer.

A typical scenario at a mid-size Indonesian hospital: the medical director needs to present BOR trends to the hospital owner before a budget review. The IT team is asked to run the report. Two working days later — after clarifications about the date range, the ward grouping methodology, and whether to include day-care admissions — a spreadsheet arrives. By then, the numbers already reflect last week's reality, not today's. The director presents stale data, makes cautious recommendations, and the board approves a conservative budget that under-funds the units that have actually been performing.

Multiply this across every operational question in a hospital — BPJS claim aging, LOS variance by department, doctor performance by patient volume, ward-level turnover interval — and the compounding effect on decision quality is significant. Hospital directors are making daily operational calls on information that is days or weeks out of date.

“We had three different numbers for our occupancy rate on any given day — one from the HIS dashboard, one from the nursing station tally, and one from the finance system used for billing. We spent half our operational meeting reconciling data instead of acting on it.”

Introducing the hc-data-analyst: Your Hospital's Always-On Operations Analyst

Qlar's Operations & Medical Data Analyst agent — known in the platform as hc-data-analyst — is purpose-built for hospital management teams. It connects directly to your HIS or EMR database via the SQL Database Reader plugin and gives every authorized manager, director, and department head the ability to query live operational data in plain language, at any moment, without an IT intermediary.

The agent does not replace your HIS or your data team. It removes the friction between the data that already exists and the people who need to act on it. Routine queries — “What is our average LOS for the surgical ward this month?” or “Which BPJS claims are outstanding beyond 30 days?” — no longer require a ticket, a waiting period, or a scheduled report. They are answered in seconds, inside the conversation.

Who This Agent Serves

The hc-data-analyst is designed for every level of hospital management that touches operational data:

  • Hospital directors and medical directors — instant BOR, LOS, and department performance overview for board presentations and operational reviews
  • Department heads and ward managers — real-time occupancy status, turnover interval, and bed availability without waiting for the morning census report
  • Finance and billing teams — live BPJS and insurance claim aging, outstanding amounts by payer category, and revenue-at-risk identification
  • Quality and accreditation teams — KPI monitoring against defined targets, trend analysis, and variance flagging across departments
  • Operations managers — doctor performance metrics, patient volume trends, and specialty-level visit analytics

How the SQL Database Reader Plugin Powers HIS Analytics

The technical foundation of the hc-data-analyst is Qlar's SQL Database Reader plugin. This plugin establishes a direct, secure connection between the AI agent and your live HIS or EMR database — whether that is built on SQL Server, MySQL, PostgreSQL, or a custom hospital database system — and translates natural language questions into precise SQL queries executed in real time.

In a hospital context, this means:

  • Natural language to SQL, healthcare-specific: The agent understands hospital terminology. When the medical director asks about “BOR for internal medicine last week,” the plugin knows that BOR maps to (occupied_beds / total_beds) × 100 calculated from your admission and discharge tables, filtered by the internal medicine ward code.
  • Schema-aware HIS queries: Every HIS has a different table structure. The plugin is configured during setup with your specific schema — table names, column mappings, ward codes, payer codes, diagnosis classification — so queries produce accurate results against your actual data.
  • Custom KPI definitions: Your hospital's BOR target may differ from the national benchmark. Your LOS acceptable range for a surgical procedure may be different from general standards. These definitions are built into the agent during configuration, ensuring responses contextualize data against your own targets rather than generic ones.
  • No SQL knowledge required: The department head who asks “What is the average LOS for post-caesarean patients this quarter?” gets a structured answer without needing to know that this requires joining the admissions, discharge, and diagnosis tables filtered by ICD-10 code O82.
  • Live data, every time: Every response reflects the current state of the database — the last admission posted, the last BPJS claim submitted. Not last night's export. Not last week's Excel file.

Access Control by Role: The Right Data to the Right Person

Healthcare data governance is not optional. A ward manager should see their ward's occupancy data — not a hospital-wide financial view. The billing team should access claim data — not clinical records. The SQL Database Reader plugin's row-level security configuration ensures each user sees only the data they are authorized to access, enforced at the query level, not just at the interface level.

The result: hospital directors see the full picture. Department heads see their department. Finance sees billing and claims. Each group works within its authorized scope while benefiting from the same conversational query experience.

Real-World Use Cases: What Hospital Teams Actually Ask

The following scenarios illustrate how management teams at RSU Harapan Sehat use the hc-data-analyst agent in their daily operations:

Hospital Director: Weekly Board Preparation

  • Question asked: “Give me a BOR summary by ward for this week, flag anything below 80%.”
  • Agent response: Structured table with BOR percentage by ward, color-coded flags for underperforming units, trend versus the same week last month, and a note that the ICU is at 72% with three available beds and two pending discharge — actionable context, not just a number.
  • Decision enabled: Director initiates a targeted discussion with the ICU department head before the board meeting rather than discovering the gap during the presentation.

Medical Director: LOS and Turnover Interval Analysis

  • Question asked: “Which departments have an average LOS above our clinical benchmark this month, and what is the turnover interval for each?”
  • Agent response: Department-level LOS versus benchmark, TOI by ward, and identification of the two wards with both elevated LOS and negative TOI — meaning beds are sitting empty between patients despite a waitlist.
  • Decision enabled: Medical director convenes a focused case review for the outlier wards, with specific data to guide the clinical conversation.

Finance Team: BPJS Claim Aging and Revenue at Risk

  • Question asked: “How much is outstanding in BPJS claims over 30 days, and which diagnosis groups account for the largest backlog?”
  • Agent response: Total outstanding BPJS claims in IDR with aging breakdown (30–60 days, 60–90 days, 90+ days), top five diagnosis groups by backlog value, and identification of any claims flagged for potential downgrading.
  • Decision enabled: Finance team prioritizes follow-up on specific claim categories and escalates high-value aged claims to the billing team for immediate action — without waiting for the monthly receivables report.

Department Head: Doctor Performance and Patient Volume

  • Question asked: “How many inpatient referrals did each internist generate this month, and what is their average consult time?”
  • Agent response: Per-doctor breakdown of referral count, consult time average, and patient volume — ranked by revenue contribution, with a note on any significant variance from the department average.
  • Decision enabled: Department head identifies the two doctors with below-average patient volume and arranges a support conversation — informed by data, not hearsay.

Quality Team: KPI Monitoring Against Defined Targets

  • Question asked: “Which of our accreditation KPIs are currently in the red for this quarter?”
  • Agent response: List of KPIs below threshold with current value versus target, trend direction, and the departments contributing most to each variance — structured as a ready-to-use summary for the next quality committee meeting.
  • Decision enabled: Quality coordinator submits a pre-prepared corrective action plan to the committee rather than spending the first forty minutes of the meeting compiling the baseline data.

Beyond the Database: Clinical Protocols and Policy Context

Live HIS data tells you what is happening. Clinical protocols and operational policies tell you why a variance matters and what the appropriate response is. Qlar's Documents feature allows the hc-data-analyst agent to carry both layers simultaneously.

When the medical director asks, “Is our current average LOS for appendectomy within the clinical standard?” — the agent does not just return the LOS figure. If clinical pathway documents are loaded into the agent, it can compare the actual figure against the defined pathway duration, note the variance, and flag whether it exceeds the threshold that triggers a clinical audit. This is the difference between a number and a clinical recommendation.

Documents that benefit the hc-data-analyst's knowledge base include:

  • Clinical pathway definitions with LOS benchmarks per procedure or diagnosis
  • BPJS tariff schedules and claim submission requirements (CBG codes)
  • Hospital accreditation KPI targets and measurement methodology
  • Operational policies (bed management, discharge protocols)
  • Annual operational plans with monthly BOR and revenue targets

The Business Outcomes: What Changes When Data Is Instant

The operational impact of removing the data-access bottleneck in hospital management is specific and measurable:

  • 10x faster management reporting: Operational reports that previously required two days of analyst time are answered in under a minute, directly within the management team's conversation or meeting.
  • 85% reduction in ad-hoc IT report requests: When managers can query the HIS themselves in plain language, the volume of routine report requests to the IT team drops dramatically — freeing IT to focus on system maintenance, integrations, and infrastructure rather than Excel extracts.
  • Zero SQL required: Hospital directors, department heads, finance teams, and quality coordinators query live HIS data without any technical training. The agent handles the translation.
  • +60% faster operational decisions: When weekly ops reviews and board meetings can resolve data questions in the room rather than deferring them, the speed from question to decision accelerates significantly — reducing the cycle from days to minutes.
  • Earlier BPJS claim intervention: Finance teams that previously discovered claim aging problems in monthly reviews now identify them in real time, enabling earlier follow-up and reducing the volume of claims that age past the 90-day mark.
“Our weekly ops meeting used to run ninety minutes because half of it was spent chasing down numbers. Now we start the meeting with the data already surfaced. We spend ninety minutes making decisions instead of reconciling reports.”

Automated Operational Digests: Your Hospital's Morning Briefing

Beyond on-demand querying, the hc-data-analyst can be configured to deliver automated daily and weekly operational digests — scheduled summaries that push key metrics to management without anyone needing to ask.

A typical automated daily digest might include:

  • BOR by ward as of 6:00 AM — with flags on any ward below the target threshold
  • Total inpatients, discharges, and new admissions from the prior day
  • BPJS claims submitted in the last 24 hours and the running monthly total
  • Any LOS outliers from the previous day's discharges — patients whose actual LOS exceeded the clinical pathway benchmark by more than the defined tolerance

This transforms hospital management from reactive to proactive. Instead of discovering that the ICU has been underutilized for three days at the weekly review, the director receives an alert on day one — and can act on it before it becomes a revenue and capacity problem.

Setting Up the hc-data-analyst Agent with Qlar

Deploying the Operations & Medical Data Analyst agent requires no custom development. The setup follows a structured configuration workflow:

Step 1: Configure the Agent Identity

Define the agent's persona — for example, “Aria, Operations & Medical Data Analyst for RSU Harapan Sehat.” Set the scope of questions the agent is designed to answer, the communication style (concise, structured, action-oriented), and the language preference (Bahasa Indonesia or English, or both). A well-defined persona ensures responses fit the operational context of your specific hospital.

Step 2: Connect the HIS Database

Use the SQL Database Reader plugin to establish a secure connection to your HIS or EMR database. Configure your table mappings, define the KPI calculation logic (BOR formula, LOS benchmark by ward, BPJS aging thresholds), set ward codes and payer classifications, and configure row-level security rules per user role. Qlar provides a query testing interface so the implementation team can validate accuracy before go-live.

Step 3: Upload Clinical and Operational Documents

Load the agent with the documents that provide interpretive context: clinical pathways, BPJS tariff schedules, accreditation KPI definitions, and the current annual operational plan. These documents allow the agent to contextualize data results against your hospital's own policies and targets rather than generic industry benchmarks.

Step 4: Configure Access and Deploy

Publish the agent to your management team through Qlar's platform. Assign access by role — director, department head, finance, quality — with appropriate data scope for each. Configure automated digest schedules if required. Monitor usage through the Analytics dashboard and iterate on the configuration as your HIS schema or reporting requirements evolve.

The Operational Review, Reimagined

Return to that Monday morning at RSU Harapan Sehat. Dr. Hendra asks about BOR for the internal medicine ward. This time, instead of waiting for someone to pull the report, he opens Qlar and types the question. The hc-data-analyst agent queries the live HIS, calculates BOR against the 85% target, and returns a structured breakdown by ward — including the ICU flag — in under ten seconds.

The meeting continues: “What was average LOS for surgical patients this week?” — answered in seconds. “How does our BPJS submission volume compare to last month at this point in the cycle?” — answered immediately, with a note on the two claim categories showing unusual aging.

The ninety-minute meeting that used to end with a list of data follow-up tasks now ends with operational decisions made and assigned. The ICU department head leaves with a clear action point. The finance team has a specific claim category to escalate. The medical director has LOS data to bring to the next clinical audit. Every question raised in the meeting was answered in the meeting.

That is the Operations & Medical Data Analyst. That is what Qlar makes possible for hospital management. And it is ready to deploy today, without a single line of code.

Conclusion: Data Fluency as a Hospital Leadership Capability

The hospitals that will lead their sector in the next decade are not necessarily those with the most sophisticated HIS — they are those whose management teams can access, interpret, and act on operational data fastest. The gap between having data in a hospital system and having it usable in a management meeting is where operational excellence is won or lost.

Qlar's hc-data-analyst closes that gap. By combining the SQL Database Reader plugin for live HIS access, the Documents feature for clinical and policy context, role-based access control for data governance, and automated digests for proactive management, Qlar delivers operational intelligence that is both immediate and hospital-grade.

Your hospital's management team should never have to wait for a data analyst to answer an operational question. With Qlar, they never have to again.

§ Found this helpful?

Found this helpful?
Start Building.

Share this article with your team or start building your own AI agents today.