Scenario:
Medical Background:
Dimensions tables : Provider, DRG, Type of Service, Member, ICD9 Codes, Line Of Business, Age, Time.
Fact table: ClaimInpatientFact, ClaimOutpatientfact, ClaimPharmafact, Memberfact.
Granularity of Data: Month level.
Challenge: Decision to have the Age hierarchy(lookup Age -> Lookup Category --> Lookup Group) to link to the Member dimension table or to Memberfact table.
My idea is to have the Age lookups be linked to the Member dimension table since linking it to the Member fact table will increase the size of the fact table and also most of the queries can be answered by linking to the dimension table itself. I am also having the Member Birth Date in the member dimension table so the OLAP tool can be used always to calculate the Member's age. Here I would be able to get the member's age on the date of running the report because the member's age calculation will be current date minus the birth date.
But the requirement is, user wants to find out the Age of the member at a point of a time say memberwise, Agewise, Claim amount for year 2003. So the report should show the member age that was on the year 2003 rather than the current age. So similarly when the user chooses the year 2004 then it should show the current age at that point of time. Can having the age id from the lookup Age table in the Member fact table solve this requirement ? since the fact is stored at the month level. How do I model this and is their any other way.?
Thanks
teccum.