The VISIT_DETAIL and table has four columns representing admission source and discharge disposition:
admitting_source_concept_id
admitting_source_value
discharge_to_concept_id
discharge_to_source_value
The description of admitting_source_concept_id is: "A foreign key to the predefined concept in the Place of Service Vocabulary reflecting the admitting source for a visit."
I think the word "source" here is inconsistent with the use of the word source in other columns: admitting_source_value is the original data, and next to it we should have admitting_concept_id for the standardized data, not admitting_source_concept_id.
While on this topic, perhaps the column names could be changed to enhance consistency and clarity in the data. Some potential prefix alternatives:
admitted_from and discharged_to
admission_ and discharge_
from_ and to_
Happy to separate the latter part out to a separate issue if it's desired.
The VISIT_DETAIL and table has four columns representing admission source and discharge disposition:
admitting_source_concept_idadmitting_source_valuedischarge_to_concept_iddischarge_to_source_valueThe description of
admitting_source_concept_idis: "A foreign key to the predefined concept in the Place of Service Vocabulary reflecting the admitting source for a visit."I think the word "source" here is inconsistent with the use of the word source in other columns:
admitting_source_valueis the original data, and next to it we should haveadmitting_concept_idfor the standardized data, notadmitting_source_concept_id.While on this topic, perhaps the column names could be changed to enhance consistency and clarity in the data. Some potential prefix alternatives:
admitted_fromanddischarged_toadmission_anddischarge_from_andto_Happy to separate the latter part out to a separate issue if it's desired.