NDA Help Center

Login Dialog

Frequently Asked Questions


NDA Help Center

Filter Cart

Viewable at the top right of NDA pages, the Filter Cart is a temporary holder for filters and data they select. Filters are added to the Workspace first, before being submitted to The Filter Cart. Data selected by filters in the Filter Cart can be added to a Data Package or an NDA Study from the Data Packaging Page, by clicking the 'Create Data Package / Add Data to Study' button.

The filter cart supports combining multiple filters together, and depending on filter type will use "AND" or "OR"  when combining filters.

Multiple selections from the same filter type will result in those selections being applied with an ‘OR’ condition. For example, if you add an NDA Collection Filter with selections for both collections 2112 and 2563 to an empty Workspace, the subjects from NDA Collection 2112 ‘OR’ NDA Collection 2563 will be added to your Workspace even if a subject is in both NDA Collections. You can then add other NDA Collections to your Workspace which further extends the ‘OR’ condition.

If a different filter type is added to your Workspace, or a filter has already been submitted to the Filter Cart, the operation then performs a logical ‘AND’ operation. This means that given the subjects returned from the first filter, only those subjects that matched the first filter are returned by the second filter (i.e., subjects that satisfied both filters). Note that only the subjects specific to your filter will be added to your Filter Cart and only on data shared with the research community. Other data for those same subjects may exist (i.e., within another NDA Collection, associated with a data structure that was not requested in the query, etc.). So, users should select ‘Find all Subjects Data’ to identify all data for those specific subjects. 

Additional Tips:

  • You may query the data without an account, but to gain access you will need to create an NDA user account and apply for access.  Most data access requires that you or your lab are sponsored by an NIH recognized institution with Federal Wide Assurance (FWA).  Without access, you will not be able to obtain individual-level data. 

    Once you have selected data of interest you can:
  • Create a data package - This allows you to specify format for access/download
  • Assign to Study Cohort - Associate the data to an NDA Study allowing for a DOI to be generated and the data to be linked directly to a finding, publication, or data release. 
  • Find All Subject Data - Depending on filter types being used, not all data associated with a subject will be selected.  Data may be restricted by data structure, NDA Collection, or outcome variables (e.g., NDA Study). ‘Find All Data’ expands the fliter criteria by replacing all filters in your Filter Cart with a single Query by GUID filter for all subjects selected by those filters.

    Please Note:
  • When running a query, it may take a moment to populate the Filter Cart. Queries happen in the background so you can define other queries during this time. 
  • When you add your first filter, all data associated with your query will be added to the Filter Cart (e.g., a Concept, an NDA Collection, a Data Structure/Element, etc.). As you add additional filters, they will also display in the Filter Cart. Only the name of filter will be shown in the Filter Cart, not the underlying structures. 
  • Information about the contents of the Filter Cart can be seen by clicking "Edit”.
  • Once your results appear in the Filter Cart, you can create a data package or assign subjects to a study by selecting the 'Package/Assign to Study' option. You can also 'Edit' or 'Clear' filters.

Frequently Asked Questions

  • The Filter Cart currently employs basic AND/OR Boolean logic. A single filter may contain multiple selections for that filter type, e.g., a single NDA Study filter might contain NDA Study 1 and NDA Study 2. A subject that is in EITHER 1 OR 2 will be returned.  Adding multiple filters to the cart, regardless of type, will AND the result of each filter.  If NDA Study 1 and NDA Study 2 are added as individual filters, data for a subject will only be selected if the subject is included in  BOTH 1 AND 2.

  • Viewable at the top right of NDA pages, the Filter Cart is a temporary holder of data identified by the user, through querying or browsing, as being of some potential interest. The Filter Cart is where you send the data from your Workspace after it has been filtered.

  • After filters are added to the Filter Cart, users have options to ‘Create a Package’ for download, ‘Associate to Study Cohort’, or ‘Find All Subject Data’. Selecting ‘Find All Subject Data’ identifies and pulls all data for the subjects into the Filter Cart. Choosing ‘Create a Package’ allows users to package and name their query information for download. Choosing ‘Associate to Study Cohort’ gives users the opportunity to choose the Study Cohort they wish to associate this data.


  • Once your filter cart contains the subjects of interest, select Create Data Package/Assign to Data Study which will provide options for accessing item level data and/or assigning to a study.  

  • Once queries have been added to your workspace, the next step is to Submit the Filters in the workspace to the Filter Cart.  This process runs the queries selected, saving the results within a filter cart attached to your account.  

  • The Workspace within the General Query Tool is a holding area where you can review your pending filters prior to adding them to Filter Cart. Therefore, the first step in accessing data is to select one or more items and move it into the Workspace. 


Reset Password

NDA provides a single access to de-identified autism research data. For permission to download data, you will need an NDA account with approved access to NDA or a connected repository (AGRE, IAN, or the ATP). For NDA access, you need to be a research investigator sponsored by an NIH recognized institution with federal wide assurance. See Request Access for more information.

Warning Notice

This is a U.S. Government computer system, which may be accessed and used only for authorized Government business by authorized personnel. Unauthorized access or use of this computer system may subject violators to criminal, civil, and/or administrative action. All information on this computer system may be intercepted, recorded, read, copied, and disclosed by and to authorized personnel for official purposes, including criminal investigations. Such information includes sensitive data encrypted to comply with confidentiality and privacy requirements. Access or use of this computer system by any person, whether authorized or unauthorized, constitutes consent to these terms. There is no right of privacy in this system.

Update Password

You have logged in with a temporary password. Please update your password. Passwords must contain 8 or more characters and must contain at least 3 of the following types of characters:

  • Uppercase
  • Lowercase
  • Numbers
  • Special Characters limited to: %,_,!,@,#,$,-,%,&,+,=,),(,*,^,:,;

Subscribe to our mailing list

Mailing List(s)
Email Format

You are now leaving the NIMH Data Archive (NDA) web site to go to:

Click on the address above if the page does not change within 10 seconds.


NDA is not responsible for the content of this external site and does not monitor other web sites for accuracy.

Accept Terms
Filter Cart
No filters selected
Value Range
Data Structures with shared data
No filters have been selected
Switch User

Bipolar Disorder Phone Survey

0 Shared Subjects

Clinical Assessments
View Change History
Query Element Name Data Type Size Required Description Value Range Notes Aliases
subjectkey GUID Required The NDAR Global Unique Identifier (GUID) for research subject NDAR* guid, nimhid, z1
src_subject_id String 20 Required Subject ID how it's defined in lab/project catieid, id, participant_id, ptid, randid, record_id, subject_id, subjid, z2
interview_date Date Required Date on which the interview/genetic test/sampling/imaging/biospecimen was completed. MM/DD/YYYY Required field
interview_age Integer Required Age in months at the time of the interview/test/sampling/imaging. 0 :: 1260 Age is rounded to chronological month. If the research participant is 15-days-old at time of interview, the appropriate value would be 0 months. If the participant is 16-days-old, the value would be 1 month. age, intvage, z4
sex String 20 Required Sex of the subject M;F; O; NR M = Male; F = Female; O=Other; NR = Not reported gender, z5
Query phenotype String 200 Required Phenotype/diagnosis for the subject
Query phenotype_description String 4,000 Required Description of the phenotype for the subject
survey Integer Required Phone Survey Type 1::3 1=Morning; 2=Afternoon; 3=Evening
bdps_bedtime Integer Recommended What time did you go to bed last night? (exact) 1::30 1=7:00 pm; 2=7:15 pm; 3=7:30 pm; 4=7:45 pm; 5=8:00 pm; 6=8:15 pm; 7=8:30 pm; 8=8:45 pm; 9=9:00 pm; 10=9:15 pm; 11=9:30 pm; 12=9:45 pm; 13=10:00 pm; 14=10:15 pm; 15=10:30 pm; 16=10:45 pm; 17=11:00 pm; 18=11:15 pm; 19=11:30 pm; 20=11:45 pm; 21=12:00 am; 22=12:15 am; 23=12:30 am; 24=12:45 am; 25=1:00 am; 26=1:15 am; 27=1:30 am; 28=1:45 am; 29=2:00 am; 30=Later bedtime
bedtime_1 Integer Recommended What time did you go to bed last night? (range) 0::4 0=6:01pm-8:00pm; 1=8:01pm-10:00pm; 2=10:01pm-12:00am; 3=12:01am-2:00am; 4=After 2:00am
timetofallasleep Integer Recommended How long did it take to fall asleep? 0::4 0=0-30 minutes; 1=30-60 minutes; 2=1-2 hours; 3=2-4 hours; 4=Greater than 4 hours
numberawakenings Integer Recommended How many times did you wake up during the night? 0::5 0=None; 1=Once; 2=2-3 times; 3=4-10 times; 4=11-20 times; 5=More than 20 times
hoursofsleep Integer Recommended How many hours of sleep did you get? 0::4 0=0-3 hours; 1=4-5 hours; 2=6-7 hours; 3=8-10 hours; 4=More than 10 hours
psqpi9 Integer Recommended Parent: How would you rate your child's sleep quality last night? Child/Self: How would you rate your sleep quality last night? 1::4;-99;77;88 1= Very good ; 2= Fairly good ; 3= Fairly bad ; 4= Very bad ; -99= N/A ; 77= Refused ; 88= Missing sleepquality
sleepmed Integer Recommended Did you take any medication specifically to help you sleep last night? 0; 1 0=No; 1=Yes
whereareyou Integer Recommended Where are you right now? 1::10 1=At home; 2=At the home of family; 3=At the home of friends; 4=At work; 5=In class education; 6=In a public business; 7=In a vehicle; 8=In a hospital; 9=Inside other; 10=Outside other
whoiswithyou Integer Recommended Who is with you at this moment? 1::8 1=Alone; 2=Spouse or partner; 3=Other family members; 4=Friends; 5=Coworkers; 6=With supervisor; 7=With unknown people; 8=With pets
whatareyoudoing Integer Recommended What are you doing? 0::12 0=Nothing; 1=Eating or drinking; 2=Personal care; 3=Taking medication; 4=Working; 5=Household chores; 6=Shopping; 7=Physical leisure; 8=Social interactions; 9=Traveling; 10=Internet browsing; 11=Non-physical leisure; 12=Other
productive Integer Recommended How productive are you being in what you are doing? 1::7 1=Not at all; 7=Very much
confident Integer Recommended How confident are you in what you're doing? 1::7 1=Not at all; 7=Very much
relaxed Integer Recommended How relaxed are you? 1::7 1=Not at all; 7=Very much
bdps_happy Integer Recommended How happy are you? 1::7 1=Not at all; 7=Very much happy
energetic Integer Recommended How energetic are you? 1::7 1=Not at all; 7=Very much
sadordepressed Integer Recommended How sad or depressed are you? 1::7 1=Not at all; 7=Very much
angryorupset Integer Recommended How angry or upset are you? 1::7 1=Not at all; 7=Very much
anxiousornervous Integer Recommended How anxious or nervous are you? 1::7 1=Not at all; 7=Very much
stressed Integer Recommended How stressed are you? 1::7 1=Not at all; 7=Very much
impulsive Integer Recommended How impulsive do you feel? 1::7 1=Not at all; 7=Very much
masculine Integer Recommended How masculine do you feel? 1::7 1=Not at all; 7=Very much
feminine Integer Recommended How feminine do you feel? 1::7 1=Not at all; 7=Very much
currentmood Integer Recommended What is your current mood? -4; -3; -2; -1; 0::4 -4=Most depressed ever; -3=Severely depressed; -2=Moderately depressed; -1=Mildly depressed; 0=Even or euthymic; 1=Mildly manic; 2=Moderately manic; 3=Severely manic; 4=Most manic ever
wanttocallsdcrisisline Integer Recommended Do you want to call San Diego crisis line? 0; 1 0=No; 1=Yes
slowthinking Integer Recommended In the past 24 hours, my thinking has been slow 0::3 0=Never; 1=Once; 2=A few times; 3=Most of the time
hardtoswitchattention Integer Recommended In the past 24 hours, it has been hard to switch my attention between different activities 0::3 0=Never; 1=Once; 2=A few times; 3=Most of the time
troubleconcentrating Integer Recommended In the past 24 hours, I have had trouble concentrating 0::3 0=Never; 1=Once; 2=A few times; 3=Most of the time
troubleremembering Integer Recommended In the past 24 hours, I have had trouble remembering things 0::3 0=Never; 1=Once; 2=A few times; 3=Most of the time
drugoralcohol Integer Recommended Since the last questionnaire, have you taken or used any of the following? 0::5 0=None; 1=Alcohol; 2=Cannabis or marijuana; 3=Other non-prescribed medication; 4=Crystal/meth; 5=Cocaine/crack
bdmedicationadherence Integer Recommended Did you take medications for bipolar today? 0::2 0=Did not take meds; 1=Yes, took some meds; 2=Yes, took all meds
moststressfuleventorsituation Integer Recommended People experience stress due to many different types of situations. When you think back on your day, what kind of situation caused you the most stress? 1::5 1=Work/school related; 2=Financial; 3=Personal relationships; 4=Health; 5=Other
otherstressfulevent String 100 Recommended Specify other event or type of event (e.g., Financial, Health) that caused the most stress in the past 24 hours
howstressfulwasthisevent Integer Recommended How stressful was the past 24 hours' most stressful event at its peak? 0::10 0=Least stressful; 10=Most stressful
howcope Integer Recommended What did you do today to cope with this stress? 1::6 1=Tried to block it out; 2=Tried to calm down; 3=Tried to fix the problem; 4=Thought differently; 5=Talked to someone; 6=Other
otherhowcope String 100 Recommended Specify other method to cope with the past 24 hours' greatest stress
exercise Integer Recommended Did you engage in any physical activity or exercise for at least 20 mins in the last 24 hrs? 0; 1 0=No; 1=Yes
intensityofexercise Integer Recommended Please choose the intensity of this activity (sustained for at least 20 minutes within the last 24 hours) 1::3 1=Mild; 2=Moderate; 3=Strenuous
eatingoccasions Integer Recommended On how many occasions did you eat today? 1::6 1=One; 2=Two; 3=Three; 4=Four; 5=Five; 6=More than five
site String 101 Recommended Site Study Site siteid
visitid Integer Recommended MetaTrial Visit ID System variable: unique code for each type of visit -use to merge files
Query visit String 60 Recommended Visit name visitnum, vtypbima, vtypbprs
visnum Float Recommended Numeric Visit Number -1.5 = Pre-Screening; -1 = Screening; 0 = Baseline; ## = Visit ## (from 1 to 10); Whole numbers = standard monthly visits; #.001 - #.009 = Unscheduled; #.1 = End of Phase 1; #.2 = End of Phase 2; #.3 = End of Phase 3; #.4 = End of Open Choice Phase; #.5 = End of Study; #.6 = Genetic Analysis; 1000=all visits
Data Structure

This page displays the data structure defined for the measure identified in the title and structure short name. The table below displays a list of data elements in this structure (also called variables) and the following information:

  • Element Name: This is the standard element name
  • Data Type: Which type of data this element is, e.g. String, Float, File location.
  • Size: If applicable, the character limit of this element
  • Required: This column displays whether the element is Required for valid submissions, Recommended for valid submissions, Conditional on other elements, or Optional
  • Description: A basic description
  • Value Range: Which values can appear validly in this element (case sensitive for strings)
  • Notes: Expanded description or notes on coding of values
  • Aliases: A list of currently supported Aliases (alternate element names)
  • For valid elements with shared data, on the far left is a Filter button you can use to view a summary of shared data for that element and apply a query filter to your Cart based on selected value ranges

At the top of this page you can also:

  • Use the search bar to filter the elements displayed. This will not filter on the Size of Required columns
  • Download a copy of this definition in CSV format
  • Download a blank CSV submission template prepopulated with the correct structure header rows ready to fill with subject records and upload

Please email the The NDA Help Desk with any questions.