Changes between Version 2 and Version 3 of BluePrintIncidentReporting


Ignore:
Timestamp:
08/23/10 08:09:20 (11 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrintIncidentReporting

    v2 v3  
    66[http://eden.sahanafoundation.org/attachment/wiki/BluePrintIncidentReporting/Usability%20Suggestion%20for%20IRS.doc Usability Suggestion for IRS.doc]
    77 * All points for this document have been actioned, except:
    8  * "Put a “search” button after the search column" for irs/report. This might not be required as the search will happen automatically on key-press and this will involve going into DataTables API.
     8 * "Put a “search” button after the search column" for irs/report. This might not be required as the search will happen automatically on key-press and this will involve going into !DataTables API.
     9
     10== Simplified Categories ==
     11 * #508
     12Currently db.irs_ireport.category uses a dict of categories from the Candian ems.incident. name space defined in {{{models/irs.py}}}):
     13{{{
     14irs_incident_type_opts = {
     15    1:T("animalHealth.animalDieOff"),
     16    2:T("animalHealth.animalFeed"),
     17    3:T("aviation.aircraftCrash"),
     18    4:T("aviation.aircraftHijacking"),
     19    5:T("aviation.airportClosure"),
     20    6:T("aviation.airspaceClosure"),
     21    7:T("aviation.noticeToAirmen"),
     22    8:T("aviation.spaceDebris"),
     23    9:T("civil.demonstrations"),
     24    10:T("civil.dignitaryVisit"),
     25    11:T("civil.displacedPopulations"),
     26    12:T("civil.emergency"),
     27    13:T("civil.looting"),
     28    14:T("civil.publicEvent"),
     29    15:T("civil.riot"),
     30    16:T("civil.volunteerRequest"),
     31    17:T("crime.bomb"),
     32    18:T("crime.bombExplosion"),
     33    19:T("crime.bombThreat"),
     34    20:T("crime.dangerousPerson"),
     35    21:T("crime.drugs"),
     36    22:T("crime.homeCrime"),
     37    23:T("crime.illegalImmigrant"),
     38    24:T("crime.industrialCrime"),
     39    25:T("crime.poisoning"),
     40    26:T("crime.retailCrime"),
     41    27:T("crime.shooting"),
     42    28:T("crime.stowaway"),
     43    29:T("crime.terrorism"),
     44    30:T("crime.vehicleCrime"),
     45    31:T("fire.forestFire"),
     46    32:T("fire.hotSpot"),
     47    33:T("fire.industryFire"),
     48    34:T("fire.smoke"),
     49    35:T("fire.urbanFire"),
     50    36:T("fire.wildFire"),
     51    37:T("flood.damOverflow"),
     52    38:T("flood.flashFlood"),
     53    39:T("flood.highWater"),
     54    40:T("flood.overlandFlowFlood"),
     55    41:T("flood.tsunami"),
     56    42:T("geophysical.avalanche"),
     57    43:T("geophysical.earthquake"),
     58    44:T("geophysical.lahar"),
     59    45:T("geophysical.landslide"),
     60    46:T("geophysical.magneticStorm"),
     61    47:T("geophysical.meteorite"),
     62    48:T("geophysical.pyroclasticFlow"),
     63    49:T("geophysical.pyroclasticSurge"),
     64    50:T("geophysical.volcanicAshCloud"),
     65    51:T("geophysical.volcanicEvent"),
     66    52:T("hazardousMaterial.biologicalHazard"),
     67    53:T("hazardousMaterial.chemicalHazard"),
     68    54:T("hazardousMaterial.explosiveHazard"),
     69    55:T("hazardousMaterial.fallingObjectHazard"),
     70    56:T("hazardousMaterial.infectiousDisease"),
     71    57:T("hazardousMaterial.poisonousGas"),
     72    58:T("hazardousMaterial.radiologicalHazard"),
     73    59:T("health.infectiousDisease"),
     74    60:T("health.infestation"),
     75    61:T("ice.iceberg"),
     76    62:T("ice.icePressure"),
     77    63:T("ice.rapidCloseLead"),
     78    64:T("ice.specialIce"),
     79    65:T("marine.marineSecurity"),
     80    66:T("marine.nauticalAccident"),
     81    67:T("marine.nauticalHijacking"),
     82    68:T("marine.portClosure"),
     83    69:T("marine.specialMarine"),
     84    70:T("meteorological.blizzard"),
     85    71:T("meteorological.blowingSnow"),
     86    72:T("meteorological.drought"),
     87    73:T("meteorological.dustStorm"),
     88    74:T("meteorological.fog"),
     89    75:T("meteorological.freezingDrizzle"),
     90    76:T("meteorological.freezingRain"),
     91    77:T("meteorological.freezingSpray"),
     92    78:T("meteorological.hail"),
     93    79:T("meteorological.hurricane"),
     94    80:T("meteorological.rainFall"),
     95    81:T("meteorological.snowFall"),
     96    82:T("meteorological.snowSquall"),
     97    83:T("meteorological.squall"),
     98    84:T("meteorological.stormSurge"),
     99    85:T("meteorological.thunderstorm"),
     100    86:T("meteorological.tornado"),
     101    87:T("meteorological.tropicalStorm"),
     102    88:T("meteorological.waterspout"),
     103    89:T("meteorological.winterStorm"),
     104    90:T("missingPerson.amberAlert"),
     105    91:T("missingPerson.missingVulnerablePerson"),
     106    92:T("missingPerson.silver"),
     107    93:T("publicService.emergencySupportFacility"),
     108    94:T("publicService.emergencySupportService"),
     109    95:T("publicService.schoolClosure"),
     110    96:T("publicService.schoolLockdown"),
     111    97:T("publicService.serviceOrFacility"),
     112    98:T("publicService.transit"),
     113    99:T("railway.railwayAccident"),
     114    100:T("railway.railwayHijacking"),
     115    101:T("roadway.bridgeClosure"),
     116    102:T("roadway.hazardousRoadConditions"),
     117    103:T("roadway.roadwayAccident"),
     118    104:T("roadway.roadwayClosure"),
     119    105:T("roadway.roadwayDelay"),
     120    106:T("roadway.roadwayHijacking"),
     121    107:T("roadway.roadwayUsageCondition"),
     122    108:T("roadway.trafficReport"),
     123    109:T("temperature.arcticOutflow"),
     124    110:T("temperature.coldWave"),
     125    111:T("temperature.flashFreeze"),
     126    112:T("temperature.frost"),
     127    113:T("temperature.heatAndHumidity"),
     128    114:T("temperature.heatWave"),
     129    115:T("temperature.windChill"),
     130    116:T("wind.galeWind"),
     131    117:T("wind.hurricaneForceWind"),
     132    118:T("wind.stormForceWind"),
     133    119:T("wind.strongWind")
     134}
     135}}}
     136
     137We need a simplified version of these to be presented to users whilst keeping the full set available for EM professionals.
     138
     139The back-end should NOT be easily customised as otherwise it is hard to share data between instances.
     140
     141proposal:
     142{{{
     143irs_incident_type_opts = {
     144    1:T("animalHealth.animalDieOff"),
     145    2:T("animalHealth.animalFeed"),
     146    3:T("aviation.aircraftCrash"),
     147    4:T("aviation.aircraftHijacking"),
     148    5:T("aviation.airportClosure"),
     149    6:T("aviation.airspaceClosure"),
     150    7:T("aviation.noticeToAirmen"),
     151    8:T("aviation.spaceDebris"),
     152    9:T("civil.demonstrations"),
     153    10:T("civil.dignitaryVisit"),
     154    11:T("civil.displacedPopulations"),
     155    12:T("civil.emergency"),
     156    13:T("civil.looting"),
     157    14:T("civil.publicEvent"),
     158    15:T("civil.riot"),
     159    16:T("civil.volunteerRequest"),
     160    17:T("crime.bomb"),
     161    18:T("crime.bombExplosion"),
     162    19:T("crime.bombThreat"),
     163    20:T("crime.dangerousPerson"),
     164    21:T("crime.drugs"),
     165    22:T("crime.homeCrime"),
     166    23:T("crime.illegalImmigrant"),
     167    24:T("crime.industrialCrime"),
     168    25:T("crime.poisoning"),
     169    26:T("crime.retailCrime"),
     170    27:T("crime.shooting"),
     171    28:T("crime.stowaway"),
     172    29:T("crime.terrorism"),
     173    30:T("crime.vehicleCrime"),
     174    31:T("fire.forestFire"),
     175    32:T("fire.hotSpot"),
     176    33:T("fire.industryFire"),
     177    34:T("fire.smoke"),
     178    35:T("fire.urbanFire"),
     179    36:T("fire.wildFire"),
     180    37:T("flood.damOverflow"),
     181    38:T("flood.flashFlood"),
     182    39:T("flood.highWater"),
     183    40:T("flood.overlandFlowFlood"),
     184    41:T("flood.tsunami"),
     185    42:T("geophysical.avalanche"),
     186    43:T("geophysical.earthquake"),
     187    44:T("geophysical.lahar"),
     188    45:T("geophysical.landslide"),
     189    46:T("geophysical.magneticStorm"),
     190    47:T("geophysical.meteorite"),
     191    48:T("geophysical.pyroclasticFlow"),
     192    49:T("geophysical.pyroclasticSurge"),
     193    50:T("geophysical.volcanicAshCloud"),
     194    51:T("geophysical.volcanicEvent"),
     195    52:T("hazardousMaterial.biologicalHazard"),
     196    53:T("hazardousMaterial.chemicalHazard"),
     197    54:T("hazardousMaterial.explosiveHazard"),
     198    55:T("hazardousMaterial.fallingObjectHazard"),
     199    56:T("hazardousMaterial.infectiousDisease"),
     200    57:T("hazardousMaterial.poisonousGas"),
     201    58:T("hazardousMaterial.radiologicalHazard"),
     202    59:T("health.infectiousDisease"),
     203    60:T("health.infestation"),
     204    61:T("ice.iceberg"),
     205    62:T("ice.icePressure"),
     206    63:T("ice.rapidCloseLead"),
     207    64:T("ice.specialIce"),
     208    65:T("marine.marineSecurity"),
     209    66:T("marine.nauticalAccident"),
     210    67:T("marine.nauticalHijacking"),
     211    68:T("marine.portClosure"),
     212    69:T("marine.specialMarine"),
     213    70:T("meteorological.blizzard"),
     214    71:T("meteorological.blowingSnow"),
     215    72:T("meteorological.drought"),
     216    73:T("meteorological.dustStorm"),
     217    74:T("meteorological.fog"),
     218    75:T("meteorological.freezingDrizzle"),
     219    76:T("meteorological.freezingRain"),
     220    77:T("meteorological.freezingSpray"),
     221    78:T("meteorological.hail"),
     222    79:T("meteorological.hurricane"),
     223    80:T("meteorological.rainFall"),
     224    81:T("meteorological.snowFall"),
     225    82:T("meteorological.snowSquall"),
     226    83:T("meteorological.squall"),
     227    84:T("meteorological.stormSurge"),
     228    85:T("meteorological.thunderstorm"),
     229    86:T("meteorological.tornado"),
     230    87:T("meteorological.tropicalStorm"),
     231    88:T("meteorological.waterspout"),
     232    89:T("meteorological.winterStorm"),
     233    90:T("missingPerson.amberAlert"),
     234    91:T("missingPerson.missingVulnerablePerson"),
     235    92:T("missingPerson.silver"),
     236    93:T("publicService.emergencySupportFacility"),
     237    94:T("publicService.emergencySupportService"),
     238    95:T("publicService.schoolClosure"),
     239    96:T("publicService.schoolLockdown"),
     240    97:T("publicService.serviceOrFacility"),
     241    98:T("publicService.transit"),
     242    99:T("railway.railwayAccident"),
     243    100:T("railway.railwayHijacking"),
     244    101:T("roadway.bridgeClosure"),
     245    102:T("roadway.hazardousRoadConditions"),
     246    103:T("roadway.roadwayAccident"),
     247    104:T("roadway.roadwayClosure"),
     248    105:T("roadway.roadwayDelay"),
     249    106:T("roadway.roadwayHijacking"),
     250    107:T("roadway.roadwayUsageCondition"),
     251    108:T("roadway.trafficReport"),
     252    109:T("temperature.arcticOutflow"),
     253    110:T("temperature.coldWave"),
     254    111:T("temperature.flashFreeze"),
     255    112:T("temperature.frost"),
     256    113:T("temperature.heatAndHumidity"),
     257    114:T("temperature.heatWave"),
     258    115:T("temperature.windChill"),
     259    116:T("wind.galeWind"),
     260    117:T("wind.hurricaneForceWind"),
     261    118:T("wind.stormForceWind"),
     262    119:T("wind.strongWind")
     263}
     264}}}
    9265
    10266----