NDA Help Center

Login Dialog

Frequently Asked Questions


NDA Help Center

Filter Cart

The Filter Cart provides a powerful way to query and access data for which you may be interested.  

A few points related to the filter cart are important to understand with the NDA Query/Filter implementation: 

First, the filter cart is populated asyncronously.  So, when you run a query, it may take a moment to populate but this will happen in the background so you can define other queries during this time.  

When you are adding your first filter, all data associated with your query will be added to the filter cart (whether it be a collection, a concept, a study, a data structure/elment or subjects). Not all data structures or collections will necessarily be displayed.  For example, if you select the NDA imaging structure image03, and further restrict that query to scan_type fMRI, only fMRI images will appear and only the image03 structure will be shown.  To see other data structures, select "Find All Subject Data" which will query all data for those subjects. When a secord or third filter is applied, an AND condition is used.  A subject must exist in all filters.  If the subject does not appear in any one filter, that subjects data will not be included in your filter cart. If that happens, clear your filter cart, and start over.  

It is best to package more data than you need and access those data using other tools, independent of the NDA (e.g. miNDAR snapshot), to limit the data selected.  If you have any questions on data access, are interested in using avaialble web services, or need help accessing data, please contact us for assistance.  

Frequently Asked Questions



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

Medical Visits and Hospitalizations



Download Definition as
Download Submission Template as
Element NameData TypeSizeRequiredDescriptionValue RangeNotesAliases
subjectkeyGUIDRequiredThe NDAR Global Unique Identifier (GUID) for research subjectNDAR*
src_subject_idString20RequiredSubject ID how it's defined in lab/projectaid, demo_study_id
interview_dateDateRequiredDate on which the interview/genetic test/sampling/imaging/biospecimen was completed. MM/DD/YYYYRequired fieldvisit_date
interview_ageIntegerRequiredAge in months at the time of the interview/test/sampling/imaging.0 :: 1260Age 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.
sexString20RequiredSex of the subjectM;FM = Male; F = Femalegender
siteString101RecommendedSiteStudy Siteasite, siteid
clinicidIntegerRecommendedClinic IDaclinic
intervIntegerRecommendedIntervention Status0;11=ITV, intervention; 0=TAU, treatment as usual
visitString50RecommendedVisit namevisitnum, wave
days_baselineIntegerRecommendedDays since baselinelof
vis1IntegerRecommendedHow many times in the past 6 months have you been a patient overnight or longer in a hospital?
vis1aIntegerRecommendedDuring the past 6 months, how many total nights did you stay overnight or longer in a hospital.
vis1bIntegerRecommendedNumber of nights stay in a hospital for emo (collected after baseline)
vis2IntegerRecommendedIn the past 6 months, how many different visits have you made to a hospital emergency room or an urgent care facility?
vis3aIntegerRecommendedIn the past 6 months, how many clinic or office visits did you make to a primary care provider such as a family doctor, general internist, gynecologist, nurse or nurse practitioners?
vis3aaIntegerRecommendedDuring how many of these visits to a primary care provider in the last 6 months did you bring up or discuss personal or emotional problems such as your nerves, mood, alcohol, drugs or mental health?
vis3bIntegerRecommendedIn the past 6 months, how many visits did you make to a medical specialist like a cardiologist, urologist, orthopaedist, neurologist, dermatologist?
vis3cIntegerRecommendedNow Id like to ask about visits to mental health providers. In the past 6 months, how many visits did you make to a Psychiatrist?
vis3dIntegerRecommendedIn the past 6 months, how many visits did you make to a psychologist, social worker, psychotherapist, psychiatric nurse or other counselor or therapist that you havent already told me about?
vis4IntegerRecommendedIn the past 6 months, how many outpatient surgeries or outpatient medical procedures did you have?
vis4b1String55RecommendedMedical Procedure 1med_surg_treatment_1, med_surg_treatment_1_12mo
vis4b2String55RecommendedMedical Procedure 2med_surg_treatment_2, med_surg_treatment_2_12mo
vis4b3String55RecommendedMedical Procedure 3med_surg_treatment_3, med_surg_treatment_3_12mo
vis4b4String55RecommendedMedical Procedure 4med_surg_treatment_4, med_surg_treatment_4_12mo
vis4b5String55RecommendedMedical Procedure 5
vis4b6String55RecommendedMedical Procedure 6
vis4b7String55RecommendedMedical Procedure 7
vis4b8String55RecommendedMedical Procedure 8
vis4b9String55RecommendedMedical Procedure 9
vis4b10String55RecommendedMedical Procedure 10
casa8yIntegerRecommendedNumber of visits for outpatient drug or alcohol treatment or services (past 6 months)vis5
vis6aIntegerRecommendedIn the past 6 months, how often did any provider help you practice directly dealing with things that made you afraid such as places, people, memories or feelings in order to become less afraid of them?1::41=Never; 2=Sometimes; 3=Usually; 4=Always;
vis6bIntegerRecommendedHow often did any provider teach you methods of physical relaxation, such as slow breathing?1::41=Never; 2=Sometimes; 3=Usually; 4=Always;
vis6cIntegerRecommendedHow often did any provider help you look at your thoughts more realistically?1::41=Never; 2=Sometimes; 3=Usually; 4=Always;
vis6dIntegerRecommendedHow often did any provider help you to see mistakes in your thinking for example, all or nothing thinking or always fearing the worst will happen?1::41=Never; 2=Sometimes; 3=Usually; 4=Always;
vis6eIntegerRecommendedHow often did any provider help you to understand how your thoughts and feelings are related?1::41=Never; 2=Sometimes; 3=Usually; 4=Always;
vis6gIntegerRecommendedHow often did any provider ask you to do homework between visits? Homework can include activities like writing down your thoughts, feelings, and activities or practicing something you learned during your visit.1::41=Never; 2=Sometimes; 3=Usually; 4=Always;
med1opmedIntegerRecommendedIn the past 6 months did you take ANY prescription medications at least several times a week for at least a month? Please think about prescription medications other than vitamins and antibiotics.0;10=No; 1=Yesmed1
med1aIntegerRecommendedHave you been taking any prescription medications to help with depression, anxiety, or sleep?0;10=No; 1=Yes
med_chgIntegerRecommendedHigh Quality RX0;1High Quality RX (IF (QUARXt2=3) THEN MED_CHANGEt2=1; ELSE IF (1=<QUARXt2<=2) THEN MED_CHANGEt2 =0;)
qucbt1IntegerRecommendedDuring the past 6 months, had 1 or more CBT (direct practice, physical relaxation, help look at thoughts realistically, help to see thinking mistakes, help relating thoughts and feelings, CBT homework) at the level of 2=sometimes or 3=usually or 4=always0;10=No - 0 times; 1=Yes - 1 to 6 times
qucbt2IntegerRecommendedDuring the past 6 months, had 3 or more CBT (direct practice, physical relaxation, help look at thoughts realistically, help to see thinking mistakes, help relating thoughts and feelings, CBT homework) at the level of 2=sometimes or 3=usually or 4=always0;10=No - 0 to 2 times; 1=Yes - 3 to 6 times
qucbt3IntegerRecommendedDuring the past 6 months, had 3 or more CBT (direct practice, physical relaxation, help look at thoughts realistically, help to see thinking mistakes, help relating thoughts and feelings, CBT homework) at the level of 3=usually or 4=always0;10=No - 0 to 2 times; 1=Yes - 3 to 6 times
thospIntegerRecommendedNumber of hospital visists
tnightIntegerRecommendedNumber of nights in the hospital
tenghtIntegerRecommendedNumber of emotional nights in hospital
srfa6gIntegerRecommendedEmergency Room (Medical) number of visits0::200
tpcrvsIntegerRecommendedNumber of Primary care visits
tpcevsIntegerRecommendedNumber of Emotional Primary care visists
tspcvsIntegerRecommendedNumber of medical specialist visists
pmdvisitIntegerRecommendedpsychiatrist number of visitstmhivs
tcnlvsIntegerRecommendedNumber of visist to psychologist
tosurgIntegerRecommendedNumber of outpatient surgery
p61i6IntegerRecommendedSubstance Abuse - Best estimate of number of episodestsubst
ahospIntegerRecommendedany hospital visits0;10=No; 1=Yes
anightIntegerRecommendedany nights in hospital0;10=No; 1=Yes
aenghtIntegerRecommendedany emotional nights in hospital0;10=No; 1=Yes
aervstIntegerRecommendedany emergency room visists0;10=No; 1=Yes
apcrvsIntegerRecommendedany primary care visits0;10=No; 1=Yes
apcevsIntegerRecommendedany emotional primary care visits0;10=No; 1=Yes
aspcvsIntegerRecommendedany medical specialist visists0;10=No; 1=Yes
amhivsIntegerRecommendedany visit to psychiatrist0;10=No; 1=Yes
acnlvsIntegerRecommendedany-visit to psychologist0;10=No; 1=Yes
aosurgIntegerRecommendedany-outpatient surgery0;10=No; 1=Yes
ysuaIntegerRecommendedAbuse. Other drug abuse/dependence. Diagnosis for other substance abuse0 :: 10 = Absent; 1 = Presentasubst
version_formString100RecommendedForm used/assessment name
hrumedIntegerRecommendedMedical (MD/DO/Prescriber): Number of Visits in the past 2 months
hrupsycIntegerRecommendedPsychiatric (MD/DO/Prescriber): Number of Visits in the past 2 months
hrunurseIntegerRecommendedNursing: Number of Visits in the past 2 months
hrucaseIntegerRecommendedCase Management: Number of Visits in the past 2 months
hruclinicIntegerRecommendedClinician/Therapy/Counseling/Group Therapy/Substance Abuse Treatment: Number of Visits in the past 2 months
hruservIntegerRecommendedAcute Services (medical or psychiatric): Number of Visits in the past 2 months
hruhospIntegerRecommendedDay Hospital/Day Treatment Center: Number of Visits in the past 2 months
medication1_nameString500RecommendedName first medication that the participant has taken0 = No medication; 999= Legitimately skippedmed_medication_1, med_medication_1_12mo
medication1_dosageString50RecommendedFirst medication dosage0 = No medication; 999 = Missingmed_dose_1, med_dose_1_12mo
medication1_frequencyString50RecommendedFirst medication frequencymed_frequency_1, med_frequency_1_12mo
strreason1String500RecommendedReason for prescription 1med_condition_1, med_condition_1_12mo
med_change_notesString250RecommendedWhat medication changes?med_recent_changes_1, med_recent_changes_1_12mo
medication2_nameString200RecommendedName second medication that the participant has taken0 = No medication; 999= Legitimately skippedmed_medication_2, med_medication_2_12mo
medication2_dosageString50RecommendedSecond medication dosage0 = No medication; 999 = Missingmed_dose_2, med_dose_2_12mo
medication2_frequencyString50RecommendedSecond medication frequencymed_frequency_2, med_frequency_2_12mo
strreason2String350RecommendedReason for prescription 2med_condition_2, med_condition_2_12mo
change_reasonString100RecommendedReason for change original medicationmed_recent_changes_2, med_recent_changes_2_12mo
medication3_nameString150RecommendedName third medication that the participant has taken0 = No medication; 999= Legitimately skippedmed_medication_3, med_medication_3_12mo
medication3_dosageString50RecommendedThird medication dosage0 = No medication; 999 = Missingmed_dose_3, med_dose_3_12mo
medication3_frequencyString50RecommendedThird medication frequencymed_frequency_3, med_frequency_3_12mo
strreason3String350RecommendedReason for prescription 3med_condition_3, med_condition_3_12mo
medication4_nameString100RecommendedName fourth medication that the participant has taken0 = No medication; 999= Legitimately skippedmed_medication_4, med_medication_4_12mo
medication4_dosageString50RecommendedFourth medication dosage0 = No medication; 999 = Missingmed_dose_4, med_dose_4_12mo
medication4_frequencyString50RecommendedFourth medication frequencymed_frequency_4, med_frequency_4_12mo
strreason4String255RecommendedReason for prescription 4med_condition_4, med_condition_4_12mo
medication5_nameString500RecommendedName fifth medication that the participant has taken0 = No medication; 999= Legitimately skippedmed_medication_5, med_medication_5_12mo
medication5_dosageString50RecommendedFifth medication dosage0 = No medication; 999 = Missingmed_dose_5, med_dose_5_12mo
medication5_frequencyString50RecommendedFifth medication frequencymed_frequency_5, med_frequency_5_12mo
strreason5String255RecommendedReason for prescription 5med_condition_5, med_condition_5_12mo
mdga20aString150RecommendedMedical Illness 1med_past_what_diagnosis_1, med_past_what_diagnosis_1_12mo
strillness1String100RecommendedDate of 1st illnessmed_past_date_1, med_past_date_1_12mo
otherpasttreatmentintervent1_1String100RecommendedOther Past Treatment 1 Interventionmed_past_treatment_1, med_past_treatment_1_12mo
mdga20bString150RecommendedMedical Illness 2med_past_what_diagnosis_2, med_past_what_diagnosis_2_12mo
strillness2String100RecommendedDate of 2nd illnessmed_past_date_2, med_past_date_2_12mo
otherpasttreatmentintervent2_1String100RecommendedOther Past Treatment 2 Interventionmed_past_treatment_2, med_past_treatment_2_12mo
mdga20cString150RecommendedMedical Illness 3med_past_what_diagnosis_3, med_past_what_diagnosis_3_12mo
strillness3String100RecommendedDate of 3rd illnessmed_past_date_3, med_past_date_3_12mo
otherpasttreatmentintervent3_1String100RecommendedOther Past Treatment 3 Interventionmed_past_treatment_3, med_past_treatment_3_12mo
mdga20dString150RecommendedMedical Illness 4med_past_what_diagnosis_4, med_past_what_diagnosis_4_12mo
strillness4String100RecommendedDate of 4th illnessmed_past_date_4, med_past_date_4_12mo
otherpasttreatmentintervent4_1String100RecommendedOther Past Treatment 4 Interventionmed_past_treatment_4, med_past_treatment_4_12mo
mdga20eString150RecommendedMedical Illness 5med_past_what_diagnosis_5, med_past_what_diagnosis_5_12mo
otherpasttreatmentintervent5_1String100RecommendedOther Past Treatment 5 Interventionmed_past_treatment_5, med_past_treatment_5_12mo
strreasonhosp1String50RecommendedReason for 1st hospitalization.med_surg_what_1, med_surg_what_1_12mo
dtmstarthosp1String100RecommendedDate 1st hospitalization beganmed_surg_date_1, med_surg_date_1_12mo
strreasonhosp2String50RecommendedReason for 2nd hospitalization.med_surg_what_2, med_surg_what_2_12mo
dtmstarthosp2String100RecommendedDate 2nd hospitalization beganmed_surg_date_2, med_surg_date_2_12mo
strreasonhosp3String50RecommendedReason for 3rd hospitalization.med_surg_what_3, med_surg_what_3_12mo
dtmstarthosp3String100RecommendedDate 3rd hospitalization beganmed_surg_date_3, med_surg_date_3_12mo
strreasonhosp4String50RecommendedReason for 4th hospitalization.med_surg_what_4, med_surg_what_4_12mo
dtmstarthosp4String100RecommendedDate 4th hospitalization beganmed_surg_date_4, med_surg_date_4_12mo
comments_miscString4,000RecommendedMiscellaneous comments on study, interview, methodology relevant to this form datamed_comments, med_comments_12mo
respondent_other_specifyString50RecommendedRespondent: Other (specify)med_completed_by_other_12mo
med_health_past_weeksString300RecommendedHow has your health been over the past few weeks?med_health_past_weeks_12mo
med_asked_not_to_take_1IntegerRecommendedmed1 - Asked not to take on Scan Day11 = Asked not to takemed_asked_not_to_take_1_12mo
med_asked_not_to_take_2IntegerRecommendedmed2 - Asked not to take on Scan Day11 = Asked not to takemed_asked_not_to_take_2_12mo
med_recent_changes_3String100Recommendedmed3 - Recent Changesmed_recent_changes_3_12mo
med_asked_not_to_take_3IntegerRecommendedmed3 - Asked not to take on Scan Day11 = Asked not to takemed_asked_not_to_take_3_12mo
med_recent_changes_4String100Recommendedmed4 - Recent Changesmed_recent_changes_4_12mo
med_asked_not_to_take_4IntegerRecommendedmed4 - Asked not to take on Scan Day11 = Asked not to takemed_asked_not_to_take_4_12mo
med_recent_changes_5String100Recommendedmed5 - Recent Changesmed_recent_changes_5_12mo
med_asked_not_to_take_5IntegerRecommendedmed5 - Asked not to take on Scan Day11 = Asked not to takemed_asked_not_to_take_5_12mo
med_past_resolved_1IntegerRecommendedillness1 - Resolved11 = Yesmed_past_resolved_1_12mo
med_past_resolved_2IntegerRecommendedillness2 - Resolved11 = Yesmed_past_resolved_2_12mo
med_past_resolved_3IntegerRecommendedillness3 - Resolved11 = Yesmed_past_resolved_3_12mo
med_past_resolved_4IntegerRecommendedillness4 - Resolved11 = Yesmed_past_resolved_4_12mo
med_past_date_5String100Recommendedillness5 - Datemed_past_date_5_12mo
med_past_resolved_5IntegerRecommendedillness5 - Resolved11 = Yesmed_past_resolved_5_12mo
aescodeIntegerRecommendedStaff code number of person completing this formmed_completed_by, med_completed_by_12mo
rev_immunomedallergymedString255RecommendedMedication Allergies: Medicationsmed_allergies, med_allergies_12mo
chf_05String250RecommendedType of other treatmentmed_other_tx, med_other_tx_12mo
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.

Distribution for DataStructure: mvhsp01 and Element:
Chart Help

Filters enable researchers to view the data shared in NDA before applying for access or for selecting specific data for download or NDA Study assignment. For those with access to NDA shared data, you may select specific values to be included by selecting an individual bar chart item or by selecting a range of values (e.g. interview_age) using the "Add Range" button. Note that not all elements have appropriately distinct values like comments and subjectkey and are not available for filtering. Additionally, item level detail is not always provided by the research community as indicated by the number of null values given.

Filters for multiple data elements within a structure are supported. Selections across multiple data structures will be supported in a future version of NDA.