Skip to content

VISIT_DETAIL/VISIT_OCCURRENCE admission column name is inconsistent #153

@alistairewj

Description

@alistairewj

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.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions