Skill — veripath-pharmacy
Mirror of ~/.hermes/skills/veripath/veripath-pharmacy/SKILL.md. Edit then tell OpenCode to apply.
| Key | Value |
|---|---|
| name | veripath-pharmacy |
| description | Practitioner-level pharmacy domain knowledge for analysing, assessing, and documenting the VeriPath Pharmacy App — clinical workflows, GPhC compliance, Responsible Pharmacist duties, NHS EPS (FHIR) integration, Controlled Drugs registries, OTC point of sale, and retail accounting. Load whenever reviewing, documenting, demoing, or mocking the pharmacy app, reviewing OpenCode's pharmacy implementation outcomes, or drafting pharmacy policy/GPhC/DSPT content. |
| version | 1.0.0 |
| author | Hermes Agent |
| license | MIT |
| platforms | [linux] |
| metadata | hermes |
| tags | [veripath, pharmacy, clinical, domain-knowledge, eps, fhir, gphc, ods, nhs-notify, counter-pos, stripe-terminal, erpnext, dspt] |
| category | veripath |
| related_skills | [pharmacy-app-guides, veripath-docs, veripath-wiki-assets] |
VeriPath Pharmacy — Practitioner Lens for the Pharmacy App
Purpose: equip Hermes to analyse and assess the VeriPath Pharmacy App as if a practitioner — NOT to give clinical or medical advice. The app exists to assist independent pharmacy operations (dispensing, retail inventory, compliance tracking) so staff can focus on clinical judgement and patient care. This skill supplies the domain knowledge to judge whether features match real-world UK pharmacy reality, to document them accurately, and to produce realistic (synthetic) data models.
What this skill is / is not:
The assessment lens (apply to every pharmacy feature/model/screen):
Which real-world operational task does this assist? (onboarding → login duty → spine polling → assembly → check → sync stock → payment → hand over)
Does it match how an independent practice actually works — terminology, sequence, legal roles?
Who uses it at the counter or dispensary? (Responsible Pharmacist / Technician / Counter Assistant / Business Manager) — does the UI + Keycloak permissions match that?
Are the clinical and business terms correct? (GPhC, ODS code, FHIR bundles, SNOMED CT, FEFO picking, zero-rated tax, NHSBSA endorsement...)
Is the claimed value actually implemented? Verify against the repository codebase (/root/work/gp_booking_app/); publish a holding note if the feature is absent — never document aspirational behaviour.
Data safety: Dummy data only, no PII, stateless central routing, strict SIAAS validation down SSH tunnels to client-owned instances.
Pharmacy Onboarding & Identity Governance
*.accounts.veripath.co.uk infrastructure. Central database tier (PharmacySectorConfig) records only ODS codes, GPhC premises numbers, Keycloak configurations, and remote SSH port bindings.aes-portal (Port 8004). Enforces a maximum rule of one active RP on duty per physical location site.https://national.nhs.uk) must be parsed instantly in-memory on VPS2 and piped into the client's database via the designated db_alias. Residual patient records or medical list text strings must never touch local storage on the central gateway.CLAIMED (Locked from Spine) → ASSEMBLED (Medication packaged on shelf) → DISPENSED (Handed to patient) → ENDORSED (Sent to NHSBSA for reimbursement).clinical_data schema on the client-owned VPS using application-level Fernet symmetric keys.LocalPrescriptionToken triggers an automatic background entry within the customer's shared ERPNext database tier on VPS3.tabBatch tables to force First-Expiry, First-Out item consumption. Blocks any transactions involving lots where the current system date exceeds the registered product shelf-life.Stock Entry rows (Material Issue format) and adjusts live availability metrics inside tabBin for the pharmacy's retail shop counter.tabStock Entry Detail).Realistic dummy data conventions (no PII)
4000000001) with an added explicit disclaimer label noting it as a "synthetic test number."FX123).324314004 for Amoxicillin 500mg capsules) and plausible dosage instructions.Applying this to VeriPath deliverables
rp_active_duty, access_pos_terminal) before modifying backend logic.