sunz msd business rules
DESCRIPTION
TRANSCRIPT
![Page 1: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/1.jpg)
Is it more than just smoke and mirrors?
Presented byGrant Tucker &Mike O’Rourke Ministry of Social Development
(Centre for Social Research & Evaluation
![Page 2: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/2.jpg)
• You’ve brought the hardware
• Licensed and install the software (hopefully SAS!)
• Loaded some data onto the server(s)
![Page 3: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/3.jpg)
So how come you can’t answer the question?
![Page 4: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/4.jpg)
It’s all about us!
• Administer around 300,000 benefits• Pay 465,000 pensions• Grant 57,000 student allowances• Approve 143,000 student loans• Receive 46,000 notifications of possible child
abuse• Issue 1.2 million CSC cards• 50,000 Benefit investigations
![Page 5: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/5.jpg)
• 9,000 staff
• 200 locations
• 5 Associate Ministers
• 2 Ministers
• 1 CEO
![Page 6: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/6.jpg)
• SWIFTT• UCV
• SOLO• SAL • CYF• KEA• ABT
• BRC
• CMS
• SHAC
• WAM
• TRCE
• WIO
![Page 7: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/7.jpg)
• SWIFTT 197 tables 3,420 fields
• UCV 107 tables 999 fields
• SOLO 214 tables 2,030 fields
• SAL 229 tables 3,202 fields
• CYF 218 tables 3,082 fields
• KEA 97 tables 2,290 fields
• BRC 15 tables 188 fields
• CMS 126 tables 1,868 fields
• SHAC 202 tables 3,317 fields
• WAM 105 tables 993 fields
• TRCE 115 tables 1,830
• WIO 10 tables 54 fields
• ABT 2 tables 30 fields
![Page 8: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/8.jpg)
• Overall 11 Billion records
• In over 2,200 tables
• With over 38,000 fields
![Page 9: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/9.jpg)
So how do YOU make sense of all this?
• What do you do when that urgent question comes in ?
• “How many left handed Lithuanians with a lisp are there in Lyttleton?”
• PANIC!!
![Page 10: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/10.jpg)
• Are you tired of running around in a panic?
• Want to avoid those tense meetings with the CEO to explain why the numbers have changed?
• Are you sick of it being a new “adventure” to reproduce earlier numbers?
• We were! So …..going back…way back..
![Page 11: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/11.jpg)
Back to 1995
• Food poisoned All Blacks lose to SA in Rugby World Cup final
• DSW decide to invest in a data warehouse
• DSW starts business rule process
![Page 12: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/12.jpg)
IAP Data Warehouse Implementation
• Replication of operational systems tables
• Tracks and date-timestamps every change
• Raw feed – no cleansing – warts & all
• Ability to recreate data at any point in time since replication started
• SWIFTT since July 1996
• Currently 18 systems are replicated
![Page 13: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/13.jpg)
Business Rules
The building blocks for turning data into information
![Page 14: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/14.jpg)
What is a business rule?
![Page 15: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/15.jpg)
What is a business rule?
• An agreed definition to describe and quantify a business count or measure
• The “thing” being counted should be pertinent and countable
![Page 16: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/16.jpg)
Why have Business Rules?
![Page 17: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/17.jpg)
Why have Business Rules?
• Consistency
• Transparency
• Productivity
• Business Continuity
![Page 18: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/18.jpg)
Consistency
• One Version of the truth
• All analysts get the same result
• Auditors and forecasters love consistency
![Page 19: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/19.jpg)
Transparency
• Reflects what the operational system(s) show
• Ability to drill down to the unit records
• Auditable
![Page 20: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/20.jpg)
Productivity
• Training new staff• Training existing staff moving into new areas• Frees up experts from explaining and QA• Build programs from the code rule blocks
![Page 21: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/21.jpg)
Continuity
• Documenting ‘Intellectual Property’ often held in personal programs or people’s heads
• Covers for staff turnover – they move on but the rules remain
![Page 22: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/22.jpg)
Business Rule Group
• Initially reps from Income Support & SPA
• Dedicated co-ordinator
![Page 23: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/23.jpg)
Business Rules Process
• Meet regularly every fortnight
• Prioritise rules to be developed
• Delegate work item
• Prepare draft rules
• Review draft rules
• Arrange signoff of finalised rules
![Page 24: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/24.jpg)
What’s produced
• Plain English description of what the rule produces
• Any “Gotchas” or health warnings• Technical description of how the rule is
built• SAS code version of the rule ready to roll• Available from a web based Word
document
![Page 25: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/25.jpg)
For Example
CHILDREN INCLUDED IN A BENEFIT - ReplicaModule NamePRNTCHDOBrief DescriptionDetermine if children included in benefit from Replica tables.Business RulesInclude all current recipients (except NZ Super) based on status of benefit. Due to the fact that NZ Superannuitants do not get paid more if they have dependant children, children details are not usually recorded unless a supplementary like Disability Allowance is paid.Select relationship records from RELAT. Find the latest relationship record for each child and check indicators and dates to see if the child is included in the benefit at the time of the extract.The Replica date to be used must be as at the day after the end of the period being reported on. Notes: 1. Replica tables post 8 March 1998 are created as at the end of SWIFTT processing and prior to the evening’s batch processing (before expiries) each day. Tables created prior to 9 March 1998 were not extracted at a particular point in the processing cycle.
![Page 26: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/26.jpg)
Code RulesRead SBEN to extract details of all current records for selected service codes.
Use SERV to select appropriate service codes.Use SRVST = ‘3’ (Current) and SRVST = ‘4’ with RSNCT = ‘071’ (Paid by Director)
to select current records.Sort extracted sben records by SWN, SERV.Read RELAT to extract latest relationship records for a child and check to ensure child included at time of table.
Use RELTYP = ‘1’ (Relationship between caregiver and child).Use FROMDT to ensure relationship details apply on or before date of table.
Sort extracted relat records by SWN, SERV.Merge SBEN and RELAT records by SWN and SERVSort merged sben and relat records by SWN, SERV,CHSWN,INPDT, FROMDT.Identify current children.
Find latest record for a child and ensure:MAINTS not = ‘I’ (Inactive, child excluded) andFROMDT = or less than table date andTODT = . or TODT greater than or equal to the table date.
Define the date for the Replica extract.
![Page 27: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/27.jpg)
SAS Code*************************************INPUTS*****************************************;%let dd = 15 ; *Change these for day ;%let mmm = JUN ; * month ;%let yy = 01 ; * year of Replica extract ;* Updated: 25 May 1999 - Check FROMDT not = . included in RELAT selection ;* Updated: 7 June 2001 - DPB check in RELAT to ensure CHIND = 'Y' removed ;************************************************************************************;*********************prntchdo-Children included ************************************;data sben (drop = repdate filedate maints); set SWF&ORG..sben (keep = swn serv aport srtet srvst repdate filedate maints where = (%extora(&dd&mmm&yy)
and (srvst = '3' or (srvst = '4' and rsncd = '071')) and (serv in ('020','320'))));run;************************* sort for merge with Relat ********************************; proc sort data = sben nodupkey; by swn serv;run;***************************** Reconstitute Relat ***********************************;data relat (drop = repdate filedate ); set SWF&ORG..relat (keep = reltyp fromdt todt swn serv chswn inpdt chind repdate filedate maints where = (%extora(&dd&mmm&yy) and (serv ne '060') and reltyp = '1' and (fromdt not = . and fromdt <= "&dd&mmm&yy"d) and maints ne 'I' and (todt =. or todt >= "&dd&mmm&yy"d)));run;.....
![Page 28: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/28.jpg)
Issues faced
• Poor system documentation
• Lack of inhouse systems experts due to out sourced system development & turnover
• Other work load limited people’s ability to progress Business Rules work
• Difficulty reconciling to operational system reports
![Page 29: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/29.jpg)
Addresses the issues
• Access to case dictionary information• Get Corporate DBAs to focus on
completeness & accuracy of documentation • Build relationships with Business Analysts• Build relationships with expert users• Dedicated Business Rules team• Access to operational systems for cross
checking
![Page 30: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/30.jpg)
Addressing the issues
• Leverage on transparency of IAP replica
• If you want valuable information captured, make it valuable to those who capture it
• KPIs
• Feedback the information to staff to use in their day to day work
![Page 31: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/31.jpg)
Lessons learnt
• Requires organisational commitment• It takes time and effort• Need right level of representation in the
Business Rule group• Chip away at the individual building blocks
that make up a measure• Acknowledge that they’re only as good as
the data in the operational systems
![Page 32: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/32.jpg)
But once you’ve got the Building Blocks
![Page 33: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/33.jpg)
Build!!
![Page 34: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/34.jpg)
And Build
![Page 35: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/35.jpg)
And build
![Page 36: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/36.jpg)
And Build
![Page 37: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/37.jpg)
And Build
![Page 38: Sunz Msd Business Rules](https://reader036.vdocument.in/reader036/viewer/2022081602/546e7846b4af9fa5268b46a7/html5/thumbnails/38.jpg)
The End
Any Questions?