Prompt lesson · 12 prompts
Data Quality Checks prompts for Clinical Data Managers
12 ready-to-use prompts from our AI for Clinical Data Managers course. Copy one, fill in the {{placeholders}}, and paste it into ChatGPT, Claude, Gemini or any other AI.
Build Data Validation Scripts
Use this when you need to automate the validation of clinical trial data to ensure accuracy, completeness, and consistency.
Role You are a clinical data automation specialist who designs robust scripts to validate clinical trial data, ensuring it meets regulatory and quality standards.
Context you provide
- {{data_source}} — where the data comes from (e.g., CSV export, database).
- {{validation_rules}} — specific criteria like acceptable ranges, required fields, or consistency checks.
- {{output_requirements}} — how results should be reported (e.g., log file, summary report).
Instructions
- Ask for {{data_source}}, {{validation_rules}}, and {{output_requirements}} if not provided.
- Write a script (e.g., in Python) that reads the data and performs checks for missing values, out-of-range entries, and inconsistencies.
- Include clear error messages that identify the record and the issue.
- Add a summary report that counts errors by type and severity.
- Suggest how to integrate the script into an existing workflow (e.g., scheduled runs).
Output format Provide the complete script with comments explaining each step, plus a brief description of how to run it and interpret the output. Use a technical but clear tone.
Guardrails
- Do not assume data structure; ask for a sample or schema.
- Avoid over-engineering; focus on the specified validation rules.
- Flag any ambiguous validation criteria before coding.
Example Data source: "clinical_trial_data.csv" with columns for patient ID, age, blood pressure, and treatment group.
Open this prompt Coding · Intermediate
Clinical Data Integrity Review
Use this when you need to review clinical trial data for inconsistencies, missing values, outliers, and cross-reference accuracy.
Role You are a data quality assurance specialist with expertise in clinical trial data integrity. You help identify and resolve issues that could compromise study validity.
Context you provide
- {{study_name}} — the name or identifier of the clinical study (e.g., "HER2-Monitor-2024")
- {{dataset_description}} — brief description of the data (e.g., "patient demographics, lab results, adverse events")
- {{source1}} and {{source2}} — optional data sources to cross-reference (e.g., "EDC system" and "lab portal")
- {{specific_concerns}} — optional known issues or areas to focus on (e.g., "missing dose dates", "outlier lab values")
Instructions
- I will provide the study name and dataset description. If cross-referencing sources are given, include them. Ask me for any missing input.
- Review the data for: (a) missing values in critical fields, (b) inconsistencies across related fields (e.g., age vs. date of birth), (c) statistical outliers, and (d) discrepancies between sources if cross-referencing.
- Flag each potential issue with the field name, value, and reason it is suspicious.
- Categorize issues by severity (critical, major, minor) and provide a resolution recommendation for each.
- Summarize with a list of the most significant integrity risks and an overall data quality score (e.g., “82% - moderate risk”).
Output format Start with a brief summary. Then a table or bullet list per issue: Field, Issue, Severity, Recommendation. End with a prioritized action plan.
Guardrails
- Do not fabricate actual data values; base findings on the data I provide. If I haven’t supplied data, state that you need the data to proceed.
- Clearly distinguish between confirmed issues and potential flags that need human verification.
- Stay within clinical data integrity scope—do not discuss statistical analysis methods unless asked.
Example Study: “CardioTrial-Phase3” | Dataset: “enrollment, vitals, lab results” | Sources: “EDC” and “CRO portal” | Specific concerns: “missing consent dates”
Open this prompt Analysis · Intermediate
Create Data Documentation for Clinical Datasets
Use this when you need to create comprehensive documentation for a clinical dataset, including data collection methods, quality checks, and adherence to standards.
Open this prompt Creating · Intermediate
Data Quality Reporting for Clinical Trials
Use this when you need to generate automated reports on data quality metrics, flag anomalies, and improve the data quality monitoring process for clinical trial datasets.
Open this prompt Creating · Intermediate
Flag Missing Or Incomplete Data
Use this when you need to audit a dataset for gaps before it's used in analysis or reporting.
Open this prompt Analysis · Intermediate
Flag Outliers In Clinical Data
Use this when you need help spotting and explaining data points that fall outside expected ranges in a clinical dataset.
Open this prompt Analysis · Intermediate
Identify Duplicate Records In A Dataset
Use this when you need to flag and resolve duplicate entries in a dataset before it's used for analysis.
Open this prompt Analysis · Intermediate
Profile A Dataset For Quality Issues
Use this when you need to surface missing values, outliers, and inconsistencies in a dataset before analysis.
Open this prompt Analysis · Intermediate
Reconcile Data Across Two Sources
Use this when you need to compare records from two systems and surface inconsistencies that need investigation.
Open this prompt Analysis · Intermediate
Standardize And Clean A Dataset
Use this when you need to find duplicates, inconsistent formatting, or errors in a dataset before analysis.
Open this prompt Analysis · Intermediate
Standardize Clinical Data Formats
Use this when you need to convert inconsistent dates, units, or dosage values in a dataset to one consistent format.
Open this prompt Analysis · Intermediate
Validate A Dataset For Accuracy
Use this when you need to check a dataset (or two datasets against each other) for missing values, duplicates, outliers, or mismatches before it's used downstream.
Open this prompt Analysis · Intermediate