An online pharmacy in Sweden

A friend's very small pharmacy in Sweden wanted to take its prescriptions online: something only the big chains, with their own engineering teams, had done. I designed and built it myself, and it is live.

Apokur: sign in with BankID, choose from your prescriptions, pay, and it is delivered to the door.

Role

Software Designer and IT Manager, Apotek Äpplet AB. Research, system design, UX, UI and development were mine: one person, where the chains have whole engineering departments.

The challenge

A friend of mine owns a very small pharmacy in Sweden, and he had a vision: he wanted to make it online. In Sweden that is not easy. There is a handbook of 400 to 500 pages you have to read just to connect with the national systems, and approvals are not given easily. I talked to pharmacy owners, senior developers and the companies behind the POS systems. Almost every one of them said the same thing: only the bigger pharmacies, the ones with their own engineering teams, can do this. A small pharmacy has no engineering team and no budget to hire one, which is why so few of them are online. My friend trusted me to find another way.

What I saw

I had never worked in this industry and knew nothing about it. So I did not start by building. I started by reading the handbook. First I drew one system that covered every part of it. Then I read each sub-section in detail and mapped how they relate to each other. Everything went down as plans before I wrote any code.

How I built it

  • Understand. Read the handbook, map the whole system, then every sub-section and the links between them.
  • Prove the connections. Before development, I tested each connection in Postman and worked with the test administrators to open firewalls and check every link.
  • Build the core. With the information and connections ready, I started development. I built the backend hub first, then the frontend on top of it through API keys.
  • Test and approve. I tested everything in the test environment, built the website, and went through the approval process.
Handbook400 to 500 pagesOne systemevery sub-section mappedNational systemsevery connectionBackend hubbuilt firstFrontendthe website, on topTest environmenteverything testedApprovalthe final approvalsApokurliveTESTED IN POSTMAN ✓API keysBUILT BY ONE PERSON

What I built

Apokur: an online pharmacy for prescription medicines. Customers order their medicines, including medicines for animals, and get them delivered to the door. A guardian or relative can order for someone else with a power of attorney (fullmakt). Orders are picked from the stock of the physical store.

Apokur's prescriptions page: a customer's prescriptions, their high-cost protection, and the substitutes they may choose
Your prescriptions, your high-cost protection, and the substitutes you may choose.
Apokur's prescriptions for animals: each prescription with its medicine, what is left of it, and its price
Prescriptions for animals, on a page of their own: high-cost protection does not cover them.
Apokur's cart: a prescription and a pet's prescription together, with the notice that special medicines need ID
One cart for both, with the rule for special medicines said before checkout.

What changed

We received the final approvals, and Apokur is live. A very small pharmacy now does what people told us only the big chains could do, and it did not take an engineering department: I designed and built it myself. Because the whole system was designed, and every connection proven, before any code was written, the pharmacy got what the chains have for far less than a development team would cost.

Apokur's front page: prescription medicines online, fast delivery across Sweden, licensed pharmacists, and signing in with BankID
Live: prescription medicines online, signed in with BankID.

What I take from it

It is my most important project, because it shows best what I bring. I went from no knowledge of the industry to a complete understanding of the e-health system, and turned something that usually needs a big team into a system one person could build and get approved. That is what I do for a business: learn its world properly first, then design what it needs so it can be built with the people and the budget it has.

Book a discovery call

Is something holding your business back? Tell me what. We start with a one-hour discovery call.

Ideas Studio Sweden

Malmö, Sweden

Apokur — Haroon Malik