Skip to main content

person

Table name: person

Reading from encounters_clean_0_0.csv

Destination FieldSource fieldLogicComment field
person_idpatient_deiden_idPerson ID is the source ID from IDR after the project name and deidentification database intialization date.
person_source_valuepatient_deiden_idPerson Source Value is the source ID from IDR after the project name and deidentification database intialization date.
gender_source_valuesexPopulated using the most recent sex.
gender_concept_idsexPopulated using a curated map table based on the gender_source_value. If the value is null then it is defaulted to 0
race_concept_idracePopulated using a curated map table based on the race_source_value.
race_source_valueracePopulated using the most recent value that is NOT IN ('PATIENT REFUSED', 'UNKNOWN').
ethnicity_concept_idethnicityPopulated using a curated map table based on the ethnicity_source value.
ethnicity_source_valueethnicityPopulated using the most recent value that is NOT IN ('PATIENT REFUSED', 'UNKNOWN').
year_of_birthbirth_dateYear_of_birth is derived from birth_date. Please see the sheet map_table for additional mapping details
month_of_birthbirth_datemonth_of_birth is derived from birth_date. Please see the sheet map_table for additional mapping details
day_of_birthbirth_dateday_of_birth is derived from birth_date. Please see the sheet map_table for additional mapping details
birth_datetimebirth_dateUse birth_date to populate birth_datetime and default the time to midnight
location_idPopulated using most recent city,zip, state from the zip 9 or encounters file
provider_idNot populated
care_site_idNot Populated
gender_source_concept_idNot populated
race_source_concept_idNot populated
ethnicity_source_concept_idNot Populated