diff --git a/schemaspy/case_management/columns.html b/schemaspy/case_management/columns.html index 0a1f23da..2b9ead63 100644 --- a/schemaspy/case_management/columns.html +++ b/schemaspy/case_management/columns.html @@ -116,13 +116,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the drug type.<\/p>" + "comments": "

A boolean indicator to determine if a drug type is active.<\/p>" }, { "tableName": "wildlife", @@ -130,13 +130,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "identifying_features", + "name": "update_user_id", "type": "varchar", - "length": 4000, - "nullable": "√", + "length": 32, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The id of the user that updated the wildlife record.<\/p>" }, { "tableName": "drug_administered", @@ -144,27 +144,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "create_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the drug_administered record was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that created the drug_administered record.<\/p>" }, { - "tableName": "age_code", - "tableFileName": "age_code", + "tableName": "equipment", + "tableFileName": "equipment", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>age_code", + "keyClass": "", + "keyTitle": "", + "name": "update_user_id", "type": "varchar", - "length": 10, + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify an age type.<\/p>" + "comments": "

The id of the user that updated the equipment record.<\/p>" }, { "tableName": "case_file_h", @@ -172,41 +172,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_executed_at", - "type": "timestamp", - "length": 29, + "name": "target_row_id", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

The timestamp when the data in the case table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" + "defaultValue": "null", + "comments": "

The unique key for the case that has been created or modified.<\/p>" }, { - "tableName": "drug_remaining_outcome_code", - "tableFileName": "drug_remaining_outcome_code", + "tableName": "action_type_code", + "tableFileName": "action_type_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "short_description", + "name": "update_user_id", "type": "varchar", - "length": 50, - "nullable": "", + "length": 32, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The short description of a remaining drug outcome type.<\/p>" + "comments": "

The id of the user that updated the action type entry.<\/p>" }, { - "tableName": "decision_h", - "tableFileName": "decision_h", + "tableName": "schedule_code", + "tableFileName": "schedule_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_type", - "type": "bpchar", - "length": 1, + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The timestamp when the case management schedule_code was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "conflict_history_code", @@ -214,41 +214,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the conflict history type.<\/p>" + "comments": "

A boolean indicator to determine if a conflict history type is active.<\/p>" }, { - "tableName": "authorization_permit_h", - "tableFileName": "authorization_permit_h", + "tableName": "lead_h", + "tableFileName": "lead_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_type", - "type": "bpchar", - "length": 1, - "nullable": "", + "name": "data_after_executed_operation", + "type": "jsonb", + "length": 2147483647, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" + "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" }, { - "tableName": "ear_code", - "tableFileName": "ear_code", + "tableName": "wildlife", + "tableFileName": "wildlife", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "long_description", + "name": "identifying_features", "type": "varchar", - "length": 250, + "length": 4000, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The long description of an ear type.<\/p>" + "comments": "" }, { "tableName": "sector_code", @@ -256,13 +256,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "long_description", "type": "varchar", - "length": 32, - "nullable": "", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the case management sector_code.<\/p>" + "comments": "

The long description of a case management sector_code.<\/p>" }, { "tableName": "wildlife", @@ -270,55 +270,69 @@

Columns

"tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>age_code", + "name": "<\/i>case_file_guid", + "type": "uuid", + "length": 2147483647, + "nullable": "", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

System generated unique key for a case. This key should never be exposed to users via any system utilizing the tables.<\/p>" + }, + { + "tableName": "lead", + "tableFileName": "lead", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "update_user_id", "type": "varchar", - "length": 10, + "length": 32, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify an age type.<\/p>" + "comments": "

The id of the user that updated the complaint/case relationship.<\/p>" }, { - "tableName": "flyway_schema_history", - "tableFileName": "flyway_schema_history", + "tableName": "drug_administered", + "tableFileName": "drug_administered", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "version", - "type": "varchar", - "length": 50, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

A boolean indicator to determine if the drug_administered record is active.<\/p>" }, { - "tableName": "equipment", - "tableFileName": "equipment", + "tableName": "action_h", + "tableFileName": "action_h", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>equipment_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "operation_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", - "defaultValue": "case_management.uuid_generate_v4()", - "comments": "

System generated unique key for a piece of equipment. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "defaultValue": "CURRENT_USER", + "comments": "

The id of the user that created or modified the data in the action table. Defaults to the logged in user if not passed in by the application.<\/p>" }, { - "tableName": "equipment_code", - "tableFileName": "equipment_code", + "tableName": "configuration_h", + "tableFileName": "configuration_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "short_description", - "type": "varchar", - "length": 50, + "name": "operation_executed_at", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The short description of an equipment type.<\/p>" + "defaultValue": "now()", + "comments": "

The timestamp when the data in the configuration table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "drug_code", @@ -326,41 +340,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "long_description", "type": "varchar", - "length": 32, - "nullable": "", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the drug type.<\/p>" + "comments": "

The long description of a drug type.<\/p>" }, { - "tableName": "case_location_code", - "tableFileName": "case_location_code", + "tableName": "action_type_action_xref", + "tableFileName": "action_type_action_xref", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "long_description", - "type": "varchar", - "length": 250, + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The long description of the location type where the case was taken.<\/p>" + "comments": "" }, { - "tableName": "configuration", - "tableFileName": "configuration", + "tableName": "conflict_history_code", + "tableFileName": "conflict_history_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "configuration_value", + "name": "update_user_id", "type": "varchar", - "length": 250, + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The value of the configuration entry.<\/p>" + "comments": "

The id of the user that updated the conflict history type.<\/p>" }, { "tableName": "age_code", @@ -368,13 +382,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "long_description", "type": "varchar", - "length": 32, - "nullable": "", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the age type.<\/p>" + "comments": "

The long description of an age type.<\/p>" }, { "tableName": "lead_h", @@ -382,13 +396,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "data_after_executed_operation", - "type": "jsonb", - "length": 2147483647, - "nullable": "√", + "name": "operation_type", + "type": "bpchar", + "length": 1, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" + "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" }, { "tableName": "discharge_code", @@ -396,13 +410,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "long_description", "type": "varchar", - "length": 32, - "nullable": "", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the case management discharge_code.<\/p>" + "comments": "

The long description of a case management discharge_code.<\/p>" }, { "tableName": "agency_code", @@ -410,55 +424,55 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the agency code.<\/p>" + "comments": "

A boolean indicator to determine if the agency code is active.<\/p>" }, { "tableName": "wildlife", "tableFileName": "wildlife", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "species_code", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>sex_code", "type": "varchar", "length": 10, - "nullable": "", + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a species. The COS Complaint Management is the authorative source for the screen labels and descriptions of the codes.<\/p>" + "comments": "

A human readable code used to identify a sex type.<\/p>" }, { - "tableName": "lead_h", - "tableFileName": "lead_h", + "tableName": "ear_code", + "tableFileName": "ear_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "target_row_id", + "name": "update_user_id", "type": "varchar", - "length": 20, + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The unique key for the lead that has been created or modified.<\/p>" + "comments": "

The id of the user that updated the ear type.<\/p>" }, { "tableName": "action_type_action_xref", "tableFileName": "action_type_action_xref", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_user_id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>action_code", "type": "varchar", - "length": 32, + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

A human readable code used to identify a case management action.<\/p>" }, { "tableName": "hwcr_outcome_code", @@ -466,41 +480,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "create_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the HWCR outcome type was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that created the HWCR outcome type.<\/p>" }, { - "tableName": "case_file_h", - "tableFileName": "case_file_h", + "tableName": "sex_code", + "tableFileName": "sex_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_type", - "type": "bpchar", - "length": 1, + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" + "comments": "

The timestamp when the sex type was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "inaction_reason_code", - "tableFileName": "inaction_reason_code", + "tableName": "age_code", + "tableFileName": "age_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "short_description", - "type": "varchar", - "length": 50, - "nullable": "√", + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The short description of the reason why no action on the case was taken.<\/p>" + "comments": "

The timestamp when the age type was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "threat_level_code", @@ -508,41 +522,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, + "name": "short_description", + "type": "varchar", + "length": 50, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if a threat level type is active.<\/p>" + "comments": "

The short description of a threat level type.<\/p>" }, { "tableName": "authorization_permit", "tableFileName": "authorization_permit", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "true", - "comments": "

A boolean indicator to determine if the has been soft deleted.<\/p>" - }, - { - "tableName": "drug_administered_h", - "tableFileName": "drug_administered_h", - "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>h_drug_administered_guid", + "name": "<\/i>authorization_permit_guid", "type": "uuid", "length": 2147483647, "nullable": "", "autoUpdated": "", "defaultValue": "case_management.uuid_generate_v4()", - "comments": "

System generated unique key for case history. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "comments": "

System generated unique key for an authorized_permit record<\/p>" + }, + { + "tableName": "action", + "tableFileName": "action", + "tableType": "Table", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>equipment_guid", + "type": "uuid", + "length": 2147483647, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

System generated unique key for a piece of equipment. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { "tableName": "drug_administered_h", @@ -550,27 +564,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "data_after_executed_operation", - "type": "jsonb", - "length": 2147483647, - "nullable": "√", + "name": "operation_type", + "type": "bpchar", + "length": 1, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" + "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" }, { - "tableName": "drug_method_code", - "tableFileName": "drug_method_code", + "tableName": "case_code", + "tableFileName": "case_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "short_description", + "name": "update_user_id", "type": "varchar", - "length": 50, - "nullable": "", + "length": 32, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The short description of a drug injection method type.<\/p>" + "comments": "

The id of the user that updated the case type.<\/p>" }, { "tableName": "decision_h", @@ -578,12 +592,12 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_executed_at", - "type": "timestamp", - "length": 29, + "name": "target_row_id", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", + "defaultValue": "null", "comments": "" }, { @@ -592,13 +606,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "display_order", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the case management non_compliance_decision_matrix_code was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "" }, { "tableName": "drug_method_code", @@ -606,13 +620,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, + "name": "short_description", + "type": "varchar", + "length": 50, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if a drug injection method type is active.<\/p>" + "comments": "

The short description of a drug injection method type.<\/p>" }, { "tableName": "discharge_code", @@ -620,13 +634,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the case management discharge_code.<\/p>" + "comments": "

A boolean indicator to determine if the case management discharge_code is active.<\/p>" }, { "tableName": "drug_remaining_outcome_code", @@ -634,27 +648,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "long_description", "type": "varchar", - "length": 32, - "nullable": "", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the remaining drug outcome type.<\/p>" + "comments": "

The long description of a remaining drug outcome type.<\/p>" }, { - "tableName": "lead_h", - "tableFileName": "lead_h", + "tableName": "ear_code", + "tableFileName": "ear_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_type", - "type": "bpchar", - "length": 1, + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" + "comments": "

The timestamp when the ear type was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "threat_level_code", @@ -662,13 +676,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the threat level type.<\/p>" + "comments": "

A boolean indicator to determine if a threat level type is active.<\/p>" }, { "tableName": "action_h", @@ -676,13 +690,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_executed_at", - "type": "timestamp", - "length": 29, + "name": "target_row_id", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

The timestamp when the data in the action table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" + "defaultValue": "null", + "comments": "

The unique key for the action that has been created or modified.<\/p>" }, { "tableName": "authorization_permit", @@ -690,13 +704,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "authorization_permit_id", + "type": "varchar", + "length": 50, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the authroized site id was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The value used for an authorized site id<\/p>" }, { "tableName": "equipment_code", @@ -704,13 +718,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, + "name": "short_description", + "type": "varchar", + "length": 50, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if an equipment type is active.<\/p>" + "comments": "

The short description of an equipment type.<\/p>" }, { "tableName": "site_h", @@ -718,13 +732,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_executed_at", - "type": "timestamp", - "length": 29, + "name": "target_row_id", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

The timestamp when the data in the site table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" + "defaultValue": "null", + "comments": "

The unique key for the site that has been created or modified.<\/p>" }, { "tableName": "wildlife_h", @@ -732,27 +746,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "data_after_executed_operation", - "type": "jsonb", - "length": 2147483647, - "nullable": "√", + "name": "operation_type", + "type": "bpchar", + "length": 1, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" + "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" }, { - "tableName": "drug_remaining_outcome_code", - "tableFileName": "drug_remaining_outcome_code", + "tableName": "action_type_code", + "tableFileName": "action_type_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>drug_remaining_outcome_code", - "type": "varchar", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a remaining drug outcome type.<\/p>" + "comments": "

The timestamp when the action type entry was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "authorization_permit_h", @@ -760,27 +774,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_executed_at", - "type": "timestamp", - "length": 29, + "name": "target_row_id", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

The timestamp when the data in the authorization permit table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" + "defaultValue": "null", + "comments": "

The unique key for the authorization permit that has been created or modified.<\/p>" }, { - "tableName": "sector_code", - "tableFileName": "sector_code", + "tableName": "drug_administered_h", + "tableFileName": "drug_administered_h", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>sector_code", + "keyClass": "", + "keyTitle": "", + "name": "operation_user_id", "type": "varchar", - "length": 10, + "length": 32, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

A human readable code used to identify a ipm_secord_code<\/p>" + "defaultValue": "CURRENT_USER", + "comments": "

The id of the user that created or modified the data in the case table. Defaults to the logged in user if not passed in by the application.<\/p>" }, { "tableName": "sector_code", @@ -788,13 +802,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "create_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the case management sector_code was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that created the case management sector_code.<\/p>" }, { "tableName": "discharge_code", @@ -802,59 +816,45 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "create_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the case management discharge_code was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that created the case management discharge_code.<\/p>" }, { - "tableName": "configuration", - "tableFileName": "configuration", + "tableName": "conflict_history_code", + "tableFileName": "conflict_history_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "long_description", - "type": "varchar", - "length": 250, - "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The long description of the configuration entry.<\/p>" - }, - { - "tableName": "drug_administered", - "tableFileName": "drug_administered", - "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>wildlife_guid", - "type": "uuid", - "length": 2147483647, + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

System generated unique key for an animal. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "comments": "

The timestamp when the conflict history type was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "drug_method_code", - "tableFileName": "drug_method_code", + "tableName": "case_location_code", + "tableFileName": "case_location_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>drug_method_code", + "keyClass": "", + "keyTitle": "", + "name": "update_user_id", "type": "varchar", - "length": 10, - "nullable": "", + "length": 32, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a drug injection method type.<\/p>" + "comments": "

The id of the user that updated the location type.<\/p>" }, { - "tableName": "ear_tag", - "tableFileName": "ear_tag", + "tableName": "case_code", + "tableFileName": "case_code", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -864,49 +864,49 @@

Columns

"nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the ear_tag record was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The timestamp when the case type was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "schedule_code", - "tableFileName": "schedule_code", + "tableName": "ear_tag", + "tableFileName": "ear_tag", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "display_order", - "type": "int4", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>ear_code", + "type": "varchar", "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

A human readable code used to identify an ear type.<\/p>" }, { - "tableName": "discharge_code", - "tableFileName": "discharge_code", + "tableName": "schedule_code", + "tableFileName": "schedule_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "short_description", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>schedule_code", "type": "varchar", - "length": 50, + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The short description of a case management discharge_code.<\/p>" + "comments": "

A human readable code used to identify a wdr schedule code<\/p>" }, { - "tableName": "decision", - "tableFileName": "decision", + "tableName": "case_file", + "tableFileName": "case_file", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>case_file_guid", - "type": "uuid", - "length": 2147483647, - "nullable": "", + "name": "<\/i>case_conflict_history_code", + "type": "varchar", + "length": 10, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Assoiciates the decision record to an existing case file<\/p>" + "comments": "

A human readable code used to identify a conflict history type.<\/p>" }, { "tableName": "threat_level_code", @@ -914,27 +914,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "create_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the threat level type was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that created the threat level type.<\/p>" }, { "tableName": "ear_tag", "tableFileName": "ear_tag", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "ear_tag_identifier", - "type": "varchar", - "length": 10, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>ear_tag_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

An identifier used to label an animal, not used as a natural key as they are not guaranteed to be unique<\/p>" + "defaultValue": "case_management.uuid_generate_v4()", + "comments": "

System generated unique key for an ear tag. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { "tableName": "configuration_h", @@ -942,13 +942,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_executed_at", - "type": "timestamp", - "length": 29, + "name": "target_row_id", + "type": "varchar", + "length": 10, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

The timestamp when the data in the configuration table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" + "defaultValue": "null", + "comments": "

The unique key for the configuration that has been created or modified.<\/p>" }, { "tableName": "authorization_permit", @@ -956,13 +956,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "√", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The id of the user that updated the authroized site id<\/p>" + "defaultValue": "true", + "comments": "

A boolean indicator to determine if the has been soft deleted.<\/p>" }, { "tableName": "drug_administered", @@ -970,27 +970,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "vial_number", + "type": "varchar", + "length": 50, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the drug_administered record was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

A vial number that relates to a seperate drug inventory system.<\/p>" }, { - "tableName": "ear_code", - "tableFileName": "ear_code", + "tableName": "wildlife", + "tableFileName": "wildlife", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>ear_code", - "type": "varchar", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify an ear type.<\/p>" + "comments": "

The timestamp when the wildlife record was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "flyway_schema_history", @@ -998,12 +998,12 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "installed_on", - "type": "timestamp", - "length": 29, + "name": "script", + "type": "varchar", + "length": 1000, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", + "defaultValue": "null", "comments": "" }, { @@ -1012,41 +1012,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "√", + "name": "create_user_id", + "type": "varchar", + "length": 32, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the authroized site id was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that created the authroized site id.<\/p>" }, { - "tableName": "drug_remaining_outcome_code", - "tableFileName": "drug_remaining_outcome_code", + "tableName": "action_type_code", + "tableFileName": "action_type_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "long_description", - "type": "varchar", - "length": 250, + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The long description of a remaining drug outcome type.<\/p>" + "comments": "

The timestamp when the action type entry was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "lead", "tableFileName": "lead", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>lead_identifier", + "type": "varchar", + "length": 20, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the complaint/case relationship was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

Natural key for a complaint generated by an external system.<\/p>" }, { "tableName": "configuration", @@ -1054,55 +1054,55 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "√", + "name": "create_user_id", + "type": "varchar", + "length": 32, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the configuration entry was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that created the configuration entry.<\/p>" }, { "tableName": "action", "tableFileName": "action", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>wildlife_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "update_user_id", + "type": "varchar", + "length": 32, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The id of the user that updated the case.<\/p>" }, { - "tableName": "site_h", - "tableFileName": "site_h", + "tableName": "equipment_code", + "tableFileName": "equipment_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>h_site_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "update_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", - "defaultValue": "case_management.uuid_generate_v4()", - "comments": "

System generated unique key for site history. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "defaultValue": "null", + "comments": "

The id of the user that updated the equipment type.<\/p>" }, { - "tableName": "wildlife_h", - "tableFileName": "wildlife_h", + "tableName": "agency_code", + "tableFileName": "agency_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "target_row_id", - "type": "uuid", - "length": 2147483647, - "nullable": "", + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The unique key for the case that has been created or modified.<\/p>" + "comments": "

The timestamp when the agency was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "sex_code", @@ -1110,41 +1110,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "long_description", "type": "varchar", - "length": 32, - "nullable": "", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the sex type.<\/p>" + "comments": "

The long description of a sex type.<\/p>" }, { - "tableName": "non_compliance_decision_matrix_code", - "tableFileName": "non_compliance_decision_matrix_code", + "tableName": "action_code", + "tableFileName": "action_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>non_compliance_decision_matrix_code", - "type": "varchar", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a non_compliance_decision_matrix_code code.<\/p>" + "comments": "

The timestamp when the case management action was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "case_file", "tableFileName": "case_file", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>case_threat_level_code", - "type": "varchar", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "attended_ind", + "type": "bool", + "length": 1, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a threat level type.<\/p>" + "comments": "

A boolean indicator to determine if the COS officer attended the assessment.<\/p>" }, { "tableName": "inaction_reason_code", @@ -1152,41 +1152,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, + "name": "short_description", + "type": "varchar", + "length": 50, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if the reason why no action on the case was taken is active.<\/p>" + "comments": "

The short description of the reason why no action on the case was taken.<\/p>" }, { "tableName": "case_file", "tableFileName": "case_file", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "action_not_required_ind", - "type": "bool", - "length": 1, - "nullable": "√", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>case_code", + "type": "varchar", + "length": 10, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

True only if no action required was explicitly indicated for the case. It is assumed that action is required if not set.<\/p>" + "comments": "

A human readable code used to identify a case type.<\/p>" }, { - "tableName": "equipment", - "tableFileName": "equipment", + "tableName": "action_h", + "tableFileName": "action_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "equipment_location_desc", - "type": "varchar", - "length": 120, + "name": "data_after_executed_operation", + "type": "jsonb", + "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Free form text describing the location of the equipment. Usually (but not always) an address.<\/p>" + "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" }, { "tableName": "case_file", @@ -1194,27 +1194,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "complainant_contacted_ind", - "type": "bool", - "length": 1, - "nullable": "√", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if complainant is contacted.<\/p>" + "comments": "

The timestamp when the case was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "authorization_permit", - "tableFileName": "authorization_permit", + "tableName": "wildlife_h", + "tableFileName": "wildlife_h", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>case_file_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "operation_executed_at", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

System generated unique key for a case. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "defaultValue": "now()", + "comments": "

The timestamp when the data in the case table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "hwcr_outcome_code", @@ -1222,13 +1222,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "long_description", "type": "varchar", - "length": 32, - "nullable": "", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the HWCR outcome type.<\/p>" + "comments": "

The long description of an HWCR outcome type.<\/p>" }, { "tableName": "drug_method_code", @@ -1236,13 +1236,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "create_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the drug injection method type was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that created the drug injection method type.<\/p>" }, { "tableName": "equipment_code", @@ -1250,27 +1250,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "long_description", "type": "varchar", - "length": 32, - "nullable": "", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the equipment type.<\/p>" + "comments": "

The long description of an equipment type.<\/p>" }, { - "tableName": "ear_tag", - "tableFileName": "ear_tag", + "tableName": "case_file_h", + "tableFileName": "case_file_h", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>ear_code", - "type": "varchar", - "length": 10, - "nullable": "", + "keyClass": "", + "keyTitle": "", + "name": "data_after_executed_operation", + "type": "jsonb", + "length": 2147483647, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify an ear type.<\/p>" + "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" }, { "tableName": "action_type_code", @@ -1278,59 +1278,73 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "", + "name": "long_description", + "type": "varchar", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the action type entry was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The long description of a logical grouping of case management actions.<\/p>" }, { - "tableName": "ear_tag_h", - "tableFileName": "ear_tag_h", + "tableName": "decision", + "tableFileName": "decision", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_type", - "type": "bpchar", - "length": 1, + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" + "comments": "

The timestamp when the case management action was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "drug_remaining_outcome_code", "tableFileName": "drug_remaining_outcome_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "display_order", - "type": "int4", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>drug_remaining_outcome_code", + "type": "varchar", "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The order in which the values of the remaining drug outcome type should be displayed when presented to a user in a list.<\/p>" + "comments": "

A human readable code used to identify a remaining drug outcome type.<\/p>" }, { "tableName": "decision", "tableFileName": "decision", "tableType": "Table", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>schedule_sector_xref_guid", + "type": "uuid", + "length": 2147483647, + "nullable": "", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

Defines the combination of a WDR_SCHEDULE_CODE and a SECTOR_CATEGORY_CODE<\/p>" + }, + { + "tableName": "equipment", + "tableFileName": "equipment", + "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "inspection_number", - "type": "int4", - "length": 10, - "nullable": "√", + "name": "was_animal_captured", + "type": "bpchar", + "length": 1, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The NRIS inspection number for a CEEB decision<\/p>" + "defaultValue": "'U'::bpchar", + "comments": "

Indicates if an animal was captured by the EQUIPMENT. Values are limited to ‘Y’ (Yes) ‘N’ (No) and ‘U’ (Unknown - Not Specified Yet). The default is ‘U’<\/p>" }, { - "tableName": "age_code", - "tableFileName": "age_code", + "tableName": "case_code", + "tableFileName": "case_code", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -1340,11 +1354,11 @@

Columns

"nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The long description of an age type.<\/p>" + "comments": "

The long description of a case type.<\/p>" }, { - "tableName": "case_code", - "tableFileName": "case_code", + "tableName": "drug_code", + "tableFileName": "drug_code", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -1354,179 +1368,193 @@

Columns

"nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the case type was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The timestamp when the drug type was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "schedule_code", - "tableFileName": "schedule_code", + "tableName": "site_h", + "tableFileName": "site_h", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>schedule_code", - "type": "varchar", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "operation_executed_at", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

A human readable code used to identify a wdr schedule code<\/p>" + "defaultValue": "now()", + "comments": "

The timestamp when the data in the site table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "agency_code", - "tableFileName": "agency_code", + "tableName": "authorization_permit_h", + "tableFileName": "authorization_permit_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "short_description", - "type": "varchar", - "length": 50, - "nullable": "√", + "name": "operation_executed_at", + "type": "timestamp", + "length": 29, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The short description of the agency code.<\/p>" + "defaultValue": "now()", + "comments": "

The timestamp when the data in the authorization permit table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "case_file", "tableFileName": "case_file", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>case_code", - "type": "varchar", - "length": 10, - "nullable": "", + "keyClass": "", + "keyTitle": "", + "name": "action_not_required_ind", + "type": "bool", + "length": 1, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a case type.<\/p>" + "comments": "

True only if no action required was explicitly indicated for the case. It is assumed that action is required if not set.<\/p>" }, { - "tableName": "case_file", - "tableFileName": "case_file", + "tableName": "wildlife", + "tableFileName": "wildlife", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", - "type": "varchar", - "length": 32, + "name": "active_ind", + "type": "bool", + "length": 1, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

A boolean indicator to determine if the wildlife record is active.<\/p>" + }, + { + "tableName": "hwcr_outcome_code", + "tableFileName": "hwcr_outcome_code", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the case.<\/p>" + "comments": "

The timestamp when the HWCR outcome type was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "ear_code", - "tableFileName": "ear_code", + "tableName": "non_compliance_decision_matrix_code", + "tableFileName": "non_compliance_decision_matrix_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "short_description", + "name": "update_user_id", "type": "varchar", - "length": 50, + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The short description of an ear type.<\/p>" + "comments": "

The id of the user that updated the case management non_compliance_decision_matrix_code.<\/p>" }, { - "tableName": "action", - "tableFileName": "action", + "tableName": "ear_tag", + "tableFileName": "ear_tag", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>action_type_action_xref_guid", + "name": "<\/i>wildlife_guid", "type": "uuid", "length": 2147483647, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

System generated unique key for a relationship between case management actions and logical types. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "comments": "

System generated unique key for an animal. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { - "tableName": "conflict_history_code", - "tableFileName": "conflict_history_code", + "tableName": "discharge_code", + "tableFileName": "discharge_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "short_description", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>discharge_code", "type": "varchar", - "length": 50, + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The short description of a conflict history type.<\/p>" + "comments": "

A human readable code used to identify a discharge code.<\/p>" }, { - "tableName": "ear_tag", - "tableFileName": "ear_tag", + "tableName": "ear_code", + "tableFileName": "ear_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", - "type": "varchar", - "length": 32, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the ear_tag record.<\/p>" + "comments": "

A boolean indicator to determine if an ear type is active.<\/p>" }, { - "tableName": "discharge_code", - "tableFileName": "discharge_code", + "tableName": "drug_method_code", + "tableFileName": "drug_method_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "display_order", - "type": "int4", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>drug_method_code", + "type": "varchar", "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

A human readable code used to identify a drug injection method type.<\/p>" }, { - "tableName": "ear_code", - "tableFileName": "ear_code", + "tableName": "action_h", + "tableFileName": "action_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "name": "operation_executed_at", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The id of the user that updated the ear type.<\/p>" + "defaultValue": "now()", + "comments": "

The timestamp when the data in the action table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "drug_method_code", - "tableFileName": "drug_method_code", + "tableName": "site", + "tableFileName": "site", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "display_order", - "type": "int4", - "length": 10, + "name": "create_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The order in which the values of the drug injection method type should be displayed when presented to a user in a list.<\/p>" + "comments": "

The id of the user that created the unauthroized site id.<\/p>" }, { "tableName": "equipment", "tableFileName": "equipment", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>equipment_code", + "keyClass": "", + "keyTitle": "", + "name": "equipment_location_desc", "type": "varchar", - "length": 10, + "length": 120, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a piece of equipment<\/p>" + "comments": "

Free form text describing the location of the equipment. Usually (but not always) an address.<\/p>" }, { - "tableName": "site", - "tableFileName": "site", + "tableName": "lead", + "tableFileName": "lead", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -1536,21 +1564,7 @@

Columns

"nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the unauthroized site id was updated. The timestamp is stored in UTC with no Offset.<\/p>" - }, - { - "tableName": "equipment", - "tableFileName": "equipment", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_user_id", - "type": "varchar", - "length": 32, - "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The id of the user that created the equipment record.<\/p>" + "comments": "

The timestamp when the complaint/case relationship was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "schedule_sector_xref", @@ -1558,27 +1572,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "inaction_reason_code", - "tableFileName": "inaction_reason_code", + "tableName": "age_code", + "tableFileName": "age_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>inaction_reason_code", - "type": "varchar", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a reason why no action on the case was taken.<\/p>" + "comments": "

The timestamp when the age type was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "threat_level_code", @@ -1586,13 +1600,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "display_order", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the threat level type was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The order in which the values of the threat level type should be displayed when presented to a user in a list.<\/p>" }, { "tableName": "action_code", @@ -1600,27 +1614,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the case management action.<\/p>" + "comments": "

A boolean indicator to determine if the case management action is active.<\/p>" }, { - "tableName": "ear_tag_h", - "tableFileName": "ear_tag_h", + "tableName": "decision", + "tableFileName": "decision", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>h_ear_tag_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "case_management.uuid_generate_v4()", - "comments": "

System generated unique key for case history. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "defaultValue": "null", + "comments": "

The timestamp when the case management action was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "age_code", @@ -1628,27 +1642,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, + "name": "short_description", + "type": "varchar", + "length": 50, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if an age type is active.<\/p>" + "comments": "

The short description of an age type.<\/p>" }, { "tableName": "site", "tableFileName": "site", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_user_id", - "type": "varchar", - "length": 32, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>case_file_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the unauthroized site id.<\/p>" + "comments": "

System generated unique key for a case. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { "tableName": "case_file", @@ -1656,27 +1670,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "√", + "name": "create_user_id", + "type": "varchar", + "length": 32, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the case was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that created the case.<\/p>" }, { "tableName": "equipment", "tableFileName": "equipment", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>equipment_code", + "type": "varchar", + "length": 10, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if the equipment record is active and should be displayed in the application.<\/p>" + "comments": "

A human readable code used to identify a piece of equipment<\/p>" }, { "tableName": "hwcr_outcome_code", @@ -1684,27 +1698,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the HWCR outcome type.<\/p>" + "comments": "

A boolean indicator to determine if an HWCR outcome type is active.<\/p>" }, { - "tableName": "action_type_action_xref", - "tableFileName": "action_type_action_xref", + "tableName": "schedule_sector_xref", + "tableFileName": "schedule_sector_xref", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>action_type_code", + "keyClass": "", + "keyTitle": "", + "name": "update_user_id", "type": "varchar", - "length": 10, + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a logical grouping of case management actions.<\/p>" + "comments": "" }, { "tableName": "ear_code", @@ -1712,41 +1726,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, + "name": "short_description", + "type": "varchar", + "length": 50, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if an ear type is active.<\/p>" + "comments": "

The short description of an ear type.<\/p>" }, { "tableName": "authorization_permit_h", "tableFileName": "authorization_permit_h", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "operation_user_id", - "type": "varchar", - "length": 32, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>h_authorization_permit_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_USER", - "comments": "

The id of the user that created or modified the data in the authorization permit table. Defaults to the logged in user if not passed in by the application.<\/p>" + "defaultValue": "case_management.uuid_generate_v4()", + "comments": "

System generated unique key for authorization permit history. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { "tableName": "action", "tableFileName": "action", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>decision_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The timestamp when the case was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "site_h", @@ -1754,13 +1768,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "data_after_executed_operation", - "type": "jsonb", - "length": 2147483647, - "nullable": "√", + "name": "operation_type", + "type": "bpchar", + "length": 1, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" + "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" }, { "tableName": "wildlife", @@ -1768,69 +1782,69 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, - "nullable": "√", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if the wildlife record is active.<\/p>" + "comments": "

The timestamp when the wildlife record was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "wildlife_h", - "tableFileName": "wildlife_h", + "tableName": "agency_code", + "tableFileName": "agency_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_type", - "type": "bpchar", - "length": 1, - "nullable": "", + "name": "display_order", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" + "comments": "

The order in which the values of the agency should be displayed when presented to a user in a list.<\/p>" }, { "tableName": "ear_tag_h", "tableFileName": "ear_tag_h", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "operation_user_id", - "type": "varchar", - "length": 32, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>h_ear_tag_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_USER", - "comments": "

The id of the user that created or modified the data in the case table. Defaults to the logged in user if not passed in by the application.<\/p>" + "defaultValue": "case_management.uuid_generate_v4()", + "comments": "

System generated unique key for case history. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { "tableName": "wildlife", "tableFileName": "wildlife", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>hwcr_outcome_code", + "type": "varchar", + "length": 10, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the wildlife record was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

A human readable code used to identify an HWCR outcome type.<\/p>" }, { "tableName": "case_location_code", "tableFileName": "case_location_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "display_order", - "type": "int4", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>case_location_code", + "type": "varchar", "length": 10, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The order in which the values of the location type should be displayed when presented to a user in a list.<\/p>" + "comments": "

A human readable code used to identify a location type.<\/p>" }, { "tableName": "flyway_schema_history", @@ -1838,9 +1852,9 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "installed_by", + "name": "type", "type": "varchar", - "length": 100, + "length": 20, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -1852,69 +1866,69 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "is_trap_ind", - "type": "bool", - "length": 1, + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "true", - "comments": "

Indicates if the EQUIPMENT_CODE value represents a trap. Default to ‘true’. For EQUIPMENT_CODE values such as Signage or Trail cameras the value is ‘false’<\/p>" + "defaultValue": "null", + "comments": "

The timestamp when the equipment type was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "site_h", "tableFileName": "site_h", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "operation_user_id", - "type": "varchar", - "length": 32, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>h_site_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_USER", - "comments": "

The id of the user that created or modified the data in the site table. Defaults to the logged in user if not passed in by the application.<\/p>" + "defaultValue": "case_management.uuid_generate_v4()", + "comments": "

System generated unique key for site history. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { "tableName": "non_compliance_decision_matrix_code", "tableFileName": "non_compliance_decision_matrix_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "display_order", - "type": "int4", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>non_compliance_decision_matrix_code", + "type": "varchar", "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

A human readable code used to identify a non_compliance_decision_matrix_code code.<\/p>" }, { - "tableName": "age_code", - "tableFileName": "age_code", + "tableName": "equipment", + "tableFileName": "equipment", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "short_description", - "type": "varchar", - "length": 50, + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The short description of an age type.<\/p>" + "comments": "

The timestamp when the equipment record was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "inaction_reason_code", "tableFileName": "inaction_reason_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "long_description", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>inaction_reason_code", "type": "varchar", - "length": 250, - "nullable": "√", + "length": 10, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The long description of the reason why no action on the case was taken.<\/p>" + "comments": "

A human readable code used to identify a reason why no action on the case was taken.<\/p>" }, { "tableName": "drug_method_code", @@ -1922,55 +1936,55 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "display_order", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the drug injection method type was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The order in which the values of the drug injection method type should be displayed when presented to a user in a list.<\/p>" }, { - "tableName": "inaction_reason_code", - "tableFileName": "inaction_reason_code", + "tableName": "age_code", + "tableFileName": "age_code", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>agency_code", + "keyClass": "", + "keyTitle": "", + "name": "update_user_id", "type": "varchar", - "length": 10, + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify an agency.<\/p>" + "comments": "

The id of the user that updated the age type.<\/p>" }, { - "tableName": "case_code", - "tableFileName": "case_code", + "tableName": "flyway_schema_history", + "tableFileName": "flyway_schema_history", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "long_description", - "type": "varchar", - "length": 250, - "nullable": "√", + "keyClass": "indexedColumn", + "keyTitle": "Indexed", + "name": "<\/i>success", + "type": "bool", + "length": 1, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The long description of a case type.<\/p>" + "comments": "" }, { - "tableName": "hwcr_outcome_code", - "tableFileName": "hwcr_outcome_code", + "tableName": "decision_h", + "tableFileName": "decision_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "short_description", - "type": "varchar", - "length": 50, + "name": "operation_executed_at", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The short description of an HWCR outcome type.<\/p>" + "defaultValue": "now()", + "comments": "" }, { "tableName": "wildlife_h", @@ -1978,13 +1992,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_executed_at", - "type": "timestamp", - "length": 29, + "name": "target_row_id", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

The timestamp when the data in the case table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" + "defaultValue": "null", + "comments": "

The unique key for the case that has been created or modified.<\/p>" }, { "tableName": "hwcr_outcome_code", @@ -1992,27 +2006,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "display_order", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the HWCR outcome type was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The order in which the values of the HWCR outcome type should be displayed when presented to a user in a list.<\/p>" }, { - "tableName": "ear_tag", - "tableFileName": "ear_tag", + "tableName": "case_file_h", + "tableFileName": "case_file_h", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>wildlife_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "operation_executed_at", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

System generated unique key for an animal. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "defaultValue": "now()", + "comments": "

The timestamp when the data in the case table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "action", @@ -2020,13 +2034,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "√", + "name": "create_user_id", + "type": "varchar", + "length": 32, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the case was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that created the case.<\/p>" }, { "tableName": "flyway_schema_history", @@ -2034,27 +2048,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "checksum", - "type": "int4", - "length": 10, - "nullable": "√", + "name": "description", + "type": "varchar", + "length": 200, + "nullable": "", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "lead", - "tableFileName": "lead", + "tableName": "discharge_code", + "tableFileName": "discharge_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", - "type": "varchar", - "length": 32, + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the complaint/case relationship.<\/p>" + "comments": "

The timestamp when the case management discharge_code was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "case_location_code", @@ -2062,13 +2076,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "", + "name": "display_order", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the location type was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The order in which the values of the location type should be displayed when presented to a user in a list.<\/p>" }, { "tableName": "action_code", @@ -2076,27 +2090,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "", + "name": "long_description", + "type": "varchar", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the case management action was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The long description of a case management action.<\/p>" }, { - "tableName": "decision_h", - "tableFileName": "decision_h", + "tableName": "schedule_code", + "tableFileName": "schedule_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>h_decision_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "case_management.uuid_generate_v4()", - "comments": "" + "defaultValue": "null", + "comments": "

The timestamp when the case management schedule_code was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "inaction_reason_code", @@ -2104,13 +2118,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "", + "name": "display_order", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the reason why no action on the case was taken was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The order in which the values of the reasons why no action on the case was taken should be displayed when presented to a user in a list.<\/p>" }, { "tableName": "schedule_code", @@ -2118,55 +2132,55 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "long_description", "type": "varchar", - "length": 32, - "nullable": "", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the case management schedule_code.<\/p>" + "comments": "

The long description of a case management schedule_code.<\/p>" }, { "tableName": "wildlife", "tableFileName": "wildlife", "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>wildlife_guid", + "type": "uuid", + "length": 2147483647, + "nullable": "", + "autoUpdated": "", + "defaultValue": "case_management.uuid_generate_v4()", + "comments": "

System generated unique key for an animal. This key should never be exposed to users via any system utilizing the tables.<\/p>" + }, + { + "tableName": "decision", + "tableFileName": "decision", + "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>sex_code", + "name": "<\/i>non_compliance_decision_matrix_code", "type": "varchar", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a sex type.<\/p>" + "comments": "" }, { - "tableName": "decision", - "tableFileName": "decision", + "tableName": "ear_tag", + "tableFileName": "ear_tag", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "update_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the case management action was created. The timestamp is stored in UTC with no Offset.<\/p>" - }, - { - "tableName": "configuration_h", - "tableFileName": "configuration_h", - "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>h_configuration_guid", - "type": "uuid", - "length": 2147483647, - "nullable": "", - "autoUpdated": "", - "defaultValue": "case_management.uuid_generate_v4()", - "comments": "

System generated unique key for configuration history. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "comments": "

The id of the user that updated the ear_tag record.<\/p>" }, { "tableName": "sector_code", @@ -2174,55 +2188,55 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, + "name": "short_description", + "type": "varchar", + "length": 50, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if the case management sector_code is active.<\/p>" + "comments": "

The short description of a case management sector_code.<\/p>" }, { - "tableName": "case_code", - "tableFileName": "case_code", + "tableName": "flyway_schema_history", + "tableFileName": "flyway_schema_history", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "short_description", - "type": "varchar", - "length": 50, - "nullable": "√", + "name": "execution_time", + "type": "int4", + "length": 10, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The short description of a case type.<\/p>" + "comments": "" }, { - "tableName": "site_h", - "tableFileName": "site_h", + "tableName": "equipment_code", + "tableFileName": "equipment_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "target_row_id", - "type": "uuid", - "length": 2147483647, + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The unique key for the site that has been created or modified.<\/p>" + "comments": "

The timestamp when the equipment type was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "discharge_code", - "tableFileName": "discharge_code", + "tableName": "case_file", + "tableFileName": "case_file", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>discharge_code", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>case_location_code", "type": "varchar", "length": 10, - "nullable": "", + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a discharge code.<\/p>" + "comments": "

A human readable code used to identify a location type.<\/p>" }, { "tableName": "decision", @@ -2230,41 +2244,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "create_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the case management action was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that created the case management action.<\/p>" }, { - "tableName": "sex_code", - "tableFileName": "sex_code", + "tableName": "inaction_reason_code", + "tableFileName": "inaction_reason_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "long_description", - "type": "varchar", - "length": 250, + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The long description of a sex type.<\/p>" + "comments": "

The timestamp when the reason why no action on the case was taken was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "site", - "tableFileName": "site", + "tableName": "authorization_permit", + "tableFileName": "authorization_permit", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>case_file_guid", - "type": "uuid", - "length": 2147483647, - "nullable": "", + "keyClass": "", + "keyTitle": "", + "name": "update_user_id", + "type": "varchar", + "length": 32, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

System generated unique key for a case. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "comments": "

The id of the user that updated the authroized site id<\/p>" }, { "tableName": "case_code", @@ -2272,27 +2286,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the case type.<\/p>" + "comments": "

A boolean indicator to determine if the case type is active.<\/p>" }, { - "tableName": "case_file_h", - "tableFileName": "case_file_h", + "tableName": "sex_code", + "tableFileName": "sex_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "target_row_id", - "type": "uuid", - "length": 2147483647, + "name": "update_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The unique key for the case that has been created or modified.<\/p>" + "comments": "

The id of the user that updated the sex type.<\/p>" }, { "tableName": "agency_code", @@ -2300,41 +2314,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "√", + "name": "create_user_id", + "type": "varchar", + "length": 32, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the agency was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that created the agency code.<\/p>" }, { - "tableName": "action_h", - "tableFileName": "action_h", + "tableName": "threat_level_code", + "tableFileName": "threat_level_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "target_row_id", - "type": "uuid", - "length": 2147483647, + "name": "update_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The unique key for the action that has been created or modified.<\/p>" + "comments": "

The id of the user that updated the threat level type.<\/p>" }, { - "tableName": "authorization_permit", - "tableFileName": "authorization_permit", + "tableName": "wildlife_h", + "tableFileName": "wildlife_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "authorization_permit_id", - "type": "varchar", - "length": 50, - "nullable": "", + "name": "data_after_executed_operation", + "type": "jsonb", + "length": 2147483647, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The value used for an authorized site id<\/p>" + "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" }, { "tableName": "ear_code", @@ -2342,13 +2356,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "create_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the ear type was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that created the ear type.<\/p>" }, { "tableName": "schedule_sector_xref", @@ -2356,9 +2370,9 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "create_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -2368,15 +2382,15 @@

Columns

"tableName": "wildlife_h", "tableFileName": "wildlife_h", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "operation_user_id", - "type": "varchar", - "length": 32, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>h_wildlife_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_USER", - "comments": "

The id of the user that created or modified the data in the case table. Defaults to the logged in user if not passed in by the application.<\/p>" + "defaultValue": "case_management.uuid_generate_v4()", + "comments": "

System generated unique key for case history. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { "tableName": "drug_code", @@ -2384,27 +2398,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "create_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the drug type was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that created the drug type.<\/p>" }, { "tableName": "inaction_reason_code", "tableFileName": "inaction_reason_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "display_order", - "type": "int4", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>agency_code", + "type": "varchar", "length": 10, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The order in which the values of the reasons why no action on the case was taken should be displayed when presented to a user in a list.<\/p>" + "comments": "

A human readable code used to identify an agency.<\/p>" }, { "tableName": "action_h", @@ -2412,41 +2426,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "data_after_executed_operation", - "type": "jsonb", - "length": 2147483647, - "nullable": "√", + "name": "operation_type", + "type": "bpchar", + "length": 1, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" + "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" }, { "tableName": "case_file", "tableFileName": "case_file", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "review_required_ind", - "type": "bool", - "length": 1, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>inaction_reason_code", + "type": "varchar", + "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A flag to indicate that a further review of the file by a supervisor is required.<\/p>" + "comments": "

A human readable code used to identify a reason why no action on the case was taken.<\/p>" }, { - "tableName": "threat_level_code", - "tableFileName": "threat_level_code", + "tableName": "drug_method_code", + "tableFileName": "drug_method_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "long_description", - "type": "varchar", - "length": 250, - "nullable": "√", + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The long description of a threat level type.<\/p>" + "comments": "

The timestamp when the drug injection method type was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "drug_administered_h", @@ -2454,13 +2468,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_executed_at", - "type": "timestamp", - "length": 29, + "name": "target_row_id", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

The timestamp when the data in the case table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" + "defaultValue": "null", + "comments": "

The unique key for the case that has been created or modified.<\/p>" }, { "tableName": "case_location_code", @@ -2468,13 +2482,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the location type.<\/p>" + "comments": "

A boolean indicator to determine if the location type is active.<\/p>" }, { "tableName": "lead", @@ -2482,41 +2496,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "√", + "name": "create_user_id", + "type": "varchar", + "length": 32, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the complaint/case relationship was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that created the complaint/case relationship.<\/p>" }, { - "tableName": "schedule_sector_xref", - "tableFileName": "schedule_sector_xref", + "tableName": "ear_tag_h", + "tableFileName": "ear_tag_h", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>sector_code", - "type": "varchar", - "length": 10, - "nullable": "", + "keyClass": "", + "keyTitle": "", + "name": "data_after_executed_operation", + "type": "jsonb", + "length": 2147483647, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" }, { - "tableName": "action_code", - "tableFileName": "action_code", + "tableName": "site", + "tableFileName": "site", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "short_description", + "name": "update_user_id", "type": "varchar", - "length": 250, + "length": 32, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The short description of a case management action.<\/p>" + "comments": "

The id of the user that updated the unauthroized site id<\/p>" }, { "tableName": "discharge_code", @@ -2524,13 +2538,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, + "name": "short_description", + "type": "varchar", + "length": 50, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if the case management discharge_code is active.<\/p>" + "comments": "

The short description of a case management discharge_code.<\/p>" }, { "tableName": "drug_administered", @@ -2538,13 +2552,13 @@

Columns

"tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>drug_remaining_outcome_code", - "type": "varchar", - "length": 10, - "nullable": "√", + "name": "<\/i>wildlife_guid", + "type": "uuid", + "length": 2147483647, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a remaining drug outcome type.<\/p>" + "comments": "

System generated unique key for an animal. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { "tableName": "sex_code", @@ -2552,13 +2566,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the sex type.<\/p>" + "comments": "

A boolean indicator to determine if a sex type is active.<\/p>" }, { "tableName": "wildlife", @@ -2566,55 +2580,55 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", + "name": "species_code", "type": "varchar", - "length": 32, + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the wildlife record.<\/p>" + "comments": "

A human readable code used to identify a species. The COS Complaint Management is the authorative source for the screen labels and descriptions of the codes.<\/p>" }, { - "tableName": "action", - "tableFileName": "action", + "tableName": "hwcr_outcome_code", + "tableFileName": "hwcr_outcome_code", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>case_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "update_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

System generated unique key for a case. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "comments": "

The id of the user that updated the HWCR outcome type.<\/p>" }, { - "tableName": "schedule_code", - "tableFileName": "schedule_code", + "tableName": "drug_code", + "tableFileName": "drug_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "long_description", - "type": "varchar", - "length": 250, - "nullable": "√", + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The long description of a case management schedule_code.<\/p>" + "comments": "

The timestamp when the drug type was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "case_file", "tableFileName": "case_file", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>case_conflict_history_code", - "type": "varchar", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "complainant_contacted_ind", + "type": "bool", + "length": 1, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a conflict history type.<\/p>" + "comments": "

A boolean indicator to determine if complainant is contacted.<\/p>" }, { "tableName": "age_code", @@ -2622,13 +2636,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "create_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the age type was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that created the age type.<\/p>" }, { "tableName": "action_code", @@ -2636,41 +2650,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "short_description", "type": "varchar", - "length": 32, - "nullable": "", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the case management action.<\/p>" + "comments": "

The short description of a case management action.<\/p>" }, { - "tableName": "authorization_permit", - "tableFileName": "authorization_permit", + "tableName": "wildlife_h", + "tableFileName": "wildlife_h", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>authorization_permit_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "operation_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", - "defaultValue": "case_management.uuid_generate_v4()", - "comments": "

System generated unique key for an authorized_permit record<\/p>" + "defaultValue": "CURRENT_USER", + "comments": "

The id of the user that created or modified the data in the case table. Defaults to the logged in user if not passed in by the application.<\/p>" }, { - "tableName": "wildlife", - "tableFileName": "wildlife", + "tableName": "sector_code", + "tableFileName": "sector_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>wildlife_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "case_management.uuid_generate_v4()", - "comments": "

System generated unique key for an animal. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "defaultValue": "null", + "comments": "

The timestamp when the case management sector_code was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "inaction_reason_code", @@ -2678,115 +2692,101 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the reason why no action on the case was taken.<\/p>" + "comments": "

A boolean indicator to determine if the reason why no action on the case was taken is active.<\/p>" }, { "tableName": "case_code", "tableFileName": "case_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, - "nullable": "√", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>case_code", + "type": "varchar", + "length": 10, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if the case type is active.<\/p>" + "comments": "

A human readable code used to identify a case type.<\/p>" }, { "tableName": "drug_code", "tableFileName": "drug_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "display_order", - "type": "int4", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>drug_code", + "type": "varchar", "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The order in which the values of the drug type should be displayed when presented to a user in a list.<\/p>" + "comments": "

A human readable code used to identify a drug type.<\/p>" }, { "tableName": "agency_code", "tableFileName": "agency_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, - "nullable": "√", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>agency_code", + "type": "varchar", + "length": 10, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if the agency code is active.<\/p>" + "comments": "

A human readable code used to identify an agency.<\/p>" }, { "tableName": "action", "tableFileName": "action", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "actor_guid", - "type": "uuid", - "length": 2147483647, - "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

Represents the IDIR guid of the user who performed the action.<\/p>" - }, - { - "tableName": "lead_h", - "tableFileName": "lead_h", - "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>h_lead_guid", + "name": "<\/i>action_guid", "type": "uuid", "length": 2147483647, "nullable": "", "autoUpdated": "", "defaultValue": "case_management.uuid_generate_v4()", - "comments": "

System generated unique key for lead history. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "comments": "

System generated unique key for the action. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { - "tableName": "non_compliance_decision_matrix_code", - "tableFileName": "non_compliance_decision_matrix_code", + "tableName": "ear_code", + "tableFileName": "ear_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "short_description", - "type": "varchar", - "length": 50, + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The short description of a case management non_compliance_decision_matrix_code.<\/p>" + "comments": "

The timestamp when the ear type was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "lead", - "tableFileName": "lead", + "tableName": "action_code", + "tableFileName": "action_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>lead_identifier", + "keyClass": "", + "keyTitle": "", + "name": "update_user_id", "type": "varchar", - "length": 20, - "nullable": "", + "length": 32, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Natural key for a complaint generated by an external system.<\/p>" + "comments": "

The id of the user that updated the case management action.<\/p>" }, { - "tableName": "schedule_sector_xref", - "tableFileName": "schedule_sector_xref", + "tableName": "discharge_code", + "tableFileName": "discharge_code", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -2796,6 +2796,20 @@

Columns

"nullable": "", "autoUpdated": "", "defaultValue": "null", + "comments": "

The timestamp when the case management discharge_code was created. The timestamp is stored in UTC with no Offset.<\/p>" + }, + { + "tableName": "schedule_sector_xref", + "tableFileName": "schedule_sector_xref", + "tableType": "Table", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>sector_code", + "type": "varchar", + "length": 10, + "nullable": "", + "autoUpdated": "", + "defaultValue": "null", "comments": "" }, { @@ -2804,55 +2818,55 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, - "nullable": "√", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if the ear_tag record is active.<\/p>" + "comments": "

The timestamp when the ear_tag record was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "ear_code", "tableFileName": "ear_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "display_order", - "type": "int4", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>ear_code", + "type": "varchar", "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The order in which the values of the ear type should be displayed when presented to a user in a list.<\/p>" + "comments": "

A human readable code used to identify an ear type.<\/p>" }, { "tableName": "threat_level_code", "tableFileName": "threat_level_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "display_order", - "type": "int4", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>threat_level_code", + "type": "varchar", "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The order in which the values of the threat level type should be displayed when presented to a user in a list.<\/p>" + "comments": "

A human readable code used to identify a threat level type.<\/p>" }, { "tableName": "wildlife", "tableFileName": "wildlife", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_user_id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>age_code", "type": "varchar", - "length": 32, - "nullable": "", + "length": 10, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the wildlife record.<\/p>" + "comments": "

A human readable code used to identify an age type.<\/p>" }, { "tableName": "decision", @@ -2860,13 +2874,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, - "nullable": "", + "name": "inspection_number", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if the case management action is active.<\/p>" + "comments": "

The NRIS inspection number for a CEEB decision<\/p>" }, { "tableName": "action_type_code", @@ -2874,13 +2888,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "√", + "name": "create_user_id", + "type": "varchar", + "length": 32, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the action type entry was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that created the action type entry.<\/p>" }, { "tableName": "drug_remaining_outcome_code", @@ -2888,27 +2902,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "create_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the remaining drug outcome type was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that created the remaining drug outcome type.<\/p>" }, { "tableName": "lead_h", "tableFileName": "lead_h", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "operation_user_id", - "type": "varchar", - "length": 32, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>h_lead_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_USER", - "comments": "

The id of the user that created or modified the data in the lead table. Defaults to the logged in user if not passed in by the application.<\/p>" + "defaultValue": "case_management.uuid_generate_v4()", + "comments": "

System generated unique key for lead history. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { "tableName": "ear_tag", @@ -2916,13 +2930,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", + "name": "ear_tag_identifier", "type": "varchar", - "length": 32, + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the ear_tag record.<\/p>" + "comments": "

An identifier used to label an animal, not used as a natural key as they are not guaranteed to be unique<\/p>" }, { "tableName": "age_code", @@ -2930,27 +2944,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, - "nullable": "", + "name": "active_ind", + "type": "bool", + "length": 1, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the age type.<\/p>" + "comments": "

A boolean indicator to determine if an age type is active.<\/p>" }, { - "tableName": "decision_h", - "tableFileName": "decision_h", + "tableName": "schedule_code", + "tableFileName": "schedule_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "target_row_id", - "type": "uuid", - "length": 2147483647, + "name": "update_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The id of the user that updated the case management schedule_code.<\/p>" }, { "tableName": "drug_code", @@ -2958,13 +2972,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, + "name": "short_description", + "type": "varchar", + "length": 50, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if a drug type is active.<\/p>" + "comments": "

The short description of a drug type.<\/p>" }, { "tableName": "case_location_code", @@ -2972,13 +2986,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "long_description", "type": "varchar", - "length": 32, - "nullable": "", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the location type.<\/p>" + "comments": "

The long description of the location type where the case was taken.<\/p>" }, { "tableName": "flyway_schema_history", @@ -2986,10 +3000,10 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "script", + "name": "version", "type": "varchar", - "length": 1000, - "nullable": "", + "length": 50, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", "comments": "" @@ -3000,27 +3014,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, + "name": "short_description", + "type": "varchar", + "length": 50, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if the location type is active.<\/p>" + "comments": "

The short description of the location type where the case was taken.<\/p>" }, { - "tableName": "conflict_history_code", - "tableFileName": "conflict_history_code", + "tableName": "non_compliance_decision_matrix_code", + "tableFileName": "non_compliance_decision_matrix_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "long_description", - "type": "varchar", - "length": 250, - "nullable": "√", + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The long description of a conflict history type.<\/p>" + "comments": "

The timestamp when the case management non_compliance_decision_matrix_code was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "action_type_code", @@ -3028,51 +3042,51 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "short_description", "type": "varchar", - "length": 32, - "nullable": "", + "length": 50, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the action type entry.<\/p>" + "comments": "

The short description of a logical grouping of case management actions.<\/p>" }, { - "tableName": "action_type_code", - "tableFileName": "action_type_code", + "tableName": "configuration", + "tableFileName": "configuration", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "short_description", + "name": "update_user_id", "type": "varchar", - "length": 50, - "nullable": "√", + "length": 32, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The short description of a logical grouping of case management actions.<\/p>" + "comments": "

The id of the user that updated the configuration entry.<\/p>" }, { "tableName": "case_file", "tableFileName": "case_file", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>inaction_reason_code", - "type": "varchar", - "length": 10, - "nullable": "√", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>case_file_guid", + "type": "uuid", + "length": 2147483647, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

A human readable code used to identify a reason why no action on the case was taken.<\/p>" + "defaultValue": "case_management.uuid_generate_v4()", + "comments": "

System generated unique key for a case. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { "tableName": "schedule_sector_xref", "tableFileName": "schedule_sector_xref", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_user_id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>schedule_code", "type": "varchar", - "length": 32, + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -3084,13 +3098,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "display_order", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the sex type was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The order in which the values of the sex type should be displayed when presented to a user in a list.<\/p>" }, { "tableName": "action", @@ -3098,13 +3112,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the case.<\/p>" + "comments": "

A boolean indicator to determine if the action is active and should be displayed in the application.<\/p>" }, { "tableName": "ear_tag_h", @@ -3112,13 +3126,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_executed_at", - "type": "timestamp", - "length": 29, + "name": "target_row_id", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

The timestamp when the data in the case table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" + "defaultValue": "null", + "comments": "

The unique key for the case that has been created or modified.<\/p>" }, { "tableName": "equipment", @@ -3126,13 +3140,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "was_animal_captured", - "type": "bpchar", - "length": 1, + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "'U'::bpchar", - "comments": "

Indicates if an animal was captured by the EQUIPMENT. Values are limited to ‘Y’ (Yes) ‘N’ (No) and ‘U’ (Unknown - Not Specified Yet). The default is ‘U’<\/p>" + "defaultValue": "null", + "comments": "

The timestamp when the equipment record was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "drug_remaining_outcome_code", @@ -3140,41 +3154,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the remaining drug outcome type.<\/p>" + "comments": "

A boolean indicator to determine if a remaining drug outcome type is active.<\/p>" }, { - "tableName": "hwcr_outcome_code", - "tableFileName": "hwcr_outcome_code", + "tableName": "decision_h", + "tableFileName": "decision_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "long_description", - "type": "varchar", - "length": 250, + "name": "data_after_executed_operation", + "type": "jsonb", + "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The long description of an HWCR outcome type.<\/p>" + "comments": "" }, { "tableName": "drug_administered", "tableFileName": "drug_administered", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "drug_used_amount", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>drug_method_code", "type": "varchar", - "length": 50, + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The amount of drug used<\/p>" + "comments": "

A human readable code used to identify a drug injection method type.<\/p>" }, { "tableName": "schedule_code", @@ -3182,13 +3196,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "create_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the case management schedule_code was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that created the case management schedule_code.<\/p>" }, { "tableName": "case_location_code", @@ -3196,55 +3210,55 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "√", + "name": "create_user_id", + "type": "varchar", + "length": 32, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the location type was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that created the location type.<\/p>" }, { - "tableName": "action_type_code", - "tableFileName": "action_type_code", + "tableName": "configuration", + "tableFileName": "configuration", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "long_description", - "type": "varchar", - "length": 250, + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The long description of a logical grouping of case management actions.<\/p>" + "comments": "

The timestamp when the configuration entry was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "action_type_action_xref", "tableFileName": "action_type_action_xref", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, - "nullable": "√", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>action_type_code", + "type": "varchar", + "length": 10, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if the relationship between case management actions and logical types is active.<\/p>" + "comments": "

A human readable code used to identify a logical grouping of case management actions.<\/p>" }, { - "tableName": "action_h", - "tableFileName": "action_h", + "tableName": "threat_level_code", + "tableFileName": "threat_level_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_type", - "type": "bpchar", - "length": 1, + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" + "comments": "

The timestamp when the threat level type was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "case_code", @@ -3252,13 +3266,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "short_description", "type": "varchar", - "length": 32, - "nullable": "", + "length": 50, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the case type.<\/p>" + "comments": "

The short description of a case type.<\/p>" }, { "tableName": "agency_code", @@ -3266,13 +3280,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "short_description", "type": "varchar", - "length": 32, - "nullable": "", + "length": 50, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the agency code.<\/p>" + "comments": "

The short description of the agency code.<\/p>" }, { "tableName": "sector_code", @@ -3280,41 +3294,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "display_order", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the case management sector_code was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "" }, { - "tableName": "discharge_code", - "tableFileName": "discharge_code", + "tableName": "case_file", + "tableFileName": "case_file", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "long_description", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>case_threat_level_code", "type": "varchar", - "length": 250, + "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The long description of a case management discharge_code.<\/p>" + "comments": "

A human readable code used to identify a threat level type.<\/p>" }, { "tableName": "drug_administered", "tableFileName": "drug_administered", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "vial_number", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>drug_code", "type": "varchar", - "length": 50, + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A vial number that relates to a seperate drug inventory system.<\/p>" + "comments": "

A human readable code used to identify a drug type.<\/p>" }, { "tableName": "configuration", @@ -3322,27 +3336,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "configuration_value", "type": "varchar", - "length": 32, + "length": 250, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the configuration entry.<\/p>" + "comments": "

The value of the configuration entry.<\/p>" }, { "tableName": "action", "tableFileName": "action", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>equipment_guid", - "type": "uuid", - "length": 2147483647, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

System generated unique key for a piece of equipment. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "comments": "

The timestamp when the case was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "decision", @@ -3350,13 +3364,13 @@

Columns

"tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>lead_agency_code", + "name": "<\/i>discharge_code", "type": "varchar", "length": 10, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The discharge code related to a decision<\/p>" }, { "tableName": "non_compliance_decision_matrix_code", @@ -3364,13 +3378,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "create_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the case management non_compliance_decision_matrix_code was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that created the case management non_compliance_decision_matrix_code.<\/p>" }, { "tableName": "drug_administered", @@ -3378,41 +3392,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "additional_comments_text", - "type": "text", - "length": 2147483647, - "nullable": "√", + "name": "update_user_id", + "type": "varchar", + "length": 32, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

Includes comments on immobilization outcomes, any adverse reactions, and drug storage or discarding.<\/p>" + "comments": "

The id of the user that updated the drug_administered record.<\/p>" }, { - "tableName": "threat_level_code", - "tableFileName": "threat_level_code", + "tableName": "drug_method_code", + "tableFileName": "drug_method_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>threat_level_code", - "type": "varchar", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a threat level type.<\/p>" + "comments": "

The timestamp when the drug injection method type was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "configuration", - "tableFileName": "configuration", + "tableName": "conflict_history_code", + "tableFileName": "conflict_history_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>configuration_code", - "type": "varchar", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify an configuration entry.<\/p>" + "comments": "

The timestamp when the conflict history type was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "lead_h", @@ -3420,41 +3434,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_executed_at", - "type": "timestamp", - "length": 29, + "name": "target_row_id", + "type": "varchar", + "length": 20, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", - "comments": "

The timestamp when the data in the lead table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" + "defaultValue": "null", + "comments": "

The unique key for the lead that has been created or modified.<\/p>" }, { - "tableName": "lead", - "tableFileName": "lead", + "tableName": "discharge_code", + "tableFileName": "discharge_code", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>case_identifier", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "update_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

System generated unique key for a case. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "comments": "

The id of the user that updated the case management discharge_code.<\/p>" }, { - "tableName": "flyway_schema_history", - "tableFileName": "flyway_schema_history", + "tableName": "drug_administered", + "tableFileName": "drug_administered", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "description", - "type": "varchar", - "length": 200, - "nullable": "", + "name": "additional_comments_text", + "type": "text", + "length": 2147483647, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

Includes comments on immobilization outcomes, any adverse reactions, and drug storage or discarding.<\/p>" }, { "tableName": "equipment_code", @@ -3462,41 +3476,55 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", + "name": "display_order", + "type": "int4", + "length": 10, + "nullable": "", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

The order in which the values of the equipment type should be displayed when presented to a user in a list.<\/p>" + }, + { + "tableName": "case_location_code", + "tableFileName": "case_location_code", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", "name": "create_utc_timestamp", "type": "timestamp", "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the equipment type was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The timestamp when the location type was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "drug_administered", - "tableFileName": "drug_administered", + "tableName": "configuration_h", + "tableFileName": "configuration_h", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>drug_administered_guid", + "name": "<\/i>h_configuration_guid", "type": "uuid", "length": 2147483647, "nullable": "", "autoUpdated": "", "defaultValue": "case_management.uuid_generate_v4()", - "comments": "

System generated unique key for an drug that was administered to an animal. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "comments": "

System generated unique key for configuration history. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { - "tableName": "configuration_h", - "tableFileName": "configuration_h", + "tableName": "site", + "tableFileName": "site", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_user_id", - "type": "varchar", - "length": 32, - "nullable": "", + "name": "active_ind", + "type": "bool", + "length": 1, + "nullable": "√", "autoUpdated": "", - "defaultValue": "CURRENT_USER", - "comments": "

The id of the user that created or modified the data in the configuration table. Defaults to the logged in user if not passed in by the application.<\/p>" + "defaultValue": "true", + "comments": "

A boolean indicator to determine if the record has been soft deleted.<\/p>" }, { "tableName": "site", @@ -3504,37 +3532,23 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The id of the user that updated the unauthroized site id<\/p>" - }, - { - "tableName": "action_code", - "tableFileName": "action_code", - "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>action_code", - "type": "varchar", - "length": 10, + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a case management action.<\/p>" + "comments": "

The timestamp when the unauthroized site id was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "flyway_schema_history", "tableFileName": "flyway_schema_history", "tableType": "Table", - "keyClass": "indexedColumn", - "keyTitle": "Indexed", - "name": "<\/i>success", - "type": "bool", - "length": 1, + "keyClass": "", + "keyTitle": "", + "name": "installed_by", + "type": "varchar", + "length": 100, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -3546,27 +3560,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "create_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the equipment type was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that created the equipment type.<\/p>" }, { "tableName": "action_type_code", "tableFileName": "action_type_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, - "nullable": "√", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>action_type_code", + "type": "varchar", + "length": 10, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if the logical grouping of case management actions is active.<\/p>" + "comments": "

A human readable code used to identify a logical grouping of case management actions.<\/p>" }, { "tableName": "schedule_code", @@ -3574,55 +3588,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, + "name": "short_description", + "type": "varchar", + "length": 50, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if the case management schedule_code is active.<\/p>" + "comments": "

The short description of a case management schedule_code.<\/p>" }, { - "tableName": "drug_administered_h", - "tableFileName": "drug_administered_h", + "tableName": "action", + "tableFileName": "action", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "target_row_id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>wildlife_guid", "type": "uuid", "length": 2147483647, - "nullable": "", + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The unique key for the case that has been created or modified.<\/p>" + "comments": "" }, { - "tableName": "decision", - "tableFileName": "decision", - "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>schedule_sector_xref_guid", - "type": "uuid", - "length": 2147483647, - "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

Defines the combination of a WDR_SCHEDULE_CODE and a SECTOR_CATEGORY_CODE<\/p>" - }, - { - "tableName": "non_compliance_decision_matrix_code", - "tableFileName": "non_compliance_decision_matrix_code", + "tableName": "non_compliance_decision_matrix_code", + "tableFileName": "non_compliance_decision_matrix_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, + "name": "short_description", + "type": "varchar", + "length": 50, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if the case management non_compliance_decision_matrix_code is active.<\/p>" + "comments": "

The short description of a case management non_compliance_decision_matrix_code.<\/p>" }, { "tableName": "agency_code", @@ -3630,41 +3630,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "display_order", - "type": "int4", - "length": 10, - "nullable": "√", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The order in which the values of the agency should be displayed when presented to a user in a list.<\/p>" + "comments": "

The timestamp when the agency was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "decision", "tableFileName": "decision", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>discharge_code", - "type": "varchar", - "length": 10, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>decision_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The discharge code related to a decision<\/p>" + "defaultValue": "case_management.uuid_generate_v4()", + "comments": "

Unique identifier for the decision<\/p>" }, { - "tableName": "schedule_sector_xref", - "tableFileName": "schedule_sector_xref", + "tableName": "ear_tag_h", + "tableFileName": "ear_tag_h", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>schedule_code", - "type": "varchar", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "operation_executed_at", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "" + "defaultValue": "now()", + "comments": "

The timestamp when the data in the case table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "agency_code", @@ -3672,41 +3672,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "", + "name": "long_description", + "type": "varchar", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the agency was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The long description of the agency code.<\/p>" }, { - "tableName": "schedule_code", - "tableFileName": "schedule_code", + "tableName": "drug_code", + "tableFileName": "drug_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "short_description", + "name": "update_user_id", "type": "varchar", - "length": 50, + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The short description of a case management schedule_code.<\/p>" + "comments": "

The id of the user that updated the drug type.<\/p>" }, { - "tableName": "configuration_h", - "tableFileName": "configuration_h", + "tableName": "ear_tag", + "tableFileName": "ear_tag", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_type", - "type": "bpchar", + "name": "active_ind", + "type": "bool", "length": 1, - "nullable": "", + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" + "comments": "

A boolean indicator to determine if the ear_tag record is active.<\/p>" }, { "tableName": "age_code", @@ -3714,13 +3714,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "display_order", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the age type was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The order in which the values of the age type should be displayed when presented to a user in a list.<\/p>" }, { "tableName": "configuration_h", @@ -3728,27 +3728,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "data_after_executed_operation", - "type": "jsonb", - "length": 2147483647, - "nullable": "√", + "name": "operation_type", + "type": "bpchar", + "length": 1, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" + "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" }, { "tableName": "authorization_permit", "tableFileName": "authorization_permit", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_user_id", - "type": "varchar", - "length": 32, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>case_file_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the authroized site id.<\/p>" + "comments": "

System generated unique key for a case. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { "tableName": "case_code", @@ -3756,27 +3756,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "√", + "name": "create_user_id", + "type": "varchar", + "length": 32, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the case type was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that created the case type.<\/p>" }, { "tableName": "site", "tableFileName": "site", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, - "nullable": "√", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>site_guid", + "type": "uuid", + "length": 2147483647, + "nullable": "", "autoUpdated": "", - "defaultValue": "true", - "comments": "

A boolean indicator to determine if the record has been soft deleted.<\/p>" + "defaultValue": "case_management.uuid_generate_v4()", + "comments": "

System generated unique key for a site record<\/p>" }, { "tableName": "conflict_history_code", @@ -3784,13 +3784,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "display_order", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the conflict history type was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The order in which the values of the conflict history type should be displayed when presented to a user in a list.<\/p>" }, { "tableName": "ear_code", @@ -3798,13 +3798,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "display_order", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the ear type was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The order in which the values of the ear type should be displayed when presented to a user in a list.<\/p>" }, { "tableName": "drug_method_code", @@ -3812,13 +3812,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "long_description", "type": "varchar", - "length": 32, - "nullable": "", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the drug injection method type.<\/p>" + "comments": "

The long description of a drug injection method type.<\/p>" }, { "tableName": "wildlife", @@ -3826,41 +3826,41 @@

Columns

"tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>hwcr_outcome_code", + "name": "<\/i>threat_level_code", "type": "varchar", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify an HWCR outcome type.<\/p>" + "comments": "

A human readable code used to identify a threat level type.<\/p>" }, { - "tableName": "authorization_permit_h", - "tableFileName": "authorization_permit_h", + "tableName": "lead_h", + "tableFileName": "lead_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "target_row_id", - "type": "uuid", - "length": 2147483647, + "name": "operation_executed_at", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The unique key for the authorization permit that has been created or modified.<\/p>" + "defaultValue": "now()", + "comments": "

The timestamp when the data in the lead table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "action_h", - "tableFileName": "action_h", + "tableName": "threat_level_code", + "tableFileName": "threat_level_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>h_action_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "case_management.uuid_generate_v4()", - "comments": "

System generated unique key for action history. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "defaultValue": "null", + "comments": "

The timestamp when the threat level type was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "equipment", @@ -3868,13 +3868,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "", + "name": "equipment_geometry_point", + "type": "geometry", + "length": 2147483647, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the equipment record was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The closest approximation to where the equipment is deployed. Stored as a geometric point using the EPSG:3005 Projected Coordinate System (BC Albers)<\/p>" }, { "tableName": "drug_administered", @@ -3882,13 +3882,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", + "name": "drug_used_amount", "type": "varchar", - "length": 32, + "length": 50, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the drug_administered record.<\/p>" + "comments": "

The amount of drug used<\/p>" }, { "tableName": "site", @@ -3896,13 +3896,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "site_id", + "type": "varchar", + "length": 50, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the unauthroized site id was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The value used for an unauthorized site id<\/p>" }, { "tableName": "non_compliance_decision_matrix_code", @@ -3910,27 +3910,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "long_description", "type": "varchar", - "length": 32, - "nullable": "", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the case management non_compliance_decision_matrix_code.<\/p>" + "comments": "

The long description of a case management non_compliance_decision_matrix_code.<\/p>" }, { - "tableName": "wildlife_h", - "tableFileName": "wildlife_h", + "tableName": "agency_code", + "tableFileName": "agency_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>h_wildlife_guid", - "type": "uuid", - "length": 2147483647, - "nullable": "", - "autoUpdated": "", - "defaultValue": "case_management.uuid_generate_v4()", - "comments": "

System generated unique key for case history. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "keyClass": "", + "keyTitle": "", + "name": "update_user_id", + "type": "varchar", + "length": 32, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

The id of the user that updated the agency code.<\/p>" }, { "tableName": "configuration", @@ -3938,41 +3938,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the configuration entry.<\/p>" + "comments": "

A boolean indicator to determine if the configuration_entry is active.<\/p>" }, { "tableName": "decision", "tableFileName": "decision", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>non_compliance_decision_matrix_code", + "keyClass": "", + "keyTitle": "", + "name": "rationale_text", "type": "varchar", - "length": 10, + "length": 4000, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The rationale code related to a CEEB decision<\/p>" }, { "tableName": "action", "tableFileName": "action", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, - "nullable": "√", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>action_type_action_xref_guid", + "type": "uuid", + "length": 2147483647, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if the action is active and should be displayed in the application.<\/p>" + "comments": "

System generated unique key for a relationship between case management actions and logical types. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { "tableName": "action_type_action_xref", @@ -3980,27 +3980,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "√", + "name": "create_user_id", + "type": "varchar", + "length": 32, + "nullable": "", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "equipment_code", - "tableFileName": "equipment_code", + "tableName": "configuration_h", + "tableFileName": "configuration_h", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>equipment_code", + "keyClass": "", + "keyTitle": "", + "name": "operation_user_id", "type": "varchar", - "length": 10, + "length": 32, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

A human readable code used to identify an equipment type.<\/p>" + "defaultValue": "CURRENT_USER", + "comments": "

The id of the user that created or modified the data in the configuration table. Defaults to the logged in user if not passed in by the application.<\/p>" }, { "tableName": "case_file", @@ -4008,83 +4008,83 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "attended_ind", - "type": "bool", - "length": 1, + "name": "update_user_id", + "type": "varchar", + "length": 32, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if the COS officer attended the assessment.<\/p>" + "comments": "

The id of the user that updated the case.<\/p>" }, { "tableName": "case_file", "tableFileName": "case_file", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "note_text", - "type": "text", - "length": 2147483647, - "nullable": "√", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>owned_by_agency_code", + "type": "varchar", + "length": 10, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A free-form note that can be edited by collaborators on the case.<\/p>" + "comments": "

A human readable code used to identify the agency that owns this case.<\/p>" }, { - "tableName": "ear_tag", - "tableFileName": "ear_tag", + "tableName": "case_file_h", + "tableFileName": "case_file_h", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>ear_tag_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "operation_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", - "defaultValue": "case_management.uuid_generate_v4()", - "comments": "

System generated unique key for an ear tag. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "defaultValue": "CURRENT_USER", + "comments": "

The id of the user that created or modified the data in the case table. Defaults to the logged in user if not passed in by the application.<\/p>" }, { - "tableName": "equipment_code", - "tableFileName": "equipment_code", + "tableName": "configuration_h", + "tableFileName": "configuration_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "long_description", - "type": "varchar", - "length": 250, + "name": "data_after_executed_operation", + "type": "jsonb", + "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The long description of an equipment type.<\/p>" + "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" }, { "tableName": "lead", "tableFileName": "lead", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, - "nullable": "√", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>case_identifier", + "type": "uuid", + "length": 2147483647, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the complaint/case relationship.<\/p>" + "comments": "

System generated unique key for a case. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { - "tableName": "wildlife", - "tableFileName": "wildlife", + "tableName": "sector_code", + "tableFileName": "sector_code", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>threat_level_code", - "type": "varchar", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a threat level type.<\/p>" + "comments": "

The timestamp when the case management sector_code was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "decision", @@ -4092,13 +4092,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the case management action.<\/p>" + "comments": "

A boolean indicator to determine if the case management action is active.<\/p>" }, { "tableName": "drug_method_code", @@ -4106,41 +4106,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the drug injection method type.<\/p>" + "comments": "

A boolean indicator to determine if a drug injection method type is active.<\/p>" }, { "tableName": "drug_administered", "tableFileName": "drug_administered", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>drug_method_code", - "type": "varchar", - "length": 10, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>drug_administered_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

A human readable code used to identify a drug injection method type.<\/p>" + "defaultValue": "case_management.uuid_generate_v4()", + "comments": "

System generated unique key for an drug that was administered to an animal. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { "tableName": "decision", "tableFileName": "decision", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "rationale_text", - "type": "varchar", - "length": 4000, - "nullable": "√", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>case_file_guid", + "type": "uuid", + "length": 2147483647, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The rationale code related to a CEEB decision<\/p>" + "comments": "

Assoiciates the decision record to an existing case file<\/p>" }, { "tableName": "drug_remaining_outcome_code", @@ -4148,13 +4148,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "display_order", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the remaining drug outcome type was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The order in which the values of the remaining drug outcome type should be displayed when presented to a user in a list.<\/p>" }, { "tableName": "case_file", @@ -4162,13 +4162,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "", + "name": "note_text", + "type": "text", + "length": 2147483647, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the case was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

A free-form note that can be edited by collaborators on the case.<\/p>" }, { "tableName": "equipment", @@ -4176,13 +4176,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the equipment record.<\/p>" + "comments": "

A boolean indicator to determine if the equipment record is active and should be displayed in the application.<\/p>" }, { "tableName": "drug_remaining_outcome_code", @@ -4190,13 +4190,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, + "name": "short_description", + "type": "varchar", + "length": 50, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if a remaining drug outcome type is active.<\/p>" + "comments": "

The short description of a remaining drug outcome type.<\/p>" }, { "tableName": "discharge_code", @@ -4204,18 +4204,32 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "display_order", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the case management discharge_code was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "" }, { "tableName": "decision", "tableFileName": "decision", "tableType": "Table", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>lead_agency_code", + "type": "varchar", + "length": 10, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "" + }, + { + "tableName": "action_code", + "tableFileName": "action_code", + "tableType": "Table", "keyClass": "", "keyTitle": "", "name": "create_user_id", @@ -4241,46 +4255,32 @@

Columns

"comments": "

The timestamp when the case management action was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "non_compliance_decision_matrix_code", - "tableFileName": "non_compliance_decision_matrix_code", + "tableName": "case_code", + "tableFileName": "case_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "long_description", - "type": "varchar", - "length": 250, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

The long description of a case management non_compliance_decision_matrix_code.<\/p>" - }, - { - "tableName": "drug_method_code", - "tableFileName": "drug_method_code", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "long_description", - "type": "varchar", - "length": 250, + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The long description of a drug injection method type.<\/p>" + "comments": "

The timestamp when the case type was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "action_type_action_xref", "tableFileName": "action_type_action_xref", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "display_order", - "type": "int4", - "length": 10, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>action_type_action_xref_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The order in which the values of the case management actions should be displayed when presented to a user in a list.<\/p>" + "defaultValue": "case_management.uuid_generate_v4()", + "comments": "

System generated unique key for a relationship between case management actions and logical types. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { "tableName": "flyway_schema_history", @@ -4288,41 +4288,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "execution_time", + "name": "checksum", "type": "int4", "length": 10, - "nullable": "", + "nullable": "√", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "drug_code", - "tableFileName": "drug_code", + "tableName": "drug_remaining_outcome_code", + "tableFileName": "drug_remaining_outcome_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>drug_code", - "type": "varchar", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a drug type.<\/p>" + "comments": "

The timestamp when the remaining drug outcome type was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "case_file_h", "tableFileName": "case_file_h", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "operation_user_id", - "type": "varchar", - "length": 32, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>h_case_file_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_USER", - "comments": "

The id of the user that created or modified the data in the case table. Defaults to the logged in user if not passed in by the application.<\/p>" + "defaultValue": "case_management.uuid_generate_v4()", + "comments": "

System generated unique key for case history. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { "tableName": "sector_code", @@ -4330,13 +4330,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the case management sector_code.<\/p>" + "comments": "

A boolean indicator to determine if the case management sector_code is active.<\/p>" }, { "tableName": "threat_level_code", @@ -4344,13 +4344,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "long_description", "type": "varchar", - "length": 32, - "nullable": "", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the threat level type.<\/p>" + "comments": "

The long description of a threat level type.<\/p>" }, { "tableName": "conflict_history_code", @@ -4358,83 +4358,83 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, + "name": "short_description", + "type": "varchar", + "length": 50, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if a conflict history type is active.<\/p>" + "comments": "

The short description of a conflict history type.<\/p>" }, { "tableName": "hwcr_outcome_code", "tableFileName": "hwcr_outcome_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "display_order", - "type": "int4", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>hwcr_outcome_code", + "type": "varchar", "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The order in which the values of the HWCR outcome type should be displayed when presented to a user in a list.<\/p>" + "comments": "

A human readable code used to identify an HWCR outcome type.<\/p>" }, { - "tableName": "schedule_sector_xref", - "tableFileName": "schedule_sector_xref", + "tableName": "ear_tag_h", + "tableFileName": "ear_tag_h", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>schedule_sector_xref_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "operation_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", - "defaultValue": "case_management.uuid_generate_v4()", - "comments": "" + "defaultValue": "CURRENT_USER", + "comments": "

The id of the user that created or modified the data in the case table. Defaults to the logged in user if not passed in by the application.<\/p>" }, { - "tableName": "action_type_action_xref", - "tableFileName": "action_type_action_xref", + "tableName": "schedule_sector_xref", + "tableFileName": "schedule_sector_xref", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>action_code", - "type": "varchar", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a case management action.<\/p>" + "comments": "" }, { "tableName": "sex_code", "tableFileName": "sex_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "display_order", - "type": "int4", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>sex_code", + "type": "varchar", "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The order in which the values of the sex type should be displayed when presented to a user in a list.<\/p>" + "comments": "

A human readable code used to identify a sex type.<\/p>" }, { - "tableName": "wildlife", - "tableFileName": "wildlife", + "tableName": "sector_code", + "tableFileName": "sector_code", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>case_file_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "update_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

System generated unique key for a case. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "comments": "

The id of the user that updated the case management sector_code.<\/p>" }, { "tableName": "drug_code", @@ -4442,13 +4442,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "display_order", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the drug type was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The order in which the values of the drug type should be displayed when presented to a user in a list.<\/p>" }, { "tableName": "wildlife", @@ -4456,55 +4456,55 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "create_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the wildlife record was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that created the wildlife record.<\/p>" }, { "tableName": "schedule_sector_xref", "tableFileName": "schedule_sector_xref", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>schedule_sector_xref_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "null", + "defaultValue": "case_management.uuid_generate_v4()", "comments": "" }, { - "tableName": "flyway_schema_history", - "tableFileName": "flyway_schema_history", + "tableName": "drug_administered", + "tableFileName": "drug_administered", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>installed_rank", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The timestamp when the drug_administered record was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "action_type_code", - "tableFileName": "action_type_code", + "tableName": "configuration", + "tableFileName": "configuration", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>action_type_code", - "type": "varchar", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a logical grouping of case management actions.<\/p>" + "comments": "

The timestamp when the configuration entry was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "sex_code", @@ -4512,27 +4512,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, + "name": "short_description", + "type": "varchar", + "length": 50, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if a sex type is active.<\/p>" + "comments": "

The short description of a sex type.<\/p>" }, { "tableName": "action_h", "tableFileName": "action_h", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "operation_user_id", - "type": "varchar", - "length": 32, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>h_action_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_USER", - "comments": "

The id of the user that created or modified the data in the action table. Defaults to the logged in user if not passed in by the application.<\/p>" + "defaultValue": "case_management.uuid_generate_v4()", + "comments": "

System generated unique key for action history. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { "tableName": "action", @@ -4540,41 +4540,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", - "type": "varchar", - "length": 32, + "name": "actor_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the case.<\/p>" + "comments": "

Represents the IDIR guid of the user who performed the action.<\/p>" }, { - "tableName": "case_code", - "tableFileName": "case_code", + "tableName": "flyway_schema_history", + "tableFileName": "flyway_schema_history", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>case_code", - "type": "varchar", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "installed_on", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

A human readable code used to identify a case type.<\/p>" + "defaultValue": "now()", + "comments": "" }, { - "tableName": "sex_code", - "tableFileName": "sex_code", + "tableName": "inaction_reason_code", + "tableFileName": "inaction_reason_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "short_description", + "name": "update_user_id", "type": "varchar", - "length": 50, - "nullable": "", + "length": 32, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The short description of a sex type.<\/p>" + "comments": "

The id of the user that updated the reason why no action on the case was taken.<\/p>" }, { "tableName": "case_file", @@ -4582,13 +4582,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "name": "review_required_ind", + "type": "bool", + "length": 1, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the case.<\/p>" + "comments": "

A flag to indicate that a further review of the file by a supervisor is required.<\/p>" }, { "tableName": "conflict_history_code", @@ -4596,27 +4596,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "long_description", "type": "varchar", - "length": 32, - "nullable": "", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the conflict history type.<\/p>" + "comments": "

The long description of a conflict history type.<\/p>" }, { - "tableName": "drug_code", - "tableFileName": "drug_code", + "tableName": "drug_remaining_outcome_code", + "tableFileName": "drug_remaining_outcome_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "short_description", + "name": "update_user_id", "type": "varchar", - "length": 50, + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The short description of a drug type.<\/p>" + "comments": "

The id of the user that updated the remaining drug outcome type.<\/p>" }, { "tableName": "schedule_code", @@ -4624,13 +4624,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the case management schedule_code.<\/p>" + "comments": "

A boolean indicator to determine if the case management schedule_code is active.<\/p>" }, { "tableName": "inaction_reason_code", @@ -4638,153 +4638,153 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "√", + "name": "create_user_id", + "type": "varchar", + "length": 32, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the reason why no action on the case was taken was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that created the reason why no action on the case was taken.<\/p>" }, { - "tableName": "site_h", - "tableFileName": "site_h", + "tableName": "equipment_code", + "tableFileName": "equipment_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_type", - "type": "bpchar", + "name": "is_trap_ind", + "type": "bool", "length": 1, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" + "defaultValue": "true", + "comments": "

Indicates if the EQUIPMENT_CODE value represents a trap. Default to ‘true’. For EQUIPMENT_CODE values such as Signage or Trail cameras the value is ‘false’<\/p>" }, { - "tableName": "case_location_code", - "tableFileName": "case_location_code", + "tableName": "action_type_action_xref", + "tableFileName": "action_type_action_xref", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "short_description", + "name": "update_user_id", "type": "varchar", - "length": 50, + "length": 32, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The short description of the location type where the case was taken.<\/p>" + "comments": "" }, { "tableName": "action_code", "tableFileName": "action_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

A boolean indicator to determine if the case management action is active.<\/p>" - }, - { - "tableName": "sex_code", - "tableFileName": "sex_code", - "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>sex_code", + "name": "<\/i>action_code", "type": "varchar", "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a sex type.<\/p>" + "comments": "

A human readable code used to identify a case management action.<\/p>" }, { - "tableName": "case_file_h", - "tableFileName": "case_file_h", + "tableName": "inaction_reason_code", + "tableFileName": "inaction_reason_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>h_case_file_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "case_management.uuid_generate_v4()", - "comments": "

System generated unique key for case history. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "defaultValue": "null", + "comments": "

The timestamp when the reason why no action on the case was taken was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "case_file", - "tableFileName": "case_file", + "tableName": "sex_code", + "tableFileName": "sex_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>case_file_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "case_management.uuid_generate_v4()", - "comments": "

System generated unique key for a case. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "defaultValue": "null", + "comments": "

The timestamp when the sex type was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "site", - "tableFileName": "site", + "tableName": "authorization_permit_h", + "tableFileName": "authorization_permit_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "site_id", + "name": "operation_user_id", "type": "varchar", - "length": 50, + "length": 32, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The value used for an unauthorized site id<\/p>" + "defaultValue": "CURRENT_USER", + "comments": "

The id of the user that created or modified the data in the authorization permit table. Defaults to the logged in user if not passed in by the application.<\/p>" }, { - "tableName": "drug_administered_h", - "tableFileName": "drug_administered_h", + "tableName": "authorization_permit", + "tableFileName": "authorization_permit", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_type", - "type": "bpchar", - "length": 1, - "nullable": "", + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" + "comments": "

The timestamp when the authroized site id was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "configuration_h", - "tableFileName": "configuration_h", + "tableName": "action", + "tableFileName": "action", + "tableType": "Table", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>decision_guid", + "type": "uuid", + "length": 2147483647, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "" + }, + { + "tableName": "ear_tag", + "tableFileName": "ear_tag", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "target_row_id", - "type": "varchar", - "length": 10, + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The unique key for the configuration that has been created or modified.<\/p>" + "comments": "

The timestamp when the ear_tag record was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "case_location_code", - "tableFileName": "case_location_code", + "tableName": "action_type_action_xref", + "tableFileName": "action_type_action_xref", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>case_location_code", - "type": "varchar", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a location type.<\/p>" + "comments": "" }, { "tableName": "configuration", @@ -4792,41 +4792,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "long_description", + "type": "varchar", + "length": 250, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the configuration entry was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The long description of the configuration entry.<\/p>" }, { - "tableName": "authorization_permit_h", - "tableFileName": "authorization_permit_h", + "tableName": "lead_h", + "tableFileName": "lead_h", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>h_authorization_permit_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "operation_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", - "defaultValue": "case_management.uuid_generate_v4()", - "comments": "

System generated unique key for authorization permit history. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "defaultValue": "CURRENT_USER", + "comments": "

The id of the user that created or modified the data in the lead table. Defaults to the logged in user if not passed in by the application.<\/p>" }, { - "tableName": "action_code", - "tableFileName": "action_code", + "tableName": "site", + "tableFileName": "site", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "long_description", - "type": "varchar", - "length": 250, + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The long description of a case management action.<\/p>" + "comments": "

The timestamp when the unauthroized site id was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "drug_administered", @@ -4834,13 +4834,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, - "nullable": "√", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if the drug_administered record is active.<\/p>" + "comments": "

The timestamp when the drug_administered record was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "decision_h", @@ -4848,10 +4848,10 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "data_after_executed_operation", - "type": "jsonb", - "length": 2147483647, - "nullable": "√", + "name": "operation_type", + "type": "bpchar", + "length": 1, + "nullable": "", "autoUpdated": "", "defaultValue": "null", "comments": "" @@ -4862,27 +4862,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

A boolean indicator to determine if the relationship between case management actions and logical types is active.<\/p>" }, { - "tableName": "case_file", - "tableFileName": "case_file", + "tableName": "authorization_permit_h", + "tableFileName": "authorization_permit_h", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>owned_by_agency_code", - "type": "varchar", - "length": 10, - "nullable": "", + "keyClass": "", + "keyTitle": "", + "name": "data_after_executed_operation", + "type": "jsonb", + "length": 2147483647, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify the agency that owns this case.<\/p>" + "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" }, { "tableName": "non_compliance_decision_matrix_code", @@ -4890,27 +4890,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the case management non_compliance_decision_matrix_code.<\/p>" + "comments": "

A boolean indicator to determine if the case management non_compliance_decision_matrix_code is active.<\/p>" }, { "tableName": "case_file", "tableFileName": "case_file", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>case_location_code", - "type": "varchar", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a location type.<\/p>" + "comments": "

The timestamp when the case was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "authorization_permit_h", @@ -4918,23 +4918,23 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "data_after_executed_operation", - "type": "jsonb", - "length": 2147483647, - "nullable": "√", + "name": "operation_type", + "type": "bpchar", + "length": 1, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" + "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" }, { "tableName": "flyway_schema_history", "tableFileName": "flyway_schema_history", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "type", - "type": "varchar", - "length": 20, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>installed_rank", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -4944,43 +4944,43 @@

Columns

"tableName": "drug_administered_h", "tableFileName": "drug_administered_h", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "operation_user_id", - "type": "varchar", - "length": 32, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>h_drug_administered_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_USER", - "comments": "

The id of the user that created or modified the data in the case table. Defaults to the logged in user if not passed in by the application.<\/p>" + "defaultValue": "case_management.uuid_generate_v4()", + "comments": "

System generated unique key for case history. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { - "tableName": "sector_code", - "tableFileName": "sector_code", + "tableName": "drug_administered_h", + "tableFileName": "drug_administered_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "short_description", - "type": "varchar", - "length": 50, + "name": "operation_executed_at", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The short description of a case management sector_code.<\/p>" + "defaultValue": "now()", + "comments": "

The timestamp when the data in the case table was created or modified. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "sector_code", "tableFileName": "sector_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "display_order", - "type": "int4", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>sector_code", + "type": "varchar", "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

A human readable code used to identify a ipm_secord_code<\/p>" }, { "tableName": "sex_code", @@ -4988,13 +4988,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "create_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the sex type was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that created the sex type.<\/p>" }, { "tableName": "case_file_h", @@ -5002,27 +5002,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "data_after_executed_operation", - "type": "jsonb", - "length": 2147483647, - "nullable": "√", + "name": "operation_type", + "type": "bpchar", + "length": 1, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" + "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" }, { - "tableName": "threat_level_code", - "tableFileName": "threat_level_code", + "tableName": "drug_method_code", + "tableFileName": "drug_method_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "short_description", + "name": "update_user_id", "type": "varchar", - "length": 50, + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The short description of a threat level type.<\/p>" + "comments": "

The id of the user that updated the drug injection method type.<\/p>" }, { "tableName": "equipment", @@ -5030,83 +5030,83 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "create_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the equipment record was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that created the equipment record.<\/p>" }, { - "tableName": "site", - "tableFileName": "site", + "tableName": "authorization_permit", + "tableFileName": "authorization_permit", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>site_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "case_management.uuid_generate_v4()", - "comments": "

System generated unique key for a site record<\/p>" + "defaultValue": "null", + "comments": "

The timestamp when the authroized site id was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "ear_tag_h", - "tableFileName": "ear_tag_h", + "tableName": "decision", + "tableFileName": "decision", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "target_row_id", - "type": "uuid", - "length": 2147483647, + "name": "update_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The unique key for the case that has been created or modified.<\/p>" + "comments": "

The id of the user that updated the case management action.<\/p>" }, { "tableName": "age_code", "tableFileName": "age_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "display_order", - "type": "int4", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>age_code", + "type": "varchar", "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The order in which the values of the age type should be displayed when presented to a user in a list.<\/p>" + "comments": "

A human readable code used to identify an age type.<\/p>" }, { - "tableName": "sector_code", - "tableFileName": "sector_code", + "tableName": "drug_administered_h", + "tableFileName": "drug_administered_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "long_description", - "type": "varchar", - "length": 250, + "name": "data_after_executed_operation", + "type": "jsonb", + "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The long description of a case management sector_code.<\/p>" + "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" }, { "tableName": "configuration", "tableFileName": "configuration", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>configuration_code", + "type": "varchar", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if the configuration_entry is active.<\/p>" + "comments": "

A human readable code used to identify an configuration entry.<\/p>" }, { "tableName": "hwcr_outcome_code", @@ -5114,167 +5114,167 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, + "name": "short_description", + "type": "varchar", + "length": 50, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if an HWCR outcome type is active.<\/p>" + "comments": "

The short description of an HWCR outcome type.<\/p>" }, { - "tableName": "decision", - "tableFileName": "decision", + "tableName": "ear_tag_h", + "tableFileName": "ear_tag_h", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>decision_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "operation_type", + "type": "bpchar", + "length": 1, "nullable": "", "autoUpdated": "", - "defaultValue": "case_management.uuid_generate_v4()", - "comments": "

Unique identifier for the decision<\/p>" + "defaultValue": "null", + "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/p>" }, { - "tableName": "ear_tag_h", - "tableFileName": "ear_tag_h", + "tableName": "equipment_code", + "tableFileName": "equipment_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "data_after_executed_operation", - "type": "jsonb", - "length": 2147483647, - "nullable": "√", + "name": "active_ind", + "type": "bool", + "length": 1, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" + "comments": "

A boolean indicator to determine if an equipment type is active.<\/p>" }, { "tableName": "equipment_code", "tableFileName": "equipment_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user_id", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>equipment_code", "type": "varchar", - "length": 32, + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the equipment type.<\/p>" + "comments": "

A human readable code used to identify an equipment type.<\/p>" }, { - "tableName": "equipment_code", - "tableFileName": "equipment_code", + "tableName": "hwcr_outcome_code", + "tableFileName": "hwcr_outcome_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "display_order", - "type": "int4", - "length": 10, + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The order in which the values of the equipment type should be displayed when presented to a user in a list.<\/p>" + "comments": "

The timestamp when the HWCR outcome type was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "action", - "tableFileName": "action", + "tableName": "equipment", + "tableFileName": "equipment", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>action_guid", + "name": "<\/i>equipment_guid", "type": "uuid", "length": 2147483647, "nullable": "", "autoUpdated": "", "defaultValue": "case_management.uuid_generate_v4()", - "comments": "

System generated unique key for the action. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "comments": "

System generated unique key for a piece of equipment. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { - "tableName": "equipment", - "tableFileName": "equipment", + "tableName": "non_compliance_decision_matrix_code", + "tableFileName": "non_compliance_decision_matrix_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "equipment_geometry_point", - "type": "geometry", - "length": 2147483647, - "nullable": "√", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The closest approximation to where the equipment is deployed. Stored as a geometric point using the EPSG:3005 Projected Coordinate System (BC Albers)<\/p>" + "comments": "

The timestamp when the case management non_compliance_decision_matrix_code was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "conflict_history_code", - "tableFileName": "conflict_history_code", + "tableName": "action", + "tableFileName": "action", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>conflict_history_code", - "type": "varchar", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "action_date", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a conflict history type.<\/p>" + "comments": "

The date the action was recorded. This value is user entered.<\/p>" }, { - "tableName": "action", - "tableFileName": "action", + "tableName": "case_location_code", + "tableFileName": "case_location_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", + "name": "update_utc_timestamp", "type": "timestamp", "length": 29, - "nullable": "", + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the case was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The timestamp when the location type was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "drug_administered", - "tableFileName": "drug_administered", + "tableName": "lead", + "tableFileName": "lead", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>drug_code", - "type": "varchar", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a drug type.<\/p>" + "comments": "

The timestamp when the complaint/case relationship was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "action", "tableFileName": "action", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "action_date", - "type": "timestamp", - "length": 29, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>case_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The date the action was recorded. This value is user entered.<\/p>" + "comments": "

System generated unique key for a case. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { - "tableName": "hwcr_outcome_code", - "tableFileName": "hwcr_outcome_code", + "tableName": "decision_h", + "tableFileName": "decision_h", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>hwcr_outcome_code", + "keyClass": "", + "keyTitle": "", + "name": "operation_user_id", "type": "varchar", - "length": 10, + "length": 32, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

A human readable code used to identify an HWCR outcome type.<\/p>" + "defaultValue": "CURRENT_USER", + "comments": "" }, { "tableName": "inaction_reason_code", @@ -5282,13 +5282,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "long_description", "type": "varchar", - "length": 32, - "nullable": "", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the reason why no action on the case was taken.<\/p>" + "comments": "

The long description of the reason why no action on the case was taken.<\/p>" }, { "tableName": "schedule_code", @@ -5296,13 +5296,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "display_order", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the case management schedule_code was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "" }, { "tableName": "conflict_history_code", @@ -5310,13 +5310,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "create_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the conflict history type was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that created the conflict history type.<\/p>" }, { "tableName": "action_type_code", @@ -5324,13 +5324,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the action type entry.<\/p>" + "comments": "

A boolean indicator to determine if the logical grouping of case management actions is active.<\/p>" }, { "tableName": "ear_code", @@ -5338,13 +5338,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "long_description", "type": "varchar", - "length": 32, - "nullable": "", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the ear type.<\/p>" + "comments": "

The long description of an ear type.<\/p>" }, { "tableName": "ear_tag", @@ -5352,68 +5352,68 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "create_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the ear_tag record was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The id of the user that created the ear_tag record.<\/p>" }, { - "tableName": "agency_code", - "tableFileName": "agency_code", + "tableName": "site_h", + "tableFileName": "site_h", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>agency_code", + "keyClass": "", + "keyTitle": "", + "name": "operation_user_id", "type": "varchar", - "length": 10, + "length": 32, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

A human readable code used to identify an agency.<\/p>" + "defaultValue": "CURRENT_USER", + "comments": "

The id of the user that created or modified the data in the site table. Defaults to the logged in user if not passed in by the application.<\/p>" }, { "tableName": "drug_administered", "tableFileName": "drug_administered", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_user_id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>drug_remaining_outcome_code", "type": "varchar", - "length": 32, - "nullable": "", + "length": 10, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that created the drug_administered record.<\/p>" + "comments": "

A human readable code used to identify a remaining drug outcome type.<\/p>" }, { - "tableName": "agency_code", - "tableFileName": "agency_code", + "tableName": "site_h", + "tableFileName": "site_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "long_description", - "type": "varchar", - "length": 250, + "name": "data_after_executed_operation", + "type": "jsonb", + "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The long description of the agency code.<\/p>" + "comments": "

A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table.<\/p>" }, { "tableName": "decision_h", "tableFileName": "decision_h", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "operation_user_id", - "type": "varchar", - "length": 32, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>h_decision_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_USER", + "defaultValue": "case_management.uuid_generate_v4()", "comments": "" }, { @@ -5422,55 +5422,55 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "display_order", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The order in which the values of the case management actions should be displayed when presented to a user in a list.<\/p>" }, { - "tableName": "action_type_action_xref", - "tableFileName": "action_type_action_xref", + "tableName": "schedule_sector_xref", + "tableFileName": "schedule_sector_xref", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>action_type_action_xref_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "case_management.uuid_generate_v4()", - "comments": "

System generated unique key for a relationship between case management actions and logical types. This key should never be exposed to users via any system utilizing the tables.<\/p>" + "defaultValue": "null", + "comments": "" }, { "tableName": "conflict_history_code", "tableFileName": "conflict_history_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "display_order", - "type": "int4", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>conflict_history_code", + "type": "varchar", "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The order in which the values of the conflict history type should be displayed when presented to a user in a list.<\/p>" + "comments": "

A human readable code used to identify a conflict history type.<\/p>" }, { - "tableName": "drug_code", - "tableFileName": "drug_code", + "tableName": "drug_remaining_outcome_code", + "tableFileName": "drug_remaining_outcome_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "long_description", - "type": "varchar", - "length": 250, - "nullable": "√", + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The long description of a drug type.<\/p>" + "comments": "

The timestamp when the remaining drug outcome type was updated. The timestamp is stored in UTC with no Offset.<\/p>" } ]; var config = { diff --git a/schemaspy/case_management/index.html b/schemaspy/case_management/index.html index cf3e5c9b..8ea60ec5 100644 --- a/schemaspy/case_management/index.html +++ b/schemaspy/case_management/index.html @@ -78,7 +78,7 @@

Tables


SchemaSpy Analysis of default.case_management

-

Generated on Sat Dec 07 11:04 GMT 2024

+

Generated on Sat Dec 14 11:04 GMT 2024

diff --git a/schemaspy/case_management/info-html.txt b/schemaspy/case_management/info-html.txt index 25c14021..f87454fb 100644 --- a/schemaspy/case_management/info-html.txt +++ b/schemaspy/case_management/info-html.txt @@ -1,4 +1,4 @@ -date=2024-12-07 11:04:57+0000 +date=2024-12-14 11:04:45+0000 os=Linux 6.5.0-1025-azure schemaspy-version=6.2.4 schemaspy-build=6.2.4.41 2023-07-21 11:15:12 diff --git a/schemaspy/case_management/routines.html b/schemaspy/case_management/routines.html index d5b12203..0fa8f554 100644 --- a/schemaspy/case_management/routines.html +++ b/schemaspy/case_management/routines.html @@ -121,19 +121,19 @@

Routines

- uuid_generate_v3(namespace uuid, name text) + uuid_generate_v1mc() FUNCTION c - true + false uuid INVOKER - uuid_generate_v1mc() + uuid_generate_v3(namespace uuid, name text) FUNCTION c - false + true uuid INVOKER diff --git a/schemaspy/index.html b/schemaspy/index.html index ba4e861e..f8cface2 100644 --- a/schemaspy/index.html +++ b/schemaspy/index.html @@ -49,7 +49,7 @@

SchemaSpy Analysis of default

-

Generated on Sat Dec 07 11:05 GMT 2024

+

Generated on Sat Dec 14 11:04 GMT 2024