Real-world evidence study artifacts

The artifacts an RWE study pins in CuRE — protocol design, sealed dataset snapshot, index cohort and attrition, data-quality reading, analysis dataset spec — and copyable templates for the protocol, cohort, analysis dataset spec, and assistant question.

A real-world evidence study in CuRE is five pinned artifacts and one question. This page describes each artifact, where it lives, what a correct one contains, and the copyable template that ships with it. It is a reference: it says what the system holds and what it guarantees.

The artifact chain

Each artifact binds the next. A number in the analysis is only reproducible when every link in the chain is pinned, and a break anywhere in it is what makes two analyses disagree.

  1. Protocol design — the causal question, population, strategies, estimand and diagnostics, approved in CuRE Control, the platform’s administration app.

  2. Sealed analysis dataset — an immutable snapshot of the OMOP CDM (the Observational Medical Outcomes Partnership common data model) that computation reads instead of live tables.

  3. Index cohort and attrition — the people at time zero, with one waterfall step per inclusion or exclusion rule.

  4. Data-quality reading — the data-quality scores by Kahn category and the latest Data Quality Dashboard run, recorded with the analysis.

  5. Analysis dataset spec — the pinned definition of every column the outputs depend on.

  6. The first question — what the assistant is asked, and what it may stage for review.

Protocol design (Control)

The protocol is the scientific record, and it is authored in Control, not in the analysis tool. Its structured content carries the target trial design: treatment strategies, the assignment procedure, time zero, the grace period, follow-up rules, outcomes, the intercurrent-event policy, the estimator strategy and the required diagnostics.

  • Where it lives: the study in Control, in the protocol authoring surface, attached to the protocol version rather than to a separate document.

  • What pins it: approval is an e-signed action by an authenticated human signer. It validates the design for completeness, mints an immutable design version and its hash, and emits the approved protocol to the apps downstream. The audit trail keeps who signed, when, and the reason; an approved design is never edited, only superseded by a new version.

  • Who may change it: only Control. Calculate compiles the approved design and never authors it, so a design change is always a protocol amendment with a new version.

  • Template: structured protocol (observational) — a complete observational protocol with an embedded target trial design.

Sealed analysis dataset (Conduct and Calculate)

Analysis reads a snapshot, not whatever the source tables contain now. That is what makes a cohort count reproducible: a count is meaningless if the rows under it changed between the run and the export. The dataset lives in CuRE Conduct, the app that holds a study’s source data and its OMOP mapping; an enclave in CuRE Calculate is the compute environment bound to one of those datasets.

  • In Conduct: a dataset records the CDM and vocabulary versions and its domain coverage, computed from the data rather than estimated. The dataset’s lineage lists what has left it: de-identified releases, synthetic releases, and enclave snapshots, each materialized at a point in time.

  • In Calculate: an enclave is bound to a Conduct dataset. On Calculate’s Enclaves page, each enclave row carries the dataset state and a Latest snapshot column — the first 12 characters of the dataset snapshot’s fingerprint, with the full fingerprint in the cell’s tooltip.

  • The seal is the snapshot hash. Record it with the analysis. Two runs of the same cohort definition against different snapshot hashes are two different analyses.

Index cohort and attrition (Calculate)

The index cohort is the population at time zero. In an active-comparator study it is usually new users of any study drug, with the treatment strategies separating the arms afterwards.

  • Definition: an index block defines the qualifying event, inclusion blocks apply age and prior enrolment, and exclusion blocks remove prior outcomes or prior study-drug use. Use concept sets rather than inline concept lists: only a concept set gives the cohort a named definition and version to point at, and an inline concept list — still supported — produces no lineage.

  • Count: the number comes from Conduct’s evaluation of the cohort over the dataset. Calculate shows no number when Conduct cannot count it, because the count of a different cohort is worse than no count.

  • Attrition: one row per inclusion or exclusion step, with the people remaining and the change from the previous step. The waterfall shows how each rule cuts the population: an unexplained drop is normally a window off by a day or a concept set that is too narrow.

  • Version: saving mints a stable cohort definition and version. Method runs, dataset specs and briefings point at that version, not at a hand-rebuilt query.

  • Export: the STROBE-style attrition export is small-cell suppressed: a cell that would disclose too few people is suppressed rather than rounded. That is a property of the output, not a defect to work around.

  • Template: Circe cohort expression — a stock Circe document (the format ATLAS imports and exports) with an index drug-exposure criterion and two inclusion rules, each of which becomes one attrition step.

Data-quality reading (Calculate)

A cohort can be perfectly specified and still be uninterpretable if the data under it is incomplete, non-conformant or implausible. The reading is an artifact of the study, recorded next to the results.

  • What it shows: one row per Kahn category — completeness, conformance, plausibility, uniqueness — scored against the organization’s thresholds, with the failing checks behind each score and the trend over time.

  • The conformance run: the latest OHDSI Data Quality Dashboard run is shown alongside. A failing check names the table or field to look at; a check that is not applicable is not a pass.

  • Record it: which categories passed, which did not, and at what threshold. A reader of the result cannot recover that from the numbers, and re-cutting the cohort does not fix a dataset-level failure.

Analysis dataset spec

The spec is what turns a query into an analysis dataset. It is authored in CuRE Conduct, on the analysis datasets screen, and publishing one needs a second person to approve and sign it in the Rules Library. It pins the cohort and its expression, the concept-set bindings and windows, the baseline covariates, the follow-up and censoring rules, the outcomes and the output formats, so a reviewer can rebuild the table without reading code.

  • Fails closed: a criterion, covariate, outcome or follow-up rule that names a binding or window the document does not define is refused at parse time, as is a duplicated binding, window or variable name. An ambiguous lookup would silently pick one.

  • Release artifact: the output must include Dataset-JSON, the canonical release format; parquet is a derived copy.

  • Template: analysis dataset spec — a complete authored spec for the new-user active-comparator, time-to-event shape.

The first question (assistant)

After the protocol, snapshot, cohort version, and data-quality reading exist, the assistant — Calculate’s built-in assistant, reachable from every Calculate page — can take the mechanical first pass. If the query assistant is not enabled for your organization, your organization administrator can enable it.

  • It can: find concepts in the vocabulary, draft a private cohort definition, choose an analysis template, and draft a narrative briefing.

  • It cannot: approve, sign, lock or publish a record. Everything it produces is staged for a person to review.

  • An answerable question names the population, the index date, the outcome and the contrast. The assistant works from the words of the question alone: it does not read your pinned cohort, its version, the analysis dataset or the enclave snapshot, even when the question names them. Name them anyway, and check its drafts against them.

  • Template: assistant question sheet — the fill-in form, worked good-versus-poor questions, and a table of questions that belong in another app.

Templates

Four copyable files ship with this reference: three structured JSON files and one Markdown question sheet. Each structured file is checked against the parser that consumes it before it is published.

Placeholders and cautions

  • Every identifier in a template is a placeholder. Concept-set content hashes, spec ids and design ids are formatting placeholders, not pins to a published artifact. Copy the real values from the published concept-set versions and the approved protocol before running anything.

  • A template is a shape, not a decision. The eligibility criteria, windows and estimand are a worked example on a public-domain study design. The protocol decides those, and changing them after approval is an amendment.

  • The structured templates are validated, not merely stored. The three JSON files are parsed by the contract that consumes them: the structured protocol by the structured-protocol parser, the cohort by the Circe cohort grammar, the dataset spec by the analysis-dataset schema. A template that stops loading is caught before a reader copies it.

From here, follow the chain in order: approve the protocol in CuRE Control, seal a dataset and author the analysis dataset spec in CuRE Conduct, then pin the cohort and ask the first question in Calculate. Start a real-world evidence analysis walks those Calculate steps.