一键导入
nhs-synthetic-data
Use when generating synthetic NHS test data including NHS numbers, patient names, SNOMED codes, and seed scripts for development and demos.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when generating synthetic NHS test data including NHS numbers, patient names, SNOMED codes, and seed scripts for development and demos.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when deploying an NHS Python/FastAPI service to Azure using Terraform, or configuring App Service, Key Vault, or Application Insights.
Use when generating a clinical safety hazard log, clinical risk matrix, or DCB0129 Clinical Safety Case Report for an NHS digital health service.
Use when scaffolding or building an NHS service with the FastAPI + React + Azure stack. Contains project structure, scaffold steps, and deployment commands.
Use when assessing a feature or PR against the GDS Service Standard 14 points, or producing NHS Alpha service assessment evidence.
Use when documenting architectural decisions for an NHS digital service using the ADR format, or when reviewing technology choices for GDS assessment evidence.
Use when drafting a Data Protection Impact Assessment (DPIA) for an NHS service that processes health data under UK GDPR.
| name | nhs-synthetic-data |
| description | Use when generating synthetic NHS test data including NHS numbers, patient names, SNOMED codes, and seed scripts for development and demos. |
This skill generates realistic but entirely synthetic test data for NHS digital services. Real patient data must never be used in development, testing, or demos — this is a UK GDPR and NHS policy requirement.
NHS numbers are 10 digits with a Modulus 11 check digit. The algorithm:
Implement generate, format (3-3-4 with spaces), and validate functions in the backend language from tech-stack.instructions.md.
These numbers pass the Modulus 11 check and are designated for testing:
| NHS Number | Formatted | Use Case |
|---|---|---|
| 9434765919 | 943 476 5919 | Default test patient |
| 9000000009 | 900 000 0009 | Boundary test |
| 9111111124 | 911 111 1124 | Second test patient |
| 9222222228 | 922 222 2228 | Third test patient |
| 9876543210 | 987 654 3210 | Demo presentations |
Use these synthetic personas consistently across the service:
| NHS Number | Given Name | Family Name | DOB | Postcode | GP Surgery | Gender |
|---|---|---|---|---|---|---|
| 943 476 5919 | Sarah | Thompson | 1991-03-15 | LS1 4AP | Kirkstall Health Centre | female |
| 911 111 1124 | James | Wilson | 1954-08-22 | M1 2WD | Manchester Medical Practice | male |
| 922 222 2228 | Priya | Patel | 1985-11-30 | B1 1BB | City Centre Surgery | female |
| 987 654 3210 | David | Roberts | 1968-06-10 | SW1A 1AA | Westminster Health Practice | male |
| 900 000 0009 | Fatima | Khan | 2000-01-25 | LS2 9JT | University Health Service | female |
| Patient NHS Number | Date | Time | Type | Clinician | Location | Status |
|---|---|---|---|---|---|---|
| 943 476 5919 | 2026-03-15 | 09:30 | GP appointment | Dr. Ahmed | Kirkstall Health Centre | booked |
| 943 476 5919 | 2026-03-22 | 14:00 | Blood test | Nurse Williams | Kirkstall Health Centre | booked |
| 911 111 1124 | 2026-03-10 | 10:15 | Annual health check | Dr. Chen | Manchester Medical Practice | completed |
Use real SNOMED CT concept IDs with synthetic patient associations:
| SNOMED Code | Display Term | Common Use |
|---|---|---|
| 38341003 | High blood pressure (hypertension) | Long-term condition |
| 73211009 | Diabetes mellitus (diabetes) | Long-term condition |
| 195967001 | Asthma | Long-term condition |
| 386661006 | Fever | Symptom |
| 25064002 | Headache | Symptom |
| 267036007 | Shortness of breath | Symptom |
| 182531007 | Paracetamol (medication) | Prescription |
| 318475005 | Amoxicillin (medication) | Prescription |
Create test fixtures from the patient and appointment data above, using the test framework from tech-stack.instructions.md. Provide both single-patient and all-patients fixtures for unit and integration tests respectively.
943 476 5919