The client is described by industry and scale, without a name. KPI figures are targets agreed with the client after a baseline measurement.
In brief
- Problem
- Management has no current picture of ward occupancy and operating theater utilization.
- Approach
- We combine data from the HIS into an occupancy and theater utilization model, with dashboards for management and wards.
- Goal
- Data freshness in reports: ≤ D+1 (or ≤ 15 min for operational data); Share of records meeting quality rules: ≥ 98% in critical tables.
Client context
Medical facilities in Poland operate within the ecosystem of the P1 platform (e-prescriptions, e-referrals, electronic medical records), which dictates integration and testing standards. The client is a provincial hospital with a dozen or so wards, where bed and operating theater planning is done by phone calls and spreadsheets.
Challenge
Management has no current picture of ward occupancy and operating theater utilization. Elective patients are rescheduled, and beds sometimes go unused.
Requirements and constraints
- GDPR, i.e. Regulation (EU) 2016/679, requires data minimization, a legal basis for processing, processing agreements, and, for high-risk processing, a data protection impact assessment (DPIA). In practice it rules out copying production data into test environments without anonymization or pseudonymization. (source)
- The Polish Act on the Healthcare Information System regulates electronic medical records, data exchange with the P1 platform (e-prescriptions, e-referrals, electronic medical records), and the rules for accessing patient data. Integrations must be certified and tested in the CeZ (Center for Health Information Systems) integration environment. (source)
- NIS2, i.e. Directive (EU) 2022/2555, and the amendment to the Polish National Cybersecurity System Act (KSC) require essential and important entities to implement cybersecurity risk management measures and supply chain security, and to report incidents within short deadlines (an early warning within 24 hours). Management is personally liable, so documentation of decisions is part of the product. (source)
- Project constraints: work only on anonymized or synthetic data outside production, access to systems through the client's infrastructure, and every deliverable shipped with documentation the client's team can take over.
Approach and architecture
We start with the few key metrics that are disputed today and design the data model backward from them. We run the migration from the existing data warehouse in parallel: during the transition both systems calculate the same figures, and automated reconciliation comparisons show discrepancies before the board sees them.
We combine data from the HIS into an occupancy and theater utilization model, with dashboards for management and wards. Patient data is pseudonymized in the analytics layer, and access is restricted by role.
Key elements of the solution:
- A bed and operating theater occupancy model
- Pseudonymization in the analytics layer
- Dashboards for management and wards
- Role-based access
Team and roles
| Role | Count | Responsibility |
|---|---|---|
| Data engineer | 2 | pipelines, data model, data quality tests |
| BI analyst | 1 | dashboards, metric definitions, user training |
| Business analyst | 1 | requirements, processes, acceptance criteria |
| Product owner and domain experts (client side) | as needed | priorities, business decisions, acceptance |
Phased schedule
| Phase | Weeks | Deliverable |
|---|---|---|
| 1. Inventory of sources and metrics | 1–4 | metric dictionary, source map |
| 2. Architecture and data model | 5–9 | layered model, standards |
| 3. Building pipelines and quality tests | 10–17 | pipelines, tests, catalog |
| 4. Reconciliation and parallel running | 18–22 | compliance reports |
| 5. Rollout and training | 23–24 | dashboards, training, handover |
Technology stack
PostgreSQL, dbt, Airflow, Power BI or Metabase.
Risks and how we mitigate them
| Risk | How we mitigate it |
|---|---|
| Processing of especially sensitive data | DPIA before the start, pseudonymization, role-based access, read logging |
| No test data free of personal data | a synthetic data generator and masking that preserves referential integrity; copying production into tests is prohibited |
| Low user adoption | champions in each department, training on their own cases, usage measured from day one |
Measurable goals and KPIs
The values below are targets that we set with the client after a baseline measurement in the first phase.
| KPI | Target | How it is measured |
|---|---|---|
| Data freshness in reports | ≤ D+1 (or ≤ 15 min for operational data) | pipeline metadata |
| Share of records meeting quality rules | ≥ 98% in critical tables | data quality tests |
| Active users of the solution | ≥ 80% of the target group after 3 months | usage telemetry |
Lessons learned and good practices
A current picture of occupancy changes the conversations between wards. Pseudonymization in the analytics layer resolves most concerns about patient data. Data quality tests must block publication, otherwise nobody reads them.
Why B2B.net
We combine two models: we provide individual specialists and entire teams (time and materials, team leasing), and when a client prefers to hand over responsibility for the outcome, we work at a fixed price for a defined scope. We have access to a large network of engineers in six cities, SAP Center of Expertise competencies, and experience with ISO 27001, DORA, and NIS2 requirements. If someone leaves the team, a replacement is in place within 5 business days.
Acceptance criteria
Each phase ends with formal acceptance against criteria agreed at the start. In this engagement, acceptance covers: metric dictionary, source map; layered model, standards; pipelines, tests, catalog; compliance reports; dashboards, training, handover. Final acceptance requires a KPI measurement report against the baseline, complete documentation handed over to the client's team, and a list of recommendations for the next stage, with a cost and risk assessment for each.
Next step
If you recognize these problems in your organization, let's start with a short diagnosis: one workshop with your team and written recommendations. Write to us at office@b2bnetwork.pl.
What would this look like for you?
Book a 30-minute call. We will prepare a plan for the first weeks and a team matched to your system.
Let's talkB2Bnetwork · B2B.net S.A. · accredited exam center. We describe clients by industry and scale, without names.