Presentation is loading. Please wait.

Presentation is loading. Please wait.

ETL for UCI Injury Rate Dashboard

Similar presentations


Presentation on theme: "ETL for UCI Injury Rate Dashboard"— Presentation transcript:

1 ETL for UCI Injury Rate Dashboard

2 Agenda UCI Injury Rate Dashboard Report Overview Input Files
ETL Data Flow Example of validation queries (refer to IBM validation document for UCI Injury Rate)

3 UCI Injury –Dash board

4 ERMIS-Input Files

5 ETL-UCI Injury Tables Summary
SRM_LOCATION_DEPARTMENT ERM_HC_HOME_DEPARTMENT_DIMENSION ERM_LOCATION_DIMENSION ERM_DATE_DIMENSION ERM_CALENDAR_MONTH_DIMENSION ERM_FISCAL_YEAR_DIMENSION ERM_HC_MONTHLY_PERSONNEL_SNAPSHOT ERM_UCI_BLS_OSHA_FACT ERM_UCI_BLS_PERSONNEL_FACT Note. Per current data model for Cognos, Tables in green are used in UCI Injury report. Table in blue are used in ETL only.

6 UCI Injury Rate ERM_UCI_BLS_OSHA_FACT

7 UCI Injury Rate ERM_UCI_BLS_PERSONNEL

8 ETL-UCI Injury ERM_UCI_BLS_OSHA_FACT (Claims)

9 ETL-UCI Injury ERM_UCI_BLS_PERSONNEL_FACT (RATES)

10 Data Dictionary-UCI Injury Rate

11 ERMIS-UCI Injury Rate Matrics
Cases/Days ALL_OSHA_CLAIMS = All claims based on combination of LOCATION_ID, CALENDAR_MONTH_ID, DEPARTMENT_ID, INCIDENT_TYPE_DESCRIPTION, CLAIM_NUMBER RECORD_ONLY = Number of Claims for Record Only (CLAIM_TYPE_DESCRIPTION =‘Record Only‘ ) . INJURY_CLAIMS = (ALL_OSHA_CLAIMS – RECORD_ONLY ) NON_RECORDABLE_CLAIMS = Number of Claims for (CLAIM_TYPE_DESCRIPTION ='First Aid Unpaid' Or CLAIM_TYPE_DESCRIPTION ='First Aid Paid‘) (This report does not included the following filter: AND NOT (INCIDENT_TYPE_DESCRIPTION='Bloodborn Pathogens' , 'Infectious Disease','Sharps, Needle (Non-Sterile)','Sharps, Needle (Sterile)‘ ,'Sharps, Non-Medical','Sharps, Medical (Sterile)','Sharps, Medical (Non-Sterile)‘) TCIR = (ALL_OSHA_CLAIMS - RECORD_ONLY - NON_RECORDABLE_CLAIMS ) DART_CLAIMS = Number of Claims ( OSHA_WORK_TABLE.OSHA_LOSS_DAYS <> 0 Or OSHA_WORK_TABLE.OSHA_RESTRICTED_DAYS <> 0 ) NON_DART_CLAIMS = (ALL_OSHA_CLAIMS - RECORD_ONLY - NON_RECORDABLE_CLAIMS - DART_CLAIMS ) CALC_OSHA_LOSS_DAYS = Number of Claims (OSHA_LOSS_DAYS <> 0 ) CALC_OSHA_RESTRICTED_DAYS= Number of Claims (OSHA_RESTRICTED_DAYS <> 0 and not overlap with OSHA_LOSS_DAYS) OSHA_LOSS_DAYS = Number of Loss Days (OSHA_LOSS_DAYS <> 0 ) OSHA_RESTRICTED_DAYS = Number of Restricted Days (OSHA_RESTRICTED_DAYS <> 0 ) This report does not include the following filter: DENIED_DATE IS NULL OR (DENIED_DATE IS NULL AND ACCEPTED_DATE IS NOT NULL) OR (ACCEPTED_DATE > DENIED_DATE) WHEN Extract data from OSHA_WORK_TABLE, no filter for TRIM(CLAIM_TYPE_DESCRIPTION) != ('','Pending', NULL) This report limited number of deparments in the report based on table SRM_LOCATION_DEPARTMENT Abbreviation : TCIR = Total Case Incident Rate DART – Days Away Restricted and Transfer

12 Data Stage Job-URL SEQ_UCI_BLS_OSHA_FACT
Note. This report should be generated based on the current code.

13 Data Stage Job-URL SEQ_UCI_BLS_PERSONNEL_FACT
Note. This report should be generated based on the current code.

14 ETL –Mapping document

15 SQL-UCI Injury For number of Claim and Total number of Injuries (Refer to IBM Validation Document for UCI Injury Rate) select Osha.Org_desc, osha.Fiscal_Year, sum((case when((OSHA.C_of_Claims) is null) then (0) else ((OSHA.C_of_Claims)) end)) as C_of_Claims, sum((case when((OSHA.Total_of_Injuries) is null) then (0) else ((OSHA.Total_of_Injuries)) end)) as Total_of_Injuries from (select UBOF.CLAIM_NUMBER as CLAIM_NUMBER, UBOF.DEPT_ID as DEPT_ID, HCDD.HOME_DEPARTMENT_DESCRIPTION as Dept_DESC, case when trim(HCDD.HOME_DEPARTMENT_DESCRIPTION) = 'PARKING & TRANSPORTATION SVCS' then 'Parking and Transportation' when trim(HCDD.HOME_DEPARTMENT_DESCRIPTION) = 'STUDENT AFFAIRS' then 'Student Housing' WHEN trim(HCDD.HOME_DEPARTMENT_DESCRIPTION) = 'UCI FOOD SERVICES' THEN 'Student Housing' when trim(HCDD.HOME_DEPARTMENT_DESCRIPTION) = 'FACILITIES MANAGEMENT' then 'Facilities Management' when trim(HCDD.HOME_DEPARTMENT_DESCRIPTION) = 'HOUSING' then 'Dining Services' end as ORG_DESC, UBOF.CLAIMANT_TYPE_DESC as CLAIMANT_TYPE_DESC, FYDN.FISCAL_YEAR as FISCAL_YEAR, UBOF.FISCAL_YEAR_ID as FISCAL_YEAR_ID, SUM(case when (UBOF.CLAIMANT_TYPE_DESC in ('Indemnity','Medical','Medical-CAE','Future Medical','Pending')) then 1 else 0 end) as C_of_Claims, SUM(case when (UBOF.CLAIMANT_TYPE_DESC in ('First Aid Paid','First Aid Unpaid','Indemnity','Medical','Medical-CAE','Future Medical','Pending')) then 1 else 0 end) as Total_of_Injuries SAFETYINDEX.ERM_UCI_BLS_OSHA_FACT UBOF, SAFETYINDEX.ERM_HC_HOME_DEPARTMENT_DIMENSION HCDD, SAFETYINDEX.ERM_Fiscal_Year_Dimension FYDN where (UBOF.DEPT_ID in (17361,17705,16585,17854)) and (UBOF.LOCATION_ID = 9) and (UBOF.DEPT_ID = HCDD.HOME_DEPARTMENT_ID) and (UBOF.FISCAL_YEAR_ID = FYDN.FISCAL_YEAR_ID) group by UBOF.CLAIM_NUMBER, UBOF.DEPT_ID, HCDD.HOME_DEPARTMENT_DESCRIPTION, when trim(HCDD.HOME_DEPARTMENT_DESCRIPTION) = 'HOUSING' then 'Dining Services' when trim(HCDD.HOME_DEPARTMENT_DESCRIPTION) = 'UCI FOOD SERVICES' then 'Student Housing' end, UBOF.CLAIMANT_TYPE_DESC, FYDN.FISCAL_YEAR, UBOF.FISCAL_YEAR_ID ) as OSHA WHERE --OSHA.ORG_DESC='Parking and Transportation' Change Org Desc OSHA.ORG_DESC='Dining Services' Change Org Desc and Osha.Fiscal_Year between 2005 and Change FY Osha.Org_desc

16 SQL-UCI Injury-Result
For number of Claim and Total number of Injuries- (Refer to IBM Validation Document for UCI Injury Rate)

17 UCI Injury –Dash board

18 Known Facts Employees who has valid claims may be excluded from UCI Injury report for each location due to multiple reasons. Investigation is required to determine a root cause. Current Year(2017) CDW has 2 months lag data Sedgwick has 1 month lag data Employee whose current home department is not in SRM_LOCATION_DEPARTMENT tables will be excluded from this report. Previous Year(<2017)


Download ppt "ETL for UCI Injury Rate Dashboard"

Similar presentations


Ads by Google