Skip to Content
Stanford Medicine STAnford Research Repository (STARR) Tools – Online Tools for Cohort Discovery, Chart Review and Data Delivery for Clinical Research at Stanford Medicine

Enabling HIPAA-Compliant
Clinical Research at Stanford

Enabling Data Driven Clinical Research

Stanford Medicine

Explore Stanford Medicine

  • Health Care
    • Find a doctor

    • Adult-care doctor
    • Pediatrician or pediatric specialist
    • Obstetrician
    • Clinics & Services

    • Adult care
    • Pediatric care
    • Obstetrics
    • Clinical trials
    • Locations

    • Stanford Health Care
    • Stanford Children's Health
    • Emergency Department
    • Dial 911 in the event of a medical emergency

    Explore Health Care

    Learn how we are healing patients through science & compassion

    Back
  • Research
    • Basic science departments
    • Clinical science departments
    • Institutes
    • Research centers
    • See full directory
    • Research Resources

    • Research administration
    • Academic profiles
    • Clinical trials
    • Funding opportunities
    • See all
    • Professional Training

    • Postdoctoral scholars
    • Clinical research fellows

    Research News

    Neuroscientist Michelle Monje awarded MacArthur 'genius grant'

    Neuroscientist Michelle Monje awarded MacArthur 'genius grant'

    Explore Research

    Learn how we are fueling innovation

    Back
  • Education
    • MD program
    • PA Programs
    • PhD programs
    • Masters programs
    • Continuing Medical Education
    • Postdoctoral scholars
    • Residencies & fellowships
    • High School & Undergraduate Programs
    • See all
    • Education Resources

    • Academic profiles
    • School Administration
    • Basic science departments
    • Clinical science departments
    • Alumni services
    • Faculty resources
    • Community engagement
    • Lane Library
    • Student resources

    Education News

    Alice L. Walton School of Medicine and Stanford Medicine host AI conference on community health

    Alice L. Walton School of Medicine and Stanford Medicine host AI conference on community health

    Explore Education

    Learn how we empower tomorrow's leaders

    Back
  • Give

    Support Stanford Medicine

    • Support teaching, research, and patient care.

    • Ways to give
    • Why giving matters
    • Make a gift online

    Support Children's Health

    • Support Lucile Packard Children's Hospital Stanford and child and maternal health

    • Ways to give
    • How your gift helps
    • Make an online gift
    Back
  • About
    • About us
    • News
    • Contacts
    • Maps & directions
    • Leadership
    • Vision
    • Global health
    • Community engagement
    • Events
    • How you can help

    Stanford School of Medicine

    Stanford Health Care

    Stanford Children's Health

    Back
  • Site Search

Cosmos Onboarding Guide

Eligibility

You will need:

•  SUNet ID
•  SHC SID (Stanford ID) or SMCH Network Login
•  Epic UserWeb account
•  Review and follow Cosmos "rules of the road" (more info)

When publishing Cosmos-enabled findings, you must acknowledge Cosmos in your publication and, twice a year, provide the Governing Council with a list of your citations and any other works referencing your Cosmos-based research (per Section 2.3.1 of the Cosmos Terms).


Sign-Up Steps

  1. SID Request
    Have someone with an SID request one for you 
        In the SHC Onboarding Request form, choose:
           • On-site User
           • SOM User Type “Other” (most cases) and "Cosmos User"
           • Organization "School of Medicine"
           • For "Requested Epic Access,” choose “Other”
           • For “Please describe ‘Other’:” write “Cosmos User"
           • For name, job title, etc., copy entry in StanfordWho
           • For “Start Date,” use today's date
           • For “Termination Date,” use a year from today
           • Use "Supervisor's Name" from StanfordWho
           • For "DFA," use your Department's (approver of the request)
           • For "Organization," choose "School of Medicine"
           • For "RN," choose "No"
           • For "Requested Epic Access" choose "Other"
           • For “Please describe ‘Other’:” write “Cosmos User; No patient-facing activity and does not need to be assigned FY26 SMHC New Hire Employee Training Curriculum HealthStream training”
           • “Application Access Options” choose “Epic”
           • For “Other Access” choose “Other” and write “Minimal Cosmos User (SHC ANALYTICS ONLY [T00275] template); No patient-facing activity and does not need to be assigned FY26 SMHC New Hire Employee Training Curriculum HealthStream training”
           • Enter existing SoM email for SID request
           • Enter “Cosmos User” for the “Business Justification” for the Epic request

           • Enter “Cosmos User” for the “Business Justification” for the Other Access request

  2. Epic UserWeb Account*
    Create an account at Epic UserWeb (select Stanford Health Care). If your principal affiliation is with Stanford Medicine Children's Health, create a UserWeb account using that authentication.
  3. Cosmos Access Request
    Complete the Stanford Cosmos Access Request form. Ensure that the URL of your Epic UserWeb profile is included.
  4. Training
    Once Cosmos access has been granted, you can complete the applicable Epic Cosmos trainings. Sign up at Epic Training Catalog (search "cosmos" under "all applications").

*Note that a university-affiliated SUNet ID can be registered with Epic UserWeb using the Stanford Health Care or Stanford Medicine Children's Health authentication.


Cosmos Access Levels

First, you will need to request access to Cosmos. You must have Cosmos access in place before registering for Cosmos training.

For Data Science Virtual Machine (DSVM) access, you must complete the Cosmos Data Model for Data Architects or Data Scientist certificate:

  • Aggregate-level access:
    Use Slicer Dicer in the Cosmos Portal for cohort discovery and feasibility analysis.

  • Data Science Virtual Machine (DSVM) access:
    Line-level access (SQL):
    Requires Epic COS305 (0.5 day) + COS500 (1.5 days) (estimated $800 total*) (Data Model for Data Architects certificate).
       
    Line-level data science tools access (R and/or Python):
    Requires Epic COS305 (0.5 day) + COS550 (0.5 day) (estimated $400 total*) (Data Scientist certificate).

    *Researchers are responsible for funding their own Cosmos training. Epic will accept a PTA or Cost Center number as a payment method.

    Courses must be taken sequentially, and all advanced Cosmos training can be completed virtually.

After completing the Cosmos Data Model for Data Architects or Data Scientist training, email cosmosteam@stanford.edu with proof of training completion. We will then ask Epic to turn on your access to the Cosmos DSVM. After completing the Cosmos Data Model for Data Architects or Data Scientist training, email cosmosteam@stanford.edu with proof of training completion. We will then check that you have the correct SHC Epic profile assigned. Once confirmed, we will ask Epic to turn on your access to the Cosmos DSVM (EDDI).

You'll find a more detailed explanation of Cosmos access levels and required training in Epic Galaxy. Epic oversees all Cosmos training and certification. Stanford is only the intermediary.


Getting Started

  • After approval, log in to the Cosmos Portal with your Stanford credentials. 
  • Slicer Dicer: Explore cohorts, diagnoses, medications, and outcomes with built-in filters and visualizations.
  • DSVM: Use R, Python, or SQL for advanced analysis and data mart creation. Data marts can be exported as SQL tables, CSV, or parquet files. You must send an email request with proof of certification to cosmosteam@stanford.edu to request DSVM access if certified or accredited in Cosmos Data Model for Data Architects or Cosmos Data Model for Data Scientists.

Data Structure & Handling

  • Cosmos includes demographics, diagnoses, labs, medications, procedures, SDOH, and more.
  • Dates are shifted per patient; ages may be truncated (all birthdays set to Jan 1).
  • No direct identifiers; LDS excludes direct dates and other PHI.

Workflow Overview

  • Define your study or project.
  • Use Slicer Dicer for feasibility, then request a data mart from a Stanford data architect for complex analysis (contact Kameron Black, if needed).
  • Notify Epic of your publication intent.
  • Import data marts directly into R/Python via SQL connection for analysis.
  • Validate, analyze, and publish results per Stanford and Epic guidelines.

Cosmos Publication Checklist

  • Before publishing, clearly define your base population using recommended filters (e.g., "Has any encounters?" and "Base Patient") and avoid drawing conclusions from random samples ("Sneak Peek" mode).
  • Review known data limitations, biases, and data quality issues for all relevant domains (see Cosmos Data Science White Papers and Data Encyclopedia).
  • When ready to publish or share, mask small counts (<11), request file transfer via your Cosmos representative, notify Epic of your publication or presentation (CosmosPublications@epic.com), and include required Cosmos attribution.
  • Information about your publication, including basic details about the associated Cosmos project and a link to the abstract, will be made available for other users in the community on the Cosmos Publication and Funded Studies dashboard within the Cosmos portal.

    For externally funded studies, submit your publication, presentation, or abstract to the Cosmos community, ensuring transparency regardless of publication outcome.
    More info

Cosmos Data Use

Cosmos is only for Stanford-related research.

You can not use Cosmos for non-Stanford-related work. You must confirm that you agree that your use of Cosmos will only be for Stanford-related work before obtaining access.


Support

  • Before publishing, clearly define your base population using recommended filters (e.g., "Has any encounters?" and "Base Patient") and avoid drawing conclusions from random samples ("Sneak Peek" mode).
  • Review known data limitations, biases, and data quality issues for all relevant domains (see Cosmos Data Science White Papers and Data Encyclopedia).
  • When ready to publish or share, mask small counts (<11), request file transfer via your Cosmos representative, notify Epic of your publication or presentation (CosmosPublications@epic.com), and include required Cosmos attribution.
  • Information about your publication, including basic details about the associated Cosmos project and a link to the abstract, will be made available for other users in the community on the Cosmos Publication and Funded Studies dashboard within the Cosmos portal.

    For externally funded studies, submit your publication, presentation, or abstract to the Cosmos community, ensuring transparency regardless of publication outcome.
    More info

Onboarding Guide

Onboarding Guide

Enabling Data Driven Clinical Research

  • Cohort Discovery
  • Chart Review
    • Chart Review User Guide
    • Cohort Monitoring
    • PHI Scrubbing
  • Data Delivery
    • Requirements
    • Creating & Managing Lists
    • Defining & Managing Extracts
    • Data Privacy & Compliance
    • Nero
    • Data Models
    • FAQs & Resources
    • DICOM Download - How to
  • Data Compliance
    • HIPAA Primer
    • Data Privacy Attestation
    • Add-On Privacy Attestation
    • Compliance for IRB Protocols
    • Modify Existing DPA
    • Determination of Not Human Subjects Research (QI/QA)
    • Preparatory to Research
    • Educational Purposes
    • SHC/SCH Clinical Operations or QI
    • Clinical Trial Recruitment
    • Research Use Exceeds STARR Capabilities
    • PHI Download
    • SSA Mortality Data
  • Resources
    • Frequently Asked Questions
    • Data Inventory
      • Clinical Ancillary System Data
      • Data Filtering
      • Data Concierge Service / Imaging Data
    • DUSTER
    • Cosmos
      • Onboarding Guide
      • Cosmos FAQs
  • Release Notes

STAnford Research Repository (STARR) Tools

Stanford Medicine

News

Careers

Contact

Health Care

Stanford Health Care

Stanford Children's Health

Stanford School of Medicine

About

Contact

Maps & Directions

Careers

Basic Science Departments

Clinical Science Departments

Academic Programs

Vision

Find People
Visit Stanford
Search Clinical Trials
Give a Gift
©2026 Stanford University
  • Privacy Policy
  • Terms of Use
  • Accessibility
  • Non-Discrimination
  • See us on Facebook
  • See us on X (Twitter)

Non-Discrimination

Stanford complies with all applicable civil rights laws and does not engage in illegal preferences or discrimination.
Stanford's Non-Discrimination Policy

  • Stanford University
  • Stanford School of Medicine
  • Stanford Health Care
  • Stanford Children's Health
  • Stanford Health Care Tri-Valley
  • Stanford Medicine Partners