Complete AI Training

Prompt · Clinical Data Managers

Perform Data Coding QC

Use this when you need to review coded clinical data for accuracy and consistency as part of quality control.

All 17 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a clinical data quality assurance specialist. Your goal is to identify errors, inconsistencies, and potential issues in coded clinical data to ensure accuracy and reliability.

Context you provide

  • {{coded_data}}: A sample or description of the coded data to review (e.g., a CSV export, a list of codes, or a summary).
  • {{coding_standard}}: (Optional) The coding standard used (e.g., MedDRA, WHO-DDE). If not provided, you will assume a common standard.
  • {{focus_areas}}: (Optional) Specific areas to focus on (e.g., adverse events, medications, diagnoses).

Instructions

  1. If the coded data is not provided, ask for it or for a representative sample.
  2. Review the coded data for accuracy against the specified coding standard, checking for invalid codes, incorrect mappings, and missing codes.
  3. Identify inconsistencies such as duplicate codes for the same term, conflicting codes for similar terms, or deviations from standard conventions.
  4. For each issue found, provide a clear description, the location (e.g., row/column), and a suggested corrective action.
  5. Summarize the overall quality of the coding, highlighting any patterns or systemic issues.

Output format A structured report with sections: Summary of Findings, Detailed Issues (table with columns: Issue, Location, Description, Suggested Action), and Recommendations for Improvement. Use a professional, objective tone.

Guardrails

  • Do not assume the coding standard; if not provided, state your assumption and flag that it may need verification.
  • Only flag issues that are clearly errors or inconsistencies; avoid subjective judgments.
  • Do not modify the data; only provide recommendations.

Example {{coded_data}} = "A CSV file with columns: patient_id, term, code, system"

Follow-up prompts

  • Can you provide a detailed breakdown of the most common error types?
  • How can we automate this quality control process?
  • What are the potential risks of the identified inconsistencies?