Skip to content

Case study · AYCO

From an office spreadsheet to a signed report at the hospital

A field app that replaced an Excel workbook for a medical-equipment maintenance company.

>75%Less time to prepare a report, by the client team's estimate

Message me on WhatsApp(opens in a new tab)

Private client · no public listing

AYCO store art — a signed PDF report with a QR code, client details blurred
Client
Advanced YAA Company, which maintains medical equipment in hospitals
My part
Sole developer: the Flutter app, the Firebase back end, the server that builds the PDFs, and the release builds
Period
June to October 2026
Platforms
Android and iOS, on Google Play and the App Store by invitation only
Built with
  • Flutter
  • Provider
  • Cloud Firestore
  • Cloud Functions
  • Cloud Storage
  • RTL / Arabic

From scanning the device to the signed report

  • AYCO store art — home screen, headlined paperless maintenance reports

    Start a report

  • AYCO store art — a new report with the device's details filled in from its label

    Scan the label, details fill in

  • AYCO store art — a signed PDF report with a QR code, client details blurred

    Signed PDF with a QR code

One report, start to finish: choose the device, the form fills in, and the report comes back as a PDF. Names, serial numbers and signatures are blurred.

The client and the product

The client maintains medical equipment in hospitals. Every visit ends with a numbered service report for each device, signed by the company's engineer and by the hospital's staff.

Those reports used to come out of one Excel workbook on the office computers. A technician typed a device's code to pull up its details, completed the rest by hand and printed the page for signing. The form held ten reports to a sheet, and nothing in it recorded who wrote a report or when.

AYCO moves that work to the visit itself. The technician scans the device's label and the app fills in its details. The work done, the photos and the signatures are added on the phone. The server then builds the PDF, and a QR code printed on it opens the report from any phone.

What was asked

Preparing a report, getting it signed and reviewing it were separate steps, and a report could not be opened outside the office. Reports had no photos, so a repair was priced from the written text alone.

A preventive round can cover a whole ward, far more than the ten reports the form held. Every report still needs its own number, never issued twice, and what a technician may do has to differ from what an administrator may do.

Key decisions

  • The report is written at the device

    One scan of the device's label fills in its name, model, manufacturer, department, hospital and city, and locks those fields. The technician enters only the maintenance details.

  • Photos go into the report

    Each report carries up to six photos, printed in the PDF. The office uses them, with the report's text, to prepare the quotation for a repair.

  • A ward is one job

    A batch covers up to 500 devices under one signature, and every device still gets its own numbered report. Numbers are issued 25 at a time, so a dropped connection resumes without a gap or a repeat.

  • The server builds the PDF

    The first version drew every PDF on the phone, and leaving the screen during a large batch could leave reports without a file. Now the technician saves and closes the app while the server finishes.

What changed

Less time to prepare a report, by the client team's estimate
>75%
Devices supported in one batch
500
Photos per report, used to price repairs
6
Roles enforced on the server
3

Under the hood

  1. Report numbers come from a server transaction on one counter. A save that timed out on the phone may still have gone through, so every retry reuses the same reserved report and never takes a second number.
  2. PDFs are rendered by a queued server task from the stored report, written once and never replaced. A failed render is retried up to five times, and after that the report offers a retry button.
  3. A three-role permission model (super admin, admin, technician) is enforced in security rules and in Cloud Functions. Deleting a report and importing a registry from Excel exist only as server functions that check the caller's role.
  4. Bulk download runs as a server job that packs the stored PDFs into a ZIP or one merged file and keeps the result for 24 hours.
  5. Arabic and English with a full right-to-left layout: 607 strings per language, on the screens and on the printed sheet. 1,079 tests in the app and 240 on the server, 76 of them against the security rules.

If your project looks like this

  • Put permissions on the server. A hidden button is not a permission.
  • If the app issues numbered documents, issue the number on the server and assume every save will be retried.
  • Build documents on the server once batches get large. A phone is the wrong place to make hundreds of PDFs.

Building something like this?

Send me what you have in mind. I'll reply within a day with a plan and a realistic estimate.

Message me on WhatsApp(opens in a new tab)

Services in this project