# Benchside: record of processing (NDPA 2023)

Controller: Mantra Worlds Limited. Working standard, not legal advice; the DPCO acting as DPO confirms it.

| Data item | Purpose | Lawful basis | Where kept | Retention | Transfer |
|---|---|---|---|---|---|
| Age band (18+ / under 18) | Decide whether to ask for a name or a nickname | Legitimate interest (protecting minors) | Learner's browser (localStorage) | Until the learner deletes it | None |
| Name or nickname | Report, certificate, mentor greeting | Consent (learner types it) | Learner's browser | Until deleted | None |
| Progress, results, audit trail, case scores | Learning feedback and report | Consent / performance of the service | Learner's browser | Until deleted | None |
| xAPI statements | Portable learning record | Consent (learner copies them out) | Learner's browser | Last 500 kept | None unless the learner shares them |
| Language choice, procedures practised, guided-practice steps | Learning progress | Consent / performance of the service | Learner's browser | Until deleted | None |
| Progress code (nickname and counts only) | Teacher's class view | Consent (learner copies and sends it) | Wherever the learner sends it | Teacher's responsibility | Learner-initiated |
| LRS endpoint address | Sending learning records | Consent | Learner's browser | Until deleted | Statements go to the institution the learner chooses; the key is never stored |
| Saved opportunity IDs | Let the learner keep a shortlist | Consent | Learner's browser | Until deleted | None. Opening an opportunity is a normal link the learner clicks; Benchside adds no tracking parameters and sends no referrer |
| Random learner ID | Distinguish statements and certificates | Legitimate interest | Learner's browser | Until deleted | None |

**Outside hosts:** none. Fonts (Instrument Sans, Public Sans; SIL Open Font License) are served from the artifact's own files. No analytics, cookies, session replay, email, payments or AI calls.

**Learner rights:** Copy my data and Delete my data are in the About section.

**Open items (need a backend or a decision):** verified parental consent and school-managed accounts if Benchside is offered to under-18s at scale; an LRS processor agreement if statements are sent to an institution.


**Added 24 Nov 2026:** two on-device preferences for the health systems and emergencies programme: level of care (`hlv`: one of four fixed values) and where you work (`hzone`: one of eight broad regions such as "South West" or "Elsewhere in Africa", never a facility or address). Purpose: tailor lesson notes. Lawful basis: the learner's own choice; stored only in the browser, deleted with Delete my data, never sent anywhere.

## Research workspace (added November 2026)

| Data item | Purpose | Lawful basis | Where kept | Retention | Transfer |
|---|---|---|---|---|---|
| Research projects, form fields and records (may include health data about participants: sensitive personal data under NDPA s.30) | Let the user collect study, audit or quality data offline | The user's own processing as controller for their study; Benchside is a tool and receives nothing | This device only, IndexedDB `benchside-research` (fallback localStorage, else memory) | Until the user deletes the project or clears the browser | None by Benchside; the user may export CSV/JSON and move it themselves |
| Protocol outlines and product stage trackers | Planning | As above | As above | As above | None |
| Low-power mode flag (`benchside-lite`) | Reduce power use | Legitimate interest (setting chosen by the user) | localStorage | Until changed | None |

Controls: participant codes instead of names are prompted on every template; optional AES-256-GCM encryption with a key derived from the user's passphrase (PBKDF2-SHA-256, 250 000 iterations, random 16-byte salt, fresh 12-byte IV per save); the passphrase is never stored; CSV export neutralises spreadsheet formulas; imports are size-capped, schema-checked and merged by record id. The researcher remains the controller of participant data and needs ethics approval, consent and an NDPA-compliant data management plan; Benchside states this in each study plan.

| Research country choice (`benchside-jur`) | Show the right approvals | Legitimate interest (setting chosen by the user) | localStorage | Until changed | None |

Research screens are translated on the device from `rtr/<lang>.js`, downloaded only for the language the user picks; no text is sent anywhere for translation.

| Tutorial progress (`tut`) and reflections (`refl`) | Show progress through each tutorial and keep the learner's own reflections | Legitimate interest / the learner's own use | Browser storage with the rest of Benchside progress | Until the learner deletes their data | None; "Copy my reflections" copies them to the learner's clipboard only |

| Part-test and specialty-check scores (`tests`) and specialist tutorial progress (`tut` keys `sp-<id>`) | Show results and unlock the orientation certificate | Legitimate interest / the learner's own use | Browser storage on the device | Until the learner clears data | None |

Answers are scored on the device; only the best score (a number from 0 to 100) is kept. A pass or fail xAPI statement is recorded locally like other learning events.

| Home country (`home`) and licence journey ticks (`lic`, step IDs per profession) | Personalise the real-world plan and let learners track real steps | Legitimate interest / the learner's own use | Browser storage on the device | Until the learner clears data | None |

Benchside does not verify or upload licence information. No licence numbers are collected.

## Hospitals and laboratory centres directory (added 25 Nov 2026)

| Data item | Purpose | Lawful basis | Where kept | Retention | Transfer |
|---|---|---|---|---|---|
| Facility listings (organisation name, address, map position, organisational phone, email and website, licence number, specialities, equipment, bed and staff counts, training places, vacancies) | Let people find facilities and jobs | Legitimate interest of the facility, which publishes it; the lister declares authority and that no personal or patient data is included | Artifact database (`facilities/<account id>`), readable by everyone admitted to the page | Until the facility removes it or Benchside hides it | Hosting provider of the artifact |
| Verification status (`verified/<listing id>`) | Show which licences Benchside has checked | Legitimate interest | Artifact database, written by editors only | While the listing exists | As above |
| Cached copy of listings (`benchside-fac-cache`) and the viewer's unpublished draft (`benchside-fac-draft`) | Offline reading; not losing a half-finished form | Legitimate interest / the user's own use | Browser storage on the device | Until cleared | None |
| Viewer location | Sort facilities by distance | Consent (browser permission, on request only) | Memory only, never stored or sent | The visit | None |

Staff numbers are totals only: no names of staff are collected. The form warns against personal phone numbers and patient information. Writing is limited by database rules: each account writes only its own listing; editors can import files, verify or hide listings.

## Public professional profiles (added 25 Nov 2026)

| Item | Detail |
|---|---|
| Data | Name, title, profession, speciality, country, city, employer, regulator, optional registration number, years, qualifications, achievements, publications, skills, languages, availability, https links, optional public email, short biography. No photos, no patient data. |
| Who | Adult health and medical practitioners (blocked when the learner set age as under 18). |
| Purpose | A public directory searchable by professionals, leaders, business owners and HR teams. |
| Lawful basis | Consent (NDPA s.25(1)(a), s.26): an unticked box confirming 18+, accuracy and public display. |
| Storage | Hosted artifact database, `profiles/{user id}`; only the signed-in owner of the profile can write it; admin verification at `profverified/{id}`. Unpublished drafts stay in the browser (localStorage). |
| Retention and rights | Until the practitioner removes it ("Remove my profile" deletes the document). Admins can hide a profile. |
| Visibility limit | Readable by people who can open the hosted page. Publishing needs contributor access; a fully open global directory needs a dedicated backend. |
| Medicine check | Runs entirely on the device; nothing is stored or sent. |

## Pharmacies and licensed medicine shops (added 25 Nov 2026)

Organisational data only: licence type and number, the superintendent pharmacist or licence holder named in their professional role, opening hours, landmark, services, an organisation WhatsApp number. Same storage, verification and removal as other listings.

## Self-hosted directory backend (added 25 Nov 2026)

| Item | Detail |
|---|---|
| Data | Email address (sign-in only, never shown), one-time codes and session tokens (stored only as SHA-256 hashes), consent records (purpose, notice version, time), admin audit log, rate-limit counters. |
| Lawful basis | Contract or steps before it, to provide the account (NDPA s.25(1)(b)); consent for publishing listings and profiles (s.25(1)(a), s.26). |
| Retention | Codes 10 minutes; sessions 30 days; expired ones deleted daily. Account data until the user deletes the account, which removes the listing, profile, consents and sessions. Delete inactive accounts after 24 months (to set up). |
| Rights | Download my data (`/api/me/export`) and Delete my account, both in the app. |
| Processors and transfers | Cloudflare (hosting, D1 database) and the email provider (Resend by default). Both process outside Nigeria: record the transfer basis (NDPA s.41–43) and sign data-processing terms before launch. |
| Children | Profiles are blocked for learners who set their age as under 18; sign-in collects only an email. |
| Security | Owner-only writes enforced on the server, admin actions logged, size and shape limits, rate limits, no secrets in the browser, same-origin API. |

## NMCN exam practice and clinical reviewers (added 25 Nov 2026)

| Item | Detail |
|---|---|
| Learner data | Attempt history (date, paper, mode, score) kept only in the browser (`benchside-exam-hist`, last 20 attempts) and xAPI statements stored locally; nothing is sent. Cleared with Delete my data. |
| Reviewer data | Name, council, registration number, licence expiry, role, consent to be named, and sign-off records for each question. Lawful basis: consent (NDPA s.25(1)(a), s.26). Published in the app only with written consent; removed on request (the questions then return to Draft). The signed form is kept by Mantra Worlds Limited, offline. |

## Reviewer portal, trust centre, network, practicals, plans, certificates and CPD (added 25 Nov 2026)

| Data | Who sees it | Purpose and lawful basis | Retention | Processor and transfer |
|---|---|---|---|---|
| Reviewer application: name, council, registration number, licence expiry, role, employer, years, areas, conflicts, consent to be named | Signed-in viewers of the page (artifact); admins | Checking the licence and running clinical review; consent (s.25) | While the reviewer is active, then 12 months | Anthropic (artifact storage) or Cloudflare (server); outside Nigeria, recorded under s.41–43 |
| Review verdicts and comments | Signed-in viewers; admins | Quality assurance of questions; legitimate interest | With the question version | As above |
| Problem reports: page, problem, text, source | Signed-in viewers; admins | Corrections; legitimate interest. The form asks for no patient details | 24 months | As above |
| Follows, connections, endorsements | Signed-in viewers | Professional networking the user chooses; consent | Until the user removes them or deletes the account | As above |
| Practical session requests (name, programme), facility confirmations, logbook entries (skill, date, place, supervisor, reflection), supervisor signatures | Signed-in viewers of the page; on the server, owner-written | Booking and evidencing supervised practice; contract and consent. Adults only; minors are told to book through their school | Logbook: until the learner deletes it; requests: 12 months | As above |
| Plan requests: name, email, organisation, seats, code | The requester and admins only | Sending a Paystack payment link and receipt; contract | 6 years for accounting records | As above; Paystack (payment processor, Nigeria) for payment |
| Plans and expiry | Signed-in viewers (needed to mark featured listings) | Entitlements; contract | While active, then 6 years for accounting | As above |
| Registered certificates: credential ID, name, title, date, status | Anyone verifying an ID | Verification by employers and schools; consent at registration | Until revoked or the holder asks for removal | As above |
| Payments (server): reference, plan, amount, status, dates | Admins | Accounting and tax; legal obligation | 6 years, kept after account deletion without other personal data | Paystack (processor) |
| AI messages (server proxy) | Not stored by Benchside; sent to Anthropic to answer | Tutoring the user asked for; consent. Off for under-18s | Not kept by Benchside beyond the request | Anthropic (USA); transfer basis to record |
| CPD log | The device only | The user's own record | Until the user deletes it | None |

Before launch: run a DPIA for AI tutoring and the logbook; publish the child-friendly notice; confirm the transfer basis for Anthropic, Cloudflare and Paystack.

## Study groups, friendly letters and currency (added 1 Dec 2026)

| Data | Who sees it | Purpose and lawful basis | Retention | Processor and transfer |
|---|---|---|---|---|
| Group name, weekly goal, join code (groups/{owner}) | Signed-in viewers of the page | Running a study group the user chose to start; consent | Until the owner closes it | Anthropic (artifact) or Cloudflare (server) |
| Group membership: display name, groups joined, progress counts (lessons finished, activity this week, best mock %, practical stations passed), short messages and preset encouragements | Signed-in viewers of the page | Learning together; consent by joining. No answers or personal details are shared. Under-18s can join a shared code and send preset encouragements only, never free text | Until the member leaves or deletes the account; messages capped at the latest 60 | As above |
| Letter preferences: email, frequency, consent to include a progress summary, display name, career, short progress summary | The user and admins only | Sending the friendly letters the user asked for; consent (s.25, s.26), separate from account emails | Until the user turns letters off or deletes the account | Resend (email processor) on the server; recorded consent version mail-2026-12 |
| Currency choice | The device only | Showing prices; no personal data. The default comes from the device's time zone, not location | Until changed | None |

Every letter carries the sender's postal address and a one-click unsubscribe link with List-Unsubscribe headers; letters are never sent to under-18s and the server refuses to send any letter until MAIL_ADDRESS is configured.
