Skip to content

Commit

Permalink
Merge pull request #116 from OHDSI/Update-long-term-care-concepts
Browse files Browse the repository at this point in the history
Update concept and page for long term care
  • Loading branch information
bradanton authored Sep 3, 2024
2 parents 754502c + ab4cd45 commit 24c0ec3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/IBM_MDCD/MDCD_stem_long_term_care.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: default
title: Facility Header
title: Long Term Care
nav_order: 6
grand_parent: IBM MDCD
parent: IBM MDCD to STEM
Expand Down
2 changes: 1 addition & 1 deletion docs/IBM_MDCD/MDCD_visit_detail.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ The **VISIT_DETAIL** table will have 1:1 record level referential integrity to *
| VISIT_DETAIL_START_DATETIME | SVCDATE | - | Set time to 00:00:00. |
| VISIT_DETAIL_END_DATE | TSVCDAT (See *Logic* column for exceptions)| If STDPLAC is blank, NULL, does not have a mapping or is equal to 02, 08, 17, 53, 57, 71, 72, 11, 01, 95, 12, 20, 49, 60, 15, 81, 42, 41, 14, 04, 18, 09, 03, 65 or 16 then set visit_detail_end_date equal to visit_detail_start_date. <br><br>If STDPLAC is equal to 23, 24, 19, 25, 50, 62 and TSVCDAT - SVCDATE > 1 then set visit_detail_end_date equal to visit_detail_start_date <br><br>If STDPLAC = 22 and TSVCDAT - SVCDATE > 1 then set VISIT_DETAIL_CONCEPT_ID to 9201 | - |
| VISIT_DETAIL_END_DATETIME | VISIT_DETAIL_END_DATE | - | Set time to 00:00:00. |
| VISIT_DETAIL_TYPE_CONCEPT_ID | - | Set all to `38004277` (Long Term Care Hospital) | Strictly speaking, this is not a type concept. However, there is not type concept that corresponds with long term care so a visit concept was used instead.|
| VISIT_DETAIL_TYPE_CONCEPT_ID | - | Set all to `32844` (Facility Claim) | |
| PROVIDER_ID | PROVID<br>STDPROV | Look up the PROVIDER_ID from the PROVIDER table using PROVID as the PROVIDER_SOURCE_VALUE and STDPROV as the SPECIALITY_SOURCE_VALUE | If there is no associated PROVIDER_ID this should be NULL, not 0 |
| CARE_SITE_ID | - | NULL | - |
| VISIT_DETAIL_SOURCE_VALUE | STPLAC | | - |
Expand Down

0 comments on commit 24c0ec3

Please sign in to comment.