commvita
Connected care platform
Chargeable Medicals

Producing a medical certificate — motorsport, HGV & firearms

One governed report → sign → invoice loop for a chargeable medical — a Motorsport UK race licence medical, a DVLA D4 HGV/bus (Group 2) medical, or a firearms medical-suitability review — where the assessment is recorded, the certificate is signed with a per-ceremony OTP and cited to the right jurisdiction, a draft Private Patient Charges invoice is raised automatically, and every step lands on an immutable, tamper-evident chain.

Live vs demonstrated: Live — real, API-backed platform logic (wired end-to-end today) Demonstrated — representative control surface with seeded data / illustrative UI mock-up

Three chargeable certificate types

commvita ships a template set of GP chargeable medicals flagged chargeablefirearms · DVLA D4 HGV · Motorsport UK · taxi · fitness-to-drive · fitness-to-fly · insurance. Three are shown here; all run the same signed, invoiced loop.

Motorsport UK medical

Competition race / rally licence — driver fitness

The examining doctor captures the Motorsport UK medical requirements (vision, cardiovascular, neurological history) and produces the licence certificate. A chargeable template — a private fee applies.

Where in commvita /esign template Motorsport UK · fee via /private-charges.

DVLA D4 (HGV/bus)

Group 2 entitlement — LGV / PCV drivers

The examination is captured against DVLA D4 Group 2 medical standards (vision fields, diabetes, cardiac, neurological). The signed D4 certificate is issued and cited to the deployment jurisdiction.

Where in commvita /esign template DVLA D4 HGV · fee via /private-charges.

Firearms medical-suitability

Shotgun / firearm certificate — GP report

A dedicated mental-health-first review wizard surfaces recorded information, records the clinician's decision on an append-only decision log, and transmits a minimum-necessary proforma to the licensing authority.

Where in commvita /firearms-certification wizard → sign via /esign → fee /private-charges.
Non-SaMD by design. commvita surfaces recorded data and records the clinician's decision — it does not decide clinical suitability (the doctor's judgement) or adjudicate the licence (the authority). The firearms review is blocked (409) until every information domain has been reviewed, and its decision log is append-only.

1 Request raised — the patient is bound by record

A chargeable-medical request can start from three places — but the patient is always bound by stable record id, never re-keyed by name.

a

From the patient portal

The patient taps a "Firearms medical certificate" request card in the portal; POST /portal/firearms-request creates a portal-initiated assessment the practice picks up. Other chargeable medicals are requested the same way.

/portalPOST /portal/firearms-request
b

From a GP consultation (firearms)

A "🔫 Firearms review" clinical prompt in PreConsultSummary deep-links the wizard pre-filled with the patient — so the clinician moves straight from the consultation into the review.

ConsultationWizard · PreConsultSummary/firearms-certification?patientId=…
c

Created directly in commvita Sign

Staff pick a chargeable template (Firearms / DVLA D4 HGV / Motorsport UK), add the patient signer via the canonical PatientPicker — bound by record id, shown in red — and set the jurisdiction.

/esign · New RequestPatientPicker · username=patient:{id}
commvita Sign / New request / Chargeable medical care_coordinator
Firearms chargeableGP medical-suitability report
DVLA D4 HGVGroup 2 medical
Motorsport UKRace licence medical
Patient signer patient
Harold Beaumont · bound by record · patient:9000000008
Added via PatientPicker smart-lookup — resolved to a real record, not typed free-text.
England — police · UK eIDAS (AdES)
Sequential · 1 signer
Send for signing Save draft
Representative UI — illustrative

2 Review & assessment

The assessment is captured against the relevant standard before anything is signed — and for firearms, the review is mental-health-first with mandatory per-domain acknowledgement.

Firearms — recorded-information review, mental-health-first

Step 2 of the wizard surfaces recorded information across six domains — mental health · alcohol & substance · trigger conditions · safeguarding · physical · previous concerns — each finding flagged concern / no-concern, with a mandatory acknowledgement per domain. SNOMED trigger-refset bound at build.

/firearms-certification · Review stepSNOMED CT UK trigger refset

DVLA D4 / Motorsport — medical-standards examination

For a D4, the Group 2 medical standards (vision, diabetes, cardiac, neurological) are captured; for Motorsport UK, the competition medical requirements. The completed examination underpins the certificate.

DVLA D4 Group 2 standardsMotorsport UK medical requirements

Minimum-necessary — no general record dump

For firearms, transmission to the authority is a minimum-necessary proforma (…/transmit-proforma) — an exact field list with a SHA-256 payload hash recorded to the decision log — never general record access.

POST /firearms/…/transmit-proformaHome Office/NPCC/BMA MoU 2019

3 Decision & report

The clinician records the decision and a mandatory rationale. The firearms decision log is append-only and cannot proceed until every domain is reviewed.

Decision selector + mandatory rationale

Firearms decisions are one of support · support-with-concerns · decline-to-certify · information-only, each with a mandatory rationale. The step is blocked (409) until every information domain has been reviewed.

/firearms/…/decision409 until all domains reviewed

Append-only, globally hash-chained decision log

The decision log is append-only and GLOBALLY SHA-256 hash-chained (prev_hash → row_hash, global monotonic seq), re-verified server-side on every read — built to evidence how a decision was made.

FirearmsDecisionLogprev_hash → row_hash · seq

Jurisdiction routing of the report

Where the certificate goes is config-driven: England/Wales/Scotland → police; NI → PSNI; Crown Dependencies → their local designated authority (parish / administrative, not always police); Gibraltar → administrative GP-input.

_FIREARMS_JURISDICTIONSFirearms Act 1968 + guidance 2021/2022
Firearms review / Step 3 / Decision Dr A. Rahman · clinician
Harold Beaumont
DOB 17 Sep 1949 · 76y · Male
NHS No 900 000 0008
England · police
Recorded-information domains — all reviewed & acknowledged
Mental healthno concern
Alcohol & substanceno concern
Trigger conditionsconcern flagged
Safeguardingno concern
Physicalno concern
Previous concernsno concern
Support with concerns
Support
Decline to certify
Information only
Recorded trigger condition noted and discussed; no current risk indicators. Supporting with concern flagged to the authority for their determination.
Decision log — chain verified · SHA-256 prev_hash → row_hash · global seq · append-only, re-verified on read. all domains reviewed
Record decision & continue to sign
Representative UI — illustrative

4 Sign — OTP ceremony, jurisdiction certificate

commvita Sign is the platform e-signature service. The signature is bound cryptographically to the document, and the certificate cites the deployment's jurisdiction.

Per-ceremony OTP signing

Signing is a per-ceremony OTP plus a signature hash bound to the document hash (client-side SHA-256). Each signer is one of patient / staff / external — here the patient, bound by record id.

/esign · send-otp · signSignRequest · SignSigner

Jurisdiction-specific certificate

The request carries a jurisdiction; the issued certificate cites that jurisdiction's statute / assurance level / regulator / retention — England/Wales/Scotland/NI under UK eIDAS (AdES); Crown Dependencies under their electronic transactions law; and so on.

_ESIGN_JURISDICTIONSUK eIDAS AdES

5 Invoice — the loop closes automatically

Completing a chargeable-template signature auto-raises the invoice — the report → sign → invoice loop, wired end-to-end.

Draft Private Patient Charges invoice, auto-raised

_esign_raise_invoice raises a draft Private Patient Charges invoiceBMA PrivateFeeItem fee preferred, template fallback fee otherwise — with VAT applied. The invoice_ref is linked back to the request/certificate.

/private-charges_esign_raise_invoice · invoice_ref

Surfaced & audited

The invoice is surfaced in the ceremony success state and the Sign registry; invoice_raised is written to the WORM audit. Debtors and finance reporting then run in Private Patient Charges.

invoice_raised → WORM audit/private · debtors · finance
commvita Sign / Signing complete Harold Beaumont · patient
Signed — certificate issued · OTP ceremony verified · signature hash bound to document hash. complete
Certificate
Firearms medical-suitability report
England · UK eIDAS (AdES)
Cites statute · assurance level · regulator · retention for the jurisdiction.
Audit
WORM chain updated
invoice_raised logged
prev_hash → row_hash re-verified on read.
🧾 Draft invoice auto-raised · Private Patient Charges draft · INV-2026-0418
Firearms medical report — BMA PrivateFeeItem£120.00
VAT @ 20%£24.00
Total due£144.00
invoice_ref INV-2026-0418 linked to the signature request & certificate.
Representative UI — illustrative

6 Evidence — everything on the immutable chain

Request, review, decision, signature and invoice all land on append-only, tamper-evident logs — nothing can be quietly rewritten.

Immutable by construction. Both the commvita Sign Audit Chain and the Firearms decision log are append-only and SHA-256 hash-chained (prev_hash → row_hash), re-verified server-side on every read — a broken link shows a tamper banner. There is no update or delete endpoint. For firearms, the minimum-necessary proforma transmission records an exact field list and a SHA-256 payload hash to the decision log — evidencing exactly what was shared with the authority, and no more.

Where it lives in commvita

Request raised Review & decision Sign — OTP + certificate Auto-invoice (BMA + VAT) Immutable evidence chain
Step in the loopModuleRouteModel / APIStandardStatus
Request — patient portal cardPatient Portal · Firearms/portalPOST /portal/firearms-requestFirearms Act 1968 + guidance 2021/22◍ Demonstrated
Request — consultation promptConsultationWizard · PreConsultSummary/firearms-certification?patientId=…deep-link, pre-filled patientSNOMED CT UK◍ Demonstrated
Request — created in Signcommvita Sign · New Request/esignSignRequest · SignSigner · PatientPickerUK eIDAS (AdES)● Live
Firearms review & decision logFirearms Certificate Management/firearms-certificationFirearmsAssessment · FirearmsDecisionLog · /firearms/…/decisionHome Office/NPCC/BMA MoU 2019● Live
Minimum-necessary proformaFirearms Certificate Management/firearms-certificationPOST /firearms/…/transmit-proforma · SHA-256 payload hashFirearms Act 1968 · SNOMED CT UK● Live
Sign — OTP ceremony & certificatecommvita Sign/esign/esign/send-otp · sign · certificate · jurisdictionUK eIDAS (AdES) · Crown Dependency electronic transactions law● Live
Auto-invoice (report → sign → invoice)Private Patient Charges/private-charges_esign_raise_invoice · /private · invoice_ref · VATBMA fee guidance · DVLA D4 · Motorsport UK● Live
Immutable evidence (Sign chain + decision log)commvita Sign · Firearms/esign · /firearms-certificationSignAuditEvent · WORM · prev_hash → row_hashWORM · UK GDPR Art.5(1)(f)● Live
Registry surfacing (invoice / cert chips)commvita Sign · Registry/esignregistry chips · ceremony successUK eIDAS (AdES)◍ Demonstrated
© 2026 Commvita Digital Health Solutions Ltd. All rights reserved. BMA fee guidanceDVLA D4 medical standards (Group 2)Motorsport UK medical requirements Firearms Act 1968 + statutory guidance 2021/2022Home Office/NPCC/BMA MoU 2019 UK eIDAS (AdES) · Crown Dependency electronic transactions lawSNOMED CT UK Non-SaMD