Skip to content

visit_detail - some minor corrections - condition_occurrence and visit_type_concept_id#116

Merged
clairblacketer merged 2 commits into
OHDSI:masterfrom
gowthamrao:master
Oct 2, 2017
Merged

visit_detail - some minor corrections - condition_occurrence and visit_type_concept_id#116
clairblacketer merged 2 commits into
OHDSI:masterfrom
gowthamrao:master

Conversation

@gowthamrao

Copy link
Copy Markdown
Member

No description provided.

gowthamrao and others added 2 commits September 15, 2017 12:05
Correction - visit_detail_concept_id should be just visit_concept_id; because in the same domain. Otherwise we will have to systematically rename all _concept_id fields in visit_detail into _detail_concept_id; e.g. 

visit_type_concept_id to visit_detail_type_concept_id
admitting_source_concept_id to admitting_detail_source_concept_id

makes it long and difficult in join statements etc
@gowthamrao gowthamrao changed the title correction to condition_occurrence - missing visit_detail_id visit_detail - some minor corrections - condition_occurrence and visit_type_concept_id Sep 18, 2017
| provider_id | No | integer | A foreign key to the Provider in the PROVIDER table who was responsible for capturing (diagnosing) the Condition. |
| visit_occurrence_id | No | integer | A foreign key to the visit in the VISIT_OCCURRENCE table during which the Condition was determined (diagnosed). | visit_detail_id | No | integer | A foreign key to the visit in the VISIT_DETAIL table during which the Condition was determined (diagnosed). |
| visit_occurrence_id | No | integer | A foreign key to the visit in the VISIT_OCCURRENCE table during which the Condition was determined (diagnosed). |
| visit_detail_id | No | integer | A foreign key to the visit in the VISIT_DETAIL table during which the Condition was determined (diagnosed). | visit_detail_id | No | integer | A foreign key to the visit in the VISIT_DETAIL table during which the Condition was determined (diagnosed). |

@MaximMoinat MaximMoinat Sep 26, 2017

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that the visit_detail_id row is duplicated on the same line. The table renders fine, but maybe still better to remove the duplicated information.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MaximMoinat I thought so too but when I looked at the rendered version of the table there is only one line for visit_detail_id

@MaximMoinat

Copy link
Copy Markdown
Collaborator

Was about to make the same pull request, so thanks for creating this already.
In addition, the VISIT_DETAIL.md has an issue with the 'admitting_source_concept_id'. The columns are shifted. Same problem with the VISIT_OCCURRENCE.md table.

Could you also make those small fixes and update the pull request? Thanks in advance

@clairblacketer clairblacketer merged commit df2d439 into OHDSI:master Oct 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants