CPCSSN Data Quality: An Opportunity for Enhancing Canadian Primary Care Data
Bibliographic record
Abstract
Context: Building a source for pan-Canadian EMR data, which has a complex and geographically varied healthcare system, is challenging. For more than a decade, the Canadian Primary Care Sentinel Surveillance Network (CPCSSN) has been working to develop and standardize primary care data to ensure it is sufficient quality to be a valuable source for clinicians, researchers, and policy makers. A data quality (DQ) framework was developed to evaluate the CPCSSN database. Objective: to assess two DQ dimensions (1) accuracy and reliability; and (2) comparability and coherence, using evidence-based indicators. Study Design and Analysis: Three indicators were used: (a) element presence-the completeness of common data elements expected to be present or ‘not null’; (b) data source agreement-how information derived from CPCSSN compared to other sources of information; and (c) data across jurisdictions and sources- the prevalence of common data elements across sites, EMR type and province. We used data that included records up until June 30, 2022. Outcome measure: (a) % present of common data elements within the database; (b) prevalence of common chronic diseases; and (c) prevalence of common ICD-9 codes, medication codes and lab codes. Results: Coded fields within CPCSSN are ≥93% complete for demographic elements. Diagnostic data is highly present in uncoded fields (<6% null) but shows some missingness in coded fields (~75% present). Medication and lab names are well captured (> 99% present) but medication specifications (ex. duration, frequency) need standardization. The prevalence of common chronic diseases estimated using CPCSSN data are reasonable and comparable to estimates from administrative and survey data. Comparing common diagnostic, medication, and lab codes across site, EMR type and province shows that there is a great degree of variation in the use of these common codes at each site, which is influenced by EMR type and province. Conclusions: The CPCSSN database has reasonable DQ in terms of accuracy and reliability, and comparability and coherence when it is used for epidemiological research. The indicators highlight the extensive work CPCSSN has done to create coded, standardized information. We recommend CPCSSN operations continues to develop cleaning and processing tools to reduce missingness in coded fields. It is recommended that users request identification of site, EMR and province so that clustering can be accounted for in the analysis.
Fetched live from OpenAlex and de-inverted. Abstracts are not stored in this database: the inverted indexes are 8.6 GB of the frame’s 9.3 GB of text, and the host has 13 GB free.
How this classification was reachedexpand
Full frame machine prediction
Teacher imitationNot calibrated prevalence, not ground truth. Human validation pending. The Gemma side is a direct model label for every work in the frame, read from the title-only record. The Codex side is a classifier learned from the 10,348 direct Codex labels and calibrated to design-weighted sample rates; fields without enough sample support carry no Codex call. Candidate is the union of the two sides; consensus is their intersection. These outputs are machine_predicted_unvalidated and are not human labels.
Distilled classifier scores by category (both heads)
| Category | Codex | Gemma |
|---|---|---|
| Metaresearch | 0.419 | 0.638 |
| Meta-epidemiology (narrow) | 0.001 | 0.002 |
| Meta-epidemiology (broad) | 0.003 | 0.003 |
| Bibliometrics | 0.019 | 0.029 |
| Science and technology studies | 0.010 | 0.009 |
| Scholarly communication | 0.023 | 0.013 |
| Open science | 0.012 | 0.024 |
| Research integrity | 0.003 | 0.006 |
| Insufficient payload (model declined to judge) | 0.008 | 0.001 |
Machine scores (provisional)
The two teacher heads of the student model, read on this work. A score orders the frame for review; it never asserts a category, and the validation status ships verbatim with every row.
Baseline scores from an immature model (maturity gate not passed, 7 training rounds). Scores rank; they never assert a category.
score_only:v0-immature-baseline · verbatim from the scoring run: score_only means the number may rank works, and no category label ships from itClassification
machine, unvalidatedMachine predicted; a candidate call from one source (direct Gemma or distilled Codex), not a consensus.
How this classification was reached, model by model and score by score, is at the end of the page under "How this classification was reached".