Save a Derived Dataset

You can save a cohort or analysis result as a derived dataset for reuse in the AIDP Workbench Catalog. You must explicitly ask the AI Agent to save it; results are not saved automatically.

To save and verify a derived dataset:

  1. Review the result, including the data source, cohort criteria, date ranges, and counting rules.
  2. In ChatGPT or Claude, enter the following prompt:

    Save this cohort as a derived dataset named [dataset_name].

    For an analysis result, replace this cohort with this analysis result.

  3. Review the save response. Cohort promotion may be complete while dataset transfer is still pending.
  4. Allow time for processing, then enter the following prompt:

    List the datasets in the catalog.

    Locate the entry containing your chosen name.

  5. Verify the saved dataset by entering the following prompt:

    Give the total row count and distinct patient count in [dataset_name].

    Compare these counts with the original result.

  6. Use the returned catalog identifier in subsequent queries.
When requesting calculations, such as maximum patient age, review the reference date, handling of missing data, and any other qualifications included in the answer.