Retro Sampling
1. Manual Pull and Load
If the feed source is not PMHS or Proclaim. If there is no population previous month.
Steps
- Run "Check Population" part from Manual_Pull_(Feed Source Name).sql by using the filters specified in the script.
- From SAM3.sql "Get strata update from SAM3" part, run the query and replace Update query under �Set StrataNo� and run with Alter table query.
- From "GET Population" part, update the @SampleNo, copy the results and replace select query from SAM3_Projection.sql
- Save the script as YYYYMMDD_SAMPLETITLE_Projection.sql and send out to Bud and Alexandra to be sent to DEVOPS.
- After the script run, run "GET Projection" from SAM3.sql
- From the "Get Claims" part, update the strata cursor to desired counts and run the query.
- Copy the result, and paste into Load_To_SAM3_(PG if Sample Type is PG, E2E if E2E, UN if PA/FPG/CE2E).sql
- Update @SampleNo and @ReportMonth to the report month that's being loaded.
- Save the script as the YYYYMMDD_SAMPLETITLE.sql and send out to Bud and Alexandra to be sent to DEVOPS.
- Go into the inventory report and check if the audits are loaded.