Assistant cohort to dataset to De-Identification
This scenario demonstrates how to create a patient cohort with the Assistant, prepare a document-based dataset from that cohort, run de-identification on clinical documents, review detected sensitive information, and download reviewed text outputs where enabled.
Best for: privacy-first document preparation.
Step 1: Use the Assistant to create a cohort for sharing or demo preparation
- In the left navigation, go to Agents and Tools > Assistant.
- Ask a cohort-building question based on the target sharing or demo population, for example: "Find patients with oncology notes from the last year."
- Review the Assistant response, including the interpreted criteria and returned patient population.
- If the patient population looks appropriate, click Create Cohort to begin cohort creation.
- In the Advanced Filtering panel on the right side of the screen, apply additional filters if needed, such as diagnosis, document type, date range, provider, visit type, or demographic criteria.
- Click Next to continue to Patient Management.
- Review the patient list and exclude any patients that should not be included in the sharing or demo cohort.
- Click Next to continue to Cohort Details.
- Enter the cohort name, description, category, and any linked cohort information.
- Use a clear name that identifies the cohort purpose, such as demo preparation, external review, or privacy review.
- Click Next to continue to Review Cohort.
- Review the cohort configuration and optionally define a sample size.
- Click Create Cohort to save the cohort.
Step 2: Build a document dataset from the cohort
- In the left navigation, go to Data Curation Studio > Dataset Builder.
- Select Cohort & Clinical Filter as the dataset mode.
- Select Unstructured as the data type.
- Click Next to continue to Cohort Selection.
- Select the cohort created in the previous step.
- Click Next to continue to Unstructured Criteria.
- Apply document filters to limit the dataset to only the clinical documents that require privacy review.
- Use filters such as note type, document date, source, provider, or visit context where needed.
- Keep the dataset scope narrow enough for review, but broad enough to include all documents intended for de-identification.
- Click Next to continue to Dataset Details.
- Enter the dataset name and description.
- Use a name that clearly indicates the dataset is intended for document de-identification or privacy review.
- Click Next to continue to Review Dataset.
- Review the selected cohort, document filters, and expected dataset contents.
- Click Create Dataset to create the dataset.
Step 3: Confirm the documents that need privacy review
- Open the created dataset from Dataset Explorer if a final check is needed before de-identification.
- Review the included patients, documents, note types, dates, and source files.
- Confirm that the dataset includes the clinical documents intended for privacy review.
- Remove or exclude any documents that should not be part of the de-identification workflow, where the deployment supports dataset adjustment.
- Confirm that the remaining dataset content matches the approved sharing or demo scope.
Step 4: Run De-Identification on the document dataset
- In the left navigation, go to Data Enrichment > De-Identification.
- Start a new de-identification job or session.
- Select the document dataset created for privacy review.
- Select the appropriate de-identification profile and pipeline for text documents.
- Review the job configuration before starting.
- Click the start action to begin de-identification.
- Monitor the job until processing is complete.
Step 5: Review detected sensitive information
- Open the completed de-identification job details page.
- Review detected sensitive information at the document level.
- Inspect the original and de-identified text where comparison is available.
- Confirm that patient names, identifiers, dates, contact details, locations, provider details, and other protected or sensitive elements are handled according to the review policy.
- Approve, correct, mask, unmask, or flag detections according to the available review workflow.
- Pay special attention to headers, footers, embedded tables, copied report sections, and repeated identifiers because sensitive information may appear outside the main clinical narrative.
- Save review decisions where supported.
Step 6: Download reviewed de-identified text outputs
- Confirm that the document de-identification review is complete.
- Open the detailed de-identification result for the reviewed text document.
- Download the reviewed output directly in JSON format.
- Repeat the download process for additional reviewed documents as needed.
- Store or share the downloaded outputs according to the approved governance, privacy, and customer-delivery process.
- Document any known limitations, unresolved detections, or documents excluded from the review.
Recipe reference
Each stage of this scenario is also a standalone recipe you can reuse in other workflows.
Create a patient cohort from the Assistant
When to use on its own: When you know the clinical population but don't want to manually build detailed filters.
Features involved: Assistant, Cohort Builder, patient search and filtering, saved cohorts.
Edge cases / limitations: A zero-patient result may mean the data is missing, not that the population doesn't exist. Cohorts should be reviewed before regulatory, trial, or operational use.
Value: Moves you from question to reusable patient population quickly.
Build a dataset from a cohort or ingestion results
When to use on its own: After ingestion and before Data Curation, Information Extraction, or De-Identification.
Features involved: Dataset Builder, Dataset Explorer, cohort filters, ingestion-result filters, dataset preview.
Edge cases / limitations: Data Curation and De-Identification require a dataset; a cohort alone is not enough. Too broad a dataset makes downstream jobs slow or noisy; too narrow risks missing evidence.
Value: Gives you a controlled, reusable work package instead of repeatedly selecting raw records.
De-identify a dataset before sharing or review
When to use on its own: Before sharing data externally, preparing demo data, or reviewing images/documents that may contain patient identifiers.
Features involved: Dataset Builder, De-Identification, patient/document/image review, side-by-side original and de-identified review where available.
Edge cases / limitations: De-Identification requires a dataset; it isn't cohort-only. Export/save behavior should be confirmed before promising a complete handoff. Validate outputs before external sharing.
Value: Supports privacy-first data preparation for review, demos, and collaboration.