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
- 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
- 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. - Cosmos Access Request
Complete the Stanford Cosmos Access Request form. Ensure that the URL of your Epic UserWeb profile is included. - 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