Copy of Data Dictionary
Total Page:16
File Type:pdf, Size:1020Kb
State of Indiana Vehicle Crash Records System Data Dictionary Prepared by Holt Sheets and Associates 5/15/2007 (Updated 4/13/2009) Indiana 2007 Page 1 of 143 VCRS Data Dictionary Header Information - Below is a desciption of each column of the data dictionary # Column Name Description 1. # Only used for the purposes of this data dictionary. Sequential number of the data element for each table. Numbering will restart for each table. 2. Table Name The name of the database table where the data element resides. If the data element does not exist in the database, the other location(s) of where the element resides will be noted (ie XML, Form Only). 3. XML Node The name of the XML node where the element resides. If the element does not exist in the XML file, the field will be left blank. 4. Database Column The name of the data element in the database and/or the XML file. Name/XML Field Name 5. Electronic Version Crash The 'friendly' name of the data element on the electronic image of the crash report. If the report is printed or viewed on a computer, this is Report Form Name the title for the appropriate data element. 6. Description Brief description of each data element. For more detailed information, refer to the ARIES User Manual. 7. Data Type Data element definition describing the value types allowed to be stored in the database. 8. Can be Null? Indicates whether null is allowed to be stored for this data element in the database. 9. Length The maximum length of data allowed to be stored for this data element in the database. 10. Data Precision Applicable to Number data types only. The number of total digits allowed for the value stored in the database. 11. Data Scale Applicable to Number data types only. The number of digits allowed to the right of the decimal place (if scale is positive), or number of digits to round to the left of the decimal place (if scale is negative). 12. Valid Values Indicates what data entry is allowed for the data element. If blank, the Valid Values are determined by the database restrictions indicated in columns 6 thru 10 above. Information indicated in this column are driven by the application used to complete an electronic crash report and is in addition to the database restrictions indicated in columns 6 thru 10 above. If a dash is present, the data to the left of the first dash is the data stored in the database and the XML. The data to the right of the dash is the 'friendly' name. Updates since last revision are highlighted in blue Indiana 2007 Page 2 of 143 VCRS Data Dictionary # Table Name XML Database Column Name Electronic Version Crash Description Database Can be Length Data Data Node XML Field Name Report Form Name Data Type Null? Precision Scale Valid Values 1 ACTIVECITY CITYCDE City where crash occurred or nearest city in the county CHAR N 5 where the crash occurred 2 ACTIVECITY CITYNAMETXT Name of city where crash occurred or nearest city in the VARCHAR N 25 county where the crash occurred 3 ACTIVECITY COUNTYCDE County where crash occurred CHAR N 3 4 ACTIVECITY LASTUPDDTE When the field was last updated DATE Y 7 5 ACTIVECITY LASTUPDMEMBERIDTXT Who last updated the field VARCHAR N 20 1 AGENCY AGENCYORITXT CHAR N 7 2 AGENCY AGENCYNAMETXT VARCHAR2 N 30 3 AGENCY ADDRSTREET1TXT VARCHAR2 Y 25 4 AGENCY ADDRSTREET2TXT VARCHAR2 Y 25 5 AGENCY ADDRCITYTXT CARCHAR2 Y 25 6 AGENCY ADDRSTATECDE CHAR Y 2 7 AGENCY ADDRZIPTXT CHAR Y 10 8 AGENCY EMAILADDRTXT VARCHAR2 Y 30 9 AGENCY INACTIVEIND CHAR N 1 Y - Yes N - No 10 AGENCY LASTUPDDTE DATE N 7 11 AGENCY LASTUPDMEMBERIDTXT VARCAHR2 N 20 12 AGENCY TRANSRTNMBTXT VARCHAR2 Y 9 13 AGENCY ACCOUNTNMBTXT VARCHAR2 Y 17 14 AGENCY REPORTGROUPTXT VARCHAR2 Y 30 15 AGENCY SALEPRICENMB NUMBER Y 20 15 5 16 AGENCY REINBURSEMENTPRICENMB NUMBER Y 20 15 5 17 AGENCY LELREGIONNBR NUMBER Y 2 18 AGENCY REVIEWREQIND CHAR Y 1 Y - Yes N - No 19 AGENCY CRASHREVIEWREQIND CHAR Y 1 Y - Yes N - No 20 AGENCY SARREVIEWREQIND CHAR Y 1 Y - Yes N - No 21 AGENCY SARENABLEDIND CHAR Y 1 Y - Yes N - No 1 AGENCYREVIEW AGENCYREVIEWID NUMBER N 7 2 AGENCYREVIEW AGENCYORITXT CHAR N 7 3 AGENCYREVIEW AGENCYREVIEWTXT VARCHAR2 N 25 1 APPARENTCOND ApparentConds MSTRRECNBRTXT Located at the top center of each Indicates the State Repository Unique Identifier, called CHAR N 9 page of each crash report that has Master Record Number (MRN) been submitted to the state repository 000000000 to 999999999 2 APPARENTCOND ApparentConds STATUSCDE Indicates the current status of the crash report data and CHAR N 2 AC - Accepted image D1 - Duplicate 1 D2 - Duplicate 2 D3 - Duplicate 3 D4 - Duplicate 4 D5 - Duplicate 5 D6 - Duplicate 6 D7 - Duplicate 7 D8 - Duplicate 8 D9 - Duplicate 9 DE - Deleted RE - Rejected UN - Unedited 3 APPARENTCOND ApparentConds UNITNMB Identifies the unit number NUMBER N 22 2 0 01 to 99 4 APPARENTCOND ApparentConds PERSONNMB Identifies the person number NUMBER N 22 3 0 01 to 999 5 APPARENTCOND ApparentConds CONDITIONCDE Apparent Physical Status Describes the physical condition of the person at the time of CHAR N 2 01 – Normal the crash 02 – Had Been Drinking 03 – Handicapped 04 – Ill 05 – Fatigued 06 – Asleep 07 – Drugs/Medication 08 – Asleep/Fatigued 09 - Unknown 1 APPLICATIONCODES COESTABLENMB NUMBER N 3 2 APPLICATIONCODES CODEVALUECDE CHAR N 2 3 APPLICATIONCODES CODEDESCTXT VARCHAR2 Y 40 4 APPLICATIONCODES INACTIVEIND CHAR Y 1 Y - Yes N - No 5 APPLICATIONCODES LASTUPDDTE DATE N 7 6 APPLICATIONCODES LASTUPDMEMBERIDTXT VARCHAR2 N 20 1 ASSTOFFICER ASSTOFFICER OFFICERNAMETXT VACHAR2 30 2 ASSTOFFICER ASSTOFFICER OFFICERIDTXT CHAR 5 3 ASSTOFFICER ASSTOFFICER AGENCYORITXT CHAR 7 1 CITATION Citations MSTRRECNBRTXT Located at the top center of each State Repository Unique Identifier CHAR N 9 page of each crash report that has nine (9) digit number printed at the top of each crash report been submitted to the state repository 000000000 to 999999999 2 CITATION Citations STATUSCDE current status of crash report data and image CHAR N 2 3 CITATION Citations UNITNMB Identifies the unit number NUMBER N 22 2 0 01 to 99 4 CITATION Citations PERSONNMB Identifies the person number NUMBER N 22 3 0 01 to 999 5 CITATION Citations ICCDE IC Codes Indicates the proper IC (Indiana Code) number for crash CHAR N 15 related violation(s) Indiana 2007 Page 3 of 143 VCRS Data Dictionary 1 CITATIONTYPE CitationTypes MSTRRECNBRTXT Located at the top center of each State Repository Unique Identifier CHAR N 9 page of each crash report that has nine (9) digit number printed at the top of each crash report been submitted to the state repository 000000000 to 999999999 2 CITATIONTYPE CitationTypes STATUSCDE current status of crash report data and image CHAR N 2 AC - Accepted D1 - Duplicate 1 D2 - Duplicate 2 D3 - Duplicate 3 D4 - Duplicate 4 D5 - Duplicate 5 D6 - Duplicate 6 D7 - Duplicate 7 D8 - Duplicate 8 D9 - Duplicate 9 DE - Deleted RE - Rejected UN - Unedited 3 CITATIONTYPE CitationTypes UNITNMB Identifies the unit number NUMBER N 22 2 0 01 to 99 4 CITATIONTYPE CitationTypes PERSONNMB Identifies the person number NUMBER N 22 3 0 01 to 999 5 CITATIONTYPE CitationTypes CITETYPECDE If Cited? Indicates all citation types that apply to the I.C. codes issuedCHAR N 2 01 – Infraction 02 – Misdemeanor 03 – Felony 1 CODETABLE CODETABLENMB NUMBER N 3 2 CODETABLE CODETABLENAMETXT VARCHAR2 Y 25 3 CODETABLE LASTUPDDTE DATE N 7 4 CODETABLE LASTUPDMEMBERIDTXT VARCHAR2 N 20 1 COLLISION Collision ENTRYDATETIME Trigger that inserts date and time crash report data and DATE Y 7 image was inserted into the state repository 2 COLLISION Collision LASTUPDATETIME Trigger tha updates date and time crash report data was DATE Y 7 last updated 3 COLLISION Collision MSTRRECNBRTXT Located at the top center of each State Repository Unique Identifier CHAR N 9 page of each crash report that has nine (9) digit number printed at the top of each crash report been submitted to the state repository 000000000 to 999999999 4 COLLISION Collision STATUSCDE current status of crash report data and image CHAR N 2 AC - Accepted D1 - Duplicate 1 D2 - Duplicate 2 D3 - Duplicate 3 D4 - Duplicate 4 D5 - Duplicate 5 D6 - Duplicate 6 D7 - Duplicate 7 D8 - Duplicate 8 D9 - Duplicate 9 DE - Deleted RE - Rejected UN - Unedited 5 COLLISION Collision STATUSDTE Trigger that updates date and time of the last statuscde DATE N 7 change to crash report Indiana 2007 Page 4 of 143 VCRS Data Dictionary # Table Name XML Database Column Name Electronic Version Crash Description Database Can be Length Data Data Node XML Field Name Report Form Name Data Type Null? Precision Scale Valid Values 6 COLLISION Collision AGENCYORITXT Agency Investigating officer's agency. Agency ORI Number which is CHAR Y 7 decoded to the Agency Name 0010000 - ADAMS SD 0060600 - ADVANCE PD 0250300 - AKRON PD 0180200 - ALBANY PD 0570300 - ALBION PD 0480100 - ALEXANDRIA PD 0020000 - ALLEN SD 0320500 - AMO PD 0480200 - ANDERSON PD 0350500 - ANDREWS PD 0760100 - ANGOLA PD 0290500 - ARCADIA PD 0500600 - ARGOS PD 0760200 - ASHLEY PD 0290800 - ATLANTA PD 0230100 - ATTICA PD 0170100 - AUBURN PD 0150100 - AURORA PD 0720200 - AUSTIN PD 0570400 - AVILLA PD 0321100 - AVON PD 0670400 - BAINBRIDGE PD 0180500 - BALL STATE UNIV POLICE 0410800 - BARGERSVILLE PD 0030000 - BARTHOLOMEW SD 0690100 - BATESVILLE PD 0790400 - BATTLEGROUND PD 0470100 - BEDFORD PD 0490100 - BEECH GROVE PD 0040000 - BENTON SD 0010100 - BERNE PD 0640900 - BEVERLY SHORES PD 0420100 - BICKNELL PD 0190500 - BIRDSEYE PD 0050000 - BLACKFORD SD 0280100 - BLOOMFIELD PD 0530100 - BLOOMINGTON PD 0330900 - BLOUNTSVILLE PD 0900100 - BLUFFTON PD 0060000 - BOONE CO SD 0870100