Skip to content

Commit

Permalink
remove medicaid code which converts bene_id_deid to patient_num as me…
Browse files Browse the repository at this point in the history
…dicaid data is not in 2014 data #5205
  • Loading branch information
lav-patel committed Apr 23, 2018
1 parent 23897f0 commit 01fbe46
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions deid/bene_id_mapping.sql
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,6 @@ create table pmap_parts (
);
alter table pmap_parts parallel (degree 12);

insert /*+ APPEND */ into pmap_parts
select /*+ PARALLEL(bene_id_mapping,12) */
bmap.bene_id_deid, null msis_id_deid, null state_cd,
coalesce(to_number(bmap.bene_id_deid), bene_id_deid_seq.nextval) patient_num
from bene_id_mapping bmap
;
commit;

-- Insert bene_id_deid mappings
-- Distinct because one bene_id may be linked to multiple msis_id + state_cd and
Expand Down

0 comments on commit 01fbe46

Please sign in to comment.