initial commit

This commit is contained in:
Andrew Charlwood
2026-05-12 16:40:03 +01:00
commit 647d1bfa7f
38 changed files with 2715 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
# Copied Reference Queries
These files were copied from the working `Snowflake-Queries` repo because they were already explicitly template-like.
Use these as reference examples, not as the first place to start a new query. Several contain historic assumptions such as Norfolk and Waveney geography, hardcoded SNOMED codes, or notes that were current when the original work was done.
For new work, start from the cleaned templates in the numbered folders at the repo root.
## Contents
- `medicine_lookup_checks/`: original short checks for prescribing or dispensing by VTM or VMP.
- `pqs_long_format/`: original PQS long-format and rolling-period templates.
- `useful_short_queries/`: original compact lookup, freshness, price/unit, and practice-list queries.
The original `CheckPrescribingByPseudo.sql` file was deliberately not copied because it contains a hardcoded patient pseudonym.