Skip to content
All projects

An AI Worker organizing NFZ (Polish National Health Fund) billing documentation in a private medical network

Project write-up

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
Billing with the NFZ requires complete documentation, and gaps are detected only after services are rejected.
Approach
An AI Worker checks documentation completeness before billing is submitted, according to the contract rules, points out gaps, and prepares a list of cases for the facilities to complete.
Goal
Share of cases handled without manual re-keying: ≥ 60% in the process covered by the pilot; Accuracy of AI Worker proposals accepted without edits: ≥ 80% on the test set before production.

Client context

Healthcare combines especially sensitive data with a requirement for immediate availability: a system that is down in an emergency room is a real risk to the patient. The client is a private medical network that provides services under NFZ contracts and commercial subscription plans.

Challenge

Billing with the NFZ requires complete documentation, and gaps are detected only after services are rejected. Billing department staff check the documentation by hand.

Requirements and constraints

  • The AI Act, i.e. Regulation (EU) 2024/1689, introduces obligations that depend on the risk category of the AI system: transparency toward users, human oversight, technical documentation, and event logging. Systems that affect creditworthiness or employment may fall into the high-risk category. (source)
  • 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)
  • 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 deploy Jarvis as several separate tickets in Elevate rather than one big project: first digitization (data from e-mails, Excel, and paper goes into one database), then automation of repetitive steps, and finally AI Workers that prepare cases for a human to approve. An AI Worker never sends anything outside on its own. Every external action requires human approval, and every AI Worker step is logged.

An AI Worker checks documentation completeness before billing is submitted, according to the contract rules, points out gaps, and prepares a list of cases for the facilities to complete. A billing department employee approves the list.

Key elements of the solution:

  • Completeness rules based on contracts
  • Documentation checks before submission
  • A list of gaps for the facilities
  • Approval by the billing department

Team and roles

RoleCountResponsibility
AI engineer1AI Worker design, tools, test sets, logging
Process automation engineer1automations, integrations, RPA as a bridge
B2B.NET account manager1single point of contact, escalations, selecting further team members
Business analyst1requirements, processes, acceptance criteria
Product owner and domain experts (client side)as neededpriorities, business decisions, acceptance

Phased schedule

PhaseWeeksDeliverable
1. Free diagnosis and process selection1–1process map, diagnosis result
2. Digitizing data2–4one database, order in the data
3. Automating steps5–7automations, integrations
4. AI Worker in assist mode8–10AI Worker, test set, logs
5. Acceptance and extension to the next department11–12acceptance, plan for further tickets

Technology stack

The Elevate platform, a clinic management system, a language model in a private deployment (EU region).

Risks and how we mitigate them

RiskHow we mitigate it
Processing of especially sensitive dataDPIA before the start, pseudonymization, role-based access, read logging
Incorrect language model answersanswers only from sources with citations, a test set, refusal outside scope, human approval
Low user adoptionchampions 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.

KPITargetHow it is measured
Share of cases handled without manual re-keying≥ 60% in the process covered by the pilotautomation log
Accuracy of AI Worker proposals accepted without edits≥ 80% on the test set before productiontest set, approval log
Handling time per casecut in half compared to the baseline measurementbefore and after time measurement

Lessons learned and good practices

Checking completeness before submission is cheaper than handling rejections. Medical data requires a private deployment of the model. An AI Worker is only as good as the order in the data it works on.

Why DYNAMINDS Labs

DYNAMINDS Labs is the R&D division of B2B.net S.A. On the Elevate platform, our external IT department model, we deploy AI Workers that organize data and take over repetitive work. Each step is a separate ticket with a price and a deadline within 24 hours, and payment happens after acceptance. The diagnosis is free.

Acceptance criteria

Each phase ends with formal acceptance against criteria agreed at the start. In this engagement, acceptance covers: process map, diagnosis result; one database, order in the data; automations, integrations; AI Worker, test set, logs; acceptance, plan for further tickets. 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

Start with a free DYNAMINDS Labs diagnosis: in one meeting we will check which departments are ready for automation and AI Workers, and which first need digitization.

Start with one task.

Describe it in your own words. We start with a free diagnosis and reply within 24 hours.

Meet DYNAMINDS Labs

B2Bnetwork · B2B.net S.A. · accredited exam center. We describe clients by industry and scale, without names.

More projects: Healthcare