Skip to main content

location_history

Table name: location_history

Reading from encounters_clean_0_0.csv

Destination FieldSource fieldLogicComment field
entity_idpatient_deiden_id
location_history_idAuto increment
entity_domainFill with 1147314 Value (this value is linked to Person)
location_idDerived in location table
start_dateencounter_effective_date
end_dateencounter_effective_date
location_typeFill with Home
location_type_concept_idFill with 4139502(this value is for Home)
current_locationBinary flag for most up-to-date location for person in the database