Table cms.mbsf_d_2011
Overview for cms.mbsf_d_2011
Primary Key: FILE, RECORD
SQL/DDL Statement
CREATE TABLE cms.mbsf_d_2011 (
BENE_ID VARCHAR(15),
RFRNC_YR INT,
CRDCOVSW VARCHAR(1),
PLNCOVMO VARCHAR(2),
RDSCOVMO VARCHAR(2),
DUAL_MO VARCHAR(2),
CNTRCT01 VARCHAR(5),
CNTRCT02 VARCHAR(5),
CNTRCT03 VARCHAR(5),
CNTRCT04 VARCHAR(5),
CNTRCT05 VARCHAR(5),
CNTRCT06 VARCHAR(5),
CNTRCT07 VARCHAR(5),
CNTRCT08 VARCHAR(5),
CNTRCT09 VARCHAR(5),
CNTRCT10 VARCHAR(5),
CNTRCT11 VARCHAR(5),
CNTRCT12 VARCHAR(5),
PBPID01 VARCHAR(3),
PBPID02 VARCHAR(3),
PBPID03 VARCHAR(3),
PBPID04 VARCHAR(3),
PBPID05 VARCHAR(3),
PBPID06 VARCHAR(3),
PBPID07 VARCHAR(3),
PBPID08 VARCHAR(3),
PBPID09 VARCHAR(3),
PBPID10 VARCHAR(3),
PBPID11 VARCHAR(3),
PBPID12 VARCHAR(3),
SGMTID01 VARCHAR(3),
SGMTID02 VARCHAR(3),
SGMTID03 VARCHAR(3),
SGMTID04 VARCHAR(3),
SGMTID05 VARCHAR(3),
SGMTID06 VARCHAR(3),
SGMTID07 VARCHAR(3),
SGMTID08 VARCHAR(3),
SGMTID09 VARCHAR(3),
SGMTID10 VARCHAR(3),
SGMTID11 VARCHAR(3),
SGMTID12 VARCHAR(3),
CSTSHR01 VARCHAR(2),
CSTSHR02 VARCHAR(2),
CSTSHR03 VARCHAR(2),
CSTSHR04 VARCHAR(2),
CSTSHR05 VARCHAR(2),
CSTSHR06 VARCHAR(2),
CSTSHR07 VARCHAR(2),
CSTSHR08 VARCHAR(2),
CSTSHR09 VARCHAR(2),
CSTSHR10 VARCHAR(2),
CSTSHR11 VARCHAR(2),
CSTSHR12 VARCHAR(2),
RDSIND01 VARCHAR(1),
RDSIND02 VARCHAR(1),
RDSIND03 VARCHAR(1),
RDSIND04 VARCHAR(1),
RDSIND05 VARCHAR(1),
RDSIND06 VARCHAR(1),
RDSIND07 VARCHAR(1),
RDSIND08 VARCHAR(1),
RDSIND09 VARCHAR(1),
RDSIND10 VARCHAR(1),
RDSIND11 VARCHAR(1),
RDSIND12 VARCHAR(1),
DUAL_01 VARCHAR(2),
DUAL_02 VARCHAR(2),
DUAL_03 VARCHAR(2),
DUAL_04 VARCHAR(2),
DUAL_05 VARCHAR(2),
DUAL_06 VARCHAR(2),
DUAL_07 VARCHAR(2),
DUAL_08 VARCHAR(2),
DUAL_09 VARCHAR(2),
DUAL_10 VARCHAR(2),
DUAL_11 VARCHAR(2),
DUAL_12 VARCHAR(2),
FILE VARCHAR(128),
RECORD BIGSERIAL,
YEAR INT GENERATED ALWAYS AS (RFRNC_YR) STORED,
PRIMARY KEY (FILE, RECORD)
);
CREATE INDEX mbsf_d_2011_FILE_idx ON cms.mbsf_d_2011 USING BTREE (FILE) ;
COMMENT ON table cms.mbsf_d_2011 IS 'CREATED BY Dorieh: {"version": "0.2.3", "url": "https://github.com/NSAPH-Data-Platform/dorieh", "commit": "bf4644403297aaf478f6a42717508dde55da409a"}. Created at 2024-08-12 13:31:09.336820';
Columns:
Column Name |
Column Type |
Datatype |
---|---|---|
VARCHAR(15) |
||
VARCHAR(5) |
||
VARCHAR(5) |
||
VARCHAR(5) |
||
VARCHAR(5) |
||
VARCHAR(5) |
||
VARCHAR(5) |
||
VARCHAR(5) |
||
VARCHAR(5) |
||
VARCHAR(5) |
||
VARCHAR(5) |
||
VARCHAR(5) |
||
VARCHAR(5) |
||
VARCHAR(1) |
||
VARCHAR(2) |
||
VARCHAR(2) |
||
VARCHAR(2) |
||
VARCHAR(2) |
||
VARCHAR(2) |
||
VARCHAR(2) |
||
VARCHAR(2) |
||
VARCHAR(2) |
||
VARCHAR(2) |
||
VARCHAR(2) |
||
VARCHAR(2) |
||
VARCHAR(2) |
||
VARCHAR(2) |
||
VARCHAR(2) |
||
VARCHAR(2) |
||
VARCHAR(2) |
||
VARCHAR(2) |
||
VARCHAR(2) |
||
VARCHAR(2) |
||
VARCHAR(2) |
||
VARCHAR(2) |
||
VARCHAR(2) |
||
VARCHAR(2) |
||
VARCHAR(2) |
||
VARCHAR(2) |
||
file |
VARCHAR(128) |
|
VARCHAR(3) |
||
VARCHAR(3) |
||
VARCHAR(3) |
||
VARCHAR(3) |
||
VARCHAR(3) |
||
VARCHAR(3) |
||
VARCHAR(3) |
||
VARCHAR(3) |
||
VARCHAR(3) |
||
VARCHAR(3) |
||
VARCHAR(3) |
||
VARCHAR(3) |
||
VARCHAR(2) |
||
VARCHAR(2) |
||
VARCHAR(1) |
||
VARCHAR(1) |
||
VARCHAR(1) |
||
VARCHAR(1) |
||
VARCHAR(1) |
||
VARCHAR(1) |
||
VARCHAR(1) |
||
VARCHAR(1) |
||
VARCHAR(1) |
||
VARCHAR(1) |
||
VARCHAR(1) |
||
VARCHAR(1) |
||
BIGSERIAL |
||
INT |
||
VARCHAR(3) |
||
VARCHAR(3) |
||
VARCHAR(3) |
||
VARCHAR(3) |
||
VARCHAR(3) |
||
VARCHAR(3) |
||
VARCHAR(3) |
||
VARCHAR(3) |
||
VARCHAR(3) |
||
VARCHAR(3) |
||
VARCHAR(3) |
||
VARCHAR(3) |
||
generated |
INT |