| You can run these rules in a browser, using the Internet Business Logic system | at www.reengineeringllc.com | There are many different ''incident types' .There are about 7, including injury, | spillage,explosion, etc. H&S incident this-number is of type this-type ============================================== I1 fire I2 flood | Each incident type has a large number of attributes which | need to be recorded at a low level. | There may be many injuries for each incident | | Let's take our fire. | Say it has been caused by an explosion and caused 2 injuries and a fatality. for H&S incident this-number the non numeric property this-property has description this-description =================================================================================================== I1 cause explosion I1 region North East I2 cause dam failure I2 region Midwest for H&S incident this-number the numeric property this-attribute has value this-value ===================================================================================== I1 number of injured people 2 I1 number of deaths 1 I1 estimated cost 10000 I1 work days lost 55 I2 number of injured people 0 I2 number of deaths 0 I2 estimated cost 300 I2 work days lost 10 | I'll also want to see something like show me all those incidents with an | injury, all those which result in days away from work, those based on | spillage etc. H&S incident some-number is of type some-type for H&S incident that-number the non numeric property some-property has description some-description for H&S incident that-number the numeric property some-attribute has value some-value ---------------------------------------------------------------------------------------------------- H&S incident that-number that-type has that-property that-description and some-attribute some-value for H&S incident some-number the numeric property work days lost has value some-lost-days ------------------------------------------------------------------------------------------- for H&S incident that-number the work days lost are those-lost-days sum some-lost-days : for H&S incident that-number the work days lost are some-lost-days = a-total -------------------------------------------------------------------------------------------------- the overall number of work days lost is that-total