From 38c986423277b6c9741263fae84bafa8c15f8ea4 Mon Sep 17 00:00:00 2001 From: github-merge-queue Date: Sat, 7 Dec 2024 11:05:06 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20bcgov/nr?= =?UTF-8?q?-compliance-enforcement-cm@456a587f60e5616327ebeb07598c7cbb16bc?= =?UTF-8?q?fc1d=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- schemaspy/case_management/columns.html | 3950 +++++++++++------------ schemaspy/case_management/index.html | 2 +- schemaspy/case_management/info-html.txt | 2 +- schemaspy/case_management/routines.html | 8 +- schemaspy/index.html | 2 +- 5 files changed, 1982 insertions(+), 1982 deletions(-) diff --git a/schemaspy/case_management/columns.html b/schemaspy/case_management/columns.html index 41c58832..0a1f23da 100644 --- a/schemaspy/case_management/columns.html +++ b/schemaspy/case_management/columns.html @@ -116,13 +116,13 @@

Columns

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

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

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

Columns

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

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

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", + "name": "update_utc_timestamp", "type": "timestamp", "length": 29, "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": "

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

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

A human readable code used to identify an age type.<\/p>" }, { "tableName": "case_file_h", @@ -172,40 +172,40 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_type", - "type": "bpchar", - "length": 1, + "name": "operation_executed_at", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/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_type_code", - "tableFileName": "action_type_code", + "tableName": "drug_remaining_outcome_code", + "tableFileName": "drug_remaining_outcome_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "√", + "name": "short_description", + "type": "varchar", + "length": 50, + "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 short description of a remaining drug outcome type.<\/p>" }, { "tableName": "decision_h", "tableFileName": "decision_h", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>h_decision_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "operation_type", + "type": "bpchar", + "length": 1, "nullable": "", "autoUpdated": "", - "defaultValue": "case_management.uuid_generate_v4()", + "defaultValue": "null", "comments": "" }, { @@ -214,41 +214,41 @@

Columns

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

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

The id of the user that updated the conflict history type.<\/p>" }, { "tableName": "authorization_permit_h", "tableFileName": "authorization_permit_h", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>h_authorization_permit_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "operation_type", + "type": "bpchar", + "length": 1, "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": "null", + "comments": "

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

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

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

Columns

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

The id of the user that created the case management sector_code.<\/p>" }, { "tableName": "wildlife", @@ -270,69 +270,55 @@

Columns

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

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

A human readable code used to identify an age type.<\/p>" }, { - "tableName": "lead", - "tableFileName": "lead", + "tableName": "flyway_schema_history", + "tableFileName": "flyway_schema_history", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "version", + "type": "varchar", + "length": 50, "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": "" }, { - "tableName": "drug_administered", - "tableFileName": "drug_administered", + "tableName": "equipment", + "tableFileName": "equipment", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "additional_comments_text", - "type": "text", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>equipment_guid", + "type": "uuid", "length": 2147483647, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

Includes comments on immobilization outcomes, any adverse reactions, and drug storage or discarding.<\/p>" - }, - { - "tableName": "action_h", - "tableFileName": "action_h", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "operation_executed_at", - "type": "timestamp", - "length": 29, "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": "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>" }, { - "tableName": "configuration_h", - "tableFileName": "configuration_h", + "tableName": "equipment_code", + "tableFileName": "equipment_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "data_after_executed_operation", - "type": "jsonb", - "length": 2147483647, - "nullable": "√", + "name": "short_description", + "type": "varchar", + "length": 50, + "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 short description of an equipment type.<\/p>" }, { "tableName": "drug_code", @@ -340,41 +326,41 @@

Columns

"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 type should be displayed when presented to a user in a list.<\/p>" + "comments": "

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

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

The long description of the location type where the case was taken.<\/p>" }, { - "tableName": "conflict_history_code", - "tableFileName": "conflict_history_code", + "tableName": "configuration", + "tableFileName": "configuration", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "configuration_value", + "type": "varchar", + "length": 250, "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 value of the configuration entry.<\/p>" }, { "tableName": "age_code", @@ -382,13 +368,13 @@

Columns

"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 age type should be displayed when presented to a user in a list.<\/p>" + "comments": "

The id of the user that created the age type.<\/p>" }, { "tableName": "lead_h", @@ -396,13 +382,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_user_id", - "type": "varchar", - "length": 32, - "nullable": "", + "name": "data_after_executed_operation", + "type": "jsonb", + "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": "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>" }, { "tableName": "discharge_code", @@ -410,13 +396,13 @@

Columns

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

The id of the user that created the case management discharge_code.<\/p>" }, { "tableName": "agency_code", @@ -424,41 +410,41 @@

Columns

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

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

The id of the user that updated the agency code.<\/p>" }, { "tableName": "wildlife", "tableFileName": "wildlife", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>age_code", + "keyClass": "", + "keyTitle": "", + "name": "species_code", "type": "varchar", "length": 10, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify an age type.<\/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": "ear_code", - "tableFileName": "ear_code", + "tableName": "lead_h", + "tableFileName": "lead_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "target_row_id", + "type": "varchar", + "length": 20, "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 unique key for the lead that has been created or modified.<\/p>" }, { "tableName": "action_type_action_xref", @@ -466,13 +452,13 @@

Columns

"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 case management actions should be displayed when presented to a user in a list.<\/p>" + "comments": "" }, { "tableName": "hwcr_outcome_code", @@ -480,41 +466,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", + "name": "update_utc_timestamp", "type": "timestamp", "length": 29, "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 timestamp when the HWCR outcome type was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "case_file_h", "tableFileName": "case_file_h", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>h_case_file_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "operation_type", + "type": "bpchar", + "length": 1, "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 operation performed: I = Insert, U = Update, D = Delete<\/p>" }, { "tableName": "inaction_reason_code", "tableFileName": "inaction_reason_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>inaction_reason_code", + "keyClass": "", + "keyTitle": "", + "name": "short_description", "type": "varchar", - "length": 10, - "nullable": "", + "length": 50, + "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 short description of the reason why no action on the case was taken.<\/p>" }, { "tableName": "threat_level_code", @@ -522,41 +508,41 @@

Columns

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

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

A boolean indicator to determine if a threat level type is active.<\/p>" }, { "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": "active_ind", + "type": "bool", + "length": 1, + "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": "true", + "comments": "

A boolean indicator to determine if the has been soft deleted.<\/p>" }, { - "tableName": "action", - "tableFileName": "action", + "tableName": "drug_administered_h", + "tableFileName": "drug_administered_h", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>wildlife_guid", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>h_drug_administered_guid", "type": "uuid", "length": 2147483647, - "nullable": "√", + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "" + "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_administered_h", @@ -564,27 +550,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_user_id", - "type": "varchar", - "length": 32, - "nullable": "", + "name": "data_after_executed_operation", + "type": "jsonb", + "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": "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>" }, { - "tableName": "case_code", - "tableFileName": "case_code", + "tableName": "drug_method_code", + "tableFileName": "drug_method_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "√", + "name": "short_description", + "type": "varchar", + "length": 50, + "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 short description of a drug injection method type.<\/p>" }, { "tableName": "decision_h", @@ -592,12 +578,12 @@

Columns

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

Columns

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

A boolean indicator to determine if the case management non_compliance_decision_matrix_code is active.<\/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": "drug_method_code", @@ -620,13 +606,13 @@

Columns

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

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

A boolean indicator to determine if a drug injection method type is active.<\/p>" }, { "tableName": "discharge_code", @@ -634,13 +620,13 @@

Columns

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

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

The id of the user that updated the case management discharge_code.<\/p>" }, { "tableName": "drug_remaining_outcome_code", @@ -648,27 +634,27 @@

Columns

"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 remaining drug outcome type should be displayed when presented to a user in a list.<\/p>" + "comments": "

The id of the user that created the remaining drug outcome type.<\/p>" }, { "tableName": "lead_h", "tableFileName": "lead_h", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>h_lead_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "operation_type", + "type": "bpchar", + "length": 1, "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>" + "defaultValue": "null", + "comments": "

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

Columns

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

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

The id of the user that updated the threat level type.<\/p>" }, { "tableName": "action_h", @@ -690,13 +676,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_type", - "type": "bpchar", - "length": 1, + "name": "operation_executed_at", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/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": "authorization_permit", @@ -704,13 +690,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": "true", - "comments": "

A boolean indicator to determine if the has been soft deleted.<\/p>" + "defaultValue": "null", + "comments": "

The timestamp when the authroized site id was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "equipment_code", @@ -718,13 +704,13 @@

Columns

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

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

A boolean indicator to determine if an equipment type is active.<\/p>" }, { "tableName": "site_h", @@ -732,13 +718,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_type", - "type": "bpchar", - "length": 1, + "name": "operation_executed_at", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/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": "wildlife_h", @@ -746,45 +732,31 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_user_id", - "type": "varchar", - "length": 32, - "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>" - }, - { - "tableName": "action_type_code", - "tableFileName": "action_type_code", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "name": "data_after_executed_operation", + "type": "jsonb", + "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the action type entry.<\/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": "authorization_permit_h", - "tableFileName": "authorization_permit_h", + "tableName": "drug_remaining_outcome_code", + "tableFileName": "drug_remaining_outcome_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "operation_type", - "type": "bpchar", - "length": 1, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>drug_remaining_outcome_code", + "type": "varchar", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

A human readable code used to identify a remaining drug outcome type.<\/p>" }, { - "tableName": "drug_administered_h", - "tableFileName": "drug_administered_h", + "tableName": "authorization_permit_h", + "tableFileName": "authorization_permit_h", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -794,21 +766,35 @@

Columns

"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>" + "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": "sector_code", "tableFileName": "sector_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_utc_timestamp", - "type": "timestamp", - "length": 29, - "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>" + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>sector_code", + "type": "varchar", + "length": 10, + "nullable": "", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

A human readable code used to identify a ipm_secord_code<\/p>" + }, + { + "tableName": "sector_code", + "tableFileName": "sector_code", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "update_utc_timestamp", + "type": "timestamp", + "length": 29, + "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>" }, { "tableName": "discharge_code", @@ -816,55 +802,55 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", + "name": "update_utc_timestamp", "type": "timestamp", "length": 29, "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": "

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

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

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

The timestamp when the location type was updated. The timestamp is stored in UTC with no Offset.<\/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": "case_code", - "tableFileName": "case_code", + "tableName": "drug_method_code", + "tableFileName": "drug_method_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user_id", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>drug_method_code", "type": "varchar", - "length": 32, - "nullable": "√", + "length": 10, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

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

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "ear_tag_identifier", - "type": "varchar", - "length": 10, + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "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>" + "comments": "

The timestamp when the ear_tag record was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "schedule_code", @@ -886,27 +872,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", + "name": "display_order", + "type": "int4", + "length": 10, + "nullable": "", + "autoUpdated": "", + "defaultValue": "null", + "comments": "" + }, + { + "tableName": "discharge_code", + "tableFileName": "discharge_code", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", "name": "short_description", "type": "varchar", "length": 50, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

The short description of a case management discharge_code.<\/p>" }, { - "tableName": "case_file", - "tableFileName": "case_file", + "tableName": "decision", + "tableFileName": "decision", "tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>case_threat_level_code", - "type": "varchar", - "length": 10, - "nullable": "√", + "name": "<\/i>case_file_guid", + "type": "uuid", + "length": 2147483647, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

Assoiciates the decision record to an existing case file<\/p>" }, { "tableName": "threat_level_code", @@ -914,27 +914,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", + "name": "update_utc_timestamp", "type": "timestamp", "length": 29, "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 timestamp when the threat level type was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "ear_tag", "tableFileName": "ear_tag", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>wildlife_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "ear_tag_identifier", + "type": "varchar", + "length": 10, "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": "

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

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_type", - "type": "bpchar", - "length": 1, + "name": "operation_executed_at", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/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": "authorization_permit", @@ -956,13 +956,13 @@

Columns

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

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

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

Columns

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

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

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

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

A human readable code used to identify an ear type.<\/p>" }, { "tableName": "flyway_schema_history", @@ -998,12 +998,12 @@

Columns

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

Columns

"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 authroized site id was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The timestamp when the authroized site id 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": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>drug_remaining_outcome_code", + "keyClass": "", + "keyTitle": "", + "name": "long_description", "type": "varchar", - "length": 10, - "nullable": "", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

The long description of a remaining drug outcome type.<\/p>" }, { "tableName": "lead", "tableFileName": "lead", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>case_identifier", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "create_utc_timestamp", + "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>" + "comments": "

The timestamp when the complaint/case relationship was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "configuration", @@ -1054,55 +1054,55 @@

Columns

"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 configuration entry was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

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

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

The timestamp when the equipment type was updated. The timestamp is stored in UTC with no Offset.<\/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": "agency_code", - "tableFileName": "agency_code", + "tableName": "wildlife_h", + "tableFileName": "wildlife_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "display_order", - "type": "int4", - "length": 10, - "nullable": "√", + "name": "target_row_id", + "type": "uuid", + "length": 2147483647, + "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 unique key for the case that has been created or modified.<\/p>" }, { "tableName": "sex_code", @@ -1110,27 +1110,27 @@

Columns

"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 sex type should be displayed when presented to a user in a list.<\/p>" + "comments": "

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

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

A human readable code used to identify a non_compliance_decision_matrix_code code.<\/p>" }, { "tableName": "case_file", @@ -1138,13 +1138,13 @@

Columns

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

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

A human readable code used to identify a threat level type.<\/p>" }, { "tableName": "inaction_reason_code", @@ -1152,41 +1152,41 @@

Columns

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

The long description of 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_file", "tableFileName": "case_file", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>owned_by_agency_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 the agency that owns this case.<\/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": "equipment", "tableFileName": "equipment", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>equipment_guid", - "type": "uuid", - "length": 2147483647, - "nullable": "", + "keyClass": "", + "keyTitle": "", + "name": "equipment_location_desc", + "type": "varchar", + "length": 120, + "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": "null", + "comments": "

Free form text describing the location of the equipment. Usually (but not always) an address.<\/p>" }, { "tableName": "case_file", @@ -1194,27 +1194,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "name": "complainant_contacted_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 complainant is contacted.<\/p>" }, { - "tableName": "wildlife_h", - "tableFileName": "wildlife_h", + "tableName": "authorization_permit", + "tableFileName": "authorization_permit", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "data_after_executed_operation", - "type": "jsonb", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>case_file_guid", + "type": "uuid", "length": 2147483647, - "nullable": "√", + "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": "

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", @@ -1222,13 +1222,13 @@

Columns

"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 HWCR outcome type should be displayed when presented to a user in a list.<\/p>" + "comments": "

The id of the user that created the HWCR outcome type.<\/p>" }, { "tableName": "drug_method_code", @@ -1236,13 +1236,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", + "name": "update_utc_timestamp", "type": "timestamp", "length": 29, "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 timestamp when the drug injection method type was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "equipment_code", @@ -1250,27 +1250,27 @@

Columns

"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 equipment type should be displayed when presented to a user in a list.<\/p>" + "comments": "

The id of the user that created the equipment type.<\/p>" }, { "tableName": "ear_tag", "tableFileName": "ear_tag", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>ear_tag_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>ear_code", + "type": "varchar", + "length": 10, "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": "null", + "comments": "

A human readable code used to identify an ear type.<\/p>" }, { "tableName": "action_type_code", @@ -1278,27 +1278,27 @@

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 logical grouping of case management actions is active.<\/p>" + "comments": "

The timestamp when the action type entry was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "ear_tag_h", "tableFileName": "ear_tag_h", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>h_ear_tag_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "operation_type", + "type": "bpchar", + "length": 1, "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 operation performed: I = Insert, U = Update, D = Delete<\/p>" }, { "tableName": "drug_remaining_outcome_code", @@ -1306,41 +1306,41 @@

Columns

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

The short description of a remaining drug outcome type.<\/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": "decision", "tableFileName": "decision", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>discharge_code", - "type": "varchar", + "keyClass": "", + "keyTitle": "", + "name": "inspection_number", + "type": "int4", "length": 10, - "nullable": "", + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

The NRIS inspection number for a CEEB decision<\/p>" }, { "tableName": "age_code", "tableFileName": "age_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>age_code", + "keyClass": "", + "keyTitle": "", + "name": "long_description", "type": "varchar", - "length": 10, - "nullable": "", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

The long description of an age type.<\/p>" }, { "tableName": "case_code", @@ -1348,55 +1348,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 case type is active.<\/p>" + "comments": "

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

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

A human readable code used to identify a wdr schedule code<\/p>" }, { - "tableName": "site_h", - "tableFileName": "site_h", + "tableName": "agency_code", + "tableFileName": "agency_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "data_after_executed_operation", - "type": "jsonb", - "length": 2147483647, + "name": "short_description", + "type": "varchar", + "length": 50, "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 short description of the agency code.<\/p>" }, { - "tableName": "authorization_permit_h", - "tableFileName": "authorization_permit_h", + "tableName": "case_file", + "tableFileName": "case_file", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "data_after_executed_operation", - "type": "jsonb", - "length": 2147483647, - "nullable": "√", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>case_code", + "type": "varchar", + "length": 10, + "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 human readable code used to identify a case type.<\/p>" }, { "tableName": "case_file", @@ -1404,69 +1404,69 @@

Columns

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

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

The id of the user that created the case.<\/p>" }, { - "tableName": "wildlife", - "tableFileName": "wildlife", + "tableName": "ear_code", + "tableFileName": "ear_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "identifying_features", + "name": "short_description", "type": "varchar", - "length": 4000, - "nullable": "√", + "length": 50, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The short description of an ear type.<\/p>" }, { "tableName": "action", "tableFileName": "action", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>action_guid", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>action_type_action_xref_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>" + "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>" }, { - "tableName": "non_compliance_decision_matrix_code", - "tableFileName": "non_compliance_decision_matrix_code", + "tableName": "conflict_history_code", + "tableFileName": "conflict_history_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "short_description", + "type": "varchar", + "length": 50, "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 short description of a conflict history type.<\/p>" }, { "tableName": "ear_tag", "tableFileName": "ear_tag", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>ear_code", + "keyClass": "", + "keyTitle": "", + "name": "create_user_id", "type": "varchar", - "length": 10, + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

The id of the user that created the ear_tag record.<\/p>" }, { "tableName": "discharge_code", @@ -1474,13 +1474,13 @@

Columns

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

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

Columns

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

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

The id of the user that updated the ear type.<\/p>" }, { "tableName": "drug_method_code", @@ -1502,27 +1502,27 @@

Columns

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

The short description of a drug injection method type.<\/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": "action_h", - "tableFileName": "action_h", + "tableName": "equipment", + "tableFileName": "equipment", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "data_after_executed_operation", - "type": "jsonb", - "length": 2147483647, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>equipment_code", + "type": "varchar", + "length": 10, "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 human readable code used to identify a piece of equipment<\/p>" }, { "tableName": "site", @@ -1530,13 +1530,13 @@

Columns

"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 unauthroized site id was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

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

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "equipment_geometry_point", - "type": "geometry", - "length": 2147483647, - "nullable": "√", + "name": "create_user_id", + "type": "varchar", + "length": 32, + "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 id of the user that created the equipment record.<\/p>" }, { "tableName": "schedule_sector_xref", @@ -1558,7 +1558,7 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "update_user_id", "type": "varchar", "length": 32, "nullable": "", @@ -1567,18 +1567,18 @@

Columns

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

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

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

Columns

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

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

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

Columns

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

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

The id of the user that updated the case management action.<\/p>" }, { - "tableName": "decision", - "tableFileName": "decision", + "tableName": "ear_tag_h", + "tableFileName": "ear_tag_h", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>h_ear_tag_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The id of the user that updated the case management action.<\/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": "age_code", @@ -1628,13 +1628,13 @@

Columns

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

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

A boolean indicator to determine if an age type is active.<\/p>" }, { "tableName": "site", @@ -1642,13 +1642,13 @@

Columns

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

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

The id of the user that created the unauthroized site id.<\/p>" }, { "tableName": "case_file", @@ -1656,13 +1656,13 @@

Columns

"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 case was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "equipment", @@ -1670,13 +1670,13 @@

Columns

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

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

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

Columns

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

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

The id of the user that updated the HWCR outcome type.<\/p>" }, { - "tableName": "schedule_sector_xref", - "tableFileName": "schedule_sector_xref", + "tableName": "action_type_action_xref", + "tableFileName": "action_type_action_xref", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>action_type_code", + "type": "varchar", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

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

Columns

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

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

A boolean indicator to determine if an ear type is active.<\/p>" }, { "tableName": "authorization_permit_h", @@ -1726,13 +1726,13 @@

Columns

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

The unique key for the authorization permit that has been created or modified.<\/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": "action", @@ -1740,13 +1740,13 @@

Columns

"tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>equipment_guid", + "name": "<\/i>decision_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>" + "comments": "" }, { "tableName": "site_h", @@ -1754,13 +1754,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_user_id", - "type": "varchar", - "length": 32, - "nullable": "", + "name": "data_after_executed_operation", + "type": "jsonb", + "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": "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>" }, { "tableName": "wildlife", @@ -1768,27 +1768,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 wildlife record.<\/p>" + "comments": "

A boolean indicator to determine if the wildlife record is active.<\/p>" }, { "tableName": "wildlife_h", "tableFileName": "wildlife_h", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>h_wildlife_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "operation_type", + "type": "bpchar", + "length": 1, "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 operation performed: I = Insert, U = Update, D = Delete<\/p>" }, { "tableName": "ear_tag_h", @@ -1796,13 +1796,13 @@

Columns

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

The unique key for the case that has been created or modified.<\/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", @@ -1810,13 +1810,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "species_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 species. The COS Complaint Management is the authorative source for the screen labels and descriptions of the codes.<\/p>" + "comments": "

The timestamp when the wildlife record was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "case_location_code", @@ -1824,13 +1824,13 @@

Columns

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

The short description of the location type where the case was taken.<\/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": "flyway_schema_history", @@ -1838,9 +1838,9 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "script", + "name": "installed_by", "type": "varchar", - "length": 1000, + "length": 100, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -1852,13 +1852,13 @@

Columns

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

The id of the user that updated the equipment type.<\/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": "site_h", @@ -1866,13 +1866,13 @@

Columns

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

The unique key for the site that has been created or modified.<\/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": "non_compliance_decision_matrix_code", @@ -1880,41 +1880,41 @@

Columns

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

The short description of a case management non_compliance_decision_matrix_code.<\/p>" + "comments": "" }, { - "tableName": "equipment", - "tableFileName": "equipment", + "tableName": "age_code", + "tableFileName": "age_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "was_animal_captured", - "type": "bpchar", - "length": 1, + "name": "short_description", + "type": "varchar", + "length": 50, "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 short description of an age type.<\/p>" }, { "tableName": "inaction_reason_code", "tableFileName": "inaction_reason_code", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>agency_code", + "keyClass": "", + "keyTitle": "", + "name": "long_description", "type": "varchar", - "length": 10, - "nullable": "", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

The long description of the reason why no action on the case was taken.<\/p>" }, { "tableName": "drug_method_code", @@ -1922,55 +1922,55 @@

Columns

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

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

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

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

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

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

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

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

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_type", - "type": "bpchar", - "length": 1, + "name": "operation_executed_at", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/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", @@ -1992,27 +1992,27 @@

Columns

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

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

The timestamp when the HWCR outcome type was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "case_file_h", - "tableFileName": "case_file_h", + "tableName": "ear_tag", + "tableFileName": "ear_tag", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "data_after_executed_operation", - "type": "jsonb", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>wildlife_guid", + "type": "uuid", "length": 2147483647, - "nullable": "√", + "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": "

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

Columns

"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 case was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "flyway_schema_history", @@ -2034,10 +2034,10 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "type", - "type": "varchar", - "length": 20, - "nullable": "", + "name": "checksum", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", "comments": "" @@ -2046,15 +2046,15 @@

Columns

"tableName": "lead", "tableFileName": "lead", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>lead_identifier", + "keyClass": "", + "keyTitle": "", + "name": "create_user_id", "type": "varchar", - "length": 20, + "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 created the complaint/case relationship.<\/p>" }, { "tableName": "case_location_code", @@ -2062,13 +2062,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 location type is active.<\/p>" + "comments": "

The timestamp when the location type was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "action_code", @@ -2076,27 +2076,27 @@

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 case management action is active.<\/p>" + "comments": "

The timestamp when the case management action was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "schedule_code", - "tableFileName": "schedule_code", + "tableName": "decision_h", + "tableFileName": "decision_h", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>h_decision_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The id of the user that updated the case management schedule_code.<\/p>" + "defaultValue": "case_management.uuid_generate_v4()", + "comments": "" }, { "tableName": "inaction_reason_code", @@ -2104,13 +2104,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 reason why no action on the case was taken is active.<\/p>" + "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": "schedule_code", @@ -2118,13 +2118,13 @@

Columns

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

The id of the user that created the case management schedule_code.<\/p>" }, { "tableName": "wildlife", @@ -2132,13 +2132,13 @@

Columns

"tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>case_file_guid", - "type": "uuid", - "length": 2147483647, - "nullable": "", + "name": "<\/i>sex_code", + "type": "varchar", + "length": 10, + "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": "

A human readable code used to identify a sex type.<\/p>" }, { "tableName": "decision", @@ -2146,27 +2146,27 @@

Columns

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

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

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

The timestamp when the ear_tag record was updated. The timestamp is stored in UTC with no Offset.<\/p>" + "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>" }, { "tableName": "sector_code", @@ -2174,55 +2174,55 @@

Columns

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

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

A boolean indicator to determine if the case management sector_code is active.<\/p>" }, { - "tableName": "flyway_schema_history", - "tableFileName": "flyway_schema_history", + "tableName": "case_code", + "tableFileName": "case_code", "tableType": "Table", - "keyClass": "indexedColumn", - "keyTitle": "Indexed", - "name": "<\/i>success", - "type": "bool", - "length": 1, - "nullable": "", + "keyClass": "", + "keyTitle": "", + "name": "short_description", + "type": "varchar", + "length": 50, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The short description of a case type.<\/p>" }, { - "tableName": "equipment_code", - "tableFileName": "equipment_code", + "tableName": "site_h", + "tableFileName": "site_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "is_trap_ind", - "type": "bool", - "length": 1, + "name": "target_row_id", + "type": "uuid", + "length": 2147483647, "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 unique key for the site that has been created or modified.<\/p>" }, { - "tableName": "case_file", - "tableFileName": "case_file", + "tableName": "discharge_code", + "tableFileName": "discharge_code", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>case_conflict_history_code", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>discharge_code", "type": "varchar", "length": 10, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

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

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", + "name": "update_utc_timestamp", "type": "timestamp", "length": 29, "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 timestamp when the case management action was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "sex_code", "tableFileName": "sex_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>sex_code", + "keyClass": "", + "keyTitle": "", + "name": "long_description", "type": "varchar", - "length": 10, - "nullable": "", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

The long description of a sex type.<\/p>" }, { - "tableName": "authorization_permit", - "tableFileName": "authorization_permit", + "tableName": "site", + "tableFileName": "site", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "√", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>case_file_guid", + "type": "uuid", + "length": 2147483647, + "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": "

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", @@ -2272,27 +2272,27 @@

Columns

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

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

The id of the user that updated the case type.<\/p>" }, { - "tableName": "sex_code", - "tableFileName": "sex_code", + "tableName": "case_file_h", + "tableFileName": "case_file_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "target_row_id", + "type": "uuid", + "length": 2147483647, "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 unique key for the case that has been created or modified.<\/p>" }, { "tableName": "agency_code", @@ -2300,41 +2300,41 @@

Columns

"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 agency was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The timestamp when the agency was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "threat_level_code", - "tableFileName": "threat_level_code", + "tableName": "action_h", + "tableFileName": "action_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "target_row_id", + "type": "uuid", + "length": 2147483647, "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 unique key for the action that has been created or modified.<\/p>" }, { "tableName": "authorization_permit", "tableFileName": "authorization_permit", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>authorization_permit_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "authorization_permit_id", + "type": "varchar", + "length": 50, "nullable": "", "autoUpdated": "", - "defaultValue": "case_management.uuid_generate_v4()", - "comments": "

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

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

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", + "name": "update_utc_timestamp", "type": "timestamp", "length": 29, "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 timestamp when the ear type was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "schedule_sector_xref", @@ -2356,7 +2356,7 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", + "name": "update_utc_timestamp", "type": "timestamp", "length": 29, "nullable": "", @@ -2370,13 +2370,13 @@

Columns

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

The unique key for the case that has been created or modified.<\/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": "drug_code", @@ -2384,13 +2384,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", + "name": "update_utc_timestamp", "type": "timestamp", "length": 29, "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 timestamp when the drug type was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "inaction_reason_code", @@ -2398,13 +2398,13 @@

Columns

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

The short description of the reason why no action on the case was taken.<\/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": "action_h", @@ -2412,13 +2412,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_user_id", - "type": "varchar", - "length": 32, - "nullable": "", + "name": "data_after_executed_operation", + "type": "jsonb", + "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": "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>" }, { "tableName": "case_file", @@ -2426,27 +2426,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "action_not_required_ind", + "name": "review_required_ind", "type": "bool", "length": 1, "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 flag to indicate that a further review of the file by a supervisor is required.<\/p>" }, { "tableName": "threat_level_code", "tableFileName": "threat_level_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>threat_level_code", + "keyClass": "", + "keyTitle": "", + "name": "long_description", "type": "varchar", - "length": 10, - "nullable": "", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

The long description of a threat level type.<\/p>" }, { "tableName": "drug_administered_h", @@ -2454,13 +2454,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_type", - "type": "bpchar", - "length": 1, + "name": "operation_executed_at", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/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": "case_location_code", @@ -2468,13 +2468,13 @@

Columns

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

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

The id of the user that updated the location type.<\/p>" }, { "tableName": "lead", @@ -2482,41 +2482,41 @@

Columns

"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 complaint/case relationship was created. The timestamp is stored in UTC with no Offset.<\/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", "tableFileName": "schedule_sector_xref", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>schedule_sector_xref_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>sector_code", + "type": "varchar", + "length": 10, "nullable": "", "autoUpdated": "", - "defaultValue": "case_management.uuid_generate_v4()", + "defaultValue": "null", "comments": "" }, { - "tableName": "site", - "tableFileName": "site", + "tableName": "action_code", + "tableFileName": "action_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "short_description", + "type": "varchar", + "length": 250, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

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

Columns

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

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

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

Columns

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

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

A human readable code used to identify a remaining drug outcome type.<\/p>" }, { "tableName": "sex_code", @@ -2552,13 +2552,13 @@

Columns

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

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

The id of the user that updated the sex type.<\/p>" }, { "tableName": "wildlife", @@ -2566,55 +2566,55 @@

Columns

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

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

The id of the user that updated the wildlife record.<\/p>" }, { - "tableName": "hwcr_outcome_code", - "tableFileName": "hwcr_outcome_code", + "tableName": "action", + "tableFileName": "action", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>case_guid", + "type": "uuid", + "length": 2147483647, "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": "

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

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

The long description of a case management schedule_code.<\/p>" }, { "tableName": "case_file", "tableFileName": "case_file", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "attended_ind", - "type": "bool", - "length": 1, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>case_conflict_history_code", + "type": "varchar", + "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

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

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", + "name": "update_utc_timestamp", "type": "timestamp", "length": 29, "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 timestamp when the age type was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "action_code", @@ -2636,41 +2636,41 @@

Columns

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

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

The id of the user that created the case management action.<\/p>" }, { - "tableName": "wildlife_h", - "tableFileName": "wildlife_h", + "tableName": "authorization_permit", + "tableFileName": "authorization_permit", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "operation_executed_at", - "type": "timestamp", - "length": 29, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>authorization_permit_guid", + "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": "case_management.uuid_generate_v4()", + "comments": "

System generated unique key for an authorized_permit record<\/p>" }, { - "tableName": "sector_code", - "tableFileName": "sector_code", + "tableName": "wildlife", + "tableFileName": "wildlife", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>wildlife_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The id of the user that updated the case management sector_code.<\/p>" + "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": "inaction_reason_code", @@ -2678,13 +2678,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user_id", + "name": "update_user_id", "type": "varchar", "length": 32, - "nullable": "", + "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 id of the user that updated the reason why no action on the case was taken.<\/p>" }, { "tableName": "case_code", @@ -2692,13 +2692,13 @@

Columns

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

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

A boolean indicator to determine if the case type is active.<\/p>" }, { "tableName": "drug_code", @@ -2706,13 +2706,13 @@

Columns

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

The short description of a drug type.<\/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": "agency_code", @@ -2720,69 +2720,69 @@

Columns

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

The short description of the agency code.<\/p>" + "comments": "

A boolean indicator to determine if the agency code is active.<\/p>" }, { "tableName": "action", "tableFileName": "action", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>case_guid", + "keyClass": "", + "keyTitle": "", + "name": "actor_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>" + "comments": "

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

The id of the user that updated the ear type.<\/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": "action_code", - "tableFileName": "action_code", + "tableName": "non_compliance_decision_matrix_code", + "tableFileName": "non_compliance_decision_matrix_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "√", + "name": "short_description", + "type": "varchar", + "length": 50, + "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 short description of a case management non_compliance_decision_matrix_code.<\/p>" }, { - "tableName": "discharge_code", - "tableFileName": "discharge_code", + "tableName": "lead", + "tableFileName": "lead", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user_id", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>lead_identifier", "type": "varchar", - "length": 32, + "length": 20, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

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

Columns

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

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 ear_tag record.<\/p>" + "comments": "

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

Columns

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

The short description of an ear type.<\/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": "threat_level_code", @@ -2832,41 +2832,41 @@

Columns

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

The short description of a threat level type.<\/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": "wildlife", "tableFileName": "wildlife", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>hwcr_outcome_code", + "keyClass": "", + "keyTitle": "", + "name": "create_user_id", "type": "varchar", - "length": 10, - "nullable": "√", + "length": 32, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

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

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

Columns

"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 action type entry was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The timestamp when the action type entry was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "drug_remaining_outcome_code", @@ -2888,13 +2888,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", + "name": "update_utc_timestamp", "type": "timestamp", "length": 29, "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 timestamp when the remaining drug outcome type was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "lead_h", @@ -2902,13 +2902,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "target_row_id", + "name": "operation_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>" + "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": "ear_tag", @@ -2916,13 +2916,13 @@

Columns

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

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

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

Columns

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

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

The id of the user that updated the age type.<\/p>" }, { - "tableName": "schedule_code", - "tableFileName": "schedule_code", + "tableName": "decision_h", + "tableFileName": "decision_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "target_row_id", + "type": "uuid", + "length": 2147483647, "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": "" }, { "tableName": "drug_code", @@ -2958,13 +2958,13 @@

Columns

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

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

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

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "display_order", - "type": "int4", - "length": 10, - "nullable": "√", + "name": "create_user_id", + "type": "varchar", + "length": 32, + "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": "

The id of the user that created the location type.<\/p>" }, { "tableName": "flyway_schema_history", @@ -2986,9 +2986,9 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "description", + "name": "script", "type": "varchar", - "length": 200, + "length": 1000, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -3000,27 +3000,27 @@

Columns

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

The long description of the location type where the case was taken.<\/p>" + "comments": "

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

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

The long description of a conflict history type.<\/p>" }, { "tableName": "action_type_code", @@ -3028,27 +3028,27 @@

Columns

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

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

The id of the user that created the action type entry.<\/p>" }, { - "tableName": "configuration", - "tableFileName": "configuration", + "tableName": "action_type_code", + "tableFileName": "action_type_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "short_description", + "type": "varchar", + "length": 50, "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 short description of a logical grouping of case management actions.<\/p>" }, { "tableName": "case_file", @@ -3056,23 +3056,23 @@

Columns

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

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

A human readable code used to identify a reason why no action on the case was taken.<\/p>" }, { "tableName": "schedule_sector_xref", "tableFileName": "schedule_sector_xref", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>sector_code", + "keyClass": "", + "keyTitle": "", + "name": "create_user_id", "type": "varchar", - "length": 10, + "length": 32, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -3084,13 +3084,13 @@

Columns

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

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

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

Columns

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

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

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

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_type", - "type": "bpchar", - "length": 1, + "name": "operation_executed_at", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/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": "equipment", @@ -3126,13 +3126,13 @@

Columns

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

The id of the user that updated the equipment record.<\/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": "drug_remaining_outcome_code", @@ -3140,41 +3140,41 @@

Columns

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

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

The id of the user that updated the remaining drug outcome type.<\/p>" }, { "tableName": "hwcr_outcome_code", "tableFileName": "hwcr_outcome_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>hwcr_outcome_code", + "keyClass": "", + "keyTitle": "", + "name": "long_description", "type": "varchar", - "length": 10, - "nullable": "", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

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

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

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

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", + "name": "update_utc_timestamp", "type": "timestamp", "length": 29, "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": "

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

Columns

"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 location type 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": "action_type_code", "tableFileName": "action_type_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>action_type_code", + "keyClass": "", + "keyTitle": "", + "name": "long_description", "type": "varchar", - "length": 10, - "nullable": "", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

The long description of a logical grouping of case management actions.<\/p>" }, { "tableName": "action_type_action_xref", "tableFileName": "action_type_action_xref", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>action_code", - "type": "varchar", - "length": 10, - "nullable": "", + "keyClass": "", + "keyTitle": "", + "name": "active_ind", + "type": "bool", + "length": 1, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

A boolean indicator to determine if the relationship between case management actions and logical types is active.<\/p>" }, { "tableName": "action_h", "tableFileName": "action_h", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>h_action_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "operation_type", + "type": "bpchar", + "length": 1, "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 operation performed: I = Insert, U = Update, D = Delete<\/p>" }, { "tableName": "case_code", @@ -3252,13 +3252,13 @@

Columns

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

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

The id of the user that created the case type.<\/p>" }, { "tableName": "agency_code", @@ -3266,13 +3266,13 @@

Columns

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

The long description of the agency code.<\/p>" + "comments": "

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

Columns

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

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

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

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

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

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

A vial number that relates to a seperate drug inventory system.<\/p>" }, { "tableName": "configuration", @@ -3322,41 +3322,41 @@

Columns

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

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

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

The id of the user that updated the case.<\/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": "decision", "tableFileName": "decision", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "rationale_text", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>lead_agency_code", "type": "varchar", - "length": 4000, + "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", + "name": "update_utc_timestamp", "type": "timestamp", "length": 29, "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": "

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

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "", + "name": "additional_comments_text", + "type": "text", + "length": 2147483647, + "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": "

Includes comments on immobilization outcomes, any adverse reactions, and drug storage or discarding.<\/p>" }, { - "tableName": "drug_method_code", - "tableFileName": "drug_method_code", + "tableName": "threat_level_code", + "tableFileName": "threat_level_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user_id", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>threat_level_code", "type": "varchar", - "length": 32, + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

A human readable code used to identify a threat level type.<\/p>" }, { - "tableName": "conflict_history_code", - "tableFileName": "conflict_history_code", + "tableName": "configuration", + "tableFileName": "configuration", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user_id", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>configuration_code", "type": "varchar", - "length": 32, + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

A human readable code used to identify an configuration entry.<\/p>" }, { "tableName": "lead_h", @@ -3420,37 +3420,37 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_type", - "type": "bpchar", - "length": 1, + "name": "operation_executed_at", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The operation performed: I = Insert, U = Update, D = Delete<\/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": "discharge_code", - "tableFileName": "discharge_code", + "tableName": "lead", + "tableFileName": "lead", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>case_identifier", + "type": "uuid", + "length": 2147483647, "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": "

System generated unique key for a case. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { "tableName": "flyway_schema_history", "tableFileName": "flyway_schema_history", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>installed_rank", - "type": "int4", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "description", + "type": "varchar", + "length": 200, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -3462,27 +3462,27 @@

Columns

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

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

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

The id of the user that updated the location 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": "configuration_h", @@ -3490,13 +3490,13 @@

Columns

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

The unique key for the configuration that has been created or modified.<\/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": "site", @@ -3504,40 +3504,40 @@

Columns

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

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

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

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

A human readable code used to identify a case management action.<\/p>" }, { "tableName": "flyway_schema_history", "tableFileName": "flyway_schema_history", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "installed_on", - "type": "timestamp", - "length": 29, + "keyClass": "indexedColumn", + "keyTitle": "Indexed", + "name": "<\/i>success", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", + "defaultValue": "null", "comments": "" }, { @@ -3546,13 +3546,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", + "name": "update_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 equipment type was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "action_type_code", @@ -3560,13 +3560,13 @@

Columns

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

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

A boolean indicator to determine if the logical grouping of case management actions is active.<\/p>" }, { "tableName": "schedule_code", @@ -3574,41 +3574,41 @@

Columns

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

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

A boolean indicator to determine if the case management schedule_code is active.<\/p>" }, { - "tableName": "action", - "tableFileName": "action", + "tableName": "drug_administered_h", + "tableFileName": "drug_administered_h", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>decision_guid", + "keyClass": "", + "keyTitle": "", + "name": "target_row_id", "type": "uuid", "length": 2147483647, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

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

Unique identifier for the decision<\/p>" + "defaultValue": "null", + "comments": "

Defines the combination of a WDR_SCHEDULE_CODE and a SECTOR_CATEGORY_CODE<\/p>" }, { "tableName": "non_compliance_decision_matrix_code", @@ -3616,13 +3616,13 @@

Columns

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

The long description of a 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": "agency_code", @@ -3630,13 +3630,13 @@

Columns

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

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

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

Columns

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

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

The discharge code related to a decision<\/p>" }, { - "tableName": "ear_tag_h", - "tableFileName": "ear_tag_h", + "tableName": "schedule_sector_xref", + "tableFileName": "schedule_sector_xref", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "data_after_executed_operation", - "type": "jsonb", - "length": 2147483647, - "nullable": "√", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>schedule_code", + "type": "varchar", + "length": 10, + "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": "" }, { "tableName": "agency_code", @@ -3672,41 +3672,41 @@

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 agency code is active.<\/p>" + "comments": "

The timestamp when the agency was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "drug_code", - "tableFileName": "drug_code", + "tableName": "schedule_code", + "tableFileName": "schedule_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "short_description", + "type": "varchar", + "length": 50, "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 short description of a case management schedule_code.<\/p>" }, { "tableName": "configuration_h", "tableFileName": "configuration_h", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>h_configuration_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "operation_type", + "type": "bpchar", + "length": 1, "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>" + "defaultValue": "null", + "comments": "

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

Columns

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

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

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

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_user_id", - "type": "varchar", - "length": 32, - "nullable": "", + "name": "data_after_executed_operation", + "type": "jsonb", + "length": 2147483647, + "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": "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>" }, { "tableName": "authorization_permit", @@ -3742,13 +3742,13 @@

Columns

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

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

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

Columns

"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 type was created. The timestamp is stored in UTC with no Offset.<\/p>" + "comments": "

The timestamp when the case type was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "site", "tableFileName": "site", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>case_file_guid", - "type": "uuid", - "length": 2147483647, - "nullable": "", + "keyClass": "", + "keyTitle": "", + "name": "active_ind", + "type": "bool", + "length": 1, + "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": "true", + "comments": "

A boolean indicator to determine if the record has been soft deleted.<\/p>" }, { "tableName": "conflict_history_code", @@ -3784,13 +3784,13 @@

Columns

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

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

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

Columns

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

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

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

Columns

"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 drug injection method type.<\/p>" }, { "tableName": "wildlife", @@ -3826,41 +3826,41 @@

Columns

"tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>sex_code", + "name": "<\/i>hwcr_outcome_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 an HWCR outcome type.<\/p>" }, { - "tableName": "lead_h", - "tableFileName": "lead_h", + "tableName": "authorization_permit_h", + "tableFileName": "authorization_permit_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "data_after_executed_operation", - "type": "jsonb", + "name": "target_row_id", + "type": "uuid", "length": 2147483647, - "nullable": "√", + "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 unique key for the authorization permit that has been created or modified.<\/p>" }, { - "tableName": "threat_level_code", - "tableFileName": "threat_level_code", + "tableName": "action_h", + "tableFileName": "action_h", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>h_action_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The id of the user that updated the threat level type.<\/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": "equipment", @@ -3868,13 +3868,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, + "name": "create_utc_timestamp", + "type": "timestamp", + "length": 29, "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": "

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

Columns

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

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

The id of the user that updated the drug_administered record.<\/p>" }, { "tableName": "site", @@ -3896,13 +3896,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": "true", - "comments": "

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

The timestamp when the unauthroized site id was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "non_compliance_decision_matrix_code", @@ -3910,27 +3910,27 @@

Columns

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

The id of the user that created the case management non_compliance_decision_matrix_code.<\/p>" }, { - "tableName": "agency_code", - "tableFileName": "agency_code", + "tableName": "wildlife_h", + "tableFileName": "wildlife_h", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "√", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>h_wildlife_guid", + "type": "uuid", + "length": 2147483647, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The timestamp when the agency was updated. The timestamp is stored in UTC with no Offset.<\/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": "configuration", @@ -3938,27 +3938,27 @@

Columns

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

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

The id of the user that updated the configuration entry.<\/p>" }, { "tableName": "decision", "tableFileName": "decision", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "inspection_number", - "type": "int4", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>non_compliance_decision_matrix_code", + "type": "varchar", "length": 10, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The NRIS inspection number for a CEEB decision<\/p>" + "comments": "" }, { "tableName": "action", @@ -3966,13 +3966,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "actor_guid", - "type": "uuid", - "length": 2147483647, - "nullable": "", + "name": "active_ind", + "type": "bool", + "length": 1, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Represents the IDIR guid of the user who performed the action.<\/p>" + "comments": "

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

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", + "name": "update_utc_timestamp", "type": "timestamp", "length": 29, - "nullable": "", + "nullable": "√", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "configuration_h", - "tableFileName": "configuration_h", + "tableName": "equipment_code", + "tableFileName": "equipment_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "operation_executed_at", - "type": "timestamp", - "length": 29, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>equipment_code", + "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": "

A human readable code used to identify an equipment type.<\/p>" }, { "tableName": "case_file", @@ -4008,55 +4008,55 @@

Columns

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

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

A boolean indicator to determine if the COS officer attended the assessment.<\/p>" }, { "tableName": "case_file", "tableFileName": "case_file", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>inaction_reason_code", - "type": "varchar", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "note_text", + "type": "text", + "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>" + "comments": "

A free-form note that can be edited by collaborators on the case.<\/p>" }, { - "tableName": "case_file_h", - "tableFileName": "case_file_h", + "tableName": "ear_tag", + "tableFileName": "ear_tag", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "operation_executed_at", - "type": "timestamp", - "length": 29, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>ear_tag_guid", + "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": "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": "equipment_code", "tableFileName": "equipment_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>equipment_code", + "keyClass": "", + "keyTitle": "", + "name": "long_description", "type": "varchar", - "length": 10, - "nullable": "", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

The long description of an equipment type.<\/p>" }, { "tableName": "lead", @@ -4064,27 +4064,27 @@

Columns

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

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

The id of the user that updated the complaint/case relationship.<\/p>" }, { "tableName": "wildlife", "tableFileName": "wildlife", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>wildlife_guid", - "type": "uuid", - "length": 2147483647, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>threat_level_code", + "type": "varchar", + "length": 10, + "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": "

A human readable code used to identify a threat level type.<\/p>" }, { "tableName": "decision", @@ -4092,13 +4092,13 @@

Columns

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

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

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

Columns

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

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

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

Columns

"tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>wildlife_guid", - "type": "uuid", - "length": 2147483647, + "name": "<\/i>drug_method_code", + "type": "varchar", + "length": 10, "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": "

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

Defines the combination of a WDR_SCHEDULE_CODE and a SECTOR_CATEGORY_CODE<\/p>" + "comments": "

The rationale code related to a CEEB decision<\/p>" }, { "tableName": "drug_remaining_outcome_code", @@ -4148,13 +4148,13 @@

Columns

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

A boolean indicator to determine if a remaining drug outcome type is active.<\/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", @@ -4162,13 +4162,13 @@

Columns

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

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

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

Columns

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

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

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

Columns

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

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

A boolean indicator to determine if a remaining drug outcome type is active.<\/p>" }, { "tableName": "discharge_code", @@ -4204,27 +4204,27 @@

Columns

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

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

The timestamp when the case management discharge_code 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>non_compliance_decision_matrix_code", + "keyClass": "", + "keyTitle": "", + "name": "create_user_id", "type": "varchar", - "length": 10, - "nullable": "√", + "length": 32, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The id of the user that created the case management action.<\/p>" }, { "tableName": "action_code", @@ -4232,55 +4232,55 @@

Columns

"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 management action was created. The timestamp is stored in UTC with no Offset.<\/p>" + "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", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>non_compliance_decision_matrix_code", + "keyClass": "", + "keyTitle": "", + "name": "long_description", "type": "varchar", - "length": 10, - "nullable": "", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a non_compliance_decision_matrix_code code.<\/p>" + "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": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>drug_method_code", + "keyClass": "", + "keyTitle": "", + "name": "long_description", "type": "varchar", - "length": 10, - "nullable": "", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

The long description of a drug injection method type.<\/p>" }, { "tableName": "action_type_action_xref", "tableFileName": "action_type_action_xref", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>action_type_code", - "type": "varchar", + "keyClass": "", + "keyTitle": "", + "name": "display_order", + "type": "int4", "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a logical grouping of case management actions.<\/p>" + "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": "flyway_schema_history", @@ -4288,27 +4288,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "installed_by", - "type": "varchar", - "length": 100, + "name": "execution_time", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "drug_remaining_outcome_code", - "tableFileName": "drug_remaining_outcome_code", + "tableName": "drug_code", + "tableFileName": "drug_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user_id", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>drug_code", "type": "varchar", - "length": 32, + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

A human readable code used to identify a drug type.<\/p>" }, { "tableName": "case_file_h", @@ -4316,13 +4316,13 @@

Columns

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

The unique key for the case that has been created or modified.<\/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", @@ -4330,13 +4330,13 @@

Columns

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

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

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

Columns

"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 threat level type should be displayed when presented to a user in a list.<\/p>" + "comments": "

The id of the user that created the threat level type.<\/p>" }, { "tableName": "conflict_history_code", @@ -4358,13 +4358,13 @@

Columns

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

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

A boolean indicator to determine if a conflict history type is active.<\/p>" }, { "tableName": "hwcr_outcome_code", @@ -4372,41 +4372,41 @@

Columns

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

The short description of an HWCR outcome type.<\/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_h", - "tableFileName": "ear_tag_h", + "tableName": "schedule_sector_xref", + "tableFileName": "schedule_sector_xref", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "operation_executed_at", - "type": "timestamp", - "length": 29, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>schedule_sector_xref_guid", + "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": "case_management.uuid_generate_v4()", + "comments": "" }, { "tableName": "action_type_action_xref", "tableFileName": "action_type_action_xref", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>action_type_action_xref_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>action_code", + "type": "varchar", + "length": 10, "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": "

A human readable code used to identify a case management action.<\/p>" }, { "tableName": "sex_code", @@ -4414,27 +4414,27 @@

Columns

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

The short description of a sex type.<\/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": "sector_code", - "tableFileName": "sector_code", + "tableName": "wildlife", + "tableFileName": "wildlife", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>case_file_guid", + "type": "uuid", + "length": 2147483647, "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": "

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

Columns

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

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

The timestamp when the drug type was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "wildlife", @@ -4456,55 +4456,55 @@

Columns

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

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

The timestamp when the wildlife record was updated. 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>schedule_code", - "type": "varchar", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "active_ind", + "type": "bool", + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "drug_administered", - "tableFileName": "drug_administered", + "tableName": "flyway_schema_history", + "tableFileName": "flyway_schema_history", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "active_ind", - "type": "bool", - "length": 1, - "nullable": "√", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>installed_rank", + "type": "int4", + "length": 10, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A boolean indicator to determine if the drug_administered record is active.<\/p>" + "comments": "" }, { - "tableName": "configuration", - "tableFileName": "configuration", + "tableName": "action_type_code", + "tableFileName": "action_type_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user_id", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>action_type_code", "type": "varchar", - "length": 32, + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

A human readable code used to identify a logical grouping of case management actions.<\/p>" }, { "tableName": "sex_code", @@ -4512,13 +4512,13 @@

Columns

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

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

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

Columns

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

The unique key for the action that has been created or modified.<\/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": "action", @@ -4540,41 +4540,41 @@

Columns

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

The date the action was recorded. This value is user entered.<\/p>" + "comments": "

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

A human readable code used to identify a case type.<\/p>" }, { - "tableName": "inaction_reason_code", - "tableFileName": "inaction_reason_code", + "tableName": "sex_code", + "tableFileName": "sex_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "√", + "name": "short_description", + "type": "varchar", + "length": 50, + "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 short description of a sex type.<\/p>" }, { "tableName": "case_file", @@ -4582,13 +4582,13 @@

Columns

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

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

The id of the user that updated the case.<\/p>" }, { "tableName": "conflict_history_code", @@ -4596,27 +4596,27 @@

Columns

"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 conflict history type should be displayed when presented to a user in a list.<\/p>" + "comments": "

The id of the user that created the conflict history type.<\/p>" }, { - "tableName": "drug_remaining_outcome_code", - "tableFileName": "drug_remaining_outcome_code", + "tableName": "drug_code", + "tableFileName": "drug_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "short_description", + "type": "varchar", + "length": 50, "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 short description of a drug type.<\/p>" }, { "tableName": "schedule_code", @@ -4624,13 +4624,13 @@

Columns

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

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

The id of the user that updated the case management schedule_code.<\/p>" }, { "tableName": "inaction_reason_code", @@ -4638,153 +4638,153 @@

Columns

"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 reason why no action on the case was taken was created. The timestamp is stored in UTC with no Offset.<\/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_h", "tableFileName": "site_h", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>h_site_guid", - "type": "uuid", - "length": 2147483647, - "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>" - }, - { - "tableName": "action_type_action_xref", - "tableFileName": "action_type_action_xref", - "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "√", + "name": "operation_type", + "type": "bpchar", + "length": 1, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

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

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

The short description of the location type where the case was taken.<\/p>" }, { - "tableName": "inaction_reason_code", - "tableFileName": "inaction_reason_code", + "tableName": "action_code", + "tableFileName": "action_code", "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 case management action is active.<\/p>" }, { "tableName": "sex_code", "tableFileName": "sex_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user_id", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>sex_code", "type": "varchar", - "length": 32, + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The id of the user that updated the sex type.<\/p>" - }, - { - "tableName": "authorization_permit_h", - "tableFileName": "authorization_permit_h", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "operation_executed_at", - "type": "timestamp", - "length": 29, - "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>" + "comments": "

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

System generated unique key for a site record<\/p>" + "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_administered_h", - "tableFileName": "drug_administered_h", + "tableName": "case_file", + "tableFileName": "case_file", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>h_drug_administered_guid", + "name": "<\/i>case_file_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 a case. This key should never be exposed to users via any system utilizing the tables.<\/p>" }, { - "tableName": "ear_tag", - "tableFileName": "ear_tag", + "tableName": "site", + "tableFileName": "site", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "active_ind", - "type": "bool", + "name": "site_id", + "type": "varchar", + "length": 50, + "nullable": "", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

The value used for an unauthorized site id<\/p>" + }, + { + "tableName": "drug_administered_h", + "tableFileName": "drug_administered_h", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "operation_type", + "type": "bpchar", "length": 1, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

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

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

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

Columns

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

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

The timestamp when the configuration entry was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "lead_h", - "tableFileName": "lead_h", + "tableName": "authorization_permit_h", + "tableFileName": "authorization_permit_h", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "operation_executed_at", - "type": "timestamp", - "length": 29, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>h_authorization_permit_guid", + "type": "uuid", + "length": 2147483647, "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": "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_code", "tableFileName": "action_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>action_code", + "keyClass": "", + "keyTitle": "", + "name": "long_description", "type": "varchar", - "length": 10, - "nullable": "", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

The long description of a case management action.<\/p>" }, { "tableName": "drug_administered", @@ -4834,13 +4834,13 @@

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 drug_administered record.<\/p>" + "comments": "

A boolean indicator to determine if the drug_administered record is active.<\/p>" }, { "tableName": "decision_h", @@ -4848,12 +4848,12 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_user_id", - "type": "varchar", - "length": 32, - "nullable": "", + "name": "data_after_executed_operation", + "type": "jsonb", + "length": 2147483647, + "nullable": "√", "autoUpdated": "", - "defaultValue": "CURRENT_USER", + "defaultValue": "null", "comments": "" }, { @@ -4862,10 +4862,10 @@

Columns

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

Columns

"tableName": "case_file", "tableFileName": "case_file", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>case_file_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>owned_by_agency_code", + "type": "varchar", + "length": 10, "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": "

A human readable code used to identify the agency that owns this case.<\/p>" }, { "tableName": "non_compliance_decision_matrix_code", @@ -4890,27 +4890,27 @@

Columns

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

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

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

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

A human readable code used to identify a location type.<\/p>" }, { "tableName": "authorization_permit_h", @@ -4918,13 +4918,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_user_id", - "type": "varchar", - "length": 32, - "nullable": "", + "name": "data_after_executed_operation", + "type": "jsonb", + "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": "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>" }, { "tableName": "flyway_schema_history", @@ -4932,10 +4932,10 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "version", + "name": "type", "type": "varchar", - "length": 50, - "nullable": "√", + "length": 20, + "nullable": "", "autoUpdated": "", "defaultValue": "null", "comments": "" @@ -4946,27 +4946,27 @@

Columns

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

The unique key for the case that has been created or modified.<\/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": "drug_administered_h", - "tableFileName": "drug_administered_h", + "tableName": "sector_code", + "tableFileName": "sector_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "data_after_executed_operation", - "type": "jsonb", - "length": 2147483647, - "nullable": "√", + "name": "short_description", + "type": "varchar", + "length": 50, + "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 short description of a case management sector_code.<\/p>" }, { "tableName": "sector_code", @@ -4974,13 +4974,13 @@

Columns

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

The short description of a case management sector_code.<\/p>" + "comments": "" }, { "tableName": "sex_code", @@ -4988,13 +4988,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", + "name": "update_utc_timestamp", "type": "timestamp", "length": 29, "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 timestamp when the sex type was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "case_file_h", @@ -5002,27 +5002,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_user_id", - "type": "varchar", - "length": 32, - "nullable": "", + "name": "data_after_executed_operation", + "type": "jsonb", + "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": "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>" }, { - "tableName": "drug_method_code", - "tableFileName": "drug_method_code", + "tableName": "threat_level_code", + "tableFileName": "threat_level_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "short_description", + "type": "varchar", + "length": 50, "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 short description of a threat level type.<\/p>" }, { "tableName": "equipment", @@ -5030,41 +5030,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", + "name": "update_utc_timestamp", "type": "timestamp", "length": 29, "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 timestamp when the equipment record was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "authorization_permit", - "tableFileName": "authorization_permit", + "tableName": "site", + "tableFileName": "site", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, - "nullable": "√", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>site_guid", + "type": "uuid", + "length": 2147483647, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The id of the user that updated the authroized site id<\/p>" + "defaultValue": "case_management.uuid_generate_v4()", + "comments": "

System generated unique key for a site record<\/p>" }, { - "tableName": "decision", - "tableFileName": "decision", + "tableName": "ear_tag_h", + "tableFileName": "ear_tag_h", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_utc_timestamp", - "type": "timestamp", - "length": 29, + "name": "target_row_id", + "type": "uuid", + "length": 2147483647, "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 unique key for the case that has been created or modified.<\/p>" }, { "tableName": "age_code", @@ -5072,27 +5072,27 @@

Columns

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

The short description of an age type.<\/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": "sector_code", "tableFileName": "sector_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>sector_code", + "keyClass": "", + "keyTitle": "", + "name": "long_description", "type": "varchar", - "length": 10, - "nullable": "", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

The long description of a case management sector_code.<\/p>" }, { "tableName": "configuration", @@ -5100,13 +5100,13 @@

Columns

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

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

A boolean indicator to determine if the configuration_entry is active.<\/p>" }, { "tableName": "hwcr_outcome_code", @@ -5114,13 +5114,27 @@

Columns

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

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

A boolean indicator to determine if an HWCR outcome type is active.<\/p>" + }, + { + "tableName": "decision", + "tableFileName": "decision", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>decision_guid", + "type": "uuid", + "length": 2147483647, + "nullable": "", + "autoUpdated": "", + "defaultValue": "case_management.uuid_generate_v4()", + "comments": "

Unique identifier for the decision<\/p>" }, { "tableName": "ear_tag_h", @@ -5128,13 +5142,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "operation_user_id", - "type": "varchar", - "length": 32, - "nullable": "", + "name": "data_after_executed_operation", + "type": "jsonb", + "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": "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>" }, { "tableName": "equipment_code", @@ -5142,13 +5156,13 @@

Columns

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

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

The id of the user that updated the equipment type.<\/p>" }, { "tableName": "equipment_code", @@ -5156,55 +5170,55 @@

Columns

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

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

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

The id of the user that updated the HWCR outcome type.<\/p>" + "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>" }, { "tableName": "equipment", "tableFileName": "equipment", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>equipment_code", - "type": "varchar", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "equipment_geometry_point", + "type": "geometry", + "length": 2147483647, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A human readable code used to identify a piece of equipment<\/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": "non_compliance_decision_matrix_code", - "tableFileName": "non_compliance_decision_matrix_code", + "tableName": "conflict_history_code", + "tableFileName": "conflict_history_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user_id", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>conflict_history_code", "type": "varchar", - "length": 32, + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

A human readable code used to identify a conflict history type.<\/p>" }, { "tableName": "action", @@ -5212,69 +5226,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 action is active and should be displayed in the application.<\/p>" + "comments": "

The timestamp when the case was created. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "drug_administered", "tableFileName": "drug_administered", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>drug_administered_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>" - }, - { - "tableName": "lead", - "tableFileName": "lead", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user_id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>drug_code", "type": "varchar", - "length": 32, - "nullable": "√", + "length": 10, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

A human readable code used to identify a drug type.<\/p>" }, { "tableName": "action", "tableFileName": "action", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>action_type_action_xref_guid", - "type": "uuid", - "length": 2147483647, + "keyClass": "", + "keyTitle": "", + "name": "action_date", + "type": "timestamp", + "length": 29, "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": "

The date the action was recorded. This value is user entered.<\/p>" }, { - "tableName": "decision_h", - "tableFileName": "decision_h", + "tableName": "hwcr_outcome_code", + "tableFileName": "hwcr_outcome_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "operation_executed_at", - "type": "timestamp", - "length": 29, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>hwcr_outcome_code", + "type": "varchar", + "length": 10, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", - "comments": "" + "defaultValue": "null", + "comments": "

A human readable code used to identify an HWCR outcome type.<\/p>" }, { "tableName": "inaction_reason_code", @@ -5282,13 +5282,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "display_order", - "type": "int4", - "length": 10, - "nullable": "√", + "name": "create_user_id", + "type": "varchar", + "length": 32, + "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": "

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

Columns

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

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

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

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", + "name": "update_utc_timestamp", "type": "timestamp", "length": 29, "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 timestamp when the conflict history type was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { "tableName": "action_type_code", @@ -5324,13 +5324,13 @@

Columns

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

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

The id of the user that updated the action type entry.<\/p>" }, { "tableName": "ear_code", @@ -5338,13 +5338,13 @@

Columns

"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 ear type should be displayed when presented to a user in a list.<\/p>" + "comments": "

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

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_utc_timestamp", + "name": "update_utc_timestamp", "type": "timestamp", "length": 29, "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 ear_tag record was updated. The timestamp is stored in UTC with no Offset.<\/p>" }, { - "tableName": "site_h", - "tableFileName": "site_h", + "tableName": "agency_code", + "tableFileName": "agency_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "operation_executed_at", - "type": "timestamp", - "length": 29, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>agency_code", + "type": "varchar", + "length": 10, "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": "

A human readable code used to identify an agency.<\/p>" }, { "tableName": "drug_administered", @@ -5380,27 +5380,27 @@

Columns

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

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

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

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

The long description of the agency code.<\/p>" }, { "tableName": "decision_h", @@ -5408,12 +5408,12 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "target_row_id", - "type": "uuid", - "length": 2147483647, + "name": "operation_user_id", + "type": "varchar", + "length": 32, "nullable": "", "autoUpdated": "", - "defaultValue": "null", + "defaultValue": "CURRENT_USER", "comments": "" }, { @@ -5422,27 +5422,27 @@

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 relationship between case management actions and logical types is active.<\/p>" + "comments": "" }, { - "tableName": "schedule_sector_xref", - "tableFileName": "schedule_sector_xref", + "tableName": "action_type_action_xref", + "tableFileName": "action_type_action_xref", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "update_user_id", - "type": "varchar", - "length": 32, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>action_type_action_xref_guid", + "type": "uuid", + "length": 2147483647, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "" + "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": "conflict_history_code", @@ -5450,27 +5450,27 @@

Columns

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

The short description of a conflict history type.<\/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": "drug_code", "tableFileName": "drug_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>drug_code", + "keyClass": "", + "keyTitle": "", + "name": "long_description", "type": "varchar", - "length": 10, - "nullable": "", + "length": 250, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

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

The long description of a drug type.<\/p>" } ]; var config = { diff --git a/schemaspy/case_management/index.html b/schemaspy/case_management/index.html index a36c8054..cf3e5c9b 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 Nov 30 11:04 GMT 2024

+

Generated on Sat Dec 07 11:04 GMT 2024

diff --git a/schemaspy/case_management/info-html.txt b/schemaspy/case_management/info-html.txt index 2cd5e0d8..25c14021 100644 --- a/schemaspy/case_management/info-html.txt +++ b/schemaspy/case_management/info-html.txt @@ -1,4 +1,4 @@ -date=2024-11-30 11:04:57+0000 +date=2024-12-07 11:04:57+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 0fa8f554..d5b12203 100644 --- a/schemaspy/case_management/routines.html +++ b/schemaspy/case_management/routines.html @@ -121,19 +121,19 @@

Routines

- uuid_generate_v1mc() + uuid_generate_v3(namespace uuid, name text) FUNCTION c - false + true uuid INVOKER - uuid_generate_v3(namespace uuid, name text) + uuid_generate_v1mc() FUNCTION c - true + false uuid INVOKER diff --git a/schemaspy/index.html b/schemaspy/index.html index d0ccf70c..ba4e861e 100644 --- a/schemaspy/index.html +++ b/schemaspy/index.html @@ -49,7 +49,7 @@

SchemaSpy Analysis of default

-

Generated on Sat Nov 30 11:05 GMT 2024

+

Generated on Sat Dec 07 11:05 GMT 2024