All projects

Multi-tenant B2B platform · Pharmacy operations

MEIA Global Platform

MEIA brings organisation, subscription, pharmacy, people, assignment and approval rules into one governed platform. Its central design choice is to derive authority and readiness from current operational facts instead of trusting a title or a stored status.

  • Next.js
  • Multi-tenant SaaS
  • Role & scoped authority
  • EN/SV bilingual
Open demo · MEIA Global Platform (opens in a new tab)

Fictional data. Runs in your browser.

A MEIA customer workspace overview listing three pharmacies with their readiness state, a capacity panel showing three of four pharmacies used, the people in scope, and an empty pending-requests list.

The problem

A pharmacy group is not one flat account. It contains customer boundaries, multiple pharmacies, subscriptions, capacity limits, people and responsibilities that change over time. A useful platform has to answer not only who someone is, but which organisation and pharmacy they may act for, under which active assignment, and whether the organisation is ready for the next operation.

MEIA was engineered around those connected questions. Instead of scattering them across screens, the Core system makes tenancy, entitlement, approval and readiness part of the same operational model.

How the platform works

Readiness and gap resolution: fourteen requirements are evaluated from the current setup. Every unmet requirement points to the screen that can resolve it, so the status is actionable rather than decorative.

Subscription, capacity and entitlement governance: a customer reaching its pharmacy allowance sees the relevant numbers and a clear vendor-owned resolution path. Capacity is treated as a business rule, not as a generic error.

Proposal and approval: a Team Leader may propose a person and responsibilities, but the request grants nothing while pending. A Manager may remove a proposed responsibility during approval, but cannot add one that was never requested.

Assignment scope and revocation: responsibility exists only through an active, time-bounded assignment. Ending it narrows authority immediately and may reopen the readiness requirement that assignment had satisfied.

Authority is not a job title

A role name is too broad to decide what a person may do across a multi-pharmacy organisation. MEIA derives authority from assignments that carry scope, responsibility and time bounds. The same person can therefore hold responsibility for one pharmacy without receiving it everywhere else.

This also makes revocation explicit. When an assignment ends, the authority it granted disappears with it; downstream readiness is recalculated from the remaining active facts.

Readiness as a computation

Readiness is not stored as a verdict that can drift away from the organisation it describes. On every read, the platform evaluates fourteen requirements against current pharmacies, people, assignments, subscription state and entitlements.

The result explains both what is missing and where to fix it. That design keeps readiness aligned with changing operational state and turns a status page into a resolution map.

Architecture built around business rules

The platform separates domain rules, application orchestration, infrastructure adapters and presentation. Ports define the capabilities the application needs; adapters implement them; and a composition root checks adapter shapes before the system is wired. Automated boundary checks protect the separation so business behaviour does not quietly migrate into UI or persistence code.

That structure matters because the difficult rules cross screens: tenant boundaries, time-bounded assignments, approval transitions, entitlement checks and readiness resolution must agree wherever they are used. Keeping the rules in the domain and application layers gives those decisions one executable home.

The product interface is available in English and Swedish. This product bilingualism is distinct from the English and Arabic presentation of this portfolio.

For the self-contained portfolio demo, MEIA alone reuses the product's verified domain and application layers. Its infrastructure adapters were rebuilt in memory against the same port contracts, with browser-session persistence for a reviewable fictional world.

Evidence in the behaviour

The strongest evidence is visible in how one change propagates through the system. Approving a proposal can create the permitted responsibility; ending an assignment removes its scope; readiness then reflects the new state instead of preserving an old answer. Capacity and entitlement checks likewise produce business-specific resolution paths.

The public demonstration focuses on those connected behaviours. It uses invented organisations and people and does not require access to a production system.

Explore the demo

Begin with the CEO persona to follow readiness and a resolution link, then inspect the Manager and Team Leader sides of an approval. The guided review takes about five minutes.

The demo uses invented organisations and people, runs entirely in your browser, and is not connected to any production system.

Open demo · MEIA Global Platform (opens in a new tab)