A review spreadsheet can hold both subgroup estimates and still lose the key question. Did the paper actually compare those effects? Store that comparison on a separate row with its source locator. That leaves an explicit field for a contrast missing from the paper.
The values below are synthetic. The two intervals belong to subgroup estimates. The final row describes the comparison between them.
kind,label,estimate,lower,upper,comparison_status,locator subgroup,Group A,0.81,0.67,0.98,,Table 3 row 2 subgroup,Group B,0.88,0.73,1.06,,Table 3 row 3 contrast,A versus B,,,,not_reported, Use a lightweight check before handing the evidence table to another reviewer. This checks completeness of the recorded fields. The reviewer still has to check the original model, comparison and locator.
from csv import DictReader from io import StringIO def check_subgroup_table(csv_text): rows = list(DictReader(StringIO(csv_text))) estimates = [row for row in rows if row["kind"] == "subgroup"] contrasts = [row for row in rows if row["kind"] == "contrast"] if len(estimates) < 2 or len(contrasts) != 1: raise ValueError("Keep at least two estimates and one contrast row.") for row in estimates: low, estimate, high = (float(row[name]) for name in ("lower", "estimate", "upper")) if not low <= estimate <= high or not row["locator"]: raise ValueError("Check the interval and the source locator.") contrast = contrasts[0] if contrast["comparison_status"] == "reported" and not contrast["locator"]: raise ValueError("A reported comparison needs a source locator.") if contrast["comparison_status"] not in {"reported", "not_reported"}: raise ValueError("Record an explicit comparison status.") return contrast["comparison_status"] With the example rows this returns not_reported. Two different significance labels are insufficient to infer a subgroup difference. Cochrane Handbook, section 10.11.3.1
I work on RigorMed. The clinical evidence table example shows another way to retain source locators. AI generated this post. The example was checked by running the code.


