From 139e492731fd1d121fea82cbe882ec05637e845c Mon Sep 17 00:00:00 2001 From: clairblacketer Date: Tue, 5 Jun 2018 12:25:15 -0400 Subject: [PATCH] Fixed flipped columns --- StandardizedClinicalDataTables/VISIT_DETAIL.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/StandardizedClinicalDataTables/VISIT_DETAIL.md b/StandardizedClinicalDataTables/VISIT_DETAIL.md index cbdb0c7..b5abcdc 100644 --- a/StandardizedClinicalDataTables/VISIT_DETAIL.md +++ b/StandardizedClinicalDataTables/VISIT_DETAIL.md @@ -15,13 +15,13 @@ Field|Required|Type|Description |care_site_id |No|integer|A foreign key to the care site in the care site table that was visited.| |visit_source_value |No|string(50)|The source code for the visit as it appears in the source data.| |visit_source_concept_id |No|Integer|A foreign key to a Concept that refers to the code used in the source.| -|admitting_source_value |Varchar(50)| No| The source code for the admitting source as it appears in the source data.| -|admitting_source_concept_id |Integer |No |A foreign key to the predefined concept in the Place of Service Vocabulary reflecting the admitting source for a visit.| -|discharge_to_source_value | Varchar(50)| No| The source code for the discharge disposition as it appears in the source data.| -|discharge_to_concept_id | Integer |No |A foreign key to the predefined concept in the Place of Service Vocabulary reflecting the discharge disposition for a visit.| -|preceding_visit_detail_id |Integer| No |A foreign key to the VISIT_DETAIL table of the visit immediately preceding this visit| -|visit_detail_parent_id |Integer| No |A foreign key to the VISIT_DETAIL table record to represent the immediate parent visit-detail record.| -|visit_occurrence_id |Integer| Yes |A foreign key that refers to the record in the VISIT_OCCURRENCE table. This is a required field, because for every visit_detail is a child of visit_occurrence and cannot exist without a corresponding parent record in visit_occurrence.| +|admitting_source_value | No|Varchar(50)| The source code for the admitting source as it appears in the source data.| +|admitting_source_concept_id |No |Integer |A foreign key to the predefined concept in the Place of Service Vocabulary reflecting the admitting source for a visit.| +|discharge_to_source_value | No| Varchar(50)| The source code for the discharge disposition as it appears in the source data.| +|discharge_to_concept_id |No | Integer |A foreign key to the predefined concept in the Place of Service Vocabulary reflecting the discharge disposition for a visit.| +|preceding_visit_detail_id |No |Integer| A foreign key to the VISIT_DETAIL table of the visit immediately preceding this visit| +|visit_detail_parent_id | No |Integer|A foreign key to the VISIT_DETAIL table record to represent the immediate parent visit-detail record.| +|visit_occurrence_id | Yes |Integer|A foreign key that refers to the record in the VISIT_OCCURRENCE table. This is a required field, because for every visit_detail is a child of visit_occurrence and cannot exist without a corresponding parent record in visit_occurrence.| ### Conventions