Extract design attributes from a protocol or SAP into a summary table
AI pulls design, population, comparator and sample size from long protocol documents into a table with quoted evidence. One small published test found good extraction but some errors.
Reported in literatureMedium risk
Evidence
Reported in literature. Shin et al. 2025 (Clin Pharmacol Ther) tested GPT-4o in ChatGPT on 15 registered trial protocols: disease, intervention and comparator correct in all 15, sample size in 14. Other errors: one trial phase not identified. Overall correctness 95% against protocols, 80% against ClinicalTrials.gov. Graded by one author; the quote requirement here was not tested.
Steps
- Paste the relevant protocol or SAP sections.
- Run the extraction prompt with a quote requirement.
- Check each row against the quoted text.
- Resolve planned versus actual values.
- Record the document version used.
Prompt
This is the prompt, typed out. No assistant reply is shown.
You
Extract the following into a table: disease, intervention, comparator, design (blinding, randomization, parallel/crossover), planned sample size, primary endpoint, key analysis sets, test sidedness. For each row quote the exact source sentence and its section number. If a value is not stated write NOT STATED. Do not combine values from different versions.
Rules: use ONLY the input below. Tag anything the input does not state as OPEN QUESTION. Never invent numbers; use placeholders such as xx. Do not claim anything is verified.
INPUT:
[paste input here]
Verify before you use it
- Each value matches its quoted sentence.
- Planned and actual enrollment are not mixed.
- Document version is the current one.
- Test sidedness is stated, not assumed.
- NOT STATED rows are checked against the full document.
How it fails
Right-looking values drawn from an outdated version, or planned and actual numbers mixed.
Data rule: No confidential protocols or SAPs under NDA or in-house; check your employer's policy. Use ClinicalTrials.gov attachments.