OMOP/inst/CommonDataModel-5.3.1_fixes/OMOP_CDMv5.3.1_Field_Level.csv

58 KiB
Raw Blame History

1cdmTableNamecdmFieldNameisRequiredcdmDatatypeuserGuidanceetlConventionsisPrimaryKeyisForeignKeyfkTableNamefkFieldNamefkDomainfkClassunique DQ identifiers
2PERSONperson_idYesintegerIt is assumed that every person with a different unique identifier is in fact a different person and should be treated independently.Any person linkage that needs to occur to uniquely identify Persons ought to be done prior to writing this table. This identifier can be the original id from the source data provided it is an integer, otherwise it can be an autogenerated number.YesNo
3PERSONgender_concept_idYesintegerThis field is meant to capture the biological sex at birth of the Person. This field should not be used to study gender identity issues.Use the gender or sex value present in the data under the assumption that it is the biological sex at birth. If the source data captures gender identity it should be stored in the OBSERVATION table. Accepted gender concepts.NoYesCONCEPTCONCEPT_IDGender
4PERSONyear_of_birthYesintegerFor data sources with date of birth, the year should be extracted. For data sources where the year of birth is not available, the approximate year of birth could be derived based on age group categorization, if available.NoNo
5PERSONmonth_of_birthNointegerFor data sources that provide the precise date of birth, the month should be extracted and stored in this field.NoNo
6PERSONday_of_birthNointegerFor data sources that provide the precise date of birth, the day should be extracted and stored in this field.NoNo
7PERSONbirth_datetimeNodatetimeCompute age using birth_datetime.For data sources that provide the precise datetime of birth, that value should be stored in this field. If birth_datetime is not provided in the source, use the following logic to infer the date: If day_of_birth is null and month_of_birth is not null then use the first of the month in that year. If month_of_birth is null or if day_of_birth AND month_of_birth are both null and the person has records during their year of birth then use the date of the earliest record, otherwise use the 15th of June of that year. If time of birth is not given use midnight (00:00:0000).NoNo
8PERSONrace_concept_idYesintegerThis field captures race or ethnic background of the person.Only use this field if you have information about race or ethnic background. The Vocabulary contains Concepts about the main races and ethnic backgrounds in a hierarchical system. Due to the imprecise nature of human races and ethnic backgrounds, this is not a perfect system. Mixed races are not supported. If a clear race or ethnic background cannot be established, use Concept_Id 0.NoYesCONCEPTCONCEPT_IDRace
9PERSONethnicity_concept_idYesintegerThis field captures Ethnicity as defined by the Office of Management and Budget (OMB) of the US Government: it distinguishes only between "Hispanic" and "Not Hispanic". Races and Ethnic backgrounds are not stored here.Only use this field if you have US-based data and a source of this information. Do not attempt to infer Ethnicity from the race or ethnic background of the Person.NoYesCONCEPTCONCEPT_IDEthnicity
10PERSONlocation_idNointegerThe location refers to the physical address of the person. This field should capture the last known location of the person. Any prior locations are captured in the LOCATION_HISTORY table.Put the location_id from the LOCATION table here that represents the most granular location information for the person. This could represent anything from postal code or parts thereof, state, or county for example. Since many databases contain deindentified data, it is common that the precision of the location is reduced to prevent re-identification. This field should capture the last known location. Any prior locations are captured in the LOCATION_HISTORY table.NoYesLOCATIONLOCATION_ID
11PERSONprovider_idNointegerThe Provider refers to the last known primary care provider (General Practitioner).Put the provider_id from the PROVIDER table of the last known general practitioner of the person. If there are multiple providers, it is up to the business to decide which to put here.NoYesPROVIDERPROVIDER_ID
12PERSONcare_site_idNointegerThe Care Site refers to where the Provider typically provides the primary care.NoYesCARE_SITECARE_SITE_ID
13PERSONperson_source_valueNovarchar(50)Use this field to link back to persons in the source data. This is typically used for error checking of ETL logic.Some use cases require the ability to link back to persons in the source data. This field allows for the storing of the person value as it appears in the source. This field is not required but strongly recommended.NoNo
14PERSONgender_source_valueNovarchar(50)This field is used to store the biological sex of the person from the source data. It is not intended for use in standard analytics but for reference only.Put the biological sex of the person as it appears in the source data.NoNo
15PERSONgender_source_concept_idNoIntegerDue to the small number of options, this tends to be zero.If the source data codes biological sex in a non-standard vocabulary, store the concept_id here.NoYesCONCEPTCONCEPT_ID
16PERSONrace_source_valueNovarchar(50)This field is used to store the race of the person from the source data. It is not intended for use in standard analytics but for reference only.Put the race of the person as it appears in the source data.NoNo
17PERSONrace_source_concept_idNoIntegerDue to the small number of options, this tends to be zero.If the source data codes race in an OMOP supported vocabulary store the concept_id here.NoYesCONCEPTCONCEPT_ID
18PERSONethnicity_source_valueNovarchar(50)This field is used to store the ethnicity of the person from the source data. It is not intended for use in standard analytics but for reference only.If the person has an ethnicity other than the OMB standard of "Hispanic" or "Not Hispanic" store that value from the source data here.NoNo
19PERSONethnicity_source_concept_idNoIntegerDue to the small number of options, this tends to be zero.If the source data codes ethnicity in an OMOP supported vocabulary, store the concept_id here.NoYesCONCEPTCONCEPT_ID
20OBSERVATION_PERIODobservation_period_idYesintegerA Person can have multiple discrete Observation Periods which are identified by the Observation_Period_Id.Assign a unique observation_period_id to each discrete Observation Period for a Person.YesNo
21OBSERVATION_PERIODperson_idYesintegerThe Person ID of the PERSON record for which the Observation Period is recorded.NoYesPERSONPERSON_ID
22OBSERVATION_PERIODobservation_period_start_dateYesdateUse this date to determine the start date of the Observation PeriodIt is often the case that the idea of Observation Periods does not exist in source data. In those cases, the observation_period_start_date can be inferred as the earliest Event date available for the Person. In insurance claim data, the Observation Period can be considered as the time period the Person is enrolled with a payer. If a Person switches plans but stays with the same payer, and therefore capturing of data continues, that change would be captured in PAYER_PLAN_PERIOD.NoNo
23OBSERVATION_PERIODobservation_period_end_dateYesdateUse this date to determine the end date of the period for which we can assume that all events for a Person are recorded.It is often the case that the idea of Observation Periods does not exist in source data. In those cases, the observation_period_end_date can be inferred as the last Event date available for the Person. In insurance claim data, the Observation Period can be considered as the time period the Person is enrolled with a payer.NoNo
24OBSERVATION_PERIODperiod_type_concept_idYesIntegerThis field can be used to determine the provenance of the Observation Period as in whether the period was determined from an insurance enrollment file, EHR healthcare encounters, or other sources.Choose the observation_period_type_concept_id that best represents how the period was determined.NoYesCONCEPTCONCEPT_IDType Concept
25VISIT_OCCURRENCEvisit_occurrence_idYesintegerUse this to identify unique interactions between a person and the health care system. This identifier links across the other CDM event tables to associate events with a visit.This should be populated by creating a unique identifier for each unique interaction between a person and the healthcare system where the person receives a medical good or service over a span of time.YesNo
26VISIT_OCCURRENCEperson_idYesintegerNoYesPERSONPERSON_ID
27VISIT_OCCURRENCEvisit_concept_idYesintegerThis field contains a concept id representing the kind of visit, like inpatient or outpatient. All concepts in this field should be standard and belong to the Visit domain.Populate this field based on the kind of visit that took place for the person. For example this could be "Inpatient Visit", "Outpatient Visit", "Ambulatory Visit", etc. This table will contain standard concepts in the Visit domain. These concepts are arranged in a hierarchical structure to facilitate cohort definitions by rolling up to generally familiar Visits adopted in most healthcare systems worldwide.NoYesCONCEPTCONCEPT_IDVisit
28VISIT_OCCURRENCEvisit_start_dateYesdateFor inpatient visits, the start date is typically the admission date. For outpatient visits the start date and end date will be the same.When populating visit_start_date, you should think about the patient experience to make decisions on how to define visits. In the case of an inpatient visit this should be the date the patient was admitted to the hospital or institution. In all other cases this should be the date of the patient-provider interaction.NoNo
29VISIT_OCCURRENCEvisit_start_datetimeNodatetimeIf no time is given for the start date of a visit, set it to midnight (00:00:0000).NoNo
30VISIT_OCCURRENCEvisit_end_dateYesdateFor inpatient visits the end date is typically the discharge date.Visit end dates are mandatory. If end dates are not provided in the source there are three ways in which to derive them: Outpatient Visit: visit_end_datetime = visit_start_datetime Emergency Room Visit: visit_end_datetime = visit_start_datetime Inpatient Visit: Usually there is information about discharge. If not, you should be able to derive the end date from the sudden decline of activity or from the absence of inpatient procedures/drugs. Non-hospital institution Visits: Particularly for claims data, if end dates are not provided assume the visit is for the duration of month that it occurs. For Inpatient Visits ongoing at the date of ETL, put date of processing the data into visit_end_datetime and visit_type_concept_id with 32220 "Still patient" to identify the visit as incomplete. All other Visits: visit_end_datetime = visit_start_datetime. If this is a one-day visit the end date should match the start date.NoNo
31VISIT_OCCURRENCEvisit_end_datetimeNodatetimeIf no time is given for the end date of a visit, set it to midnight (00:00:0000).NoNo
32VISIT_OCCURRENCEvisit_type_concept_idYesIntegerUse this field to understand the provenance of the visit record, or where the record comes from.Populate this field based on the provenance of the visit record, as in whether it came from an EHR record or billing claim.NoYesCONCEPTCONCEPT_IDType Concept
33VISIT_OCCURRENCEprovider_idNointegerThere will only be one provider per visit record and the ETL document should clearly state how they were chosen (attending, admitting, etc.). If there are multiple providers associated with a visit in the source, this can be reflected in the event tables (CONDITION_OCCURRENCE, PROCEDURE_OCCURRENCE, etc.) or in the VISIT_DETAIL table.If there are multiple providers associated with a visit, you will need to choose which one to put here. The additional providers can be stored in the visit_detail table.NoYesPROVIDERPROVIDER_ID
34VISIT_OCCURRENCEcare_site_idNointegerThis field provides information about the care site where the visit took place.There should only be one care site associated with a visit.NoYesCARE_SITECARE_SITE_ID
35VISIT_OCCURRENCEvisit_source_valueNovarchar(50)This field houses the verbatim value from the source data representing the kind of visit that took place (inpatient, outpatient, emergency, etc.)If there is information about the kind of visit in the source data that value should be stored here. If a visit is an amalgamation of visits from the source then use a hierarchy to choose the visit source value, such as IP -> ER-> OP. This should line up with the logic chosen to determine how visits are created.NoNo
36VISIT_OCCURRENCEvisit_source_concept_idNointegerIf the visit source value is coded in the source data using an OMOP supported vocabulary put the concept id representing the source value here.NoYesCONCEPTCONCEPT_ID
37VISIT_OCCURRENCEadmitting_source_concept_idNointegerUse this field to determine where the patient was admitted from. This concept is part of the visit domain and can indicate if a patient was admitted to the hospital from a long-term care facility, for example.If available, map the admitted_from_source_value to a standard concept in the visit domain.NoYesCONCEPTCONCEPT_IDVisit
38VISIT_OCCURRENCEadmitting_source_valueNovarchar(50)This information may be called something different in the source data but the field is meant to contain a value indicating where a person was admitted from. Typically this applies only to visits that have a length of stay, like inpatient visits or long-term care visits.NoNo
39VISIT_OCCURRENCEdischarge_to_concept_idNointegerUse this field to determine where the patient was discharged to after a visit. This concept is part of the visit domain and can indicate if a patient was discharged to home or sent to a long-term care facility, for example.If available, map the discharge_to_source_value to a standard concept in the visit domain.NoYesCONCEPTCONCEPT_IDVisit
40VISIT_OCCURRENCEdischarge_to_source_valueNovarchar(50)This information may be called something different in the source data but the field is meant to contain a value indicating where a person was discharged to after a visit, as in they went home or were moved to long-term care. Typically this applies only to visits that have a length of stay of a day or more.NoNo
41VISIT_OCCURRENCEpreceding_visit_occurrence_idNointegerUse this field to find the visit that occured for the person prior to the given visit. There could be a few days or a few years in between.The preceding_visit_id can be used to link a visit immediately preceding the current visit. Note this is not symmetrical, and there is no such thing as a "following_visit_id".NoYesVISIT_OCCURRENCEVISIT_OCCURRENCE_ID
42CONDITION_OCCURRENCEcondition_occurrence_idYesbigintThe unique key given to a condition record for a person. Refer to the ETL for how duplicate conditions during the same visit were handled. Each instance of a condition present in the source data should be assigned this unique key. In some cases, a person can have multiple records of the same condition within the same visit. It is valid to keep these duplicates and assign them individual, unique, CONDITION_OCCURRENCE_IDs, though it is up to the ETL how they should be handled.YesNo
43CONDITION_OCCURRENCEperson_idYesbigintThe PERSON_ID of the PERSON for whom the condition is recorded.NoYesPERSONPERSON_ID
44CONDITION_OCCURRENCEcondition_concept_idYesintegerThe CONDITION_CONCEPT_ID field is recommended for primary use in analyses, and must be used for network studies. This is the standard concept mapped from the source value which represents a conditionThe CONCEPT_ID that the CONDITION_SOURCE_VALUE maps to. Only records whose source values map to concepts with a domain of "Condition" should go in this table. NoYesCONCEPTCONCEPT_IDCondition
45CONDITION_OCCURRENCEcondition_start_dateYesdateUse this date to determine the start date of the conditionMost often data sources do not have the idea of a start date for a condition. Rather, if a source only has one date associated with a condition record it is acceptable to use that date for both the CONDITION_START_DATE and the CONDITION_END_DATE.NoNo
46CONDITION_OCCURRENCEcondition_start_datetimeNodatetimeIf a source does not specify datetime the convention is to set the time to midnight (00:00:0000)NoNo
47CONDITION_OCCURRENCEcondition_end_dateNodateUse this date to determine the end date of the conditionMost often data sources do not have the idea of a start date for a condition. Rather, if a source only has one date associated with a condition record it is acceptable to use that date for both the CONDITION_START_DATE and the CONDITION_END_DATE.NoNo
48CONDITION_OCCURRENCEcondition_end_datetimeNodatetimeIf a source does not specify datetime the convention is to set the time to midnight (00:00:0000)NoNo
49CONDITION_OCCURRENCEcondition_type_concept_idYesintegerThis field can be used to determine the provenance of the Condition record, as in whether the condition was from an EHR system, insurance claim, registry, or other sources.Choose the condition_type_concept_id that best represents the provenance of the record. NoYesCONCEPTCONCEPT_IDType Concept
50CONDITION_OCCURRENCEcondition_status_concept_idNointegerThis concept represents the point during the visit the diagnosis was given (admitting diagnosis, final diagnosis), whether the diagnosis was determined due to laboratory findings, if the diagnosis was exclusionary, or if it was a preliminary diagnosis, among others. Presently, there is no designated vocabulary, domain, or class that represents condition status. The concepts with a relationship_id of "subsumes" with CONCEPT_ID 4021918 "Qualifier for type of diagnosis" should be used. These include admitting diagnosis, principal diagnosis, and secondary diagnosis.NoYesCONCEPTCONCEPT_ID
51CONDITION_OCCURRENCEstop_reasonNovarchar(20)The Stop Reason indicates why a Condition is no longer valid with respect to the purpose within the source data. Note that a Stop Reason does not necessarily imply that the condition is no longer occurring.This information is often not populated in source data and it is a valid etl choice to leave it blank if the information does not exist.NoNo
52CONDITION_OCCURRENCEprovider_idNointegerThe provider associated with condition record. The ETL may need to make a choice as to which PROVIDER_ID to put here. Based on what is available this may or may not be different than the provider associated with the overall VISIT_OCCURRENCE record.NoYesPROVIDERPROVIDER_ID
53CONDITION_OCCURRENCEvisit_occurrence_idNointegerThe visit during which the condition was diagnosed.Depending on the structure of the source data, this may have to be determined based on dates.NoYesVISIT_OCCURRENCEVISIT_OCCURRENCE_ID
54CONDITION_OCCURRENCEvisit_detail_idNointegerThe VISIT_DETAIL record during which the condition was diagnosed. For example, if the person was in the ICU at the time of the diagnosis the VISIT_OCCURRENCE record would reflect the overall hospital stay and the VISIT_DETAIL record would reflect the ICU stay during the hospital visit.NoYesVISIT_DETAILVISIT_DETAIL_ID
55CONDITION_OCCURRENCEcondition_source_valueNovarchar(50)This field is discouraged from use in analysis because it is not required to contain Standard Concepts that are used across the OHDSI community, and should only be used when Standard Concepts do not adequately represent the source detail for the Condition necessary for a given analytic use case. Consider using CONDITION_CONCEPT_ID instead to enable standardized analytics that can be consistent across the network. This code is mapped to a Standard Condition Concept in the Standardized Vocabularies and the original code is stored here for reference.NoNo
56CONDITION_OCCURRENCEcondition_source_concept_idNointegerIf the CONDITION_SOURCE_VALUE is coded in the source data using an OMOP supported vocabulary put the concept id representing the source value here.NoYesCONCEPTCONCEPT_ID
57CONDITION_OCCURRENCEcondition_status_source_valueNovarchar(50)This information may be called something different in the source data but the field is meant to contain a value indicating when and how a diagnosis was given to a patient. This source value is mapped to a standard concept which is stored in the CONDITION_STATUS_CONCEPT_ID field.NoNo
58DRUG_EXPOSUREdrug_exposure_idYesbigintUse this to identify unique dispensings or administrations of a drug product to a personThis should be populated by creating a unique identifier for each unique instance where a person receives a dispensing or administration of a drug.YesNo
59DRUG_EXPOSUREperson_idYesbigintNoYesPERSONPERSON_ID
60DRUG_EXPOSUREdrug_concept_idYesintegerThe DRUG_CONCEPT_ID field is recommended for primary use in analyses, and must be used for network studies. This is the standard concept mapped from the source value which represents a drug product or molecule otherwise introduced to the body.Map source values to standard concepts. All concepts in the DRUG_EXPOSURE table should be in the 'Drug' domain.NoYesCONCEPTCONCEPT_IDDrug
61DRUG_EXPOSUREdrug_exposure_start_dateYesdateValid entries include a start date of a prescription, the date a prescription was filled, or the date on which a Drug administration procedure was recorded.NoNo
62DRUG_EXPOSUREdrug_exposure_start_datetimeNodatetimeIf time is unknown set it to midnight.NoNo
63DRUG_EXPOSUREdrug_exposure_end_dateYesdateThe DRUG_EXPOSURE_END_DATE denotes the day the drug exposure ended for the patient. This could be that the duration of DAYS_SUPPLY was reached, or because the exposure was stopped (medication changed, medication discontinued, etc.). To populate this field, start first with DAYS_SUPPLY using the calculation DRUG_EXPOSURE_END_DATE = DRUG_EXPOSURE_START_DATE + DAYS_SUPPLY -1 day. If DAYS_SUPPLY is not available then use the VERBATIM_END_DATE as it is given in the source data. If there is no verbatim end date then set DRUG_EXPOSURE_END_DATE equal to DRUG_EXPOSURE_START_DATE. When the native data suggests a drug exposure has a days supply less than 0, drop the record as it is unknown if a person has received the drug or not (THEMIS issue #24). If a patient has multiple records on the same day for the same drug or procedures the ETL should not de-dupe them unless there is probable reason to believe the item is a true data duplicate (THEMIS issue #14). Depending on different sources, it could be a known or an inferred date and denotes the last day at which the patient was still exposed to Drug.NoNo
64DRUG_EXPOSUREdrug_exposure_end_datetimeNodatetimeIf time is unknown set it to midnight.NoNo
65DRUG_EXPOSUREverbatim_end_dateNodateThis is the end date as it appears in the source data, if it is given.Put the end date for the drug exposure as it appears in the source data. This may or may not be the same as DRUG_EXPOSURE_END_DATE given the logic for assigning DRUG_EXPOSURE_END_DATE.NoNo
66DRUG_EXPOSUREdrug_type_concept_idYesintegerYou can use the TYPE_CONCEPT_ID to delineate between prescriptions written vs. prescriptions dispensed vs. medication history vs. patient-reported exposureThis field is meant to preserve the provenance of the record. Any standard concepts in the 'Type Concept' domain are valid here. NoYesCONCEPTCONCEPT_IDType Concept
67DRUG_EXPOSUREstop_reasonNovarchar(20)Reason a person stopped a medication. Reasons include regimen completed, changed, removed, etc.NoNo
68DRUG_EXPOSURErefillsNointegerThe content of the refills field determines the current refill number, not the number of remaining refills. For example, for a drug prescription with 2 refills, the content of this field for the 3 Drug Exposure events are null, 1 and 2.NoNo
69DRUG_EXPOSUREquantityNofloatNoNo
70DRUG_EXPOSUREdays_supplyNointegerNoNo
71DRUG_EXPOSUREsigNovarchar(MAX)(and printed on the container)NoNo
72DRUG_EXPOSUREroute_concept_idNointegerRoute information can also be inferred from the Drug product itself by determining the Drug Form of the Concept, creating some partial overlap of the same type of information. Therefore, route information should be stored in DRUG_CONCEPT_ID (as a drug with corresponding Dose Form). The ROUTE_CONCEPT_ID could be used for storing more granular forms e.g. 'Intraventricular cardiac'.NoYesCONCEPTCONCEPT_IDRoute
73DRUG_EXPOSURElot_numberNovarchar(50)NoNo
74DRUG_EXPOSUREprovider_idNointegerNoYesPROVIDERPROVIDER_ID
75DRUG_EXPOSUREvisit_occurrence_idNointegerNoYesVISIT_OCCURRENCEVISIT_OCCURRENCE_ID
76DRUG_EXPOSUREvisit_detail_idNointegerNoYesVISIT_DETAILVISIT_DETAIL_ID
77DRUG_EXPOSUREdrug_source_valueNovarchar(50)This code is mapped to a Standard Drug concept in the Standardized Vocabularies and the original code is, stored here for reference.NoNo
78DRUG_EXPOSUREdrug_source_concept_idNointegerNoYesCONCEPTCONCEPT_ID
79DRUG_EXPOSUREroute_source_valueNovarchar(50)NoNo
80DRUG_EXPOSUREdose_unit_source_valueNovarchar(50)NoNo
81PROCEDURE_OCCURRENCEprocedure_occurrence_idYesintegerYesNo
82PROCEDURE_OCCURRENCEperson_idYesintegerNoYesPERSONPERSON_ID
83PROCEDURE_OCCURRENCEprocedure_concept_idYesintegerNoYesCONCEPTCONCEPT_IDProcedure
84PROCEDURE_OCCURRENCEprocedure_dateYesdateNoNo
85PROCEDURE_OCCURRENCEprocedure_datetimeNodatetimeNoNo
86PROCEDURE_OCCURRENCEprocedure_type_concept_idYesintegerNoYesCONCEPTCONCEPT_IDType Concept
87PROCEDURE_OCCURRENCEmodifier_concept_idNointegerThese concepts are typically distinguished by 'Modifier' concept classes (e.g., 'CPT4 Modifier' as part of the 'CPT4' vocabulary).NoYesCONCEPTCONCEPT_ID
88PROCEDURE_OCCURRENCEquantityNointegerIf the quantity value is omitted, a single procedure is assumed.If a Procedure has a quantity of '0' in the source, this should default to '1' in the ETL. If there is a record in the source it can be assumed the exposure occurred at least once (THEMIS issue #26).NoNo
89PROCEDURE_OCCURRENCEprovider_idNointegerNoNoPROVIDERPROVIDER_ID
90PROCEDURE_OCCURRENCEvisit_occurrence_idNointegerNoNoVISIT_OCCURRENCEVISIT_OCCURRENCE_ID
91PROCEDURE_OCCURRENCEvisit_detail_idNointegerNoNoVISIT_DETAILVISIT_DETAIL_ID
92PROCEDURE_OCCURRENCEprocedure_source_valueNovarchar(50)This code is mapped to a standard procedure Concept in the Standardized Vocabularies and the original code is, stored here for reference. Procedure source codes are typically ICD-9-Proc, CPT-4, HCPCS or OPCS-4 codes.NoNo
93PROCEDURE_OCCURRENCEprocedure_source_concept_idNointegerNoNoCONCEPTCONCEPT_ID
94PROCEDURE_OCCURRENCEmodifier_source_valueNovarchar(50)NoNo
95DEVICE_EXPOSUREdevice_exposure_idYesbigintYesNo
96DEVICE_EXPOSUREperson_idYesbigintNoYesPERSONPERSON_ID
97DEVICE_EXPOSUREdevice_concept_idYesintegerNoYesCONCEPTCONCEPT_IDDevice
98DEVICE_EXPOSUREdevice_exposure_start_dateYesdateNoNo
99DEVICE_EXPOSUREdevice_exposure_start_datetimeNodatetimeNoNo
100DEVICE_EXPOSUREdevice_exposure_end_dateNodateNoNo
101DEVICE_EXPOSUREdevice_exposure_end_datetimeNodatetimeNoNo
102DEVICE_EXPOSUREdevice_type_concept_idYesintegerNoYesCONCEPTCONCEPT_IDType Concept
103DEVICE_EXPOSUREunique_device_idNovarchar(50)For medical devices that are regulated by the FDA, a Unique Device Identification (UDI) is provided if available in the data source and is recorded in the UNIQUE_DEVICE_ID field.NoNo
104DEVICE_EXPOSUREquantityNointegerNoNo
105DEVICE_EXPOSUREprovider_idNointegerNoYesPROVIDERPROVIDER_ID
106DEVICE_EXPOSUREvisit_occurrence_idNointegerNoYesVISIT_OCCURRENCEVISIT_OCCURRENCE_ID
107DEVICE_EXPOSUREvisit_detail_idNointegerNoYesVISIT_DETAILVISIT_DETAIL_ID
108DEVICE_EXPOSUREdevice_source_valueNovarchar(50)NoNo
109DEVICE_EXPOSUREdevice_source_concept_idNointegerNoYesCONCEPTCONCEPT_ID
110MEASUREMENTmeasurement_idYesintegerYesNo
111MEASUREMENTperson_idYesintegerNoYesPERSONPERSON_ID
112MEASUREMENTmeasurement_concept_idYesintegerNoYesCONCEPTCONCEPT_IDMeasurement
113MEASUREMENTmeasurement_dateYesdateNoNo
114MEASUREMENTmeasurement_datetimeNodatetimeNoNo
115MEASUREMENTmeasurement_timeNovarchar(10)This is present for backwards compatibility and will be deprecated in an upcoming versionNoNo
116MEASUREMENTmeasurement_type_concept_idYesintegerNoYesCONCEPTCONCEPT_IDType Concept
117MEASUREMENToperator_concept_idNointegerThe meaning of Concept 4172703 for '=' is identical to omission of a OPERATOR_CONCEPT_ID value. Since the use of this field is rare, it's important when devising analyses to not to forget testing for the content of this field for values different from =.If there is a negative value coming from the source, set the VALUE_AS_NUMBER to NULL, with the exception of the following Measurements (listed as LOINC codes): 1925-7 Base excess in Arterial blood by calculation 1927-3 Base excess in Venous blood by calculation Operators are <, <=, =, >=, > and these concepts belong to the 'Meas Value Operator' domain. 8632-2 QRS-Axis 11555-0 Base excess in Blood by calculation 1926-5 Base excess in Capillary blood by calculation 28638-5 Base excess in Arterial cord blood by calculation 28639-3 Base excess in Venous cord blood by calculation THEMIS issue #16NoYesCONCEPTCONCEPT_ID
118MEASUREMENTvalue_as_numberNofloatNoNo
119MEASUREMENTvalue_as_concept_idNointegerNoYesCONCEPTCONCEPT_ID
120MEASUREMENTunit_concept_idNointegerNoYesCONCEPTCONCEPT_IDUnit
121MEASUREMENTrange_lowNofloatRanges have the same unit as the VALUE_AS_NUMBER.If reference ranges for upper and lower limit of normal as provided (typically by a laboratory) these are stored in the RANGE_HIGH and RANGE_LOW fields. Ranges have the same unit as the VALUE_AS_NUMBER.NoNo
122MEASUREMENTrange_highNofloatRanges have the same unit as the VALUE_AS_NUMBER.NoNo
123MEASUREMENTprovider_idNointegerNoYesPROVIDERPROVIDER_ID
124MEASUREMENTvisit_occurrence_idNointegerNoYesVISIT_OCCURRENCEVISIT_OCCURRENCE_ID
125MEASUREMENTvisit_detail_idNointegerNoYesVISIT_DETAILVISIT_DETAIL_ID
126MEASUREMENTmeasurement_source_valueNovarchar(50)NoNo
127MEASUREMENTmeasurement_source_concept_idNointegerNoYesCONCEPTCONCEPT_ID
128MEASUREMENTunit_source_valueNovarchar(50)NoNo
129MEASUREMENTvalue_source_valueNovarchar(50)NoNo
130VISIT_DETAILvisit_detail_idYesintegerYesNo
131VISIT_DETAILperson_idYesintegerNoYesPERSONPERSON_ID
132VISIT_DETAILvisit_detail_concept_idYesintegerNoYesCONCEPTCONCEPT_IDVisit
133VISIT_DETAILvisit_detail_start_dateYesdateNoNo
134VISIT_DETAILvisit_detail_start_datetimeNodatetimeNoNo
135VISIT_DETAILvisit_detail_end_dateYesdateNoNo
136VISIT_DETAILvisit_detail_end_datetimeNodatetimeNoNo
137VISIT_DETAILvisit_detail_type_concept_idYesIntegerNoYesCONCEPTCONCEPT_IDType Concept
138VISIT_DETAILprovider_idNointegerNoYesPROVIDERPROVIDER_ID
139VISIT_DETAILcare_site_idNointegerNoYesCARE_SITECARE_SITE_ID
140VISIT_DETAILvisit_detail_source_valueNovarchar(50)NoNo
141VISIT_DETAILvisit_detail_source_concept_idNoIntegerNoYesCONCEPTCONCEPT_ID
142VISIT_DETAILadmitting_source_valueNoVarchar(50)NoNo
143VISIT_DETAILadmitting_source_concept_idNoIntegerNoYesCONCEPTCONCEPT_IDVisit
144VISIT_DETAILdischarge_to_source_valueNoVarchar(50)NoNo
145VISIT_DETAILdischarge_to_concept_idNoIntegerNoYesCONCEPTCONCEPT_IDVisit
146VISIT_DETAILpreceding_visit_detail_idNoIntegerNoYesVISIT_DETAILVISIT_DETAIL_ID
147VISIT_DETAILvisit_detail_parent_idNoIntegerNoYesVISIT_DETAILVISIT_DETAIL_ID
148VISIT_DETAILvisit_occurrence_idYesIntegerNoYesVISIT_OCCURRENCEVISIT_OCCURRENCE_ID
149NOTEnote_idYesintegerYesNo
150NOTEperson_idYesintegerNoYesPERSONPERSON_ID
151NOTEnote_dateYesdateNoNo
152NOTEnote_datetimeNodatetimeNoNo
153NOTEnote_type_concept_idYesintegerNoYesCONCEPTCONCEPT_IDType Concept
154NOTEnote_class_concept_idYesintegerNoYesCONCEPTCONCEPT_ID
155NOTEnote_titleNovarchar(250)NoNo
156NOTEnote_textYesvarchar(MAX)NoNo
157NOTEencoding_concept_idYesintegerNoYesCONCEPTCONCEPT_ID
158NOTElanguage_concept_idYesintegerNoYesCONCEPTCONCEPT_ID
159NOTEprovider_idNointegerNoYesPROVIDERPROVIDER_ID
160NOTEvisit_occurrence_idNointegerNoYesVISIT_OCCURRENCEVISIT_OCCURRENCE_ID
161NOTEvisit_detail_idNointegerNoYesVISIT_DETAILVISIT_DETAIL_ID
162NOTEnote_source_valueNovarchar(50)NoNo
163NOTE_NLPnote_nlp_idYesintegerYesNo
164NOTE_NLPnote_idYesintegerNoNo
165NOTE_NLPsection_concept_idNointegerNoYesCONCEPTCONCEPT_ID
166NOTE_NLPsnippetNovarchar(250)NoNo
167NOTE_NLPoffsetNovarchar(50)NoNo
168NOTE_NLPlexical_variantYesvarchar(250)NoNo
169NOTE_NLPnote_nlp_concept_idNointegerNoYesCONCEPTCONCEPT_ID
170NOTE_NLPnote_nlp_source_concept_idNointegerNoYesCONCEPTCONCEPT_ID
171NOTE_NLPnlp_systemNovarchar(250)NoNo
172NOTE_NLPnlp_dateYesdateNoNo
173NOTE_NLPnlp_datetimeNodatetimeNoNo
174NOTE_NLPterm_existsNovarchar(1)Term_exists is defined as a flag that indicates if the patient actually has or had the condition. Any of the following modifiers would make Term_exists false: Negation = true Subject = [anything other than the patient] Conditional = true/li> Rule_out = true Uncertain = very low certainty or any lower certainties A complete lack of modifiers would make Term_exists true. NoNo
175NOTE_NLPterm_temporalNovarchar(50)Term_temporal is to indicate if a condition is <20>present<6E> or just in the <20>past<73>. The following would be past: History = true Concept_date = anything before the time of the reportNoNo
176NOTE_NLPterm_modifiersNovarchar(2000)For the modifiers that are there, they would have to have these values: Negation = false Subject = patient Conditional = false Rule_out = false Uncertain = true or high or moderate or even low (could argue about low). Term_modifiers will concatenate all modifiers for different types of entities (conditions, drugs, labs etc) into one string. Lab values will be saved as one of the modifiers. A list of allowable modifiers (e.g., signature for medications) and their possible values will be standardized later.NoNo
177OBSERVATIONobservation_idYesintegerYesNo
178OBSERVATIONperson_idYesintegerNoYesPERSONPERSON_ID
179OBSERVATIONobservation_concept_idYesintegerNoYesCONCEPTCONCEPT_ID
180OBSERVATIONobservation_dateYesdateNoNo
181OBSERVATIONobservation_datetimeNodatetimeNoNo
182OBSERVATIONobservation_type_concept_idYesintegerNoYesCONCEPTCONCEPT_IDType Concept
183OBSERVATIONvalue_as_numberNofloatNoNo
184OBSERVATIONvalue_as_stringNovarchar(60)NoNo
185OBSERVATIONvalue_as_concept_idNoIntegerNote that the value of VALUE_AS_CONCEPT_ID may be provided through mapping from a source Concept which contains the content of the Observation. In those situations, the CONCEPT_RELATIONSHIP table in addition to the 'Maps to' record contains a second record with the relationship_id set to 'Maps to value'. For example, ICD9CM V17.5 concept_id 44828510 'Family history of asthma' has a 'Maps to' relationship to 4167217 'Family history of clinical finding' as well as a 'Maps to value' record to 317009 'Asthma'.NoYesCONCEPTCONCEPT_ID
186OBSERVATIONqualifier_concept_idNointegerNoYesCONCEPTCONCEPT_ID
187OBSERVATIONunit_concept_idNointegerNoYesCONCEPTCONCEPT_IDUnit
188OBSERVATIONprovider_idNointegerNoYesPROVIDERPROVIDER_ID
189OBSERVATIONvisit_occurrence_idNointegerNoYesVISIT_OCCURRENCEVISIT_OCCURRENCE_ID
190OBSERVATIONvisit_detail_idNointegerNoYesVISIT_DETAILVISIT_DETAIL_ID
191OBSERVATIONobservation_source_valueNovarchar(50)NoNo
192OBSERVATIONobservation_source_concept_idNointegerNoYesCONCEPTCONCEPT_ID
193OBSERVATIONunit_source_valueNovarchar(50)NoNo
194OBSERVATIONqualifier_source_valueNovarchar(50)NoNo
195SPECIMENspecimen_idYesintegerYesNo
196SPECIMENperson_idYesintegerNoYesPERSONPERSON_ID
197SPECIMENspecimen_concept_idYesintegerNoYesCONCEPTCONCEPT_ID
198SPECIMENspecimen_type_concept_idYesintegerNoYesCONCEPTCONCEPT_IDType Concept
199SPECIMENspecimen_dateYesdateNoNo
200SPECIMENspecimen_datetimeNodatetimeNoNo
201SPECIMENquantityNofloatNoNo
202SPECIMENunit_concept_idNointegerNoYesCONCEPTCONCEPT_ID
203SPECIMENanatomic_site_concept_idNointegerNoYesCONCEPTCONCEPT_ID
204SPECIMENdisease_status_concept_idNointegerNoYesCONCEPTCONCEPT_ID
205SPECIMENspecimen_source_idNovarchar(50)NoNo
206SPECIMENspecimen_source_valueNovarchar(50)NoNo
207SPECIMENunit_source_valueNovarchar(50)NoNo
208SPECIMENanatomic_site_source_valueNovarchar(50)NoNo
209SPECIMENdisease_status_source_valueNovarchar(50)NoNo
210FACT_RELATIONSHIPdomain_concept_id_1YesintegerNoYesCONCEPTCONCEPT_ID
211FACT_RELATIONSHIPfact_id_1YesintegerNoNo
212FACT_RELATIONSHIPdomain_concept_id_2YesintegerNoYesCONCEPTCONCEPT_ID
213FACT_RELATIONSHIPfact_id_2YesintegerNoNo
214FACT_RELATIONSHIPrelationship_concept_idYesintegerNoYesCONCEPTCONCEPT_ID
215LOCATIONlocation_idYesintegerYesNo
216LOCATIONaddress_1Novarchar(50)NoNo
217LOCATIONaddress_2Novarchar(50)NoNo
218LOCATIONcityNovarchar(50)NoNo
219LOCATIONstateNovarchar(2)NoNo
220LOCATIONzipNovarchar(9)Zip codes are handled as strings of up to 9 characters length. For US addresses, these represent either a 3-digit abbreviated Zip code as provided by many sources for patient protection reasons, the full 5-digit Zip or the 9-digit (ZIP + 4) codes. Unless for specific reasons analytical methods should expect and utilize only the first 3 digits. For international addresses, different rules apply.NoNo
221LOCATIONcountyNovarchar(20)NoNo
222LOCATIONlocation_source_valueNovarchar(50)NoNo
223CARE_SITEcare_site_idYesintegerAssign an id to each unique combination of location_id and place_of_service_source_valueYesNo
224CARE_SITEcare_site_nameNovarchar(255)The name of the care_site as it appears in the source dataNoNo
225CARE_SITEplace_of_service_concept_idNointegerThis is a high-level way of characterizing a Care Site. Typically, however, Care Sites can provide care in multiple settings (inpatient, outpatient, etc.) and this granularity should be reflected in the visit.Choose the concept in the visit domain that best represents the setting in which healthcare is provided in the Care Site. If most visits in a Care Site are Inpatient, then the place_of_service_concept_id should represent Inpatient. If information is present about a unique Care Site (e.g. Pharmacy) then a Care Site record should be created.NoYesCONCEPTCONCEPT_ID
226CARE_SITElocation_idNointegerThe location_id from the LOCATION table representing the physical location of the care_site.NoYesLOCATIONLOCATION_ID
227CARE_SITEcare_site_source_valueNovarchar(50)The identifier of the care_site as it appears in the source data. This could be an identifier separate from the name of the care_site.NoNo
228CARE_SITEplace_of_service_source_valueNovarchar(50)Put the place of service of the care_site as it appears in the source data.NoNo
229PROVIDERprovider_idYesintegerIt is assumed that every provider with a different unique identifier is in fact a different person and should be treated independently.This identifier can be the original id from the source data provided it is an integer, otherwise it can be an autogenerated number.YesNo
230PROVIDERprovider_nameNovarchar(255)This field is not necessary as it is not necessary to have the actual identity of the Provider. Rather, the idea is to uniquely and anonymously identify providers of care across the database.NoNo
231PROVIDERnpiNovarchar(20)This is the National Provider Number issued to health care providers in the US by the Centers for Medicare and Medicaid Services (CMS).NoNo
232PROVIDERdeaNovarchar(20)This is the identifier issued by the DEA, a US federal agency, that allows a provider to write prescriptions for controlled substances.NoNo
233PROVIDERspecialty_concept_idNointegerThis field either represents the most common specialty that occurs in the data or the most specific concept that represents all specialties listed, should the provider have more than one. This includes physician specialties such as internal medicine, emergency medicine, etc. and allied health professionals such as nurses, midwives, and pharmacists.If a Provider has more than one Specialty, there are two options: 1. Choose a concept_id which is a common ancestor to the multiple specialties, or, 2. Choose the specialty that occurs most often for the provider. Concepts in this field should be Standard with a domain of Provider.NoYesCONCEPTCONCEPT_ID
234PROVIDERcare_site_idNointegerThis is the CARE_SITE_ID for the location that the provider primarily practices in.If a Provider has more than one Care Site, the main or most often exerted CARE_SITE_ID should be recorded.NoYesCARE_SITECARE_SITE_ID
235PROVIDERyear_of_birthNointegerNoNo
236PROVIDERgender_concept_idNointegerThis field represents the recorded gender of the provider in the source data.If given, put a concept from the gender domain representing the recorded gender of the provider.NoYesCONCEPTCONCEPT_IDGender
237PROVIDERprovider_source_valueNovarchar(50)Use this field to link back to providers in the source data. This is typically used for error checking of ETL logic.Some use cases require the ability to link back to providers in the source data. This field allows for the storing of the provider identifier as it appears in the source.NoNo
238PROVIDERspecialty_source_valueNovarchar(50)This is the kind of provider or specialty as it appears in the source data. This includes physician specialties such as internal medicine, emergency medicine, etc. and allied health professionals such as nurses, midwives, and pharmacists.Put the kind of provider as it appears in the source data. This field is up to the discretion of the ETL-er as to whether this should be the coded value from the source or the text description of the lookup value.NoNo
239PROVIDERspecialty_source_concept_idNointegerThis is often zero as many sites use propietary codes to store physician speciality.If the source data codes provider specialty in an OMOP supported vocabulary store the concept_id here.NoYesCONCEPTCONCEPT_ID
240PROVIDERgender_source_valueNovarchar(50)This is provider's gender as it appears in the source data.Put the provider's gender as it appears in the source data. This field is up to the discretion of the ETL-er as to whether this should be the coded value from the source or the text description of the lookup value.NoNo
241PROVIDERgender_source_concept_idNointegerThis is often zero as many sites use propietary codes to store provider gender.If the source data codes provider gender in an OMOP supported vocabulary store the concept_id here.NoYesCONCEPTCONCEPT_ID
242PAYER_PLAN_PERIODpayer_plan_period_idYesintegerA unique identifier for each unique combination of a Person, Payer, Plan, and Period of time.YesYesPERSONPERSON_ID
243PAYER_PLAN_PERIODperson_idYesintegerThe Person covered by the Plan.A single Person can have multiple, overlapping, PAYER_PLAN_PERIOD recordsNoYesPERSONPERSON_ID
244PAYER_PLAN_PERIODpayer_plan_period_start_dateYesdateStart date of Plan coverage.NoNo
245PAYER_PLAN_PERIODpayer_plan_period_end_dateYesdateEnd date of Plan coverage.NoNo
246PAYER_PLAN_PERIODpayer_concept_idNointegerThis field represents the organization who reimburses the provider which administers care to the Person.Map the Payer directly to a standard CONCEPT_ID. If one does not exists please contact the vocabulary team. There is no global controlled vocabulary available for this information. The point is to stratify on this information and identify if Persons have the same payer, though the name of the Payer is not necessary.NoYesCONCEPTCONCEPT_ID
247PAYER_PLAN_PERIODpayer_source_valueNovarchar(50)This is the Payer as it appears in the source data.NoNo
248PAYER_PLAN_PERIODpayer_source_concept_idNointegerIf the source data codes the Payer in an OMOP supported vocabulary store the concept_id here.NoYesCONCEPTCONCEPT_ID
249PAYER_PLAN_PERIODplan_concept_idNointegerThis field represents the specific health benefit Plan the Person is enrolled in.Map the Plan directly to a standard CONCEPT_ID. If one does not exists please contact the vocabulary team. There is no global controlled vocabulary available for this information. The point is to stratify on this information and identify if Persons have the same health benefit Plan though the name of the Plan is not necessary.NoYesCONCEPTCONCEPT_ID
250PAYER_PLAN_PERIODplan_source_valueNovarchar(50)This is the health benefit Plan of the Person as it appears in the source data.NoNo
251PAYER_PLAN_PERIODplan_source_concept_idNointegerIf the source data codes the Plan in an OMOP supported vocabulary store the concept_id here.NoYesCONCEPTCONCEPT_ID
252PAYER_PLAN_PERIODsponsor_concept_idNointegerThis field represents the sponsor of the Plan who finances the Plan. This includes self-insured, small group health plan and large group health plan.Map the sponsor directly to a standard CONCEPT_ID. If one does not exists please contact the vocabulary team. There is no global controlled vocabulary available for this information. The point is to stratify on this information and identify if Persons have the same sponsor though the name of the sponsor is not necessary.NoYesCONCEPTCONCEPT_ID
253PAYER_PLAN_PERIODsponsor_source_valueNovarchar(50)The Plan sponsor as it appears in the source data.NoNo
254PAYER_PLAN_PERIODsponsor_source_concept_idNointegerIf the source data codes the sponsor in an OMOP supported vocabulary store the concept_id here.NoYesCONCEPTCONCEPT_ID
255PAYER_PLAN_PERIODfamily_source_valueNovarchar(50)The common identifier for all people (often a family) that covered by the same policy.Often these are the common digits of the enrollment id of the policy members.NoNo
256PAYER_PLAN_PERIODstop_reason_concept_idNointegerThis field represents the reason the Person left the Plan, if known.Map the stop reason directly to a standard CONCEPT_ID. If one does not exists please contact the vocabulary team. There is no global controlled vocabulary available for this information.NoYesCONCEPTCONCEPT_ID
257PAYER_PLAN_PERIODstop_reason_source_valueNovarchar(50)The Plan stop reason as it appears in the source data.NoNo
258PAYER_PLAN_PERIODstop_reason_source_concept_idNointegerIf the source data codes the stop reason in an OMOP supported vocabulary store the concept_id here.NoYesCONCEPTCONCEPT_ID
259COSTcost_idYesINTEGERYesNo
260COSTcost_event_idYesINTEGERNoNo
261COSTcost_domain_idYesVARCHAR(20)NoYesDOMAINDOMAIN_ID
262COSTcost_type_concept_idYesintegerNoYesCONCEPTCONCEPT_ID
263COSTcurrency_concept_idNointegerNoYesCONCEPTCONCEPT_ID
264COSTtotal_chargeNoFLOATNoNo
265COSTtotal_costNoFLOATNoNo
266COSTtotal_paidNoFLOATNoNo
267COSTpaid_by_payerNoFLOATNoNo
268COSTpaid_by_patientNoFLOATNoNo
269COSTpaid_patient_copayNoFLOATNoYesCONCEPTCONCEPT_ID
270COSTpaid_patient_coinsuranceNoFLOATNoNo
271COSTpaid_patient_deductibleNoFLOATNoNo
272COSTpaid_by_primaryNoFLOATNoNo
273COSTpaid_ingredient_costNoFLOATNoNo
274COSTpaid_dispensing_feeNoFLOATNoNo
275COSTpayer_plan_period_idNoINTEGERNoNo
276COSTamount_allowedNoFLOATNoNo
277COSTrevenue_code_concept_idNointegerNoYesCONCEPTCONCEPT_ID
278COSTrevenue_code_source_valueNoVARCHAR(50)Revenue codes are a method to charge for a class of procedures and conditions in the U.S. hospital system.NoNo
279COSTdrg_concept_idNointegerNoYesCONCEPTCONCEPT_ID
280COSTdrg_source_valueNoVARCHAR(3)Diagnosis Related Groups are US codes used to classify hospital cases into one of approximately 500 groups. NoNo
281DRUG_ERAdrug_era_idYesintegerYesNo
282DRUG_ERAperson_idYesintegerNoYesPERSONPERSON_ID
283DRUG_ERAdrug_concept_idYesintegerNoYesCONCEPTCONCEPT_IDDrugIngredient
284DRUG_ERAdrug_era_start_dateYesdatetimeThe Drug Era Start Date is the start date of the first Drug Exposure for a given ingredient. (NOT RIGHT)NoNo
285DRUG_ERAdrug_era_end_dateYesdatetimeThe Drug Era End Date is the end date of the last Drug Exposure. The End Date of each Drug Exposure is either taken from the field drug_exposure_end_date or, as it is typically not available, inferred using the following rules: For pharmacy prescription data, the date when the drug was dispensed plus the number of days of supply are used to extrapolate the End Date for the Drug Exposure. Depending on the country-specific healthcare system, this supply information is either explicitly provided in the day_supply field or inferred from package size or similar information. For Procedure Drugs, usually the drug is administered on a single date (i.e., the administration date). A standard Persistence Window of 30 days (gap, slack) is permitted between two subsequent such extrapolated DRUG_EXPOSURE records to be considered to be merged into a single Drug Era. (ARENT WE REQUIRING TO USE DRUG_EXPOSURE_END_DATE NOW????)NoNo
286DRUG_ERAdrug_exposure_countNointegerNoNo
287DRUG_ERAgap_daysNointegerThe Gap Days determine how many total drug-free days are observed between all Drug Exposure events that contribute to a DRUG_ERA record. It is assumed that the drugs are "not stockpiled" by the patient, i.e. that if a new drug prescription or refill is observed (a new DRUG_EXPOSURE record is written), the remaining supply from the previous events is abandoned. The difference between Persistence Window and Gap Days is that the former is the maximum drug-free time allowed between two subsequent DRUG_EXPOSURE records, while the latter is the sum of actual drug-free days for the given Drug Era under the above assumption of non-stockpiling.NoNo
288DOSE_ERAdose_era_idYesintegerYesNo
289DOSE_ERAperson_idYesintegerNoYesPERSONPERSON_ID
290DOSE_ERAdrug_concept_idYesintegerNoYesCONCEPTCONCEPT_IDDrugIngredient
291DOSE_ERAunit_concept_idYesintegerNoYesCONCEPTCONCEPT_IDUnit
292DOSE_ERAdose_valueYesfloatNoNo
293DOSE_ERAdose_era_start_dateYesdatetimeNoNo
294DOSE_ERAdose_era_end_dateYesdatetimeNoNo
295CONDITION_ERAcondition_era_idYesintegerYesNo
296CONDITION_ERAperson_idYesintegerNoNoPERSONPERSON_ID
297CONDITION_ERAcondition_concept_idYesintegerNoYesCONCEPTCONCEPT_IDCondition
298CONDITION_ERAcondition_era_start_dateYesdatetimeNoNo
299CONDITION_ERAcondition_era_end_dateYesdatetimeNoNo
300CONDITION_ERAcondition_occurrence_countNointegerNoNo
301CONCEPTconcept_idYesintegerYesNo
302CONCEPTconcept_nameYesvarchar(255)NoNo
303CONCEPTdomain_idYesvarchar(20)NoYesDOMAINDOMAIN_ID
304CONCEPTvocabulary_idYesvarchar(20)NoYesVOCABULARYVOCABULARY_ID
305CONCEPTconcept_class_idYesvarchar(20)NoYesCONCEPT_CLASSCONCEPT_CLASS_ID
306CONCEPTstandard_conceptNovarchar(1)NoNo
307CONCEPTconcept_codeYesvarchar(50)NoNo
308CONCEPTvalid_start_dateYesdateNoNo
309CONCEPTvalid_end_dateYesdateNoNo
310CONCEPTinvalid_reasonNovarchar(1)NoNo
311VOCABULARYvocabulary_idYesvarchar(20)YesNo
312VOCABULARYvocabulary_nameYesvarchar(255)NoNo
313VOCABULARYvocabulary_referenceYesvarchar(255)NoNo
314VOCABULARYvocabulary_versionNovarchar(255)NoNo
315VOCABULARYvocabulary_concept_idYesintegerNoYesCONCEPTCONCEPT_ID
316DOMAINdomain_idYesvarchar(20)YesNo
317DOMAINdomain_nameYesvarchar(255)NoNo
318DOMAINdomain_concept_idYesintegerNoYesCONCEPTCONCEPT_ID
319CONCEPT_CLASSconcept_class_idYesvarchar(20)YesNo
320CONCEPT_CLASSconcept_class_nameYesvarchar(255)NoNo
321CONCEPT_CLASSconcept_class_concept_idYesintegerNoYesCONCEPTCONCEPT_ID
322CONCEPT_RELATIONSHIPconcept_id_1YesintegerNoYesCONCEPTCONCEPT_ID
323CONCEPT_RELATIONSHIPconcept_id_2YesintegerNoYesCONCEPTCONCEPT_ID
324CONCEPT_RELATIONSHIPrelationship_idYesvarchar(20)NoYesRELATIONSHIPRELATIONSHIP_ID
325CONCEPT_RELATIONSHIPvalid_start_dateYesdateNoNo
326CONCEPT_RELATIONSHIPvalid_end_dateYesdateNoNo
327CONCEPT_RELATIONSHIPinvalid_reasonNovarchar(1)NoNo
328RELATIONSHIPrelationship_idYesvarchar(20)YesNo
329RELATIONSHIPrelationship_nameYesvarchar(255)NoNo
330RELATIONSHIPis_hierarchicalYesvarchar(1)NoNo
331RELATIONSHIPdefines_ancestryYesvarchar(1)NoNo
332RELATIONSHIPreverse_relationship_idYesvarchar(20)NoNo
333RELATIONSHIPrelationship_concept_idYesintegerNoYesCONCEPTCONCEPT_ID
334CONCEPT_SYNONYMconcept_idYesintegerNoYesCONCEPTCONCEPT_ID
335CONCEPT_SYNONYMconcept_synonym_nameYesvarchar(1000)NoNo
336CONCEPT_SYNONYMlanguage_concept_idYesintegerNoYesCONCEPTCONCEPT_ID
337CONCEPT_ANCESTORancestor_concept_idYesintegerNoYesCONCEPTCONCEPT_ID
338CONCEPT_ANCESTORdescendant_concept_idYesintegerNoYesCONCEPTCONCEPT_ID
339CONCEPT_ANCESTORmin_levels_of_separationYesintegerNoNo
340CONCEPT_ANCESTORmax_levels_of_separationYesintegerNoNo
341SOURCE_TO_CONCEPT_MAPsource_codeYesvarchar(50)NoNo
342SOURCE_TO_CONCEPT_MAPsource_concept_idYesintegerNoYesCONCEPTCONCEPT_ID
343SOURCE_TO_CONCEPT_MAPsource_vocabulary_idYesvarchar(20)NoNo
344SOURCE_TO_CONCEPT_MAPsource_code_descriptionNovarchar(255)NoNo
345SOURCE_TO_CONCEPT_MAPtarget_concept_idYesintegerNoYesCONCEPTCONCEPT_ID
346SOURCE_TO_CONCEPT_MAPtarget_vocabulary_idYesvarchar(20)NoYesVOCABULARYVOCABULARY_ID
347SOURCE_TO_CONCEPT_MAPvalid_start_dateYesdateNoNo
348SOURCE_TO_CONCEPT_MAPvalid_end_dateYesdateNoNo
349SOURCE_TO_CONCEPT_MAPinvalid_reasonNovarchar(1)NoNo
350DRUG_STRENGTHdrug_concept_idYesintegerNoYesCONCEPTCONCEPT_ID
351DRUG_STRENGTHingredient_concept_idYesintegerNoYesCONCEPTCONCEPT_ID
352DRUG_STRENGTHamount_valueNofloatNoNo
353DRUG_STRENGTHamount_unit_concept_idNointegerNoYesCONCEPTCONCEPT_ID
354DRUG_STRENGTHnumerator_valueNofloatNoNo
355DRUG_STRENGTHnumerator_unit_concept_idNointegerNoYesCONCEPTCONCEPT_ID
356DRUG_STRENGTHdenominator_valueNofloatNoNo
357DRUG_STRENGTHdenominator_unit_concept_idNointegerNoYesCONCEPTCONCEPT_ID
358DRUG_STRENGTHbox_sizeNointegerNoNo
359DRUG_STRENGTHvalid_start_dateYesdateNoNo
360DRUG_STRENGTHvalid_end_dateYesdateNoNo
361DRUG_STRENGTHinvalid_reasonNovarchar(1)NoNo
362COHORT_DEFINITIONcohort_definition_idYesintegerNoNo
363COHORT_DEFINITIONcohort_definition_nameYesvarchar(255)NoNo
364COHORT_DEFINITIONcohort_definition_descriptionNovarchar(MAX)NoNo
365COHORT_DEFINITIONdefinition_type_concept_idYesintegerNoYesCONCEPTCONCEPT_ID
366COHORT_DEFINITIONcohort_definition_syntaxNovarchar(MAX)NoNo
367COHORT_DEFINITIONsubject_concept_idYesintegerNoYesCONCEPTCONCEPT_ID
368COHORT_DEFINITIONcohort_initiation_dateNodateNoNo
369ATTRIBUTE_DEFINITIONattribute_definition_idYesintegerNoNo
370ATTRIBUTE_DEFINITIONattribute_nameYesvarchar(255)NoNo
371ATTRIBUTE_DEFINITIONattribute_descriptionNovarchar(MAX)NoNo
372ATTRIBUTE_DEFINITIONattribute_type_concept_idYesintegerNoYesCONCEPTCONCEPT_ID
373ATTRIBUTE_DEFINITIONattribute_syntaxNovarchar(MAX)NoNo
374METADATAmetadata_concept_idYesintegerNoYesCONCEPTCONCEPT_ID
375METADATAmetadata_type_concept_idYesintegerNoYesCONCEPTCONCEPT_ID
376METADATAnameYesvarchar(250)NoNo
377METADATAvalue_as_stringNovarchar(250)NoNo
378METADATAvalue_as_concept_idNointegerNoYesCONCEPTCONCEPT_ID
379METADATAmetadata_dateNodateNoNo
380METADATAmetadata_datetimeNodatetimeNoNo
381CDM_SOURCEcdm_source_nameYesvarchar(255)NoNo
382CDM_SOURCEcdm_source_abbreviationNovarchar(25)NoNo
383CDM_SOURCEcdm_holderNovarchar(255)NoNo
384CDM_SOURCEsource_descriptionNovarchar(MAX)NoNo
385CDM_SOURCEsource_documentation_referenceNovarchar(255)NoNo
386CDM_SOURCEcdm_etl_referenceNovarchar(255)NoNo
387CDM_SOURCEsource_release_dateNodateNoNo
388CDM_SOURCEcdm_release_dateNodateNoNo
389CDM_SOURCEcdm_versionNovarchar(10)NoNo
390CDM_SOURCEvocabulary_versionNovarchar(20)NoNo
391DEATHperson_idNointegerNoNo
392DEATHdeath_dateNodateNoNo
393DEATHdeath_datetimeNodatetimeNoNo
394DEATHdeath_type_concept_idNointegerNoYesCONCEPTCONCEPT_IDType Concept
395DEATHcause_concept_idNointegerNoYesCONCEPTCONCEPT_ID
396DEATHcause_source_valueNovarchar(50)NoNo
397DEATHcause_source_concept_idNointegerNoYesCONCEPTCONCEPT_ID