diff --git a/case-team_tapdata_export/API/MetadataDefinition.json b/case-team_tapdata_export/API/MetadataDefinition.json new file mode 100644 index 0000000..c077454 --- /dev/null +++ b/case-team_tapdata_export/API/MetadataDefinition.json @@ -0,0 +1,102 @@ +[ { + "collectionName" : "MetadataDefinition", + "json" : { + "apiCount" : 0, + "createTime" : 1773720783036, + "createUser" : "admin@admin.com", + "id" : "69b8d4cf8dd5178824619d46", + "item_type" : [ "dataflow" ], + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "objCount" : 0, + "priority" : 1, + "publishedApiCount" : 0, + "user_id" : "62bc5008d4958d013d97c7a6", + "value" : "dmp fdm" + } +}, { + "collectionName" : "MetadataDefinition", + "json" : { + "apiCount" : 0, + "createTime" : 1773734825026, + "createUser" : "admin@admin.com", + "id" : "69b90ba98dd517882461f4ec", + "item_type" : [ "database" ], + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "objCount" : 0, + "publishedApiCount" : 0, + "user_id" : "62bc5008d4958d013d97c7a6", + "value" : "dmp" + } +}, { + "collectionName" : "MetadataDefinition", + "json" : { + "apiCount" : 0, + "createTime" : 1773734956753, + "createUser" : "admin@admin.com", + "id" : "69b90c2c8dd517882461f593", + "item_type" : [ "dataflow" ], + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "objCount" : 0, + "priority" : 1, + "publishedApiCount" : 0, + "user_id" : "62bc5008d4958d013d97c7a6", + "value" : "dmp union mdm" + } +}, { + "collectionName" : "MetadataDefinition", + "json" : { + "apiCount" : 0, + "createTime" : 1773734825026, + "createUser" : "admin@admin.com", + "id" : "69b90ba98dd517882461f4ec", + "item_type" : [ "database" ], + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "objCount" : 0, + "publishedApiCount" : 0, + "user_id" : "62bc5008d4958d013d97c7a6", + "value" : "dmp" + } +}, { + "collectionName" : "MetadataDefinition", + "json" : { + "apiCount" : 0, + "createTime" : 1773749106910, + "createUser" : "admin@admin.com", + "id" : "69b943728dd5178824623841", + "item_type" : [ "dataflow" ], + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "objCount" : 0, + "publishedApiCount" : 0, + "user_id" : "62bc5008d4958d013d97c7a6", + "value" : "dmp merge mdm" + } +}, { + "collectionName" : "MetadataDefinition", + "json" : { + "apiCount" : 0, + "createTime" : 1773734825026, + "createUser" : "admin@admin.com", + "id" : "69b90ba98dd517882461f4ec", + "item_type" : [ "database" ], + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "objCount" : 0, + "publishedApiCount" : 0, + "user_id" : "62bc5008d4958d013d97c7a6", + "value" : "dmp" + } +}, { + "collectionName" : "MetadataDefinition", + "json" : { + "apiCount" : 0, + "createTime" : 1774947075169, + "createUser" : "cpicase-martin", + "desc" : "", + "id" : "69cb8b03bda877370a5f0351", + "item_type" : [ "app" ], + "lastUpdBy" : "69c6449cb9dbbccec453fb5f", + "objCount" : 0, + "publishedApiCount" : 0, + "user_id" : "69c6449cb9dbbccec453fb5f", + "value" : "cpi case" + } +} ] \ No newline at end of file diff --git a/case-team_tapdata_export/API/cpi case v1_Module.json b/case-team_tapdata_export/API/cpi case v1_Module.json new file mode 100644 index 0000000..fcc801e --- /dev/null +++ b/case-team_tapdata_export/API/cpi case v1_Module.json @@ -0,0 +1,1653 @@ +[ { + "collectionName" : "Modules", + "json" : { + "apiType" : "customerQuery", + "apiVersion" : "v1", + "basePath" : "_by_code", + "connection" : { + "date" : 1767151522000, + "timestamp" : 1767151522 + }, + "connectionId" : "695497a235a6fa171731395e", + "connectionName" : "MDM", + "connectionType" : "MongoDB", + "createTime" : 1774947206346, + "createUser" : "cpicase-martin", + "datasource" : "695497a235a6fa171731395e", + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "comment" : "", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa171731395e_MDM_cpi_case__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "comment" : "", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "admissionDtm", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_admissionDtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "admissionDtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "admissionDtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "comment" : "", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "caseNo", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_caseNo", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "caseNo", + "previousDataType" : "STRING(24)", + "previousFieldName" : "caseNo", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "comment" : "", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "caseType", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_caseType", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "caseType", + "previousDataType" : "STRING(2)", + "previousFieldName" : "caseType", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "comment" : "", + "data_type" : "DOCUMENT", + "default_value" : null, + "field_name" : "cpiPatient", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient", + "is_auto_allowed" : true, + "is_deleted" : false, + "originalDataType" : "DOCUMENT", + "original_field_name" : "cpiPatient", + "previousDataType" : "DOCUMENT", + "previousFieldName" : "cpiPatient", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"type\":4}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 0, + "comment" : "", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "cpiPatient._id", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient._id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "cpiPatient._id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "cpiPatient._id", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 33, + "comment" : "", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "cpiPatient.accessCode", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.accessCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "cpiPatient.accessCode", + "previousDataType" : "INT32", + "previousFieldName" : "cpiPatient.accessCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "comment" : "", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "cpiPatient.chiName", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.chiName", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(24)", + "original_field_name" : "cpiPatient.chiName", + "previousDataType" : "STRING(24)", + "previousFieldName" : "cpiPatient.chiName", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 30, + "comment" : "", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "cpiPatient.deathDate", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.deathDate", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "cpiPatient.deathDate", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "cpiPatient.deathDate", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 29, + "comment" : "", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "cpiPatient.deathIndicator", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.deathIndicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "cpiPatient.deathIndicator", + "previousDataType" : "STRING(2)", + "previousFieldName" : "cpiPatient.deathIndicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "comment" : "", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "cpiPatient.dob", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.dob", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "cpiPatient.dob", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "cpiPatient.dob", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "comment" : "", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "cpiPatient.hkid", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.hkid", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "cpiPatient.hkid", + "previousDataType" : "STRING(24)", + "previousFieldName" : "cpiPatient.hkid", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "comment" : "", + "data_type" : "ARRAY", + "default_value" : null, + "field_name" : "cpiPatient.hospitalData", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.hospitalData", + "is_auto_allowed" : true, + "is_deleted" : false, + "originalDataType" : "ARRAY", + "original_field_name" : "cpiPatient.hospitalData", + "previousDataType" : "ARRAY", + "previousFieldName" : "cpiPatient.hospitalData", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"type\":2}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "comment" : "", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "cpiPatient.hospitalData.hospCode", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.hospitalData.hospCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "cpiPatient.hospitalData.hospCode", + "previousDataType" : "STRING(6)", + "previousFieldName" : "cpiPatient.hospitalData.hospCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "comment" : "", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "cpiPatient.hospitalData.mrn", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.hospitalData.mrn", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "cpiPatient.hospitalData.mrn", + "previousDataType" : "STRING(16)", + "previousFieldName" : "cpiPatient.hospitalData.mrn", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "comment" : "", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "cpiPatient.hospitalData.patientKey", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.hospitalData.patientKey", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "cpiPatient.hospitalData.patientKey", + "previousDataType" : "STRING(16)", + "previousFieldName" : "cpiPatient.hospitalData.patientKey", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "comment" : "", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "cpiPatient.patientKey", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.patientKey", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "cpiPatient.patientKey", + "previousDataType" : "STRING(16)", + "previousFieldName" : "cpiPatient.patientKey", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "comment" : "", + "data_type" : "STRING(96)", + "default_value" : null, + "field_name" : "cpiPatient.patientName", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.patientName", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(96)", + "original_field_name" : "cpiPatient.patientName", + "previousDataType" : "STRING(96)", + "previousFieldName" : "cpiPatient.patientName", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":96,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "comment" : "", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "cpiPatient.sex", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.sex", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "cpiPatient.sex", + "previousDataType" : "STRING(2)", + "previousFieldName" : "cpiPatient.sex", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "comment" : "", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "dischargeCode", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_dischargeCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "dischargeCode", + "previousDataType" : "STRING(2)", + "previousFieldName" : "dischargeCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "comment" : "", + "data_type" : "ARRAY", + "default_value" : null, + "field_name" : "dischargeInformation", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_dischargeInformation", + "is_auto_allowed" : true, + "is_deleted" : false, + "originalDataType" : "ARRAY", + "original_field_name" : "dischargeInformation", + "previousDataType" : "ARRAY", + "previousFieldName" : "dischargeInformation", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"type\":2}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "comment" : "", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "dischargeInformation.caseNum", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_dischargeInformation.caseNum", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "dischargeInformation.caseNum", + "previousDataType" : "STRING(24)", + "previousFieldName" : "dischargeInformation.caseNum", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "comment" : "", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "dischargeInformation.createDate", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_dischargeInformation.createDate", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "dischargeInformation.createDate", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "dischargeInformation.createDate", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "comment" : "", + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "dischargeInformation.dischargeTeam", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_dischargeInformation.dischargeTeam", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "dischargeInformation.dischargeTeam", + "previousDataType" : "STRING(5)", + "previousFieldName" : "dischargeInformation.dischargeTeam", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "comment" : "", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "dischargeInformation.hospCode", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_dischargeInformation.hospCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "dischargeInformation.hospCode", + "previousDataType" : "STRING(6)", + "previousFieldName" : "dischargeInformation.hospCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "comment" : "", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "dischargeInformation.moInChargeId", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_dischargeInformation.moInChargeId", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "dischargeInformation.moInChargeId", + "previousDataType" : "STRING(12)", + "previousFieldName" : "dischargeInformation.moInChargeId", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "comment" : "", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "dischargeInformation.specialistIc", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_dischargeInformation.specialistIc", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "dischargeInformation.specialistIc", + "previousDataType" : "STRING(12)", + "previousFieldName" : "dischargeInformation.specialistIc", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "comment" : "", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "dischargeInformation.specialty", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_dischargeInformation.specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(8)", + "original_field_name" : "dischargeInformation.specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "dischargeInformation.specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "comment" : "", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospCode", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_hospCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospCode", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "comment" : "", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "lastBedNum", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_lastBedNum", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "lastBedNum", + "previousDataType" : "STRING(10)", + "previousFieldName" : "lastBedNum", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "comment" : "", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "lastSpecialty", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_lastSpecialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "lastSpecialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "lastSpecialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "comment" : "", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "lastWardClass", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_lastWardClass", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "lastWardClass", + "previousDataType" : "STRING(2)", + "previousFieldName" : "lastWardClass", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "comment" : "", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "lastWardCode", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_lastWardCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "lastWardCode", + "previousDataType" : "STRING(8)", + "previousFieldName" : "lastWardCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "comment" : "", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "patientKey", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_patientKey", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "patientKey", + "previousDataType" : "STRING(16)", + "previousFieldName" : "patientKey", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "comment" : "", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "sourceCode", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_sourceCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(6)", + "original_field_name" : "sourceCode", + "previousDataType" : "STRING(6)", + "previousFieldName" : "sourceCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "comment" : "", + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "statusCode", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_statusCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(4)", + "original_field_name" : "statusCode", + "previousDataType" : "STRING(4)", + "previousFieldName" : "statusCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "id" : "69cb8b86bda877370a5f03f6", + "limit" : 0, + "listtags" : [ { + "id" : "69cb8b03bda877370a5f0351", + "value" : "cpi case" + } ], + "name" : "cpi case v1", + "pathAccessMethod" : "customize", + "pathSetting" : [ { + "method" : "POST", + "path" : "find", + "type" : "DEFAULT_POST" + }, { + "method" : "GET", + "path" : "", + "type" : "DEFAULT_GET" + } ], + "paths" : [ { + "acl" : [ "admin" ], + "customWhere" : "", + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa171731395e_MDM_cpi_case__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "admissionDtm", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_admissionDtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "admissionDtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "admissionDtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "caseNo", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_caseNo", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "caseNo", + "previousDataType" : "STRING(24)", + "previousFieldName" : "caseNo", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "caseType", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_caseType", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "caseType", + "previousDataType" : "STRING(2)", + "previousFieldName" : "caseType", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "DOCUMENT", + "default_value" : null, + "field_name" : "cpiPatient", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient", + "is_auto_allowed" : true, + "is_deleted" : false, + "originalDataType" : "DOCUMENT", + "original_field_name" : "cpiPatient", + "previousDataType" : "DOCUMENT", + "previousFieldName" : "cpiPatient", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"type\":4}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 0, + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "cpiPatient._id", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient._id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "cpiPatient._id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "cpiPatient._id", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 33, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "cpiPatient.accessCode", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.accessCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "cpiPatient.accessCode", + "previousDataType" : "INT32", + "previousFieldName" : "cpiPatient.accessCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "cpiPatient.chiName", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.chiName", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(24)", + "original_field_name" : "cpiPatient.chiName", + "previousDataType" : "STRING(24)", + "previousFieldName" : "cpiPatient.chiName", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 30, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "cpiPatient.deathDate", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.deathDate", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "cpiPatient.deathDate", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "cpiPatient.deathDate", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 29, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "cpiPatient.deathIndicator", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.deathIndicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "cpiPatient.deathIndicator", + "previousDataType" : "STRING(2)", + "previousFieldName" : "cpiPatient.deathIndicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "cpiPatient.dob", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.dob", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "cpiPatient.dob", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "cpiPatient.dob", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "cpiPatient.hkid", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.hkid", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "cpiPatient.hkid", + "previousDataType" : "STRING(24)", + "previousFieldName" : "cpiPatient.hkid", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "ARRAY", + "default_value" : null, + "field_name" : "cpiPatient.hospitalData", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.hospitalData", + "is_auto_allowed" : true, + "is_deleted" : false, + "originalDataType" : "ARRAY", + "original_field_name" : "cpiPatient.hospitalData", + "previousDataType" : "ARRAY", + "previousFieldName" : "cpiPatient.hospitalData", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"type\":2}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "cpiPatient.hospitalData.hospCode", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.hospitalData.hospCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "cpiPatient.hospitalData.hospCode", + "previousDataType" : "STRING(6)", + "previousFieldName" : "cpiPatient.hospitalData.hospCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "cpiPatient.hospitalData.mrn", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.hospitalData.mrn", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "cpiPatient.hospitalData.mrn", + "previousDataType" : "STRING(16)", + "previousFieldName" : "cpiPatient.hospitalData.mrn", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "cpiPatient.hospitalData.patientKey", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.hospitalData.patientKey", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "cpiPatient.hospitalData.patientKey", + "previousDataType" : "STRING(16)", + "previousFieldName" : "cpiPatient.hospitalData.patientKey", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "cpiPatient.patientKey", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.patientKey", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "cpiPatient.patientKey", + "previousDataType" : "STRING(16)", + "previousFieldName" : "cpiPatient.patientKey", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "data_type" : "STRING(96)", + "default_value" : null, + "field_name" : "cpiPatient.patientName", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.patientName", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(96)", + "original_field_name" : "cpiPatient.patientName", + "previousDataType" : "STRING(96)", + "previousFieldName" : "cpiPatient.patientName", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":96,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "cpiPatient.sex", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.sex", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "cpiPatient.sex", + "previousDataType" : "STRING(2)", + "previousFieldName" : "cpiPatient.sex", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "dischargeCode", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_dischargeCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "dischargeCode", + "previousDataType" : "STRING(2)", + "previousFieldName" : "dischargeCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "ARRAY", + "default_value" : null, + "field_name" : "dischargeInformation", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_dischargeInformation", + "is_auto_allowed" : true, + "is_deleted" : false, + "originalDataType" : "ARRAY", + "original_field_name" : "dischargeInformation", + "previousDataType" : "ARRAY", + "previousFieldName" : "dischargeInformation", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"type\":2}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "dischargeInformation.caseNum", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_dischargeInformation.caseNum", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "dischargeInformation.caseNum", + "previousDataType" : "STRING(24)", + "previousFieldName" : "dischargeInformation.caseNum", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "dischargeInformation.createDate", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_dischargeInformation.createDate", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "dischargeInformation.createDate", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "dischargeInformation.createDate", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "dischargeInformation.dischargeTeam", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_dischargeInformation.dischargeTeam", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "dischargeInformation.dischargeTeam", + "previousDataType" : "STRING(5)", + "previousFieldName" : "dischargeInformation.dischargeTeam", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "dischargeInformation.hospCode", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_dischargeInformation.hospCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "dischargeInformation.hospCode", + "previousDataType" : "STRING(6)", + "previousFieldName" : "dischargeInformation.hospCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "dischargeInformation.moInChargeId", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_dischargeInformation.moInChargeId", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "dischargeInformation.moInChargeId", + "previousDataType" : "STRING(12)", + "previousFieldName" : "dischargeInformation.moInChargeId", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "dischargeInformation.specialistIc", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_dischargeInformation.specialistIc", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "dischargeInformation.specialistIc", + "previousDataType" : "STRING(12)", + "previousFieldName" : "dischargeInformation.specialistIc", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "dischargeInformation.specialty", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_dischargeInformation.specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(8)", + "original_field_name" : "dischargeInformation.specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "dischargeInformation.specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospCode", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_hospCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospCode", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "lastBedNum", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_lastBedNum", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "lastBedNum", + "previousDataType" : "STRING(10)", + "previousFieldName" : "lastBedNum", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "patientKey", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_patientKey", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "patientKey", + "previousDataType" : "STRING(16)", + "previousFieldName" : "patientKey", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "sourceCode", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_sourceCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(6)", + "original_field_name" : "sourceCode", + "previousDataType" : "STRING(6)", + "previousFieldName" : "sourceCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "statusCode", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_statusCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(4)", + "original_field_name" : "statusCode", + "previousDataType" : "STRING(4)", + "previousFieldName" : "statusCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "fullCustomQuery" : false, + "name" : "customerQuery", + "params" : [ { + "defaultvalue" : "1", + "description" : "分页编号", + "name" : "page", + "required" : false, + "type" : "number" + }, { + "defaultvalue" : "20", + "description" : "每个分页返回的记录数", + "name" : "limit", + "required" : false, + "type" : "number" + }, { + "defaultvalue" : "", + "description" : "过滤字段", + "name" : "fields", + "required" : false, + "type" : "array: string" + }, { + "defaultvalue" : "", + "description" : "", + "name" : "hospCode", + "required" : false, + "type" : "string" + }, { + "defaultvalue" : "", + "description" : "", + "name" : "caseType", + "required" : false, + "type" : "array: string" + }, { + "defaultvalue" : "", + "description" : "", + "name" : "statusCode", + "required" : false, + "type" : "string" + }, { + "defaultvalue" : "", + "description" : "", + "name" : "caseNum", + "required" : false, + "type" : "string" + } ], + "result" : "Page", + "sort" : [ ], + "type" : "customerQuery", + "where" : [ { + "condition" : "and", + "fieldName" : "hospCode", + "operator" : "==", + "parameter" : "hospCode" + }, { + "condition" : "and", + "fieldName" : "caseType", + "operator" : "in", + "parameter" : "caseType" + }, { + "condition" : "and", + "fieldName" : "statusCode", + "operator" : "==", + "parameter" : "statusCode" + }, { + "condition" : "and", + "fieldName" : "caseNo", + "operator" : "==", + "parameter" : "caseNum" + } ] + } ], + "prefix" : "cpi_case", + "readConcern" : "", + "readPreference" : "", + "tableName" : "MDM_cpi_case", + "user_id" : "69c6449cb9dbbccec453fb5f" + } +} ] \ No newline at end of file diff --git a/case-team_tapdata_export/Connection/FDM_Connection_Config.json b/case-team_tapdata_export/Connection/FDM_Connection_Config.json new file mode 100644 index 0000000..63eb1de --- /dev/null +++ b/case-team_tapdata_export/Connection/FDM_Connection_Config.json @@ -0,0 +1,222 @@ +[ { + "collectionName" : "Connections", + "json" : { + "accessNodeProcessId" : "", + "accessNodeProcessIdList" : [ ], + "accessNodeType" : "AUTOMATIC_PLATFORM_ALLOCATION", + "agentTags" : [ ], + "capabilities" : [ { + "id" : "source_incremental_update_event_have_before", + "type" : 20 + }, { + "id" : "execute_command_function", + "type" : 11 + }, { + "id" : "batch_read_function", + "type" : 11 + }, { + "id" : "stream_read_function", + "type" : 11 + }, { + "id" : "batch_count_function", + "type" : 11 + }, { + "id" : "timestamp_to_stream_offset_function", + "type" : 11 + }, { + "id" : "write_record_function", + "type" : 11 + }, { + "id" : "query_by_advance_filter_function", + "type" : 11 + }, { + "id" : "create_table_v2_function", + "type" : 11 + }, { + "id" : "drop_table_function", + "type" : 11 + }, { + "id" : "create_index_function", + "type" : 11 + }, { + "id" : "query_indexes_function", + "type" : 11 + }, { + "id" : "count_by_partition_filter_function", + "type" : 11 + }, { + "id" : "get_read_partitions_function", + "type" : 11 + }, { + "id" : "query_field_min_max_value_function", + "type" : 11 + }, { + "id" : "transaction_begin_function", + "type" : 11 + }, { + "id" : "transaction_commit_function", + "type" : 11 + }, { + "id" : "transaction_rollback_function", + "type" : 11 + }, { + "id" : "get_table_info_function", + "type" : 11 + }, { + "id" : "get_table_names_function", + "type" : 11 + }, { + "id" : "error_handle_function", + "type" : 11 + }, { + "id" : "master_slave_merge", + "type" : 20 + }, { + "id" : "dynamic_schema", + "type" : 20 + }, { + "alternatives" : [ "update_on_exists", "ignore_on_exists", "just_insert" ], + "id" : "dml_insert_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_on_nonexists", "insert_on_nonexists", "log_on_nonexists" ], + "id" : "dml_update_policy", + "type" : 20 + }, { + "id" : "api_server_supported", + "type" : 20 + }, { + "id" : "source_support_exactly_once", + "type" : 20 + } ], + "config" : { + "__connectionType" : "source_and_target", + "id" : "695497a235a6fa1717313957", + "isUri" : true, + "mongodbLoadSchemaSampleSize" : 1000, + "schemaLimit" : 1024, + "ssl" : false + }, + "connection_type" : "source_and_target", + "createAt" : 1768803675243, + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "definitionBuildNumber" : "null", + "definitionGroup" : "io.tapdata", + "definitionPdkAPIVersion" : "2.0.6-SNAPSHOT", + "definitionPdkId" : "mongodb", + "definitionScope" : "public", + "definitionTags" : [ "schema-free", "Database", "doubleActive" ], + "definitionVersion" : "1.0-SNAPSHOT", + "everLoadSchema" : true, + "heartbeatEnable" : false, + "id" : "695497a235a6fa1717313957", + "isInit" : false, + "kafkaAcks" : "-1", + "kafkaBatchSize" : 0, + "kafkaBufferMemory" : 0, + "kafkaCompressionType" : "", + "kafkaConsumerRequestTimeout" : 0, + "kafkaConsumerUseTransactional" : false, + "kafkaDeliveryTimeoutMS" : 0, + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "kafkaLingerMS" : 0, + "kafkaMaxBlockMS" : 0, + "kafkaMaxFetchBytes" : 0, + "kafkaMaxFetchWaitMS" : 0, + "kafkaMaxPollRecords" : 0, + "kafkaMaxRequestSize" : 0, + "kafkaPartitionKey" : "", + "kafkaPollTimeoutMS" : 0, + "kafkaProducerRequestTimeout" : 0, + "kafkaProducerUseTransactional" : false, + "kafkaRetries" : 0, + "lastUpdAt" : 1768803675243, + "listtags" : [ { + "id" : "69b90ba98dd517882461f4ec", + "value" : "dmp" + } ], + "loadAllTables" : true, + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "name" : "FDM", + "openTableExcludeFilter" : false, + "pdkHash" : "4335aaa005ec1a74a4e2166bded2962e939ad50239f48b023b884f35b54129a5", + "pdkType" : "pdk", + "permissions" : [ { + "actions" : [ "View" ], + "type" : "Role", + "typeId" : "69c623071f850faa41527910" + }, { + "actions" : [ "View" ], + "type" : "Role", + "typeId" : "69c622ff1f850faa41527872" + } ], + "plain_password" : "", + "project" : "", + "response_body" : { + "retry" : 0, + "validate_details" : [ { + "fail_message" : "2.0.6-SNAPSHOT (build: 2026-03-12 15:42:22)", + "required" : true, + "show_msg" : "PDK Connector version", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "[127.0.0.1:27017]", + "required" : true, + "show_msg" : "Check host port is valid", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "login succeed!", + "required" : true, + "show_msg" : "Connection", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "MongoDB version: 8.0.9", + "required" : true, + "show_msg" : "Version", + "sort" : 0, + "status" : "passed" + }, { + "required" : true, + "show_msg" : "Write", + "sort" : 0, + "status" : "passed" + }, { + "required" : true, + "show_msg" : "Read", + "sort" : 0, + "status" : "passed" + }, { + "required" : true, + "show_msg" : "Read log", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "Not found any schema", + "required" : false, + "show_msg" : "Load Schema", + "sort" : 99, + "stage_code" : "LOAD_SCHEMA", + "status" : "failed" + } ] + }, + "schema" : { }, + "schemaUpdateHour" : "default", + "schemaVersion" : "5f5212c0-2fb9-4281-8ecb-72d883bd32b3", + "shareCDCExternalStorageId" : "", + "shareCdcEnable" : false, + "submit" : true, + "tableCount" : 0, + "testCount" : 0, + "timeDifference" : 0, + "user_id" : "62bc5008d4958d013d97c7a6" + } +} ] \ No newline at end of file diff --git a/case-team_tapdata_export/Connection/FDM_Connection_Metadata.json b/case-team_tapdata_export/Connection/FDM_Connection_Metadata.json new file mode 100644 index 0000000..80693c4 --- /dev/null +++ b/case-team_tapdata_export/Connection/FDM_Connection_Metadata.json @@ -0,0 +1,15171 @@ +[ { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "FDM", + "createTime" : 1768803676019, + "createUser" : "admin@admin.com", + "dev_version" : 1, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69549862aedd5fe4733b3966", + "is_deleted" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "meta_type" : "database", + "original_name" : "FDM", + "qualified_name" : "CONN_mongodb_io_tapdata_1_0-SNAPSHOT_695497a235a6fa1717313957", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "loading", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "5f5212c0-2fb9-4281-8ecb-72d883bd32b3", + "status" : "ready", + "submit" : true, + "tableCount" : 7, + "testTime" : 1774504239647, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "SOURCE", + "user_id" : "62bc5008d4958d013d97c7a6", + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "discharge_information", + "comment" : "", + "constraints" : [ ], + "createSource" : "job_analyze", + "createTime" : 1774504806563, + "databaseId" : "69549862aedd5fe4733b3966", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "columnSize" : 100, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "27120ff0-8b19-4220-b9a2-5805d99e3333_FDM_CMSIP_discharge_information__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "oriPrecision" : 100, + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "table_name" : "FDM_CMSIP_discharge_information", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(3)", + "data_type" : "STRING(3)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "6967136b35bb3bfc3cf38fab_discharge_information_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character(3)", + "original_field_name" : "hospital_code", + "previousDataType" : "character(3)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":3,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "case_no", + "id" : "6967136b35bb3bfc3cf38fab_discharge_information_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character(12)", + "original_field_name" : "case_no", + "previousDataType" : "character(12)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(4)", + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "specialty", + "id" : "6967136b35bb3bfc3cf38fab_discharge_information_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character(4)", + "original_field_name" : "specialty", + "previousDataType" : "character(4)", + "previousFieldName" : "specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "ho_id", + "id" : "6967136b35bb3bfc3cf38fab_discharge_information_ho_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "ho_id", + "previousDataType" : "character varying(12)", + "previousFieldName" : "ho_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "mo_in_charge_id", + "id" : "6967136b35bb3bfc3cf38fab_discharge_information_mo_in_charge_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(12)", + "original_field_name" : "mo_in_charge_id", + "previousDataType" : "character varying(12)", + "previousFieldName" : "mo_in_charge_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "create_by", + "id" : "6967136b35bb3bfc3cf38fab_discharge_information_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(12)", + "original_field_name" : "create_by", + "previousDataType" : "character varying(12)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "6967136b35bb3bfc3cf38fab_discharge_information_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "create_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "update_by", + "id" : "6967136b35bb3bfc3cf38fab_discharge_information_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "update_by", + "previousDataType" : "character varying(12)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "6967136b35bb3bfc3cf38fab_discharge_information_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "update_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "specialist_ic", + "id" : "6967136b35bb3bfc3cf38fab_discharge_information_specialist_ic", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(12)", + "original_field_name" : "specialist_ic", + "previousDataType" : "character varying(12)", + "previousFieldName" : "specialist_ic", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "admit_mode", + "id" : "6967136b35bb3bfc3cf38fab_discharge_information_admit_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "integer", + "original_field_name" : "admit_mode", + "previousDataType" : "integer", + "previousFieldName" : "admit_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "STRING(5)", + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "admit_team", + "id" : "6967136b35bb3bfc3cf38fab_discharge_information_admit_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(5)", + "original_field_name" : "admit_team", + "previousDataType" : "character(5)", + "previousFieldName" : "admit_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "admit_physician", + "id" : "6967136b35bb3bfc3cf38fab_discharge_information_admit_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "admit_physician", + "previousDataType" : "character varying(12)", + "previousFieldName" : "admit_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "admit_doctor", + "id" : "6967136b35bb3bfc3cf38fab_discharge_information_admit_doctor", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "admit_doctor", + "previousDataType" : "character varying(12)", + "previousFieldName" : "admit_doctor", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "expected_discharge_date", + "id" : "6967136b35bb3bfc3cf38fab_discharge_information_expected_discharge_date", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "expected_discharge_date", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "expected_discharge_date", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "createSource" : "auto", + "dataTypeTemp" : "STRING(1)", + "data_type" : "STRING(1)", + "default_value" : null, + "field_name" : "discharge_mode", + "id" : "6967136b35bb3bfc3cf38fab_discharge_information_discharge_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(1)", + "original_field_name" : "discharge_mode", + "previousDataType" : "character(1)", + "previousFieldName" : "discharge_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":1,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "createSource" : "auto", + "dataTypeTemp" : "STRING(5)", + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "discharge_destination", + "id" : "6967136b35bb3bfc3cf38fab_discharge_information_discharge_destination", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(5)", + "original_field_name" : "discharge_destination", + "previousDataType" : "character(5)", + "previousFieldName" : "discharge_destination", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "createSource" : "auto", + "dataTypeTemp" : "STRING(5)", + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "discharge_team", + "id" : "6967136b35bb3bfc3cf38fab_discharge_information_discharge_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(5)", + "original_field_name" : "discharge_team", + "previousDataType" : "character(5)", + "previousFieldName" : "discharge_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "discharge_physician", + "id" : "6967136b35bb3bfc3cf38fab_discharge_information_discharge_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "discharge_physician", + "previousDataType" : "character varying(12)", + "previousFieldName" : "discharge_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "createSource" : "auto", + "dataTypeTemp" : "BINARY", + "data_type" : "BINARY", + "default_value" : null, + "field_name" : "timestamp", + "id" : "6967136b35bb3bfc3cf38fab_discharge_information_timestamp", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "bytea", + "original_field_name" : "timestamp", + "previousDataType" : "bytea", + "previousFieldName" : "timestamp", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "bytea", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16777215,\"type\":9}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "sick_leave_from_dtm", + "id" : "6967136b35bb3bfc3cf38fab_discharge_information_sick_leave_from_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "sick_leave_from_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "sick_leave_from_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "sick_leave_to_dtm", + "id" : "6967136b35bb3bfc3cf38fab_discharge_information_sick_leave_to_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "sick_leave_to_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "sick_leave_to_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { + "admit_doctor" : { + "dataTypes" : [ "NULL", "STRING(12)" ], + "lastMatchedDataType" : "STRING(12)" + }, + "admit_mode" : { + "dataTypes" : [ "DECIMAL128", "DOUBLE", "INT64", "INT32" ], + "lastMatchedDataType" : "DOUBLE" + }, + "admit_physician" : { + "dataTypes" : [ "NULL", "STRING(12)" ], + "lastMatchedDataType" : "STRING(12)" + }, + "admit_team" : { + "dataTypes" : [ "NULL", "STRING(5)" ] + }, + "case_no" : { + "dataTypes" : [ "NULL", "STRING(12)" ] + }, + "create_by" : { + "dataTypes" : [ "NULL", "STRING(12)" ], + "lastMatchedDataType" : "STRING(12)" + }, + "create_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "discharge_destination" : { + "dataTypes" : [ "NULL", "STRING(5)" ] + }, + "discharge_mode" : { + "dataTypes" : [ "NULL", "STRING(1)" ] + }, + "discharge_physician" : { + "dataTypes" : [ "NULL", "STRING(12)" ], + "lastMatchedDataType" : "STRING(12)" + }, + "discharge_team" : { + "dataTypes" : [ "NULL", "STRING(5)" ] + }, + "expected_discharge_date" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "ho_id" : { + "dataTypes" : [ "NULL", "STRING(12)" ], + "lastMatchedDataType" : "STRING(12)" + }, + "hospital_code" : { + "dataTypes" : [ "NULL", "STRING(3)" ] + }, + "mo_in_charge_id" : { + "dataTypes" : [ "NULL", "STRING(12)" ], + "lastMatchedDataType" : "STRING(12)" + }, + "sick_leave_from_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "sick_leave_to_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "specialist_ic" : { + "dataTypes" : [ "NULL", "STRING(12)" ], + "lastMatchedDataType" : "STRING(12)" + }, + "specialty" : { + "dataTypes" : [ "NULL", "STRING(4)" ] + }, + "timestamp" : { + "dataTypes" : [ "BINARY" ] + }, + "update_by" : { + "dataTypes" : [ "NULL", "STRING(12)" ], + "lastMatchedDataType" : "STRING(12)" + }, + "update_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + } + }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69c4cb66a6fb9b4275d909e0", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "discharge_information_case_hospital_idx", + "primaryKey" : "false", + "unique" : true + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "mo_in_charge_id", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "discharge_information_mo_idx", + "primaryKey" : "false", + "unique" : false + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "specialist_ic", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "discharge_information_specialist_ic_idx", + "primaryKey" : "false", + "unique" : false + } ], + "is_deleted" : false, + "listtags" : [ { + "id" : "696edd031a2a38312f712630", + "value" : "CMS" + } ], + "meta_type" : "table", + "name" : "FDM_CMSIP_discharge_information", + "original_name" : "FDM_CMSIP_discharge_information", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_FDM_CMSIP_discharge_information_695497a235a6fa1717313957", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "4.4.23", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 96, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "8b3dec60-f765-45b0-84ef-86276d64af9a", + "status" : "ready", + "submit" : true, + "tableCount" : 96, + "testTime" : 1768413601145, + "transformed" : true + }, + "sourceType" : "SOURCE", + "transformUuid" : "1768362907332", + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "address_detail", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774504806201, + "databaseId" : "69549862aedd5fe4733b3966", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "columnSize" : 100, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_address_detail__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "oriPrecision" : 100, + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "table_name" : "FDM_HKPMI_address_detail", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "record_id", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_address_detail_record_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "integer", + "original_field_name" : "record_id", + "previousDataType" : "integer", + "previousFieldName" : "record_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(100)", + "data_type" : "STRING(100)", + "default_value" : null, + "field_name" : "bldg_chi", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_address_detail_bldg_chi", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(100)", + "original_field_name" : "bldg_chi", + "previousDataType" : "character varying(100)", + "previousFieldName" : "bldg_chi", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":100,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(200)", + "data_type" : "STRING(200)", + "default_value" : null, + "field_name" : "bldg_eng", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_address_detail_bldg_eng", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(200)", + "original_field_name" : "bldg_eng", + "previousDataType" : "character varying(200)", + "previousFieldName" : "bldg_eng", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":200,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(80)", + "data_type" : "STRING(80)", + "default_value" : null, + "field_name" : "estate_chi", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_address_detail_estate_chi", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(80)", + "original_field_name" : "estate_chi", + "previousDataType" : "character varying(80)", + "previousFieldName" : "estate_chi", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":80,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "STRING(100)", + "data_type" : "STRING(100)", + "default_value" : null, + "field_name" : "estate_eng", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_address_detail_estate_eng", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(100)", + "original_field_name" : "estate_eng", + "previousDataType" : "character varying(100)", + "previousFieldName" : "estate_eng", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":100,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "house_no", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_address_detail_house_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "house_no", + "previousDataType" : "character varying(10)", + "previousFieldName" : "house_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "STRING(50)", + "data_type" : "STRING(50)", + "default_value" : null, + "field_name" : "street_chi", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_address_detail_street_chi", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(50)", + "original_field_name" : "street_chi", + "previousDataType" : "character varying(50)", + "previousFieldName" : "street_chi", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":50,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "STRING(100)", + "data_type" : "STRING(100)", + "default_value" : null, + "field_name" : "street_eng", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_address_detail_street_eng", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(100)", + "original_field_name" : "street_eng", + "previousDataType" : "character varying(100)", + "previousFieldName" : "street_eng", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":100,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "district_code", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_address_detail_district_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(10)", + "original_field_name" : "district_code", + "previousDataType" : "character varying(10)", + "previousFieldName" : "district_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { + "bldg_chi" : { + "dataTypes" : [ "NULL", "STRING(100)" ], + "lastMatchedDataType" : "NULL" + }, + "bldg_eng" : { + "dataTypes" : [ "NULL", "STRING(200)" ], + "lastMatchedDataType" : "NULL" + }, + "district_code" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "NULL" + }, + "estate_chi" : { + "dataTypes" : [ "NULL", "STRING(80)" ], + "lastMatchedDataType" : "NULL" + }, + "estate_eng" : { + "dataTypes" : [ "NULL", "STRING(100)" ], + "lastMatchedDataType" : "NULL" + }, + "house_no" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "NULL" + }, + "record_id" : { + "dataTypes" : [ "DECIMAL128", "DOUBLE", "INT64", "INT32" ], + "lastMatchedDataType" : "DOUBLE" + }, + "street_chi" : { + "dataTypes" : [ "NULL", "STRING(50)" ], + "lastMatchedDataType" : "NULL" + }, + "street_eng" : { + "dataTypes" : [ "NULL", "STRING(100)" ], + "lastMatchedDataType" : "NULL" + } + }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69c4cb66a6fb9b4275d909d8", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "record_id", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "address_detail_idx", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "listtags" : [ { + "id" : "696edd031a2a38312f71262e", + "value" : "HKPMI" + } ], + "meta_type" : "table", + "name" : "FDM_HKPMI_address_detail", + "original_name" : "FDM_HKPMI_address_detail", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_FDM_HKPMI_address_detail_695497a235a6fa1717313957", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "4.4.23", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 96, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "8b3dec60-f765-45b0-84ef-86276d64af9a", + "status" : "ready", + "submit" : true, + "tableCount" : 96, + "testTime" : 1768413601145, + "transformed" : true + }, + "sourceType" : "SOURCE", + "tableAttr" : { + "avgObjSize" : 174, + "capped" : false, + "ns" : "FDM.FDM_HKPMI_address_detail", + "shard" : { }, + "size" : 95122473, + "storageSize" : 19648512 + }, + "transformUuid" : "1773390656301", + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "address_detail2", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774504806201, + "databaseId" : "69549862aedd5fe4733b3966", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "columnSize" : 100, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_address_detail2__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "oriPrecision" : 100, + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "table_name" : "FDM_HKPMI_address_detail2", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "record_id", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_address_detail2_record_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "integer", + "original_field_name" : "record_id", + "previousDataType" : "integer", + "previousFieldName" : "record_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "police_key", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_address_detail2_police_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "integer", + "original_field_name" : "police_key", + "previousDataType" : "integer", + "previousFieldName" : "police_key", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(40)", + "data_type" : "STRING(40)", + "default_value" : null, + "field_name" : "external_key", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_address_detail2_external_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(40)", + "original_field_name" : "external_key", + "previousDataType" : "character varying(40)", + "previousFieldName" : "external_key", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":40,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(38)", + "data_type" : "STRING(38)", + "default_value" : null, + "field_name" : "csu_id", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_address_detail2_csu_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(38)", + "original_field_name" : "csu_id", + "previousDataType" : "character varying(38)", + "previousFieldName" : "csu_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":38,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "geo_x", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_address_detail2_geo_x", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "integer", + "original_field_name" : "geo_x", + "previousDataType" : "integer", + "previousFieldName" : "geo_x", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "geo_y", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_address_detail2_geo_y", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "integer", + "original_field_name" : "geo_y", + "previousDataType" : "integer", + "previousFieldName" : "geo_y", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "STRING(20)", + "data_type" : "STRING(20)", + "default_value" : null, + "field_name" : "category", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_address_detail2_category", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(20)", + "original_field_name" : "category", + "previousDataType" : "character varying(20)", + "previousFieldName" : "category", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":20,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { + "category" : { + "dataTypes" : [ "NULL", "STRING(20)" ], + "lastMatchedDataType" : "NULL" + }, + "csu_id" : { + "dataTypes" : [ "NULL", "STRING(38)" ], + "lastMatchedDataType" : "NULL" + }, + "external_key" : { + "dataTypes" : [ "NULL", "STRING(40)" ], + "lastMatchedDataType" : "NULL" + }, + "geo_x" : { + "dataTypes" : [ "DECIMAL128", "DOUBLE", "INT64", "INT32" ], + "lastMatchedDataType" : "DOUBLE" + }, + "geo_y" : { + "dataTypes" : [ "DECIMAL128", "DOUBLE", "INT64", "INT32" ], + "lastMatchedDataType" : "DOUBLE" + }, + "police_key" : { + "dataTypes" : [ "DECIMAL128", "DOUBLE", "INT64", "INT32" ], + "lastMatchedDataType" : "DOUBLE" + }, + "record_id" : { + "dataTypes" : [ "DECIMAL128", "DOUBLE", "INT64", "INT32" ], + "lastMatchedDataType" : "DOUBLE" + } + }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69c4cb66a6fb9b4275d909da", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "record_id", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "address_detail2_idx", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "listtags" : [ { + "id" : "696edd031a2a38312f71262e", + "value" : "HKPMI" + } ], + "meta_type" : "table", + "name" : "FDM_HKPMI_address_detail2", + "original_name" : "FDM_HKPMI_address_detail2", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_FDM_HKPMI_address_detail2_695497a235a6fa1717313957", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "4.4.23", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 96, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "8b3dec60-f765-45b0-84ef-86276d64af9a", + "status" : "ready", + "submit" : true, + "tableCount" : 96, + "testTime" : 1768413601145, + "transformed" : true + }, + "sourceType" : "SOURCE", + "tableAttr" : { + "avgObjSize" : 129, + "capped" : false, + "ns" : "FDM.FDM_HKPMI_address_detail2", + "shard" : { }, + "size" : 70608720, + "storageSize" : 22552576 + }, + "transformUuid" : "1773390656301", + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "district", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774504806201, + "databaseId" : "69549862aedd5fe4733b3966", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "columnSize" : 100, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_district__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "oriPrecision" : 100, + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "table_name" : "FDM_HKPMI_district", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "district_code", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_district_district_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(10)", + "original_field_name" : "district_code", + "previousDataType" : "character varying(10)", + "previousFieldName" : "district_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(30)", + "data_type" : "STRING(30)", + "default_value" : null, + "field_name" : "district_name", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_district_district_name", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(30)", + "original_field_name" : "district_name", + "previousDataType" : "character varying(30)", + "previousFieldName" : "district_name", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":30,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(30)", + "data_type" : "STRING(30)", + "default_value" : null, + "field_name" : "district_board", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_district_district_board", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(30)", + "original_field_name" : "district_board", + "previousDataType" : "character varying(30)", + "previousFieldName" : "district_board", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":30,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "district_area", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_district_district_area", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "district_area", + "previousDataType" : "character varying(2)", + "previousFieldName" : "district_area", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "STRING(60)", + "data_type" : "STRING(60)", + "default_value" : null, + "field_name" : "district_chi", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_district_district_chi", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(60)", + "original_field_name" : "district_chi", + "previousDataType" : "character varying(60)", + "previousFieldName" : "district_chi", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":60,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "STRING(60)", + "data_type" : "STRING(60)", + "default_value" : null, + "field_name" : "district_board_chi", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_district_district_board_chi", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(60)", + "original_field_name" : "district_board_chi", + "previousDataType" : "character varying(60)", + "previousFieldName" : "district_board_chi", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":60,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { + "district_area" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "NULL" + }, + "district_board" : { + "dataTypes" : [ "NULL", "STRING(30)" ], + "lastMatchedDataType" : "NULL" + }, + "district_board_chi" : { + "dataTypes" : [ "NULL", "STRING(60)" ], + "lastMatchedDataType" : "NULL" + }, + "district_chi" : { + "dataTypes" : [ "NULL", "STRING(60)" ], + "lastMatchedDataType" : "NULL" + }, + "district_code" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "NULL" + }, + "district_name" : { + "dataTypes" : [ "NULL", "STRING(30)" ], + "lastMatchedDataType" : "NULL" + } + }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69c4cb66a6fb9b4275d909d9", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "district_code", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "XPKdistrict", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "listtags" : [ { + "id" : "696edd031a2a38312f71262e", + "value" : "HKPMI" + } ], + "meta_type" : "table", + "name" : "FDM_HKPMI_district", + "original_name" : "FDM_HKPMI_district", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_FDM_HKPMI_district_695497a235a6fa1717313957", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "4.4.23", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 96, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "8b3dec60-f765-45b0-84ef-86276d64af9a", + "status" : "ready", + "submit" : true, + "tableCount" : 96, + "testTime" : 1768413601145, + "transformed" : true + }, + "sourceType" : "SOURCE", + "tableAttr" : { + "avgObjSize" : 144, + "capped" : false, + "ns" : "FDM.FDM_HKPMI_district", + "shard" : { }, + "size" : 2174, + "storageSize" : 20480 + }, + "transformUuid" : "1773390656301", + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "district_area", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774504806199, + "databaseId" : "69549862aedd5fe4733b3966", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "columnSize" : 100, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_district_area__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "oriPrecision" : 100, + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "table_name" : "FDM_HKPMI_district_area", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "area_code", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_district_area_area_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(2)", + "original_field_name" : "area_code", + "previousDataType" : "character varying(2)", + "previousFieldName" : "area_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(100)", + "data_type" : "STRING(100)", + "default_value" : null, + "field_name" : "area_name", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_district_area_area_name", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(100)", + "original_field_name" : "area_name", + "previousDataType" : "character varying(100)", + "previousFieldName" : "area_name", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":100,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(100)", + "data_type" : "STRING(100)", + "default_value" : null, + "field_name" : "area_chi", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_district_area_area_chi", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(100)", + "original_field_name" : "area_chi", + "previousDataType" : "character varying(100)", + "previousFieldName" : "area_chi", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":100,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { + "area_chi" : { + "dataTypes" : [ "NULL", "STRING(100)" ], + "lastMatchedDataType" : "NULL" + }, + "area_code" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "NULL" + }, + "area_name" : { + "dataTypes" : [ "NULL", "STRING(100)" ], + "lastMatchedDataType" : "NULL" + } + }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69c4cb66a6fb9b4275d909d2", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "area_code", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "district_area_idx", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "listtags" : [ { + "id" : "696edd031a2a38312f71262e", + "value" : "HKPMI" + } ], + "meta_type" : "table", + "name" : "FDM_HKPMI_district_area", + "original_name" : "FDM_HKPMI_district_area", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_FDM_HKPMI_district_area_695497a235a6fa1717313957", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "4.4.23", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 96, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "8b3dec60-f765-45b0-84ef-86276d64af9a", + "status" : "ready", + "submit" : true, + "tableCount" : 96, + "testTime" : 1768413601145, + "transformed" : true + }, + "sourceType" : "SOURCE", + "tableAttr" : { + "avgObjSize" : 86, + "capped" : false, + "ns" : "FDM.FDM_HKPMI_district_area", + "shard" : { }, + "size" : 1720, + "storageSize" : 20480 + }, + "transformUuid" : "1773390656301", + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "document_type", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774504806200, + "databaseId" : "69549862aedd5fe4733b3966", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "columnSize" : 100, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_document_type__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "oriPrecision" : 100, + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "table_name" : "FDM_HKPMI_document_type", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "document_type", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_document_type_document_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(10)", + "original_field_name" : "document_type", + "previousDataType" : "character varying(10)", + "previousFieldName" : "document_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "document_code", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_document_type_document_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(2)", + "original_field_name" : "document_code", + "previousDataType" : "character varying(2)", + "previousFieldName" : "document_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(255)", + "data_type" : "STRING(255)", + "default_value" : null, + "field_name" : "description", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_document_type_description", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(255)", + "original_field_name" : "description", + "previousDataType" : "character varying(255)", + "previousFieldName" : "description", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":255,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(255)", + "data_type" : "STRING(255)", + "default_value" : null, + "field_name" : "chinese_description", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_document_type_chinese_description", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(255)", + "original_field_name" : "chinese_description", + "previousDataType" : "character varying(255)", + "previousFieldName" : "chinese_description", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":255,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "hkid_type", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_document_type_hkid_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "hkid_type", + "previousDataType" : "character varying(2)", + "previousFieldName" : "hkid_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "pay_code", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_document_type_pay_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "integer", + "original_field_name" : "pay_code", + "previousDataType" : "integer", + "previousFieldName" : "pay_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "function_used", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_document_type_function_used", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "function_used", + "previousDataType" : "character varying(2)", + "previousFieldName" : "function_used", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "STRING(255)", + "data_type" : "STRING(255)", + "default_value" : null, + "field_name" : "short_description", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_document_type_short_description", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(255)", + "original_field_name" : "short_description", + "previousDataType" : "character varying(255)", + "previousFieldName" : "short_description", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":255,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { + "chinese_description" : { + "dataTypes" : [ "NULL", "STRING(255)" ], + "lastMatchedDataType" : "NULL" + }, + "description" : { + "dataTypes" : [ "NULL", "STRING(255)" ], + "lastMatchedDataType" : "NULL" + }, + "document_code" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "NULL" + }, + "document_type" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "NULL" + }, + "function_used" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "NULL" + }, + "hkid_type" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "NULL" + }, + "pay_code" : { + "dataTypes" : [ "DECIMAL128", "DOUBLE", "INT64", "INT32" ], + "lastMatchedDataType" : "DOUBLE" + }, + "short_description" : { + "dataTypes" : [ "NULL", "STRING(255)" ], + "lastMatchedDataType" : "NULL" + } + }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69c4cb66a6fb9b4275d909d5", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "document_type", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "document_type_idx", + "primaryKey" : "false", + "unique" : true + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "document_code", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "document_type_idx2", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "listtags" : [ { + "id" : "696edd031a2a38312f71262e", + "value" : "HKPMI" + } ], + "meta_type" : "table", + "name" : "FDM_HKPMI_document_type", + "original_name" : "FDM_HKPMI_document_type", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_FDM_HKPMI_document_type_695497a235a6fa1717313957", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "4.4.23", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 96, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "8b3dec60-f765-45b0-84ef-86276d64af9a", + "status" : "ready", + "submit" : true, + "tableCount" : 96, + "testTime" : 1768413601145, + "transformed" : true + }, + "sourceType" : "SOURCE", + "tableAttr" : { + "avgObjSize" : 217, + "capped" : false, + "ns" : "FDM.FDM_HKPMI_document_type", + "shard" : { }, + "size" : 1307, + "storageSize" : 20480 + }, + "transformUuid" : "1773390656301", + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "elderly_home_table", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774504806200, + "databaseId" : "69549862aedd5fe4733b3966", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "columnSize" : 100, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_elderly_home_table__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "oriPrecision" : 100, + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "table_name" : "FDM_HKPMI_elderly_home_table", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "eh_code", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_elderly_home_table_eh_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(16)", + "original_field_name" : "eh_code", + "previousDataType" : "character varying(16)", + "previousFieldName" : "eh_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(255)", + "data_type" : "STRING(255)", + "default_value" : null, + "field_name" : "eh_name", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_elderly_home_table_eh_name", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(255)", + "original_field_name" : "eh_name", + "previousDataType" : "character varying(255)", + "previousFieldName" : "eh_name", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":255,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(255)", + "data_type" : "STRING(255)", + "default_value" : null, + "field_name" : "eh_chinese_name", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_elderly_home_table_eh_chinese_name", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(255)", + "original_field_name" : "eh_chinese_name", + "previousDataType" : "character varying(255)", + "previousFieldName" : "eh_chinese_name", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":255,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(255)", + "data_type" : "STRING(255)", + "default_value" : null, + "field_name" : "eh_address", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_elderly_home_table_eh_address", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(255)", + "original_field_name" : "eh_address", + "previousDataType" : "character varying(255)", + "previousFieldName" : "eh_address", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":255,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "STRING(94)", + "data_type" : "STRING(94)", + "default_value" : null, + "field_name" : "eh_building", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_elderly_home_table_eh_building", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(94)", + "original_field_name" : "eh_building", + "previousDataType" : "character varying(94)", + "previousFieldName" : "eh_building", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":94,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "eh_room", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_elderly_home_table_eh_room", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "eh_room", + "previousDataType" : "character varying(10)", + "previousFieldName" : "eh_room", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "STRING(4)", + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "eh_floor", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_elderly_home_table_eh_floor", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(4)", + "original_field_name" : "eh_floor", + "previousDataType" : "character varying(4)", + "previousFieldName" : "eh_floor", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "STRING(4)", + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "eh_block", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_elderly_home_table_eh_block", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(4)", + "original_field_name" : "eh_block", + "previousDataType" : "character varying(4)", + "previousFieldName" : "eh_block", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "eh_district_code", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_elderly_home_table_eh_district_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "eh_district_code", + "previousDataType" : "character varying(10)", + "previousFieldName" : "eh_district_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "eh_expiry_date", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_elderly_home_table_eh_expiry_date", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "eh_expiry_date", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "eh_expiry_date", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "STRING(80)", + "data_type" : "STRING(80)", + "default_value" : null, + "field_name" : "eh_district", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_elderly_home_table_eh_district", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(80)", + "original_field_name" : "eh_district", + "previousDataType" : "character varying(80)", + "previousFieldName" : "eh_district", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":80,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "STRING(20)", + "data_type" : "STRING(20)", + "default_value" : null, + "field_name" : "eh_phone", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_elderly_home_table_eh_phone", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(20)", + "original_field_name" : "eh_phone", + "previousDataType" : "character varying(20)", + "previousFieldName" : "eh_phone", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":20,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "eh_address_id", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_elderly_home_table_eh_address_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "integer", + "original_field_name" : "eh_address_id", + "previousDataType" : "integer", + "previousFieldName" : "eh_address_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { + "eh_address" : { + "dataTypes" : [ "NULL", "STRING(255)" ], + "lastMatchedDataType" : "NULL" + }, + "eh_address_id" : { + "dataTypes" : [ "DECIMAL128", "DOUBLE", "INT64", "INT32" ], + "lastMatchedDataType" : "DOUBLE" + }, + "eh_block" : { + "dataTypes" : [ "NULL", "STRING(4)" ], + "lastMatchedDataType" : "NULL" + }, + "eh_building" : { + "dataTypes" : [ "NULL", "STRING(94)" ], + "lastMatchedDataType" : "NULL" + }, + "eh_chinese_name" : { + "dataTypes" : [ "NULL", "STRING(255)" ], + "lastMatchedDataType" : "NULL" + }, + "eh_code" : { + "dataTypes" : [ "NULL", "STRING(16)" ], + "lastMatchedDataType" : "NULL" + }, + "eh_district" : { + "dataTypes" : [ "NULL", "STRING(80)" ], + "lastMatchedDataType" : "NULL" + }, + "eh_district_code" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "NULL" + }, + "eh_expiry_date" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "eh_floor" : { + "dataTypes" : [ "NULL", "STRING(4)" ], + "lastMatchedDataType" : "NULL" + }, + "eh_name" : { + "dataTypes" : [ "NULL", "STRING(255)" ], + "lastMatchedDataType" : "NULL" + }, + "eh_phone" : { + "dataTypes" : [ "NULL", "STRING(20)" ], + "lastMatchedDataType" : "NULL" + }, + "eh_room" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "NULL" + } + }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69c4cb66a6fb9b4275d909d4", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "eh_code", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "elderly_home_idx", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "listtags" : [ { + "id" : "696edd031a2a38312f71262e", + "value" : "HKPMI" + } ], + "meta_type" : "table", + "name" : "FDM_HKPMI_elderly_home_table", + "original_name" : "FDM_HKPMI_elderly_home_table", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_FDM_HKPMI_elderly_home_table_695497a235a6fa1717313957", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "4.4.23", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 96, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "8b3dec60-f765-45b0-84ef-86276d64af9a", + "status" : "ready", + "submit" : true, + "tableCount" : 96, + "testTime" : 1768413601145, + "transformed" : true + }, + "sourceType" : "SOURCE", + "tableAttr" : { + "avgObjSize" : 265, + "capped" : false, + "ns" : "FDM.FDM_HKPMI_elderly_home_table", + "shard" : { }, + "size" : 460099, + "storageSize" : 94208 + }, + "transformUuid" : "1773390656301", + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "hkpmi_patient_info_log", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774504806202, + "databaseId" : "69549862aedd5fe4733b3966", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "columnSize" : 100, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_hkpmi_patient_info_log__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "oriPrecision" : 100, + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "table_name" : "FDM_HKPMI_hkpmi_patient_info_log", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "patient_key", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_hkpmi_patient_info_log_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(16)", + "original_field_name" : "patient_key", + "previousDataType" : "character varying(16)", + "previousFieldName" : "patient_key", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "info_type", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_hkpmi_patient_info_log_info_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(2)", + "original_field_name" : "info_type", + "previousDataType" : "character varying(2)", + "previousFieldName" : "info_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "hkic_symbol", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_hkpmi_patient_info_log_hkic_symbol", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "hkic_symbol", + "previousDataType" : "character varying(2)", + "previousFieldName" : "hkic_symbol", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "old_hkic_symbol", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_hkpmi_patient_info_log_old_hkic_symbol", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "old_hkic_symbol", + "previousDataType" : "character varying(2)", + "previousFieldName" : "old_hkic_symbol", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "doc_code", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_hkpmi_patient_info_log_doc_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "doc_code", + "previousDataType" : "character varying(2)", + "previousFieldName" : "doc_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "STRING(30)", + "data_type" : "STRING(30)", + "default_value" : null, + "field_name" : "doc_no", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_hkpmi_patient_info_log_doc_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(30)", + "original_field_name" : "doc_no", + "previousDataType" : "character varying(30)", + "previousFieldName" : "doc_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":30,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "old_doc_code", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_hkpmi_patient_info_log_old_doc_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "old_doc_code", + "previousDataType" : "character varying(2)", + "previousFieldName" : "old_doc_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "STRING(30)", + "data_type" : "STRING(30)", + "default_value" : null, + "field_name" : "old_doc_no", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_hkpmi_patient_info_log_old_doc_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(30)", + "original_field_name" : "old_doc_no", + "previousDataType" : "character varying(30)", + "previousFieldName" : "old_doc_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":30,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "upd_by", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_hkpmi_patient_info_log_upd_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "upd_by", + "previousDataType" : "character varying(12)", + "previousFieldName" : "upd_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "upd_hosp", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_hkpmi_patient_info_log_upd_hosp", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(6)", + "original_field_name" : "upd_hosp", + "previousDataType" : "character varying(6)", + "previousFieldName" : "upd_hosp", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "upd_sys", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_hkpmi_patient_info_log_upd_sys", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(24)", + "original_field_name" : "upd_sys", + "previousDataType" : "character varying(24)", + "previousFieldName" : "upd_sys", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "upd_dtm", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_hkpmi_patient_info_log_upd_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "upd_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "upd_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { + "doc_code" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "NULL" + }, + "doc_no" : { + "dataTypes" : [ "NULL", "STRING(30)" ], + "lastMatchedDataType" : "NULL" + }, + "hkic_symbol" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "NULL" + }, + "info_type" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "NULL" + }, + "old_doc_code" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "NULL" + }, + "old_doc_no" : { + "dataTypes" : [ "NULL", "STRING(30)" ], + "lastMatchedDataType" : "NULL" + }, + "old_hkic_symbol" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "NULL" + }, + "patient_key" : { + "dataTypes" : [ "NULL", "STRING(16)" ], + "lastMatchedDataType" : "NULL" + }, + "upd_by" : { + "dataTypes" : [ "NULL", "STRING(12)" ], + "lastMatchedDataType" : "NULL" + }, + "upd_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "upd_hosp" : { + "dataTypes" : [ "NULL", "STRING(6)" ], + "lastMatchedDataType" : "NULL" + }, + "upd_sys" : { + "dataTypes" : [ "NULL", "STRING(24)" ], + "lastMatchedDataType" : "NULL" + } + }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69c4cb66a6fb9b4275d909dc", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "patient_key", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "XIE1hkpmi_patient_info_log", + "primaryKey" : "false", + "unique" : false + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "patient_key", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "info_type", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "upd_dtm", + "columnPosition" : 0 + } ], + "coreUnique" : true, + "indexName" : "XPKhkpmi_patient_info_log", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "listtags" : [ { + "id" : "696edd031a2a38312f71262e", + "value" : "HKPMI" + } ], + "meta_type" : "table", + "name" : "FDM_HKPMI_hkpmi_patient_info_log", + "original_name" : "FDM_HKPMI_hkpmi_patient_info_log", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_FDM_HKPMI_hkpmi_patient_info_log_695497a235a6fa1717313957", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "4.4.23", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 96, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "8b3dec60-f765-45b0-84ef-86276d64af9a", + "status" : "ready", + "submit" : true, + "tableCount" : 96, + "testTime" : 1768413601145, + "transformed" : true + }, + "sourceType" : "SOURCE", + "tableAttr" : { + "avgObjSize" : 244, + "capped" : false, + "ns" : "FDM.FDM_HKPMI_hkpmi_patient_info_log", + "shard" : { }, + "size" : 133117445, + "storageSize" : 21413888 + }, + "transformUuid" : "1773390656301", + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "patient", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774504806200, + "databaseId" : "69549862aedd5fe4733b3966", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "columnSize" : 100, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "oriPrecision" : 100, + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "table_name" : "FDM_HKPMI_patient", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "patient_key", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(16)", + "original_field_name" : "patient_key", + "previousDataType" : "character varying(16)", + "previousFieldName" : "patient_key", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "religion", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_religion", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(6)", + "original_field_name" : "religion", + "previousDataType" : "character varying(6)", + "previousFieldName" : "religion", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "hkid", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_hkid", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(24)", + "original_field_name" : "hkid", + "previousDataType" : "character varying(24)", + "previousFieldName" : "hkid", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(96)", + "data_type" : "STRING(96)", + "default_value" : null, + "field_name" : "patient_name", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_patient_name", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(96)", + "original_field_name" : "patient_name", + "previousDataType" : "character varying(96)", + "previousFieldName" : "patient_name", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":96,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "sex", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_sex", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(2)", + "original_field_name" : "sex", + "previousDataType" : "character varying(2)", + "previousFieldName" : "sex", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "cccode1", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_cccode1", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "cccode1", + "previousDataType" : "character varying(10)", + "previousFieldName" : "cccode1", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "cccode2", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_cccode2", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "cccode2", + "previousDataType" : "character varying(10)", + "previousFieldName" : "cccode2", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "cccode3", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_cccode3", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "cccode3", + "previousDataType" : "character varying(10)", + "previousFieldName" : "cccode3", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "cccode4", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_cccode4", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "cccode4", + "previousDataType" : "character varying(10)", + "previousFieldName" : "cccode4", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "cccode5", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_cccode5", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "cccode5", + "previousDataType" : "character varying(10)", + "previousFieldName" : "cccode5", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "cccode6", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_cccode6", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "cccode6", + "previousDataType" : "character varying(10)", + "previousFieldName" : "cccode6", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "chi_name", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_chi_name", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "chi_name", + "previousDataType" : "character varying(12)", + "previousFieldName" : "chi_name", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "dob", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_dob", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "dob", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "dob", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "exact_dob_flag", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_exact_dob_flag", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(2)", + "original_field_name" : "exact_dob_flag", + "previousDataType" : "character varying(2)", + "previousFieldName" : "exact_dob_flag", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "marital_status", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_marital_status", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(2)", + "original_field_name" : "marital_status", + "previousDataType" : "character varying(2)", + "previousFieldName" : "marital_status", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "createSource" : "auto", + "dataTypeTemp" : "STRING(4)", + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "race", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_race", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(4)", + "original_field_name" : "race", + "previousDataType" : "character varying(4)", + "previousFieldName" : "race", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "other_doc_no", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_other_doc_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(24)", + "original_field_name" : "other_doc_no", + "previousDataType" : "character varying(24)", + "previousFieldName" : "other_doc_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "createSource" : "auto", + "dataTypeTemp" : "STRING(94)", + "data_type" : "STRING(94)", + "default_value" : null, + "field_name" : "building", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_building", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(94)", + "original_field_name" : "building", + "previousDataType" : "character varying(94)", + "previousFieldName" : "building", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":94,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "room", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_room", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "room", + "previousDataType" : "character varying(10)", + "previousFieldName" : "room", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "createSource" : "auto", + "dataTypeTemp" : "STRING(4)", + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "floor", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_floor", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(4)", + "original_field_name" : "floor", + "previousDataType" : "character varying(4)", + "previousFieldName" : "floor", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "createSource" : "auto", + "dataTypeTemp" : "STRING(4)", + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "block", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_block", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(4)", + "original_field_name" : "block", + "previousDataType" : "character varying(4)", + "previousFieldName" : "block", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "district", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_district", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "district", + "previousDataType" : "character varying(10)", + "previousFieldName" : "district", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 23, + "createSource" : "auto", + "dataTypeTemp" : "STRING(20)", + "data_type" : "STRING(20)", + "default_value" : null, + "field_name" : "home_phone", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_home_phone", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(20)", + "original_field_name" : "home_phone", + "previousDataType" : "character varying(20)", + "previousFieldName" : "home_phone", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":20,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 24, + "createSource" : "auto", + "dataTypeTemp" : "STRING(20)", + "data_type" : "STRING(20)", + "default_value" : null, + "field_name" : "office_phone", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_office_phone", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(20)", + "original_field_name" : "office_phone", + "previousDataType" : "character varying(20)", + "previousFieldName" : "office_phone", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":20,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 25, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "office_phone_ext", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_office_phone_ext", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "office_phone_ext", + "previousDataType" : "character varying(8)", + "previousFieldName" : "office_phone_ext", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 26, + "createSource" : "auto", + "dataTypeTemp" : "STRING(20)", + "data_type" : "STRING(20)", + "default_value" : null, + "field_name" : "other_phone", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_other_phone", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(20)", + "original_field_name" : "other_phone", + "previousDataType" : "character varying(20)", + "previousFieldName" : "other_phone", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":20,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 27, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "other_phone_ext", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_other_phone_ext", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "other_phone_ext", + "previousDataType" : "character varying(8)", + "previousFieldName" : "other_phone_ext", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 28, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "death_indicator", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_death_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "death_indicator", + "previousDataType" : "character varying(8)", + "previousFieldName" : "death_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 29, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "death_date", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_death_date", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "death_date", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "death_date", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 30, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "death_diagnosis", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_death_diagnosis", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "death_diagnosis", + "previousDataType" : "character varying(8)", + "previousFieldName" : "death_diagnosis", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 31, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "death_external_cause", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_death_external_cause", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "death_external_cause", + "previousDataType" : "character varying(8)", + "previousFieldName" : "death_external_cause", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 32, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "patient_type", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_patient_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(6)", + "original_field_name" : "patient_type", + "previousDataType" : "character varying(6)", + "previousFieldName" : "patient_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 33, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "pcs_count", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_pcs_count", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "integer", + "original_field_name" : "pcs_count", + "previousDataType" : "integer", + "previousFieldName" : "pcs_count", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 34, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "access_code", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_access_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "integer", + "original_field_name" : "access_code", + "previousDataType" : "integer", + "previousFieldName" : "access_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 35, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "update_hospital", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_update_hospital", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(6)", + "original_field_name" : "update_hospital", + "previousDataType" : "character varying(6)", + "previousFieldName" : "update_hospital", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 36, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "source_system", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_source_system", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(10)", + "original_field_name" : "source_system", + "previousDataType" : "character varying(10)", + "previousFieldName" : "source_system", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 37, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(16)", + "original_field_name" : "update_by", + "previousDataType" : "character varying(16)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 38, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "source_system_dtm", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_source_system_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "source_system_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "source_system_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 39, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "system_dtm", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_system_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "system_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "system_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 40, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : "now()", + "field_name" : "row_update_datetime", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_row_update_datetime", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp(6) without time zone", + "originalDefaultValue" : "now()", + "original_field_name" : "row_update_datetime", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "row_update_datetime", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 41, + "createSource" : "auto", + "dataTypeTemp" : "STRING(30)", + "data_type" : "STRING(30)", + "default_value" : null, + "field_name" : "filler", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_filler", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(30)", + "original_field_name" : "filler", + "previousDataType" : "character varying(30)", + "previousFieldName" : "filler", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":30,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { + "access_code" : { + "dataTypes" : [ "DECIMAL128", "DOUBLE", "INT64", "INT32" ], + "lastMatchedDataType" : "DOUBLE" + }, + "block" : { + "dataTypes" : [ "NULL", "STRING(4)" ], + "lastMatchedDataType" : "NULL" + }, + "building" : { + "dataTypes" : [ "NULL", "STRING(94)" ], + "lastMatchedDataType" : "NULL" + }, + "cccode1" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "NULL" + }, + "cccode2" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "NULL" + }, + "cccode3" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "NULL" + }, + "cccode4" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "NULL" + }, + "cccode5" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "NULL" + }, + "cccode6" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "NULL" + }, + "chi_name" : { + "dataTypes" : [ "NULL", "STRING(12)" ], + "lastMatchedDataType" : "NULL" + }, + "death_date" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "death_diagnosis" : { + "dataTypes" : [ "NULL", "STRING(8)" ], + "lastMatchedDataType" : "NULL" + }, + "death_external_cause" : { + "dataTypes" : [ "NULL", "STRING(8)" ], + "lastMatchedDataType" : "NULL" + }, + "death_indicator" : { + "dataTypes" : [ "NULL", "STRING(8)" ], + "lastMatchedDataType" : "NULL" + }, + "district" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "NULL" + }, + "dob" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "exact_dob_flag" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "NULL" + }, + "filler" : { + "dataTypes" : [ "NULL", "STRING(30)" ], + "lastMatchedDataType" : "NULL" + }, + "floor" : { + "dataTypes" : [ "NULL", "STRING(4)" ], + "lastMatchedDataType" : "NULL" + }, + "hkid" : { + "dataTypes" : [ "NULL", "STRING(24)" ], + "lastMatchedDataType" : "NULL" + }, + "home_phone" : { + "dataTypes" : [ "NULL", "STRING(20)" ], + "lastMatchedDataType" : "NULL" + }, + "marital_status" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "NULL" + }, + "office_phone" : { + "dataTypes" : [ "NULL", "STRING(20)" ], + "lastMatchedDataType" : "NULL" + }, + "office_phone_ext" : { + "dataTypes" : [ "NULL", "STRING(8)" ], + "lastMatchedDataType" : "NULL" + }, + "other_doc_no" : { + "dataTypes" : [ "NULL", "STRING(24)" ], + "lastMatchedDataType" : "NULL" + }, + "other_phone" : { + "dataTypes" : [ "NULL", "STRING(20)" ], + "lastMatchedDataType" : "NULL" + }, + "other_phone_ext" : { + "dataTypes" : [ "NULL", "STRING(8)" ], + "lastMatchedDataType" : "NULL" + }, + "patient_key" : { + "dataTypes" : [ "NULL", "STRING(16)" ], + "lastMatchedDataType" : "NULL" + }, + "patient_name" : { + "dataTypes" : [ "NULL", "STRING(96)" ], + "lastMatchedDataType" : "NULL" + }, + "patient_type" : { + "dataTypes" : [ "NULL", "STRING(6)" ], + "lastMatchedDataType" : "NULL" + }, + "pcs_count" : { + "dataTypes" : [ "DECIMAL128", "DOUBLE", "INT64", "INT32" ], + "lastMatchedDataType" : "DOUBLE" + }, + "race" : { + "dataTypes" : [ "NULL", "STRING(4)" ], + "lastMatchedDataType" : "NULL" + }, + "religion" : { + "dataTypes" : [ "NULL", "STRING(6)" ], + "lastMatchedDataType" : "NULL" + }, + "room" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "NULL" + }, + "row_update_datetime" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "sex" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "NULL" + }, + "source_system" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "NULL" + }, + "source_system_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "system_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "update_by" : { + "dataTypes" : [ "NULL", "STRING(16)" ], + "lastMatchedDataType" : "NULL" + }, + "update_hospital" : { + "dataTypes" : [ "NULL", "STRING(6)" ], + "lastMatchedDataType" : "NULL" + } + }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69c4cb66a6fb9b4275d909d7", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hkid", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "XAK1patient", + "primaryKey" : "false", + "unique" : true + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "patient_name", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "sex", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "dob", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "XIE1patient", + "primaryKey" : "false", + "unique" : false + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "sex", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "chi_name", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "dob", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "XIE2patient", + "primaryKey" : "false", + "unique" : false + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "other_doc_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "XIE3patient", + "primaryKey" : "false", + "unique" : false + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "patient_key", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "XPKpatient", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "listtags" : [ { + "id" : "696edd031a2a38312f71262e", + "value" : "HKPMI" + } ], + "meta_type" : "table", + "name" : "FDM_HKPMI_patient", + "original_name" : "FDM_HKPMI_patient", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_FDM_HKPMI_patient_695497a235a6fa1717313957", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "4.4.23", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 96, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "8b3dec60-f765-45b0-84ef-86276d64af9a", + "status" : "ready", + "submit" : true, + "tableCount" : 96, + "testTime" : 1768413601145, + "transformed" : true + }, + "sourceType" : "SOURCE", + "tableAttr" : { + "avgObjSize" : 689, + "capped" : false, + "ns" : "FDM.FDM_HKPMI_patient", + "shard" : { }, + "size" : 374982879, + "storageSize" : 54693888 + }, + "transformUuid" : "1773390656301", + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "patient_hospital_data", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774504806201, + "databaseId" : "69549862aedd5fe4733b3966", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "columnSize" : 100, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_hospital_data__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "oriPrecision" : 100, + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "table_name" : "FDM_HKPMI_patient_hospital_data", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "patient_key", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_hospital_data_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(16)", + "original_field_name" : "patient_key", + "previousDataType" : "character varying(16)", + "previousFieldName" : "patient_key", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_hospital_data_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "character varying(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "mrn", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_hospital_data_mrn", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(16)", + "original_field_name" : "mrn", + "previousDataType" : "character varying(16)", + "previousFieldName" : "mrn", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_hospital_data_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(16)", + "original_field_name" : "update_by", + "previousDataType" : "character varying(16)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "source_system_dtm", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_hospital_data_source_system_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "source_system_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "source_system_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : "now()", + "field_name" : "row_update_datetime", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_hospital_data_row_update_datetime", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp(6) without time zone", + "originalDefaultValue" : "now()", + "original_field_name" : "row_update_datetime", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "row_update_datetime", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { + "hospital_code" : { + "dataTypes" : [ "NULL", "STRING(6)" ], + "lastMatchedDataType" : "NULL" + }, + "mrn" : { + "dataTypes" : [ "NULL", "STRING(16)" ], + "lastMatchedDataType" : "NULL" + }, + "patient_key" : { + "dataTypes" : [ "NULL", "STRING(16)" ], + "lastMatchedDataType" : "NULL" + }, + "row_update_datetime" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "source_system_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "update_by" : { + "dataTypes" : [ "NULL", "STRING(16)" ], + "lastMatchedDataType" : "NULL" + } + }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69c4cb66a6fb9b4275d909db", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "mrn", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "XAK1patient_hospital_data", + "primaryKey" : "false", + "unique" : true + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "patient_key", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "XPKpatient_hospital_data", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "listtags" : [ { + "id" : "696edd031a2a38312f71262e", + "value" : "HKPMI" + } ], + "meta_type" : "table", + "name" : "FDM_HKPMI_patient_hospital_data", + "original_name" : "FDM_HKPMI_patient_hospital_data", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_FDM_HKPMI_patient_hospital_data_695497a235a6fa1717313957", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "4.4.23", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 96, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "8b3dec60-f765-45b0-84ef-86276d64af9a", + "status" : "ready", + "submit" : true, + "tableCount" : 96, + "testTime" : 1768413601145, + "transformed" : true + }, + "sourceType" : "SOURCE", + "tableAttr" : { + "avgObjSize" : 174, + "capped" : false, + "ns" : "FDM.FDM_HKPMI_patient_hospital_data", + "shard" : { }, + "size" : 95052145, + "storageSize" : 15380480 + }, + "transformUuid" : "1773390656301", + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "patient_type", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774504806200, + "databaseId" : "69549862aedd5fe4733b3966", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "columnSize" : 100, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_type__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "oriPrecision" : 100, + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "table_name" : "FDM_HKPMI_patient_type", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "patient_type", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_type_patient_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(6)", + "original_field_name" : "patient_type", + "previousDataType" : "character varying(6)", + "previousFieldName" : "patient_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(80)", + "data_type" : "STRING(80)", + "default_value" : null, + "field_name" : "description", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_type_description", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(80)", + "original_field_name" : "description", + "previousDataType" : "character varying(80)", + "previousFieldName" : "description", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":80,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "effective_dtm", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_type_effective_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "effective_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "effective_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "patient_group", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_type_patient_group", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "patient_group", + "previousDataType" : "character varying(10)", + "previousFieldName" : "patient_group", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "pay_code_type", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_type_pay_code_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "pay_code_type", + "previousDataType" : "character varying(10)", + "previousFieldName" : "pay_code_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "active_status", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_type_active_status", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "active_status", + "previousDataType" : "character varying(2)", + "previousFieldName" : "active_status", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "user_define", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_patient_type_user_define", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "user_define", + "previousDataType" : "character varying(2)", + "previousFieldName" : "user_define", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { + "active_status" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "NULL" + }, + "description" : { + "dataTypes" : [ "NULL", "STRING(80)" ], + "lastMatchedDataType" : "NULL" + }, + "effective_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "patient_group" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "NULL" + }, + "patient_type" : { + "dataTypes" : [ "NULL", "STRING(6)" ], + "lastMatchedDataType" : "NULL" + }, + "pay_code_type" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "NULL" + }, + "user_define" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "NULL" + } + }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69c4cb66a6fb9b4275d909d6", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "patient_type", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "XPKpatient_type", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "listtags" : [ { + "id" : "696edd031a2a38312f71262e", + "value" : "HKPMI" + } ], + "meta_type" : "table", + "name" : "FDM_HKPMI_patient_type", + "original_name" : "FDM_HKPMI_patient_type", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_FDM_HKPMI_patient_type_695497a235a6fa1717313957", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "4.4.23", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 96, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "8b3dec60-f765-45b0-84ef-86276d64af9a", + "status" : "ready", + "submit" : true, + "tableCount" : 96, + "testTime" : 1768413601145, + "transformed" : true + }, + "sourceType" : "SOURCE", + "tableAttr" : { + "avgObjSize" : 162, + "capped" : false, + "ns" : "FDM.FDM_HKPMI_patient_type", + "shard" : { }, + "size" : 3252, + "storageSize" : 20480 + }, + "transformUuid" : "1773390656301", + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "pmi_case", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774504806200, + "databaseId" : "69549862aedd5fe4733b3966", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "columnSize" : 100, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_pmi_case__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "oriPrecision" : 100, + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "table_name" : "FDM_HKPMI_pmi_case", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_pmi_case_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "character varying(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_pmi_case_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(24)", + "original_field_name" : "case_no", + "previousDataType" : "character varying(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "patient_key", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_pmi_case_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(16)", + "original_field_name" : "patient_key", + "previousDataType" : "character varying(16)", + "previousFieldName" : "patient_key", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "case_type", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_pmi_case_case_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(2)", + "original_field_name" : "case_type", + "previousDataType" : "character varying(2)", + "previousFieldName" : "case_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "adm_dtm", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_pmi_case_adm_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "adm_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "adm_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "source_indicator", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_pmi_case_source_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "source_indicator", + "previousDataType" : "character varying(2)", + "previousFieldName" : "source_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "source_code", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_pmi_case_source_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(6)", + "original_field_name" : "source_code", + "previousDataType" : "character varying(6)", + "previousFieldName" : "source_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "patient_type", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_pmi_case_patient_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(6)", + "original_field_name" : "patient_type", + "previousDataType" : "character varying(6)", + "previousFieldName" : "patient_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "discharge_code", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_pmi_case_discharge_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "discharge_code", + "previousDataType" : "character varying(2)", + "previousFieldName" : "discharge_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "discharge_dtm", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_pmi_case_discharge_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "discharge_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "discharge_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "destination_code", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_pmi_case_destination_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "destination_code", + "previousDataType" : "character varying(10)", + "previousFieldName" : "destination_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "adm_specialty_code", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_pmi_case_adm_specialty_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "adm_specialty_code", + "previousDataType" : "character varying(8)", + "previousFieldName" : "adm_specialty_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "adm_ward_code", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_pmi_case_adm_ward_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "adm_ward_code", + "previousDataType" : "character varying(8)", + "previousFieldName" : "adm_ward_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "adm_ward_class", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_pmi_case_adm_ward_class", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "adm_ward_class", + "previousDataType" : "character varying(2)", + "previousFieldName" : "adm_ward_class", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_specialty_code", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_pmi_case_last_specialty_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "last_specialty_code", + "previousDataType" : "character varying(8)", + "previousFieldName" : "last_specialty_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_ward_code", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_pmi_case_last_ward_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "last_ward_code", + "previousDataType" : "character varying(8)", + "previousFieldName" : "last_ward_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "last_ward_class", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_pmi_case_last_ward_class", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "last_ward_class", + "previousDataType" : "character varying(2)", + "previousFieldName" : "last_ward_class", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "last_bed_no", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_pmi_case_last_bed_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "last_bed_no", + "previousDataType" : "character varying(10)", + "previousFieldName" : "last_bed_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "pp_code", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_pmi_case_pp_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(16)", + "original_field_name" : "pp_code", + "previousDataType" : "character varying(16)", + "previousFieldName" : "pp_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "access_code", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_pmi_case_access_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "integer", + "original_field_name" : "access_code", + "previousDataType" : "integer", + "previousFieldName" : "access_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_pmi_case_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(16)", + "original_field_name" : "create_by", + "previousDataType" : "character varying(16)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_pmi_case_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "create_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 23, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_pmi_case_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(16)", + "original_field_name" : "update_by", + "previousDataType" : "character varying(16)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 24, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "source_system_dtm", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_pmi_case_source_system_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "source_system_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "source_system_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 25, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "district", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_pmi_case_district", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "district", + "previousDataType" : "character varying(10)", + "previousFieldName" : "district", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 26, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "mrt_indicator", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_pmi_case_mrt_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "mrt_indicator", + "previousDataType" : "character varying(2)", + "previousFieldName" : "mrt_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 27, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "movement_count", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_pmi_case_movement_count", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "integer", + "original_field_name" : "movement_count", + "previousDataType" : "integer", + "previousFieldName" : "movement_count", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 28, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "security_count", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_pmi_case_security_count", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "integer", + "original_field_name" : "security_count", + "previousDataType" : "integer", + "previousFieldName" : "security_count", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 29, + "createSource" : "auto", + "dataTypeTemp" : "BINARY", + "data_type" : "BINARY", + "default_value" : null, + "field_name" : "timestamp", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_pmi_case_timestamp", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "bytea", + "original_field_name" : "timestamp", + "previousDataType" : "bytea", + "previousFieldName" : "timestamp", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "bytea", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16777215,\"type\":9}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 30, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "source_system", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_pmi_case_source_system", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(10)", + "original_field_name" : "source_system", + "previousDataType" : "character varying(10)", + "previousFieldName" : "source_system", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 31, + "createSource" : "auto", + "dataTypeTemp" : "STRING(30)", + "data_type" : "STRING(30)", + "default_value" : null, + "field_name" : "filler", + "id" : "695497a235a6fa1717313957_FDM_HKPMI_pmi_case_filler", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(30)", + "original_field_name" : "filler", + "previousDataType" : "character varying(30)", + "previousFieldName" : "filler", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":30,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { + "access_code" : { + "dataTypes" : [ "DECIMAL128", "DOUBLE", "INT64", "INT32" ], + "lastMatchedDataType" : "DOUBLE" + }, + "adm_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "adm_specialty_code" : { + "dataTypes" : [ "NULL", "STRING(8)" ], + "lastMatchedDataType" : "NULL" + }, + "adm_ward_class" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "NULL" + }, + "adm_ward_code" : { + "dataTypes" : [ "NULL", "STRING(8)" ], + "lastMatchedDataType" : "NULL" + }, + "case_no" : { + "dataTypes" : [ "NULL", "STRING(24)" ], + "lastMatchedDataType" : "NULL" + }, + "case_type" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "NULL" + }, + "create_by" : { + "dataTypes" : [ "NULL", "STRING(16)" ], + "lastMatchedDataType" : "NULL" + }, + "create_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "destination_code" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "NULL" + }, + "discharge_code" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "NULL" + }, + "discharge_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "district" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "NULL" + }, + "filler" : { + "dataTypes" : [ "NULL", "STRING(30)" ], + "lastMatchedDataType" : "NULL" + }, + "hospital_code" : { + "dataTypes" : [ "NULL", "STRING(6)" ], + "lastMatchedDataType" : "NULL" + }, + "last_bed_no" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "NULL" + }, + "last_specialty_code" : { + "dataTypes" : [ "NULL", "STRING(8)" ], + "lastMatchedDataType" : "NULL" + }, + "last_ward_class" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "NULL" + }, + "last_ward_code" : { + "dataTypes" : [ "NULL", "STRING(8)" ], + "lastMatchedDataType" : "NULL" + }, + "movement_count" : { + "dataTypes" : [ "DECIMAL128", "DOUBLE", "INT64", "INT32" ], + "lastMatchedDataType" : "DOUBLE" + }, + "mrt_indicator" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "NULL" + }, + "patient_key" : { + "dataTypes" : [ "NULL", "STRING(16)" ], + "lastMatchedDataType" : "NULL" + }, + "patient_type" : { + "dataTypes" : [ "NULL", "STRING(6)" ], + "lastMatchedDataType" : "NULL" + }, + "pp_code" : { + "dataTypes" : [ "NULL", "STRING(16)" ], + "lastMatchedDataType" : "NULL" + }, + "security_count" : { + "dataTypes" : [ "DECIMAL128", "DOUBLE", "INT64", "INT32" ], + "lastMatchedDataType" : "DOUBLE" + }, + "source_code" : { + "dataTypes" : [ "NULL", "STRING(6)" ], + "lastMatchedDataType" : "NULL" + }, + "source_indicator" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "NULL" + }, + "source_system" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "NULL" + }, + "source_system_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "timestamp" : { + "dataTypes" : [ "BINARY" ] + }, + "update_by" : { + "dataTypes" : [ "NULL", "STRING(16)" ], + "lastMatchedDataType" : "NULL" + } + }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69c4cb66a6fb9b4275d909d3", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "patient_key", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "XIE1pmi_case", + "primaryKey" : "false", + "unique" : false + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "XPKpmi_case", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "listtags" : [ { + "id" : "696edd031a2a38312f71262e", + "value" : "HKPMI" + } ], + "meta_type" : "table", + "name" : "FDM_HKPMI_pmi_case", + "original_name" : "FDM_HKPMI_pmi_case", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_FDM_HKPMI_pmi_case_695497a235a6fa1717313957", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "4.4.23", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 96, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "8b3dec60-f765-45b0-84ef-86276d64af9a", + "status" : "ready", + "submit" : true, + "tableCount" : 96, + "testTime" : 1768413601145, + "transformed" : true + }, + "sourceType" : "SOURCE", + "tableAttr" : { + "avgObjSize" : 618, + "capped" : false, + "ns" : "FDM.FDM_HKPMI_pmi_case", + "shard" : { }, + "size" : 1176606113, + "storageSize" : 172187648 + }, + "transformUuid" : "1773390656301", + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "cpi_case", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774504806429, + "databaseId" : "69549862aedd5fe4733b3966", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "columnSize" : 100, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_case__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "oriPrecision" : 100, + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "table_name" : "FDM_HPI_cpi_case", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_case_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "character varying(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_case_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(24)", + "original_field_name" : "case_no", + "previousDataType" : "character varying(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "patient_key", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_case_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(16)", + "original_field_name" : "patient_key", + "previousDataType" : "character varying(16)", + "previousFieldName" : "patient_key", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "case_type", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_case_case_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(2)", + "original_field_name" : "case_type", + "previousDataType" : "character varying(2)", + "previousFieldName" : "case_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "admission_dtm", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_case_admission_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "admission_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "admission_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "source_indicator", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_case_source_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "source_indicator", + "previousDataType" : "character varying(2)", + "previousFieldName" : "source_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "source_code", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_case_source_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(6)", + "original_field_name" : "source_code", + "previousDataType" : "character varying(6)", + "previousFieldName" : "source_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "patient_type", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_case_patient_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(6)", + "original_field_name" : "patient_type", + "previousDataType" : "character varying(6)", + "previousFieldName" : "patient_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "discharge_code", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_case_discharge_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "discharge_code", + "previousDataType" : "character varying(2)", + "previousFieldName" : "discharge_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "discharge_dtm", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_case_discharge_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "discharge_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "discharge_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "destination_code", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_case_destination_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(6)", + "original_field_name" : "destination_code", + "previousDataType" : "character varying(6)", + "previousFieldName" : "destination_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_specialty", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_case_last_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "last_specialty", + "previousDataType" : "character varying(8)", + "previousFieldName" : "last_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_sub_specialty", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_case_last_sub_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "last_sub_specialty", + "previousDataType" : "character varying(8)", + "previousFieldName" : "last_sub_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_ward_code", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_case_last_ward_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "last_ward_code", + "previousDataType" : "character varying(8)", + "previousFieldName" : "last_ward_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "last_ward_class", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_case_last_ward_class", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "last_ward_class", + "previousDataType" : "character varying(2)", + "previousFieldName" : "last_ward_class", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "last_bed_no", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_case_last_bed_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "last_bed_no", + "previousDataType" : "character varying(10)", + "previousFieldName" : "last_bed_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "pp_code", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_case_pp_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(16)", + "original_field_name" : "pp_code", + "previousDataType" : "character varying(16)", + "previousFieldName" : "pp_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "access_code", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_case_access_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "integer", + "original_field_name" : "access_code", + "previousDataType" : "integer", + "previousFieldName" : "access_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "createSource" : "auto", + "dataTypeTemp" : "STRING(4)", + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "status_code", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_case_status_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(4)", + "original_field_name" : "status_code", + "previousDataType" : "character varying(4)", + "previousFieldName" : "status_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_case_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(24)", + "original_field_name" : "create_by", + "previousDataType" : "character varying(24)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_case_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "create_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_case_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(24)", + "original_field_name" : "update_by", + "previousDataType" : "character varying(24)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 23, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_case_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "update_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 24, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "row_update_datetime", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_case_row_update_datetime", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "row_update_datetime", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "row_update_datetime", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 25, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "movement_count", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_case_movement_count", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "integer", + "original_field_name" : "movement_count", + "previousDataType" : "integer", + "previousFieldName" : "movement_count", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 26, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "district_code", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_case_district_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "district_code", + "previousDataType" : "character varying(10)", + "previousFieldName" : "district_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 27, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "mrt_indicator", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_case_mrt_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "mrt_indicator", + "previousDataType" : "character varying(2)", + "previousFieldName" : "mrt_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 28, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "document_flag", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_case_document_flag", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "document_flag", + "previousDataType" : "character varying(2)", + "previousFieldName" : "document_flag", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { + "access_code" : { + "dataTypes" : [ "DECIMAL128", "DOUBLE", "INT64", "INT32" ], + "lastMatchedDataType" : "DOUBLE" + }, + "admission_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "case_no" : { + "dataTypes" : [ "NULL", "STRING(24)" ], + "lastMatchedDataType" : "STRING(24)" + }, + "case_type" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "STRING(2)" + }, + "create_by" : { + "dataTypes" : [ "NULL", "STRING(24)" ], + "lastMatchedDataType" : "STRING(24)" + }, + "create_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "destination_code" : { + "dataTypes" : [ "NULL", "STRING(6)" ], + "lastMatchedDataType" : "STRING(6)" + }, + "discharge_code" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "STRING(2)" + }, + "discharge_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "district_code" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "STRING(10)" + }, + "document_flag" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "STRING(2)" + }, + "hospital_code" : { + "dataTypes" : [ "NULL", "STRING(6)" ], + "lastMatchedDataType" : "STRING(6)" + }, + "last_bed_no" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "STRING(10)" + }, + "last_specialty" : { + "dataTypes" : [ "NULL", "STRING(8)" ], + "lastMatchedDataType" : "STRING(8)" + }, + "last_sub_specialty" : { + "dataTypes" : [ "NULL", "STRING(8)" ], + "lastMatchedDataType" : "STRING(8)" + }, + "last_ward_class" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "STRING(2)" + }, + "last_ward_code" : { + "dataTypes" : [ "NULL", "STRING(8)" ], + "lastMatchedDataType" : "STRING(8)" + }, + "movement_count" : { + "dataTypes" : [ "DECIMAL128", "DOUBLE", "INT64", "INT32" ], + "lastMatchedDataType" : "DOUBLE" + }, + "mrt_indicator" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "STRING(2)" + }, + "patient_key" : { + "dataTypes" : [ "NULL", "STRING(16)" ], + "lastMatchedDataType" : "STRING(16)" + }, + "patient_type" : { + "dataTypes" : [ "NULL", "STRING(6)" ], + "lastMatchedDataType" : "STRING(6)" + }, + "pp_code" : { + "dataTypes" : [ "NULL", "STRING(16)" ], + "lastMatchedDataType" : "STRING(16)" + }, + "row_update_datetime" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "source_code" : { + "dataTypes" : [ "NULL", "STRING(6)" ], + "lastMatchedDataType" : "STRING(6)" + }, + "source_indicator" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "STRING(2)" + }, + "status_code" : { + "dataTypes" : [ "NULL", "STRING(4)" ], + "lastMatchedDataType" : "STRING(4)" + }, + "update_by" : { + "dataTypes" : [ "NULL", "STRING(24)" ], + "lastMatchedDataType" : "STRING(24)" + }, + "update_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + } + }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69c4cb66a6fb9b4275d909dd", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "case_type", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "discharge_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "last_ward_code", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "cpi_case_discharge_code", + "primaryKey" : "false", + "unique" : false + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "discharge_dtm", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "last_ward_code", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "cpi_case_discharge_dtm", + "primaryKey" : "false", + "unique" : false + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "discharge_dtm", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "last_specialty", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "last_sub_specialty", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "cpi_case_discharge_specialty", + "primaryKey" : "false", + "unique" : false + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "cpi_case_idx", + "primaryKey" : "false", + "unique" : true + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "patient_key", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "cpi_case_patient_idx", + "primaryKey" : "false", + "unique" : false + } ], + "is_deleted" : false, + "listtags" : [ { + "id" : "696edd031a2a38312f71262f", + "value" : "HPI" + } ], + "meta_type" : "table", + "name" : "FDM_HPI_cpi_case", + "original_name" : "FDM_HPI_cpi_case", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_FDM_HPI_cpi_case_695497a235a6fa1717313957", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "4.4.23", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 96, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "8b3dec60-f765-45b0-84ef-86276d64af9a", + "status" : "ready", + "submit" : true, + "tableCount" : 96, + "testTime" : 1768413601145, + "transformed" : true + }, + "sourceType" : "SOURCE", + "tableAttr" : { + "avgObjSize" : 588, + "capped" : false, + "ns" : "FDM.FDM_HPI_cpi_case", + "shard" : { }, + "size" : 748876644, + "storageSize" : 107823104 + }, + "transformUuid" : "1769674799829", + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "cpi_patient", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774504806429, + "databaseId" : "69549862aedd5fe4733b3966", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "columnSize" : 100, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "oriPrecision" : 100, + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "table_name" : "FDM_HPI_cpi_patient", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "patient_key", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(16)", + "original_field_name" : "patient_key", + "previousDataType" : "character varying(16)", + "previousFieldName" : "patient_key", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "hkid", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_hkid", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(24)", + "original_field_name" : "hkid", + "previousDataType" : "character varying(24)", + "previousFieldName" : "hkid", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(96)", + "data_type" : "STRING(96)", + "default_value" : null, + "field_name" : "patient_name", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_patient_name", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(96)", + "original_field_name" : "patient_name", + "previousDataType" : "character varying(96)", + "previousFieldName" : "patient_name", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":96,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "sex", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_sex", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(2)", + "original_field_name" : "sex", + "previousDataType" : "character varying(2)", + "previousFieldName" : "sex", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "cccode1", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_cccode1", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "cccode1", + "previousDataType" : "character varying(10)", + "previousFieldName" : "cccode1", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "cccode2", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_cccode2", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "cccode2", + "previousDataType" : "character varying(10)", + "previousFieldName" : "cccode2", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "cccode3", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_cccode3", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "cccode3", + "previousDataType" : "character varying(10)", + "previousFieldName" : "cccode3", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "cccode4", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_cccode4", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "cccode4", + "previousDataType" : "character varying(10)", + "previousFieldName" : "cccode4", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "cccode5", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_cccode5", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "cccode5", + "previousDataType" : "character varying(10)", + "previousFieldName" : "cccode5", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "cccode6", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_cccode6", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "cccode6", + "previousDataType" : "character varying(10)", + "previousFieldName" : "cccode6", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "chi_name", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_chi_name", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(24)", + "original_field_name" : "chi_name", + "previousDataType" : "character varying(24)", + "previousFieldName" : "chi_name", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "dob", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_dob", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "dob", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "dob", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "exact_dob_flag", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_exact_dob_flag", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(2)", + "original_field_name" : "exact_dob_flag", + "previousDataType" : "character varying(2)", + "previousFieldName" : "exact_dob_flag", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "marital_status", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_marital_status", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(2)", + "original_field_name" : "marital_status", + "previousDataType" : "character varying(2)", + "previousFieldName" : "marital_status", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "createSource" : "auto", + "dataTypeTemp" : "STRING(4)", + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "race", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_race", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(4)", + "original_field_name" : "race", + "previousDataType" : "character varying(4)", + "previousFieldName" : "race", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "other_doc_no", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_other_doc_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(24)", + "original_field_name" : "other_doc_no", + "previousDataType" : "character varying(24)", + "previousFieldName" : "other_doc_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "createSource" : "auto", + "dataTypeTemp" : "STRING(40)", + "data_type" : "STRING(40)", + "default_value" : null, + "field_name" : "reference", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_reference", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(40)", + "original_field_name" : "reference", + "previousDataType" : "character varying(40)", + "previousFieldName" : "reference", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":40,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "createSource" : "auto", + "dataTypeTemp" : "STRING(94)", + "data_type" : "STRING(94)", + "default_value" : null, + "field_name" : "building", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_building", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(94)", + "original_field_name" : "building", + "previousDataType" : "character varying(94)", + "previousFieldName" : "building", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":94,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "room", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_room", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "room", + "previousDataType" : "character varying(10)", + "previousFieldName" : "room", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "createSource" : "auto", + "dataTypeTemp" : "STRING(4)", + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "floor", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_floor", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(4)", + "original_field_name" : "floor", + "previousDataType" : "character varying(4)", + "previousFieldName" : "floor", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "createSource" : "auto", + "dataTypeTemp" : "STRING(4)", + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "block", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_block", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(4)", + "original_field_name" : "block", + "previousDataType" : "character varying(4)", + "previousFieldName" : "block", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "district", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_district", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "district", + "previousDataType" : "character varying(10)", + "previousFieldName" : "district", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 23, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "religion", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_religion", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(6)", + "original_field_name" : "religion", + "previousDataType" : "character varying(6)", + "previousFieldName" : "religion", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 24, + "createSource" : "auto", + "dataTypeTemp" : "STRING(20)", + "data_type" : "STRING(20)", + "default_value" : null, + "field_name" : "phone1", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_phone1", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(20)", + "original_field_name" : "phone1", + "previousDataType" : "character varying(20)", + "previousFieldName" : "phone1", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":20,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 25, + "createSource" : "auto", + "dataTypeTemp" : "STRING(20)", + "data_type" : "STRING(20)", + "default_value" : null, + "field_name" : "phone2", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_phone2", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(20)", + "original_field_name" : "phone2", + "previousDataType" : "character varying(20)", + "previousFieldName" : "phone2", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":20,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 26, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "address_indicator", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_address_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "address_indicator", + "previousDataType" : "character varying(8)", + "previousFieldName" : "address_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 27, + "createSource" : "auto", + "dataTypeTemp" : "STRING(20)", + "data_type" : "STRING(20)", + "default_value" : null, + "field_name" : "mobile_phone", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_mobile_phone", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(20)", + "original_field_name" : "mobile_phone", + "previousDataType" : "character varying(20)", + "previousFieldName" : "mobile_phone", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":20,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 28, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "sms_language", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_sms_language", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "sms_language", + "previousDataType" : "character varying(8)", + "previousFieldName" : "sms_language", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 29, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "death_indicator", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_death_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(2)", + "original_field_name" : "death_indicator", + "previousDataType" : "character varying(2)", + "previousFieldName" : "death_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 30, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "death_date", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_death_date", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "death_date", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "death_date", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 31, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "death_code", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_death_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "death_code", + "previousDataType" : "character varying(8)", + "previousFieldName" : "death_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 32, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "card_holder", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_card_holder", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "integer", + "original_field_name" : "card_holder", + "previousDataType" : "integer", + "previousFieldName" : "card_holder", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 33, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : 2147483647, + "field_name" : "access_code", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_access_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "integer", + "originalDefaultValue" : 2147483647, + "original_field_name" : "access_code", + "previousDataType" : "integer", + "previousFieldName" : "access_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 34, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : 0, + "field_name" : "security", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_security", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "integer", + "originalDefaultValue" : 0, + "original_field_name" : "security", + "previousDataType" : "integer", + "previousFieldName" : "security", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 35, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "patient_no", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_patient_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "integer", + "original_field_name" : "patient_no", + "previousDataType" : "integer", + "previousFieldName" : "patient_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 36, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "create_hospital", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_create_hospital", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(6)", + "original_field_name" : "create_hospital", + "previousDataType" : "character varying(6)", + "previousFieldName" : "create_hospital", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 37, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(24)", + "original_field_name" : "create_by", + "previousDataType" : "character varying(24)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 38, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "create_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 39, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "update_hospital", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_update_hospital", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(6)", + "original_field_name" : "update_hospital", + "previousDataType" : "character varying(6)", + "previousFieldName" : "update_hospital", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 40, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(24)", + "original_field_name" : "update_by", + "previousDataType" : "character varying(24)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 41, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "update_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 42, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "rep_clusters", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_rep_clusters", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "integer", + "original_field_name" : "rep_clusters", + "previousDataType" : "integer", + "previousFieldName" : "rep_clusters", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 43, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "init_hospital", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_init_hospital", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "integer", + "original_field_name" : "init_hospital", + "previousDataType" : "integer", + "previousFieldName" : "init_hospital", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 44, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "init_source", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_init_source", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "integer", + "original_field_name" : "init_source", + "previousDataType" : "integer", + "previousFieldName" : "init_source", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 45, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "row_update_datetime", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_row_update_datetime", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "row_update_datetime", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "row_update_datetime", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 46, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : 1, + "field_name" : "rep_hosp1", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_rep_hosp1", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "integer", + "originalDefaultValue" : 1, + "original_field_name" : "rep_hosp1", + "previousDataType" : "integer", + "previousFieldName" : "rep_hosp1", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 47, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : 0, + "field_name" : "rep_hosp2", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_rep_hosp2", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "integer", + "originalDefaultValue" : 0, + "original_field_name" : "rep_hosp2", + "previousDataType" : "integer", + "previousFieldName" : "rep_hosp2", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 48, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : 0, + "field_name" : "rep_clinic1", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_rep_clinic1", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "integer", + "originalDefaultValue" : 0, + "original_field_name" : "rep_clinic1", + "previousDataType" : "integer", + "previousFieldName" : "rep_clinic1", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 49, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : 0, + "field_name" : "rep_clinic2", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_rep_clinic2", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "integer", + "originalDefaultValue" : 0, + "original_field_name" : "rep_clinic2", + "previousDataType" : "integer", + "previousFieldName" : "rep_clinic2", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 50, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "body_category", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_body_category", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "body_category", + "previousDataType" : "character varying(2)", + "previousFieldName" : "body_category", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 51, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "hkic_symbol", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_hkic_symbol", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "hkic_symbol", + "previousDataType" : "character varying(2)", + "previousFieldName" : "hkic_symbol", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { + "access_code" : { + "dataTypes" : [ "DECIMAL128", "DOUBLE", "INT64", "INT32" ], + "lastMatchedDataType" : "DOUBLE" + }, + "address_indicator" : { + "dataTypes" : [ "NULL", "STRING(8)" ], + "lastMatchedDataType" : "STRING(8)" + }, + "block" : { + "dataTypes" : [ "NULL", "STRING(4)" ], + "lastMatchedDataType" : "STRING(4)" + }, + "body_category" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "STRING(2)" + }, + "building" : { + "dataTypes" : [ "NULL", "STRING(94)" ], + "lastMatchedDataType" : "STRING(94)" + }, + "card_holder" : { + "dataTypes" : [ "DECIMAL128", "DOUBLE", "INT64", "INT32" ], + "lastMatchedDataType" : "DOUBLE" + }, + "cccode1" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "STRING(10)" + }, + "cccode2" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "STRING(10)" + }, + "cccode3" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "STRING(10)" + }, + "cccode4" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "STRING(10)" + }, + "cccode5" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "STRING(10)" + }, + "cccode6" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "STRING(10)" + }, + "chi_name" : { + "dataTypes" : [ "NULL", "STRING(24)" ], + "lastMatchedDataType" : "STRING(24)" + }, + "create_by" : { + "dataTypes" : [ "NULL", "STRING(24)" ], + "lastMatchedDataType" : "STRING(24)" + }, + "create_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "create_hospital" : { + "dataTypes" : [ "NULL", "STRING(6)" ], + "lastMatchedDataType" : "STRING(6)" + }, + "death_code" : { + "dataTypes" : [ "NULL", "STRING(8)" ], + "lastMatchedDataType" : "STRING(8)" + }, + "death_date" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "death_indicator" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "STRING(2)" + }, + "district" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "STRING(10)" + }, + "dob" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "exact_dob_flag" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "STRING(2)" + }, + "floor" : { + "dataTypes" : [ "NULL", "STRING(4)" ], + "lastMatchedDataType" : "STRING(4)" + }, + "hkic_symbol" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "STRING(2)" + }, + "hkid" : { + "dataTypes" : [ "NULL", "STRING(24)" ], + "lastMatchedDataType" : "STRING(24)" + }, + "init_hospital" : { + "dataTypes" : [ "DECIMAL128", "DOUBLE", "INT64", "INT32" ], + "lastMatchedDataType" : "DOUBLE" + }, + "init_source" : { + "dataTypes" : [ "DECIMAL128", "DOUBLE", "INT64", "INT32" ], + "lastMatchedDataType" : "DOUBLE" + }, + "marital_status" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "STRING(2)" + }, + "mobile_phone" : { + "dataTypes" : [ "NULL", "STRING(20)" ], + "lastMatchedDataType" : "STRING(20)" + }, + "other_doc_no" : { + "dataTypes" : [ "NULL", "STRING(24)" ], + "lastMatchedDataType" : "STRING(24)" + }, + "patient_key" : { + "dataTypes" : [ "NULL", "STRING(16)" ], + "lastMatchedDataType" : "STRING(16)" + }, + "patient_name" : { + "dataTypes" : [ "NULL", "STRING(96)" ], + "lastMatchedDataType" : "STRING(96)" + }, + "patient_no" : { + "dataTypes" : [ "DECIMAL128", "DOUBLE", "INT64", "INT32" ], + "lastMatchedDataType" : "DOUBLE" + }, + "phone1" : { + "dataTypes" : [ "NULL", "STRING(20)" ], + "lastMatchedDataType" : "STRING(20)" + }, + "phone2" : { + "dataTypes" : [ "NULL", "STRING(20)" ], + "lastMatchedDataType" : "STRING(20)" + }, + "race" : { + "dataTypes" : [ "NULL", "STRING(4)" ], + "lastMatchedDataType" : "STRING(4)" + }, + "reference" : { + "dataTypes" : [ "NULL", "STRING(40)" ], + "lastMatchedDataType" : "STRING(40)" + }, + "religion" : { + "dataTypes" : [ "NULL", "STRING(6)" ], + "lastMatchedDataType" : "STRING(6)" + }, + "rep_clinic1" : { + "dataTypes" : [ "DECIMAL128", "DOUBLE", "INT64", "INT32" ], + "lastMatchedDataType" : "DOUBLE" + }, + "rep_clinic2" : { + "dataTypes" : [ "DECIMAL128", "DOUBLE", "INT64", "INT32" ], + "lastMatchedDataType" : "DOUBLE" + }, + "rep_clusters" : { + "dataTypes" : [ "DECIMAL128", "DOUBLE", "INT64", "INT32" ], + "lastMatchedDataType" : "DOUBLE" + }, + "rep_hosp1" : { + "dataTypes" : [ "DECIMAL128", "DOUBLE", "INT64", "INT32" ], + "lastMatchedDataType" : "DOUBLE" + }, + "rep_hosp2" : { + "dataTypes" : [ "DECIMAL128", "DOUBLE", "INT64", "INT32" ], + "lastMatchedDataType" : "DOUBLE" + }, + "room" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "STRING(10)" + }, + "row_update_datetime" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "security" : { + "dataTypes" : [ "DECIMAL128", "DOUBLE", "INT64", "INT32" ], + "lastMatchedDataType" : "DOUBLE" + }, + "sex" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "STRING(2)" + }, + "sms_language" : { + "dataTypes" : [ "NULL", "STRING(8)" ], + "lastMatchedDataType" : "STRING(8)" + }, + "update_by" : { + "dataTypes" : [ "NULL", "STRING(24)" ], + "lastMatchedDataType" : "STRING(24)" + }, + "update_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "update_hospital" : { + "dataTypes" : [ "NULL", "STRING(6)" ], + "lastMatchedDataType" : "STRING(6)" + } + }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69c4cb66a6fb9b4275d909de", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "building", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "cpi_patient_building_idx", + "primaryKey" : "false", + "unique" : false + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "other_doc_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "cpi_patient_doc_no_idx", + "primaryKey" : "false", + "unique" : false + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hkid", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "cpi_patient_hkid_idx", + "primaryKey" : "false", + "unique" : true + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "patient_key", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "cpi_patient_idx", + "primaryKey" : "false", + "unique" : true + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "patient_name", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "cpi_patient_nam_idx", + "primaryKey" : "false", + "unique" : false + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "patient_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "cpi_patient_no_idx", + "primaryKey" : "false", + "unique" : true + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "phone1", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "cpi_patient_phone_idx", + "primaryKey" : "false", + "unique" : false + } ], + "is_deleted" : false, + "listtags" : [ { + "id" : "696edd031a2a38312f71262f", + "value" : "HPI" + } ], + "meta_type" : "table", + "name" : "FDM_HPI_cpi_patient", + "original_name" : "FDM_HPI_cpi_patient", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_FDM_HPI_cpi_patient_695497a235a6fa1717313957", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "4.4.23", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 96, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "8b3dec60-f765-45b0-84ef-86276d64af9a", + "status" : "ready", + "submit" : true, + "tableCount" : 96, + "testTime" : 1768413601145, + "transformed" : true + }, + "sourceType" : "SOURCE", + "tableAttr" : { + "avgObjSize" : 790, + "capped" : false, + "ns" : "FDM.FDM_HPI_cpi_patient", + "shard" : { }, + "size" : 158097290, + "storageSize" : 23674880 + }, + "transformUuid" : "1769674799829", + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "cpi_patient_hospital_data", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774504806429, + "databaseId" : "69549862aedd5fe4733b3966", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "columnSize" : 100, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_hospital_data__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "oriPrecision" : 100, + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "table_name" : "FDM_HPI_cpi_patient_hospital_data", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "patient_key", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_hospital_data_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(16)", + "original_field_name" : "patient_key", + "previousDataType" : "character varying(16)", + "previousFieldName" : "patient_key", + "primaryKey" : true, + "primary_key_position" : 1, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_hospital_data_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "character varying(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : true, + "primary_key_position" : 2, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "mrn", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_hospital_data_mrn", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(16)", + "original_field_name" : "mrn", + "previousDataType" : "character varying(16)", + "previousFieldName" : "mrn", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(510)", + "data_type" : "STRING(510)", + "default_value" : null, + "field_name" : "remark", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_hospital_data_remark", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(510)", + "original_field_name" : "remark", + "previousDataType" : "character varying(510)", + "previousFieldName" : "remark", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":510,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_hospital_data_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(16)", + "original_field_name" : "create_by", + "previousDataType" : "character varying(16)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_hospital_data_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "create_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_hospital_data_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(24)", + "original_field_name" : "update_by", + "previousDataType" : "character varying(24)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_hospital_data_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "update_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "row_update_datetime", + "id" : "695497a235a6fa1717313957_FDM_HPI_cpi_patient_hospital_data_row_update_datetime", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "row_update_datetime", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "row_update_datetime", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { + "create_by" : { + "dataTypes" : [ "NULL", "STRING(16)" ], + "lastMatchedDataType" : "STRING(16)" + }, + "create_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "hospital_code" : { + "dataTypes" : [ "NULL", "STRING(6)" ], + "lastMatchedDataType" : "STRING(6)" + }, + "mrn" : { + "dataTypes" : [ "NULL", "STRING(16)" ], + "lastMatchedDataType" : "STRING(16)" + }, + "patient_key" : { + "dataTypes" : [ "NULL", "STRING(16)" ], + "lastMatchedDataType" : "STRING(16)" + }, + "remark" : { + "dataTypes" : [ "NULL", "STRING(510)" ], + "lastMatchedDataType" : "STRING(510)" + }, + "row_update_datetime" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "update_by" : { + "dataTypes" : [ "NULL", "STRING(24)" ], + "lastMatchedDataType" : "STRING(24)" + }, + "update_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + } + }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69c4cb66a6fb9b4275d909df", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "mrn", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "idx_cpi_patient_hospital_data_mrn", + "primaryKey" : "false", + "unique" : false + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "patient_key", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "pk_cpi_patient_hospital_data", + "primaryKey" : "true", + "unique" : true + } ], + "is_deleted" : false, + "listtags" : [ { + "id" : "696edd031a2a38312f71262f", + "value" : "HPI" + } ], + "meta_type" : "table", + "name" : "FDM_HPI_cpi_patient_hospital_data", + "original_name" : "FDM_HPI_cpi_patient_hospital_data", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_FDM_HPI_cpi_patient_hospital_data_695497a235a6fa1717313957", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "4.4.23", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 96, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "8b3dec60-f765-45b0-84ef-86276d64af9a", + "status" : "ready", + "submit" : true, + "tableCount" : 96, + "testTime" : 1768413601145, + "transformed" : true + }, + "sourceType" : "SOURCE", + "tableAttr" : { + "avgObjSize" : 216, + "capped" : false, + "ns" : "FDM.FDM_HPI_cpi_patient_hospital_data", + "shard" : { }, + "size" : 78738637, + "storageSize" : 12361728 + }, + "transformUuid" : "1769674799829", + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "FDM_PWH_CMS_discharge_information", + "comment" : "", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774503794797, + "databaseId" : "69549862aedd5fe4733b3966", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_PWH_CMS_discharge_information__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "695497a235a6fa1717313957_FDM_PWH_CMS_discharge_information_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "695497a235a6fa1717313957_FDM_PWH_CMS_discharge_information_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "case_no", + "previousDataType" : "STRING(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "specialty", + "id" : "695497a235a6fa1717313957_FDM_PWH_CMS_discharge_information_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(8)", + "original_field_name" : "specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "ho_id", + "id" : "695497a235a6fa1717313957_FDM_PWH_CMS_discharge_information_ho_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "ho_id", + "previousDataType" : "STRING(12)", + "previousFieldName" : "ho_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "mo_in_charge_id", + "id" : "695497a235a6fa1717313957_FDM_PWH_CMS_discharge_information_mo_in_charge_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "mo_in_charge_id", + "previousDataType" : "STRING(12)", + "previousFieldName" : "mo_in_charge_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa1717313957_FDM_PWH_CMS_discharge_information_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "create_by", + "previousDataType" : "STRING(12)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa1717313957_FDM_PWH_CMS_discharge_information_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "create_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa1717313957_FDM_PWH_CMS_discharge_information_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "update_by", + "previousDataType" : "STRING(12)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "695497a235a6fa1717313957_FDM_PWH_CMS_discharge_information_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "update_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "specialist_ic", + "id" : "695497a235a6fa1717313957_FDM_PWH_CMS_discharge_information_specialist_ic", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "specialist_ic", + "previousDataType" : "STRING(12)", + "previousFieldName" : "specialist_ic", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "admit_mode", + "id" : "695497a235a6fa1717313957_FDM_PWH_CMS_discharge_information_admit_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "INT32", + "original_field_name" : "admit_mode", + "previousDataType" : "INT32", + "previousFieldName" : "admit_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "admit_team", + "id" : "695497a235a6fa1717313957_FDM_PWH_CMS_discharge_information_admit_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "admit_team", + "previousDataType" : "STRING(5)", + "previousFieldName" : "admit_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "admit_physician", + "id" : "695497a235a6fa1717313957_FDM_PWH_CMS_discharge_information_admit_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "admit_physician", + "previousDataType" : "STRING(12)", + "previousFieldName" : "admit_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "admit_doctor", + "id" : "695497a235a6fa1717313957_FDM_PWH_CMS_discharge_information_admit_doctor", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "admit_doctor", + "previousDataType" : "STRING(12)", + "previousFieldName" : "admit_doctor", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "expected_discharge_date", + "id" : "695497a235a6fa1717313957_FDM_PWH_CMS_discharge_information_expected_discharge_date", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "expected_discharge_date", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "expected_discharge_date", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "data_type" : "STRING(1)", + "default_value" : null, + "field_name" : "discharge_mode", + "id" : "695497a235a6fa1717313957_FDM_PWH_CMS_discharge_information_discharge_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(1)", + "original_field_name" : "discharge_mode", + "previousDataType" : "STRING(1)", + "previousFieldName" : "discharge_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":1,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "discharge_destination", + "id" : "695497a235a6fa1717313957_FDM_PWH_CMS_discharge_information_discharge_destination", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "discharge_destination", + "previousDataType" : "STRING(5)", + "previousFieldName" : "discharge_destination", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "discharge_team", + "id" : "695497a235a6fa1717313957_FDM_PWH_CMS_discharge_information_discharge_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "discharge_team", + "previousDataType" : "STRING(5)", + "previousFieldName" : "discharge_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "discharge_physician", + "id" : "695497a235a6fa1717313957_FDM_PWH_CMS_discharge_information_discharge_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "discharge_physician", + "previousDataType" : "STRING(12)", + "previousFieldName" : "discharge_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "data_type" : "BINARY", + "default_value" : null, + "field_name" : "timestamp", + "id" : "695497a235a6fa1717313957_FDM_PWH_CMS_discharge_information_timestamp", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "BINARY", + "original_field_name" : "timestamp", + "previousDataType" : "BINARY", + "previousFieldName" : "timestamp", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "bytea", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16777215,\"type\":9}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "sick_leave_from_dtm", + "id" : "695497a235a6fa1717313957_FDM_PWH_CMS_discharge_information_sick_leave_from_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "sick_leave_from_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "sick_leave_from_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "sick_leave_to_dtm", + "id" : "695497a235a6fa1717313957_FDM_PWH_CMS_discharge_information_sick_leave_to_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "sick_leave_to_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "sick_leave_to_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + } ], + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69c4c772a6fb9b4275d84412", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_discharge_information_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "listtags" : [ { + "id" : "69c4c892eef80e8a0a8b773b", + "value" : "PWH_PG_CMS" + }, { + "id" : "69c4f0cd7bb8cf2020134398", + "value" : "PWH_PG_CMS" + } ], + "meta_type" : "table", + "name" : "FDM_PWH_CMS_discharge_information", + "original_name" : "FDM_PWH_CMS_discharge_information", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_FDM_PWH_CMS_discharge_information_695497a235a6fa1717313957", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "5f5212c0-2fb9-4281-8ecb-72d883bd32b3", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504239647, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "SOURCE", + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "FDM_QMH_CMSIP_discharge_information", + "comment" : "", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1773721037611, + "databaseId" : "69549862aedd5fe4733b3966", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "case_no", + "previousDataType" : "STRING(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "specialty", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(8)", + "original_field_name" : "specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "ho_id", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_ho_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "ho_id", + "previousDataType" : "STRING(12)", + "previousFieldName" : "ho_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "mo_in_charge_id", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_mo_in_charge_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "mo_in_charge_id", + "previousDataType" : "STRING(12)", + "previousFieldName" : "mo_in_charge_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "create_by", + "previousDataType" : "STRING(12)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "create_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "update_by", + "previousDataType" : "STRING(12)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "update_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "specialist_ic", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_specialist_ic", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "specialist_ic", + "previousDataType" : "STRING(12)", + "previousFieldName" : "specialist_ic", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "admit_mode", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_admit_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "INT32", + "original_field_name" : "admit_mode", + "previousDataType" : "INT32", + "previousFieldName" : "admit_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "admit_team", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_admit_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "admit_team", + "previousDataType" : "STRING(5)", + "previousFieldName" : "admit_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "admit_physician", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_admit_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "admit_physician", + "previousDataType" : "STRING(12)", + "previousFieldName" : "admit_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "admit_doctor", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_admit_doctor", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "admit_doctor", + "previousDataType" : "STRING(12)", + "previousFieldName" : "admit_doctor", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "expected_discharge_date", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_expected_discharge_date", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "expected_discharge_date", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "expected_discharge_date", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "data_type" : "STRING(1)", + "default_value" : null, + "field_name" : "discharge_mode", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_discharge_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(1)", + "original_field_name" : "discharge_mode", + "previousDataType" : "STRING(1)", + "previousFieldName" : "discharge_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":1,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "discharge_destination", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_discharge_destination", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "discharge_destination", + "previousDataType" : "STRING(5)", + "previousFieldName" : "discharge_destination", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "discharge_team", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_discharge_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "discharge_team", + "previousDataType" : "STRING(5)", + "previousFieldName" : "discharge_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "discharge_physician", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_discharge_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "discharge_physician", + "previousDataType" : "STRING(12)", + "previousFieldName" : "discharge_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "data_type" : "BINARY", + "default_value" : null, + "field_name" : "timestamp", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_timestamp", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "BINARY", + "original_field_name" : "timestamp", + "previousDataType" : "BINARY", + "previousFieldName" : "timestamp", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "bytea", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16777215,\"type\":9}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "sick_leave_from_dtm", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_sick_leave_from_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "sick_leave_from_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "sick_leave_from_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "sick_leave_to_dtm", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_sick_leave_to_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "sick_leave_to_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "sick_leave_to_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + } ], + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69b8d5cd7e25a691d4101070", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_discharge_information_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "listtags" : [ { + "id" : "69b9ffd1a7ef2755ba2a0102", + "value" : "QMH_PG_CMS" + } ], + "meta_type" : "table", + "name" : "FDM_QMH_CMSIP_discharge_information", + "original_name" : "FDM_QMH_CMSIP_discharge_information", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_FDM_QMH_CMSIP_discharge_information_695497a235a6fa1717313957", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "5f5212c0-2fb9-4281-8ecb-72d883bd32b3", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504239647, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "SOURCE", + "tableAttr" : { + "avgObjSize" : 451, + "capped" : false, + "ns" : "FDM.FDM_QMH_CMSIP_discharge_information", + "shard" : { }, + "size" : 4517457, + "storageSize" : 659456 + }, + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "FDM_QMH_HPI_cpi_case", + "comment" : "", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1773720984451, + "databaseId" : "69549862aedd5fe4733b3966", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "case_no", + "previousDataType" : "STRING(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "patient_key", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "patient_key", + "previousDataType" : "STRING(16)", + "previousFieldName" : "patient_key", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "case_type", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_case_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "case_type", + "previousDataType" : "STRING(2)", + "previousFieldName" : "case_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "admission_dtm", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_admission_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "admission_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "admission_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "source_indicator", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_source_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "source_indicator", + "previousDataType" : "STRING(2)", + "previousFieldName" : "source_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "source_code", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_source_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(6)", + "original_field_name" : "source_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "source_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "patient_type", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_patient_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "patient_type", + "previousDataType" : "STRING(6)", + "previousFieldName" : "patient_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "discharge_code", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_discharge_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "discharge_code", + "previousDataType" : "STRING(2)", + "previousFieldName" : "discharge_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "discharge_dtm", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_discharge_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "discharge_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "discharge_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "destination_code", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_destination_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(6)", + "original_field_name" : "destination_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "destination_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_specialty", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_last_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "last_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_sub_specialty", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_last_sub_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_sub_specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "last_sub_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_ward_code", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_last_ward_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_ward_code", + "previousDataType" : "STRING(8)", + "previousFieldName" : "last_ward_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "last_ward_class", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_last_ward_class", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "last_ward_class", + "previousDataType" : "STRING(2)", + "previousFieldName" : "last_ward_class", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "last_bed_no", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_last_bed_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "last_bed_no", + "previousDataType" : "STRING(10)", + "previousFieldName" : "last_bed_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "pp_code", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_pp_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(16)", + "original_field_name" : "pp_code", + "previousDataType" : "STRING(16)", + "previousFieldName" : "pp_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "access_code", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_access_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "INT32", + "original_field_name" : "access_code", + "previousDataType" : "INT32", + "previousFieldName" : "access_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "status_code", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_status_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(4)", + "original_field_name" : "status_code", + "previousDataType" : "STRING(4)", + "previousFieldName" : "status_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "create_by", + "previousDataType" : "STRING(24)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "create_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "update_by", + "previousDataType" : "STRING(24)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 23, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "update_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 24, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "row_update_datetime", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_row_update_datetime", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "row_update_datetime", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "row_update_datetime", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 25, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "movement_count", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_movement_count", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "movement_count", + "previousDataType" : "INT32", + "previousFieldName" : "movement_count", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 26, + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "district_code", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_district_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "district_code", + "previousDataType" : "STRING(10)", + "previousFieldName" : "district_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 27, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "mrt_indicator", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_mrt_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "mrt_indicator", + "previousDataType" : "STRING(2)", + "previousFieldName" : "mrt_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 28, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "document_flag", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_document_flag", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "document_flag", + "previousDataType" : "STRING(2)", + "previousFieldName" : "document_flag", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69b8d5987e25a691d4100fe6", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_cpi_case_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "listtags" : [ { + "id" : "69b9ffd1a7ef2755ba2a0101", + "value" : "QMH_PG_HPI" + } ], + "meta_type" : "table", + "name" : "FDM_QMH_HPI_cpi_case", + "original_name" : "FDM_QMH_HPI_cpi_case", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_FDM_QMH_HPI_cpi_case_695497a235a6fa1717313957", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "5f5212c0-2fb9-4281-8ecb-72d883bd32b3", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504239647, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "SOURCE", + "tableAttr" : { + "avgObjSize" : 588, + "capped" : false, + "ns" : "FDM.FDM_QMH_HPI_cpi_case", + "shard" : { }, + "size" : 5806147, + "storageSize" : 4096 + }, + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "FDM_QMH_HPI_cpi_patient", + "comment" : "", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1773720984741, + "databaseId" : "69549862aedd5fe4733b3966", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "patient_key", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "patient_key", + "previousDataType" : "STRING(16)", + "previousFieldName" : "patient_key", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "hkid", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_hkid", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "hkid", + "previousDataType" : "STRING(24)", + "previousFieldName" : "hkid", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "data_type" : "STRING(96)", + "default_value" : null, + "field_name" : "patient_name", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_patient_name", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(96)", + "original_field_name" : "patient_name", + "previousDataType" : "STRING(96)", + "previousFieldName" : "patient_name", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":96,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "sex", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_sex", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "sex", + "previousDataType" : "STRING(2)", + "previousFieldName" : "sex", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "cccode1", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_cccode1", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "cccode1", + "previousDataType" : "STRING(10)", + "previousFieldName" : "cccode1", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "cccode2", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_cccode2", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "cccode2", + "previousDataType" : "STRING(10)", + "previousFieldName" : "cccode2", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "cccode3", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_cccode3", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "cccode3", + "previousDataType" : "STRING(10)", + "previousFieldName" : "cccode3", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "cccode4", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_cccode4", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "cccode4", + "previousDataType" : "STRING(10)", + "previousFieldName" : "cccode4", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "cccode5", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_cccode5", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "cccode5", + "previousDataType" : "STRING(10)", + "previousFieldName" : "cccode5", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "cccode6", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_cccode6", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "cccode6", + "previousDataType" : "STRING(10)", + "previousFieldName" : "cccode6", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "chi_name", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_chi_name", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(24)", + "original_field_name" : "chi_name", + "previousDataType" : "STRING(24)", + "previousFieldName" : "chi_name", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "dob", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_dob", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "dob", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "dob", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "exact_dob_flag", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_exact_dob_flag", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "exact_dob_flag", + "previousDataType" : "STRING(2)", + "previousFieldName" : "exact_dob_flag", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "marital_status", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_marital_status", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "marital_status", + "previousDataType" : "STRING(2)", + "previousFieldName" : "marital_status", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "race", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_race", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(4)", + "original_field_name" : "race", + "previousDataType" : "STRING(4)", + "previousFieldName" : "race", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "other_doc_no", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_other_doc_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(24)", + "original_field_name" : "other_doc_no", + "previousDataType" : "STRING(24)", + "previousFieldName" : "other_doc_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "data_type" : "STRING(40)", + "default_value" : null, + "field_name" : "reference", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_reference", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(40)", + "original_field_name" : "reference", + "previousDataType" : "STRING(40)", + "previousFieldName" : "reference", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":40,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "data_type" : "STRING(94)", + "default_value" : null, + "field_name" : "building", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_building", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(94)", + "original_field_name" : "building", + "previousDataType" : "STRING(94)", + "previousFieldName" : "building", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":94,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "room", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_room", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "room", + "previousDataType" : "STRING(10)", + "previousFieldName" : "room", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "floor", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_floor", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(4)", + "original_field_name" : "floor", + "previousDataType" : "STRING(4)", + "previousFieldName" : "floor", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "block", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_block", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(4)", + "original_field_name" : "block", + "previousDataType" : "STRING(4)", + "previousFieldName" : "block", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "district", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_district", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "district", + "previousDataType" : "STRING(10)", + "previousFieldName" : "district", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 23, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "religion", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_religion", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(6)", + "original_field_name" : "religion", + "previousDataType" : "STRING(6)", + "previousFieldName" : "religion", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 24, + "data_type" : "STRING(20)", + "default_value" : null, + "field_name" : "phone1", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_phone1", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(20)", + "original_field_name" : "phone1", + "previousDataType" : "STRING(20)", + "previousFieldName" : "phone1", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":20,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 25, + "data_type" : "STRING(20)", + "default_value" : null, + "field_name" : "phone2", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_phone2", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(20)", + "original_field_name" : "phone2", + "previousDataType" : "STRING(20)", + "previousFieldName" : "phone2", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":20,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 26, + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "address_indicator", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_address_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "address_indicator", + "previousDataType" : "STRING(8)", + "previousFieldName" : "address_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 27, + "data_type" : "STRING(20)", + "default_value" : null, + "field_name" : "mobile_phone", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_mobile_phone", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(20)", + "original_field_name" : "mobile_phone", + "previousDataType" : "STRING(20)", + "previousFieldName" : "mobile_phone", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":20,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 28, + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "sms_language", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_sms_language", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "sms_language", + "previousDataType" : "STRING(8)", + "previousFieldName" : "sms_language", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 29, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "death_indicator", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_death_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "death_indicator", + "previousDataType" : "STRING(2)", + "previousFieldName" : "death_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 30, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "death_date", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_death_date", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "death_date", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "death_date", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 31, + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "death_code", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_death_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "death_code", + "previousDataType" : "STRING(8)", + "previousFieldName" : "death_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 32, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "card_holder", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_card_holder", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "INT32", + "original_field_name" : "card_holder", + "previousDataType" : "INT32", + "previousFieldName" : "card_holder", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 33, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "access_code", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_access_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "access_code", + "previousDataType" : "INT32", + "previousFieldName" : "access_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 34, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "security", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_security", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "security", + "previousDataType" : "INT32", + "previousFieldName" : "security", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 35, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "patient_no", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_patient_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "patient_no", + "previousDataType" : "INT32", + "previousFieldName" : "patient_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 36, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "create_hospital", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_create_hospital", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(6)", + "original_field_name" : "create_hospital", + "previousDataType" : "STRING(6)", + "previousFieldName" : "create_hospital", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 37, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "create_by", + "previousDataType" : "STRING(24)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 38, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "create_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 39, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "update_hospital", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_update_hospital", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "update_hospital", + "previousDataType" : "STRING(6)", + "previousFieldName" : "update_hospital", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 40, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "update_by", + "previousDataType" : "STRING(24)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 41, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "update_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 42, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "rep_clusters", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_rep_clusters", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "rep_clusters", + "previousDataType" : "INT32", + "previousFieldName" : "rep_clusters", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 43, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "init_hospital", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_init_hospital", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "INT32", + "original_field_name" : "init_hospital", + "previousDataType" : "INT32", + "previousFieldName" : "init_hospital", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 44, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "init_source", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_init_source", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "INT32", + "original_field_name" : "init_source", + "previousDataType" : "INT32", + "previousFieldName" : "init_source", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 45, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "row_update_datetime", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_row_update_datetime", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "row_update_datetime", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "row_update_datetime", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 46, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "rep_hosp1", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_rep_hosp1", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "rep_hosp1", + "previousDataType" : "INT32", + "previousFieldName" : "rep_hosp1", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 47, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "rep_hosp2", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_rep_hosp2", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "rep_hosp2", + "previousDataType" : "INT32", + "previousFieldName" : "rep_hosp2", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 48, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "rep_clinic1", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_rep_clinic1", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "rep_clinic1", + "previousDataType" : "INT32", + "previousFieldName" : "rep_clinic1", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 49, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "rep_clinic2", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_rep_clinic2", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "rep_clinic2", + "previousDataType" : "INT32", + "previousFieldName" : "rep_clinic2", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 50, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "body_category", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_body_category", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "body_category", + "previousDataType" : "STRING(2)", + "previousFieldName" : "body_category", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 51, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "hkic_symbol", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_hkic_symbol", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "hkic_symbol", + "previousDataType" : "STRING(2)", + "previousFieldName" : "hkic_symbol", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69b8d5987e25a691d4100fe8", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hkid", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_cpi_patient_hkid", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "listtags" : [ { + "id" : "69b9ffd1a7ef2755ba2a0101", + "value" : "QMH_PG_HPI" + } ], + "meta_type" : "table", + "name" : "FDM_QMH_HPI_cpi_patient", + "original_name" : "FDM_QMH_HPI_cpi_patient", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_FDM_QMH_HPI_cpi_patient_695497a235a6fa1717313957", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "5f5212c0-2fb9-4281-8ecb-72d883bd32b3", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504239647, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "SOURCE", + "tableAttr" : { + "avgObjSize" : 791, + "capped" : false, + "ns" : "FDM.FDM_QMH_HPI_cpi_patient", + "shard" : { }, + "size" : 5746076, + "storageSize" : 819200 + }, + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "FDM_QMH_HPI_cpi_patient_hospital_data", + "comment" : "", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1773720985056, + "databaseId" : "69549862aedd5fe4733b3966", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_hospital_data__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "patient_key", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_hospital_data_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "patient_key", + "previousDataType" : "STRING(16)", + "previousFieldName" : "patient_key", + "primaryKey" : true, + "primary_key_position" : 1, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_hospital_data_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : true, + "primary_key_position" : 2, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "mrn", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_hospital_data_mrn", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "mrn", + "previousDataType" : "STRING(16)", + "previousFieldName" : "mrn", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "data_type" : "STRING(510)", + "default_value" : null, + "field_name" : "remark", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_hospital_data_remark", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(510)", + "original_field_name" : "remark", + "previousDataType" : "STRING(510)", + "previousFieldName" : "remark", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":510,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_hospital_data_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(16)", + "original_field_name" : "create_by", + "previousDataType" : "STRING(16)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_hospital_data_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "create_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_hospital_data_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(24)", + "original_field_name" : "update_by", + "previousDataType" : "STRING(24)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_hospital_data_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "update_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "row_update_datetime", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_patient_hospital_data_row_update_datetime", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "row_update_datetime", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "row_update_datetime", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + } ], + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69b8d5997e25a691d4100fe9", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "patient_key", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "cpi_patient_hospital_data_pkey", + "primaryKey" : "true", + "unique" : true + } ], + "is_deleted" : false, + "listtags" : [ { + "id" : "69b9ffd1a7ef2755ba2a0101", + "value" : "QMH_PG_HPI" + } ], + "meta_type" : "table", + "name" : "FDM_QMH_HPI_cpi_patient_hospital_data", + "original_name" : "FDM_QMH_HPI_cpi_patient_hospital_data", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_FDM_QMH_HPI_cpi_patient_hospital_data_695497a235a6fa1717313957", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "5f5212c0-2fb9-4281-8ecb-72d883bd32b3", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504239647, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "SOURCE", + "tableAttr" : { + "avgObjSize" : 217, + "capped" : false, + "ns" : "FDM.FDM_QMH_HPI_cpi_patient_hospital_data", + "shard" : { }, + "size" : 1576288, + "storageSize" : 245760 + }, + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "FDM_TMH_CMSIP_discharge_information", + "comment" : "", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1773731415685, + "databaseId" : "69549862aedd5fe4733b3966", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "case_no", + "previousDataType" : "STRING(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "specialty", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(8)", + "original_field_name" : "specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "ho_id", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_ho_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "ho_id", + "previousDataType" : "STRING(12)", + "previousFieldName" : "ho_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "mo_in_charge_id", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_mo_in_charge_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "mo_in_charge_id", + "previousDataType" : "STRING(12)", + "previousFieldName" : "mo_in_charge_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "create_by", + "previousDataType" : "STRING(12)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "create_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "update_by", + "previousDataType" : "STRING(12)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "update_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "specialist_ic", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_specialist_ic", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "specialist_ic", + "previousDataType" : "STRING(12)", + "previousFieldName" : "specialist_ic", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "admit_mode", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_admit_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "INT32", + "original_field_name" : "admit_mode", + "previousDataType" : "INT32", + "previousFieldName" : "admit_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "admit_team", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_admit_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "admit_team", + "previousDataType" : "STRING(5)", + "previousFieldName" : "admit_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "admit_physician", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_admit_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "admit_physician", + "previousDataType" : "STRING(12)", + "previousFieldName" : "admit_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "admit_doctor", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_admit_doctor", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "admit_doctor", + "previousDataType" : "STRING(12)", + "previousFieldName" : "admit_doctor", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "expected_discharge_date", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_expected_discharge_date", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "expected_discharge_date", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "expected_discharge_date", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "data_type" : "STRING(1)", + "default_value" : null, + "field_name" : "discharge_mode", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_discharge_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(1)", + "original_field_name" : "discharge_mode", + "previousDataType" : "STRING(1)", + "previousFieldName" : "discharge_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":1,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "discharge_destination", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_discharge_destination", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "discharge_destination", + "previousDataType" : "STRING(5)", + "previousFieldName" : "discharge_destination", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "discharge_team", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_discharge_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "discharge_team", + "previousDataType" : "STRING(5)", + "previousFieldName" : "discharge_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "discharge_physician", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_discharge_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "discharge_physician", + "previousDataType" : "STRING(12)", + "previousFieldName" : "discharge_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "data_type" : "BINARY", + "default_value" : null, + "field_name" : "timestamp", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_timestamp", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "BINARY", + "original_field_name" : "timestamp", + "previousDataType" : "BINARY", + "previousFieldName" : "timestamp", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "bytea", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16777215,\"type\":9}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "sick_leave_from_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_sick_leave_from_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "sick_leave_from_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "sick_leave_from_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "sick_leave_to_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_sick_leave_to_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "sick_leave_to_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "sick_leave_to_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + } ], + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69b8fe577e25a691d41189b6", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_discharge_information_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "listtags" : [ { + "id" : "69b9ffd1a7ef2755ba2a0106", + "value" : "TMH_PG_CMS" + } ], + "meta_type" : "table", + "name" : "FDM_TMH_CMSIP_discharge_information", + "original_name" : "FDM_TMH_CMSIP_discharge_information", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_FDM_TMH_CMSIP_discharge_information_695497a235a6fa1717313957", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "5f5212c0-2fb9-4281-8ecb-72d883bd32b3", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504239647, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "SOURCE", + "tableAttr" : { + "avgObjSize" : 451, + "capped" : false, + "ns" : "FDM.FDM_TMH_CMSIP_discharge_information", + "shard" : { }, + "size" : 4517911, + "storageSize" : 671744 + }, + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "FDM_TMH_HPI_cpi_case", + "comment" : "", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1773731415079, + "databaseId" : "69549862aedd5fe4733b3966", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "case_no", + "previousDataType" : "STRING(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "patient_key", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "patient_key", + "previousDataType" : "STRING(16)", + "previousFieldName" : "patient_key", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "case_type", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_case_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "case_type", + "previousDataType" : "STRING(2)", + "previousFieldName" : "case_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "admission_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_admission_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "admission_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "admission_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "source_indicator", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_source_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "source_indicator", + "previousDataType" : "STRING(2)", + "previousFieldName" : "source_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "source_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_source_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(6)", + "original_field_name" : "source_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "source_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "patient_type", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_patient_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "patient_type", + "previousDataType" : "STRING(6)", + "previousFieldName" : "patient_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "discharge_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_discharge_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "discharge_code", + "previousDataType" : "STRING(2)", + "previousFieldName" : "discharge_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "discharge_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_discharge_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "discharge_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "discharge_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "destination_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_destination_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(6)", + "original_field_name" : "destination_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "destination_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_specialty", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_last_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "last_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_sub_specialty", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_last_sub_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_sub_specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "last_sub_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_ward_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_last_ward_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_ward_code", + "previousDataType" : "STRING(8)", + "previousFieldName" : "last_ward_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "last_ward_class", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_last_ward_class", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "last_ward_class", + "previousDataType" : "STRING(2)", + "previousFieldName" : "last_ward_class", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "last_bed_no", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_last_bed_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "last_bed_no", + "previousDataType" : "STRING(10)", + "previousFieldName" : "last_bed_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "pp_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_pp_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(16)", + "original_field_name" : "pp_code", + "previousDataType" : "STRING(16)", + "previousFieldName" : "pp_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "access_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_access_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "INT32", + "original_field_name" : "access_code", + "previousDataType" : "INT32", + "previousFieldName" : "access_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "status_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_status_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(4)", + "original_field_name" : "status_code", + "previousDataType" : "STRING(4)", + "previousFieldName" : "status_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "create_by", + "previousDataType" : "STRING(24)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "create_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "update_by", + "previousDataType" : "STRING(24)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 23, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "update_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 24, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "row_update_datetime", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_row_update_datetime", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "row_update_datetime", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "row_update_datetime", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 25, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "movement_count", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_movement_count", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "movement_count", + "previousDataType" : "INT32", + "previousFieldName" : "movement_count", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 26, + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "district_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_district_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "district_code", + "previousDataType" : "STRING(10)", + "previousFieldName" : "district_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 27, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "mrt_indicator", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_mrt_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "mrt_indicator", + "previousDataType" : "STRING(2)", + "previousFieldName" : "mrt_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 28, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "document_flag", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_document_flag", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "document_flag", + "previousDataType" : "STRING(2)", + "previousFieldName" : "document_flag", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69b8fe577e25a691d41189b1", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_cpi_case_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "listtags" : [ { + "id" : "69b9ffd1a7ef2755ba2a0105", + "value" : "TMH_PG_HPI" + } ], + "meta_type" : "table", + "name" : "FDM_TMH_HPI_cpi_case", + "original_name" : "FDM_TMH_HPI_cpi_case", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_FDM_TMH_HPI_cpi_case_695497a235a6fa1717313957", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "5f5212c0-2fb9-4281-8ecb-72d883bd32b3", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504239647, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "SOURCE", + "tableAttr" : { + "capped" : false, + "ns" : "FDM.FDM_TMH_HPI_cpi_case", + "shard" : { }, + "size" : 0, + "storageSize" : 4096 + }, + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "FDM_TMH_HPI_cpi_patient", + "comment" : "", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1773731414773, + "databaseId" : "69549862aedd5fe4733b3966", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "patient_key", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "patient_key", + "previousDataType" : "STRING(16)", + "previousFieldName" : "patient_key", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "hkid", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_hkid", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "hkid", + "previousDataType" : "STRING(24)", + "previousFieldName" : "hkid", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "data_type" : "STRING(96)", + "default_value" : null, + "field_name" : "patient_name", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_patient_name", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(96)", + "original_field_name" : "patient_name", + "previousDataType" : "STRING(96)", + "previousFieldName" : "patient_name", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":96,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "sex", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_sex", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "sex", + "previousDataType" : "STRING(2)", + "previousFieldName" : "sex", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "cccode1", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_cccode1", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "cccode1", + "previousDataType" : "STRING(10)", + "previousFieldName" : "cccode1", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "cccode2", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_cccode2", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "cccode2", + "previousDataType" : "STRING(10)", + "previousFieldName" : "cccode2", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "cccode3", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_cccode3", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "cccode3", + "previousDataType" : "STRING(10)", + "previousFieldName" : "cccode3", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "cccode4", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_cccode4", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "cccode4", + "previousDataType" : "STRING(10)", + "previousFieldName" : "cccode4", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "cccode5", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_cccode5", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "cccode5", + "previousDataType" : "STRING(10)", + "previousFieldName" : "cccode5", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "cccode6", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_cccode6", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "cccode6", + "previousDataType" : "STRING(10)", + "previousFieldName" : "cccode6", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "chi_name", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_chi_name", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(24)", + "original_field_name" : "chi_name", + "previousDataType" : "STRING(24)", + "previousFieldName" : "chi_name", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "dob", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_dob", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "dob", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "dob", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "exact_dob_flag", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_exact_dob_flag", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "exact_dob_flag", + "previousDataType" : "STRING(2)", + "previousFieldName" : "exact_dob_flag", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "marital_status", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_marital_status", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "marital_status", + "previousDataType" : "STRING(2)", + "previousFieldName" : "marital_status", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "race", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_race", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(4)", + "original_field_name" : "race", + "previousDataType" : "STRING(4)", + "previousFieldName" : "race", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "other_doc_no", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_other_doc_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(24)", + "original_field_name" : "other_doc_no", + "previousDataType" : "STRING(24)", + "previousFieldName" : "other_doc_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "data_type" : "STRING(40)", + "default_value" : null, + "field_name" : "reference", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_reference", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(40)", + "original_field_name" : "reference", + "previousDataType" : "STRING(40)", + "previousFieldName" : "reference", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":40,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "data_type" : "STRING(94)", + "default_value" : null, + "field_name" : "building", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_building", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(94)", + "original_field_name" : "building", + "previousDataType" : "STRING(94)", + "previousFieldName" : "building", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":94,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "room", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_room", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "room", + "previousDataType" : "STRING(10)", + "previousFieldName" : "room", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "floor", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_floor", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(4)", + "original_field_name" : "floor", + "previousDataType" : "STRING(4)", + "previousFieldName" : "floor", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "block", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_block", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(4)", + "original_field_name" : "block", + "previousDataType" : "STRING(4)", + "previousFieldName" : "block", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "district", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_district", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "district", + "previousDataType" : "STRING(10)", + "previousFieldName" : "district", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 23, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "religion", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_religion", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(6)", + "original_field_name" : "religion", + "previousDataType" : "STRING(6)", + "previousFieldName" : "religion", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 24, + "data_type" : "STRING(20)", + "default_value" : null, + "field_name" : "phone1", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_phone1", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(20)", + "original_field_name" : "phone1", + "previousDataType" : "STRING(20)", + "previousFieldName" : "phone1", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":20,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 25, + "data_type" : "STRING(20)", + "default_value" : null, + "field_name" : "phone2", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_phone2", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(20)", + "original_field_name" : "phone2", + "previousDataType" : "STRING(20)", + "previousFieldName" : "phone2", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":20,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 26, + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "address_indicator", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_address_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "address_indicator", + "previousDataType" : "STRING(8)", + "previousFieldName" : "address_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 27, + "data_type" : "STRING(20)", + "default_value" : null, + "field_name" : "mobile_phone", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_mobile_phone", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(20)", + "original_field_name" : "mobile_phone", + "previousDataType" : "STRING(20)", + "previousFieldName" : "mobile_phone", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":20,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 28, + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "sms_language", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_sms_language", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "sms_language", + "previousDataType" : "STRING(8)", + "previousFieldName" : "sms_language", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 29, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "death_indicator", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_death_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "death_indicator", + "previousDataType" : "STRING(2)", + "previousFieldName" : "death_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 30, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "death_date", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_death_date", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "death_date", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "death_date", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 31, + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "death_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_death_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "death_code", + "previousDataType" : "STRING(8)", + "previousFieldName" : "death_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 32, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "card_holder", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_card_holder", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "INT32", + "original_field_name" : "card_holder", + "previousDataType" : "INT32", + "previousFieldName" : "card_holder", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 33, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "access_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_access_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "access_code", + "previousDataType" : "INT32", + "previousFieldName" : "access_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 34, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "security", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_security", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "security", + "previousDataType" : "INT32", + "previousFieldName" : "security", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 35, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "patient_no", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_patient_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "patient_no", + "previousDataType" : "INT32", + "previousFieldName" : "patient_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 36, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "create_hospital", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_create_hospital", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(6)", + "original_field_name" : "create_hospital", + "previousDataType" : "STRING(6)", + "previousFieldName" : "create_hospital", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 37, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "create_by", + "previousDataType" : "STRING(24)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 38, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "create_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 39, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "update_hospital", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_update_hospital", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "update_hospital", + "previousDataType" : "STRING(6)", + "previousFieldName" : "update_hospital", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 40, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "update_by", + "previousDataType" : "STRING(24)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 41, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "update_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 42, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "rep_clusters", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_rep_clusters", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "rep_clusters", + "previousDataType" : "INT32", + "previousFieldName" : "rep_clusters", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 43, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "init_hospital", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_init_hospital", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "INT32", + "original_field_name" : "init_hospital", + "previousDataType" : "INT32", + "previousFieldName" : "init_hospital", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 44, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "init_source", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_init_source", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "INT32", + "original_field_name" : "init_source", + "previousDataType" : "INT32", + "previousFieldName" : "init_source", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 45, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "row_update_datetime", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_row_update_datetime", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "row_update_datetime", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "row_update_datetime", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 46, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "rep_hosp1", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_rep_hosp1", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "rep_hosp1", + "previousDataType" : "INT32", + "previousFieldName" : "rep_hosp1", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 47, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "rep_hosp2", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_rep_hosp2", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "rep_hosp2", + "previousDataType" : "INT32", + "previousFieldName" : "rep_hosp2", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 48, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "rep_clinic1", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_rep_clinic1", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "rep_clinic1", + "previousDataType" : "INT32", + "previousFieldName" : "rep_clinic1", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 49, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "rep_clinic2", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_rep_clinic2", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "rep_clinic2", + "previousDataType" : "INT32", + "previousFieldName" : "rep_clinic2", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 50, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "body_category", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_body_category", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "body_category", + "previousDataType" : "STRING(2)", + "previousFieldName" : "body_category", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 51, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "hkic_symbol", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_hkic_symbol", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "hkic_symbol", + "previousDataType" : "STRING(2)", + "previousFieldName" : "hkic_symbol", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69b8fe567e25a691d41189b0", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hkid", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_cpi_patient_hkid", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "listtags" : [ { + "id" : "69b9ffd1a7ef2755ba2a0105", + "value" : "TMH_PG_HPI" + } ], + "meta_type" : "table", + "name" : "FDM_TMH_HPI_cpi_patient", + "original_name" : "FDM_TMH_HPI_cpi_patient", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_FDM_TMH_HPI_cpi_patient_695497a235a6fa1717313957", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "5f5212c0-2fb9-4281-8ecb-72d883bd32b3", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504239647, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "SOURCE", + "tableAttr" : { + "capped" : false, + "ns" : "FDM.FDM_TMH_HPI_cpi_patient", + "shard" : { }, + "size" : 0, + "storageSize" : 4096 + }, + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "FDM_TMH_HPI_cpi_patient_hospital_data", + "comment" : "", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1773731415307, + "databaseId" : "69549862aedd5fe4733b3966", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_hospital_data__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "patient_key", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_hospital_data_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "patient_key", + "previousDataType" : "STRING(16)", + "previousFieldName" : "patient_key", + "primaryKey" : true, + "primary_key_position" : 1, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_hospital_data_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : true, + "primary_key_position" : 2, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "mrn", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_hospital_data_mrn", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "mrn", + "previousDataType" : "STRING(16)", + "previousFieldName" : "mrn", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "data_type" : "STRING(510)", + "default_value" : null, + "field_name" : "remark", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_hospital_data_remark", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(510)", + "original_field_name" : "remark", + "previousDataType" : "STRING(510)", + "previousFieldName" : "remark", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":510,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_hospital_data_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(16)", + "original_field_name" : "create_by", + "previousDataType" : "STRING(16)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_hospital_data_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "create_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_hospital_data_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(24)", + "original_field_name" : "update_by", + "previousDataType" : "STRING(24)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_hospital_data_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "update_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "row_update_datetime", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_patient_hospital_data_row_update_datetime", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "row_update_datetime", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "row_update_datetime", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + } ], + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69b8fe577e25a691d41189b4", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "patient_key", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "cpi_patient_hospital_data_pkey", + "primaryKey" : "true", + "unique" : true + } ], + "is_deleted" : false, + "listtags" : [ { + "id" : "69b9ffd1a7ef2755ba2a0105", + "value" : "TMH_PG_HPI" + } ], + "meta_type" : "table", + "name" : "FDM_TMH_HPI_cpi_patient_hospital_data", + "original_name" : "FDM_TMH_HPI_cpi_patient_hospital_data", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_FDM_TMH_HPI_cpi_patient_hospital_data_695497a235a6fa1717313957", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "5f5212c0-2fb9-4281-8ecb-72d883bd32b3", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504239647, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "SOURCE", + "tableAttr" : { + "avgObjSize" : 217, + "capped" : false, + "ns" : "FDM.FDM_TMH_HPI_cpi_patient_hospital_data", + "shard" : { }, + "size" : 1565004, + "storageSize" : 253952 + }, + "username" : "admin@admin.com" + } +} ] \ No newline at end of file diff --git a/case-team_tapdata_export/Connection/MDM_Connection_Config.json b/case-team_tapdata_export/Connection/MDM_Connection_Config.json new file mode 100644 index 0000000..04d3fc5 --- /dev/null +++ b/case-team_tapdata_export/Connection/MDM_Connection_Config.json @@ -0,0 +1,222 @@ +[ { + "collectionName" : "Connections", + "json" : { + "accessNodeProcessId" : "", + "accessNodeProcessIdList" : [ ], + "accessNodeType" : "AUTOMATIC_PLATFORM_ALLOCATION", + "agentTags" : [ ], + "capabilities" : [ { + "id" : "source_incremental_update_event_have_before", + "type" : 20 + }, { + "id" : "execute_command_function", + "type" : 11 + }, { + "id" : "batch_read_function", + "type" : 11 + }, { + "id" : "stream_read_function", + "type" : 11 + }, { + "id" : "batch_count_function", + "type" : 11 + }, { + "id" : "timestamp_to_stream_offset_function", + "type" : 11 + }, { + "id" : "write_record_function", + "type" : 11 + }, { + "id" : "query_by_advance_filter_function", + "type" : 11 + }, { + "id" : "create_table_v2_function", + "type" : 11 + }, { + "id" : "drop_table_function", + "type" : 11 + }, { + "id" : "create_index_function", + "type" : 11 + }, { + "id" : "query_indexes_function", + "type" : 11 + }, { + "id" : "count_by_partition_filter_function", + "type" : 11 + }, { + "id" : "get_read_partitions_function", + "type" : 11 + }, { + "id" : "query_field_min_max_value_function", + "type" : 11 + }, { + "id" : "transaction_begin_function", + "type" : 11 + }, { + "id" : "transaction_commit_function", + "type" : 11 + }, { + "id" : "transaction_rollback_function", + "type" : 11 + }, { + "id" : "get_table_info_function", + "type" : 11 + }, { + "id" : "get_table_names_function", + "type" : 11 + }, { + "id" : "error_handle_function", + "type" : 11 + }, { + "id" : "master_slave_merge", + "type" : 20 + }, { + "id" : "dynamic_schema", + "type" : 20 + }, { + "alternatives" : [ "update_on_exists", "ignore_on_exists", "just_insert" ], + "id" : "dml_insert_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_on_nonexists", "insert_on_nonexists", "log_on_nonexists" ], + "id" : "dml_update_policy", + "type" : 20 + }, { + "id" : "api_server_supported", + "type" : 20 + }, { + "id" : "source_support_exactly_once", + "type" : 20 + } ], + "config" : { + "__connectionType" : "source_and_target", + "id" : "695497a235a6fa171731395e", + "isUri" : true, + "mongodbLoadSchemaSampleSize" : 1000, + "schemaLimit" : 1024, + "ssl" : false + }, + "connection_type" : "source_and_target", + "createAt" : 1768803675304, + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "definitionBuildNumber" : "null", + "definitionGroup" : "io.tapdata", + "definitionPdkAPIVersion" : "2.0.6-SNAPSHOT", + "definitionPdkId" : "mongodb", + "definitionScope" : "public", + "definitionTags" : [ "schema-free", "Database", "doubleActive" ], + "definitionVersion" : "1.0-SNAPSHOT", + "everLoadSchema" : true, + "heartbeatEnable" : false, + "id" : "695497a235a6fa171731395e", + "isInit" : false, + "kafkaAcks" : "-1", + "kafkaBatchSize" : 0, + "kafkaBufferMemory" : 0, + "kafkaCompressionType" : "", + "kafkaConsumerRequestTimeout" : 0, + "kafkaConsumerUseTransactional" : false, + "kafkaDeliveryTimeoutMS" : 0, + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "kafkaLingerMS" : 0, + "kafkaMaxBlockMS" : 0, + "kafkaMaxFetchBytes" : 0, + "kafkaMaxFetchWaitMS" : 0, + "kafkaMaxPollRecords" : 0, + "kafkaMaxRequestSize" : 0, + "kafkaPartitionKey" : "", + "kafkaPollTimeoutMS" : 0, + "kafkaProducerRequestTimeout" : 0, + "kafkaProducerUseTransactional" : false, + "kafkaRetries" : 0, + "lastUpdAt" : 1768803675304, + "listtags" : [ { + "id" : "69b90ba98dd517882461f4ec", + "value" : "dmp" + } ], + "loadAllTables" : true, + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "name" : "MDM", + "openTableExcludeFilter" : false, + "pdkHash" : "4335aaa005ec1a74a4e2166bded2962e939ad50239f48b023b884f35b54129a5", + "pdkType" : "pdk", + "permissions" : [ { + "actions" : [ "View" ], + "type" : "Role", + "typeId" : "69c623071f850faa41527910" + }, { + "actions" : [ "View" ], + "type" : "Role", + "typeId" : "69c622ff1f850faa41527872" + } ], + "plain_password" : "", + "project" : "", + "response_body" : { + "retry" : 0, + "validate_details" : [ { + "fail_message" : "2.0.6-SNAPSHOT (build: 2026-03-12 15:42:22)", + "required" : true, + "show_msg" : "PDK Connector version", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "[127.0.0.1:27017]", + "required" : true, + "show_msg" : "Check host port is valid", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "login succeed!", + "required" : true, + "show_msg" : "Connection", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "MongoDB version: 8.0.9", + "required" : true, + "show_msg" : "Version", + "sort" : 0, + "status" : "passed" + }, { + "required" : true, + "show_msg" : "Write", + "sort" : 0, + "status" : "passed" + }, { + "required" : true, + "show_msg" : "Read", + "sort" : 0, + "status" : "passed" + }, { + "required" : true, + "show_msg" : "Read log", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "Not found any schema", + "required" : false, + "show_msg" : "Load Schema", + "sort" : 99, + "stage_code" : "LOAD_SCHEMA", + "status" : "failed" + } ] + }, + "schema" : { }, + "schemaUpdateHour" : "default", + "schemaVersion" : "d844716b-01fe-4653-b8be-15ff43466dbb", + "shareCDCExternalStorageId" : "", + "shareCdcEnable" : false, + "submit" : true, + "tableCount" : 0, + "testCount" : 0, + "timeDifference" : 0, + "user_id" : "62bc5008d4958d013d97c7a6" + } +} ] \ No newline at end of file diff --git a/case-team_tapdata_export/Connection/MDM_Connection_Metadata.json b/case-team_tapdata_export/Connection/MDM_Connection_Metadata.json new file mode 100644 index 0000000..dac7af0 --- /dev/null +++ b/case-team_tapdata_export/Connection/MDM_Connection_Metadata.json @@ -0,0 +1,5327 @@ +[ { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "MDM", + "createTime" : 1768803675966, + "createUser" : "admin@admin.com", + "dev_version" : 1, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69549865aedd5fe4733b3c1d", + "is_deleted" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "meta_type" : "database", + "original_name" : "MDM", + "qualified_name" : "CONN_mongodb_io_tapdata_1_0-SNAPSHOT_695497a235a6fa171731395e", + "source" : { + "_id" : "695497a235a6fa171731395e", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa171731395e", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "loading", + "loadSchemaField" : true, + "name" : "MDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "d844716b-01fe-4653-b8be-15ff43466dbb", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504238942, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "SOURCE", + "user_id" : "62bc5008d4958d013d97c7a6", + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "MDM", + "createTime" : 1768803675966, + "createUser" : "admin@admin.com", + "dev_version" : 1, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69549865aedd5fe4733b3c1d", + "is_deleted" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "meta_type" : "database", + "original_name" : "MDM", + "qualified_name" : "CONN_mongodb_io_tapdata_1_0-SNAPSHOT_695497a235a6fa171731395e", + "source" : { + "_id" : "695497a235a6fa171731395e", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa171731395e", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "loading", + "loadSchemaField" : true, + "name" : "MDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "d844716b-01fe-4653-b8be-15ff43466dbb", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504238942, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "SOURCE", + "user_id" : "62bc5008d4958d013d97c7a6", + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "MDM", + "createTime" : 1768803675966, + "createUser" : "admin@admin.com", + "dev_version" : 1, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69549865aedd5fe4733b3c1d", + "is_deleted" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "meta_type" : "database", + "original_name" : "MDM", + "qualified_name" : "CONN_mongodb_io_tapdata_1_0-SNAPSHOT_695497a235a6fa171731395e", + "source" : { + "_id" : "695497a235a6fa171731395e", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa171731395e", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "loading", + "loadSchemaField" : true, + "name" : "MDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "d844716b-01fe-4653-b8be-15ff43466dbb", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504238942, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "SOURCE", + "user_id" : "62bc5008d4958d013d97c7a6", + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "MDM_CMSIP_discharge_information", + "comment" : "", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1773722161607, + "databaseId" : "69549865aedd5fe4733b3c1d", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "case_no", + "previousDataType" : "STRING(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "specialty", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(8)", + "original_field_name" : "specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "ho_id", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_ho_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "ho_id", + "previousDataType" : "STRING(12)", + "previousFieldName" : "ho_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "mo_in_charge_id", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_mo_in_charge_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "mo_in_charge_id", + "previousDataType" : "STRING(12)", + "previousFieldName" : "mo_in_charge_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "create_by", + "previousDataType" : "STRING(12)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "create_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "update_by", + "previousDataType" : "STRING(12)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "update_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "specialist_ic", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_specialist_ic", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "specialist_ic", + "previousDataType" : "STRING(12)", + "previousFieldName" : "specialist_ic", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "admit_mode", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_admit_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "INT32", + "original_field_name" : "admit_mode", + "previousDataType" : "INT32", + "previousFieldName" : "admit_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "admit_team", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_admit_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "admit_team", + "previousDataType" : "STRING(5)", + "previousFieldName" : "admit_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "admit_physician", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_admit_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "admit_physician", + "previousDataType" : "STRING(12)", + "previousFieldName" : "admit_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "admit_doctor", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_admit_doctor", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "admit_doctor", + "previousDataType" : "STRING(12)", + "previousFieldName" : "admit_doctor", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "expected_discharge_date", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_expected_discharge_date", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "expected_discharge_date", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "expected_discharge_date", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "data_type" : "STRING(1)", + "default_value" : null, + "field_name" : "discharge_mode", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_discharge_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(1)", + "original_field_name" : "discharge_mode", + "previousDataType" : "STRING(1)", + "previousFieldName" : "discharge_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":1,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "discharge_destination", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_discharge_destination", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "discharge_destination", + "previousDataType" : "STRING(5)", + "previousFieldName" : "discharge_destination", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "discharge_team", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_discharge_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "discharge_team", + "previousDataType" : "STRING(5)", + "previousFieldName" : "discharge_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "discharge_physician", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_discharge_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "discharge_physician", + "previousDataType" : "STRING(12)", + "previousFieldName" : "discharge_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "data_type" : "BINARY", + "default_value" : null, + "field_name" : "timestamp", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_timestamp", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "BINARY", + "original_field_name" : "timestamp", + "previousDataType" : "BINARY", + "previousFieldName" : "timestamp", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "bytea", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16777215,\"type\":9}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "sick_leave_from_dtm", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_sick_leave_from_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "sick_leave_from_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "sick_leave_from_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "sick_leave_to_dtm", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_sick_leave_to_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "sick_leave_to_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "sick_leave_to_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + } ], + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69b8da317e25a691d4101b2d", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_discharge_information_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_discharge_information_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "table", + "name" : "MDM_CMSIP_discharge_information", + "original_name" : "MDM_CMSIP_discharge_information", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_MDM_CMSIP_discharge_information_695497a235a6fa171731395e", + "source" : { + "_id" : "695497a235a6fa171731395e", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa171731395e", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "MDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "d844716b-01fe-4653-b8be-15ff43466dbb", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504238942, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "SOURCE", + "tableAttr" : { + "avgObjSize" : 451, + "capped" : false, + "ns" : "FDM.FDM_QMH_CMSIP_discharge_information", + "shard" : { }, + "size" : 4517457, + "storageSize" : 659456 + }, + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "MDM_HPI_cpi_case", + "comment" : "", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1768804782839, + "databaseId" : "69549865aedd5fe4733b3c1d", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "case_no", + "previousDataType" : "STRING(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "patient_key", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "patient_key", + "previousDataType" : "STRING(16)", + "previousFieldName" : "patient_key", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "case_type", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_case_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "case_type", + "previousDataType" : "STRING(2)", + "previousFieldName" : "case_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "admission_dtm", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_admission_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "admission_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "admission_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "source_indicator", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_source_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "source_indicator", + "previousDataType" : "STRING(2)", + "previousFieldName" : "source_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "source_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_source_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(6)", + "original_field_name" : "source_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "source_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "patient_type", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_patient_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "patient_type", + "previousDataType" : "STRING(6)", + "previousFieldName" : "patient_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "discharge_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_discharge_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "discharge_code", + "previousDataType" : "STRING(2)", + "previousFieldName" : "discharge_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "discharge_dtm", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_discharge_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "discharge_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "discharge_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "destination_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_destination_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(6)", + "original_field_name" : "destination_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "destination_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_specialty", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "last_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_sub_specialty", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_sub_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_sub_specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "last_sub_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_ward_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_ward_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_ward_code", + "previousDataType" : "STRING(8)", + "previousFieldName" : "last_ward_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "last_ward_class", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_ward_class", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "last_ward_class", + "previousDataType" : "STRING(2)", + "previousFieldName" : "last_ward_class", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "last_bed_no", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_bed_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "last_bed_no", + "previousDataType" : "STRING(10)", + "previousFieldName" : "last_bed_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "pp_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_pp_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(16)", + "original_field_name" : "pp_code", + "previousDataType" : "STRING(16)", + "previousFieldName" : "pp_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "access_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_access_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "INT32", + "original_field_name" : "access_code", + "previousDataType" : "INT32", + "previousFieldName" : "access_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "status_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_status_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(4)", + "original_field_name" : "status_code", + "previousDataType" : "STRING(4)", + "previousFieldName" : "status_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "create_by", + "previousDataType" : "STRING(24)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "create_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "update_by", + "previousDataType" : "STRING(24)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 23, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "update_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 24, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "row_update_datetime", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_row_update_datetime", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "row_update_datetime", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "row_update_datetime", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 25, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "movement_count", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_movement_count", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "movement_count", + "previousDataType" : "INT32", + "previousFieldName" : "movement_count", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 26, + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "district_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_district_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "district_code", + "previousDataType" : "STRING(10)", + "previousFieldName" : "district_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 27, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "mrt_indicator", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_mrt_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "mrt_indicator", + "previousDataType" : "STRING(2)", + "previousFieldName" : "mrt_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 28, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "document_flag", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_document_flag", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "document_flag", + "previousDataType" : "STRING(2)", + "previousFieldName" : "document_flag", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "696dd1aec085cb3a649328d9", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_cpi_case_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_cpi_case_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "table", + "name" : "MDM_HPI_cpi_case", + "original_name" : "MDM_HPI_cpi_case", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_MDM_HPI_cpi_case_695497a235a6fa171731395e", + "source" : { + "_id" : "695497a235a6fa171731395e", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa171731395e", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "MDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "d844716b-01fe-4653-b8be-15ff43466dbb", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504238942, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "SOURCE", + "tableAttr" : { + "avgObjSize" : 588, + "capped" : false, + "ns" : "FDM.FDM_QMH_HPI_cpi_case", + "shard" : { }, + "size" : 5806147, + "storageSize" : 4096 + }, + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "MDM_HPI_cpi_patient", + "comment" : "", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1773722067070, + "databaseId" : "69549865aedd5fe4733b3c1d", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "patient_key", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "patient_key", + "previousDataType" : "STRING(16)", + "previousFieldName" : "patient_key", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "hkid", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_hkid", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "hkid", + "previousDataType" : "STRING(24)", + "previousFieldName" : "hkid", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "data_type" : "STRING(96)", + "default_value" : null, + "field_name" : "patient_name", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_patient_name", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(96)", + "original_field_name" : "patient_name", + "previousDataType" : "STRING(96)", + "previousFieldName" : "patient_name", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":96,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "sex", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_sex", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "sex", + "previousDataType" : "STRING(2)", + "previousFieldName" : "sex", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "cccode1", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_cccode1", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "cccode1", + "previousDataType" : "STRING(10)", + "previousFieldName" : "cccode1", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "cccode2", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_cccode2", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "cccode2", + "previousDataType" : "STRING(10)", + "previousFieldName" : "cccode2", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "cccode3", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_cccode3", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "cccode3", + "previousDataType" : "STRING(10)", + "previousFieldName" : "cccode3", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "cccode4", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_cccode4", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "cccode4", + "previousDataType" : "STRING(10)", + "previousFieldName" : "cccode4", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "cccode5", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_cccode5", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "cccode5", + "previousDataType" : "STRING(10)", + "previousFieldName" : "cccode5", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "cccode6", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_cccode6", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "cccode6", + "previousDataType" : "STRING(10)", + "previousFieldName" : "cccode6", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "chi_name", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_chi_name", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(24)", + "original_field_name" : "chi_name", + "previousDataType" : "STRING(24)", + "previousFieldName" : "chi_name", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "dob", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_dob", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "dob", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "dob", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "exact_dob_flag", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_exact_dob_flag", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "exact_dob_flag", + "previousDataType" : "STRING(2)", + "previousFieldName" : "exact_dob_flag", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "marital_status", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_marital_status", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "marital_status", + "previousDataType" : "STRING(2)", + "previousFieldName" : "marital_status", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "race", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_race", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(4)", + "original_field_name" : "race", + "previousDataType" : "STRING(4)", + "previousFieldName" : "race", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "other_doc_no", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_other_doc_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(24)", + "original_field_name" : "other_doc_no", + "previousDataType" : "STRING(24)", + "previousFieldName" : "other_doc_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "data_type" : "STRING(40)", + "default_value" : null, + "field_name" : "reference", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_reference", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(40)", + "original_field_name" : "reference", + "previousDataType" : "STRING(40)", + "previousFieldName" : "reference", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":40,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "data_type" : "STRING(94)", + "default_value" : null, + "field_name" : "building", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_building", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(94)", + "original_field_name" : "building", + "previousDataType" : "STRING(94)", + "previousFieldName" : "building", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":94,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "room", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_room", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "room", + "previousDataType" : "STRING(10)", + "previousFieldName" : "room", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "floor", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_floor", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(4)", + "original_field_name" : "floor", + "previousDataType" : "STRING(4)", + "previousFieldName" : "floor", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "block", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_block", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(4)", + "original_field_name" : "block", + "previousDataType" : "STRING(4)", + "previousFieldName" : "block", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "district", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_district", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "district", + "previousDataType" : "STRING(10)", + "previousFieldName" : "district", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 23, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "religion", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_religion", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(6)", + "original_field_name" : "religion", + "previousDataType" : "STRING(6)", + "previousFieldName" : "religion", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 24, + "data_type" : "STRING(20)", + "default_value" : null, + "field_name" : "phone1", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_phone1", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(20)", + "original_field_name" : "phone1", + "previousDataType" : "STRING(20)", + "previousFieldName" : "phone1", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":20,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 25, + "data_type" : "STRING(20)", + "default_value" : null, + "field_name" : "phone2", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_phone2", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(20)", + "original_field_name" : "phone2", + "previousDataType" : "STRING(20)", + "previousFieldName" : "phone2", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":20,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 26, + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "address_indicator", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_address_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "address_indicator", + "previousDataType" : "STRING(8)", + "previousFieldName" : "address_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 27, + "data_type" : "STRING(20)", + "default_value" : null, + "field_name" : "mobile_phone", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_mobile_phone", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(20)", + "original_field_name" : "mobile_phone", + "previousDataType" : "STRING(20)", + "previousFieldName" : "mobile_phone", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":20,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 28, + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "sms_language", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_sms_language", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "sms_language", + "previousDataType" : "STRING(8)", + "previousFieldName" : "sms_language", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 29, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "death_indicator", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_death_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "death_indicator", + "previousDataType" : "STRING(2)", + "previousFieldName" : "death_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 30, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "death_date", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_death_date", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "death_date", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "death_date", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 31, + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "death_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_death_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "death_code", + "previousDataType" : "STRING(8)", + "previousFieldName" : "death_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 32, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "card_holder", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_card_holder", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "INT32", + "original_field_name" : "card_holder", + "previousDataType" : "INT32", + "previousFieldName" : "card_holder", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 33, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "access_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_access_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "access_code", + "previousDataType" : "INT32", + "previousFieldName" : "access_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 34, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "security", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_security", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "security", + "previousDataType" : "INT32", + "previousFieldName" : "security", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 35, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "patient_no", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_patient_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "patient_no", + "previousDataType" : "INT32", + "previousFieldName" : "patient_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 36, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "create_hospital", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_create_hospital", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(6)", + "original_field_name" : "create_hospital", + "previousDataType" : "STRING(6)", + "previousFieldName" : "create_hospital", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 37, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "create_by", + "previousDataType" : "STRING(24)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 38, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "create_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 39, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "update_hospital", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_update_hospital", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "update_hospital", + "previousDataType" : "STRING(6)", + "previousFieldName" : "update_hospital", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 40, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "update_by", + "previousDataType" : "STRING(24)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 41, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "update_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 42, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "rep_clusters", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_rep_clusters", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "rep_clusters", + "previousDataType" : "INT32", + "previousFieldName" : "rep_clusters", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 43, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "init_hospital", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_init_hospital", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "INT32", + "original_field_name" : "init_hospital", + "previousDataType" : "INT32", + "previousFieldName" : "init_hospital", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 44, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "init_source", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_init_source", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "INT32", + "original_field_name" : "init_source", + "previousDataType" : "INT32", + "previousFieldName" : "init_source", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 45, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "row_update_datetime", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_row_update_datetime", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "row_update_datetime", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "row_update_datetime", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 46, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "rep_hosp1", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_rep_hosp1", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "rep_hosp1", + "previousDataType" : "INT32", + "previousFieldName" : "rep_hosp1", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 47, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "rep_hosp2", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_rep_hosp2", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "rep_hosp2", + "previousDataType" : "INT32", + "previousFieldName" : "rep_hosp2", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 48, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "rep_clinic1", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_rep_clinic1", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "rep_clinic1", + "previousDataType" : "INT32", + "previousFieldName" : "rep_clinic1", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 49, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "rep_clinic2", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_rep_clinic2", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "rep_clinic2", + "previousDataType" : "INT32", + "previousFieldName" : "rep_clinic2", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 50, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "body_category", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_body_category", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "body_category", + "previousDataType" : "STRING(2)", + "previousFieldName" : "body_category", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 51, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "hkic_symbol", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_hkic_symbol", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "hkic_symbol", + "previousDataType" : "STRING(2)", + "previousFieldName" : "hkic_symbol", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69b8d9d37e25a691d4101a33", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hkid", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_cpi_patient_hkid", + "primaryKey" : "false", + "unique" : true + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hkid", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_cpi_patient_hkid", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "table", + "name" : "MDM_HPI_cpi_patient", + "original_name" : "MDM_HPI_cpi_patient", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_MDM_HPI_cpi_patient_695497a235a6fa171731395e", + "source" : { + "_id" : "695497a235a6fa171731395e", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa171731395e", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "MDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "d844716b-01fe-4653-b8be-15ff43466dbb", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504238942, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "SOURCE", + "tableAttr" : { + "avgObjSize" : 791, + "capped" : false, + "ns" : "FDM.FDM_QMH_HPI_cpi_patient", + "shard" : { }, + "size" : 5746076, + "storageSize" : 819200 + }, + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "MDM_HPI_cpi_patient_hospital_data", + "comment" : "", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1773722098578, + "databaseId" : "69549865aedd5fe4733b3c1d", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_hospital_data__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "patient_key", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_hospital_data_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "patient_key", + "previousDataType" : "STRING(16)", + "previousFieldName" : "patient_key", + "primaryKey" : true, + "primary_key_position" : 1, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_hospital_data_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : true, + "primary_key_position" : 2, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "mrn", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_hospital_data_mrn", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "mrn", + "previousDataType" : "STRING(16)", + "previousFieldName" : "mrn", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "data_type" : "STRING(510)", + "default_value" : null, + "field_name" : "remark", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_hospital_data_remark", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(510)", + "original_field_name" : "remark", + "previousDataType" : "STRING(510)", + "previousFieldName" : "remark", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":510,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_hospital_data_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(16)", + "original_field_name" : "create_by", + "previousDataType" : "STRING(16)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_hospital_data_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "create_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_hospital_data_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(24)", + "original_field_name" : "update_by", + "previousDataType" : "STRING(24)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_hospital_data_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "update_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "row_update_datetime", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_patient_hospital_data_row_update_datetime", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "row_update_datetime", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "row_update_datetime", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + } ], + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69b8d9f27e25a691d4101a82", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "patient_key", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "cpi_patient_hospital_data_pkey", + "primaryKey" : "true", + "unique" : true + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "patient_key", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "cpi_patient_hospital_data_pkey", + "primaryKey" : "true", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "table", + "name" : "MDM_HPI_cpi_patient_hospital_data", + "original_name" : "MDM_HPI_cpi_patient_hospital_data", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_MDM_HPI_cpi_patient_hospital_data_695497a235a6fa171731395e", + "source" : { + "_id" : "695497a235a6fa171731395e", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa171731395e", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "MDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "d844716b-01fe-4653-b8be-15ff43466dbb", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504238942, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "SOURCE", + "tableAttr" : { + "avgObjSize" : 217, + "capped" : false, + "ns" : "FDM.FDM_QMH_HPI_cpi_patient_hospital_data", + "shard" : { }, + "size" : 1576288, + "storageSize" : 245760 + }, + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "MDM_HPI_merge_cpi_case", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1773723367428, + "databaseId" : "69549865aedd5fe4733b3c1d", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "DOCUMENT", + "default_value" : null, + "field_name" : "cpiPatient", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_cpiPatient", + "is_auto_allowed" : true, + "is_deleted" : false, + "originalDataType" : "DOCUMENT", + "original_field_name" : "cpiPatient", + "previousDataType" : "DOCUMENT", + "previousFieldName" : "cpiPatient", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"type\":4}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "ARRAY", + "default_value" : null, + "field_name" : "cpiPatient.hospitalData", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_cpiPatient.hospitalData", + "is_auto_allowed" : true, + "is_deleted" : false, + "originalDataType" : "ARRAY", + "original_field_name" : "cpiPatient.hospitalData", + "previousDataType" : "ARRAY", + "previousFieldName" : "cpiPatient.hospitalData", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"type\":2}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "STRING(3)", + "default_value" : null, + "field_name" : "dischargeInformation.hospCode", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_dischargeInformation.hospCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(3)", + "original_field_name" : "dischargeInformation.hospCode", + "previousDataType" : "STRING(3)", + "previousFieldName" : "dischargeInformation.hospCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":3,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "dischargeInformation.caseNum", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_dischargeInformation.caseNum", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "dischargeInformation.caseNum", + "previousDataType" : "STRING(12)", + "previousFieldName" : "dischargeInformation.caseNum", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "dischargeInformation.specialty", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_dischargeInformation.specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(4)", + "original_field_name" : "dischargeInformation.specialty", + "previousDataType" : "STRING(4)", + "previousFieldName" : "dischargeInformation.specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "dischargeInformation.moInChargeId", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_dischargeInformation.moInChargeId", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "dischargeInformation.moInChargeId", + "previousDataType" : "STRING(12)", + "previousFieldName" : "dischargeInformation.moInChargeId", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "dischargeInformation.createDate", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_dischargeInformation.createDate", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "dischargeInformation.createDate", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "dischargeInformation.createDate", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "data_type" : "ARRAY", + "default_value" : null, + "field_name" : "dischargeInformation", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_dischargeInformation", + "is_auto_allowed" : true, + "is_deleted" : false, + "originalDataType" : "ARRAY", + "original_field_name" : "dischargeInformation", + "previousDataType" : "ARRAY", + "previousFieldName" : "dischargeInformation", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"type\":2}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "cpiPatient.hospitalData._id", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_cpiPatient.hospitalData._id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "cpiPatient.hospitalData._id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "cpiPatient.hospitalData._id", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "data_type" : "STRING(100)", + "default_value" : null, + "field_name" : "cpiPatient.hospitalData.hospCode", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_cpiPatient.hospitalData.hospCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(100)", + "original_field_name" : "cpiPatient.hospitalData.hospCode", + "previousDataType" : "STRING(100)", + "previousFieldName" : "cpiPatient.hospitalData.hospCode", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":100,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "data_type" : "STRING(100)", + "default_value" : null, + "field_name" : "cpiPatient.hospitalData.mrn", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_cpiPatient.hospitalData.mrn", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(100)", + "original_field_name" : "cpiPatient.hospitalData.mrn", + "previousDataType" : "STRING(100)", + "previousFieldName" : "cpiPatient.hospitalData.mrn", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":100,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "data_type" : "STRING(100)", + "default_value" : null, + "field_name" : "cpiPatient.hospitalData.patientKey", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_cpiPatient.hospitalData.patientKey", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(100)", + "original_field_name" : "cpiPatient.hospitalData.patientKey", + "previousDataType" : "STRING(100)", + "previousFieldName" : "cpiPatient.hospitalData.patientKey", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":100,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "dischargeInformation.specialistIc", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_dischargeInformation.specialistIc", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "dischargeInformation.specialistIc", + "previousDataType" : "STRING(12)", + "previousFieldName" : "dischargeInformation.specialistIc", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "dischargeInformation.dischargeTeam", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_dischargeInformation.dischargeTeam", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "dischargeInformation.dischargeTeam", + "previousDataType" : "STRING(5)", + "previousFieldName" : "dischargeInformation.dischargeTeam", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 23, + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "dischargeInformation._id", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_dischargeInformation._id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "dischargeInformation._id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "dischargeInformation._id", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 29, + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 29, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "admissionDate", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_admissionDate", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "admissionDate", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "admissionDate", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 29, + "data_type" : "STRING(100)", + "default_value" : null, + "field_name" : "caseNum", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_caseNum", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(100)", + "original_field_name" : "caseNum", + "previousDataType" : "STRING(100)", + "previousFieldName" : "caseNum", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":100,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 29, + "data_type" : "STRING(100)", + "default_value" : null, + "field_name" : "caseType", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_caseType", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(100)", + "original_field_name" : "caseType", + "previousDataType" : "STRING(100)", + "previousFieldName" : "caseType", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":100,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 29, + "data_type" : "STRING(100)", + "default_value" : null, + "field_name" : "dischargeCode", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_dischargeCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(100)", + "original_field_name" : "dischargeCode", + "previousDataType" : "STRING(100)", + "previousFieldName" : "dischargeCode", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":100,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 29, + "data_type" : "STRING(100)", + "default_value" : null, + "field_name" : "hospCode", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_hospCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(100)", + "original_field_name" : "hospCode", + "previousDataType" : "STRING(100)", + "previousFieldName" : "hospCode", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":100,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 29, + "data_type" : "NULL", + "default_value" : null, + "field_name" : "lastBedNum", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_lastBedNum", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "NULL", + "original_field_name" : "lastBedNum", + "previousDataType" : "NULL", + "previousFieldName" : "lastBedNum", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":9223372036854775807,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 29, + "data_type" : "STRING(100)", + "default_value" : null, + "field_name" : "lastSpecCode", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_lastSpecCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(100)", + "original_field_name" : "lastSpecCode", + "previousDataType" : "STRING(100)", + "previousFieldName" : "lastSpecCode", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":100,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 29, + "data_type" : "NULL", + "default_value" : null, + "field_name" : "lastWardClass", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_lastWardClass", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "NULL", + "original_field_name" : "lastWardClass", + "previousDataType" : "NULL", + "previousFieldName" : "lastWardClass", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":9223372036854775807,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 29, + "data_type" : "STRING(100)", + "default_value" : null, + "field_name" : "lastWardCode", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_lastWardCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(100)", + "original_field_name" : "lastWardCode", + "previousDataType" : "STRING(100)", + "previousFieldName" : "lastWardCode", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":100,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 29, + "data_type" : "STRING(100)", + "default_value" : null, + "field_name" : "patientKey", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_patientKey", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(100)", + "original_field_name" : "patientKey", + "previousDataType" : "STRING(100)", + "previousFieldName" : "patientKey", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":100,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 29, + "data_type" : "NULL", + "default_value" : null, + "field_name" : "sourceCode", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_sourceCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "NULL", + "original_field_name" : "sourceCode", + "previousDataType" : "NULL", + "previousFieldName" : "sourceCode", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":9223372036854775807,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 29, + "data_type" : "STRING(100)", + "default_value" : null, + "field_name" : "statusCode", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_statusCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(100)", + "original_field_name" : "statusCode", + "previousDataType" : "STRING(100)", + "previousFieldName" : "statusCode", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":100,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 52, + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "cpiPatient._id", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_cpiPatient._id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "cpiPatient._id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "cpiPatient._id", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 52, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "cpiPatient.accessCode", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_cpiPatient.accessCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "INT32", + "original_field_name" : "cpiPatient.accessCode", + "previousDataType" : "INT32", + "previousFieldName" : "cpiPatient.accessCode", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 52, + "data_type" : "NULL", + "default_value" : null, + "field_name" : "cpiPatient.chiName", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_cpiPatient.chiName", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "NULL", + "original_field_name" : "cpiPatient.chiName", + "previousDataType" : "NULL", + "previousFieldName" : "cpiPatient.chiName", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":9223372036854775807,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 52, + "data_type" : "NULL", + "default_value" : null, + "field_name" : "cpiPatient.deathDate", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_cpiPatient.deathDate", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "NULL", + "original_field_name" : "cpiPatient.deathDate", + "previousDataType" : "NULL", + "previousFieldName" : "cpiPatient.deathDate", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":9223372036854775807,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 52, + "data_type" : "STRING(100)", + "default_value" : null, + "field_name" : "cpiPatient.deathIndicator", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_cpiPatient.deathIndicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(100)", + "original_field_name" : "cpiPatient.deathIndicator", + "previousDataType" : "STRING(100)", + "previousFieldName" : "cpiPatient.deathIndicator", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":100,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 52, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "cpiPatient.dob", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_cpiPatient.dob", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "cpiPatient.dob", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "cpiPatient.dob", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 52, + "data_type" : "STRING(100)", + "default_value" : null, + "field_name" : "cpiPatient.hkid", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_cpiPatient.hkid", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(100)", + "original_field_name" : "cpiPatient.hkid", + "previousDataType" : "STRING(100)", + "previousFieldName" : "cpiPatient.hkid", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":100,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 52, + "data_type" : "STRING(100)", + "default_value" : null, + "field_name" : "cpiPatient.patientKey", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_cpiPatient.patientKey", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(100)", + "original_field_name" : "cpiPatient.patientKey", + "previousDataType" : "STRING(100)", + "previousFieldName" : "cpiPatient.patientKey", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":100,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 52, + "data_type" : "STRING(100)", + "default_value" : null, + "field_name" : "cpiPatient.patientName", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_cpiPatient.patientName", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(100)", + "original_field_name" : "cpiPatient.patientName", + "previousDataType" : "STRING(100)", + "previousFieldName" : "cpiPatient.patientName", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":100,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 52, + "data_type" : "STRING(100)", + "default_value" : null, + "field_name" : "cpiPatient.sex", + "id" : "695497a235a6fa171731395e_MDM_HPI_merge_cpi_case_cpiPatient.sex", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(100)", + "original_field_name" : "cpiPatient.sex", + "previousDataType" : "STRING(100)", + "previousFieldName" : "cpiPatient.sex", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":100,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69b8dee77e25a691d4109bab", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "_id", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "__t__{\"v\": 2, \"key\": {\"_id\": 1}, \"name\": \"_id_\"}", + "primaryKey" : "false", + "unique" : true + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospCode", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "caseNum", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "__t__{\"v\": 2, \"key\": {\"hospCode\": 1, \"caseNum\": 1}, \"name\": \"hospCode_1_caseNum_1\", \"background\": true, \"unique\": true}", + "primaryKey" : "false", + "unique" : true + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "patientKey", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "__t__{\"v\": 2, \"key\": {\"patientKey\": 1}, \"name\": \"patientKey_1\", \"background\": true}", + "primaryKey" : "false", + "unique" : false + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "cpiPatient.patientKey", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "__t__{\"v\": 2, \"key\": {\"cpiPatient.patientKey\": 1}, \"name\": \"cpiPatient.patientKey_1\", \"background\": true}", + "primaryKey" : "false", + "unique" : false + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospCode", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "caseNum", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "lastSpecCode", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "__t__{\"v\": 2, \"key\": {\"hospCode\": 1, \"caseNum\": 1, \"lastSpecCode\": 1}, \"name\": \"hospCode_1_caseNum_1_lastSpecCode_1\", \"background\": true}", + "primaryKey" : "false", + "unique" : false + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "dischargeInformation.hospCode", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "dischargeInformation.caseNum", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "dischargeInformation.specialty", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "__t__{\"v\": 2, \"key\": {\"dischargeInformation.hospCode\": 1, \"dischargeInformation.caseNum\": 1, \"dischargeInformation.specialty\": 1}, \"name\": \"dischargeInformation.hospCode_1_dischargeInformation.caseNum_1_dischargeInformation.specialty_1\", \"background\": true}", + "primaryKey" : "false", + "unique" : false + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "cpiPatient.hospitalData.patientKey", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "cpiPatient.hospitalData.hospCode", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "__t__{\"v\": 2, \"key\": {\"cpiPatient.hospitalData.patientKey\": 1, \"cpiPatient.hospitalData.hospCode\": 1}, \"name\": \"cpiPatient.hospitalData.patientKey_1_cpiPatient.hospitalData.hospCode_1\", \"background\": true}", + "primaryKey" : "false", + "unique" : false + } ], + "is_deleted" : false, + "meta_type" : "table", + "name" : "MDM_HPI_merge_cpi_case", + "original_name" : "MDM_HPI_merge_cpi_case", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_MDM_HPI_merge_cpi_case_695497a235a6fa171731395e", + "source" : { + "_id" : "695497a235a6fa171731395e", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa171731395e", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "MDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "d844716b-01fe-4653-b8be-15ff43466dbb", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504238942, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "SOURCE", + "tableAttr" : { + "avgObjSize" : 746, + "capped" : false, + "ns" : "MDM.MDM_HPI_merge_cpi_case", + "shard" : { }, + "size" : 14935842, + "storageSize" : 5730304 + }, + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "MDM_cpi_case", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774947057337, + "databaseId" : "69549865aedd5fe4733b3c1d", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa171731395e_MDM_cpi_case__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 0, + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "cpiPatient._id", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient._id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "cpiPatient._id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "cpiPatient._id", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "DOCUMENT", + "default_value" : null, + "field_name" : "cpiPatient", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient", + "is_auto_allowed" : true, + "is_deleted" : false, + "originalDataType" : "DOCUMENT", + "original_field_name" : "cpiPatient", + "previousDataType" : "DOCUMENT", + "previousFieldName" : "cpiPatient", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"type\":4}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "ARRAY", + "default_value" : null, + "field_name" : "cpiPatient.hospitalData", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.hospitalData", + "is_auto_allowed" : true, + "is_deleted" : false, + "originalDataType" : "ARRAY", + "original_field_name" : "cpiPatient.hospitalData", + "previousDataType" : "ARRAY", + "previousFieldName" : "cpiPatient.hospitalData", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"type\":2}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "cpiPatient.hospitalData.patientKey", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.hospitalData.patientKey", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "cpiPatient.hospitalData.patientKey", + "previousDataType" : "STRING(16)", + "previousFieldName" : "cpiPatient.hospitalData.patientKey", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "cpiPatient.patientKey", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.patientKey", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "cpiPatient.patientKey", + "previousDataType" : "STRING(16)", + "previousFieldName" : "cpiPatient.patientKey", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "ARRAY", + "default_value" : null, + "field_name" : "dischargeInformation", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_dischargeInformation", + "is_auto_allowed" : true, + "is_deleted" : false, + "originalDataType" : "ARRAY", + "original_field_name" : "dischargeInformation", + "previousDataType" : "ARRAY", + "previousFieldName" : "dischargeInformation", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"type\":2}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "dischargeInformation.hospCode", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_dischargeInformation.hospCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "dischargeInformation.hospCode", + "previousDataType" : "STRING(6)", + "previousFieldName" : "dischargeInformation.hospCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospCode", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_hospCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospCode", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "caseNo", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_caseNo", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "caseNo", + "previousDataType" : "STRING(24)", + "previousFieldName" : "caseNo", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "cpiPatient.hkid", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.hkid", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "cpiPatient.hkid", + "previousDataType" : "STRING(24)", + "previousFieldName" : "cpiPatient.hkid", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "cpiPatient.hospitalData.hospCode", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.hospitalData.hospCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "cpiPatient.hospitalData.hospCode", + "previousDataType" : "STRING(6)", + "previousFieldName" : "cpiPatient.hospitalData.hospCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "dischargeInformation.caseNum", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_dischargeInformation.caseNum", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "dischargeInformation.caseNum", + "previousDataType" : "STRING(24)", + "previousFieldName" : "dischargeInformation.caseNum", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "cpiPatient.hospitalData.mrn", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.hospitalData.mrn", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "cpiPatient.hospitalData.mrn", + "previousDataType" : "STRING(16)", + "previousFieldName" : "cpiPatient.hospitalData.mrn", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "data_type" : "STRING(96)", + "default_value" : null, + "field_name" : "cpiPatient.patientName", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.patientName", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(96)", + "original_field_name" : "cpiPatient.patientName", + "previousDataType" : "STRING(96)", + "previousFieldName" : "cpiPatient.patientName", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":96,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "dischargeInformation.specialty", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_dischargeInformation.specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(8)", + "original_field_name" : "dischargeInformation.specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "dischargeInformation.specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "patientKey", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_patientKey", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "patientKey", + "previousDataType" : "STRING(16)", + "previousFieldName" : "patientKey", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "caseType", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_caseType", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "caseType", + "previousDataType" : "STRING(2)", + "previousFieldName" : "caseType", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "cpiPatient.sex", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.sex", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "cpiPatient.sex", + "previousDataType" : "STRING(2)", + "previousFieldName" : "cpiPatient.sex", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "admissionDtm", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_admissionDtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "admissionDtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "admissionDtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "dischargeInformation.moInChargeId", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_dischargeInformation.moInChargeId", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "dischargeInformation.moInChargeId", + "previousDataType" : "STRING(12)", + "previousFieldName" : "dischargeInformation.moInChargeId", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "dischargeInformation.createDate", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_dischargeInformation.createDate", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "dischargeInformation.createDate", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "dischargeInformation.createDate", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "sourceCode", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_sourceCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(6)", + "original_field_name" : "sourceCode", + "previousDataType" : "STRING(6)", + "previousFieldName" : "sourceCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "dischargeCode", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_dischargeCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "dischargeCode", + "previousDataType" : "STRING(2)", + "previousFieldName" : "dischargeCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "dischargeInformation.specialistIc", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_dischargeInformation.specialistIc", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "dischargeInformation.specialistIc", + "previousDataType" : "STRING(12)", + "previousFieldName" : "dischargeInformation.specialistIc", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "cpiPatient.chiName", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.chiName", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(24)", + "original_field_name" : "cpiPatient.chiName", + "previousDataType" : "STRING(24)", + "previousFieldName" : "cpiPatient.chiName", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "cpiPatient.dob", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.dob", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "cpiPatient.dob", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "cpiPatient.dob", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "lastSpecialty", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_lastSpecialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "lastSpecialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "lastSpecialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "lastWardCode", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_lastWardCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "lastWardCode", + "previousDataType" : "STRING(8)", + "previousFieldName" : "lastWardCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "lastWardClass", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_lastWardClass", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "lastWardClass", + "previousDataType" : "STRING(2)", + "previousFieldName" : "lastWardClass", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "lastBedNum", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_lastBedNum", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "lastBedNum", + "previousDataType" : "STRING(10)", + "previousFieldName" : "lastBedNum", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "dischargeInformation.dischargeTeam", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_dischargeInformation.dischargeTeam", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "dischargeInformation.dischargeTeam", + "previousDataType" : "STRING(5)", + "previousFieldName" : "dischargeInformation.dischargeTeam", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "statusCode", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_statusCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(4)", + "original_field_name" : "statusCode", + "previousDataType" : "STRING(4)", + "previousFieldName" : "statusCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 29, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "cpiPatient.deathIndicator", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.deathIndicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "cpiPatient.deathIndicator", + "previousDataType" : "STRING(2)", + "previousFieldName" : "cpiPatient.deathIndicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 30, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "cpiPatient.deathDate", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.deathDate", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "cpiPatient.deathDate", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "cpiPatient.deathDate", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 33, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "cpiPatient.accessCode", + "id" : "695497a235a6fa171731395e_MDM_cpi_case_cpiPatient.accessCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "cpiPatient.accessCode", + "previousDataType" : "INT32", + "previousFieldName" : "cpiPatient.accessCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + } ], + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69cb8af1a6fb9b4275db269a", + "is_deleted" : false, + "meta_type" : "table", + "name" : "MDM_cpi_case", + "original_name" : "MDM_cpi_case", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_MDM_cpi_case_695497a235a6fa171731395e", + "source" : { + "_id" : "695497a235a6fa171731395e", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa171731395e", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "MDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "d844716b-01fe-4653-b8be-15ff43466dbb", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504238942, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "SOURCE", + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "MDM_cpi_patient", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774945195357, + "databaseId" : "69549865aedd5fe4733b3c1d", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "ARRAY", + "default_value" : null, + "field_name" : "hospitalData", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_hospitalData", + "is_auto_allowed" : true, + "is_deleted" : false, + "originalDataType" : "ARRAY", + "original_field_name" : "hospitalData", + "previousDataType" : "ARRAY", + "previousFieldName" : "hospitalData", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"type\":2}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "hospitalData.patientKey", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_hospitalData.patientKey", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "hospitalData.patientKey", + "previousDataType" : "STRING(16)", + "previousFieldName" : "hospitalData.patientKey", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "patientKey", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_patientKey", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "patientKey", + "previousDataType" : "STRING(16)", + "previousFieldName" : "patientKey", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "hkid", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_hkid", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "hkid", + "previousDataType" : "STRING(24)", + "previousFieldName" : "hkid", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospitalData.hospCode", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_hospitalData.hospCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospitalData.hospCode", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospitalData.hospCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "hospitalData.mrn", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_hospitalData.mrn", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "hospitalData.mrn", + "previousDataType" : "STRING(16)", + "previousFieldName" : "hospitalData.mrn", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "data_type" : "STRING(96)", + "default_value" : null, + "field_name" : "patientName", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_patientName", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(96)", + "original_field_name" : "patientName", + "previousDataType" : "STRING(96)", + "previousFieldName" : "patientName", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":96,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "sex", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_sex", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "sex", + "previousDataType" : "STRING(2)", + "previousFieldName" : "sex", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "chiName", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_chiName", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(24)", + "original_field_name" : "chiName", + "previousDataType" : "STRING(24)", + "previousFieldName" : "chiName", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "dob", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_dob", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "dob", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "dob", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 29, + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "deathIndicator", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_deathIndicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "deathIndicator", + "previousDataType" : "STRING(2)", + "previousFieldName" : "deathIndicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 30, + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "deathDate", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_deathDate", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "deathDate", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "deathDate", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 33, + "data_type" : "INT32", + "default_value" : null, + "field_name" : "accessCode", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_accessCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "accessCode", + "previousDataType" : "INT32", + "previousFieldName" : "accessCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + } ], + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69cb83aba6fb9b4275dac6d4", + "is_deleted" : false, + "meta_type" : "table", + "name" : "MDM_cpi_patient", + "original_name" : "MDM_cpi_patient", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_MDM_cpi_patient_695497a235a6fa171731395e", + "source" : { + "_id" : "695497a235a6fa171731395e", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa171731395e", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "MDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "d844716b-01fe-4653-b8be-15ff43466dbb", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504238942, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "SOURCE", + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "_TAP_EXACTLY_ONCE_CACHE", + "createSource" : "auto", + "createTime" : 1768804782767, + "databaseId" : "69549865aedd5fe4733b3c1d", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "STRING(50)", + "default_value" : null, + "field_name" : "NODE_ID", + "id" : "695497a235a6fa171731395e__TAP_EXACTLY_ONCE_CACHE_NODE_ID", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(50)", + "original_field_name" : "NODE_ID", + "previousDataType" : "STRING(50)", + "previousFieldName" : "NODE_ID", + "primaryKey" : true, + "primary_key_position" : 1, + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":50,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "data_type" : "STRING(200)", + "default_value" : null, + "field_name" : "TABLE_NAME", + "id" : "695497a235a6fa171731395e__TAP_EXACTLY_ONCE_CACHE_TABLE_NAME", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(200)", + "original_field_name" : "TABLE_NAME", + "previousDataType" : "STRING(200)", + "previousFieldName" : "TABLE_NAME", + "primaryKey" : true, + "primary_key_position" : 2, + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":200,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "data_type" : "STRING(500)", + "default_value" : null, + "field_name" : "EXACTLY_ONCE_ID", + "id" : "695497a235a6fa171731395e__TAP_EXACTLY_ONCE_CACHE_EXACTLY_ONCE_ID", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(500)", + "original_field_name" : "EXACTLY_ONCE_ID", + "previousDataType" : "STRING(500)", + "previousFieldName" : "EXACTLY_ONCE_ID", + "primaryKey" : true, + "primary_key_position" : 3, + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":500,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "data_type" : "INT64", + "default_value" : null, + "field_name" : "TIMESTAMP", + "id" : "695497a235a6fa171731395e__TAP_EXACTLY_ONCE_CACHE_TIMESTAMP", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "INT64", + "original_field_name" : "TIMESTAMP", + "previousDataType" : "INT64", + "previousFieldName" : "TIMESTAMP", + "primaryKey" : false, + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":64,\"maxValue\":9223372036854775807,\"minValue\":-9223372036854775808,\"precision\":19,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + } ], + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "696dd1aec085cb3a649328d8", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "TIMESTAMP", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "primaryKey" : "false", + "unique" : false + } ], + "is_deleted" : false, + "meta_type" : "table", + "name" : "_TAP_EXACTLY_ONCE_CACHE", + "original_name" : "_TAP_EXACTLY_ONCE_CACHE", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT__TAP_EXACTLY_ONCE_CACHE_695497a235a6fa171731395e", + "source" : { + "_id" : "695497a235a6fa171731395e", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa171731395e", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "MDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "d844716b-01fe-4653-b8be-15ff43466dbb", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504238942, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "SOURCE", + "username" : "admin@admin.com" + } +} ] \ No newline at end of file diff --git a/case-team_tapdata_export/Connection/QMH_PG_CMS_Connection_Config.json b/case-team_tapdata_export/Connection/QMH_PG_CMS_Connection_Config.json new file mode 100644 index 0000000..77092bd --- /dev/null +++ b/case-team_tapdata_export/Connection/QMH_PG_CMS_Connection_Config.json @@ -0,0 +1,288 @@ +[ { + "collectionName" : "Connections", + "json" : { + "accessNodeProcessId" : "", + "accessNodeProcessIdList" : [ ], + "accessNodeType" : "AUTOMATIC_PLATFORM_ALLOCATION", + "agentTags" : [ ], + "capabilities" : [ { + "id" : "count_raw_command_function", + "type" : 11 + }, { + "id" : "run_raw_command_function", + "type" : 11 + }, { + "id" : "execute_command_function", + "type" : 11 + }, { + "id" : "release_external_function", + "type" : 11 + }, { + "id" : "batch_read_function", + "type" : 11 + }, { + "id" : "stream_read_function", + "type" : 11 + }, { + "id" : "batch_count_function", + "type" : 11 + }, { + "id" : "timestamp_to_stream_offset_function", + "type" : 11 + }, { + "id" : "write_record_function", + "type" : 11 + }, { + "id" : "after_initial_sync_function", + "type" : 11 + }, { + "id" : "query_by_filter_function", + "type" : 11 + }, { + "id" : "query_by_advance_filter_function", + "type" : 11 + }, { + "id" : "create_table_v2_function", + "type" : 11 + }, { + "id" : "clear_table_function", + "type" : 11 + }, { + "id" : "drop_table_function", + "type" : 11 + }, { + "id" : "create_index_function", + "type" : 11 + }, { + "id" : "delete_index_function", + "type" : 11 + }, { + "id" : "query_indexes_function", + "type" : 11 + }, { + "id" : "query_constraints_function", + "type" : 11 + }, { + "id" : "create_constraint_function", + "type" : 11 + }, { + "id" : "drop_constraint_function", + "type" : 11 + }, { + "id" : "alter_field_attributes_function", + "type" : 11 + }, { + "id" : "alter_field_name_function", + "type" : 11 + }, { + "id" : "drop_field_function", + "type" : 11 + }, { + "id" : "new_field_function", + "type" : 11 + }, { + "id" : "count_by_partition_filter_function", + "type" : 11 + }, { + "id" : "stream_read_multi_connection_function", + "type" : 11 + }, { + "id" : "transaction_begin_function", + "type" : 11 + }, { + "id" : "transaction_commit_function", + "type" : 11 + }, { + "id" : "transaction_rollback_function", + "type" : 11 + }, { + "id" : "query_hash_by_advance_filter_function", + "type" : 11 + }, { + "id" : "get_stream_offset_function", + "type" : 11 + }, { + "id" : "export_event_sql_function", + "type" : 11 + }, { + "id" : "flush_offset_function", + "type" : 11 + }, { + "id" : "get_table_info_function", + "type" : 11 + }, { + "id" : "get_table_names_function", + "type" : 11 + }, { + "id" : "error_handle_function", + "type" : 11 + }, { + "id" : "execute_command_v2_function", + "type" : 11 + }, { + "alternatives" : [ "update_on_exists", "ignore_on_exists", "just_insert" ], + "id" : "dml_insert_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_on_nonexists", "insert_on_nonexists", "log_on_nonexists" ], + "id" : "dml_update_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_on_nonexists", "log_on_nonexists" ], + "id" : "dml_delete_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_all_check", "default_check" ], + "id" : "dml_check_policy", + "type" : 20 + }, { + "id" : "api_server_supported", + "type" : 20 + }, { + "id" : "source_support_exactly_once", + "type" : 20 + }, { + "id" : "batch_read_hash_split", + "type" : 20 + }, { + "id" : "source_support_partition", + "type" : 20 + } ], + "config" : { + "__connectionType" : "source_and_target", + "allowReplication" : true, + "database" : "qmh", + "defaultWalLogSize" : 102400, + "deploymentMode" : "standalone", + "globalPublicationName" : "dbz_publication", + "id" : "69b7ef1b26de2d8303432441", + "logPluginName" : "pgoutput", + "partPublication" : false, + "pgtoHost" : "127.0.0.1", + "pgtoPort" : 9876, + "schema" : "cms", + "timezone" : "" + }, + "connection_type" : "source_and_target", + "createAt" : 1773661979212, + "createUser" : "admin@admin.com", + "dataSourceMonitor" : false, + "database_type" : "PostgreSQL", + "datasourceInstanceTag" : "192.168.1.184:25432", + "definitionBuildNumber" : "null", + "definitionGroup" : "io.tapdata", + "definitionPdkAPIVersion" : "2.0.5-SNAPSHOT", + "definitionPdkId" : "postgres", + "definitionScope" : "public", + "definitionTags" : [ "Database", "ssl", "doubleActive", "disableForeignKey", "NullsLast" ], + "definitionVersion" : "1.0-SNAPSHOT", + "everLoadSchema" : true, + "heartbeatEnable" : false, + "id" : "69b7ef1b26de2d8303432441", + "isInit" : false, + "kafkaAcks" : "-1", + "kafkaBatchSize" : 0, + "kafkaBufferMemory" : 0, + "kafkaCompressionType" : "", + "kafkaConsumerRequestTimeout" : 0, + "kafkaConsumerUseTransactional" : false, + "kafkaDeliveryTimeoutMS" : 0, + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "kafkaLingerMS" : 0, + "kafkaMaxBlockMS" : 0, + "kafkaMaxFetchBytes" : 0, + "kafkaMaxFetchWaitMS" : 0, + "kafkaMaxPollRecords" : 0, + "kafkaMaxRequestSize" : 0, + "kafkaPartitionKey" : "", + "kafkaPollTimeoutMS" : 0, + "kafkaProducerRequestTimeout" : 0, + "kafkaProducerUseTransactional" : false, + "kafkaRetries" : 0, + "lastUpdAt" : 1773661979212, + "listtags" : [ { + "id" : "69b90ba98dd517882461f4ec", + "value" : "dmp" + } ], + "loadAllTables" : true, + "loadCount" : 1, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "multiConnectionInstanceId" : "2de6b03c0508121e4451dadee20e37f9", + "name" : "QMH_PG_CMS", + "namespace" : [ "cms" ], + "openTableExcludeFilter" : false, + "pdkHash" : "8dea069f269dd428d82e60e75d0d91b6dc61be7be26eae7bc407d7b95d3b0594", + "pdkType" : "pdk", + "permissions" : [ { + "actions" : [ "Edit", "View" ], + "type" : "Role", + "typeId" : "69c623071f850faa41527910" + } ], + "plain_password" : "", + "project" : "", + "response_body" : { + "retry" : 0, + "validate_details" : [ { + "fail_message" : "2.0.5-SNAPSHOT (build: 2026-03-12 15:43:38)", + "required" : true, + "show_msg" : "PDK Connector version", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "connected to 192.168.1.184:25432 succeed!", + "required" : true, + "show_msg" : "Check host port is valid", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "login succeed!", + "required" : true, + "show_msg" : "Connection", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "PostgreSQL 15.13", + "required" : true, + "show_msg" : "Version", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "Create,Insert,Update,Delete,Drop succeed", + "required" : true, + "show_msg" : "Write", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "Current user has DBA privilege", + "required" : true, + "show_msg" : "Read", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "Cdc can work normally", + "required" : true, + "show_msg" : "Read log", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "192.168.1.184:25432", + "required" : true, + "show_msg" : "Datasource instance info", + "sort" : 0, + "status" : "passed" + } ] + }, + "schema" : { }, + "schemaUpdateHour" : "default", + "schemaVersion" : "43e34765-70ee-4036-8585-4a8266af5b76", + "shareCDCExternalStorageId" : "", + "shareCdcEnable" : false, + "submit" : true, + "tableCount" : 1, + "testCount" : 0, + "timeDifference" : 0, + "user_id" : "62bc5008d4958d013d97c7a6" + } +} ] \ No newline at end of file diff --git a/case-team_tapdata_export/Connection/QMH_PG_CMS_Connection_Metadata.json b/case-team_tapdata_export/Connection/QMH_PG_CMS_Connection_Metadata.json new file mode 100644 index 0000000..f1a4adb --- /dev/null +++ b/case-team_tapdata_export/Connection/QMH_PG_CMS_Connection_Metadata.json @@ -0,0 +1,604 @@ +[ { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "QMH_PG_CMS", + "createTime" : 1773661980494, + "createUser" : "admin@admin.com", + "dev_version" : 1, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69b7ef1c7e25a691d40fb15e", + "is_deleted" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "meta_type" : "database", + "original_name" : "QMH_PG_CMS", + "qualified_name" : "CONN_postgres_io_tapdata_1_0-SNAPSHOT_69b7ef1b26de2d8303432441", + "source" : { + "_id" : "69b7ef1b26de2d8303432441", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "PostgreSQL", + "everLoadSchema" : true, + "id" : "69b7ef1b26de2d8303432441", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 1, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "QMH_PG_CMS", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "43e34765-70ee-4036-8585-4a8266af5b76", + "status" : "ready", + "submit" : true, + "tableCount" : 1, + "testTime" : 1774504224115, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "SOURCE", + "user_id" : "62bc5008d4958d013d97c7a6", + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "discharge_information", + "comment" : "", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1773662046307, + "databaseId" : "69b7ef1c7e25a691d40fb15e", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "character(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "69b7ef1b26de2d8303432441_discharge_information_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "character(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":6,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "data_type" : "character(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "69b7ef1b26de2d8303432441_discharge_information_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character(24)", + "original_field_name" : "case_no", + "previousDataType" : "character(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":24,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "data_type" : "character(8)", + "default_value" : null, + "field_name" : "specialty", + "id" : "69b7ef1b26de2d8303432441_discharge_information_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character(8)", + "original_field_name" : "specialty", + "previousDataType" : "character(8)", + "previousFieldName" : "specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":8,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "ho_id", + "id" : "69b7ef1b26de2d8303432441_discharge_information_ho_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "ho_id", + "previousDataType" : "character varying(12)", + "previousFieldName" : "ho_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "mo_in_charge_id", + "id" : "69b7ef1b26de2d8303432441_discharge_information_mo_in_charge_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(12)", + "original_field_name" : "mo_in_charge_id", + "previousDataType" : "character varying(12)", + "previousFieldName" : "mo_in_charge_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "create_by", + "id" : "69b7ef1b26de2d8303432441_discharge_information_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(12)", + "original_field_name" : "create_by", + "previousDataType" : "character varying(12)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "data_type" : "timestamp without time zone", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "69b7ef1b26de2d8303432441_discharge_information_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "create_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "update_by", + "id" : "69b7ef1b26de2d8303432441_discharge_information_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "update_by", + "previousDataType" : "character varying(12)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "data_type" : "timestamp without time zone", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "69b7ef1b26de2d8303432441_discharge_information_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "update_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "specialist_ic", + "id" : "69b7ef1b26de2d8303432441_discharge_information_specialist_ic", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(12)", + "original_field_name" : "specialist_ic", + "previousDataType" : "character varying(12)", + "previousFieldName" : "specialist_ic", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "data_type" : "integer", + "default_value" : null, + "field_name" : "admit_mode", + "id" : "69b7ef1b26de2d8303432441_discharge_information_admit_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "integer", + "original_field_name" : "admit_mode", + "previousDataType" : "integer", + "previousFieldName" : "admit_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "data_type" : "character(5)", + "default_value" : null, + "field_name" : "admit_team", + "id" : "69b7ef1b26de2d8303432441_discharge_information_admit_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(5)", + "original_field_name" : "admit_team", + "previousDataType" : "character(5)", + "previousFieldName" : "admit_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":5,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "admit_physician", + "id" : "69b7ef1b26de2d8303432441_discharge_information_admit_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "admit_physician", + "previousDataType" : "character varying(12)", + "previousFieldName" : "admit_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "admit_doctor", + "id" : "69b7ef1b26de2d8303432441_discharge_information_admit_doctor", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "admit_doctor", + "previousDataType" : "character varying(12)", + "previousFieldName" : "admit_doctor", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "data_type" : "timestamp without time zone", + "default_value" : null, + "field_name" : "expected_discharge_date", + "id" : "69b7ef1b26de2d8303432441_discharge_information_expected_discharge_date", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "expected_discharge_date", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "expected_discharge_date", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "data_type" : "character(1)", + "default_value" : null, + "field_name" : "discharge_mode", + "id" : "69b7ef1b26de2d8303432441_discharge_information_discharge_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(1)", + "original_field_name" : "discharge_mode", + "previousDataType" : "character(1)", + "previousFieldName" : "discharge_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":1,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "data_type" : "character(5)", + "default_value" : null, + "field_name" : "discharge_destination", + "id" : "69b7ef1b26de2d8303432441_discharge_information_discharge_destination", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(5)", + "original_field_name" : "discharge_destination", + "previousDataType" : "character(5)", + "previousFieldName" : "discharge_destination", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":5,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "data_type" : "character(5)", + "default_value" : null, + "field_name" : "discharge_team", + "id" : "69b7ef1b26de2d8303432441_discharge_information_discharge_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(5)", + "original_field_name" : "discharge_team", + "previousDataType" : "character(5)", + "previousFieldName" : "discharge_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":5,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "discharge_physician", + "id" : "69b7ef1b26de2d8303432441_discharge_information_discharge_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "discharge_physician", + "previousDataType" : "character varying(12)", + "previousFieldName" : "discharge_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "data_type" : "bytea", + "default_value" : null, + "field_name" : "timestamp", + "id" : "69b7ef1b26de2d8303432441_discharge_information_timestamp", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "bytea", + "original_field_name" : "timestamp", + "previousDataType" : "bytea", + "previousFieldName" : "timestamp", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "bytea", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":4294967295,\"type\":9}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "data_type" : "timestamp without time zone", + "default_value" : null, + "field_name" : "sick_leave_from_dtm", + "id" : "69b7ef1b26de2d8303432441_discharge_information_sick_leave_from_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "sick_leave_from_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "sick_leave_from_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "data_type" : "timestamp without time zone", + "default_value" : null, + "field_name" : "sick_leave_to_dtm", + "id" : "69b7ef1b26de2d8303432441_discharge_information_sick_leave_to_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "sick_leave_to_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "sick_leave_to_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + } ], + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69b7ef5e7e25a691d40fb1dc", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_discharge_information_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "table", + "name" : "discharge_information", + "original_name" : "discharge_information", + "partitionSet" : [ ], + "qualified_name" : "T_postgres_io_tapdata_1_0-SNAPSHOT_discharge_information_69b7ef1b26de2d8303432441", + "source" : { + "_id" : "69b7ef1b26de2d8303432441", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "PostgreSQL", + "everLoadSchema" : true, + "id" : "69b7ef1b26de2d8303432441", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "loading", + "loadSchemaField" : true, + "name" : "QMH_PG_CMS", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "43e34765-70ee-4036-8585-4a8266af5b76", + "status" : "ready", + "submit" : true, + "tableCount" : 1, + "testTime" : 1774504224115, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "SOURCE", + "username" : "admin@admin.com" + } +} ] \ No newline at end of file diff --git a/case-team_tapdata_export/Connection/QMH_PG_HPI_CPI_CASE_Connection_Config.json b/case-team_tapdata_export/Connection/QMH_PG_HPI_CPI_CASE_Connection_Config.json new file mode 100644 index 0000000..6020af2 --- /dev/null +++ b/case-team_tapdata_export/Connection/QMH_PG_HPI_CPI_CASE_Connection_Config.json @@ -0,0 +1,280 @@ +[ { + "collectionName" : "Connections", + "json" : { + "accessNodeProcessId" : "", + "accessNodeProcessIdList" : [ ], + "accessNodeType" : "AUTOMATIC_PLATFORM_ALLOCATION", + "agentTags" : [ ], + "capabilities" : [ { + "id" : "count_raw_command_function", + "type" : 11 + }, { + "id" : "run_raw_command_function", + "type" : 11 + }, { + "id" : "execute_command_function", + "type" : 11 + }, { + "id" : "release_external_function", + "type" : 11 + }, { + "id" : "batch_read_function", + "type" : 11 + }, { + "id" : "stream_read_function", + "type" : 11 + }, { + "id" : "batch_count_function", + "type" : 11 + }, { + "id" : "timestamp_to_stream_offset_function", + "type" : 11 + }, { + "id" : "write_record_function", + "type" : 11 + }, { + "id" : "after_initial_sync_function", + "type" : 11 + }, { + "id" : "query_by_filter_function", + "type" : 11 + }, { + "id" : "query_by_advance_filter_function", + "type" : 11 + }, { + "id" : "create_table_v2_function", + "type" : 11 + }, { + "id" : "clear_table_function", + "type" : 11 + }, { + "id" : "drop_table_function", + "type" : 11 + }, { + "id" : "create_index_function", + "type" : 11 + }, { + "id" : "delete_index_function", + "type" : 11 + }, { + "id" : "query_indexes_function", + "type" : 11 + }, { + "id" : "query_constraints_function", + "type" : 11 + }, { + "id" : "create_constraint_function", + "type" : 11 + }, { + "id" : "drop_constraint_function", + "type" : 11 + }, { + "id" : "alter_field_attributes_function", + "type" : 11 + }, { + "id" : "alter_field_name_function", + "type" : 11 + }, { + "id" : "drop_field_function", + "type" : 11 + }, { + "id" : "new_field_function", + "type" : 11 + }, { + "id" : "count_by_partition_filter_function", + "type" : 11 + }, { + "id" : "stream_read_multi_connection_function", + "type" : 11 + }, { + "id" : "transaction_begin_function", + "type" : 11 + }, { + "id" : "transaction_commit_function", + "type" : 11 + }, { + "id" : "transaction_rollback_function", + "type" : 11 + }, { + "id" : "query_hash_by_advance_filter_function", + "type" : 11 + }, { + "id" : "get_stream_offset_function", + "type" : 11 + }, { + "id" : "export_event_sql_function", + "type" : 11 + }, { + "id" : "flush_offset_function", + "type" : 11 + }, { + "id" : "get_table_info_function", + "type" : 11 + }, { + "id" : "get_table_names_function", + "type" : 11 + }, { + "id" : "error_handle_function", + "type" : 11 + }, { + "id" : "execute_command_v2_function", + "type" : 11 + }, { + "alternatives" : [ "update_on_exists", "ignore_on_exists", "just_insert" ], + "id" : "dml_insert_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_on_nonexists", "insert_on_nonexists", "log_on_nonexists" ], + "id" : "dml_update_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_on_nonexists", "log_on_nonexists" ], + "id" : "dml_delete_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_all_check", "default_check" ], + "id" : "dml_check_policy", + "type" : 20 + }, { + "id" : "api_server_supported", + "type" : 20 + }, { + "id" : "source_support_exactly_once", + "type" : 20 + }, { + "id" : "batch_read_hash_split", + "type" : 20 + }, { + "id" : "source_support_partition", + "type" : 20 + } ], + "config" : { + "__connectionType" : "source_and_target", + "allowReplication" : true, + "database" : "qmh", + "defaultWalLogSize" : 102400, + "deploymentMode" : "standalone", + "globalPublicationName" : "dbz_publication", + "id" : "69cb8749bda877370a5ef787", + "logPluginName" : "pgoutput", + "partPublication" : false, + "pgtoHost" : "127.0.0.1", + "pgtoPort" : 9876, + "schema" : "hpi", + "timezone" : "" + }, + "connection_type" : "source_and_target", + "createAt" : 1774946121390, + "createUser" : "cpicase-martin", + "dataSourceMonitor" : false, + "database_type" : "PostgreSQL", + "datasourceInstanceTag" : "192.168.1.184:25432", + "definitionBuildNumber" : "null", + "definitionGroup" : "io.tapdata", + "definitionPdkAPIVersion" : "2.0.5-SNAPSHOT", + "definitionPdkId" : "postgres", + "definitionScope" : "public", + "definitionTags" : [ "Database", "ssl", "doubleActive", "disableForeignKey", "NullsLast" ], + "definitionVersion" : "1.0-SNAPSHOT", + "everLoadSchema" : true, + "heartbeatEnable" : false, + "id" : "69cb8749bda877370a5ef787", + "isInit" : false, + "kafkaAcks" : "-1", + "kafkaBatchSize" : 0, + "kafkaBufferMemory" : 0, + "kafkaCompressionType" : "", + "kafkaConsumerRequestTimeout" : 0, + "kafkaConsumerUseTransactional" : false, + "kafkaDeliveryTimeoutMS" : 0, + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "kafkaLingerMS" : 0, + "kafkaMaxBlockMS" : 0, + "kafkaMaxFetchBytes" : 0, + "kafkaMaxFetchWaitMS" : 0, + "kafkaMaxPollRecords" : 0, + "kafkaMaxRequestSize" : 0, + "kafkaPartitionKey" : "", + "kafkaPollTimeoutMS" : 0, + "kafkaProducerRequestTimeout" : 0, + "kafkaProducerUseTransactional" : false, + "kafkaRetries" : 0, + "lastUpdAt" : 1774946131648, + "loadAllTables" : false, + "loadCount" : 1, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "multiConnectionInstanceId" : "2de6b03c0508121e4451dadee20e37f9", + "name" : "QMH_PG_HPI_CPI_CASE", + "namespace" : [ "hpi" ], + "openTableExcludeFilter" : false, + "pdkHash" : "8dea069f269dd428d82e60e75d0d91b6dc61be7be26eae7bc407d7b95d3b0594", + "pdkType" : "pdk", + "plain_password" : "", + "project" : "", + "response_body" : { + "retry" : 0, + "validate_details" : [ { + "fail_message" : "2.0.5-SNAPSHOT (build: 2026-03-12 15:43:38)", + "required" : true, + "show_msg" : "PDK Connector version", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "connected to 192.168.1.184:25432 succeed!", + "required" : true, + "show_msg" : "Check host port is valid", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "login succeed!", + "required" : true, + "show_msg" : "Connection", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "PostgreSQL 15.13", + "required" : true, + "show_msg" : "Version", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "Create,Insert,Update,Delete,Drop succeed", + "required" : true, + "show_msg" : "Write", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "Current user has DBA privilege", + "required" : true, + "show_msg" : "Read", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "Cdc can work normally", + "required" : true, + "show_msg" : "Read log", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "192.168.1.184:25432", + "required" : true, + "show_msg" : "Datasource instance info", + "sort" : 0, + "status" : "passed" + } ] + }, + "schema" : { }, + "schemaUpdateHour" : "default", + "schemaVersion" : "447a7cc3-88dd-48e1-8a7d-513d73a4efeb", + "shareCDCExternalStorageId" : "", + "shareCdcEnable" : false, + "submit" : true, + "tableCount" : 3, + "table_filter" : "cpi_case", + "testCount" : 0, + "timeDifference" : 0, + "user_id" : "69c6449cb9dbbccec453fb5f" + } +} ] \ No newline at end of file diff --git a/case-team_tapdata_export/Connection/QMH_PG_HPI_CPI_CASE_Connection_Metadata.json b/case-team_tapdata_export/Connection/QMH_PG_HPI_CPI_CASE_Connection_Metadata.json new file mode 100644 index 0000000..9b38010 --- /dev/null +++ b/case-team_tapdata_export/Connection/QMH_PG_HPI_CPI_CASE_Connection_Metadata.json @@ -0,0 +1,738 @@ +[ { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "QMH_PG_HPI_CPI_CASE", + "createTime" : 1774946122300, + "createUser" : "cpicase-martin", + "dev_version" : 1, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69cb874aa6fb9b4275db2150", + "is_deleted" : false, + "lastUpdBy" : "69c6449cb9dbbccec453fb5f", + "meta_type" : "database", + "original_name" : "QMH_PG_HPI_CPI_CASE", + "qualified_name" : "CONN_postgres_io_tapdata_1_0-SNAPSHOT_69cb8749bda877370a5ef787", + "source" : { + "_id" : "69cb8749bda877370a5ef787", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "cpicase-martin", + "database_type" : "PostgreSQL", + "everLoadSchema" : true, + "id" : "69cb8749bda877370a5ef787", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "69c6449cb9dbbccec453fb5f", + "loadCount" : 1, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "QMH_PG_HPI_CPI_CASE", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "447a7cc3-88dd-48e1-8a7d-513d73a4efeb", + "status" : "ready", + "submit" : true, + "tableCount" : 3, + "table_filter" : "cpi_case", + "testTime" : 1774946138239, + "transformed" : true, + "user_id" : "69c6449cb9dbbccec453fb5f" + }, + "sourceType" : "SOURCE", + "user_id" : "69c6449cb9dbbccec453fb5f", + "username" : "cpicase-martin" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "cpi_case", + "comment" : "", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774946122800, + "databaseId" : "69cb874aa6fb9b4275db2150", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "character varying(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "69cb8749bda877370a5ef787_cpi_case_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "character varying(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":6,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "data_type" : "character varying(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "69cb8749bda877370a5ef787_cpi_case_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(24)", + "original_field_name" : "case_no", + "previousDataType" : "character varying(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":24,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "data_type" : "character varying(16)", + "default_value" : null, + "field_name" : "patient_key", + "id" : "69cb8749bda877370a5ef787_cpi_case_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(16)", + "original_field_name" : "patient_key", + "previousDataType" : "character varying(16)", + "previousFieldName" : "patient_key", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":16,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "case_type", + "id" : "69cb8749bda877370a5ef787_cpi_case_case_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(2)", + "original_field_name" : "case_type", + "previousDataType" : "character varying(2)", + "previousFieldName" : "case_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "data_type" : "timestamp(6) without time zone", + "default_value" : null, + "field_name" : "admission_dtm", + "id" : "69cb8749bda877370a5ef787_cpi_case_admission_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "admission_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "admission_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "source_indicator", + "id" : "69cb8749bda877370a5ef787_cpi_case_source_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "source_indicator", + "previousDataType" : "character varying(2)", + "previousFieldName" : "source_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "data_type" : "character varying(6)", + "default_value" : null, + "field_name" : "source_code", + "id" : "69cb8749bda877370a5ef787_cpi_case_source_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(6)", + "original_field_name" : "source_code", + "previousDataType" : "character varying(6)", + "previousFieldName" : "source_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":6,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "data_type" : "character varying(6)", + "default_value" : null, + "field_name" : "patient_type", + "id" : "69cb8749bda877370a5ef787_cpi_case_patient_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(6)", + "original_field_name" : "patient_type", + "previousDataType" : "character varying(6)", + "previousFieldName" : "patient_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":6,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "discharge_code", + "id" : "69cb8749bda877370a5ef787_cpi_case_discharge_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "discharge_code", + "previousDataType" : "character varying(2)", + "previousFieldName" : "discharge_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "data_type" : "timestamp(6) without time zone", + "default_value" : null, + "field_name" : "discharge_dtm", + "id" : "69cb8749bda877370a5ef787_cpi_case_discharge_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "discharge_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "discharge_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "data_type" : "character varying(6)", + "default_value" : null, + "field_name" : "destination_code", + "id" : "69cb8749bda877370a5ef787_cpi_case_destination_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(6)", + "original_field_name" : "destination_code", + "previousDataType" : "character varying(6)", + "previousFieldName" : "destination_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":6,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "data_type" : "character varying(8)", + "default_value" : null, + "field_name" : "last_specialty", + "id" : "69cb8749bda877370a5ef787_cpi_case_last_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "last_specialty", + "previousDataType" : "character varying(8)", + "previousFieldName" : "last_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":8,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "data_type" : "character varying(8)", + "default_value" : null, + "field_name" : "last_sub_specialty", + "id" : "69cb8749bda877370a5ef787_cpi_case_last_sub_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "last_sub_specialty", + "previousDataType" : "character varying(8)", + "previousFieldName" : "last_sub_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":8,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "data_type" : "character varying(8)", + "default_value" : null, + "field_name" : "last_ward_code", + "id" : "69cb8749bda877370a5ef787_cpi_case_last_ward_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "last_ward_code", + "previousDataType" : "character varying(8)", + "previousFieldName" : "last_ward_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":8,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "last_ward_class", + "id" : "69cb8749bda877370a5ef787_cpi_case_last_ward_class", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "last_ward_class", + "previousDataType" : "character varying(2)", + "previousFieldName" : "last_ward_class", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "data_type" : "character varying(10)", + "default_value" : null, + "field_name" : "last_bed_no", + "id" : "69cb8749bda877370a5ef787_cpi_case_last_bed_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "last_bed_no", + "previousDataType" : "character varying(10)", + "previousFieldName" : "last_bed_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":10,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "data_type" : "character varying(16)", + "default_value" : null, + "field_name" : "pp_code", + "id" : "69cb8749bda877370a5ef787_cpi_case_pp_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(16)", + "original_field_name" : "pp_code", + "previousDataType" : "character varying(16)", + "previousFieldName" : "pp_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":16,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "data_type" : "integer", + "default_value" : null, + "field_name" : "access_code", + "id" : "69cb8749bda877370a5ef787_cpi_case_access_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "integer", + "original_field_name" : "access_code", + "previousDataType" : "integer", + "previousFieldName" : "access_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "data_type" : "character varying(4)", + "default_value" : null, + "field_name" : "status_code", + "id" : "69cb8749bda877370a5ef787_cpi_case_status_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(4)", + "original_field_name" : "status_code", + "previousDataType" : "character varying(4)", + "previousFieldName" : "status_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":4,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "data_type" : "character varying(24)", + "default_value" : null, + "field_name" : "create_by", + "id" : "69cb8749bda877370a5ef787_cpi_case_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(24)", + "original_field_name" : "create_by", + "previousDataType" : "character varying(24)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":24,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "data_type" : "timestamp(6) without time zone", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "69cb8749bda877370a5ef787_cpi_case_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "create_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "data_type" : "character varying(24)", + "default_value" : null, + "field_name" : "update_by", + "id" : "69cb8749bda877370a5ef787_cpi_case_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(24)", + "original_field_name" : "update_by", + "previousDataType" : "character varying(24)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":24,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 23, + "data_type" : "timestamp(6) without time zone", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "69cb8749bda877370a5ef787_cpi_case_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "update_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 24, + "data_type" : "timestamp(6) without time zone", + "default_value" : null, + "field_name" : "row_update_datetime", + "id" : "69cb8749bda877370a5ef787_cpi_case_row_update_datetime", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "row_update_datetime", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "row_update_datetime", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 25, + "data_type" : "integer", + "default_value" : null, + "field_name" : "movement_count", + "id" : "69cb8749bda877370a5ef787_cpi_case_movement_count", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "integer", + "original_field_name" : "movement_count", + "previousDataType" : "integer", + "previousFieldName" : "movement_count", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 26, + "data_type" : "character varying(10)", + "default_value" : null, + "field_name" : "district_code", + "id" : "69cb8749bda877370a5ef787_cpi_case_district_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "district_code", + "previousDataType" : "character varying(10)", + "previousFieldName" : "district_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":10,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 27, + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "mrt_indicator", + "id" : "69cb8749bda877370a5ef787_cpi_case_mrt_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "mrt_indicator", + "previousDataType" : "character varying(2)", + "previousFieldName" : "mrt_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 28, + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "document_flag", + "id" : "69cb8749bda877370a5ef787_cpi_case_document_flag", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "document_flag", + "previousDataType" : "character varying(2)", + "previousFieldName" : "document_flag", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69cb874aa6fb9b4275db2151", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_cpi_case_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "table", + "name" : "cpi_case", + "original_name" : "cpi_case", + "partitionSet" : [ ], + "qualified_name" : "T_postgres_io_tapdata_1_0-SNAPSHOT_cpi_case_69cb8749bda877370a5ef787", + "source" : { + "_id" : "69cb8749bda877370a5ef787", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "cpicase-martin", + "database_type" : "PostgreSQL", + "everLoadSchema" : true, + "id" : "69cb8749bda877370a5ef787", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "69c6449cb9dbbccec453fb5f", + "loadCount" : 1, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "loading", + "loadSchemaField" : true, + "name" : "QMH_PG_HPI_CPI_CASE", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "447a7cc3-88dd-48e1-8a7d-513d73a4efeb", + "status" : "ready", + "submit" : true, + "tableCount" : 3, + "table_filter" : "cpi_case", + "testTime" : 1774946138239, + "transformed" : true, + "user_id" : "69c6449cb9dbbccec453fb5f" + }, + "sourceType" : "SOURCE", + "username" : "cpicase-martin" + } +} ] \ No newline at end of file diff --git a/case-team_tapdata_export/Connection/TMH_PG_CMS_Connection_Config.json b/case-team_tapdata_export/Connection/TMH_PG_CMS_Connection_Config.json new file mode 100644 index 0000000..f01ea56 --- /dev/null +++ b/case-team_tapdata_export/Connection/TMH_PG_CMS_Connection_Config.json @@ -0,0 +1,288 @@ +[ { + "collectionName" : "Connections", + "json" : { + "accessNodeProcessId" : "", + "accessNodeProcessIdList" : [ ], + "accessNodeType" : "AUTOMATIC_PLATFORM_ALLOCATION", + "agentTags" : [ ], + "capabilities" : [ { + "id" : "count_raw_command_function", + "type" : 11 + }, { + "id" : "run_raw_command_function", + "type" : 11 + }, { + "id" : "execute_command_function", + "type" : 11 + }, { + "id" : "release_external_function", + "type" : 11 + }, { + "id" : "batch_read_function", + "type" : 11 + }, { + "id" : "stream_read_function", + "type" : 11 + }, { + "id" : "batch_count_function", + "type" : 11 + }, { + "id" : "timestamp_to_stream_offset_function", + "type" : 11 + }, { + "id" : "write_record_function", + "type" : 11 + }, { + "id" : "after_initial_sync_function", + "type" : 11 + }, { + "id" : "query_by_filter_function", + "type" : 11 + }, { + "id" : "query_by_advance_filter_function", + "type" : 11 + }, { + "id" : "create_table_v2_function", + "type" : 11 + }, { + "id" : "clear_table_function", + "type" : 11 + }, { + "id" : "drop_table_function", + "type" : 11 + }, { + "id" : "create_index_function", + "type" : 11 + }, { + "id" : "delete_index_function", + "type" : 11 + }, { + "id" : "query_indexes_function", + "type" : 11 + }, { + "id" : "query_constraints_function", + "type" : 11 + }, { + "id" : "create_constraint_function", + "type" : 11 + }, { + "id" : "drop_constraint_function", + "type" : 11 + }, { + "id" : "alter_field_attributes_function", + "type" : 11 + }, { + "id" : "alter_field_name_function", + "type" : 11 + }, { + "id" : "drop_field_function", + "type" : 11 + }, { + "id" : "new_field_function", + "type" : 11 + }, { + "id" : "count_by_partition_filter_function", + "type" : 11 + }, { + "id" : "stream_read_multi_connection_function", + "type" : 11 + }, { + "id" : "transaction_begin_function", + "type" : 11 + }, { + "id" : "transaction_commit_function", + "type" : 11 + }, { + "id" : "transaction_rollback_function", + "type" : 11 + }, { + "id" : "query_hash_by_advance_filter_function", + "type" : 11 + }, { + "id" : "get_stream_offset_function", + "type" : 11 + }, { + "id" : "export_event_sql_function", + "type" : 11 + }, { + "id" : "flush_offset_function", + "type" : 11 + }, { + "id" : "get_table_info_function", + "type" : 11 + }, { + "id" : "get_table_names_function", + "type" : 11 + }, { + "id" : "error_handle_function", + "type" : 11 + }, { + "id" : "execute_command_v2_function", + "type" : 11 + }, { + "alternatives" : [ "update_on_exists", "ignore_on_exists", "just_insert" ], + "id" : "dml_insert_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_on_nonexists", "insert_on_nonexists", "log_on_nonexists" ], + "id" : "dml_update_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_on_nonexists", "log_on_nonexists" ], + "id" : "dml_delete_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_all_check", "default_check" ], + "id" : "dml_check_policy", + "type" : 20 + }, { + "id" : "api_server_supported", + "type" : 20 + }, { + "id" : "source_support_exactly_once", + "type" : 20 + }, { + "id" : "batch_read_hash_split", + "type" : 20 + }, { + "id" : "source_support_partition", + "type" : 20 + } ], + "config" : { + "__connectionType" : "source_and_target", + "allowReplication" : true, + "database" : "tmh", + "defaultWalLogSize" : 102400, + "deploymentMode" : "standalone", + "globalPublicationName" : "dbz_publication", + "id" : "69b8f8c08dd517882461dbbb", + "logPluginName" : "pgoutput", + "partPublication" : false, + "pgtoHost" : "127.0.0.1", + "pgtoPort" : 9876, + "schema" : "cms", + "timezone" : "+00:00" + }, + "connection_type" : "source_and_target", + "createAt" : 1773729984543, + "createUser" : "admin@admin.com", + "dataSourceMonitor" : false, + "database_type" : "PostgreSQL", + "datasourceInstanceTag" : "192.168.1.184:25432", + "definitionBuildNumber" : "null", + "definitionGroup" : "io.tapdata", + "definitionPdkAPIVersion" : "2.0.5-SNAPSHOT", + "definitionPdkId" : "postgres", + "definitionScope" : "public", + "definitionTags" : [ "Database", "ssl", "doubleActive", "disableForeignKey", "NullsLast" ], + "definitionVersion" : "1.0-SNAPSHOT", + "everLoadSchema" : true, + "heartbeatEnable" : false, + "id" : "69b8f8c08dd517882461dbbb", + "isInit" : false, + "kafkaAcks" : "-1", + "kafkaBatchSize" : 0, + "kafkaBufferMemory" : 0, + "kafkaCompressionType" : "", + "kafkaConsumerRequestTimeout" : 0, + "kafkaConsumerUseTransactional" : false, + "kafkaDeliveryTimeoutMS" : 0, + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "kafkaLingerMS" : 0, + "kafkaMaxBlockMS" : 0, + "kafkaMaxFetchBytes" : 0, + "kafkaMaxFetchWaitMS" : 0, + "kafkaMaxPollRecords" : 0, + "kafkaMaxRequestSize" : 0, + "kafkaPartitionKey" : "", + "kafkaPollTimeoutMS" : 0, + "kafkaProducerRequestTimeout" : 0, + "kafkaProducerUseTransactional" : false, + "kafkaRetries" : 0, + "lastUpdAt" : 1773730009282, + "listtags" : [ { + "id" : "69b90ba98dd517882461f4ec", + "value" : "dmp" + } ], + "loadAllTables" : true, + "loadCount" : 1, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "multiConnectionInstanceId" : "7903ef379676ad930e8c41ae63a7a161", + "name" : "TMH_PG_CMS", + "namespace" : [ "cms" ], + "openTableExcludeFilter" : false, + "pdkHash" : "8dea069f269dd428d82e60e75d0d91b6dc61be7be26eae7bc407d7b95d3b0594", + "pdkType" : "pdk", + "permissions" : [ { + "actions" : [ "Edit", "View" ], + "type" : "Role", + "typeId" : "69c623071f850faa41527910" + } ], + "plain_password" : "", + "project" : "", + "response_body" : { + "retry" : 0, + "validate_details" : [ { + "fail_message" : "2.0.5-SNAPSHOT (build: 2026-03-12 15:43:38)", + "required" : true, + "show_msg" : "PDK Connector version", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "connected to 192.168.1.184:25432 succeed!", + "required" : true, + "show_msg" : "Check host port is valid", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "login succeed!", + "required" : true, + "show_msg" : "Connection", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "PostgreSQL 15.13", + "required" : true, + "show_msg" : "Version", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "Create,Insert,Update,Delete,Drop succeed", + "required" : true, + "show_msg" : "Write", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "Current user has DBA privilege", + "required" : true, + "show_msg" : "Read", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "Cdc can work normally", + "required" : true, + "show_msg" : "Read log", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "192.168.1.184:25432", + "required" : true, + "show_msg" : "Datasource instance info", + "sort" : 0, + "status" : "passed" + } ] + }, + "schema" : { }, + "schemaUpdateHour" : "00:00", + "schemaVersion" : "cb246fc0-4509-4c0c-891f-9468eb2e950b", + "shareCDCExternalStorageId" : "696dccf3c085cb3a6493261e", + "shareCdcEnable" : true, + "submit" : true, + "tableCount" : 1, + "testCount" : 0, + "timeDifference" : 0, + "user_id" : "62bc5008d4958d013d97c7a6" + } +} ] \ No newline at end of file diff --git a/case-team_tapdata_export/Connection/TMH_PG_CMS_Connection_Metadata.json b/case-team_tapdata_export/Connection/TMH_PG_CMS_Connection_Metadata.json new file mode 100644 index 0000000..04f2f8a --- /dev/null +++ b/case-team_tapdata_export/Connection/TMH_PG_CMS_Connection_Metadata.json @@ -0,0 +1,604 @@ +[ { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "TMH_PG_CMS", + "createTime" : 1773729985677, + "createUser" : "admin@admin.com", + "dev_version" : 1, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69b8f8c17e25a691d411863d", + "is_deleted" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "meta_type" : "database", + "original_name" : "TMH_PG_CMS", + "qualified_name" : "CONN_postgres_io_tapdata_1_0-SNAPSHOT_69b8f8c08dd517882461dbbb", + "source" : { + "_id" : "69b8f8c08dd517882461dbbb", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "PostgreSQL", + "everLoadSchema" : true, + "id" : "69b8f8c08dd517882461dbbb", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 1, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "TMH_PG_CMS", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "cb246fc0-4509-4c0c-891f-9468eb2e950b", + "status" : "ready", + "submit" : true, + "tableCount" : 1, + "testTime" : 1774504222405, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "SOURCE", + "user_id" : "62bc5008d4958d013d97c7a6", + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "discharge_information", + "comment" : "", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1773729986536, + "databaseId" : "69b8f8c17e25a691d411863d", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "character(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "character(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":6,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "data_type" : "character(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character(24)", + "original_field_name" : "case_no", + "previousDataType" : "character(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":24,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "data_type" : "character(8)", + "default_value" : null, + "field_name" : "specialty", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character(8)", + "original_field_name" : "specialty", + "previousDataType" : "character(8)", + "previousFieldName" : "specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":8,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "ho_id", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_ho_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "ho_id", + "previousDataType" : "character varying(12)", + "previousFieldName" : "ho_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "mo_in_charge_id", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_mo_in_charge_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(12)", + "original_field_name" : "mo_in_charge_id", + "previousDataType" : "character varying(12)", + "previousFieldName" : "mo_in_charge_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "create_by", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(12)", + "original_field_name" : "create_by", + "previousDataType" : "character varying(12)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "data_type" : "timestamp without time zone", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "create_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "update_by", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "update_by", + "previousDataType" : "character varying(12)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "data_type" : "timestamp without time zone", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "update_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "specialist_ic", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_specialist_ic", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(12)", + "original_field_name" : "specialist_ic", + "previousDataType" : "character varying(12)", + "previousFieldName" : "specialist_ic", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "data_type" : "integer", + "default_value" : null, + "field_name" : "admit_mode", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_admit_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "integer", + "original_field_name" : "admit_mode", + "previousDataType" : "integer", + "previousFieldName" : "admit_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "data_type" : "character(5)", + "default_value" : null, + "field_name" : "admit_team", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_admit_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(5)", + "original_field_name" : "admit_team", + "previousDataType" : "character(5)", + "previousFieldName" : "admit_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":5,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "admit_physician", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_admit_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "admit_physician", + "previousDataType" : "character varying(12)", + "previousFieldName" : "admit_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "admit_doctor", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_admit_doctor", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "admit_doctor", + "previousDataType" : "character varying(12)", + "previousFieldName" : "admit_doctor", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "data_type" : "timestamp without time zone", + "default_value" : null, + "field_name" : "expected_discharge_date", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_expected_discharge_date", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "expected_discharge_date", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "expected_discharge_date", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "data_type" : "character(1)", + "default_value" : null, + "field_name" : "discharge_mode", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_discharge_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(1)", + "original_field_name" : "discharge_mode", + "previousDataType" : "character(1)", + "previousFieldName" : "discharge_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":1,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "data_type" : "character(5)", + "default_value" : null, + "field_name" : "discharge_destination", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_discharge_destination", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(5)", + "original_field_name" : "discharge_destination", + "previousDataType" : "character(5)", + "previousFieldName" : "discharge_destination", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":5,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "data_type" : "character(5)", + "default_value" : null, + "field_name" : "discharge_team", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_discharge_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(5)", + "original_field_name" : "discharge_team", + "previousDataType" : "character(5)", + "previousFieldName" : "discharge_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":5,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "discharge_physician", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_discharge_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "discharge_physician", + "previousDataType" : "character varying(12)", + "previousFieldName" : "discharge_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "data_type" : "bytea", + "default_value" : null, + "field_name" : "timestamp", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_timestamp", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "bytea", + "original_field_name" : "timestamp", + "previousDataType" : "bytea", + "previousFieldName" : "timestamp", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "bytea", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":4294967295,\"type\":9}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "data_type" : "timestamp without time zone", + "default_value" : null, + "field_name" : "sick_leave_from_dtm", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_sick_leave_from_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "sick_leave_from_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "sick_leave_from_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "data_type" : "timestamp without time zone", + "default_value" : null, + "field_name" : "sick_leave_to_dtm", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_sick_leave_to_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "sick_leave_to_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "sick_leave_to_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + } ], + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69b8f8c27e25a691d4118640", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_discharge_information_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "table", + "name" : "discharge_information", + "original_name" : "discharge_information", + "partitionSet" : [ ], + "qualified_name" : "T_postgres_io_tapdata_1_0-SNAPSHOT_discharge_information_69b8f8c08dd517882461dbbb", + "source" : { + "_id" : "69b8f8c08dd517882461dbbb", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "PostgreSQL", + "everLoadSchema" : true, + "id" : "69b8f8c08dd517882461dbbb", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "loading", + "loadSchemaField" : true, + "name" : "TMH_PG_CMS", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "cb246fc0-4509-4c0c-891f-9468eb2e950b", + "status" : "ready", + "submit" : true, + "tableCount" : 1, + "testTime" : 1774504222405, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "SOURCE", + "username" : "admin@admin.com" + } +} ] \ No newline at end of file diff --git a/case-team_tapdata_export/Connection/TMH_PG_HPI_CPI_CASE_Connection_Config.json b/case-team_tapdata_export/Connection/TMH_PG_HPI_CPI_CASE_Connection_Config.json new file mode 100644 index 0000000..ff53059 --- /dev/null +++ b/case-team_tapdata_export/Connection/TMH_PG_HPI_CPI_CASE_Connection_Config.json @@ -0,0 +1,277 @@ +[ { + "collectionName" : "Connections", + "json" : { + "accessNodeProcessId" : "", + "accessNodeProcessIdList" : [ ], + "accessNodeType" : "AUTOMATIC_PLATFORM_ALLOCATION", + "agentTags" : [ ], + "capabilities" : [ { + "id" : "count_raw_command_function", + "type" : 11 + }, { + "id" : "run_raw_command_function", + "type" : 11 + }, { + "id" : "execute_command_function", + "type" : 11 + }, { + "id" : "release_external_function", + "type" : 11 + }, { + "id" : "batch_read_function", + "type" : 11 + }, { + "id" : "stream_read_function", + "type" : 11 + }, { + "id" : "batch_count_function", + "type" : 11 + }, { + "id" : "timestamp_to_stream_offset_function", + "type" : 11 + }, { + "id" : "write_record_function", + "type" : 11 + }, { + "id" : "after_initial_sync_function", + "type" : 11 + }, { + "id" : "query_by_filter_function", + "type" : 11 + }, { + "id" : "query_by_advance_filter_function", + "type" : 11 + }, { + "id" : "create_table_v2_function", + "type" : 11 + }, { + "id" : "clear_table_function", + "type" : 11 + }, { + "id" : "drop_table_function", + "type" : 11 + }, { + "id" : "create_index_function", + "type" : 11 + }, { + "id" : "delete_index_function", + "type" : 11 + }, { + "id" : "query_indexes_function", + "type" : 11 + }, { + "id" : "query_constraints_function", + "type" : 11 + }, { + "id" : "create_constraint_function", + "type" : 11 + }, { + "id" : "drop_constraint_function", + "type" : 11 + }, { + "id" : "alter_field_attributes_function", + "type" : 11 + }, { + "id" : "alter_field_name_function", + "type" : 11 + }, { + "id" : "drop_field_function", + "type" : 11 + }, { + "id" : "new_field_function", + "type" : 11 + }, { + "id" : "count_by_partition_filter_function", + "type" : 11 + }, { + "id" : "stream_read_multi_connection_function", + "type" : 11 + }, { + "id" : "transaction_begin_function", + "type" : 11 + }, { + "id" : "transaction_commit_function", + "type" : 11 + }, { + "id" : "transaction_rollback_function", + "type" : 11 + }, { + "id" : "query_hash_by_advance_filter_function", + "type" : 11 + }, { + "id" : "get_stream_offset_function", + "type" : 11 + }, { + "id" : "export_event_sql_function", + "type" : 11 + }, { + "id" : "flush_offset_function", + "type" : 11 + }, { + "id" : "get_table_info_function", + "type" : 11 + }, { + "id" : "get_table_names_function", + "type" : 11 + }, { + "id" : "error_handle_function", + "type" : 11 + }, { + "id" : "execute_command_v2_function", + "type" : 11 + }, { + "alternatives" : [ "update_on_exists", "ignore_on_exists", "just_insert" ], + "id" : "dml_insert_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_on_nonexists", "insert_on_nonexists", "log_on_nonexists" ], + "id" : "dml_update_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_on_nonexists", "log_on_nonexists" ], + "id" : "dml_delete_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_all_check", "default_check" ], + "id" : "dml_check_policy", + "type" : 20 + }, { + "id" : "api_server_supported", + "type" : 20 + }, { + "id" : "source_support_exactly_once", + "type" : 20 + }, { + "id" : "batch_read_hash_split", + "type" : 20 + }, { + "id" : "source_support_partition", + "type" : 20 + } ], + "config" : { + "__connectionType" : "source_and_target", + "allowReplication" : true, + "database" : "tmh", + "defaultWalLogSize" : 102400, + "deploymentMode" : "standalone", + "globalPublicationName" : "dbz_publication", + "logPluginName" : "pgoutput", + "partPublication" : false, + "pgtoHost" : "127.0.0.1", + "pgtoPort" : 9876, + "schema" : "hpi", + "timezone" : "" + }, + "connection_type" : "source_and_target", + "createAt" : 1774946116658, + "createUser" : "cpicase-martin", + "dataSourceMonitor" : false, + "database_type" : "PostgreSQL", + "datasourceInstanceTag" : "192.168.1.184:25432", + "definitionBuildNumber" : "null", + "definitionGroup" : "io.tapdata", + "definitionPdkAPIVersion" : "2.0.5-SNAPSHOT", + "definitionPdkId" : "postgres", + "definitionScope" : "public", + "definitionTags" : [ "Database", "ssl", "doubleActive", "disableForeignKey", "NullsLast" ], + "definitionVersion" : "1.0-SNAPSHOT", + "everLoadSchema" : true, + "heartbeatEnable" : false, + "id" : "69cb8744bda877370a5ef77e", + "isInit" : false, + "kafkaAcks" : "-1", + "kafkaBatchSize" : 0, + "kafkaBufferMemory" : 0, + "kafkaCompressionType" : "", + "kafkaConsumerRequestTimeout" : 0, + "kafkaConsumerUseTransactional" : false, + "kafkaDeliveryTimeoutMS" : 0, + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "kafkaLingerMS" : 0, + "kafkaMaxBlockMS" : 0, + "kafkaMaxFetchBytes" : 0, + "kafkaMaxFetchWaitMS" : 0, + "kafkaMaxPollRecords" : 0, + "kafkaMaxRequestSize" : 0, + "kafkaPartitionKey" : "", + "kafkaPollTimeoutMS" : 0, + "kafkaProducerRequestTimeout" : 0, + "kafkaProducerUseTransactional" : false, + "kafkaRetries" : 0, + "lastUpdAt" : 1774946116658, + "loadAllTables" : false, + "loadCount" : 1, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "multiConnectionInstanceId" : "7903ef379676ad930e8c41ae63a7a161", + "name" : "TMH_PG_HPI_CPI_CASE", + "namespace" : [ "hpi" ], + "openTableExcludeFilter" : false, + "pdkHash" : "8dea069f269dd428d82e60e75d0d91b6dc61be7be26eae7bc407d7b95d3b0594", + "pdkType" : "pdk", + "project" : "", + "response_body" : { + "retry" : 0, + "validate_details" : [ { + "fail_message" : "2.0.5-SNAPSHOT (build: 2026-03-12 15:43:38)", + "required" : true, + "show_msg" : "PDK Connector version", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "connected to 192.168.1.184:25432 succeed!", + "required" : true, + "show_msg" : "Check host port is valid", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "login succeed!", + "required" : true, + "show_msg" : "Connection", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "PostgreSQL 15.13", + "required" : true, + "show_msg" : "Version", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "Create,Insert,Update,Delete,Drop succeed", + "required" : true, + "show_msg" : "Write", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "Current user has DBA privilege", + "required" : true, + "show_msg" : "Read", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "Cdc can work normally", + "required" : true, + "show_msg" : "Read log", + "sort" : 0, + "status" : "passed" + }, { + "fail_message" : "192.168.1.184:25432", + "required" : true, + "show_msg" : "Datasource instance info", + "sort" : 0, + "status" : "passed" + } ] + }, + "schemaUpdateHour" : "default", + "schemaVersion" : "441f6cfc-009b-4c82-90b7-a48d504f8f4d", + "shareCDCExternalStorageId" : "", + "shareCdcEnable" : false, + "submit" : true, + "tableCount" : 3, + "table_filter" : "cpi_case", + "testCount" : 0, + "timeDifference" : 0, + "user_id" : "69c6449cb9dbbccec453fb5f" + } +} ] \ No newline at end of file diff --git a/case-team_tapdata_export/Connection/TMH_PG_HPI_CPI_CASE_Connection_Metadata.json b/case-team_tapdata_export/Connection/TMH_PG_HPI_CPI_CASE_Connection_Metadata.json new file mode 100644 index 0000000..07a2352 --- /dev/null +++ b/case-team_tapdata_export/Connection/TMH_PG_HPI_CPI_CASE_Connection_Metadata.json @@ -0,0 +1,732 @@ +[ { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "TMH_PG_HPI_CPI_CASE", + "createTime" : 1774946117774, + "createUser" : "cpicase-martin", + "dev_version" : 1, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69cb8745a6fb9b4275db214c", + "is_deleted" : false, + "lastUpdBy" : "69c6449cb9dbbccec453fb5f", + "meta_type" : "database", + "original_name" : "TMH_PG_HPI_CPI_CASE", + "qualified_name" : "CONN_postgres_io_tapdata_1_0-SNAPSHOT_69cb8744bda877370a5ef77e", + "source" : { + "_id" : "69cb8744bda877370a5ef77e", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "cpicase-martin", + "database_type" : "PostgreSQL", + "everLoadSchema" : true, + "id" : "69cb8744bda877370a5ef77e", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "69c6449cb9dbbccec453fb5f", + "loadCount" : 1, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "TMH_PG_HPI_CPI_CASE", + "project" : "", + "retry" : 0, + "schemaVersion" : "441f6cfc-009b-4c82-90b7-a48d504f8f4d", + "status" : "ready", + "submit" : true, + "tableCount" : 3, + "table_filter" : "cpi_case", + "testTime" : 1774946117809, + "transformed" : true, + "user_id" : "69c6449cb9dbbccec453fb5f" + }, + "sourceType" : "SOURCE", + "user_id" : "69c6449cb9dbbccec453fb5f", + "username" : "cpicase-martin" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "cpi_case", + "comment" : "", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774946118335, + "databaseId" : "69cb8745a6fb9b4275db214c", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 1, + "data_type" : "character varying(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "69cb8744bda877370a5ef77e_cpi_case_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "character varying(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":6,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "data_type" : "character varying(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "69cb8744bda877370a5ef77e_cpi_case_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(24)", + "original_field_name" : "case_no", + "previousDataType" : "character varying(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":24,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "data_type" : "character varying(16)", + "default_value" : null, + "field_name" : "patient_key", + "id" : "69cb8744bda877370a5ef77e_cpi_case_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(16)", + "original_field_name" : "patient_key", + "previousDataType" : "character varying(16)", + "previousFieldName" : "patient_key", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":16,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "case_type", + "id" : "69cb8744bda877370a5ef77e_cpi_case_case_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(2)", + "original_field_name" : "case_type", + "previousDataType" : "character varying(2)", + "previousFieldName" : "case_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "data_type" : "timestamp(6) without time zone", + "default_value" : null, + "field_name" : "admission_dtm", + "id" : "69cb8744bda877370a5ef77e_cpi_case_admission_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "admission_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "admission_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "source_indicator", + "id" : "69cb8744bda877370a5ef77e_cpi_case_source_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "source_indicator", + "previousDataType" : "character varying(2)", + "previousFieldName" : "source_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "data_type" : "character varying(6)", + "default_value" : null, + "field_name" : "source_code", + "id" : "69cb8744bda877370a5ef77e_cpi_case_source_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(6)", + "original_field_name" : "source_code", + "previousDataType" : "character varying(6)", + "previousFieldName" : "source_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":6,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "data_type" : "character varying(6)", + "default_value" : null, + "field_name" : "patient_type", + "id" : "69cb8744bda877370a5ef77e_cpi_case_patient_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(6)", + "original_field_name" : "patient_type", + "previousDataType" : "character varying(6)", + "previousFieldName" : "patient_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":6,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "discharge_code", + "id" : "69cb8744bda877370a5ef77e_cpi_case_discharge_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "discharge_code", + "previousDataType" : "character varying(2)", + "previousFieldName" : "discharge_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "data_type" : "timestamp(6) without time zone", + "default_value" : null, + "field_name" : "discharge_dtm", + "id" : "69cb8744bda877370a5ef77e_cpi_case_discharge_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "discharge_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "discharge_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "data_type" : "character varying(6)", + "default_value" : null, + "field_name" : "destination_code", + "id" : "69cb8744bda877370a5ef77e_cpi_case_destination_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(6)", + "original_field_name" : "destination_code", + "previousDataType" : "character varying(6)", + "previousFieldName" : "destination_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":6,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "data_type" : "character varying(8)", + "default_value" : null, + "field_name" : "last_specialty", + "id" : "69cb8744bda877370a5ef77e_cpi_case_last_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "last_specialty", + "previousDataType" : "character varying(8)", + "previousFieldName" : "last_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":8,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "data_type" : "character varying(8)", + "default_value" : null, + "field_name" : "last_sub_specialty", + "id" : "69cb8744bda877370a5ef77e_cpi_case_last_sub_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "last_sub_specialty", + "previousDataType" : "character varying(8)", + "previousFieldName" : "last_sub_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":8,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "data_type" : "character varying(8)", + "default_value" : null, + "field_name" : "last_ward_code", + "id" : "69cb8744bda877370a5ef77e_cpi_case_last_ward_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "last_ward_code", + "previousDataType" : "character varying(8)", + "previousFieldName" : "last_ward_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":8,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "last_ward_class", + "id" : "69cb8744bda877370a5ef77e_cpi_case_last_ward_class", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "last_ward_class", + "previousDataType" : "character varying(2)", + "previousFieldName" : "last_ward_class", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "data_type" : "character varying(10)", + "default_value" : null, + "field_name" : "last_bed_no", + "id" : "69cb8744bda877370a5ef77e_cpi_case_last_bed_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "last_bed_no", + "previousDataType" : "character varying(10)", + "previousFieldName" : "last_bed_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":10,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "data_type" : "character varying(16)", + "default_value" : null, + "field_name" : "pp_code", + "id" : "69cb8744bda877370a5ef77e_cpi_case_pp_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(16)", + "original_field_name" : "pp_code", + "previousDataType" : "character varying(16)", + "previousFieldName" : "pp_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":16,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "data_type" : "integer", + "default_value" : null, + "field_name" : "access_code", + "id" : "69cb8744bda877370a5ef77e_cpi_case_access_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "integer", + "original_field_name" : "access_code", + "previousDataType" : "integer", + "previousFieldName" : "access_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "data_type" : "character varying(4)", + "default_value" : null, + "field_name" : "status_code", + "id" : "69cb8744bda877370a5ef77e_cpi_case_status_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(4)", + "original_field_name" : "status_code", + "previousDataType" : "character varying(4)", + "previousFieldName" : "status_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":4,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "data_type" : "character varying(24)", + "default_value" : null, + "field_name" : "create_by", + "id" : "69cb8744bda877370a5ef77e_cpi_case_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(24)", + "original_field_name" : "create_by", + "previousDataType" : "character varying(24)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":24,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "data_type" : "timestamp(6) without time zone", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "69cb8744bda877370a5ef77e_cpi_case_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "create_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "data_type" : "character varying(24)", + "default_value" : null, + "field_name" : "update_by", + "id" : "69cb8744bda877370a5ef77e_cpi_case_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(24)", + "original_field_name" : "update_by", + "previousDataType" : "character varying(24)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":24,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 23, + "data_type" : "timestamp(6) without time zone", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "69cb8744bda877370a5ef77e_cpi_case_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "update_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 24, + "data_type" : "timestamp(6) without time zone", + "default_value" : null, + "field_name" : "row_update_datetime", + "id" : "69cb8744bda877370a5ef77e_cpi_case_row_update_datetime", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "row_update_datetime", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "row_update_datetime", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 25, + "data_type" : "integer", + "default_value" : null, + "field_name" : "movement_count", + "id" : "69cb8744bda877370a5ef77e_cpi_case_movement_count", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "integer", + "original_field_name" : "movement_count", + "previousDataType" : "integer", + "previousFieldName" : "movement_count", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 26, + "data_type" : "character varying(10)", + "default_value" : null, + "field_name" : "district_code", + "id" : "69cb8744bda877370a5ef77e_cpi_case_district_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "district_code", + "previousDataType" : "character varying(10)", + "previousFieldName" : "district_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":10,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 27, + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "mrt_indicator", + "id" : "69cb8744bda877370a5ef77e_cpi_case_mrt_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "mrt_indicator", + "previousDataType" : "character varying(2)", + "previousFieldName" : "mrt_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 28, + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "document_flag", + "id" : "69cb8744bda877370a5ef77e_cpi_case_document_flag", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "document_flag", + "previousDataType" : "character varying(2)", + "previousFieldName" : "document_flag", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69cb8746a6fb9b4275db214d", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_cpi_case_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "table", + "name" : "cpi_case", + "original_name" : "cpi_case", + "partitionSet" : [ ], + "qualified_name" : "T_postgres_io_tapdata_1_0-SNAPSHOT_cpi_case_69cb8744bda877370a5ef77e", + "source" : { + "_id" : "69cb8744bda877370a5ef77e", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "cpicase-martin", + "database_type" : "PostgreSQL", + "id" : "69cb8744bda877370a5ef77e", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "69c6449cb9dbbccec453fb5f", + "loadFieldsStatus" : "loading", + "loadSchemaField" : true, + "name" : "TMH_PG_HPI_CPI_CASE", + "project" : "", + "retry" : 0, + "schemaVersion" : "441f6cfc-009b-4c82-90b7-a48d504f8f4d", + "status" : "ready", + "submit" : true, + "table_filter" : "cpi_case", + "testTime" : 1774946117809, + "transformed" : true, + "user_id" : "69c6449cb9dbbccec453fb5f" + }, + "sourceType" : "SOURCE", + "username" : "cpicase-martin" + } +} ] \ No newline at end of file diff --git a/case-team_tapdata_export/GroupInfo.json b/case-team_tapdata_export/GroupInfo.json new file mode 100644 index 0000000..80a8add --- /dev/null +++ b/case-team_tapdata_export/GroupInfo.json @@ -0,0 +1,47 @@ +[ { + "collectionName" : "GroupInfo", + "json" : { + "description" : "", + "gitInfo" : { + "branch" : "main", + "repoUrl" : "https://github.com/tapdata/case-team.git" + }, + "id" : "69d77e0acd7d0bfea587587c", + "name" : "case-team", + "resetTaskList" : [ ], + "resourceItemList" : [ { + "id" : "69cb888fbda877370a5efb80", + "name" : "UNION_discharge_information", + "type" : "MIGRATE_TASK" + }, { + "id" : "69cb8829bda877370a5efa38", + "name" : "UNION_cpi_case", + "type" : "MIGRATE_TASK" + }, { + "id" : "69cb87ebbda877370a5ef917", + "name" : "TMH_CMS_TO_FDM", + "type" : "MIGRATE_TASK" + }, { + "id" : "69cb87c2bda877370a5ef8aa", + "name" : "QMH_CMS_TO_FDM", + "type" : "MIGRATE_TASK" + }, { + "id" : "69cb879fbda877370a5ef82f", + "name" : "QMH_HPI_CASE_TO_FDM", + "type" : "MIGRATE_TASK" + }, { + "id" : "69cb8762bda877370a5ef7af", + "name" : "TMH_HPI_CASE_TO_FDM", + "type" : "MIGRATE_TASK" + }, { + "id" : "69cb88e6bda877370a5efce8", + "name" : "MDM_cpi_case", + "type" : "SYNC_TASK" + }, { + "id" : "69cb8b86bda877370a5f03f6", + "name" : "cpi case v1", + "type" : "MODULE" + } ], + "user_id" : "69c6449cb9dbbccec453fb5f" + } +} ] \ No newline at end of file diff --git a/case-team_tapdata_export/Task/MDM_cpi_case_SyncTask.json b/case-team_tapdata_export/Task/MDM_cpi_case_SyncTask.json new file mode 100644 index 0000000..6034e92 --- /dev/null +++ b/case-team_tapdata_export/Task/MDM_cpi_case_SyncTask.json @@ -0,0 +1,8509 @@ +[ { + "collectionName" : "Task", + "json" : { + "_deleted" : false, + "accessNodeProcessId" : "", + "accessNodeProcessIdList" : [ ], + "accessNodeType" : "AUTOMATIC_PLATFORM_ALLOCATION", + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "TASK_INCREMENT_DELAY", + "ms" : 60000, + "point" : 60, + "times" : 0 + }, { + "equalsFlag" : 0, + "key" : "TASK_RETRY_WARN", + "ms" : 0, + "point" : 0, + "times" : 10 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "TASK_STATUS_ERROR", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 1, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_FULL_COMPLETE", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 3, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_INCREMENT_START", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 4, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_INCREMENT_DELAY", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 6, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_INSPECT_DIFFERENCE", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 1, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_RETRY_WARN", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 4, + "type" : "TASK", + "unit" : "SECOND" + } ], + "attrs" : { }, + "autoIncrementalBatchSize" : true, + "autoInspect" : false, + "blankLog" : false, + "canOpenInspect" : false, + "cdctask" : false, + "checkMemoryHeap" : false, + "createTime" : 1774946534215, + "createUser" : "cpicase-martin", + "crontabExpressionFlag" : false, + "dag" : { + "edges" : [ { + "disabled" : false, + "source" : "f20736c2-21e7-47f3-8860-76f9bf4ec6a1", + "target" : "774c7489-313f-4c4d-bf17-152908e8ff6d" + }, { + "disabled" : false, + "source" : "49fa0a95-e446-4371-b7e9-b88b25266387", + "target" : "d82afea9-74cd-4123-bb37-4d46da1ba3d9" + }, { + "disabled" : false, + "source" : "bdc3d262-4064-41c9-8819-b04d0f00cfba", + "target" : "6110e39a-ea01-4209-b92a-b75fd2f209da" + }, { + "disabled" : false, + "source" : "d82afea9-74cd-4123-bb37-4d46da1ba3d9", + "target" : "1ba4ae12-2d12-4489-a426-0c10780cb834" + }, { + "disabled" : false, + "source" : "6110e39a-ea01-4209-b92a-b75fd2f209da", + "target" : "d82afea9-74cd-4123-bb37-4d46da1ba3d9" + }, { + "disabled" : false, + "source" : "774c7489-313f-4c4d-bf17-152908e8ff6d", + "target" : "d82afea9-74cd-4123-bb37-4d46da1ba3d9" + }, { + "disabled" : false, + "source" : "4aea368e-ccd2-453c-b92b-9188e6bbde84", + "target" : "f20736c2-21e7-47f3-8860-76f9bf4ec6a1" + }, { + "disabled" : false, + "source" : "bb412d42-d5c3-4c62-8662-a74a94313d34", + "target" : "bdc3d262-4064-41c9-8819-b04d0f00cfba" + }, { + "disabled" : false, + "source" : "40f48981-01fd-48fa-9905-0e609b4290f5", + "target" : "4aea368e-ccd2-453c-b92b-9188e6bbde84" + }, { + "disabled" : false, + "source" : "f58d4346-4a2b-4ff9-ae2e-8a73d47da141", + "target" : "bb412d42-d5c3-4c62-8662-a74a94313d34" + } ], + "nodes" : [ { + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "PROCESSNODE_AVERAGE_HANDLE_CONSUME", + "ms" : 30000, + "point" : 60, + "times" : 0 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "PROCESSNODE_AVERAGE_HANDLE_CONSUME", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 1, + "type" : "PROCESSNODE", + "unit" : "SECOND" + } ], + "attrs" : { + "position" : [ 278, 118.5 ] + }, + "catalog" : "processor", + "concurrentNum" : 2, + "deleteAllFields" : true, + "disabled" : false, + "elementType" : "Node", + "id" : "f20736c2-21e7-47f3-8860-76f9bf4ec6a1", + "isTransformed" : false, + "name" : "增删字段", + "operations" : [ { + "field" : "hospital_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_hospital_code", + "label" : "hospital_code", + "op" : "REMOVE", + "operand" : "false", + "primary_key_position" : 0, + "type" : "STRING(6)" + }, { + "field" : "case_no", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_case_no", + "label" : "case_no", + "op" : "REMOVE", + "operand" : "false", + "primary_key_position" : 0, + "type" : "STRING(24)" + }, { + "field" : "patient_key", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_patient_key", + "label" : "patient_key", + "op" : "REMOVE", + "operand" : "false", + "primary_key_position" : 0, + "type" : "STRING(16)" + }, { + "field" : "case_type", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_case_type", + "label" : "case_type", + "op" : "REMOVE", + "operand" : "false", + "primary_key_position" : 0, + "type" : "STRING(2)" + }, { + "field" : "admission_dtm", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_admission_dtm", + "label" : "admission_dtm", + "op" : "REMOVE", + "operand" : "false", + "primary_key_position" : 0, + "type" : "DATE_TIME" + }, { + "field" : "discharge_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_discharge_code", + "label" : "discharge_code", + "op" : "REMOVE", + "operand" : "false", + "primary_key_position" : 0, + "type" : "STRING(2)" + }, { + "field" : "last_bed_no", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_bed_no", + "label" : "last_bed_no", + "op" : "REMOVE", + "operand" : "false", + "primary_key_position" : 0, + "type" : "STRING(10)" + }, { + "field" : "last_ward_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_ward_code", + "label" : "last_ward_code", + "op" : "REMOVE", + "operand" : "false", + "primary_key_position" : 0, + "type" : "STRING(8)" + }, { + "field" : "last_ward_class", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_ward_class", + "label" : "last_ward_class", + "op" : "REMOVE", + "operand" : "false", + "primary_key_position" : 0, + "type" : "STRING(2)" + }, { + "field" : "last_specialty", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_specialty", + "label" : "last_specialty", + "op" : "REMOVE", + "operand" : "false", + "primary_key_position" : 0, + "type" : "STRING(8)" + }, { + "field" : "status_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_status_code", + "label" : "status_code", + "op" : "REMOVE", + "operand" : "false", + "primary_key_position" : 0, + "type" : "STRING(4)" + }, { + "field" : "source_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_source_code", + "label" : "source_code", + "op" : "REMOVE", + "operand" : "false", + "primary_key_position" : 0, + "type" : "STRING(6)" + } ], + "type" : "field_add_del_processor" + }, { + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "PROCESSNODE_AVERAGE_HANDLE_CONSUME", + "ms" : 30000, + "point" : 60, + "times" : 0 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "PROCESSNODE_AVERAGE_HANDLE_CONSUME", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 1, + "type" : "PROCESSNODE", + "unit" : "SECOND" + } ], + "attrs" : { + "hasNameEdited" : true, + "position" : [ 558, 118.5 ] + }, + "catalog" : "processor", + "concurrentNum" : 2, + "disabled" : false, + "elementType" : "Node", + "fieldsNameTransform" : "", + "id" : "774c7489-313f-4c4d-bf17-152908e8ff6d", + "isTransformed" : false, + "name" : "cpi_case", + "operations" : [ { + "field" : "hospital_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_hospital_code", + "op" : "RENAME", + "operand" : "hospCode", + "primary_key_position" : 0, + "type" : "STRING(6)" + }, { + "field" : "case_no", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_case_no", + "op" : "RENAME", + "operand" : "caseNo", + "primary_key_position" : 0, + "type" : "STRING(24)" + }, { + "field" : "patient_key", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_patient_key", + "op" : "RENAME", + "operand" : "patientKey", + "primary_key_position" : 0, + "type" : "STRING(16)" + }, { + "field" : "case_type", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_case_type", + "op" : "RENAME", + "operand" : "caseType", + "primary_key_position" : 0, + "type" : "STRING(2)" + }, { + "field" : "admission_dtm", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_admission_dtm", + "op" : "RENAME", + "operand" : "admissionDtm", + "primary_key_position" : 0, + "type" : "DATE_TIME" + }, { + "field" : "source_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_source_code", + "op" : "RENAME", + "operand" : "sourceCode", + "primary_key_position" : 0, + "type" : "STRING(6)" + }, { + "field" : "discharge_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_discharge_code", + "op" : "RENAME", + "operand" : "dischargeCode", + "primary_key_position" : 0, + "type" : "STRING(2)" + }, { + "field" : "last_specialty", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_specialty", + "op" : "RENAME", + "operand" : "lastSpecialty", + "primary_key_position" : 0, + "type" : "STRING(8)" + }, { + "field" : "last_ward_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_ward_code", + "op" : "RENAME", + "operand" : "lastWardCode", + "primary_key_position" : 0, + "type" : "STRING(8)" + }, { + "field" : "last_ward_class", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_ward_class", + "op" : "RENAME", + "operand" : "lastWardClass", + "primary_key_position" : 0, + "type" : "STRING(2)" + }, { + "field" : "last_bed_no", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_bed_no", + "op" : "RENAME", + "operand" : "lastBedNum", + "primary_key_position" : 0, + "type" : "STRING(10)" + }, { + "field" : "status_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_status_code", + "op" : "RENAME", + "operand" : "statusCode", + "primary_key_position" : 0, + "type" : "STRING(4)" + } ], + "type" : "field_rename_processor" + }, { + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "DATANODE_AVERAGE_HANDLE_CONSUME", + "ms" : 5000, + "point" : 12, + "times" : 0 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "DATANODE_AVERAGE_HANDLE_CONSUME", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 4, + "type" : "DATANODE", + "unit" : "SECOND" + } ], + "applyCompareRule" : false, + "attrs" : { + "accessNodeProcessId" : "", + "accessNodeType" : "AUTOMATIC_PLATFORM_ALLOCATION", + "capabilities" : [ { + "id" : "source_incremental_update_event_have_before", + "type" : 20 + }, { + "id" : "execute_command_function", + "type" : 11 + }, { + "id" : "batch_read_function", + "type" : 11 + }, { + "id" : "stream_read_function", + "type" : 11 + }, { + "id" : "batch_count_function", + "type" : 11 + }, { + "id" : "timestamp_to_stream_offset_function", + "type" : 11 + }, { + "id" : "write_record_function", + "type" : 11 + }, { + "id" : "query_by_advance_filter_function", + "type" : 11 + }, { + "id" : "create_table_v2_function", + "type" : 11 + }, { + "id" : "drop_table_function", + "type" : 11 + }, { + "id" : "create_index_function", + "type" : 11 + }, { + "id" : "query_indexes_function", + "type" : 11 + }, { + "id" : "count_by_partition_filter_function", + "type" : 11 + }, { + "id" : "get_read_partitions_function", + "type" : 11 + }, { + "id" : "query_field_min_max_value_function", + "type" : 11 + }, { + "id" : "transaction_begin_function", + "type" : 11 + }, { + "id" : "transaction_commit_function", + "type" : 11 + }, { + "id" : "transaction_rollback_function", + "type" : 11 + }, { + "id" : "get_table_info_function", + "type" : 11 + }, { + "id" : "get_table_names_function", + "type" : 11 + }, { + "id" : "error_handle_function", + "type" : 11 + }, { + "id" : "master_slave_merge", + "type" : 20 + }, { + "id" : "dynamic_schema", + "type" : 20 + }, { + "alternatives" : [ "update_on_exists", "ignore_on_exists", "just_insert" ], + "id" : "dml_insert_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_on_nonexists", "insert_on_nonexists", "log_on_nonexists" ], + "id" : "dml_update_policy", + "type" : 20 + }, { + "id" : "api_server_supported", + "type" : 20 + }, { + "id" : "source_support_exactly_once", + "type" : 20 + } ], + "connectionName" : "MDM", + "connectionTags" : [ "schema-free", "Database", "doubleActive" ], + "connectionType" : "source_and_target", + "db_version" : "8.0.9", + "hasCreated" : false, + "pdkHash" : "4335aaa005ec1a74a4e2166bded2962e939ad50239f48b023b884f35b54129a5", + "pdkType" : "pdk", + "position" : [ 558, 205 ] + }, + "catalog" : "data", + "cdcMode" : "logCdc", + "cdcPollingBatchSize" : 1000, + "cdcPollingFields" : [ { + "defaultValue" : "", + "field" : "" + } ], + "cdcPollingInterval" : 500, + "compareIgnoreCase" : false, + "connectionId" : "695497a235a6fa171731395e", + "databaseType" : "MongoDB", + "ddlConfiguration" : "FILTER", + "disabled" : false, + "elementType" : "Node", + "enableCustomCommand" : false, + "esFragmentNum" : 3, + "existDataProcessMode" : "keepData", + "id" : "49fa0a95-e446-4371-b7e9-b88b25266387", + "ignoreMetrics" : false, + "increaseReadSize" : 1, + "incrementExactlyOnceEnableTimeWindowDay" : 3, + "isFilter" : false, + "isTransformed" : false, + "maxTransactionDuration" : 12.0, + "name" : "MDM_cpi_patient", + "noPkSyncMode" : "ADD_HASH", + "nodeConfig" : { + "enableFillingModifiedData" : false, + "noCursorTimeout" : false, + "preImage" : true, + "writeConcern" : "w1" + }, + "reFullRun" : false, + "readBatchSize" : 100, + "readPartitionOptions" : { + "enable" : false, + "hasKVStorage" : true, + "maxRecordInPartition" : 200000, + "minMaxSplitPieces" : 100, + "partitionBatchCount" : 3000, + "partitionThreadCount" : 8, + "splitType" : 10 + }, + "sourceAndTarget" : false, + "syncForeignKeyEnable" : true, + "tableName" : "MDM_cpi_patient", + "type" : "table", + "writeStrategy" : "updateOrInsert", + "xmlIncludeFile" : false + }, { + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "PROCESSNODE_AVERAGE_HANDLE_CONSUME", + "ms" : 30000, + "point" : 60, + "times" : 0 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "PROCESSNODE_AVERAGE_HANDLE_CONSUME", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 1, + "type" : "PROCESSNODE", + "unit" : "SECOND" + } ], + "attrs" : { + "position" : [ 831, 118.5 ] + }, + "catalog" : "processor", + "concurrentNum" : 2, + "disabled" : false, + "elementType" : "Node", + "externalStorageId" : "696dccf3c085cb3a6493261e", + "externalStorageName" : "Tapdata MongoDB External Storage", + "id" : "d82afea9-74cd-4123-bb37-4d46da1ba3d9", + "isTransformed" : false, + "mergeMode" : "main_table_first", + "mergeProperties" : [ { + "arrayKeys" : [ "hospCode", "caseNo" ], + "children" : [ { + "arrayKeys" : [ "patientKey" ], + "children" : [ ], + "enableUpdateJoinKeyValue" : false, + "id" : "49fa0a95-e446-4371-b7e9-b88b25266387", + "isArray" : false, + "joinKeys" : [ { + "source" : "patientKey", + "target" : "patientKey" + } ], + "mergeType" : "updateWrite", + "tableName" : "MDM_cpi_patient", + "targetPath" : "cpiPatient" + }, { + "arrayKeys" : [ "hospCode", "caseNum", "specialty" ], + "children" : [ ], + "enableUpdateJoinKeyValue" : false, + "id" : "6110e39a-ea01-4209-b92a-b75fd2f209da", + "isArray" : false, + "joinKeys" : [ { + "source" : "hospCode", + "target" : "hospCode" + }, { + "source" : "caseNum", + "target" : "caseNo" + }, { + "source" : "specialty", + "target" : "lastSpecialty" + } ], + "mergeType" : "updateIntoArray", + "tableName" : "discharge_information", + "targetPath" : "dischargeInformation" + } ], + "enableUpdateJoinKeyValue" : false, + "id" : "774c7489-313f-4c4d-bf17-152908e8ff6d", + "isArray" : false, + "mergeType" : "updateOrInsert", + "tableName" : "cpi_case" + } ], + "name" : "主从合并", + "type" : "merge_table_processor" + }, { + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "PROCESSNODE_AVERAGE_HANDLE_CONSUME", + "ms" : 30000, + "point" : 60, + "times" : 0 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "PROCESSNODE_AVERAGE_HANDLE_CONSUME", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 1, + "type" : "PROCESSNODE", + "unit" : "SECOND" + } ], + "attrs" : { + "position" : [ 278, 320.5 ] + }, + "catalog" : "processor", + "concurrentNum" : 2, + "deleteAllFields" : true, + "disabled" : false, + "elementType" : "Node", + "id" : "bdc3d262-4064-41c9-8819-b04d0f00cfba", + "isTransformed" : false, + "name" : "增删字段", + "operations" : [ { + "field" : "case_no", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_case_no", + "label" : "case_no", + "op" : "REMOVE", + "operand" : "false", + "primary_key_position" : 0, + "type" : "STRING(24)" + }, { + "field" : "create_dtm", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_create_dtm", + "label" : "create_dtm", + "op" : "REMOVE", + "operand" : "false", + "primary_key_position" : 0, + "type" : "DATE_TIME" + }, { + "field" : "discharge_team", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_discharge_team", + "label" : "discharge_team", + "op" : "REMOVE", + "operand" : "false", + "primary_key_position" : 0, + "type" : "STRING(5)" + }, { + "field" : "hospital_code", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_hospital_code", + "label" : "hospital_code", + "op" : "REMOVE", + "operand" : "false", + "primary_key_position" : 0, + "type" : "STRING(6)" + }, { + "field" : "mo_in_charge_id", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_mo_in_charge_id", + "label" : "mo_in_charge_id", + "op" : "REMOVE", + "operand" : "false", + "primary_key_position" : 0, + "type" : "STRING(12)" + }, { + "field" : "specialist_ic", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_specialist_ic", + "label" : "specialist_ic", + "op" : "REMOVE", + "operand" : "false", + "primary_key_position" : 0, + "type" : "STRING(12)" + }, { + "field" : "specialty", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_specialty", + "label" : "specialty", + "op" : "REMOVE", + "operand" : "false", + "primary_key_position" : 0, + "type" : "STRING(8)" + } ], + "type" : "field_add_del_processor" + }, { + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "PROCESSNODE_AVERAGE_HANDLE_CONSUME", + "ms" : 30000, + "point" : 60, + "times" : 0 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "PROCESSNODE_AVERAGE_HANDLE_CONSUME", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 1, + "type" : "PROCESSNODE", + "unit" : "SECOND" + } ], + "attrs" : { + "hasNameEdited" : true, + "position" : [ 558, 320.5 ] + }, + "catalog" : "processor", + "concurrentNum" : 2, + "disabled" : false, + "elementType" : "Node", + "fieldsNameTransform" : "", + "id" : "6110e39a-ea01-4209-b92a-b75fd2f209da", + "isTransformed" : false, + "name" : "discharge_information", + "operations" : [ { + "field" : "hospital_code", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_hospital_code", + "op" : "RENAME", + "operand" : "hospCode", + "primary_key_position" : 0, + "type" : "STRING(6)" + }, { + "field" : "case_no", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_case_no", + "op" : "RENAME", + "operand" : "caseNum", + "primary_key_position" : 0, + "type" : "STRING(24)" + }, { + "field" : "mo_in_charge_id", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_mo_in_charge_id", + "op" : "RENAME", + "operand" : "moInChargeId", + "primary_key_position" : 0, + "type" : "STRING(12)" + }, { + "field" : "discharge_team", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_discharge_team", + "op" : "RENAME", + "operand" : "dischargeTeam", + "primary_key_position" : 0, + "type" : "STRING(5)" + }, { + "field" : "specialist_ic", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_specialist_ic", + "op" : "RENAME", + "operand" : "specialistIc", + "primary_key_position" : 0, + "type" : "STRING(12)" + }, { + "field" : "create_dtm", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_create_dtm", + "op" : "RENAME", + "operand" : "createDate", + "primary_key_position" : 0, + "type" : "DATE_TIME" + } ], + "type" : "field_rename_processor" + }, { + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "DATANODE_AVERAGE_HANDLE_CONSUME", + "ms" : 5000, + "point" : 12, + "times" : 0 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "DATANODE_AVERAGE_HANDLE_CONSUME", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 4, + "type" : "DATANODE", + "unit" : "SECOND" + } ], + "applyCompareRule" : false, + "attrs" : { + "accessNodeProcessId" : "", + "accessNodeType" : "AUTOMATIC_PLATFORM_ALLOCATION", + "capabilities" : [ { + "id" : "source_incremental_update_event_have_before", + "type" : 20 + }, { + "id" : "execute_command_function", + "type" : 11 + }, { + "id" : "batch_read_function", + "type" : 11 + }, { + "id" : "stream_read_function", + "type" : 11 + }, { + "id" : "batch_count_function", + "type" : 11 + }, { + "id" : "timestamp_to_stream_offset_function", + "type" : 11 + }, { + "id" : "write_record_function", + "type" : 11 + }, { + "id" : "query_by_advance_filter_function", + "type" : 11 + }, { + "id" : "create_table_v2_function", + "type" : 11 + }, { + "id" : "drop_table_function", + "type" : 11 + }, { + "id" : "create_index_function", + "type" : 11 + }, { + "id" : "query_indexes_function", + "type" : 11 + }, { + "id" : "count_by_partition_filter_function", + "type" : 11 + }, { + "id" : "get_read_partitions_function", + "type" : 11 + }, { + "id" : "query_field_min_max_value_function", + "type" : 11 + }, { + "id" : "transaction_begin_function", + "type" : 11 + }, { + "id" : "transaction_commit_function", + "type" : 11 + }, { + "id" : "transaction_rollback_function", + "type" : 11 + }, { + "id" : "get_table_info_function", + "type" : 11 + }, { + "id" : "get_table_names_function", + "type" : 11 + }, { + "id" : "error_handle_function", + "type" : 11 + }, { + "id" : "master_slave_merge", + "type" : 20 + }, { + "id" : "dynamic_schema", + "type" : 20 + }, { + "alternatives" : [ "update_on_exists", "ignore_on_exists", "just_insert" ], + "id" : "dml_insert_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_on_nonexists", "insert_on_nonexists", "log_on_nonexists" ], + "id" : "dml_update_policy", + "type" : 20 + }, { + "id" : "api_server_supported", + "type" : 20 + }, { + "id" : "source_support_exactly_once", + "type" : 20 + } ], + "connectionName" : "MDM", + "connectionTags" : [ "schema-free", "Database", "doubleActive" ], + "connectionType" : "source_and_target", + "db_version" : "8.0.9", + "hasCreated" : true, + "pdkHash" : "4335aaa005ec1a74a4e2166bded2962e939ad50239f48b023b884f35b54129a5", + "pdkType" : "pdk", + "position" : [ 1097, 118.5 ] + }, + "catalog" : "data", + "cdcPollingBatchSize" : 0, + "cdcPollingInterval" : 0, + "compareIgnoreCase" : false, + "concurrentWritePartitionMap" : { }, + "connectionId" : "695497a235a6fa171731395e", + "databaseType" : "MongoDB", + "disabled" : false, + "dmlPolicy" : { + "insertPolicy" : "update_on_exists", + "updatePolicy" : "ignore_on_nonexists" + }, + "elementType" : "Node", + "enableCustomCommand" : false, + "esFragmentNum" : 3, + "existDataProcessMode" : "dropTable", + "id" : "1ba4ae12-2d12-4489-a426-0c10780cb834", + "ignoreMetrics" : false, + "increaseReadSize" : 1, + "incrementExactlyOnceEnable" : false, + "incrementExactlyOnceEnableTimeWindowDay" : 3, + "isFilter" : false, + "isTransformed" : false, + "maxTransactionDuration" : 12.0, + "name" : "MDM_cpi_case", + "noPkSyncMode" : "ADD_HASH", + "nodeConfig" : { + "enableSaveDeleteData" : false, + "preImage4Sink" : false, + "shardCollection" : false, + "syncIndex" : false, + "timeSeriesCollection" : false, + "writeConcern" : "w1" + }, + "reFullRun" : false, + "readBatchSize" : 500, + "sourceAndTarget" : false, + "syncForeignKeyEnable" : true, + "tableName" : "MDM_cpi_case", + "type" : "table", + "uniqueIndexEnable" : true, + "updateConditionFields" : [ "hospCode", "caseNo" ], + "writeBatchSize" : 100, + "writeBatchWaitMs" : 500, + "writeStrategy" : "updateOrInsert", + "xmlIncludeFile" : false + }, { + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "PROCESSNODE_AVERAGE_HANDLE_CONSUME", + "ms" : 30000, + "point" : 60, + "times" : 0 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "PROCESSNODE_AVERAGE_HANDLE_CONSUME", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 1, + "type" : "PROCESSNODE", + "unit" : "SECOND" + } ], + "attrs" : { + "position" : [ -2, 118.5 ] + }, + "catalog" : "processor", + "concurrentNum" : 2, + "disabled" : false, + "elementType" : "Node", + "id" : "4aea368e-ccd2-453c-b92b-9188e6bbde84", + "isTransformed" : false, + "jsType" : 0, + "name" : "增强JS", + "script" : "function process(record){\n\t// Enter you code at here\n\tif(record.case_no){\n\t record.case_no=safeTrim(record.case_no)\n\t}\n\tif (record.hospital_code) {\n\t record.hospital_code=safeTrim(record.hospital_code)\n\t}\n\tif (record.last_specialty) {\n\t record.last_specialty=safeTrim(record.last_specialty)\n\t}\n\tif (record.last_ward_code) {\n\t record.last_ward_code=safeTrim(record.last_ward_code)\n\t}\n\tif (record.status_code) {\n\t record.status_code=safeTrim(record.status_code)\n\t}\n\tif (record.case_type) {\n\t record.case_type=safeTrim(record.case_type)\n\t}\n\t\n\n\t\n // log.warn(record.case_no)\n\treturn record;\n\n\nfunction safeTrim(val) {\n if (val == null) {\n return null;\n } \n \n const trimmed = String(val).trim();\n\n return trimmed === '' ? null :trimmed; //if after trim is blank, return null\n \n}}", + "type" : "js_processor" + }, { + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "PROCESSNODE_AVERAGE_HANDLE_CONSUME", + "ms" : 30000, + "point" : 60, + "times" : 0 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "PROCESSNODE_AVERAGE_HANDLE_CONSUME", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 1, + "type" : "PROCESSNODE", + "unit" : "SECOND" + } ], + "attrs" : { + "position" : [ -2, 320.5 ] + }, + "catalog" : "processor", + "concurrentNum" : 2, + "disabled" : false, + "elementType" : "Node", + "id" : "bb412d42-d5c3-4c62-8662-a74a94313d34", + "isTransformed" : false, + "jsType" : 0, + "name" : "增强JS", + "script" : "function process(record){\n\t// Enter you code at here\n\tif(record.case_no){\n\t record.case_no=safeTrim(record.case_no)\n\t}\n\tif (record.hospital_code) {\n\t record.hospital_code=safeTrim(record.hospital_code)\n\t}\n\tif (record.specialty) {\n\t record.specialty=safeTrim(record.specialty)\n\t}\n\tif (record.discharge_team) {\n\t record.discharge_team=safeTrim(record.discharge_team)\n\t}\n\tif (record.specialist_ic) {\n\t record.specialist_ic=safeTrim(record.specialist_ic)\n\t}\n\tif (record.mo_in_charge_id) {\n\t record.mo_in_charge_id=safeTrim(record.mo_in_charge_id)\n\t}\n\t\n\n\treturn record;\n\n\nfunction safeTrim(val) {\n if (val == null) {\n return null;\n } \n \n const trimmed = String(val).trim();\n\n return trimmed === '' ? null :trimmed; //if after trim is blank, return null\n \n}\n}", + "type" : "js_processor" + }, { + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "DATANODE_AVERAGE_HANDLE_CONSUME", + "ms" : 5000, + "point" : 12, + "times" : 0 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "DATANODE_AVERAGE_HANDLE_CONSUME", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 4, + "type" : "DATANODE", + "unit" : "SECOND" + } ], + "applyCompareRule" : false, + "attrs" : { + "accessNodeProcessId" : "", + "accessNodeType" : "AUTOMATIC_PLATFORM_ALLOCATION", + "capabilities" : [ { + "id" : "source_incremental_update_event_have_before", + "type" : 20 + }, { + "id" : "execute_command_function", + "type" : 11 + }, { + "id" : "batch_read_function", + "type" : 11 + }, { + "id" : "stream_read_function", + "type" : 11 + }, { + "id" : "batch_count_function", + "type" : 11 + }, { + "id" : "timestamp_to_stream_offset_function", + "type" : 11 + }, { + "id" : "write_record_function", + "type" : 11 + }, { + "id" : "query_by_advance_filter_function", + "type" : 11 + }, { + "id" : "create_table_v2_function", + "type" : 11 + }, { + "id" : "drop_table_function", + "type" : 11 + }, { + "id" : "create_index_function", + "type" : 11 + }, { + "id" : "query_indexes_function", + "type" : 11 + }, { + "id" : "count_by_partition_filter_function", + "type" : 11 + }, { + "id" : "get_read_partitions_function", + "type" : 11 + }, { + "id" : "query_field_min_max_value_function", + "type" : 11 + }, { + "id" : "transaction_begin_function", + "type" : 11 + }, { + "id" : "transaction_commit_function", + "type" : 11 + }, { + "id" : "transaction_rollback_function", + "type" : 11 + }, { + "id" : "get_table_info_function", + "type" : 11 + }, { + "id" : "get_table_names_function", + "type" : 11 + }, { + "id" : "error_handle_function", + "type" : 11 + }, { + "id" : "master_slave_merge", + "type" : 20 + }, { + "id" : "dynamic_schema", + "type" : 20 + }, { + "alternatives" : [ "update_on_exists", "ignore_on_exists", "just_insert" ], + "id" : "dml_insert_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_on_nonexists", "insert_on_nonexists", "log_on_nonexists" ], + "id" : "dml_update_policy", + "type" : 20 + }, { + "id" : "api_server_supported", + "type" : 20 + }, { + "id" : "source_support_exactly_once", + "type" : 20 + } ], + "connectionName" : "MDM", + "connectionTags" : [ "schema-free", "Database", "doubleActive" ], + "connectionType" : "source_and_target", + "db_version" : "8.0.9", + "hasCreated" : false, + "pdkHash" : "4335aaa005ec1a74a4e2166bded2962e939ad50239f48b023b884f35b54129a5", + "pdkType" : "pdk", + "position" : [ -282, 118.5 ] + }, + "catalog" : "data", + "cdcMode" : "logCdc", + "cdcPollingBatchSize" : 1000, + "cdcPollingFields" : [ { + "defaultValue" : "", + "field" : "" + } ], + "cdcPollingInterval" : 500, + "compareIgnoreCase" : false, + "connectionId" : "695497a235a6fa171731395e", + "databaseType" : "MongoDB", + "ddlConfiguration" : "FILTER", + "disabled" : false, + "elementType" : "Node", + "enableCustomCommand" : false, + "esFragmentNum" : 3, + "existDataProcessMode" : "keepData", + "id" : "40f48981-01fd-48fa-9905-0e609b4290f5", + "ignoreMetrics" : false, + "increaseReadSize" : 1, + "incrementExactlyOnceEnableTimeWindowDay" : 3, + "isFilter" : false, + "isTransformed" : false, + "maxTransactionDuration" : 12.0, + "name" : "MDM_HPI_cpi_case", + "noPkSyncMode" : "ADD_HASH", + "nodeConfig" : { + "enableFillingModifiedData" : false, + "writeConcern" : "w1" + }, + "reFullRun" : false, + "readBatchSize" : 100, + "readPartitionOptions" : { + "enable" : false, + "hasKVStorage" : true, + "maxRecordInPartition" : 200000, + "minMaxSplitPieces" : 100, + "partitionBatchCount" : 3000, + "partitionThreadCount" : 8, + "splitType" : 10 + }, + "sourceAndTarget" : false, + "syncForeignKeyEnable" : true, + "tableName" : "MDM_HPI_cpi_case", + "type" : "table", + "writeStrategy" : "updateOrInsert", + "xmlIncludeFile" : false + }, { + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "DATANODE_AVERAGE_HANDLE_CONSUME", + "ms" : 5000, + "point" : 12, + "times" : 0 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "DATANODE_AVERAGE_HANDLE_CONSUME", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 4, + "type" : "DATANODE", + "unit" : "SECOND" + } ], + "applyCompareRule" : false, + "attrs" : { + "accessNodeProcessId" : "", + "accessNodeType" : "AUTOMATIC_PLATFORM_ALLOCATION", + "capabilities" : [ { + "id" : "source_incremental_update_event_have_before", + "type" : 20 + }, { + "id" : "execute_command_function", + "type" : 11 + }, { + "id" : "batch_read_function", + "type" : 11 + }, { + "id" : "stream_read_function", + "type" : 11 + }, { + "id" : "batch_count_function", + "type" : 11 + }, { + "id" : "timestamp_to_stream_offset_function", + "type" : 11 + }, { + "id" : "write_record_function", + "type" : 11 + }, { + "id" : "query_by_advance_filter_function", + "type" : 11 + }, { + "id" : "create_table_v2_function", + "type" : 11 + }, { + "id" : "drop_table_function", + "type" : 11 + }, { + "id" : "create_index_function", + "type" : 11 + }, { + "id" : "query_indexes_function", + "type" : 11 + }, { + "id" : "count_by_partition_filter_function", + "type" : 11 + }, { + "id" : "get_read_partitions_function", + "type" : 11 + }, { + "id" : "query_field_min_max_value_function", + "type" : 11 + }, { + "id" : "transaction_begin_function", + "type" : 11 + }, { + "id" : "transaction_commit_function", + "type" : 11 + }, { + "id" : "transaction_rollback_function", + "type" : 11 + }, { + "id" : "get_table_info_function", + "type" : 11 + }, { + "id" : "get_table_names_function", + "type" : 11 + }, { + "id" : "error_handle_function", + "type" : 11 + }, { + "id" : "master_slave_merge", + "type" : 20 + }, { + "id" : "dynamic_schema", + "type" : 20 + }, { + "alternatives" : [ "update_on_exists", "ignore_on_exists", "just_insert" ], + "id" : "dml_insert_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_on_nonexists", "insert_on_nonexists", "log_on_nonexists" ], + "id" : "dml_update_policy", + "type" : 20 + }, { + "id" : "api_server_supported", + "type" : 20 + }, { + "id" : "source_support_exactly_once", + "type" : 20 + } ], + "connectionName" : "MDM", + "connectionTags" : [ "schema-free", "Database", "doubleActive" ], + "connectionType" : "source_and_target", + "db_version" : "8.0.9", + "hasCreated" : false, + "pdkHash" : "4335aaa005ec1a74a4e2166bded2962e939ad50239f48b023b884f35b54129a5", + "pdkType" : "pdk", + "position" : [ -282, 320.5 ] + }, + "catalog" : "data", + "cdcMode" : "logCdc", + "cdcPollingBatchSize" : 1000, + "cdcPollingFields" : [ { + "defaultValue" : "", + "field" : "" + } ], + "cdcPollingInterval" : 500, + "compareIgnoreCase" : false, + "connectionId" : "695497a235a6fa171731395e", + "databaseType" : "MongoDB", + "ddlConfiguration" : "FILTER", + "disabled" : false, + "elementType" : "Node", + "enableCustomCommand" : false, + "esFragmentNum" : 3, + "existDataProcessMode" : "keepData", + "id" : "f58d4346-4a2b-4ff9-ae2e-8a73d47da141", + "ignoreMetrics" : false, + "increaseReadSize" : 1, + "incrementExactlyOnceEnableTimeWindowDay" : 3, + "isFilter" : false, + "isTransformed" : false, + "maxTransactionDuration" : 12.0, + "name" : "MDM_CMSIP_discharge_information", + "noPkSyncMode" : "ADD_HASH", + "nodeConfig" : { + "enableFillingModifiedData" : false, + "writeConcern" : "w1" + }, + "reFullRun" : false, + "readBatchSize" : 100, + "readPartitionOptions" : { + "enable" : false, + "hasKVStorage" : true, + "maxRecordInPartition" : 200000, + "minMaxSplitPieces" : 100, + "partitionBatchCount" : 3000, + "partitionThreadCount" : 8, + "splitType" : 10 + }, + "sourceAndTarget" : false, + "syncForeignKeyEnable" : true, + "tableName" : "MDM_CMSIP_discharge_information", + "type" : "table", + "writeStrategy" : "updateOrInsert", + "xmlIncludeFile" : false + } ] + }, + "dataSaving" : true, + "deduceSchemaTask" : false, + "deduplicWriteMode" : "intelligent", + "desc" : "", + "doubleActive" : false, + "dynamicAdjustMemoryUsage" : false, + "emailReceivers" : [ ], + "enforceShareCdc" : true, + "fileLog" : false, + "id" : "69cb88e6bda877370a5efce8", + "increHysteresis" : false, + "increOperationMode" : false, + "increSyncConcurrency" : false, + "increaseReadSize" : 1, + "initialSyncTask" : true, + "isAutoCreateIndex" : true, + "isAutoInspect" : false, + "isEdit" : false, + "isFilter" : false, + "isOpenAutoDDL" : false, + "isSchedule" : false, + "isStopOnError" : true, + "listtags" : [ { + "id" : "69b943728dd5178824623841", + "value" : "dmp merge mdm" + } ], + "name" : "MDM_cpi_case", + "normalTask" : true, + "oldVersionTimezone" : false, + "planStartDateFlag" : false, + "preview" : false, + "previewTask" : false, + "processorThreadNum" : 1, + "reFullRun" : false, + "readBatchSize" : 500, + "restartFlag" : false, + "shareCache" : false, + "shareCdcEnable" : false, + "showInspectTips" : false, + "snapShotInterrupt" : false, + "status" : "edit", + "statuses" : [ ], + "syncPoints" : [ { + "connectionId" : "695497a235a6fa171731395e", + "connectionName" : "MDM", + "isStreamOffset" : false, + "nodeId" : "40f48981-01fd-48fa-9905-0e609b4290f5", + "nodeName" : "MDM_HPI_cpi_case", + "pointType" : "current", + "timeZone" : "+8" + }, { + "connectionId" : "695497a235a6fa171731395e", + "connectionName" : "MDM", + "isStreamOffset" : false, + "nodeId" : "49fa0a95-e446-4371-b7e9-b88b25266387", + "nodeName" : "MDM_cpi_patient", + "pointType" : "current", + "timeZone" : "+8" + }, { + "connectionId" : "695497a235a6fa171731395e", + "connectionName" : "MDM", + "isStreamOffset" : false, + "nodeId" : "f58d4346-4a2b-4ff9-ae2e-8a73d47da141", + "nodeName" : "MDM_CMSIP_discharge_information", + "pointType" : "current", + "timeZone" : "+8" + } ], + "syncStatus" : "", + "syncType" : "sync", + "testTask" : false, + "testUsingPreview" : false, + "transformDagHash" : 0, + "transformProcess" : 0.0, + "type" : "initial_sync+cdc", + "user_id" : "69c6449cb9dbbccec453fb5f", + "writeBatchSize" : 0, + "writeBatchWaitMs" : 0, + "writeThreadSize" : 8 + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "MDM_HPI_cpi_case", + "constraints" : [ ], + "createSource" : "job_analyze", + "createTime" : 1774946582681, + "createUser" : "admin@admin.com", + "databaseId" : "69549865aedd5fe4733b3c1d", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 19, + "createSource" : "auto", + "dataTypeTemp" : "STRING(4)", + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "status_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_status_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(4)", + "original_field_name" : "status_code", + "previousDataType" : "STRING(4)", + "previousFieldName" : "status_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 23, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : true, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "update_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 25, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "movement_count", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_movement_count", + "is_auto_allowed" : true, + "is_deleted" : true, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "movement_count", + "previousDataType" : "INT32", + "previousFieldName" : "movement_count", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "access_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_access_code", + "is_auto_allowed" : true, + "is_deleted" : true, + "is_nullable" : true, + "originalDataType" : "INT32", + "original_field_name" : "access_code", + "previousDataType" : "INT32", + "previousFieldName" : "access_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "discharge_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_discharge_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "discharge_code", + "previousDataType" : "STRING(2)", + "previousFieldName" : "discharge_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "pp_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_pp_code", + "is_auto_allowed" : true, + "is_deleted" : true, + "is_nullable" : true, + "originalDataType" : "STRING(16)", + "original_field_name" : "pp_code", + "previousDataType" : "STRING(16)", + "previousFieldName" : "pp_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_create_by", + "is_auto_allowed" : true, + "is_deleted" : true, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "create_by", + "previousDataType" : "STRING(24)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "patient_type", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_patient_type", + "is_auto_allowed" : true, + "is_deleted" : true, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "patient_type", + "previousDataType" : "STRING(6)", + "previousFieldName" : "patient_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_update_by", + "is_auto_allowed" : true, + "is_deleted" : true, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "update_by", + "previousDataType" : "STRING(24)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "last_ward_class", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_ward_class", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "last_ward_class", + "previousDataType" : "STRING(2)", + "previousFieldName" : "last_ward_class", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "case_no", + "previousDataType" : "STRING(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 24, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "row_update_datetime", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_row_update_datetime", + "is_auto_allowed" : true, + "is_deleted" : true, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "row_update_datetime", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "row_update_datetime", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "admission_dtm", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_admission_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "admission_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "admission_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 27, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "mrt_indicator", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_mrt_indicator", + "is_auto_allowed" : true, + "is_deleted" : true, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "mrt_indicator", + "previousDataType" : "STRING(2)", + "previousFieldName" : "mrt_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_sub_specialty", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_sub_specialty", + "is_auto_allowed" : true, + "is_deleted" : true, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_sub_specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "last_sub_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "case_type", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_case_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "case_type", + "previousDataType" : "STRING(2)", + "previousFieldName" : "case_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 28, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "document_flag", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_document_flag", + "is_auto_allowed" : true, + "is_deleted" : true, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "document_flag", + "previousDataType" : "STRING(2)", + "previousFieldName" : "document_flag", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "destination_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_destination_code", + "is_auto_allowed" : true, + "is_deleted" : true, + "is_nullable" : true, + "originalDataType" : "STRING(6)", + "original_field_name" : "destination_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "destination_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "discharge_dtm", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_discharge_dtm", + "is_auto_allowed" : true, + "is_deleted" : true, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "discharge_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "discharge_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_specialty", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "last_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 26, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "district_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_district_code", + "is_auto_allowed" : true, + "is_deleted" : true, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "district_code", + "previousDataType" : "STRING(10)", + "previousFieldName" : "district_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "last_bed_no", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_bed_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "last_bed_no", + "previousDataType" : "STRING(10)", + "previousFieldName" : "last_bed_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "source_indicator", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_source_indicator", + "is_auto_allowed" : true, + "is_deleted" : true, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "source_indicator", + "previousDataType" : "STRING(2)", + "previousFieldName" : "source_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : true, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "create_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 0, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case__id", + "is_auto_allowed" : true, + "is_deleted" : true, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_ward_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_ward_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_ward_code", + "previousDataType" : "STRING(8)", + "previousFieldName" : "last_ward_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "patient_key", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "patient_key", + "previousDataType" : "STRING(16)", + "previousFieldName" : "patient_key", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "source_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_source_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(6)", + "original_field_name" : "source_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "source_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : true, + "hasUpdateField" : false, + "id" : "69cb8916a6fb9b4275db23f2", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_cpi_case_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_cpi_case_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "processor_node", + "name" : "MDM_HPI_cpi_case", + "nodeId" : "f20736c2-21e7-47f3-8860-76f9bf4ec6a1", + "original_name" : "MDM_HPI_cpi_case", + "partitionSet" : [ ], + "qualified_name" : "PN_f20736c2-21e7-47f3-8860-76f9bf4ec6a1", + "source" : { + "_id" : "695497a235a6fa171731395e", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa171731395e", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "MDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "d844716b-01fe-4653-b8be-15ff43466dbb", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504238942, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "VIRTUAL", + "taskId" : "69cb88e6bda877370a5efce8", + "transformUuid" : "1774947028286", + "user_id" : "62bc5008d4958d013d97c7a6", + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "MDM_HPI_cpi_case", + "constraints" : [ ], + "createSource" : "job_analyze", + "createTime" : 1774946660705, + "createUser" : "admin@admin.com", + "databaseId" : "69549865aedd5fe4733b3c1d", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "caseNo", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "case_no", + "previousDataType" : "STRING(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "lastWardClass", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_ward_class", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "last_ward_class", + "previousDataType" : "STRING(2)", + "previousFieldName" : "last_ward_class", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "createSource" : "auto", + "dataTypeTemp" : "STRING(4)", + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "statusCode", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_status_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(4)", + "original_field_name" : "status_code", + "previousDataType" : "STRING(4)", + "previousFieldName" : "status_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "lastSpecialty", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "last_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "lastBedNum", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_bed_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "last_bed_no", + "previousDataType" : "STRING(10)", + "previousFieldName" : "last_bed_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "admissionDtm", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_admission_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "admission_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "admission_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "dischargeCode", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_discharge_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "discharge_code", + "previousDataType" : "STRING(2)", + "previousFieldName" : "discharge_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospCode", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "caseType", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_case_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "case_type", + "previousDataType" : "STRING(2)", + "previousFieldName" : "case_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "patientKey", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "patient_key", + "previousDataType" : "STRING(16)", + "previousFieldName" : "patient_key", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "lastWardCode", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_ward_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_ward_code", + "previousDataType" : "STRING(8)", + "previousFieldName" : "last_ward_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "sourceCode", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_source_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(6)", + "original_field_name" : "source_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "source_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : true, + "hasUpdateField" : false, + "id" : "69cb8964a6fb9b4275db248b", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospCode", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "caseNo", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_cpi_case_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospCode", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "caseNo", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_cpi_case_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "processor_node", + "name" : "MDM_HPI_cpi_case", + "nodeId" : "774c7489-313f-4c4d-bf17-152908e8ff6d", + "original_name" : "MDM_HPI_cpi_case", + "partitionSet" : [ ], + "qualified_name" : "PN_774c7489-313f-4c4d-bf17-152908e8ff6d", + "source" : { + "_id" : "695497a235a6fa171731395e", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa171731395e", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "MDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "d844716b-01fe-4653-b8be-15ff43466dbb", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504238942, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "VIRTUAL", + "taskId" : "69cb88e6bda877370a5efce8", + "transformUuid" : "1774947028286", + "user_id" : "62bc5008d4958d013d97c7a6", + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "MDM_cpi_patient", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774946747225, + "createUser" : "admin@admin.com", + "databaseId" : "69549865aedd5fe4733b3c1d", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "job_analyze", + "dataTypeTemp" : "ARRAY", + "data_type" : "ARRAY", + "default_value" : null, + "field_name" : "hospitalData", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_hospitalData", + "is_auto_allowed" : true, + "is_deleted" : false, + "originalDataType" : "ARRAY", + "original_field_name" : "hospitalData", + "previousDataType" : "ARRAY", + "previousFieldName" : "hospitalData", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"type\":2}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "hospitalData.patientKey", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_hospitalData.patientKey", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "hospitalData.patientKey", + "previousDataType" : "STRING(16)", + "previousFieldName" : "hospitalData.patientKey", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "patientKey", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_patientKey", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "patientKey", + "previousDataType" : "STRING(16)", + "previousFieldName" : "patientKey", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "hkid", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_hkid", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "hkid", + "previousDataType" : "STRING(24)", + "previousFieldName" : "hkid", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospitalData.hospCode", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_hospitalData.hospCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospitalData.hospCode", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospitalData.hospCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "hospitalData.mrn", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_hospitalData.mrn", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "hospitalData.mrn", + "previousDataType" : "STRING(16)", + "previousFieldName" : "hospitalData.mrn", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(96)", + "data_type" : "STRING(96)", + "default_value" : null, + "field_name" : "patientName", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_patientName", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(96)", + "original_field_name" : "patientName", + "previousDataType" : "STRING(96)", + "previousFieldName" : "patientName", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":96,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "sex", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_sex", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "sex", + "previousDataType" : "STRING(2)", + "previousFieldName" : "sex", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "chiName", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_chiName", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(24)", + "original_field_name" : "chiName", + "previousDataType" : "STRING(24)", + "previousFieldName" : "chiName", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "dob", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_dob", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "dob", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "dob", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 29, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "deathIndicator", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_deathIndicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "deathIndicator", + "previousDataType" : "STRING(2)", + "previousFieldName" : "deathIndicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 30, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "deathDate", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_deathDate", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "deathDate", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "deathDate", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 33, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "accessCode", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_accessCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "accessCode", + "previousDataType" : "INT32", + "previousFieldName" : "accessCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69cb89bba6fb9b4275db24ea", + "is_deleted" : false, + "meta_type" : "table", + "name" : "MDM_cpi_patient", + "nodeId" : "49fa0a95-e446-4371-b7e9-b88b25266387", + "original_name" : "MDM_cpi_patient", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_MDM_cpi_patient_695497a235a6fa171731395e_69cb88e6bda877370a5efce8", + "source" : { + "_id" : "695497a235a6fa171731395e", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa171731395e", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "MDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "d844716b-01fe-4653-b8be-15ff43466dbb", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504238942, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "VIRTUAL", + "taskId" : "69cb88e6bda877370a5efce8", + "transformUuid" : "1774947028286", + "user_id" : "62bc5008d4958d013d97c7a6", + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "MDM_HPI_cpi_case", + "constraints" : [ ], + "createSource" : "job_analyze", + "createTime" : 1774946756432, + "createUser" : "admin@admin.com", + "databaseId" : "69549865aedd5fe4733b3c1d", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "lastSpecialty", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "lastSpecialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "job_analyze", + "data_type" : "ARRAY", + "default_value" : null, + "field_name" : "dischargeInformation", + "id" : "d82afea9-74cd-4123-bb37-4d46da1ba3d9_MDM_CMSIP_discharge_information_dischargeInformation", + "is_auto_allowed" : true, + "is_deleted" : false, + "original_field_name" : "dischargeInformation", + "previousDataType" : "Array", + "previousFieldName" : "dischargeInformation", + "source" : "job_analyze", + "table_name" : "MDM_CMSIP_discharge_information", + "tapType" : "{\"type\":2}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "cpiPatient.hospitalData.patientKey", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_hospitalData.patientKey", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "hospitalData.patientKey", + "previousDataType" : "STRING(16)", + "previousFieldName" : "hospitalData.patientKey", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(96)", + "data_type" : "STRING(96)", + "default_value" : null, + "field_name" : "cpiPatient.patientName", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_patientName", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(96)", + "original_field_name" : "patientName", + "previousDataType" : "STRING(96)", + "previousFieldName" : "patientName", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":96,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "cpiPatient.hospitalData.mrn", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_hospitalData.mrn", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "hospitalData.mrn", + "previousDataType" : "STRING(16)", + "previousFieldName" : "hospitalData.mrn", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "cpiPatient.hospitalData.hospCode", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_hospitalData.hospCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospitalData.hospCode", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospitalData.hospCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "dischargeInformation.specialty", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(8)", + "original_field_name" : "specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "dischargeCode", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_discharge_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "discharge_code", + "previousDataType" : "STRING(2)", + "previousFieldName" : "dischargeCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "caseType", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_case_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "case_type", + "previousDataType" : "STRING(2)", + "previousFieldName" : "caseType", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "dischargeInformation.moInChargeId", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_mo_in_charge_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "mo_in_charge_id", + "previousDataType" : "STRING(12)", + "previousFieldName" : "moInChargeId", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "sourceCode", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_source_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(6)", + "original_field_name" : "source_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "sourceCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "dischargeInformation.specialistIc", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_specialist_ic", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "specialist_ic", + "previousDataType" : "STRING(12)", + "previousFieldName" : "specialistIc", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 29, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "cpiPatient.deathIndicator", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_deathIndicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "deathIndicator", + "previousDataType" : "STRING(2)", + "previousFieldName" : "deathIndicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "admissionDtm", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_admission_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "admission_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "admissionDtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 33, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "cpiPatient.accessCode", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_accessCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "accessCode", + "previousDataType" : "INT32", + "previousFieldName" : "accessCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "dischargeInformation.createDate", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "create_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "createDate", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "lastWardClass", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_ward_class", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "last_ward_class", + "previousDataType" : "STRING(2)", + "previousFieldName" : "lastWardClass", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "cpiPatient.sex", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_sex", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "sex", + "previousDataType" : "STRING(2)", + "previousFieldName" : "sex", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospCode", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "dischargeInformation.hospCode", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "caseNo", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "case_no", + "previousDataType" : "STRING(24)", + "previousFieldName" : "caseNo", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "cpiPatient.hkid", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_hkid", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "hkid", + "previousDataType" : "STRING(24)", + "previousFieldName" : "hkid", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "cpiPatient.dob", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_dob", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "dob", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "dob", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 30, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "cpiPatient.deathDate", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_deathDate", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "deathDate", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "deathDate", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "job_analyze", + "dataTypeTemp" : "ARRAY", + "data_type" : "ARRAY", + "default_value" : null, + "field_name" : "cpiPatient.hospitalData", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_hospitalData", + "is_auto_allowed" : true, + "is_deleted" : false, + "originalDataType" : "ARRAY", + "original_field_name" : "hospitalData", + "previousDataType" : "ARRAY", + "previousFieldName" : "hospitalData", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"type\":2}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 0, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "cpiPatient._id", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "job_analyze", + "data_type" : "DOCUMENT", + "default_value" : null, + "field_name" : "cpiPatient", + "id" : "d82afea9-74cd-4123-bb37-4d46da1ba3d9_MDM_cpi_patient_cpiPatient", + "is_auto_allowed" : true, + "is_deleted" : false, + "original_field_name" : "cpiPatient", + "previousDataType" : "Map", + "previousFieldName" : "cpiPatient", + "source" : "job_analyze", + "table_name" : "MDM_cpi_patient", + "tapType" : "{\"type\":4}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "cpiPatient.patientKey", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_patientKey", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "patientKey", + "previousDataType" : "STRING(16)", + "previousFieldName" : "patientKey", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "dischargeInformation.caseNum", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "case_no", + "previousDataType" : "STRING(24)", + "previousFieldName" : "caseNum", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "createSource" : "auto", + "dataTypeTemp" : "STRING(5)", + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "dischargeInformation.dischargeTeam", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_discharge_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "discharge_team", + "previousDataType" : "STRING(5)", + "previousFieldName" : "dischargeTeam", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "patientKey", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "patient_key", + "previousDataType" : "STRING(16)", + "previousFieldName" : "patientKey", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "lastWardCode", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_ward_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_ward_code", + "previousDataType" : "STRING(8)", + "previousFieldName" : "lastWardCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "lastBedNum", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_bed_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "last_bed_no", + "previousDataType" : "STRING(10)", + "previousFieldName" : "lastBedNum", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "cpiPatient.chiName", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_chiName", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(24)", + "original_field_name" : "chiName", + "previousDataType" : "STRING(24)", + "previousFieldName" : "chiName", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "createSource" : "auto", + "dataTypeTemp" : "STRING(4)", + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "statusCode", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_status_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(4)", + "original_field_name" : "status_code", + "previousDataType" : "STRING(4)", + "previousFieldName" : "statusCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69cb89c4a6fb9b4275db24f1", + "indices" : [ ], + "is_deleted" : false, + "meta_type" : "processor_node", + "name" : "MDM_CMSIP_discharge_information", + "nodeId" : "d82afea9-74cd-4123-bb37-4d46da1ba3d9", + "original_name" : "MDM_CMSIP_discharge_information", + "partitionSet" : [ ], + "qualified_name" : "PN_d82afea9-74cd-4123-bb37-4d46da1ba3d9", + "source" : { + "_id" : "695497a235a6fa171731395e", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa171731395e", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "MDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "d844716b-01fe-4653-b8be-15ff43466dbb", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504238942, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "VIRTUAL", + "taskId" : "69cb88e6bda877370a5efce8", + "transformUuid" : "1774947028286", + "user_id" : "62bc5008d4958d013d97c7a6", + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "MDM_CMSIP_discharge_information", + "constraints" : [ ], + "createSource" : "job_analyze", + "createTime" : 1774946827396, + "createUser" : "admin@admin.com", + "databaseId" : "69549865aedd5fe4733b3c1d", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "mo_in_charge_id", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_mo_in_charge_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "mo_in_charge_id", + "previousDataType" : "STRING(12)", + "previousFieldName" : "mo_in_charge_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "specialty", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(8)", + "original_field_name" : "specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "case_no", + "previousDataType" : "STRING(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "createSource" : "auto", + "dataTypeTemp" : "STRING(5)", + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "discharge_destination", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_discharge_destination", + "is_auto_allowed" : true, + "is_deleted" : true, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "discharge_destination", + "previousDataType" : "STRING(5)", + "previousFieldName" : "discharge_destination", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : true, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "update_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "STRING(5)", + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "admit_team", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_admit_team", + "is_auto_allowed" : true, + "is_deleted" : true, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "admit_team", + "previousDataType" : "STRING(5)", + "previousFieldName" : "admit_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "discharge_physician", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_discharge_physician", + "is_auto_allowed" : true, + "is_deleted" : true, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "discharge_physician", + "previousDataType" : "STRING(12)", + "previousFieldName" : "discharge_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "admit_doctor", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_admit_doctor", + "is_auto_allowed" : true, + "is_deleted" : true, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "admit_doctor", + "previousDataType" : "STRING(12)", + "previousFieldName" : "admit_doctor", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "createSource" : "auto", + "dataTypeTemp" : "STRING(5)", + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "discharge_team", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_discharge_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "discharge_team", + "previousDataType" : "STRING(5)", + "previousFieldName" : "discharge_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "expected_discharge_date", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_expected_discharge_date", + "is_auto_allowed" : true, + "is_deleted" : true, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "expected_discharge_date", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "expected_discharge_date", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "admit_mode", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_admit_mode", + "is_auto_allowed" : true, + "is_deleted" : true, + "is_nullable" : true, + "originalDataType" : "INT32", + "original_field_name" : "admit_mode", + "previousDataType" : "INT32", + "previousFieldName" : "admit_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_create_by", + "is_auto_allowed" : true, + "is_deleted" : true, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "create_by", + "previousDataType" : "STRING(12)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "createSource" : "auto", + "dataTypeTemp" : "STRING(1)", + "data_type" : "STRING(1)", + "default_value" : null, + "field_name" : "discharge_mode", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_discharge_mode", + "is_auto_allowed" : true, + "is_deleted" : true, + "is_nullable" : true, + "originalDataType" : "STRING(1)", + "original_field_name" : "discharge_mode", + "previousDataType" : "STRING(1)", + "previousFieldName" : "discharge_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":1,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "sick_leave_from_dtm", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_sick_leave_from_dtm", + "is_auto_allowed" : true, + "is_deleted" : true, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "sick_leave_from_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "sick_leave_from_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "specialist_ic", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_specialist_ic", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "specialist_ic", + "previousDataType" : "STRING(12)", + "previousFieldName" : "specialist_ic", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "create_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 0, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information__id", + "is_auto_allowed" : true, + "is_deleted" : true, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_update_by", + "is_auto_allowed" : true, + "is_deleted" : true, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "update_by", + "previousDataType" : "STRING(12)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "sick_leave_to_dtm", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_sick_leave_to_dtm", + "is_auto_allowed" : true, + "is_deleted" : true, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "sick_leave_to_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "sick_leave_to_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "admit_physician", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_admit_physician", + "is_auto_allowed" : true, + "is_deleted" : true, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "admit_physician", + "previousDataType" : "STRING(12)", + "previousFieldName" : "admit_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "ho_id", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_ho_id", + "is_auto_allowed" : true, + "is_deleted" : true, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "ho_id", + "previousDataType" : "STRING(12)", + "previousFieldName" : "ho_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "createSource" : "auto", + "dataTypeTemp" : "BINARY", + "data_type" : "BINARY", + "default_value" : null, + "field_name" : "timestamp", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_timestamp", + "is_auto_allowed" : true, + "is_deleted" : true, + "is_nullable" : true, + "originalDataType" : "BINARY", + "original_field_name" : "timestamp", + "previousDataType" : "BINARY", + "previousFieldName" : "timestamp", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "bytea", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16777215,\"type\":9}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : true, + "hasUpdateField" : false, + "id" : "69cb8a0ba6fb9b4275db2584", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_discharge_information_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_discharge_information_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "processor_node", + "name" : "MDM_CMSIP_discharge_information", + "nodeId" : "bdc3d262-4064-41c9-8819-b04d0f00cfba", + "original_name" : "MDM_CMSIP_discharge_information", + "partitionSet" : [ ], + "qualified_name" : "PN_bdc3d262-4064-41c9-8819-b04d0f00cfba", + "source" : { + "_id" : "695497a235a6fa171731395e", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa171731395e", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "MDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "d844716b-01fe-4653-b8be-15ff43466dbb", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504238942, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "VIRTUAL", + "taskId" : "69cb88e6bda877370a5efce8", + "transformUuid" : "1774947028286", + "user_id" : "62bc5008d4958d013d97c7a6", + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "MDM_CMSIP_discharge_information", + "constraints" : [ ], + "createSource" : "job_analyze", + "createTime" : 1774946898957, + "createUser" : "admin@admin.com", + "databaseId" : "69549865aedd5fe4733b3c1d", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "moInChargeId", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_mo_in_charge_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "mo_in_charge_id", + "previousDataType" : "STRING(12)", + "previousFieldName" : "mo_in_charge_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "caseNum", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "case_no", + "previousDataType" : "STRING(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "specialty", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(8)", + "original_field_name" : "specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospCode", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "specialistIc", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_specialist_ic", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "specialist_ic", + "previousDataType" : "STRING(12)", + "previousFieldName" : "specialist_ic", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "createDate", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "create_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "createSource" : "auto", + "dataTypeTemp" : "STRING(5)", + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "dischargeTeam", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_discharge_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "discharge_team", + "previousDataType" : "STRING(5)", + "previousFieldName" : "discharge_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : true, + "hasUpdateField" : false, + "id" : "69cb8a52a6fb9b4275db25dd", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospCode", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "caseNum", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_discharge_information_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospCode", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "caseNum", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_discharge_information_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "processor_node", + "name" : "MDM_CMSIP_discharge_information", + "nodeId" : "6110e39a-ea01-4209-b92a-b75fd2f209da", + "original_name" : "MDM_CMSIP_discharge_information", + "partitionSet" : [ ], + "qualified_name" : "PN_6110e39a-ea01-4209-b92a-b75fd2f209da", + "source" : { + "_id" : "695497a235a6fa171731395e", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa171731395e", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "MDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "d844716b-01fe-4653-b8be-15ff43466dbb", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504238942, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "VIRTUAL", + "taskId" : "69cb88e6bda877370a5efce8", + "transformUuid" : "1774947028286", + "user_id" : "62bc5008d4958d013d97c7a6", + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "MDM_HPI_cpi_case", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774947010693, + "createUser" : "admin@admin.com", + "databaseId" : "69549865aedd5fe4733b3c1d", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "columnSize" : 100, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "d82afea9-74cd-4123-bb37-4d46da1ba3d9_MDM_cpi_case__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "oriPrecision" : 100, + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "table_name" : "MDM_cpi_case", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 0, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "cpiPatient._id", + "id" : "d82afea9-74cd-4123-bb37-4d46da1ba3d9_MDM_cpi_case__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "cpiPatient._id", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "job_analyze", + "dataTypeTemp" : "DOCUMENT", + "data_type" : "DOCUMENT", + "default_value" : null, + "field_name" : "cpiPatient", + "id" : "d82afea9-74cd-4123-bb37-4d46da1ba3d9_MDM_cpi_patient_cpiPatient", + "is_auto_allowed" : true, + "is_deleted" : false, + "original_field_name" : "cpiPatient", + "previousDataType" : "DOCUMENT", + "previousFieldName" : "cpiPatient", + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "table_name" : "MDM_cpi_patient", + "tapType" : "{\"type\":4}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "job_analyze", + "dataTypeTemp" : "ARRAY", + "data_type" : "ARRAY", + "default_value" : null, + "field_name" : "cpiPatient.hospitalData", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_hospitalData", + "is_auto_allowed" : true, + "is_deleted" : false, + "originalDataType" : "ARRAY", + "original_field_name" : "hospitalData", + "previousDataType" : "ARRAY", + "previousFieldName" : "cpiPatient.hospitalData", + "primaryKey" : false, + "primary_key_position" : 0, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"type\":2}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "cpiPatient.hospitalData.patientKey", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_hospitalData.patientKey", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "hospitalData.patientKey", + "previousDataType" : "STRING(16)", + "previousFieldName" : "cpiPatient.hospitalData.patientKey", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "cpiPatient.patientKey", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "patientKey", + "previousDataType" : "STRING(16)", + "previousFieldName" : "cpiPatient.patientKey", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "job_analyze", + "dataTypeTemp" : "ARRAY", + "data_type" : "ARRAY", + "default_value" : null, + "field_name" : "dischargeInformation", + "id" : "d82afea9-74cd-4123-bb37-4d46da1ba3d9_MDM_CMSIP_discharge_information_dischargeInformation", + "is_auto_allowed" : true, + "is_deleted" : false, + "original_field_name" : "dischargeInformation", + "previousDataType" : "ARRAY", + "previousFieldName" : "dischargeInformation", + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "table_name" : "MDM_CMSIP_discharge_information", + "tapType" : "{\"type\":2}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "dischargeInformation.hospCode", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "dischargeInformation.hospCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospCode", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "caseNo", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "case_no", + "previousDataType" : "STRING(24)", + "previousFieldName" : "caseNo", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "cpiPatient.hkid", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_hkid", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "hkid", + "previousDataType" : "STRING(24)", + "previousFieldName" : "cpiPatient.hkid", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "cpiPatient.hospitalData.hospCode", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_hospitalData.hospCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospitalData.hospCode", + "previousDataType" : "STRING(6)", + "previousFieldName" : "cpiPatient.hospitalData.hospCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "dischargeInformation.caseNum", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "case_no", + "previousDataType" : "STRING(24)", + "previousFieldName" : "dischargeInformation.caseNum", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "cpiPatient.hospitalData.mrn", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_hospitalData.mrn", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "hospitalData.mrn", + "previousDataType" : "STRING(16)", + "previousFieldName" : "cpiPatient.hospitalData.mrn", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(96)", + "data_type" : "STRING(96)", + "default_value" : null, + "field_name" : "cpiPatient.patientName", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_patientName", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(96)", + "original_field_name" : "patientName", + "previousDataType" : "STRING(96)", + "previousFieldName" : "cpiPatient.patientName", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":96,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "dischargeInformation.specialty", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(8)", + "original_field_name" : "specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "dischargeInformation.specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "patientKey", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "patient_key", + "previousDataType" : "STRING(16)", + "previousFieldName" : "patientKey", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "caseType", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_case_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "case_type", + "previousDataType" : "STRING(2)", + "previousFieldName" : "caseType", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "cpiPatient.sex", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_sex", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "sex", + "previousDataType" : "STRING(2)", + "previousFieldName" : "cpiPatient.sex", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "admissionDtm", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_admission_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "admission_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "admissionDtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "dischargeInformation.moInChargeId", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_mo_in_charge_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "mo_in_charge_id", + "previousDataType" : "STRING(12)", + "previousFieldName" : "dischargeInformation.moInChargeId", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "dischargeInformation.createDate", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "create_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "dischargeInformation.createDate", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "sourceCode", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_source_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(6)", + "original_field_name" : "source_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "sourceCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "dischargeCode", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_discharge_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "discharge_code", + "previousDataType" : "STRING(2)", + "previousFieldName" : "dischargeCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "dischargeInformation.specialistIc", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_specialist_ic", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "specialist_ic", + "previousDataType" : "STRING(12)", + "previousFieldName" : "dischargeInformation.specialistIc", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "cpiPatient.chiName", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_chiName", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(24)", + "original_field_name" : "chiName", + "previousDataType" : "STRING(24)", + "previousFieldName" : "cpiPatient.chiName", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "cpiPatient.dob", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_dob", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "dob", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "cpiPatient.dob", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "lastSpecialty", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "lastSpecialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "lastWardCode", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_ward_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_ward_code", + "previousDataType" : "STRING(8)", + "previousFieldName" : "lastWardCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "lastWardClass", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_ward_class", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "last_ward_class", + "previousDataType" : "STRING(2)", + "previousFieldName" : "lastWardClass", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "lastBedNum", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_bed_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "last_bed_no", + "previousDataType" : "STRING(10)", + "previousFieldName" : "lastBedNum", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "createSource" : "auto", + "dataTypeTemp" : "STRING(5)", + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "dischargeInformation.dischargeTeam", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_discharge_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "discharge_team", + "previousDataType" : "STRING(5)", + "previousFieldName" : "dischargeInformation.dischargeTeam", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "createSource" : "auto", + "dataTypeTemp" : "STRING(4)", + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "statusCode", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_status_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(4)", + "original_field_name" : "status_code", + "previousDataType" : "STRING(4)", + "previousFieldName" : "statusCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 29, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "cpiPatient.deathIndicator", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_deathIndicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "deathIndicator", + "previousDataType" : "STRING(2)", + "previousFieldName" : "cpiPatient.deathIndicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 30, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "cpiPatient.deathDate", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_deathDate", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "deathDate", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "cpiPatient.deathDate", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 33, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "cpiPatient.accessCode", + "id" : "695497a235a6fa171731395e_MDM_cpi_patient_accessCode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "accessCode", + "previousDataType" : "INT32", + "previousFieldName" : "cpiPatient.accessCode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { + "cpiPatient" : { + "dataTypes" : [ "DOCUMENT" ], + "lastMatchedDataType" : "DOCUMENT" + }, + "dischargeInformation" : { + "dataTypes" : [ "ARRAY" ], + "lastMatchedDataType" : "ARRAY" + } + }, + "hasPrimaryKey" : false, + "hasTransformEx" : true, + "hasUnionIndex" : false, + "hasUpdateField" : false, + "id" : "69cb8ac2a6fb9b4275db267b", + "indices" : [ ], + "is_deleted" : false, + "meta_type" : "table", + "name" : "MDM_cpi_case", + "nodeId" : "1ba4ae12-2d12-4489-a426-0c10780cb834", + "original_name" : "MDM_cpi_case", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_MDM_cpi_case_695497a235a6fa171731395e_69cb88e6bda877370a5efce8", + "source" : { + "_id" : "695497a235a6fa171731395e", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa171731395e", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "MDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "d844716b-01fe-4653-b8be-15ff43466dbb", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504238942, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "VIRTUAL", + "taskId" : "69cb88e6bda877370a5efce8", + "transformUuid" : "1774947028286", + "user_id" : "62bc5008d4958d013d97c7a6", + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "MDM_HPI_cpi_case", + "createSource" : "job_analyze", + "createTime" : 1774946575042, + "createUser" : "admin@admin.com", + "databaseId" : "69549865aedd5fe4733b3c1d", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 19, + "createSource" : "auto", + "dataTypeTemp" : "STRING(4)", + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "status_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_status_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(4)", + "original_field_name" : "status_code", + "previousDataType" : "STRING(4)", + "previousFieldName" : "status_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 23, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "update_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "discharge_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_discharge_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "discharge_code", + "previousDataType" : "STRING(2)", + "previousFieldName" : "discharge_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "access_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_access_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "INT32", + "original_field_name" : "access_code", + "previousDataType" : "INT32", + "previousFieldName" : "access_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 25, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "movement_count", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_movement_count", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "movement_count", + "previousDataType" : "INT32", + "previousFieldName" : "movement_count", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "pp_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_pp_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(16)", + "original_field_name" : "pp_code", + "previousDataType" : "STRING(16)", + "previousFieldName" : "pp_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "create_by", + "previousDataType" : "STRING(24)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "patient_type", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_patient_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "patient_type", + "previousDataType" : "STRING(6)", + "previousFieldName" : "patient_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "update_by", + "previousDataType" : "STRING(24)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "case_no", + "previousDataType" : "STRING(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "last_ward_class", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_ward_class", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "last_ward_class", + "previousDataType" : "STRING(2)", + "previousFieldName" : "last_ward_class", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 24, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "row_update_datetime", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_row_update_datetime", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "row_update_datetime", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "row_update_datetime", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "admission_dtm", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_admission_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "admission_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "admission_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 27, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "mrt_indicator", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_mrt_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "mrt_indicator", + "previousDataType" : "STRING(2)", + "previousFieldName" : "mrt_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "case_type", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_case_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "case_type", + "previousDataType" : "STRING(2)", + "previousFieldName" : "case_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_sub_specialty", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_sub_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_sub_specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "last_sub_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 28, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "document_flag", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_document_flag", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "document_flag", + "previousDataType" : "STRING(2)", + "previousFieldName" : "document_flag", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "destination_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_destination_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(6)", + "original_field_name" : "destination_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "destination_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "discharge_dtm", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_discharge_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "discharge_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "discharge_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_specialty", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "last_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "source_indicator", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_source_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "source_indicator", + "previousDataType" : "STRING(2)", + "previousFieldName" : "source_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "last_bed_no", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_bed_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "last_bed_no", + "previousDataType" : "STRING(10)", + "previousFieldName" : "last_bed_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 26, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "district_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_district_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "district_code", + "previousDataType" : "STRING(10)", + "previousFieldName" : "district_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 0, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "create_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "patient_key", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "patient_key", + "previousDataType" : "STRING(16)", + "previousFieldName" : "patient_key", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_ward_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_ward_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_ward_code", + "previousDataType" : "STRING(8)", + "previousFieldName" : "last_ward_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "source_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_source_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(6)", + "original_field_name" : "source_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "source_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : true, + "hasUpdateField" : false, + "id" : "69cb890fa6fb9b4275db23ec", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_cpi_case_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_cpi_case_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "processor_node", + "name" : "MDM_HPI_cpi_case", + "nodeId" : "4aea368e-ccd2-453c-b92b-9188e6bbde84", + "original_name" : "MDM_HPI_cpi_case", + "partitionSet" : [ ], + "qualified_name" : "PN_4aea368e-ccd2-453c-b92b-9188e6bbde84", + "source" : { + "_id" : "695497a235a6fa171731395e", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa171731395e", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "MDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "d844716b-01fe-4653-b8be-15ff43466dbb", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504238942, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "VIRTUAL", + "taskId" : "69cb88e6bda877370a5efce8", + "transformUuid" : "1774947028286", + "user_id" : "62bc5008d4958d013d97c7a6", + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "MDM_CMSIP_discharge_information", + "createSource" : "job_analyze", + "createTime" : 1774946812588, + "createUser" : "admin@admin.com", + "databaseId" : "69549865aedd5fe4733b3c1d", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "mo_in_charge_id", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_mo_in_charge_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "mo_in_charge_id", + "previousDataType" : "STRING(12)", + "previousFieldName" : "mo_in_charge_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "case_no", + "previousDataType" : "STRING(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "specialty", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(8)", + "original_field_name" : "specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "createSource" : "auto", + "dataTypeTemp" : "STRING(5)", + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "discharge_destination", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_discharge_destination", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "discharge_destination", + "previousDataType" : "STRING(5)", + "previousFieldName" : "discharge_destination", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "update_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "STRING(5)", + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "admit_team", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_admit_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "admit_team", + "previousDataType" : "STRING(5)", + "previousFieldName" : "admit_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "discharge_physician", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_discharge_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "discharge_physician", + "previousDataType" : "STRING(12)", + "previousFieldName" : "discharge_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "admit_doctor", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_admit_doctor", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "admit_doctor", + "previousDataType" : "STRING(12)", + "previousFieldName" : "admit_doctor", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "expected_discharge_date", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_expected_discharge_date", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "expected_discharge_date", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "expected_discharge_date", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "createSource" : "auto", + "dataTypeTemp" : "STRING(5)", + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "discharge_team", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_discharge_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "discharge_team", + "previousDataType" : "STRING(5)", + "previousFieldName" : "discharge_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "create_by", + "previousDataType" : "STRING(12)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "admit_mode", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_admit_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "INT32", + "original_field_name" : "admit_mode", + "previousDataType" : "INT32", + "previousFieldName" : "admit_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "createSource" : "auto", + "dataTypeTemp" : "STRING(1)", + "data_type" : "STRING(1)", + "default_value" : null, + "field_name" : "discharge_mode", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_discharge_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(1)", + "original_field_name" : "discharge_mode", + "previousDataType" : "STRING(1)", + "previousFieldName" : "discharge_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":1,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "sick_leave_from_dtm", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_sick_leave_from_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "sick_leave_from_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "sick_leave_from_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "specialist_ic", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_specialist_ic", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "specialist_ic", + "previousDataType" : "STRING(12)", + "previousFieldName" : "specialist_ic", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 0, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "create_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "update_by", + "previousDataType" : "STRING(12)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "ho_id", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_ho_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "ho_id", + "previousDataType" : "STRING(12)", + "previousFieldName" : "ho_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "admit_physician", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_admit_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "admit_physician", + "previousDataType" : "STRING(12)", + "previousFieldName" : "admit_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "sick_leave_to_dtm", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_sick_leave_to_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "sick_leave_to_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "sick_leave_to_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "createSource" : "auto", + "dataTypeTemp" : "BINARY", + "data_type" : "BINARY", + "default_value" : null, + "field_name" : "timestamp", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_timestamp", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "BINARY", + "original_field_name" : "timestamp", + "previousDataType" : "BINARY", + "previousFieldName" : "timestamp", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "bytea", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16777215,\"type\":9}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : true, + "hasUpdateField" : false, + "id" : "69cb89fca6fb9b4275db2546", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_discharge_information_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_discharge_information_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "processor_node", + "name" : "MDM_CMSIP_discharge_information", + "nodeId" : "bb412d42-d5c3-4c62-8662-a74a94313d34", + "original_name" : "MDM_CMSIP_discharge_information", + "partitionSet" : [ ], + "qualified_name" : "PN_bb412d42-d5c3-4c62-8662-a74a94313d34", + "source" : { + "_id" : "695497a235a6fa171731395e", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa171731395e", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "MDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "d844716b-01fe-4653-b8be-15ff43466dbb", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504238942, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "VIRTUAL", + "taskId" : "69cb88e6bda877370a5efce8", + "transformUuid" : "1774947028286", + "user_id" : "62bc5008d4958d013d97c7a6", + "username" : "admin@admin.com" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "MDM_HPI_cpi_case", + "comment" : "", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774946556463, + "createUser" : "cpicase-martin", + "databaseId" : "69549865aedd5fe4733b3c1d", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "case_no", + "previousDataType" : "STRING(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "patient_key", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "patient_key", + "previousDataType" : "STRING(16)", + "previousFieldName" : "patient_key", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "case_type", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_case_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "case_type", + "previousDataType" : "STRING(2)", + "previousFieldName" : "case_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "admission_dtm", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_admission_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "admission_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "admission_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "source_indicator", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_source_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "source_indicator", + "previousDataType" : "STRING(2)", + "previousFieldName" : "source_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "source_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_source_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(6)", + "original_field_name" : "source_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "source_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "patient_type", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_patient_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "patient_type", + "previousDataType" : "STRING(6)", + "previousFieldName" : "patient_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "discharge_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_discharge_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "discharge_code", + "previousDataType" : "STRING(2)", + "previousFieldName" : "discharge_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "discharge_dtm", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_discharge_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "discharge_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "discharge_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "destination_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_destination_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(6)", + "original_field_name" : "destination_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "destination_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_specialty", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "last_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_sub_specialty", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_sub_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_sub_specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "last_sub_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_ward_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_ward_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_ward_code", + "previousDataType" : "STRING(8)", + "previousFieldName" : "last_ward_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "last_ward_class", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_ward_class", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "last_ward_class", + "previousDataType" : "STRING(2)", + "previousFieldName" : "last_ward_class", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "last_bed_no", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_last_bed_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "last_bed_no", + "previousDataType" : "STRING(10)", + "previousFieldName" : "last_bed_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "pp_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_pp_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(16)", + "original_field_name" : "pp_code", + "previousDataType" : "STRING(16)", + "previousFieldName" : "pp_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "access_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_access_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "INT32", + "original_field_name" : "access_code", + "previousDataType" : "INT32", + "previousFieldName" : "access_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "createSource" : "auto", + "dataTypeTemp" : "STRING(4)", + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "status_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_status_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(4)", + "original_field_name" : "status_code", + "previousDataType" : "STRING(4)", + "previousFieldName" : "status_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "create_by", + "previousDataType" : "STRING(24)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "create_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "update_by", + "previousDataType" : "STRING(24)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 23, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "update_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 24, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "row_update_datetime", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_row_update_datetime", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "row_update_datetime", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "row_update_datetime", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 25, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "movement_count", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_movement_count", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "movement_count", + "previousDataType" : "INT32", + "previousFieldName" : "movement_count", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 26, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "district_code", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_district_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "district_code", + "previousDataType" : "STRING(10)", + "previousFieldName" : "district_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 27, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "mrt_indicator", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_mrt_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "mrt_indicator", + "previousDataType" : "STRING(2)", + "previousFieldName" : "mrt_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 28, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "document_flag", + "id" : "695497a235a6fa171731395e_MDM_HPI_cpi_case_document_flag", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "document_flag", + "previousDataType" : "STRING(2)", + "previousFieldName" : "document_flag", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : true, + "hasUpdateField" : false, + "id" : "69cb88fca6fb9b4275db23e0", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_cpi_case_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_cpi_case_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "table", + "name" : "MDM_HPI_cpi_case", + "nodeId" : "40f48981-01fd-48fa-9905-0e609b4290f5", + "original_name" : "MDM_HPI_cpi_case", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_MDM_HPI_cpi_case_695497a235a6fa171731395e_69cb88e6bda877370a5efce8", + "source" : { + "_id" : "695497a235a6fa171731395e", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa171731395e", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "MDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "d844716b-01fe-4653-b8be-15ff43466dbb", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504238942, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "VIRTUAL", + "tableAttr" : { + "avgObjSize" : 588, + "capped" : false, + "ns" : "FDM.FDM_QMH_HPI_cpi_case", + "shard" : { }, + "size" : 5806147, + "storageSize" : 4096 + }, + "taskId" : "69cb88e6bda877370a5efce8", + "transformUuid" : "1774947028286", + "user_id" : "69c6449cb9dbbccec453fb5f", + "username" : "cpicase-martin" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "MDM_CMSIP_discharge_information", + "comment" : "", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774946808424, + "createUser" : "admin@admin.com", + "databaseId" : "69549865aedd5fe4733b3c1d", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "case_no", + "previousDataType" : "STRING(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "specialty", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(8)", + "original_field_name" : "specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "ho_id", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_ho_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "ho_id", + "previousDataType" : "STRING(12)", + "previousFieldName" : "ho_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "mo_in_charge_id", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_mo_in_charge_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "mo_in_charge_id", + "previousDataType" : "STRING(12)", + "previousFieldName" : "mo_in_charge_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "create_by", + "previousDataType" : "STRING(12)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "create_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "update_by", + "previousDataType" : "STRING(12)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "update_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "specialist_ic", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_specialist_ic", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "specialist_ic", + "previousDataType" : "STRING(12)", + "previousFieldName" : "specialist_ic", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "admit_mode", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_admit_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "INT32", + "original_field_name" : "admit_mode", + "previousDataType" : "INT32", + "previousFieldName" : "admit_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "STRING(5)", + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "admit_team", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_admit_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "admit_team", + "previousDataType" : "STRING(5)", + "previousFieldName" : "admit_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "admit_physician", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_admit_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "admit_physician", + "previousDataType" : "STRING(12)", + "previousFieldName" : "admit_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "admit_doctor", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_admit_doctor", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "admit_doctor", + "previousDataType" : "STRING(12)", + "previousFieldName" : "admit_doctor", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "expected_discharge_date", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_expected_discharge_date", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "expected_discharge_date", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "expected_discharge_date", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "createSource" : "auto", + "dataTypeTemp" : "STRING(1)", + "data_type" : "STRING(1)", + "default_value" : null, + "field_name" : "discharge_mode", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_discharge_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(1)", + "original_field_name" : "discharge_mode", + "previousDataType" : "STRING(1)", + "previousFieldName" : "discharge_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":1,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "createSource" : "auto", + "dataTypeTemp" : "STRING(5)", + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "discharge_destination", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_discharge_destination", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "discharge_destination", + "previousDataType" : "STRING(5)", + "previousFieldName" : "discharge_destination", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "createSource" : "auto", + "dataTypeTemp" : "STRING(5)", + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "discharge_team", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_discharge_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "discharge_team", + "previousDataType" : "STRING(5)", + "previousFieldName" : "discharge_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "discharge_physician", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_discharge_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "discharge_physician", + "previousDataType" : "STRING(12)", + "previousFieldName" : "discharge_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "createSource" : "auto", + "dataTypeTemp" : "BINARY", + "data_type" : "BINARY", + "default_value" : null, + "field_name" : "timestamp", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_timestamp", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "BINARY", + "original_field_name" : "timestamp", + "previousDataType" : "BINARY", + "previousFieldName" : "timestamp", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "bytea", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16777215,\"type\":9}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "sick_leave_from_dtm", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_sick_leave_from_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "sick_leave_from_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "sick_leave_from_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "sick_leave_to_dtm", + "id" : "695497a235a6fa171731395e_MDM_CMSIP_discharge_information_sick_leave_to_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "sick_leave_to_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "sick_leave_to_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : true, + "hasUpdateField" : false, + "id" : "69cb89f8a6fb9b4275db253f", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_discharge_information_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_discharge_information_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "table", + "name" : "MDM_CMSIP_discharge_information", + "nodeId" : "f58d4346-4a2b-4ff9-ae2e-8a73d47da141", + "original_name" : "MDM_CMSIP_discharge_information", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_MDM_CMSIP_discharge_information_695497a235a6fa171731395e_69cb88e6bda877370a5efce8", + "source" : { + "_id" : "695497a235a6fa171731395e", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa171731395e", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "MDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "d844716b-01fe-4653-b8be-15ff43466dbb", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504238942, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "VIRTUAL", + "tableAttr" : { + "avgObjSize" : 451, + "capped" : false, + "ns" : "FDM.FDM_QMH_CMSIP_discharge_information", + "shard" : { }, + "size" : 4517457, + "storageSize" : 659456 + }, + "taskId" : "69cb88e6bda877370a5efce8", + "transformUuid" : "1774947028286", + "user_id" : "62bc5008d4958d013d97c7a6", + "username" : "admin@admin.com" + } +} ] \ No newline at end of file diff --git a/case-team_tapdata_export/Task/QMH_CMS_TO_FDM_MigrateTask.json b/case-team_tapdata_export/Task/QMH_CMS_TO_FDM_MigrateTask.json new file mode 100644 index 0000000..fffead9 --- /dev/null +++ b/case-team_tapdata_export/Task/QMH_CMS_TO_FDM_MigrateTask.json @@ -0,0 +1,2484 @@ +[ { + "collectionName" : "Task", + "json" : { + "_deleted" : false, + "accessNodeProcessId" : "", + "accessNodeProcessIdList" : [ ], + "accessNodeType" : "AUTOMATIC_PLATFORM_ALLOCATION", + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "TASK_INCREMENT_DELAY", + "ms" : 60000, + "point" : 60, + "times" : 0 + }, { + "equalsFlag" : 0, + "key" : "TASK_RETRY_WARN", + "ms" : 0, + "point" : 0, + "times" : 10 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "TASK_STATUS_ERROR", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 1, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_FULL_COMPLETE", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 3, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_INCREMENT_START", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 4, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_INCREMENT_DELAY", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 6, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_INSPECT_DIFFERENCE", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 1, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_RETRY_WARN", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 4, + "type" : "TASK", + "unit" : "SECOND" + } ], + "attrs" : { }, + "autoIncrementalBatchSize" : true, + "autoInspect" : false, + "blankLog" : false, + "canOpenInspect" : false, + "cdctask" : false, + "createTime" : 1774946242313, + "createUser" : "cpicase-martin", + "crontabExpressionFlag" : false, + "dag" : { + "edges" : [ { + "disabled" : false, + "source" : "0e3e6d1e-13b1-45cd-8d23-cf498063afee", + "target" : "d11102b6-5834-412a-afcf-978471aa864c" + }, { + "disabled" : false, + "id" : "7a61f911-6372-42d2-8c52-f323e31651de", + "source" : "d11102b6-5834-412a-afcf-978471aa864c", + "target" : "1bfd1d44-977c-4f55-924b-f2c438545373" + } ], + "nodes" : [ { + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "DATANODE_AVERAGE_HANDLE_CONSUME", + "ms" : 5000, + "point" : 12, + "times" : 0 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "DATANODE_AVERAGE_HANDLE_CONSUME", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 4, + "type" : "DATANODE", + "unit" : "SECOND" + } ], + "applyCompareRule" : false, + "attrs" : { + "accessNodeProcessId" : "", + "accessNodeType" : "AUTOMATIC_PLATFORM_ALLOCATION", + "capabilities" : [ { + "id" : "count_raw_command_function", + "type" : 11 + }, { + "id" : "run_raw_command_function", + "type" : 11 + }, { + "id" : "execute_command_function", + "type" : 11 + }, { + "id" : "release_external_function", + "type" : 11 + }, { + "id" : "batch_read_function", + "type" : 11 + }, { + "id" : "stream_read_function", + "type" : 11 + }, { + "id" : "batch_count_function", + "type" : 11 + }, { + "id" : "timestamp_to_stream_offset_function", + "type" : 11 + }, { + "id" : "write_record_function", + "type" : 11 + }, { + "id" : "after_initial_sync_function", + "type" : 11 + }, { + "id" : "query_by_filter_function", + "type" : 11 + }, { + "id" : "query_by_advance_filter_function", + "type" : 11 + }, { + "id" : "create_table_v2_function", + "type" : 11 + }, { + "id" : "clear_table_function", + "type" : 11 + }, { + "id" : "drop_table_function", + "type" : 11 + }, { + "id" : "create_index_function", + "type" : 11 + }, { + "id" : "delete_index_function", + "type" : 11 + }, { + "id" : "query_indexes_function", + "type" : 11 + }, { + "id" : "query_constraints_function", + "type" : 11 + }, { + "id" : "create_constraint_function", + "type" : 11 + }, { + "id" : "drop_constraint_function", + "type" : 11 + }, { + "id" : "alter_field_attributes_function", + "type" : 11 + }, { + "id" : "alter_field_name_function", + "type" : 11 + }, { + "id" : "drop_field_function", + "type" : 11 + }, { + "id" : "new_field_function", + "type" : 11 + }, { + "id" : "count_by_partition_filter_function", + "type" : 11 + }, { + "id" : "stream_read_multi_connection_function", + "type" : 11 + }, { + "id" : "transaction_begin_function", + "type" : 11 + }, { + "id" : "transaction_commit_function", + "type" : 11 + }, { + "id" : "transaction_rollback_function", + "type" : 11 + }, { + "id" : "query_hash_by_advance_filter_function", + "type" : 11 + }, { + "id" : "get_stream_offset_function", + "type" : 11 + }, { + "id" : "export_event_sql_function", + "type" : 11 + }, { + "id" : "flush_offset_function", + "type" : 11 + }, { + "id" : "get_table_info_function", + "type" : 11 + }, { + "id" : "get_table_names_function", + "type" : 11 + }, { + "id" : "error_handle_function", + "type" : 11 + }, { + "id" : "execute_command_v2_function", + "type" : 11 + }, { + "alternatives" : [ "update_on_exists", "ignore_on_exists", "just_insert" ], + "id" : "dml_insert_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_on_nonexists", "insert_on_nonexists", "log_on_nonexists" ], + "id" : "dml_update_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_on_nonexists", "log_on_nonexists" ], + "id" : "dml_delete_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_all_check", "default_check" ], + "id" : "dml_check_policy", + "type" : 20 + }, { + "id" : "api_server_supported", + "type" : 20 + }, { + "id" : "source_support_exactly_once", + "type" : 20 + }, { + "id" : "batch_read_hash_split", + "type" : 20 + }, { + "id" : "source_support_partition", + "type" : 20 + } ], + "connectionName" : "QMH_PG_CMS", + "connectionTags" : [ "Database", "ssl", "doubleActive", "disableForeignKey", "NullsLast" ], + "connectionType" : "source_and_target", + "pdkHash" : "8dea069f269dd428d82e60e75d0d91b6dc61be7be26eae7bc407d7b95d3b0594", + "pdkType" : "pdk", + "position" : [ 40.5, 50 ] + }, + "catalog" : "data", + "compareIgnoreCase" : false, + "concurrentReadThreadNumber" : 0, + "connectionId" : "69b7ef1b26de2d8303432441", + "databaseType" : "PostgreSQL", + "ddlConfiguration" : "FILTER", + "disabled" : false, + "elementType" : "Node", + "enableConcurrentRead" : false, + "existDataProcessMode" : "keepData", + "id" : "0e3e6d1e-13b1-45cd-8d23-cf498063afee", + "ignoreMetrics" : false, + "increaseReadSize" : 1, + "incrementExactlyOnceEnableTimeWindowDay" : 3, + "isTransformed" : false, + "migrateTableSelectType" : "custom", + "name" : "QMH_PG_CMS", + "noPkSyncMode" : "ADD_HASH", + "noPrimaryKeyTableSelectType" : "HasKeys", + "nodeConfig" : { + "applyDefault" : false, + "autoIncCacheValue" : 100, + "autoIncJumpValue" : 1000000, + "batchReadThreadSize" : 4, + "closeNotNull" : false, + "createAutoInc" : false, + "enableFileInput" : false, + "hashSplit" : false, + "maxSplit" : 20, + "maximumQueueSize" : 8000, + "partitionRoot" : false, + "splitUpdatePk" : true + }, + "readBatchSize" : 100, + "syncForeignKeyEnable" : true, + "syncSourcePartitionTableEnable" : true, + "tableExpression" : ".*", + "tableNames" : [ "discharge_information" ], + "type" : "database", + "writeStrategy" : "updateOrInsert" + }, { + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "PROCESSNODE_AVERAGE_HANDLE_CONSUME", + "ms" : 30000, + "point" : 60, + "times" : 0 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "PROCESSNODE_AVERAGE_HANDLE_CONSUME", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 1, + "type" : "PROCESSNODE", + "unit" : "SECOND" + } ], + "attrs" : { + "capabilities" : [ ], + "position" : [ 330, 50 ] + }, + "catalog" : "processor", + "concurrentNum" : 2, + "disabled" : false, + "elementType" : "Node", + "id" : "d11102b6-5834-412a-afcf-978471aa864c", + "isTransformed" : false, + "name" : "表编辑", + "prefix" : "FDM_QMH_CMSIP_", + "replaceAfter" : "", + "suffix" : "", + "tableNames" : [ ], + "transferCase" : "", + "type" : "table_rename_processor" + }, { + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "DATANODE_AVERAGE_HANDLE_CONSUME", + "ms" : 5000, + "point" : 12, + "times" : 0 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "DATANODE_AVERAGE_HANDLE_CONSUME", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 4, + "type" : "DATANODE", + "unit" : "SECOND" + } ], + "applyCompareRule" : false, + "attrs" : { + "accessNodeProcessId" : "", + "accessNodeType" : "AUTOMATIC_PLATFORM_ALLOCATION", + "capabilities" : [ { + "id" : "source_incremental_update_event_have_before", + "type" : 20 + }, { + "id" : "execute_command_function", + "type" : 11 + }, { + "id" : "batch_read_function", + "type" : 11 + }, { + "id" : "stream_read_function", + "type" : 11 + }, { + "id" : "batch_count_function", + "type" : 11 + }, { + "id" : "timestamp_to_stream_offset_function", + "type" : 11 + }, { + "id" : "write_record_function", + "type" : 11 + }, { + "id" : "query_by_advance_filter_function", + "type" : 11 + }, { + "id" : "create_table_v2_function", + "type" : 11 + }, { + "id" : "drop_table_function", + "type" : 11 + }, { + "id" : "create_index_function", + "type" : 11 + }, { + "id" : "query_indexes_function", + "type" : 11 + }, { + "id" : "count_by_partition_filter_function", + "type" : 11 + }, { + "id" : "get_read_partitions_function", + "type" : 11 + }, { + "id" : "query_field_min_max_value_function", + "type" : 11 + }, { + "id" : "transaction_begin_function", + "type" : 11 + }, { + "id" : "transaction_commit_function", + "type" : 11 + }, { + "id" : "transaction_rollback_function", + "type" : 11 + }, { + "id" : "get_table_info_function", + "type" : 11 + }, { + "id" : "get_table_names_function", + "type" : 11 + }, { + "id" : "error_handle_function", + "type" : 11 + }, { + "id" : "master_slave_merge", + "type" : 20 + }, { + "id" : "dynamic_schema", + "type" : 20 + }, { + "alternatives" : [ "update_on_exists", "ignore_on_exists", "just_insert" ], + "id" : "dml_insert_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_on_nonexists", "insert_on_nonexists", "log_on_nonexists" ], + "id" : "dml_update_policy", + "type" : 20 + }, { + "id" : "api_server_supported", + "type" : 20 + }, { + "id" : "source_support_exactly_once", + "type" : 20 + } ], + "connectionName" : "FDM", + "connectionTags" : [ "schema-free", "Database", "doubleActive" ], + "connectionType" : "source_and_target", + "db_version" : "8.0.9", + "pdkHash" : "4335aaa005ec1a74a4e2166bded2962e939ad50239f48b023b884f35b54129a5", + "pdkType" : "pdk", + "position" : [ 610, 50 ] + }, + "catalog" : "data", + "compareIgnoreCase" : false, + "concurrentReadThreadNumber" : 0, + "connectionId" : "695497a235a6fa1717313957", + "databaseType" : "MongoDB", + "disabled" : false, + "dmlPolicy" : { + "insertPolicy" : "update_on_exists", + "updatePolicy" : "ignore_on_nonexists" + }, + "elementType" : "Node", + "enableConcurrentRead" : false, + "existDataProcessMode" : "dropTable", + "id" : "1bfd1d44-977c-4f55-924b-f2c438545373", + "ignoreMetrics" : false, + "increaseReadSize" : 1, + "incrementExactlyOnceEnable" : false, + "incrementExactlyOnceEnableTimeWindowDay" : 3, + "isTransformed" : false, + "migrateTableSelectType" : "custom", + "name" : "FDM", + "noPkSyncMode" : "ADD_HASH", + "nodeConfig" : { + "enableSaveDeleteData" : false, + "preImage4Sink" : false, + "shardCollection" : false, + "syncIndex" : false, + "timeSeriesCollection" : false, + "writeConcern" : "w1" + }, + "readBatchSize" : 500, + "syncForeignKeyEnable" : true, + "syncObjects" : [ { + "objectNames" : [ "FDM_QMH_CMSIP_discharge_information" ], + "tableNameRelation" : { + "discharge_information" : "FDM_QMH_CMSIP_discharge_information" + }, + "type" : "table" + } ], + "type" : "database", + "uniqueIndexEnable" : true, + "updateConditionFieldMap" : { }, + "writeBatchSize" : 100, + "writeBatchWaitMs" : 500, + "writeStrategy" : "updateOrInsert" + } ] + }, + "dataSaving" : true, + "deduceSchemaTask" : false, + "deduplicWriteMode" : "intelligent", + "desc" : "", + "doubleActive" : false, + "dynamicAdjustMemoryUsage" : false, + "emailReceivers" : [ ], + "enforceShareCdc" : true, + "fileLog" : false, + "id" : "69cb87c2bda877370a5ef8aa", + "increHysteresis" : false, + "increOperationMode" : false, + "increSyncConcurrency" : false, + "increaseReadSize" : 1, + "initialSyncTask" : true, + "isAutoCreateIndex" : true, + "isAutoInspect" : false, + "isEdit" : true, + "isFilter" : false, + "isOpenAutoDDL" : false, + "isSchedule" : false, + "isStopOnError" : true, + "listtags" : [ { + "id" : "69b8d4cf8dd5178824619d46", + "value" : "dmp fdm" + } ], + "name" : "QMH_CMS_TO_FDM", + "normalTask" : true, + "oldVersionTimezone" : false, + "planStartDateFlag" : false, + "preview" : false, + "previewTask" : false, + "processorThreadNum" : 1, + "reFullRun" : false, + "readBatchSize" : 500, + "restartFlag" : false, + "shareCache" : false, + "shareCdcEnable" : false, + "showInspectTips" : false, + "snapShotInterrupt" : false, + "status" : "edit", + "statuses" : [ ], + "syncPoints" : [ { + "connectionId" : "69b7ef1b26de2d8303432441", + "connectionName" : "QMH_PG_CMS", + "isStreamOffset" : false, + "nodeId" : "0e3e6d1e-13b1-45cd-8d23-cf498063afee", + "nodeName" : "QMH_PG_CMS", + "pointType" : "current", + "timeZone" : "+8" + } ], + "syncStatus" : "", + "syncType" : "migrate", + "testTask" : false, + "testUsingPreview" : false, + "transformDagHash" : 0, + "transformProcess" : 0.0, + "type" : "initial_sync+cdc", + "user_id" : "69c6449cb9dbbccec453fb5f", + "writeBatchSize" : 0, + "writeBatchWaitMs" : 0, + "writeThreadSize" : 8 + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "discharge_information", + "comment" : "", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774946263748, + "createUser" : "cpicase-martin", + "databaseId" : "69b7ef1c7e25a691d40fb15e", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "character(6)", + "data_type" : "character(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "69b7ef1b26de2d8303432441_discharge_information_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "character(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":6,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "character(24)", + "data_type" : "character(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "69b7ef1b26de2d8303432441_discharge_information_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character(24)", + "original_field_name" : "case_no", + "previousDataType" : "character(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":24,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "character(8)", + "data_type" : "character(8)", + "default_value" : null, + "field_name" : "specialty", + "id" : "69b7ef1b26de2d8303432441_discharge_information_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character(8)", + "original_field_name" : "specialty", + "previousDataType" : "character(8)", + "previousFieldName" : "specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":8,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "character varying(12)", + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "ho_id", + "id" : "69b7ef1b26de2d8303432441_discharge_information_ho_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "ho_id", + "previousDataType" : "character varying(12)", + "previousFieldName" : "ho_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "character varying(12)", + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "mo_in_charge_id", + "id" : "69b7ef1b26de2d8303432441_discharge_information_mo_in_charge_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(12)", + "original_field_name" : "mo_in_charge_id", + "previousDataType" : "character varying(12)", + "previousFieldName" : "mo_in_charge_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "character varying(12)", + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "create_by", + "id" : "69b7ef1b26de2d8303432441_discharge_information_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(12)", + "original_field_name" : "create_by", + "previousDataType" : "character varying(12)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "timestamp without time zone", + "data_type" : "timestamp without time zone", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "69b7ef1b26de2d8303432441_discharge_information_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "create_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "character varying(12)", + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "update_by", + "id" : "69b7ef1b26de2d8303432441_discharge_information_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "update_by", + "previousDataType" : "character varying(12)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "timestamp without time zone", + "data_type" : "timestamp without time zone", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "69b7ef1b26de2d8303432441_discharge_information_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "update_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "character varying(12)", + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "specialist_ic", + "id" : "69b7ef1b26de2d8303432441_discharge_information_specialist_ic", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(12)", + "original_field_name" : "specialist_ic", + "previousDataType" : "character varying(12)", + "previousFieldName" : "specialist_ic", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "integer", + "data_type" : "integer", + "default_value" : null, + "field_name" : "admit_mode", + "id" : "69b7ef1b26de2d8303432441_discharge_information_admit_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "integer", + "original_field_name" : "admit_mode", + "previousDataType" : "integer", + "previousFieldName" : "admit_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "character(5)", + "data_type" : "character(5)", + "default_value" : null, + "field_name" : "admit_team", + "id" : "69b7ef1b26de2d8303432441_discharge_information_admit_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(5)", + "original_field_name" : "admit_team", + "previousDataType" : "character(5)", + "previousFieldName" : "admit_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":5,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "createSource" : "auto", + "dataTypeTemp" : "character varying(12)", + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "admit_physician", + "id" : "69b7ef1b26de2d8303432441_discharge_information_admit_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "admit_physician", + "previousDataType" : "character varying(12)", + "previousFieldName" : "admit_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "createSource" : "auto", + "dataTypeTemp" : "character varying(12)", + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "admit_doctor", + "id" : "69b7ef1b26de2d8303432441_discharge_information_admit_doctor", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "admit_doctor", + "previousDataType" : "character varying(12)", + "previousFieldName" : "admit_doctor", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "createSource" : "auto", + "dataTypeTemp" : "timestamp without time zone", + "data_type" : "timestamp without time zone", + "default_value" : null, + "field_name" : "expected_discharge_date", + "id" : "69b7ef1b26de2d8303432441_discharge_information_expected_discharge_date", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "expected_discharge_date", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "expected_discharge_date", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "createSource" : "auto", + "dataTypeTemp" : "character(1)", + "data_type" : "character(1)", + "default_value" : null, + "field_name" : "discharge_mode", + "id" : "69b7ef1b26de2d8303432441_discharge_information_discharge_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(1)", + "original_field_name" : "discharge_mode", + "previousDataType" : "character(1)", + "previousFieldName" : "discharge_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":1,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "createSource" : "auto", + "dataTypeTemp" : "character(5)", + "data_type" : "character(5)", + "default_value" : null, + "field_name" : "discharge_destination", + "id" : "69b7ef1b26de2d8303432441_discharge_information_discharge_destination", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(5)", + "original_field_name" : "discharge_destination", + "previousDataType" : "character(5)", + "previousFieldName" : "discharge_destination", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":5,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "createSource" : "auto", + "dataTypeTemp" : "character(5)", + "data_type" : "character(5)", + "default_value" : null, + "field_name" : "discharge_team", + "id" : "69b7ef1b26de2d8303432441_discharge_information_discharge_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(5)", + "original_field_name" : "discharge_team", + "previousDataType" : "character(5)", + "previousFieldName" : "discharge_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":5,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "createSource" : "auto", + "dataTypeTemp" : "character varying(12)", + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "discharge_physician", + "id" : "69b7ef1b26de2d8303432441_discharge_information_discharge_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "discharge_physician", + "previousDataType" : "character varying(12)", + "previousFieldName" : "discharge_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "createSource" : "auto", + "dataTypeTemp" : "bytea", + "data_type" : "bytea", + "default_value" : null, + "field_name" : "timestamp", + "id" : "69b7ef1b26de2d8303432441_discharge_information_timestamp", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "bytea", + "original_field_name" : "timestamp", + "previousDataType" : "bytea", + "previousFieldName" : "timestamp", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "bytea", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":4294967295,\"type\":9}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "createSource" : "auto", + "dataTypeTemp" : "timestamp without time zone", + "data_type" : "timestamp without time zone", + "default_value" : null, + "field_name" : "sick_leave_from_dtm", + "id" : "69b7ef1b26de2d8303432441_discharge_information_sick_leave_from_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "sick_leave_from_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "sick_leave_from_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "createSource" : "auto", + "dataTypeTemp" : "timestamp without time zone", + "data_type" : "timestamp without time zone", + "default_value" : null, + "field_name" : "sick_leave_to_dtm", + "id" : "69b7ef1b26de2d8303432441_discharge_information_sick_leave_to_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "sick_leave_to_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "sick_leave_to_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : true, + "hasUpdateField" : false, + "id" : "69cb87d7a6fb9b4275db21e7", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_discharge_information_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "table", + "name" : "discharge_information", + "nodeId" : "0e3e6d1e-13b1-45cd-8d23-cf498063afee", + "original_name" : "discharge_information", + "partitionSet" : [ ], + "qualified_name" : "T_postgres_io_tapdata_1_0-SNAPSHOT_discharge_information_69b7ef1b26de2d8303432441_69cb87c2bda877370a5ef8aa", + "source" : { + "_id" : "69b7ef1b26de2d8303432441", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "PostgreSQL", + "everLoadSchema" : true, + "id" : "69b7ef1b26de2d8303432441", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 1, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "QMH_PG_CMS", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "43e34765-70ee-4036-8585-4a8266af5b76", + "status" : "ready", + "submit" : true, + "tableCount" : 1, + "testTime" : 1774504224115, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "VIRTUAL", + "taskId" : "69cb87c2bda877370a5ef8aa", + "transformUuid" : "1774946277725", + "user_id" : "69c6449cb9dbbccec453fb5f", + "username" : "cpicase-martin" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "discharge_information", + "comment" : "", + "constraints" : [ ], + "createSource" : "job_analyze", + "createTime" : 1774946273688, + "createUser" : "cpicase-martin", + "databaseId" : "69b7ef1c7e25a691d40fb15e", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "character(6)", + "data_type" : "character(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "69b7ef1b26de2d8303432441_discharge_information_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "character(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":6,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "character(24)", + "data_type" : "character(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "69b7ef1b26de2d8303432441_discharge_information_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character(24)", + "original_field_name" : "case_no", + "previousDataType" : "character(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":24,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "character(8)", + "data_type" : "character(8)", + "default_value" : null, + "field_name" : "specialty", + "id" : "69b7ef1b26de2d8303432441_discharge_information_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character(8)", + "original_field_name" : "specialty", + "previousDataType" : "character(8)", + "previousFieldName" : "specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":8,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "character varying(12)", + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "ho_id", + "id" : "69b7ef1b26de2d8303432441_discharge_information_ho_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "ho_id", + "previousDataType" : "character varying(12)", + "previousFieldName" : "ho_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "character varying(12)", + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "mo_in_charge_id", + "id" : "69b7ef1b26de2d8303432441_discharge_information_mo_in_charge_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(12)", + "original_field_name" : "mo_in_charge_id", + "previousDataType" : "character varying(12)", + "previousFieldName" : "mo_in_charge_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "character varying(12)", + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "create_by", + "id" : "69b7ef1b26de2d8303432441_discharge_information_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(12)", + "original_field_name" : "create_by", + "previousDataType" : "character varying(12)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "timestamp without time zone", + "data_type" : "timestamp without time zone", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "69b7ef1b26de2d8303432441_discharge_information_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "create_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "character varying(12)", + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "update_by", + "id" : "69b7ef1b26de2d8303432441_discharge_information_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "update_by", + "previousDataType" : "character varying(12)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "timestamp without time zone", + "data_type" : "timestamp without time zone", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "69b7ef1b26de2d8303432441_discharge_information_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "update_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "character varying(12)", + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "specialist_ic", + "id" : "69b7ef1b26de2d8303432441_discharge_information_specialist_ic", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(12)", + "original_field_name" : "specialist_ic", + "previousDataType" : "character varying(12)", + "previousFieldName" : "specialist_ic", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "integer", + "data_type" : "integer", + "default_value" : null, + "field_name" : "admit_mode", + "id" : "69b7ef1b26de2d8303432441_discharge_information_admit_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "integer", + "original_field_name" : "admit_mode", + "previousDataType" : "integer", + "previousFieldName" : "admit_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "character(5)", + "data_type" : "character(5)", + "default_value" : null, + "field_name" : "admit_team", + "id" : "69b7ef1b26de2d8303432441_discharge_information_admit_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(5)", + "original_field_name" : "admit_team", + "previousDataType" : "character(5)", + "previousFieldName" : "admit_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":5,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "createSource" : "auto", + "dataTypeTemp" : "character varying(12)", + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "admit_physician", + "id" : "69b7ef1b26de2d8303432441_discharge_information_admit_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "admit_physician", + "previousDataType" : "character varying(12)", + "previousFieldName" : "admit_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "createSource" : "auto", + "dataTypeTemp" : "character varying(12)", + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "admit_doctor", + "id" : "69b7ef1b26de2d8303432441_discharge_information_admit_doctor", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "admit_doctor", + "previousDataType" : "character varying(12)", + "previousFieldName" : "admit_doctor", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "createSource" : "auto", + "dataTypeTemp" : "timestamp without time zone", + "data_type" : "timestamp without time zone", + "default_value" : null, + "field_name" : "expected_discharge_date", + "id" : "69b7ef1b26de2d8303432441_discharge_information_expected_discharge_date", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "expected_discharge_date", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "expected_discharge_date", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "createSource" : "auto", + "dataTypeTemp" : "character(1)", + "data_type" : "character(1)", + "default_value" : null, + "field_name" : "discharge_mode", + "id" : "69b7ef1b26de2d8303432441_discharge_information_discharge_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(1)", + "original_field_name" : "discharge_mode", + "previousDataType" : "character(1)", + "previousFieldName" : "discharge_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":1,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "createSource" : "auto", + "dataTypeTemp" : "character(5)", + "data_type" : "character(5)", + "default_value" : null, + "field_name" : "discharge_destination", + "id" : "69b7ef1b26de2d8303432441_discharge_information_discharge_destination", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(5)", + "original_field_name" : "discharge_destination", + "previousDataType" : "character(5)", + "previousFieldName" : "discharge_destination", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":5,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "createSource" : "auto", + "dataTypeTemp" : "character(5)", + "data_type" : "character(5)", + "default_value" : null, + "field_name" : "discharge_team", + "id" : "69b7ef1b26de2d8303432441_discharge_information_discharge_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(5)", + "original_field_name" : "discharge_team", + "previousDataType" : "character(5)", + "previousFieldName" : "discharge_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":5,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "createSource" : "auto", + "dataTypeTemp" : "character varying(12)", + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "discharge_physician", + "id" : "69b7ef1b26de2d8303432441_discharge_information_discharge_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "discharge_physician", + "previousDataType" : "character varying(12)", + "previousFieldName" : "discharge_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "createSource" : "auto", + "dataTypeTemp" : "bytea", + "data_type" : "bytea", + "default_value" : null, + "field_name" : "timestamp", + "id" : "69b7ef1b26de2d8303432441_discharge_information_timestamp", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "bytea", + "original_field_name" : "timestamp", + "previousDataType" : "bytea", + "previousFieldName" : "timestamp", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "bytea", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":4294967295,\"type\":9}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "createSource" : "auto", + "dataTypeTemp" : "timestamp without time zone", + "data_type" : "timestamp without time zone", + "default_value" : null, + "field_name" : "sick_leave_from_dtm", + "id" : "69b7ef1b26de2d8303432441_discharge_information_sick_leave_from_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "sick_leave_from_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "sick_leave_from_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "createSource" : "auto", + "dataTypeTemp" : "timestamp without time zone", + "data_type" : "timestamp without time zone", + "default_value" : null, + "field_name" : "sick_leave_to_dtm", + "id" : "69b7ef1b26de2d8303432441_discharge_information_sick_leave_to_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "sick_leave_to_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "sick_leave_to_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : true, + "hasUpdateField" : false, + "id" : "69cb87e1a6fb9b4275db21ef", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_discharge_information_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "processor_node", + "name" : "FDM_QMH_CMSIP_discharge_information", + "nodeId" : "d11102b6-5834-412a-afcf-978471aa864c", + "original_name" : "FDM_QMH_CMSIP_discharge_information", + "partitionSet" : [ ], + "qualified_name" : "PN_d11102b6-5834-412a-afcf-978471aa864c_FDM_QMH_CMSIP_discharge_information", + "source" : { + "_id" : "69b7ef1b26de2d8303432441", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "PostgreSQL", + "everLoadSchema" : true, + "id" : "69b7ef1b26de2d8303432441", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 1, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "QMH_PG_CMS", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "43e34765-70ee-4036-8585-4a8266af5b76", + "status" : "ready", + "submit" : true, + "tableCount" : 1, + "testTime" : 1774504224115, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "VIRTUAL", + "taskId" : "69cb87c2bda877370a5ef8aa", + "transformUuid" : "1774946277725", + "user_id" : "69c6449cb9dbbccec453fb5f", + "username" : "cpicase-martin" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "discharge_information", + "comment" : "", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774946273690, + "createUser" : "cpicase-martin", + "databaseId" : "69549862aedd5fe4733b3966", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "columnSize" : 100, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "oriPrecision" : 100, + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "table_name" : "FDM_QMH_CMSIP_discharge_information", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "character(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character(24)", + "original_field_name" : "case_no", + "previousDataType" : "character(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "specialty", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character(8)", + "original_field_name" : "specialty", + "previousDataType" : "character(8)", + "previousFieldName" : "specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "ho_id", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_ho_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "ho_id", + "previousDataType" : "character varying(12)", + "previousFieldName" : "ho_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "mo_in_charge_id", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_mo_in_charge_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(12)", + "original_field_name" : "mo_in_charge_id", + "previousDataType" : "character varying(12)", + "previousFieldName" : "mo_in_charge_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(12)", + "original_field_name" : "create_by", + "previousDataType" : "character varying(12)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "create_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "update_by", + "previousDataType" : "character varying(12)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "update_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "specialist_ic", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_specialist_ic", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(12)", + "original_field_name" : "specialist_ic", + "previousDataType" : "character varying(12)", + "previousFieldName" : "specialist_ic", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "admit_mode", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_admit_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "integer", + "original_field_name" : "admit_mode", + "previousDataType" : "integer", + "previousFieldName" : "admit_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "STRING(5)", + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "admit_team", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_admit_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(5)", + "original_field_name" : "admit_team", + "previousDataType" : "character(5)", + "previousFieldName" : "admit_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "admit_physician", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_admit_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "admit_physician", + "previousDataType" : "character varying(12)", + "previousFieldName" : "admit_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "admit_doctor", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_admit_doctor", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "admit_doctor", + "previousDataType" : "character varying(12)", + "previousFieldName" : "admit_doctor", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "expected_discharge_date", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_expected_discharge_date", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "expected_discharge_date", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "expected_discharge_date", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "createSource" : "auto", + "dataTypeTemp" : "STRING(1)", + "data_type" : "STRING(1)", + "default_value" : null, + "field_name" : "discharge_mode", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_discharge_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(1)", + "original_field_name" : "discharge_mode", + "previousDataType" : "character(1)", + "previousFieldName" : "discharge_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":1,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "createSource" : "auto", + "dataTypeTemp" : "STRING(5)", + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "discharge_destination", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_discharge_destination", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(5)", + "original_field_name" : "discharge_destination", + "previousDataType" : "character(5)", + "previousFieldName" : "discharge_destination", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "createSource" : "auto", + "dataTypeTemp" : "STRING(5)", + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "discharge_team", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_discharge_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(5)", + "original_field_name" : "discharge_team", + "previousDataType" : "character(5)", + "previousFieldName" : "discharge_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "discharge_physician", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_discharge_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "discharge_physician", + "previousDataType" : "character varying(12)", + "previousFieldName" : "discharge_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "createSource" : "auto", + "dataTypeTemp" : "BINARY", + "data_type" : "BINARY", + "default_value" : null, + "field_name" : "timestamp", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_timestamp", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "bytea", + "original_field_name" : "timestamp", + "previousDataType" : "bytea", + "previousFieldName" : "timestamp", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "bytea", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16777215,\"type\":9}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "sick_leave_from_dtm", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_sick_leave_from_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "sick_leave_from_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "sick_leave_from_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "sick_leave_to_dtm", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_sick_leave_to_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "sick_leave_to_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "sick_leave_to_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { + "admit_doctor" : { + "dataTypes" : [ "NULL", "STRING(12)" ], + "lastMatchedDataType" : "NULL" + }, + "admit_mode" : { + "dataTypes" : [ "DECIMAL128", "DOUBLE", "INT64", "INT32" ], + "lastMatchedDataType" : "DOUBLE" + }, + "admit_physician" : { + "dataTypes" : [ "NULL", "STRING(12)" ], + "lastMatchedDataType" : "NULL" + }, + "admit_team" : { + "dataTypes" : [ "NULL", "STRING(5)" ], + "lastMatchedDataType" : "NULL" + }, + "case_no" : { + "dataTypes" : [ "NULL", "STRING(24)" ], + "lastMatchedDataType" : "NULL" + }, + "create_by" : { + "dataTypes" : [ "NULL", "STRING(12)" ], + "lastMatchedDataType" : "NULL" + }, + "create_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "discharge_destination" : { + "dataTypes" : [ "NULL", "STRING(5)" ], + "lastMatchedDataType" : "NULL" + }, + "discharge_mode" : { + "dataTypes" : [ "NULL", "STRING(1)" ], + "lastMatchedDataType" : "NULL" + }, + "discharge_physician" : { + "dataTypes" : [ "NULL", "STRING(12)" ], + "lastMatchedDataType" : "NULL" + }, + "discharge_team" : { + "dataTypes" : [ "NULL", "STRING(5)" ], + "lastMatchedDataType" : "NULL" + }, + "expected_discharge_date" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "ho_id" : { + "dataTypes" : [ "NULL", "STRING(12)" ], + "lastMatchedDataType" : "NULL" + }, + "hospital_code" : { + "dataTypes" : [ "NULL", "STRING(6)" ], + "lastMatchedDataType" : "NULL" + }, + "mo_in_charge_id" : { + "dataTypes" : [ "NULL", "STRING(12)" ], + "lastMatchedDataType" : "NULL" + }, + "sick_leave_from_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "sick_leave_to_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "specialist_ic" : { + "dataTypes" : [ "NULL", "STRING(12)" ], + "lastMatchedDataType" : "NULL" + }, + "specialty" : { + "dataTypes" : [ "NULL", "STRING(8)" ], + "lastMatchedDataType" : "NULL" + }, + "timestamp" : { + "dataTypes" : [ "BINARY" ] + }, + "update_by" : { + "dataTypes" : [ "NULL", "STRING(12)" ], + "lastMatchedDataType" : "NULL" + }, + "update_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + } + }, + "hasPrimaryKey" : false, + "hasTransformEx" : true, + "hasUnionIndex" : true, + "hasUpdateField" : false, + "id" : "69cb87e1a6fb9b4275db21f0", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_discharge_information_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "table", + "name" : "FDM_QMH_CMSIP_discharge_information", + "nodeId" : "1bfd1d44-977c-4f55-924b-f2c438545373", + "original_name" : "FDM_QMH_CMSIP_discharge_information", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_FDM_QMH_CMSIP_discharge_information_695497a235a6fa1717313957_69cb87c2bda877370a5ef8aa", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "5f5212c0-2fb9-4281-8ecb-72d883bd32b3", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504239647, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "VIRTUAL", + "tableAttr" : { + "avgObjSize" : 451, + "capped" : false, + "ns" : "FDM.FDM_QMH_CMSIP_discharge_information", + "shard" : { }, + "size" : 4517457, + "storageSize" : 659456 + }, + "taskId" : "69cb87c2bda877370a5ef8aa", + "transformUuid" : "1774946277725", + "user_id" : "69c6449cb9dbbccec453fb5f", + "username" : "cpicase-martin" + } +} ] \ No newline at end of file diff --git a/case-team_tapdata_export/Task/QMH_HPI_CASE_TO_FDM_MigrateTask.json b/case-team_tapdata_export/Task/QMH_HPI_CASE_TO_FDM_MigrateTask.json new file mode 100644 index 0000000..3137cfe --- /dev/null +++ b/case-team_tapdata_export/Task/QMH_HPI_CASE_TO_FDM_MigrateTask.json @@ -0,0 +1,2943 @@ +[ { + "collectionName" : "Task", + "json" : { + "_deleted" : false, + "accessNodeProcessId" : "", + "accessNodeProcessIdList" : [ ], + "accessNodeType" : "AUTOMATIC_PLATFORM_ALLOCATION", + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "TASK_INCREMENT_DELAY", + "ms" : 60000, + "point" : 60, + "times" : 0 + }, { + "equalsFlag" : 0, + "key" : "TASK_RETRY_WARN", + "ms" : 0, + "point" : 0, + "times" : 10 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "TASK_STATUS_ERROR", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 1, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_FULL_COMPLETE", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 3, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_INCREMENT_START", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 4, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_INCREMENT_DELAY", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 6, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_INSPECT_DIFFERENCE", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 1, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_RETRY_WARN", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 4, + "type" : "TASK", + "unit" : "SECOND" + } ], + "attrs" : { }, + "autoIncrementalBatchSize" : true, + "autoInspect" : false, + "blankLog" : false, + "canOpenInspect" : false, + "cdctask" : false, + "createTime" : 1774946207622, + "createUser" : "cpicase-martin", + "crontabExpressionFlag" : false, + "dag" : { + "edges" : [ { + "disabled" : false, + "id" : "c86628fb-1e5c-409d-b433-4545b40ef859", + "source" : "c5f8e33a-73b0-447b-8081-47aef42c3a65", + "target" : "5ca6a1f3-9804-4b93-8b3f-bfe1553b5534" + }, { + "disabled" : false, + "source" : "c29445df-9afa-46c1-a290-f7d91f81ad5d", + "target" : "c5f8e33a-73b0-447b-8081-47aef42c3a65" + } ], + "nodes" : [ { + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "PROCESSNODE_AVERAGE_HANDLE_CONSUME", + "ms" : 30000, + "point" : 60, + "times" : 0 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "PROCESSNODE_AVERAGE_HANDLE_CONSUME", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 1, + "type" : "PROCESSNODE", + "unit" : "SECOND" + } ], + "attrs" : { + "capabilities" : [ ], + "position" : [ 330, 50 ] + }, + "catalog" : "processor", + "concurrentNum" : 2, + "disabled" : false, + "elementType" : "Node", + "id" : "c5f8e33a-73b0-447b-8081-47aef42c3a65", + "isTransformed" : false, + "name" : "表编辑", + "prefix" : "FDM_QMH_HPI_", + "replaceAfter" : "", + "suffix" : "", + "tableNames" : [ ], + "transferCase" : "", + "type" : "table_rename_processor" + }, { + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "DATANODE_AVERAGE_HANDLE_CONSUME", + "ms" : 5000, + "point" : 12, + "times" : 0 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "DATANODE_AVERAGE_HANDLE_CONSUME", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 4, + "type" : "DATANODE", + "unit" : "SECOND" + } ], + "applyCompareRule" : false, + "attrs" : { + "accessNodeProcessId" : "", + "accessNodeType" : "AUTOMATIC_PLATFORM_ALLOCATION", + "capabilities" : [ { + "id" : "source_incremental_update_event_have_before", + "type" : 20 + }, { + "id" : "execute_command_function", + "type" : 11 + }, { + "id" : "batch_read_function", + "type" : 11 + }, { + "id" : "stream_read_function", + "type" : 11 + }, { + "id" : "batch_count_function", + "type" : 11 + }, { + "id" : "timestamp_to_stream_offset_function", + "type" : 11 + }, { + "id" : "write_record_function", + "type" : 11 + }, { + "id" : "query_by_advance_filter_function", + "type" : 11 + }, { + "id" : "create_table_v2_function", + "type" : 11 + }, { + "id" : "drop_table_function", + "type" : 11 + }, { + "id" : "create_index_function", + "type" : 11 + }, { + "id" : "query_indexes_function", + "type" : 11 + }, { + "id" : "count_by_partition_filter_function", + "type" : 11 + }, { + "id" : "get_read_partitions_function", + "type" : 11 + }, { + "id" : "query_field_min_max_value_function", + "type" : 11 + }, { + "id" : "transaction_begin_function", + "type" : 11 + }, { + "id" : "transaction_commit_function", + "type" : 11 + }, { + "id" : "transaction_rollback_function", + "type" : 11 + }, { + "id" : "get_table_info_function", + "type" : 11 + }, { + "id" : "get_table_names_function", + "type" : 11 + }, { + "id" : "error_handle_function", + "type" : 11 + }, { + "id" : "master_slave_merge", + "type" : 20 + }, { + "id" : "dynamic_schema", + "type" : 20 + }, { + "alternatives" : [ "update_on_exists", "ignore_on_exists", "just_insert" ], + "id" : "dml_insert_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_on_nonexists", "insert_on_nonexists", "log_on_nonexists" ], + "id" : "dml_update_policy", + "type" : 20 + }, { + "id" : "api_server_supported", + "type" : 20 + }, { + "id" : "source_support_exactly_once", + "type" : 20 + } ], + "connectionName" : "FDM", + "connectionTags" : [ "schema-free", "Database", "doubleActive" ], + "connectionType" : "source_and_target", + "db_version" : "8.0.9", + "pdkHash" : "4335aaa005ec1a74a4e2166bded2962e939ad50239f48b023b884f35b54129a5", + "pdkType" : "pdk", + "position" : [ 610, 50 ] + }, + "catalog" : "data", + "compareIgnoreCase" : false, + "concurrentReadThreadNumber" : 0, + "connectionId" : "695497a235a6fa1717313957", + "databaseType" : "MongoDB", + "disabled" : false, + "dmlPolicy" : { + "insertPolicy" : "update_on_exists", + "updatePolicy" : "ignore_on_nonexists" + }, + "elementType" : "Node", + "enableConcurrentRead" : false, + "existDataProcessMode" : "dropTable", + "id" : "5ca6a1f3-9804-4b93-8b3f-bfe1553b5534", + "ignoreMetrics" : false, + "increaseReadSize" : 1, + "incrementExactlyOnceEnable" : false, + "incrementExactlyOnceEnableTimeWindowDay" : 3, + "isTransformed" : false, + "migrateTableSelectType" : "custom", + "name" : "FDM", + "noPkSyncMode" : "ADD_HASH", + "nodeConfig" : { + "enableSaveDeleteData" : false, + "preImage4Sink" : false, + "shardCollection" : false, + "syncIndex" : false, + "timeSeriesCollection" : false, + "writeConcern" : "w1" + }, + "readBatchSize" : 500, + "syncForeignKeyEnable" : true, + "syncObjects" : [ { + "objectNames" : [ "FDM_QMH_HPI_cpi_case" ], + "tableNameRelation" : { + "cpi_case" : "FDM_QMH_HPI_cpi_case" + }, + "type" : "table" + } ], + "type" : "database", + "uniqueIndexEnable" : true, + "updateConditionFieldMap" : { }, + "writeBatchSize" : 100, + "writeBatchWaitMs" : 500, + "writeStrategy" : "updateOrInsert" + }, { + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "DATANODE_AVERAGE_HANDLE_CONSUME", + "ms" : 5000, + "point" : 12, + "times" : 0 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "DATANODE_AVERAGE_HANDLE_CONSUME", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 4, + "type" : "DATANODE", + "unit" : "SECOND" + } ], + "applyCompareRule" : false, + "attrs" : { + "accessNodeProcessId" : "", + "accessNodeType" : "AUTOMATIC_PLATFORM_ALLOCATION", + "capabilities" : [ { + "id" : "count_raw_command_function", + "type" : 11 + }, { + "id" : "run_raw_command_function", + "type" : 11 + }, { + "id" : "execute_command_function", + "type" : 11 + }, { + "id" : "release_external_function", + "type" : 11 + }, { + "id" : "batch_read_function", + "type" : 11 + }, { + "id" : "stream_read_function", + "type" : 11 + }, { + "id" : "batch_count_function", + "type" : 11 + }, { + "id" : "timestamp_to_stream_offset_function", + "type" : 11 + }, { + "id" : "write_record_function", + "type" : 11 + }, { + "id" : "after_initial_sync_function", + "type" : 11 + }, { + "id" : "query_by_filter_function", + "type" : 11 + }, { + "id" : "query_by_advance_filter_function", + "type" : 11 + }, { + "id" : "create_table_v2_function", + "type" : 11 + }, { + "id" : "clear_table_function", + "type" : 11 + }, { + "id" : "drop_table_function", + "type" : 11 + }, { + "id" : "create_index_function", + "type" : 11 + }, { + "id" : "delete_index_function", + "type" : 11 + }, { + "id" : "query_indexes_function", + "type" : 11 + }, { + "id" : "query_constraints_function", + "type" : 11 + }, { + "id" : "create_constraint_function", + "type" : 11 + }, { + "id" : "drop_constraint_function", + "type" : 11 + }, { + "id" : "alter_field_attributes_function", + "type" : 11 + }, { + "id" : "alter_field_name_function", + "type" : 11 + }, { + "id" : "drop_field_function", + "type" : 11 + }, { + "id" : "new_field_function", + "type" : 11 + }, { + "id" : "count_by_partition_filter_function", + "type" : 11 + }, { + "id" : "stream_read_multi_connection_function", + "type" : 11 + }, { + "id" : "transaction_begin_function", + "type" : 11 + }, { + "id" : "transaction_commit_function", + "type" : 11 + }, { + "id" : "transaction_rollback_function", + "type" : 11 + }, { + "id" : "query_hash_by_advance_filter_function", + "type" : 11 + }, { + "id" : "get_stream_offset_function", + "type" : 11 + }, { + "id" : "export_event_sql_function", + "type" : 11 + }, { + "id" : "flush_offset_function", + "type" : 11 + }, { + "id" : "get_table_info_function", + "type" : 11 + }, { + "id" : "get_table_names_function", + "type" : 11 + }, { + "id" : "error_handle_function", + "type" : 11 + }, { + "id" : "execute_command_v2_function", + "type" : 11 + }, { + "alternatives" : [ "update_on_exists", "ignore_on_exists", "just_insert" ], + "id" : "dml_insert_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_on_nonexists", "insert_on_nonexists", "log_on_nonexists" ], + "id" : "dml_update_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_on_nonexists", "log_on_nonexists" ], + "id" : "dml_delete_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_all_check", "default_check" ], + "id" : "dml_check_policy", + "type" : 20 + }, { + "id" : "api_server_supported", + "type" : 20 + }, { + "id" : "source_support_exactly_once", + "type" : 20 + }, { + "id" : "batch_read_hash_split", + "type" : 20 + }, { + "id" : "source_support_partition", + "type" : 20 + } ], + "connectionName" : "QMH_PG_HPI_CPI_CASE", + "connectionTags" : [ "Database", "ssl", "doubleActive", "disableForeignKey", "NullsLast" ], + "connectionType" : "source_and_target", + "pdkHash" : "8dea069f269dd428d82e60e75d0d91b6dc61be7be26eae7bc407d7b95d3b0594", + "pdkType" : "pdk", + "position" : [ 21, 50 ] + }, + "catalog" : "data", + "compareIgnoreCase" : false, + "concurrentReadThreadNumber" : 0, + "connectionId" : "69cb8749bda877370a5ef787", + "databaseType" : "PostgreSQL", + "ddlConfiguration" : "FILTER", + "disabled" : false, + "elementType" : "Node", + "enableConcurrentRead" : false, + "existDataProcessMode" : "keepData", + "id" : "c29445df-9afa-46c1-a290-f7d91f81ad5d", + "ignoreMetrics" : false, + "increaseReadSize" : 1, + "incrementExactlyOnceEnableTimeWindowDay" : 3, + "isTransformed" : false, + "migrateTableSelectType" : "custom", + "name" : "QMH_PG_HPI_CPI_CASE", + "noPkSyncMode" : "ADD_HASH", + "noPrimaryKeyTableSelectType" : "HasKeys", + "nodeConfig" : { + "applyDefault" : false, + "autoIncCacheValue" : 100, + "autoIncJumpValue" : 1000000, + "batchReadThreadSize" : 4, + "closeNotNull" : false, + "createAutoInc" : false, + "enableFileInput" : false, + "hashSplit" : false, + "maxSplit" : 20, + "maximumQueueSize" : 8000, + "partitionRoot" : false, + "splitUpdatePk" : true + }, + "readBatchSize" : 100, + "syncForeignKeyEnable" : true, + "syncSourcePartitionTableEnable" : true, + "tableExpression" : ".*", + "tableNames" : [ "cpi_case" ], + "type" : "database", + "writeStrategy" : "updateOrInsert" + } ] + }, + "dataSaving" : true, + "deduceSchemaTask" : false, + "deduplicWriteMode" : "intelligent", + "desc" : "", + "doubleActive" : false, + "dynamicAdjustMemoryUsage" : false, + "emailReceivers" : [ ], + "enforceShareCdc" : true, + "fileLog" : false, + "id" : "69cb879fbda877370a5ef82f", + "increHysteresis" : false, + "increOperationMode" : false, + "increSyncConcurrency" : false, + "increaseReadSize" : 1, + "initialSyncTask" : true, + "isAutoCreateIndex" : true, + "isAutoInspect" : false, + "isEdit" : true, + "isFilter" : false, + "isOpenAutoDDL" : false, + "isSchedule" : false, + "isStopOnError" : true, + "listtags" : [ { + "id" : "69b8d4cf8dd5178824619d46", + "value" : "dmp fdm" + } ], + "name" : "QMH_HPI_CASE_TO_FDM", + "normalTask" : true, + "oldVersionTimezone" : false, + "planStartDateFlag" : false, + "preview" : false, + "previewTask" : false, + "processorThreadNum" : 1, + "reFullRun" : false, + "readBatchSize" : 500, + "restartFlag" : false, + "shareCache" : false, + "shareCdcEnable" : false, + "showInspectTips" : false, + "snapShotInterrupt" : false, + "status" : "edit", + "statuses" : [ ], + "syncPoints" : [ { + "connectionId" : "69cb8749bda877370a5ef787", + "connectionName" : "QMH_PG_HPI_CPI_CASE", + "isStreamOffset" : false, + "nodeId" : "c29445df-9afa-46c1-a290-f7d91f81ad5d", + "nodeName" : "QMH_PG_HPI_CPI_CASE", + "pointType" : "current", + "timeZone" : "+8" + } ], + "syncStatus" : "", + "syncType" : "migrate", + "testTask" : false, + "testUsingPreview" : false, + "transformDagHash" : 0, + "transformProcess" : 0.0, + "type" : "initial_sync+cdc", + "user_id" : "69c6449cb9dbbccec453fb5f", + "writeBatchSize" : 0, + "writeBatchWaitMs" : 0, + "writeThreadSize" : 8 + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "cpi_case", + "comment" : "", + "constraints" : [ ], + "createSource" : "job_analyze", + "createTime" : 1774946229021, + "createUser" : "cpicase-martin", + "databaseId" : "69cb874aa6fb9b4275db2150", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "character varying(6)", + "data_type" : "character varying(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "69cb8749bda877370a5ef787_cpi_case_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "character varying(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":6,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "character varying(24)", + "data_type" : "character varying(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "69cb8749bda877370a5ef787_cpi_case_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(24)", + "original_field_name" : "case_no", + "previousDataType" : "character varying(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":24,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "character varying(16)", + "data_type" : "character varying(16)", + "default_value" : null, + "field_name" : "patient_key", + "id" : "69cb8749bda877370a5ef787_cpi_case_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(16)", + "original_field_name" : "patient_key", + "previousDataType" : "character varying(16)", + "previousFieldName" : "patient_key", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":16,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "character varying(2)", + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "case_type", + "id" : "69cb8749bda877370a5ef787_cpi_case_case_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(2)", + "original_field_name" : "case_type", + "previousDataType" : "character varying(2)", + "previousFieldName" : "case_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "timestamp(6) without time zone", + "data_type" : "timestamp(6) without time zone", + "default_value" : null, + "field_name" : "admission_dtm", + "id" : "69cb8749bda877370a5ef787_cpi_case_admission_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "admission_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "admission_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "character varying(2)", + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "source_indicator", + "id" : "69cb8749bda877370a5ef787_cpi_case_source_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "source_indicator", + "previousDataType" : "character varying(2)", + "previousFieldName" : "source_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "character varying(6)", + "data_type" : "character varying(6)", + "default_value" : null, + "field_name" : "source_code", + "id" : "69cb8749bda877370a5ef787_cpi_case_source_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(6)", + "original_field_name" : "source_code", + "previousDataType" : "character varying(6)", + "previousFieldName" : "source_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":6,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "character varying(6)", + "data_type" : "character varying(6)", + "default_value" : null, + "field_name" : "patient_type", + "id" : "69cb8749bda877370a5ef787_cpi_case_patient_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(6)", + "original_field_name" : "patient_type", + "previousDataType" : "character varying(6)", + "previousFieldName" : "patient_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":6,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "character varying(2)", + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "discharge_code", + "id" : "69cb8749bda877370a5ef787_cpi_case_discharge_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "discharge_code", + "previousDataType" : "character varying(2)", + "previousFieldName" : "discharge_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "timestamp(6) without time zone", + "data_type" : "timestamp(6) without time zone", + "default_value" : null, + "field_name" : "discharge_dtm", + "id" : "69cb8749bda877370a5ef787_cpi_case_discharge_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "discharge_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "discharge_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "character varying(6)", + "data_type" : "character varying(6)", + "default_value" : null, + "field_name" : "destination_code", + "id" : "69cb8749bda877370a5ef787_cpi_case_destination_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(6)", + "original_field_name" : "destination_code", + "previousDataType" : "character varying(6)", + "previousFieldName" : "destination_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":6,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "character varying(8)", + "data_type" : "character varying(8)", + "default_value" : null, + "field_name" : "last_specialty", + "id" : "69cb8749bda877370a5ef787_cpi_case_last_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "last_specialty", + "previousDataType" : "character varying(8)", + "previousFieldName" : "last_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":8,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "createSource" : "auto", + "dataTypeTemp" : "character varying(8)", + "data_type" : "character varying(8)", + "default_value" : null, + "field_name" : "last_sub_specialty", + "id" : "69cb8749bda877370a5ef787_cpi_case_last_sub_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "last_sub_specialty", + "previousDataType" : "character varying(8)", + "previousFieldName" : "last_sub_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":8,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "createSource" : "auto", + "dataTypeTemp" : "character varying(8)", + "data_type" : "character varying(8)", + "default_value" : null, + "field_name" : "last_ward_code", + "id" : "69cb8749bda877370a5ef787_cpi_case_last_ward_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "last_ward_code", + "previousDataType" : "character varying(8)", + "previousFieldName" : "last_ward_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":8,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "createSource" : "auto", + "dataTypeTemp" : "character varying(2)", + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "last_ward_class", + "id" : "69cb8749bda877370a5ef787_cpi_case_last_ward_class", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "last_ward_class", + "previousDataType" : "character varying(2)", + "previousFieldName" : "last_ward_class", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "createSource" : "auto", + "dataTypeTemp" : "character varying(10)", + "data_type" : "character varying(10)", + "default_value" : null, + "field_name" : "last_bed_no", + "id" : "69cb8749bda877370a5ef787_cpi_case_last_bed_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "last_bed_no", + "previousDataType" : "character varying(10)", + "previousFieldName" : "last_bed_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":10,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "createSource" : "auto", + "dataTypeTemp" : "character varying(16)", + "data_type" : "character varying(16)", + "default_value" : null, + "field_name" : "pp_code", + "id" : "69cb8749bda877370a5ef787_cpi_case_pp_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(16)", + "original_field_name" : "pp_code", + "previousDataType" : "character varying(16)", + "previousFieldName" : "pp_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":16,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "createSource" : "auto", + "dataTypeTemp" : "integer", + "data_type" : "integer", + "default_value" : null, + "field_name" : "access_code", + "id" : "69cb8749bda877370a5ef787_cpi_case_access_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "integer", + "original_field_name" : "access_code", + "previousDataType" : "integer", + "previousFieldName" : "access_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "createSource" : "auto", + "dataTypeTemp" : "character varying(4)", + "data_type" : "character varying(4)", + "default_value" : null, + "field_name" : "status_code", + "id" : "69cb8749bda877370a5ef787_cpi_case_status_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(4)", + "original_field_name" : "status_code", + "previousDataType" : "character varying(4)", + "previousFieldName" : "status_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":4,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "createSource" : "auto", + "dataTypeTemp" : "character varying(24)", + "data_type" : "character varying(24)", + "default_value" : null, + "field_name" : "create_by", + "id" : "69cb8749bda877370a5ef787_cpi_case_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(24)", + "original_field_name" : "create_by", + "previousDataType" : "character varying(24)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":24,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "createSource" : "auto", + "dataTypeTemp" : "timestamp(6) without time zone", + "data_type" : "timestamp(6) without time zone", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "69cb8749bda877370a5ef787_cpi_case_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "create_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "createSource" : "auto", + "dataTypeTemp" : "character varying(24)", + "data_type" : "character varying(24)", + "default_value" : null, + "field_name" : "update_by", + "id" : "69cb8749bda877370a5ef787_cpi_case_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(24)", + "original_field_name" : "update_by", + "previousDataType" : "character varying(24)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":24,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 23, + "createSource" : "auto", + "dataTypeTemp" : "timestamp(6) without time zone", + "data_type" : "timestamp(6) without time zone", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "69cb8749bda877370a5ef787_cpi_case_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "update_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 24, + "createSource" : "auto", + "dataTypeTemp" : "timestamp(6) without time zone", + "data_type" : "timestamp(6) without time zone", + "default_value" : null, + "field_name" : "row_update_datetime", + "id" : "69cb8749bda877370a5ef787_cpi_case_row_update_datetime", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "row_update_datetime", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "row_update_datetime", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 25, + "createSource" : "auto", + "dataTypeTemp" : "integer", + "data_type" : "integer", + "default_value" : null, + "field_name" : "movement_count", + "id" : "69cb8749bda877370a5ef787_cpi_case_movement_count", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "integer", + "original_field_name" : "movement_count", + "previousDataType" : "integer", + "previousFieldName" : "movement_count", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 26, + "createSource" : "auto", + "dataTypeTemp" : "character varying(10)", + "data_type" : "character varying(10)", + "default_value" : null, + "field_name" : "district_code", + "id" : "69cb8749bda877370a5ef787_cpi_case_district_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "district_code", + "previousDataType" : "character varying(10)", + "previousFieldName" : "district_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":10,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 27, + "createSource" : "auto", + "dataTypeTemp" : "character varying(2)", + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "mrt_indicator", + "id" : "69cb8749bda877370a5ef787_cpi_case_mrt_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "mrt_indicator", + "previousDataType" : "character varying(2)", + "previousFieldName" : "mrt_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 28, + "createSource" : "auto", + "dataTypeTemp" : "character varying(2)", + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "document_flag", + "id" : "69cb8749bda877370a5ef787_cpi_case_document_flag", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "document_flag", + "previousDataType" : "character varying(2)", + "previousFieldName" : "document_flag", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : true, + "hasUpdateField" : false, + "id" : "69cb87b5a6fb9b4275db21cd", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_cpi_case_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "processor_node", + "name" : "FDM_QMH_HPI_cpi_case", + "nodeId" : "c5f8e33a-73b0-447b-8081-47aef42c3a65", + "original_name" : "FDM_QMH_HPI_cpi_case", + "partitionSet" : [ ], + "qualified_name" : "PN_c5f8e33a-73b0-447b-8081-47aef42c3a65_FDM_QMH_HPI_cpi_case", + "source" : { + "_id" : "69cb8749bda877370a5ef787", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "cpicase-martin", + "database_type" : "PostgreSQL", + "everLoadSchema" : true, + "id" : "69cb8749bda877370a5ef787", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "69c6449cb9dbbccec453fb5f", + "loadCount" : 1, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "QMH_PG_HPI_CPI_CASE", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "447a7cc3-88dd-48e1-8a7d-513d73a4efeb", + "status" : "ready", + "submit" : true, + "tableCount" : 3, + "table_filter" : "cpi_case", + "testTime" : 1774946138239, + "transformed" : true, + "user_id" : "69c6449cb9dbbccec453fb5f" + }, + "sourceType" : "VIRTUAL", + "taskId" : "69cb879fbda877370a5ef82f", + "transformUuid" : "1774946232816", + "user_id" : "69c6449cb9dbbccec453fb5f", + "username" : "cpicase-martin" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "cpi_case", + "comment" : "", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774946229023, + "createUser" : "cpicase-martin", + "databaseId" : "69549862aedd5fe4733b3966", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "columnSize" : 100, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "oriPrecision" : 100, + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "table_name" : "FDM_QMH_HPI_cpi_case", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "character varying(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(24)", + "original_field_name" : "case_no", + "previousDataType" : "character varying(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "patient_key", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(16)", + "original_field_name" : "patient_key", + "previousDataType" : "character varying(16)", + "previousFieldName" : "patient_key", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "case_type", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_case_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(2)", + "original_field_name" : "case_type", + "previousDataType" : "character varying(2)", + "previousFieldName" : "case_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "admission_dtm", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_admission_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "admission_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "admission_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "source_indicator", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_source_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "source_indicator", + "previousDataType" : "character varying(2)", + "previousFieldName" : "source_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "source_code", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_source_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(6)", + "original_field_name" : "source_code", + "previousDataType" : "character varying(6)", + "previousFieldName" : "source_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "patient_type", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_patient_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(6)", + "original_field_name" : "patient_type", + "previousDataType" : "character varying(6)", + "previousFieldName" : "patient_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "discharge_code", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_discharge_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "discharge_code", + "previousDataType" : "character varying(2)", + "previousFieldName" : "discharge_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "discharge_dtm", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_discharge_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "discharge_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "discharge_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "destination_code", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_destination_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(6)", + "original_field_name" : "destination_code", + "previousDataType" : "character varying(6)", + "previousFieldName" : "destination_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_specialty", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_last_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "last_specialty", + "previousDataType" : "character varying(8)", + "previousFieldName" : "last_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_sub_specialty", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_last_sub_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "last_sub_specialty", + "previousDataType" : "character varying(8)", + "previousFieldName" : "last_sub_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_ward_code", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_last_ward_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "last_ward_code", + "previousDataType" : "character varying(8)", + "previousFieldName" : "last_ward_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "last_ward_class", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_last_ward_class", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "last_ward_class", + "previousDataType" : "character varying(2)", + "previousFieldName" : "last_ward_class", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "last_bed_no", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_last_bed_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "last_bed_no", + "previousDataType" : "character varying(10)", + "previousFieldName" : "last_bed_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "pp_code", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_pp_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(16)", + "original_field_name" : "pp_code", + "previousDataType" : "character varying(16)", + "previousFieldName" : "pp_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "access_code", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_access_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "integer", + "original_field_name" : "access_code", + "previousDataType" : "integer", + "previousFieldName" : "access_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "createSource" : "auto", + "dataTypeTemp" : "STRING(4)", + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "status_code", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_status_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(4)", + "original_field_name" : "status_code", + "previousDataType" : "character varying(4)", + "previousFieldName" : "status_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(24)", + "original_field_name" : "create_by", + "previousDataType" : "character varying(24)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "create_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(24)", + "original_field_name" : "update_by", + "previousDataType" : "character varying(24)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 23, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "update_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 24, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "row_update_datetime", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_row_update_datetime", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "row_update_datetime", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "row_update_datetime", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 25, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "movement_count", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_movement_count", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "integer", + "original_field_name" : "movement_count", + "previousDataType" : "integer", + "previousFieldName" : "movement_count", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 26, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "district_code", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_district_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "district_code", + "previousDataType" : "character varying(10)", + "previousFieldName" : "district_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 27, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "mrt_indicator", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_mrt_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "mrt_indicator", + "previousDataType" : "character varying(2)", + "previousFieldName" : "mrt_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 28, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "document_flag", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_document_flag", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "document_flag", + "previousDataType" : "character varying(2)", + "previousFieldName" : "document_flag", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { + "access_code" : { + "dataTypes" : [ "DECIMAL128", "DOUBLE", "INT64", "INT32" ], + "lastMatchedDataType" : "DOUBLE" + }, + "admission_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "case_no" : { + "dataTypes" : [ "NULL", "STRING(24)" ], + "lastMatchedDataType" : "NULL" + }, + "case_type" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "NULL" + }, + "create_by" : { + "dataTypes" : [ "NULL", "STRING(24)" ], + "lastMatchedDataType" : "NULL" + }, + "create_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "destination_code" : { + "dataTypes" : [ "NULL", "STRING(6)" ], + "lastMatchedDataType" : "NULL" + }, + "discharge_code" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "NULL" + }, + "discharge_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "district_code" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "NULL" + }, + "document_flag" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "NULL" + }, + "hospital_code" : { + "dataTypes" : [ "NULL", "STRING(6)" ], + "lastMatchedDataType" : "NULL" + }, + "last_bed_no" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "NULL" + }, + "last_specialty" : { + "dataTypes" : [ "NULL", "STRING(8)" ], + "lastMatchedDataType" : "NULL" + }, + "last_sub_specialty" : { + "dataTypes" : [ "NULL", "STRING(8)" ], + "lastMatchedDataType" : "NULL" + }, + "last_ward_class" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "NULL" + }, + "last_ward_code" : { + "dataTypes" : [ "NULL", "STRING(8)" ], + "lastMatchedDataType" : "NULL" + }, + "movement_count" : { + "dataTypes" : [ "DECIMAL128", "DOUBLE", "INT64", "INT32" ], + "lastMatchedDataType" : "DOUBLE" + }, + "mrt_indicator" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "NULL" + }, + "patient_key" : { + "dataTypes" : [ "NULL", "STRING(16)" ], + "lastMatchedDataType" : "NULL" + }, + "patient_type" : { + "dataTypes" : [ "NULL", "STRING(6)" ], + "lastMatchedDataType" : "NULL" + }, + "pp_code" : { + "dataTypes" : [ "NULL", "STRING(16)" ], + "lastMatchedDataType" : "NULL" + }, + "row_update_datetime" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "source_code" : { + "dataTypes" : [ "NULL", "STRING(6)" ], + "lastMatchedDataType" : "NULL" + }, + "source_indicator" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "NULL" + }, + "status_code" : { + "dataTypes" : [ "NULL", "STRING(4)" ], + "lastMatchedDataType" : "NULL" + }, + "update_by" : { + "dataTypes" : [ "NULL", "STRING(24)" ], + "lastMatchedDataType" : "NULL" + }, + "update_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + } + }, + "hasPrimaryKey" : false, + "hasTransformEx" : true, + "hasUnionIndex" : true, + "hasUpdateField" : false, + "id" : "69cb87b5a6fb9b4275db21ce", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_cpi_case_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "table", + "name" : "FDM_QMH_HPI_cpi_case", + "nodeId" : "5ca6a1f3-9804-4b93-8b3f-bfe1553b5534", + "original_name" : "FDM_QMH_HPI_cpi_case", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_FDM_QMH_HPI_cpi_case_695497a235a6fa1717313957_69cb879fbda877370a5ef82f", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "5f5212c0-2fb9-4281-8ecb-72d883bd32b3", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504239647, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "VIRTUAL", + "tableAttr" : { + "avgObjSize" : 588, + "capped" : false, + "ns" : "FDM.FDM_QMH_HPI_cpi_case", + "shard" : { }, + "size" : 5806147, + "storageSize" : 4096 + }, + "taskId" : "69cb879fbda877370a5ef82f", + "transformUuid" : "1774946232816", + "user_id" : "69c6449cb9dbbccec453fb5f", + "username" : "cpicase-martin" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "cpi_case", + "comment" : "", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774946224262, + "createUser" : "cpicase-martin", + "databaseId" : "69cb874aa6fb9b4275db2150", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "character varying(6)", + "data_type" : "character varying(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "69cb8749bda877370a5ef787_cpi_case_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "character varying(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":6,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "character varying(24)", + "data_type" : "character varying(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "69cb8749bda877370a5ef787_cpi_case_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(24)", + "original_field_name" : "case_no", + "previousDataType" : "character varying(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":24,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "character varying(16)", + "data_type" : "character varying(16)", + "default_value" : null, + "field_name" : "patient_key", + "id" : "69cb8749bda877370a5ef787_cpi_case_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(16)", + "original_field_name" : "patient_key", + "previousDataType" : "character varying(16)", + "previousFieldName" : "patient_key", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":16,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "character varying(2)", + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "case_type", + "id" : "69cb8749bda877370a5ef787_cpi_case_case_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(2)", + "original_field_name" : "case_type", + "previousDataType" : "character varying(2)", + "previousFieldName" : "case_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "timestamp(6) without time zone", + "data_type" : "timestamp(6) without time zone", + "default_value" : null, + "field_name" : "admission_dtm", + "id" : "69cb8749bda877370a5ef787_cpi_case_admission_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "admission_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "admission_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "character varying(2)", + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "source_indicator", + "id" : "69cb8749bda877370a5ef787_cpi_case_source_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "source_indicator", + "previousDataType" : "character varying(2)", + "previousFieldName" : "source_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "character varying(6)", + "data_type" : "character varying(6)", + "default_value" : null, + "field_name" : "source_code", + "id" : "69cb8749bda877370a5ef787_cpi_case_source_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(6)", + "original_field_name" : "source_code", + "previousDataType" : "character varying(6)", + "previousFieldName" : "source_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":6,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "character varying(6)", + "data_type" : "character varying(6)", + "default_value" : null, + "field_name" : "patient_type", + "id" : "69cb8749bda877370a5ef787_cpi_case_patient_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(6)", + "original_field_name" : "patient_type", + "previousDataType" : "character varying(6)", + "previousFieldName" : "patient_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":6,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "character varying(2)", + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "discharge_code", + "id" : "69cb8749bda877370a5ef787_cpi_case_discharge_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "discharge_code", + "previousDataType" : "character varying(2)", + "previousFieldName" : "discharge_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "timestamp(6) without time zone", + "data_type" : "timestamp(6) without time zone", + "default_value" : null, + "field_name" : "discharge_dtm", + "id" : "69cb8749bda877370a5ef787_cpi_case_discharge_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "discharge_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "discharge_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "character varying(6)", + "data_type" : "character varying(6)", + "default_value" : null, + "field_name" : "destination_code", + "id" : "69cb8749bda877370a5ef787_cpi_case_destination_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(6)", + "original_field_name" : "destination_code", + "previousDataType" : "character varying(6)", + "previousFieldName" : "destination_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":6,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "character varying(8)", + "data_type" : "character varying(8)", + "default_value" : null, + "field_name" : "last_specialty", + "id" : "69cb8749bda877370a5ef787_cpi_case_last_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "last_specialty", + "previousDataType" : "character varying(8)", + "previousFieldName" : "last_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":8,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "createSource" : "auto", + "dataTypeTemp" : "character varying(8)", + "data_type" : "character varying(8)", + "default_value" : null, + "field_name" : "last_sub_specialty", + "id" : "69cb8749bda877370a5ef787_cpi_case_last_sub_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "last_sub_specialty", + "previousDataType" : "character varying(8)", + "previousFieldName" : "last_sub_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":8,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "createSource" : "auto", + "dataTypeTemp" : "character varying(8)", + "data_type" : "character varying(8)", + "default_value" : null, + "field_name" : "last_ward_code", + "id" : "69cb8749bda877370a5ef787_cpi_case_last_ward_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "last_ward_code", + "previousDataType" : "character varying(8)", + "previousFieldName" : "last_ward_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":8,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "createSource" : "auto", + "dataTypeTemp" : "character varying(2)", + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "last_ward_class", + "id" : "69cb8749bda877370a5ef787_cpi_case_last_ward_class", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "last_ward_class", + "previousDataType" : "character varying(2)", + "previousFieldName" : "last_ward_class", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "createSource" : "auto", + "dataTypeTemp" : "character varying(10)", + "data_type" : "character varying(10)", + "default_value" : null, + "field_name" : "last_bed_no", + "id" : "69cb8749bda877370a5ef787_cpi_case_last_bed_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "last_bed_no", + "previousDataType" : "character varying(10)", + "previousFieldName" : "last_bed_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":10,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "createSource" : "auto", + "dataTypeTemp" : "character varying(16)", + "data_type" : "character varying(16)", + "default_value" : null, + "field_name" : "pp_code", + "id" : "69cb8749bda877370a5ef787_cpi_case_pp_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(16)", + "original_field_name" : "pp_code", + "previousDataType" : "character varying(16)", + "previousFieldName" : "pp_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":16,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "createSource" : "auto", + "dataTypeTemp" : "integer", + "data_type" : "integer", + "default_value" : null, + "field_name" : "access_code", + "id" : "69cb8749bda877370a5ef787_cpi_case_access_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "integer", + "original_field_name" : "access_code", + "previousDataType" : "integer", + "previousFieldName" : "access_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "createSource" : "auto", + "dataTypeTemp" : "character varying(4)", + "data_type" : "character varying(4)", + "default_value" : null, + "field_name" : "status_code", + "id" : "69cb8749bda877370a5ef787_cpi_case_status_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(4)", + "original_field_name" : "status_code", + "previousDataType" : "character varying(4)", + "previousFieldName" : "status_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":4,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "createSource" : "auto", + "dataTypeTemp" : "character varying(24)", + "data_type" : "character varying(24)", + "default_value" : null, + "field_name" : "create_by", + "id" : "69cb8749bda877370a5ef787_cpi_case_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(24)", + "original_field_name" : "create_by", + "previousDataType" : "character varying(24)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":24,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "createSource" : "auto", + "dataTypeTemp" : "timestamp(6) without time zone", + "data_type" : "timestamp(6) without time zone", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "69cb8749bda877370a5ef787_cpi_case_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "create_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "createSource" : "auto", + "dataTypeTemp" : "character varying(24)", + "data_type" : "character varying(24)", + "default_value" : null, + "field_name" : "update_by", + "id" : "69cb8749bda877370a5ef787_cpi_case_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(24)", + "original_field_name" : "update_by", + "previousDataType" : "character varying(24)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":24,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 23, + "createSource" : "auto", + "dataTypeTemp" : "timestamp(6) without time zone", + "data_type" : "timestamp(6) without time zone", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "69cb8749bda877370a5ef787_cpi_case_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "update_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 24, + "createSource" : "auto", + "dataTypeTemp" : "timestamp(6) without time zone", + "data_type" : "timestamp(6) without time zone", + "default_value" : null, + "field_name" : "row_update_datetime", + "id" : "69cb8749bda877370a5ef787_cpi_case_row_update_datetime", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "row_update_datetime", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "row_update_datetime", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 25, + "createSource" : "auto", + "dataTypeTemp" : "integer", + "data_type" : "integer", + "default_value" : null, + "field_name" : "movement_count", + "id" : "69cb8749bda877370a5ef787_cpi_case_movement_count", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "integer", + "original_field_name" : "movement_count", + "previousDataType" : "integer", + "previousFieldName" : "movement_count", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 26, + "createSource" : "auto", + "dataTypeTemp" : "character varying(10)", + "data_type" : "character varying(10)", + "default_value" : null, + "field_name" : "district_code", + "id" : "69cb8749bda877370a5ef787_cpi_case_district_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "district_code", + "previousDataType" : "character varying(10)", + "previousFieldName" : "district_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":10,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 27, + "createSource" : "auto", + "dataTypeTemp" : "character varying(2)", + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "mrt_indicator", + "id" : "69cb8749bda877370a5ef787_cpi_case_mrt_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "mrt_indicator", + "previousDataType" : "character varying(2)", + "previousFieldName" : "mrt_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 28, + "createSource" : "auto", + "dataTypeTemp" : "character varying(2)", + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "document_flag", + "id" : "69cb8749bda877370a5ef787_cpi_case_document_flag", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "document_flag", + "previousDataType" : "character varying(2)", + "previousFieldName" : "document_flag", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : true, + "hasUpdateField" : false, + "id" : "69cb87b0a6fb9b4275db21c7", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_cpi_case_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "table", + "name" : "cpi_case", + "nodeId" : "c29445df-9afa-46c1-a290-f7d91f81ad5d", + "original_name" : "cpi_case", + "partitionSet" : [ ], + "qualified_name" : "T_postgres_io_tapdata_1_0-SNAPSHOT_cpi_case_69cb8749bda877370a5ef787_69cb879fbda877370a5ef82f", + "source" : { + "_id" : "69cb8749bda877370a5ef787", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "cpicase-martin", + "database_type" : "PostgreSQL", + "everLoadSchema" : true, + "id" : "69cb8749bda877370a5ef787", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "69c6449cb9dbbccec453fb5f", + "loadCount" : 1, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "QMH_PG_HPI_CPI_CASE", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "447a7cc3-88dd-48e1-8a7d-513d73a4efeb", + "status" : "ready", + "submit" : true, + "tableCount" : 3, + "table_filter" : "cpi_case", + "testTime" : 1774946138239, + "transformed" : true, + "user_id" : "69c6449cb9dbbccec453fb5f" + }, + "sourceType" : "VIRTUAL", + "taskId" : "69cb879fbda877370a5ef82f", + "transformUuid" : "1774946232816", + "user_id" : "69c6449cb9dbbccec453fb5f", + "username" : "cpicase-martin" + } +} ] \ No newline at end of file diff --git a/case-team_tapdata_export/Task/TMH_CMS_TO_FDM_MigrateTask.json b/case-team_tapdata_export/Task/TMH_CMS_TO_FDM_MigrateTask.json new file mode 100644 index 0000000..7501725 --- /dev/null +++ b/case-team_tapdata_export/Task/TMH_CMS_TO_FDM_MigrateTask.json @@ -0,0 +1,2484 @@ +[ { + "collectionName" : "Task", + "json" : { + "_deleted" : false, + "accessNodeProcessId" : "", + "accessNodeProcessIdList" : [ ], + "accessNodeType" : "AUTOMATIC_PLATFORM_ALLOCATION", + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "TASK_INCREMENT_DELAY", + "ms" : 60000, + "point" : 60, + "times" : 0 + }, { + "equalsFlag" : 0, + "key" : "TASK_RETRY_WARN", + "ms" : 0, + "point" : 0, + "times" : 10 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "TASK_STATUS_ERROR", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 1, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_FULL_COMPLETE", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 3, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_INCREMENT_START", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 4, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_INCREMENT_DELAY", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 6, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_INSPECT_DIFFERENCE", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 1, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_RETRY_WARN", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 4, + "type" : "TASK", + "unit" : "SECOND" + } ], + "attrs" : { }, + "autoIncrementalBatchSize" : true, + "autoInspect" : false, + "blankLog" : false, + "canOpenInspect" : false, + "cdctask" : false, + "createTime" : 1774946283097, + "createUser" : "cpicase-martin", + "crontabExpressionFlag" : false, + "dag" : { + "edges" : [ { + "disabled" : false, + "source" : "1bceb1e1-6247-4037-95c5-a25b57573dcb", + "target" : "681c0efe-c697-42c2-8b5e-c26be74d99b4" + }, { + "disabled" : false, + "id" : "3bbd876b-ad37-4da0-a011-587441a88fb5", + "source" : "681c0efe-c697-42c2-8b5e-c26be74d99b4", + "target" : "03bfcea2-ef95-4cf2-9e39-9b8f3dab496b" + } ], + "nodes" : [ { + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "DATANODE_AVERAGE_HANDLE_CONSUME", + "ms" : 5000, + "point" : 12, + "times" : 0 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "DATANODE_AVERAGE_HANDLE_CONSUME", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 4, + "type" : "DATANODE", + "unit" : "SECOND" + } ], + "applyCompareRule" : false, + "attrs" : { + "accessNodeProcessId" : "", + "accessNodeType" : "AUTOMATIC_PLATFORM_ALLOCATION", + "capabilities" : [ { + "id" : "count_raw_command_function", + "type" : 11 + }, { + "id" : "run_raw_command_function", + "type" : 11 + }, { + "id" : "execute_command_function", + "type" : 11 + }, { + "id" : "release_external_function", + "type" : 11 + }, { + "id" : "batch_read_function", + "type" : 11 + }, { + "id" : "stream_read_function", + "type" : 11 + }, { + "id" : "batch_count_function", + "type" : 11 + }, { + "id" : "timestamp_to_stream_offset_function", + "type" : 11 + }, { + "id" : "write_record_function", + "type" : 11 + }, { + "id" : "after_initial_sync_function", + "type" : 11 + }, { + "id" : "query_by_filter_function", + "type" : 11 + }, { + "id" : "query_by_advance_filter_function", + "type" : 11 + }, { + "id" : "create_table_v2_function", + "type" : 11 + }, { + "id" : "clear_table_function", + "type" : 11 + }, { + "id" : "drop_table_function", + "type" : 11 + }, { + "id" : "create_index_function", + "type" : 11 + }, { + "id" : "delete_index_function", + "type" : 11 + }, { + "id" : "query_indexes_function", + "type" : 11 + }, { + "id" : "query_constraints_function", + "type" : 11 + }, { + "id" : "create_constraint_function", + "type" : 11 + }, { + "id" : "drop_constraint_function", + "type" : 11 + }, { + "id" : "alter_field_attributes_function", + "type" : 11 + }, { + "id" : "alter_field_name_function", + "type" : 11 + }, { + "id" : "drop_field_function", + "type" : 11 + }, { + "id" : "new_field_function", + "type" : 11 + }, { + "id" : "count_by_partition_filter_function", + "type" : 11 + }, { + "id" : "stream_read_multi_connection_function", + "type" : 11 + }, { + "id" : "transaction_begin_function", + "type" : 11 + }, { + "id" : "transaction_commit_function", + "type" : 11 + }, { + "id" : "transaction_rollback_function", + "type" : 11 + }, { + "id" : "query_hash_by_advance_filter_function", + "type" : 11 + }, { + "id" : "get_stream_offset_function", + "type" : 11 + }, { + "id" : "export_event_sql_function", + "type" : 11 + }, { + "id" : "flush_offset_function", + "type" : 11 + }, { + "id" : "get_table_info_function", + "type" : 11 + }, { + "id" : "get_table_names_function", + "type" : 11 + }, { + "id" : "error_handle_function", + "type" : 11 + }, { + "id" : "execute_command_v2_function", + "type" : 11 + }, { + "alternatives" : [ "update_on_exists", "ignore_on_exists", "just_insert" ], + "id" : "dml_insert_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_on_nonexists", "insert_on_nonexists", "log_on_nonexists" ], + "id" : "dml_update_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_on_nonexists", "log_on_nonexists" ], + "id" : "dml_delete_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_all_check", "default_check" ], + "id" : "dml_check_policy", + "type" : 20 + }, { + "id" : "api_server_supported", + "type" : 20 + }, { + "id" : "source_support_exactly_once", + "type" : 20 + }, { + "id" : "batch_read_hash_split", + "type" : 20 + }, { + "id" : "source_support_partition", + "type" : 20 + } ], + "connectionName" : "TMH_PG_CMS", + "connectionTags" : [ "Database", "ssl", "doubleActive", "disableForeignKey", "NullsLast" ], + "connectionType" : "source_and_target", + "pdkHash" : "8dea069f269dd428d82e60e75d0d91b6dc61be7be26eae7bc407d7b95d3b0594", + "pdkType" : "pdk", + "position" : [ 59.5, 50 ] + }, + "catalog" : "data", + "compareIgnoreCase" : false, + "concurrentReadThreadNumber" : 0, + "connectionId" : "69b8f8c08dd517882461dbbb", + "databaseType" : "PostgreSQL", + "ddlConfiguration" : "FILTER", + "disabled" : false, + "elementType" : "Node", + "enableConcurrentRead" : false, + "existDataProcessMode" : "keepData", + "id" : "1bceb1e1-6247-4037-95c5-a25b57573dcb", + "ignoreMetrics" : false, + "increaseReadSize" : 1, + "incrementExactlyOnceEnableTimeWindowDay" : 3, + "isTransformed" : false, + "migrateTableSelectType" : "custom", + "name" : "TMH_PG_CMS", + "noPkSyncMode" : "ADD_HASH", + "noPrimaryKeyTableSelectType" : "HasKeys", + "nodeConfig" : { + "applyDefault" : false, + "autoIncCacheValue" : 100, + "autoIncJumpValue" : 1000000, + "batchReadThreadSize" : 4, + "closeNotNull" : false, + "createAutoInc" : false, + "enableFileInput" : false, + "hashSplit" : false, + "maxSplit" : 20, + "maximumQueueSize" : 8000, + "partitionRoot" : false, + "splitUpdatePk" : true + }, + "readBatchSize" : 100, + "syncForeignKeyEnable" : true, + "syncSourcePartitionTableEnable" : true, + "tableExpression" : ".*", + "tableNames" : [ "discharge_information" ], + "type" : "database", + "writeStrategy" : "updateOrInsert" + }, { + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "PROCESSNODE_AVERAGE_HANDLE_CONSUME", + "ms" : 30000, + "point" : 60, + "times" : 0 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "PROCESSNODE_AVERAGE_HANDLE_CONSUME", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 1, + "type" : "PROCESSNODE", + "unit" : "SECOND" + } ], + "attrs" : { + "capabilities" : [ ], + "position" : [ 330, 50 ] + }, + "catalog" : "processor", + "concurrentNum" : 2, + "disabled" : false, + "elementType" : "Node", + "id" : "681c0efe-c697-42c2-8b5e-c26be74d99b4", + "isTransformed" : false, + "name" : "表编辑", + "prefix" : "FDM_TMH_CMSIP_", + "replaceAfter" : "", + "suffix" : "", + "tableNames" : [ ], + "transferCase" : "", + "type" : "table_rename_processor" + }, { + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "DATANODE_AVERAGE_HANDLE_CONSUME", + "ms" : 5000, + "point" : 12, + "times" : 0 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "DATANODE_AVERAGE_HANDLE_CONSUME", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 4, + "type" : "DATANODE", + "unit" : "SECOND" + } ], + "applyCompareRule" : false, + "attrs" : { + "accessNodeProcessId" : "", + "accessNodeType" : "AUTOMATIC_PLATFORM_ALLOCATION", + "capabilities" : [ { + "id" : "source_incremental_update_event_have_before", + "type" : 20 + }, { + "id" : "execute_command_function", + "type" : 11 + }, { + "id" : "batch_read_function", + "type" : 11 + }, { + "id" : "stream_read_function", + "type" : 11 + }, { + "id" : "batch_count_function", + "type" : 11 + }, { + "id" : "timestamp_to_stream_offset_function", + "type" : 11 + }, { + "id" : "write_record_function", + "type" : 11 + }, { + "id" : "query_by_advance_filter_function", + "type" : 11 + }, { + "id" : "create_table_v2_function", + "type" : 11 + }, { + "id" : "drop_table_function", + "type" : 11 + }, { + "id" : "create_index_function", + "type" : 11 + }, { + "id" : "query_indexes_function", + "type" : 11 + }, { + "id" : "count_by_partition_filter_function", + "type" : 11 + }, { + "id" : "get_read_partitions_function", + "type" : 11 + }, { + "id" : "query_field_min_max_value_function", + "type" : 11 + }, { + "id" : "transaction_begin_function", + "type" : 11 + }, { + "id" : "transaction_commit_function", + "type" : 11 + }, { + "id" : "transaction_rollback_function", + "type" : 11 + }, { + "id" : "get_table_info_function", + "type" : 11 + }, { + "id" : "get_table_names_function", + "type" : 11 + }, { + "id" : "error_handle_function", + "type" : 11 + }, { + "id" : "master_slave_merge", + "type" : 20 + }, { + "id" : "dynamic_schema", + "type" : 20 + }, { + "alternatives" : [ "update_on_exists", "ignore_on_exists", "just_insert" ], + "id" : "dml_insert_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_on_nonexists", "insert_on_nonexists", "log_on_nonexists" ], + "id" : "dml_update_policy", + "type" : 20 + }, { + "id" : "api_server_supported", + "type" : 20 + }, { + "id" : "source_support_exactly_once", + "type" : 20 + } ], + "connectionName" : "FDM", + "connectionTags" : [ "schema-free", "Database", "doubleActive" ], + "connectionType" : "source_and_target", + "db_version" : "8.0.9", + "pdkHash" : "4335aaa005ec1a74a4e2166bded2962e939ad50239f48b023b884f35b54129a5", + "pdkType" : "pdk", + "position" : [ 610, 50 ] + }, + "catalog" : "data", + "compareIgnoreCase" : false, + "concurrentReadThreadNumber" : 0, + "connectionId" : "695497a235a6fa1717313957", + "databaseType" : "MongoDB", + "disabled" : false, + "dmlPolicy" : { + "insertPolicy" : "update_on_exists", + "updatePolicy" : "ignore_on_nonexists" + }, + "elementType" : "Node", + "enableConcurrentRead" : false, + "existDataProcessMode" : "dropTable", + "id" : "03bfcea2-ef95-4cf2-9e39-9b8f3dab496b", + "ignoreMetrics" : false, + "increaseReadSize" : 1, + "incrementExactlyOnceEnable" : false, + "incrementExactlyOnceEnableTimeWindowDay" : 3, + "isTransformed" : false, + "migrateTableSelectType" : "custom", + "name" : "FDM", + "noPkSyncMode" : "ADD_HASH", + "nodeConfig" : { + "enableSaveDeleteData" : false, + "preImage4Sink" : false, + "shardCollection" : false, + "syncIndex" : false, + "timeSeriesCollection" : false, + "writeConcern" : "w1" + }, + "readBatchSize" : 500, + "syncForeignKeyEnable" : true, + "syncObjects" : [ { + "objectNames" : [ "FDM_TMH_CMSIP_discharge_information" ], + "tableNameRelation" : { + "discharge_information" : "FDM_TMH_CMSIP_discharge_information" + }, + "type" : "table" + } ], + "type" : "database", + "uniqueIndexEnable" : true, + "updateConditionFieldMap" : { }, + "writeBatchSize" : 100, + "writeBatchWaitMs" : 500, + "writeStrategy" : "updateOrInsert" + } ] + }, + "dataSaving" : true, + "deduceSchemaTask" : false, + "deduplicWriteMode" : "intelligent", + "desc" : "", + "doubleActive" : false, + "dynamicAdjustMemoryUsage" : false, + "emailReceivers" : [ ], + "enforceShareCdc" : true, + "fileLog" : false, + "id" : "69cb87ebbda877370a5ef917", + "increHysteresis" : false, + "increOperationMode" : false, + "increSyncConcurrency" : false, + "increaseReadSize" : 1, + "initialSyncTask" : true, + "isAutoCreateIndex" : true, + "isAutoInspect" : false, + "isEdit" : true, + "isFilter" : false, + "isOpenAutoDDL" : false, + "isSchedule" : false, + "isStopOnError" : true, + "listtags" : [ { + "id" : "69b8d4cf8dd5178824619d46", + "value" : "dmp fdm" + } ], + "name" : "TMH_CMS_TO_FDM", + "normalTask" : true, + "oldVersionTimezone" : false, + "planStartDateFlag" : false, + "preview" : false, + "previewTask" : false, + "processorThreadNum" : 1, + "reFullRun" : false, + "readBatchSize" : 500, + "restartFlag" : false, + "shareCache" : false, + "shareCdcEnable" : false, + "showInspectTips" : false, + "snapShotInterrupt" : false, + "status" : "edit", + "statuses" : [ ], + "syncPoints" : [ { + "connectionId" : "69b8f8c08dd517882461dbbb", + "connectionName" : "TMH_PG_CMS", + "isStreamOffset" : false, + "nodeId" : "1bceb1e1-6247-4037-95c5-a25b57573dcb", + "nodeName" : "TMH_PG_CMS", + "pointType" : "current", + "timeZone" : "+8" + } ], + "syncStatus" : "", + "syncType" : "migrate", + "testTask" : false, + "testUsingPreview" : false, + "transformDagHash" : 0, + "transformProcess" : 0.0, + "type" : "initial_sync+cdc", + "user_id" : "69c6449cb9dbbccec453fb5f", + "writeBatchSize" : 0, + "writeBatchWaitMs" : 0, + "writeThreadSize" : 8 + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "discharge_information", + "comment" : "", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774946297819, + "createUser" : "cpicase-martin", + "databaseId" : "69b8f8c17e25a691d411863d", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "character(6)", + "data_type" : "character(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "character(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":6,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "character(24)", + "data_type" : "character(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character(24)", + "original_field_name" : "case_no", + "previousDataType" : "character(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":24,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "character(8)", + "data_type" : "character(8)", + "default_value" : null, + "field_name" : "specialty", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character(8)", + "original_field_name" : "specialty", + "previousDataType" : "character(8)", + "previousFieldName" : "specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":8,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "character varying(12)", + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "ho_id", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_ho_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "ho_id", + "previousDataType" : "character varying(12)", + "previousFieldName" : "ho_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "character varying(12)", + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "mo_in_charge_id", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_mo_in_charge_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(12)", + "original_field_name" : "mo_in_charge_id", + "previousDataType" : "character varying(12)", + "previousFieldName" : "mo_in_charge_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "character varying(12)", + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "create_by", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(12)", + "original_field_name" : "create_by", + "previousDataType" : "character varying(12)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "timestamp without time zone", + "data_type" : "timestamp without time zone", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "create_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "character varying(12)", + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "update_by", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "update_by", + "previousDataType" : "character varying(12)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "timestamp without time zone", + "data_type" : "timestamp without time zone", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "update_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "character varying(12)", + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "specialist_ic", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_specialist_ic", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(12)", + "original_field_name" : "specialist_ic", + "previousDataType" : "character varying(12)", + "previousFieldName" : "specialist_ic", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "integer", + "data_type" : "integer", + "default_value" : null, + "field_name" : "admit_mode", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_admit_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "integer", + "original_field_name" : "admit_mode", + "previousDataType" : "integer", + "previousFieldName" : "admit_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "character(5)", + "data_type" : "character(5)", + "default_value" : null, + "field_name" : "admit_team", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_admit_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(5)", + "original_field_name" : "admit_team", + "previousDataType" : "character(5)", + "previousFieldName" : "admit_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":5,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "createSource" : "auto", + "dataTypeTemp" : "character varying(12)", + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "admit_physician", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_admit_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "admit_physician", + "previousDataType" : "character varying(12)", + "previousFieldName" : "admit_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "createSource" : "auto", + "dataTypeTemp" : "character varying(12)", + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "admit_doctor", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_admit_doctor", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "admit_doctor", + "previousDataType" : "character varying(12)", + "previousFieldName" : "admit_doctor", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "createSource" : "auto", + "dataTypeTemp" : "timestamp without time zone", + "data_type" : "timestamp without time zone", + "default_value" : null, + "field_name" : "expected_discharge_date", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_expected_discharge_date", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "expected_discharge_date", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "expected_discharge_date", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "createSource" : "auto", + "dataTypeTemp" : "character(1)", + "data_type" : "character(1)", + "default_value" : null, + "field_name" : "discharge_mode", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_discharge_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(1)", + "original_field_name" : "discharge_mode", + "previousDataType" : "character(1)", + "previousFieldName" : "discharge_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":1,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "createSource" : "auto", + "dataTypeTemp" : "character(5)", + "data_type" : "character(5)", + "default_value" : null, + "field_name" : "discharge_destination", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_discharge_destination", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(5)", + "original_field_name" : "discharge_destination", + "previousDataType" : "character(5)", + "previousFieldName" : "discharge_destination", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":5,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "createSource" : "auto", + "dataTypeTemp" : "character(5)", + "data_type" : "character(5)", + "default_value" : null, + "field_name" : "discharge_team", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_discharge_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(5)", + "original_field_name" : "discharge_team", + "previousDataType" : "character(5)", + "previousFieldName" : "discharge_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":5,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "createSource" : "auto", + "dataTypeTemp" : "character varying(12)", + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "discharge_physician", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_discharge_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "discharge_physician", + "previousDataType" : "character varying(12)", + "previousFieldName" : "discharge_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "createSource" : "auto", + "dataTypeTemp" : "bytea", + "data_type" : "bytea", + "default_value" : null, + "field_name" : "timestamp", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_timestamp", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "bytea", + "original_field_name" : "timestamp", + "previousDataType" : "bytea", + "previousFieldName" : "timestamp", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "bytea", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":4294967295,\"type\":9}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "createSource" : "auto", + "dataTypeTemp" : "timestamp without time zone", + "data_type" : "timestamp without time zone", + "default_value" : null, + "field_name" : "sick_leave_from_dtm", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_sick_leave_from_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "sick_leave_from_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "sick_leave_from_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "createSource" : "auto", + "dataTypeTemp" : "timestamp without time zone", + "data_type" : "timestamp without time zone", + "default_value" : null, + "field_name" : "sick_leave_to_dtm", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_sick_leave_to_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "sick_leave_to_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "sick_leave_to_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : true, + "hasUpdateField" : false, + "id" : "69cb87f9a6fb9b4275db2222", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_discharge_information_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "table", + "name" : "discharge_information", + "nodeId" : "1bceb1e1-6247-4037-95c5-a25b57573dcb", + "original_name" : "discharge_information", + "partitionSet" : [ ], + "qualified_name" : "T_postgres_io_tapdata_1_0-SNAPSHOT_discharge_information_69b8f8c08dd517882461dbbb_69cb87ebbda877370a5ef917", + "source" : { + "_id" : "69b8f8c08dd517882461dbbb", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "PostgreSQL", + "everLoadSchema" : true, + "id" : "69b8f8c08dd517882461dbbb", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 1, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "TMH_PG_CMS", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "cb246fc0-4509-4c0c-891f-9468eb2e950b", + "status" : "ready", + "submit" : true, + "tableCount" : 1, + "testTime" : 1774504222405, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "VIRTUAL", + "taskId" : "69cb87ebbda877370a5ef917", + "transformUuid" : "1774946304605", + "user_id" : "69c6449cb9dbbccec453fb5f", + "username" : "cpicase-martin" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "discharge_information", + "comment" : "", + "constraints" : [ ], + "createSource" : "job_analyze", + "createTime" : 1774946302340, + "createUser" : "cpicase-martin", + "databaseId" : "69b8f8c17e25a691d411863d", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "character(6)", + "data_type" : "character(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "character(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":6,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "character(24)", + "data_type" : "character(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character(24)", + "original_field_name" : "case_no", + "previousDataType" : "character(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":24,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "character(8)", + "data_type" : "character(8)", + "default_value" : null, + "field_name" : "specialty", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character(8)", + "original_field_name" : "specialty", + "previousDataType" : "character(8)", + "previousFieldName" : "specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":8,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "character varying(12)", + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "ho_id", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_ho_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "ho_id", + "previousDataType" : "character varying(12)", + "previousFieldName" : "ho_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "character varying(12)", + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "mo_in_charge_id", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_mo_in_charge_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(12)", + "original_field_name" : "mo_in_charge_id", + "previousDataType" : "character varying(12)", + "previousFieldName" : "mo_in_charge_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "character varying(12)", + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "create_by", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(12)", + "original_field_name" : "create_by", + "previousDataType" : "character varying(12)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "timestamp without time zone", + "data_type" : "timestamp without time zone", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "create_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "character varying(12)", + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "update_by", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "update_by", + "previousDataType" : "character varying(12)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "timestamp without time zone", + "data_type" : "timestamp without time zone", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "update_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "character varying(12)", + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "specialist_ic", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_specialist_ic", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(12)", + "original_field_name" : "specialist_ic", + "previousDataType" : "character varying(12)", + "previousFieldName" : "specialist_ic", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "integer", + "data_type" : "integer", + "default_value" : null, + "field_name" : "admit_mode", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_admit_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "integer", + "original_field_name" : "admit_mode", + "previousDataType" : "integer", + "previousFieldName" : "admit_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "character(5)", + "data_type" : "character(5)", + "default_value" : null, + "field_name" : "admit_team", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_admit_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(5)", + "original_field_name" : "admit_team", + "previousDataType" : "character(5)", + "previousFieldName" : "admit_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":5,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "createSource" : "auto", + "dataTypeTemp" : "character varying(12)", + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "admit_physician", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_admit_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "admit_physician", + "previousDataType" : "character varying(12)", + "previousFieldName" : "admit_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "createSource" : "auto", + "dataTypeTemp" : "character varying(12)", + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "admit_doctor", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_admit_doctor", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "admit_doctor", + "previousDataType" : "character varying(12)", + "previousFieldName" : "admit_doctor", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "createSource" : "auto", + "dataTypeTemp" : "timestamp without time zone", + "data_type" : "timestamp without time zone", + "default_value" : null, + "field_name" : "expected_discharge_date", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_expected_discharge_date", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "expected_discharge_date", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "expected_discharge_date", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "createSource" : "auto", + "dataTypeTemp" : "character(1)", + "data_type" : "character(1)", + "default_value" : null, + "field_name" : "discharge_mode", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_discharge_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(1)", + "original_field_name" : "discharge_mode", + "previousDataType" : "character(1)", + "previousFieldName" : "discharge_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":1,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "createSource" : "auto", + "dataTypeTemp" : "character(5)", + "data_type" : "character(5)", + "default_value" : null, + "field_name" : "discharge_destination", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_discharge_destination", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(5)", + "original_field_name" : "discharge_destination", + "previousDataType" : "character(5)", + "previousFieldName" : "discharge_destination", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":5,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "createSource" : "auto", + "dataTypeTemp" : "character(5)", + "data_type" : "character(5)", + "default_value" : null, + "field_name" : "discharge_team", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_discharge_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(5)", + "original_field_name" : "discharge_team", + "previousDataType" : "character(5)", + "previousFieldName" : "discharge_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":5,\"fixed\":true,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "createSource" : "auto", + "dataTypeTemp" : "character varying(12)", + "data_type" : "character varying(12)", + "default_value" : null, + "field_name" : "discharge_physician", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_discharge_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "discharge_physician", + "previousDataType" : "character varying(12)", + "previousFieldName" : "discharge_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":12,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "createSource" : "auto", + "dataTypeTemp" : "bytea", + "data_type" : "bytea", + "default_value" : null, + "field_name" : "timestamp", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_timestamp", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "bytea", + "original_field_name" : "timestamp", + "previousDataType" : "bytea", + "previousFieldName" : "timestamp", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "bytea", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":4294967295,\"type\":9}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "createSource" : "auto", + "dataTypeTemp" : "timestamp without time zone", + "data_type" : "timestamp without time zone", + "default_value" : null, + "field_name" : "sick_leave_from_dtm", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_sick_leave_from_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "sick_leave_from_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "sick_leave_from_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "createSource" : "auto", + "dataTypeTemp" : "timestamp without time zone", + "data_type" : "timestamp without time zone", + "default_value" : null, + "field_name" : "sick_leave_to_dtm", + "id" : "69b8f8c08dd517882461dbbb_discharge_information_sick_leave_to_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "sick_leave_to_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "sick_leave_to_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : true, + "hasUpdateField" : false, + "id" : "69cb87fea6fb9b4275db2226", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_discharge_information_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "processor_node", + "name" : "FDM_TMH_CMSIP_discharge_information", + "nodeId" : "681c0efe-c697-42c2-8b5e-c26be74d99b4", + "original_name" : "FDM_TMH_CMSIP_discharge_information", + "partitionSet" : [ ], + "qualified_name" : "PN_681c0efe-c697-42c2-8b5e-c26be74d99b4_FDM_TMH_CMSIP_discharge_information", + "source" : { + "_id" : "69b8f8c08dd517882461dbbb", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "PostgreSQL", + "everLoadSchema" : true, + "id" : "69b8f8c08dd517882461dbbb", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 1, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "TMH_PG_CMS", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "cb246fc0-4509-4c0c-891f-9468eb2e950b", + "status" : "ready", + "submit" : true, + "tableCount" : 1, + "testTime" : 1774504222405, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "VIRTUAL", + "taskId" : "69cb87ebbda877370a5ef917", + "transformUuid" : "1774946304605", + "user_id" : "69c6449cb9dbbccec453fb5f", + "username" : "cpicase-martin" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "discharge_information", + "comment" : "", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774946302341, + "createUser" : "cpicase-martin", + "databaseId" : "69549862aedd5fe4733b3966", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "columnSize" : 100, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "oriPrecision" : 100, + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "table_name" : "FDM_TMH_CMSIP_discharge_information", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "character(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character(24)", + "original_field_name" : "case_no", + "previousDataType" : "character(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "specialty", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character(8)", + "original_field_name" : "specialty", + "previousDataType" : "character(8)", + "previousFieldName" : "specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "ho_id", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_ho_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "ho_id", + "previousDataType" : "character varying(12)", + "previousFieldName" : "ho_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "mo_in_charge_id", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_mo_in_charge_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(12)", + "original_field_name" : "mo_in_charge_id", + "previousDataType" : "character varying(12)", + "previousFieldName" : "mo_in_charge_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(12)", + "original_field_name" : "create_by", + "previousDataType" : "character varying(12)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "create_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "update_by", + "previousDataType" : "character varying(12)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "update_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "specialist_ic", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_specialist_ic", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(12)", + "original_field_name" : "specialist_ic", + "previousDataType" : "character varying(12)", + "previousFieldName" : "specialist_ic", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "admit_mode", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_admit_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "integer", + "original_field_name" : "admit_mode", + "previousDataType" : "integer", + "previousFieldName" : "admit_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "STRING(5)", + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "admit_team", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_admit_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(5)", + "original_field_name" : "admit_team", + "previousDataType" : "character(5)", + "previousFieldName" : "admit_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "admit_physician", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_admit_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "admit_physician", + "previousDataType" : "character varying(12)", + "previousFieldName" : "admit_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "admit_doctor", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_admit_doctor", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "admit_doctor", + "previousDataType" : "character varying(12)", + "previousFieldName" : "admit_doctor", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "expected_discharge_date", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_expected_discharge_date", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "expected_discharge_date", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "expected_discharge_date", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "createSource" : "auto", + "dataTypeTemp" : "STRING(1)", + "data_type" : "STRING(1)", + "default_value" : null, + "field_name" : "discharge_mode", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_discharge_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(1)", + "original_field_name" : "discharge_mode", + "previousDataType" : "character(1)", + "previousFieldName" : "discharge_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":1,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "createSource" : "auto", + "dataTypeTemp" : "STRING(5)", + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "discharge_destination", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_discharge_destination", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(5)", + "original_field_name" : "discharge_destination", + "previousDataType" : "character(5)", + "previousFieldName" : "discharge_destination", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "createSource" : "auto", + "dataTypeTemp" : "STRING(5)", + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "discharge_team", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_discharge_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character(5)", + "original_field_name" : "discharge_team", + "previousDataType" : "character(5)", + "previousFieldName" : "discharge_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "discharge_physician", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_discharge_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(12)", + "original_field_name" : "discharge_physician", + "previousDataType" : "character varying(12)", + "previousFieldName" : "discharge_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "createSource" : "auto", + "dataTypeTemp" : "BINARY", + "data_type" : "BINARY", + "default_value" : null, + "field_name" : "timestamp", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_timestamp", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "bytea", + "original_field_name" : "timestamp", + "previousDataType" : "bytea", + "previousFieldName" : "timestamp", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "bytea", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16777215,\"type\":9}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "sick_leave_from_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_sick_leave_from_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "sick_leave_from_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "sick_leave_from_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "sick_leave_to_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_sick_leave_to_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp without time zone", + "original_field_name" : "sick_leave_to_dtm", + "previousDataType" : "timestamp without time zone", + "previousFieldName" : "sick_leave_to_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { + "admit_doctor" : { + "dataTypes" : [ "NULL", "STRING(12)" ], + "lastMatchedDataType" : "NULL" + }, + "admit_mode" : { + "dataTypes" : [ "DECIMAL128", "DOUBLE", "INT64", "INT32" ], + "lastMatchedDataType" : "DOUBLE" + }, + "admit_physician" : { + "dataTypes" : [ "NULL", "STRING(12)" ], + "lastMatchedDataType" : "NULL" + }, + "admit_team" : { + "dataTypes" : [ "NULL", "STRING(5)" ], + "lastMatchedDataType" : "NULL" + }, + "case_no" : { + "dataTypes" : [ "NULL", "STRING(24)" ], + "lastMatchedDataType" : "NULL" + }, + "create_by" : { + "dataTypes" : [ "NULL", "STRING(12)" ], + "lastMatchedDataType" : "NULL" + }, + "create_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "discharge_destination" : { + "dataTypes" : [ "NULL", "STRING(5)" ], + "lastMatchedDataType" : "NULL" + }, + "discharge_mode" : { + "dataTypes" : [ "NULL", "STRING(1)" ], + "lastMatchedDataType" : "NULL" + }, + "discharge_physician" : { + "dataTypes" : [ "NULL", "STRING(12)" ], + "lastMatchedDataType" : "NULL" + }, + "discharge_team" : { + "dataTypes" : [ "NULL", "STRING(5)" ], + "lastMatchedDataType" : "NULL" + }, + "expected_discharge_date" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "ho_id" : { + "dataTypes" : [ "NULL", "STRING(12)" ], + "lastMatchedDataType" : "NULL" + }, + "hospital_code" : { + "dataTypes" : [ "NULL", "STRING(6)" ], + "lastMatchedDataType" : "NULL" + }, + "mo_in_charge_id" : { + "dataTypes" : [ "NULL", "STRING(12)" ], + "lastMatchedDataType" : "NULL" + }, + "sick_leave_from_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "sick_leave_to_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "specialist_ic" : { + "dataTypes" : [ "NULL", "STRING(12)" ], + "lastMatchedDataType" : "NULL" + }, + "specialty" : { + "dataTypes" : [ "NULL", "STRING(8)" ], + "lastMatchedDataType" : "NULL" + }, + "timestamp" : { + "dataTypes" : [ "BINARY" ] + }, + "update_by" : { + "dataTypes" : [ "NULL", "STRING(12)" ], + "lastMatchedDataType" : "NULL" + }, + "update_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + } + }, + "hasPrimaryKey" : false, + "hasTransformEx" : true, + "hasUnionIndex" : true, + "hasUpdateField" : false, + "id" : "69cb87fea6fb9b4275db2227", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_discharge_information_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "table", + "name" : "FDM_TMH_CMSIP_discharge_information", + "nodeId" : "03bfcea2-ef95-4cf2-9e39-9b8f3dab496b", + "original_name" : "FDM_TMH_CMSIP_discharge_information", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_FDM_TMH_CMSIP_discharge_information_695497a235a6fa1717313957_69cb87ebbda877370a5ef917", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "5f5212c0-2fb9-4281-8ecb-72d883bd32b3", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504239647, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "VIRTUAL", + "tableAttr" : { + "avgObjSize" : 451, + "capped" : false, + "ns" : "FDM.FDM_TMH_CMSIP_discharge_information", + "shard" : { }, + "size" : 4517911, + "storageSize" : 671744 + }, + "taskId" : "69cb87ebbda877370a5ef917", + "transformUuid" : "1774946304605", + "user_id" : "69c6449cb9dbbccec453fb5f", + "username" : "cpicase-martin" + } +} ] \ No newline at end of file diff --git a/case-team_tapdata_export/Task/TMH_HPI_CASE_TO_FDM_MigrateTask.json b/case-team_tapdata_export/Task/TMH_HPI_CASE_TO_FDM_MigrateTask.json new file mode 100644 index 0000000..f17b180 --- /dev/null +++ b/case-team_tapdata_export/Task/TMH_HPI_CASE_TO_FDM_MigrateTask.json @@ -0,0 +1,2938 @@ +[ { + "collectionName" : "Task", + "json" : { + "_deleted" : false, + "accessNodeProcessId" : "", + "accessNodeProcessIdList" : [ ], + "accessNodeType" : "AUTOMATIC_PLATFORM_ALLOCATION", + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "TASK_INCREMENT_DELAY", + "ms" : 60000, + "point" : 60, + "times" : 0 + }, { + "equalsFlag" : 0, + "key" : "TASK_RETRY_WARN", + "ms" : 0, + "point" : 0, + "times" : 10 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "TASK_STATUS_ERROR", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 1, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_FULL_COMPLETE", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 3, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_INCREMENT_START", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 4, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_INCREMENT_DELAY", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 6, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_INSPECT_DIFFERENCE", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 1, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_RETRY_WARN", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 4, + "type" : "TASK", + "unit" : "SECOND" + } ], + "attrs" : { }, + "autoIncrementalBatchSize" : true, + "autoInspect" : false, + "blankLog" : false, + "canOpenInspect" : false, + "cdctask" : false, + "createTime" : 1774946146577, + "createUser" : "cpicase-martin", + "crontabExpressionFlag" : false, + "dag" : { + "edges" : [ { + "disabled" : false, + "source" : "dd30808b-cf44-45f8-9d3a-e0be36d0ee6a", + "target" : "270d7523-e666-40b1-a96e-73f5016f51ac" + }, { + "disabled" : false, + "source" : "270d7523-e666-40b1-a96e-73f5016f51ac", + "target" : "5177cf7e-74cc-44d5-81f9-9f2f43cc694c" + } ], + "nodes" : [ { + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "DATANODE_AVERAGE_HANDLE_CONSUME", + "ms" : 5000, + "point" : 12, + "times" : 0 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "DATANODE_AVERAGE_HANDLE_CONSUME", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 4, + "type" : "DATANODE", + "unit" : "SECOND" + } ], + "applyCompareRule" : false, + "attrs" : { + "accessNodeProcessId" : "", + "accessNodeType" : "AUTOMATIC_PLATFORM_ALLOCATION", + "capabilities" : [ { + "id" : "count_raw_command_function", + "type" : 11 + }, { + "id" : "run_raw_command_function", + "type" : 11 + }, { + "id" : "execute_command_function", + "type" : 11 + }, { + "id" : "release_external_function", + "type" : 11 + }, { + "id" : "batch_read_function", + "type" : 11 + }, { + "id" : "stream_read_function", + "type" : 11 + }, { + "id" : "batch_count_function", + "type" : 11 + }, { + "id" : "timestamp_to_stream_offset_function", + "type" : 11 + }, { + "id" : "write_record_function", + "type" : 11 + }, { + "id" : "after_initial_sync_function", + "type" : 11 + }, { + "id" : "query_by_filter_function", + "type" : 11 + }, { + "id" : "query_by_advance_filter_function", + "type" : 11 + }, { + "id" : "create_table_v2_function", + "type" : 11 + }, { + "id" : "clear_table_function", + "type" : 11 + }, { + "id" : "drop_table_function", + "type" : 11 + }, { + "id" : "create_index_function", + "type" : 11 + }, { + "id" : "delete_index_function", + "type" : 11 + }, { + "id" : "query_indexes_function", + "type" : 11 + }, { + "id" : "query_constraints_function", + "type" : 11 + }, { + "id" : "create_constraint_function", + "type" : 11 + }, { + "id" : "drop_constraint_function", + "type" : 11 + }, { + "id" : "alter_field_attributes_function", + "type" : 11 + }, { + "id" : "alter_field_name_function", + "type" : 11 + }, { + "id" : "drop_field_function", + "type" : 11 + }, { + "id" : "new_field_function", + "type" : 11 + }, { + "id" : "count_by_partition_filter_function", + "type" : 11 + }, { + "id" : "stream_read_multi_connection_function", + "type" : 11 + }, { + "id" : "transaction_begin_function", + "type" : 11 + }, { + "id" : "transaction_commit_function", + "type" : 11 + }, { + "id" : "transaction_rollback_function", + "type" : 11 + }, { + "id" : "query_hash_by_advance_filter_function", + "type" : 11 + }, { + "id" : "get_stream_offset_function", + "type" : 11 + }, { + "id" : "export_event_sql_function", + "type" : 11 + }, { + "id" : "flush_offset_function", + "type" : 11 + }, { + "id" : "get_table_info_function", + "type" : 11 + }, { + "id" : "get_table_names_function", + "type" : 11 + }, { + "id" : "error_handle_function", + "type" : 11 + }, { + "id" : "execute_command_v2_function", + "type" : 11 + }, { + "alternatives" : [ "update_on_exists", "ignore_on_exists", "just_insert" ], + "id" : "dml_insert_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_on_nonexists", "insert_on_nonexists", "log_on_nonexists" ], + "id" : "dml_update_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_on_nonexists", "log_on_nonexists" ], + "id" : "dml_delete_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_all_check", "default_check" ], + "id" : "dml_check_policy", + "type" : 20 + }, { + "id" : "api_server_supported", + "type" : 20 + }, { + "id" : "source_support_exactly_once", + "type" : 20 + }, { + "id" : "batch_read_hash_split", + "type" : 20 + }, { + "id" : "source_support_partition", + "type" : 20 + } ], + "connectionName" : "TMH_PG_HPI_CPI_CASE", + "connectionTags" : [ "Database", "ssl", "doubleActive", "disableForeignKey", "NullsLast" ], + "connectionType" : "source_and_target", + "pdkHash" : "8dea069f269dd428d82e60e75d0d91b6dc61be7be26eae7bc407d7b95d3b0594", + "pdkType" : "pdk", + "position" : [ 50, 50 ] + }, + "catalog" : "data", + "compareIgnoreCase" : false, + "concurrentReadThreadNumber" : 0, + "connectionId" : "69cb8744bda877370a5ef77e", + "databaseType" : "PostgreSQL", + "ddlConfiguration" : "FILTER", + "disabled" : false, + "elementType" : "Node", + "enableConcurrentRead" : false, + "existDataProcessMode" : "keepData", + "id" : "dd30808b-cf44-45f8-9d3a-e0be36d0ee6a", + "ignoreMetrics" : false, + "increaseReadSize" : 1, + "incrementExactlyOnceEnableTimeWindowDay" : 3, + "isTransformed" : false, + "migrateTableSelectType" : "custom", + "name" : "TMH_PG_HPI_CPI_CASE", + "noPkSyncMode" : "ADD_HASH", + "noPrimaryKeyTableSelectType" : "HasKeys", + "nodeConfig" : { + "applyDefault" : false, + "autoIncCacheValue" : 100, + "autoIncJumpValue" : 1000000, + "batchReadThreadSize" : 4, + "closeNotNull" : false, + "createAutoInc" : false, + "enableFileInput" : false, + "hashSplit" : false, + "maxSplit" : 20, + "maximumQueueSize" : 8000, + "partitionRoot" : false, + "splitUpdatePk" : true + }, + "readBatchSize" : 100, + "syncForeignKeyEnable" : true, + "syncSourcePartitionTableEnable" : true, + "tableExpression" : ".*", + "tableNames" : [ "cpi_case" ], + "type" : "database", + "writeStrategy" : "updateOrInsert" + }, { + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "PROCESSNODE_AVERAGE_HANDLE_CONSUME", + "ms" : 30000, + "point" : 60, + "times" : 0 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "PROCESSNODE_AVERAGE_HANDLE_CONSUME", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 1, + "type" : "PROCESSNODE", + "unit" : "SECOND" + } ], + "attrs" : { + "position" : [ 330, 50 ] + }, + "catalog" : "processor", + "concurrentNum" : 2, + "disabled" : false, + "elementType" : "Node", + "id" : "270d7523-e666-40b1-a96e-73f5016f51ac", + "isTransformed" : false, + "name" : "表编辑", + "prefix" : "FDM_TMH_HPI_", + "replaceAfter" : "", + "suffix" : "", + "tableNames" : [ ], + "transferCase" : "", + "type" : "table_rename_processor" + }, { + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "DATANODE_AVERAGE_HANDLE_CONSUME", + "ms" : 5000, + "point" : 12, + "times" : 0 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "DATANODE_AVERAGE_HANDLE_CONSUME", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 4, + "type" : "DATANODE", + "unit" : "SECOND" + } ], + "applyCompareRule" : false, + "attrs" : { + "accessNodeProcessId" : "", + "accessNodeType" : "AUTOMATIC_PLATFORM_ALLOCATION", + "capabilities" : [ { + "id" : "source_incremental_update_event_have_before", + "type" : 20 + }, { + "id" : "execute_command_function", + "type" : 11 + }, { + "id" : "batch_read_function", + "type" : 11 + }, { + "id" : "stream_read_function", + "type" : 11 + }, { + "id" : "batch_count_function", + "type" : 11 + }, { + "id" : "timestamp_to_stream_offset_function", + "type" : 11 + }, { + "id" : "write_record_function", + "type" : 11 + }, { + "id" : "query_by_advance_filter_function", + "type" : 11 + }, { + "id" : "create_table_v2_function", + "type" : 11 + }, { + "id" : "drop_table_function", + "type" : 11 + }, { + "id" : "create_index_function", + "type" : 11 + }, { + "id" : "query_indexes_function", + "type" : 11 + }, { + "id" : "count_by_partition_filter_function", + "type" : 11 + }, { + "id" : "get_read_partitions_function", + "type" : 11 + }, { + "id" : "query_field_min_max_value_function", + "type" : 11 + }, { + "id" : "transaction_begin_function", + "type" : 11 + }, { + "id" : "transaction_commit_function", + "type" : 11 + }, { + "id" : "transaction_rollback_function", + "type" : 11 + }, { + "id" : "get_table_info_function", + "type" : 11 + }, { + "id" : "get_table_names_function", + "type" : 11 + }, { + "id" : "error_handle_function", + "type" : 11 + }, { + "id" : "master_slave_merge", + "type" : 20 + }, { + "id" : "dynamic_schema", + "type" : 20 + }, { + "alternatives" : [ "update_on_exists", "ignore_on_exists", "just_insert" ], + "id" : "dml_insert_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_on_nonexists", "insert_on_nonexists", "log_on_nonexists" ], + "id" : "dml_update_policy", + "type" : 20 + }, { + "id" : "api_server_supported", + "type" : 20 + }, { + "id" : "source_support_exactly_once", + "type" : 20 + } ], + "connectionName" : "FDM", + "connectionTags" : [ "schema-free", "Database", "doubleActive" ], + "connectionType" : "source_and_target", + "db_version" : "8.0.9", + "pdkHash" : "4335aaa005ec1a74a4e2166bded2962e939ad50239f48b023b884f35b54129a5", + "pdkType" : "pdk", + "position" : [ 610, 50 ] + }, + "catalog" : "data", + "compareIgnoreCase" : false, + "concurrentReadThreadNumber" : 0, + "connectionId" : "695497a235a6fa1717313957", + "databaseType" : "MongoDB", + "disabled" : false, + "dmlPolicy" : { + "insertPolicy" : "update_on_exists", + "updatePolicy" : "ignore_on_nonexists" + }, + "elementType" : "Node", + "enableConcurrentRead" : false, + "existDataProcessMode" : "dropTable", + "id" : "5177cf7e-74cc-44d5-81f9-9f2f43cc694c", + "ignoreMetrics" : false, + "increaseReadSize" : 1, + "incrementExactlyOnceEnable" : false, + "incrementExactlyOnceEnableTimeWindowDay" : 3, + "isTransformed" : false, + "migrateTableSelectType" : "custom", + "name" : "FDM", + "noPkSyncMode" : "ADD_HASH", + "nodeConfig" : { + "enableSaveDeleteData" : false, + "preImage4Sink" : false, + "shardCollection" : false, + "syncIndex" : false, + "timeSeriesCollection" : false, + "writeConcern" : "w1" + }, + "readBatchSize" : 500, + "syncForeignKeyEnable" : true, + "syncObjects" : [ { + "objectNames" : [ "FDM_TMH_HPI_cpi_case" ], + "tableNameRelation" : { + "cpi_case" : "FDM_TMH_HPI_cpi_case" + }, + "type" : "table" + } ], + "type" : "database", + "uniqueIndexEnable" : true, + "updateConditionFieldMap" : { }, + "writeBatchSize" : 100, + "writeBatchWaitMs" : 500, + "writeStrategy" : "updateOrInsert" + } ] + }, + "dataSaving" : true, + "deduceSchemaTask" : false, + "deduplicWriteMode" : "intelligent", + "desc" : "", + "doubleActive" : false, + "dynamicAdjustMemoryUsage" : false, + "emailReceivers" : [ ], + "enforceShareCdc" : true, + "fileLog" : false, + "id" : "69cb8762bda877370a5ef7af", + "increHysteresis" : false, + "increOperationMode" : false, + "increSyncConcurrency" : false, + "increaseReadSize" : 1, + "initialSyncTask" : true, + "isAutoCreateIndex" : true, + "isAutoInspect" : false, + "isEdit" : true, + "isFilter" : false, + "isOpenAutoDDL" : false, + "isSchedule" : false, + "isStopOnError" : true, + "listtags" : [ { + "id" : "69b8d4cf8dd5178824619d46", + "value" : "dmp fdm" + } ], + "name" : "TMH_HPI_CASE_TO_FDM", + "normalTask" : true, + "oldVersionTimezone" : false, + "planStartDateFlag" : false, + "preview" : false, + "previewTask" : false, + "processorThreadNum" : 1, + "reFullRun" : false, + "readBatchSize" : 500, + "restartFlag" : false, + "shareCache" : false, + "shareCdcEnable" : false, + "showInspectTips" : false, + "snapShotInterrupt" : false, + "status" : "edit", + "statuses" : [ ], + "syncPoints" : [ { + "connectionId" : "69cb8744bda877370a5ef77e", + "connectionName" : "TMH_PG_HPI_CPI_CASE", + "isStreamOffset" : false, + "nodeId" : "dd30808b-cf44-45f8-9d3a-e0be36d0ee6a", + "nodeName" : "TMH_PG_HPI_CPI_CASE", + "pointType" : "current", + "timeZone" : "+8" + } ], + "syncStatus" : "", + "syncType" : "migrate", + "testTask" : false, + "testUsingPreview" : false, + "transformDagHash" : 0, + "transformProcess" : 0.0, + "type" : "initial_sync+cdc", + "user_id" : "69c6449cb9dbbccec453fb5f", + "writeBatchSize" : 0, + "writeBatchWaitMs" : 0, + "writeThreadSize" : 8 + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "cpi_case", + "comment" : "", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774946183004, + "createUser" : "cpicase-martin", + "databaseId" : "69cb8745a6fb9b4275db214c", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "character varying(6)", + "data_type" : "character varying(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "69cb8744bda877370a5ef77e_cpi_case_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "character varying(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":6,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "character varying(24)", + "data_type" : "character varying(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "69cb8744bda877370a5ef77e_cpi_case_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(24)", + "original_field_name" : "case_no", + "previousDataType" : "character varying(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":24,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "character varying(16)", + "data_type" : "character varying(16)", + "default_value" : null, + "field_name" : "patient_key", + "id" : "69cb8744bda877370a5ef77e_cpi_case_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(16)", + "original_field_name" : "patient_key", + "previousDataType" : "character varying(16)", + "previousFieldName" : "patient_key", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":16,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "character varying(2)", + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "case_type", + "id" : "69cb8744bda877370a5ef77e_cpi_case_case_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(2)", + "original_field_name" : "case_type", + "previousDataType" : "character varying(2)", + "previousFieldName" : "case_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "timestamp(6) without time zone", + "data_type" : "timestamp(6) without time zone", + "default_value" : null, + "field_name" : "admission_dtm", + "id" : "69cb8744bda877370a5ef77e_cpi_case_admission_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "admission_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "admission_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "character varying(2)", + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "source_indicator", + "id" : "69cb8744bda877370a5ef77e_cpi_case_source_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "source_indicator", + "previousDataType" : "character varying(2)", + "previousFieldName" : "source_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "character varying(6)", + "data_type" : "character varying(6)", + "default_value" : null, + "field_name" : "source_code", + "id" : "69cb8744bda877370a5ef77e_cpi_case_source_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(6)", + "original_field_name" : "source_code", + "previousDataType" : "character varying(6)", + "previousFieldName" : "source_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":6,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "character varying(6)", + "data_type" : "character varying(6)", + "default_value" : null, + "field_name" : "patient_type", + "id" : "69cb8744bda877370a5ef77e_cpi_case_patient_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(6)", + "original_field_name" : "patient_type", + "previousDataType" : "character varying(6)", + "previousFieldName" : "patient_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":6,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "character varying(2)", + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "discharge_code", + "id" : "69cb8744bda877370a5ef77e_cpi_case_discharge_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "discharge_code", + "previousDataType" : "character varying(2)", + "previousFieldName" : "discharge_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "timestamp(6) without time zone", + "data_type" : "timestamp(6) without time zone", + "default_value" : null, + "field_name" : "discharge_dtm", + "id" : "69cb8744bda877370a5ef77e_cpi_case_discharge_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "discharge_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "discharge_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "character varying(6)", + "data_type" : "character varying(6)", + "default_value" : null, + "field_name" : "destination_code", + "id" : "69cb8744bda877370a5ef77e_cpi_case_destination_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(6)", + "original_field_name" : "destination_code", + "previousDataType" : "character varying(6)", + "previousFieldName" : "destination_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":6,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "character varying(8)", + "data_type" : "character varying(8)", + "default_value" : null, + "field_name" : "last_specialty", + "id" : "69cb8744bda877370a5ef77e_cpi_case_last_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "last_specialty", + "previousDataType" : "character varying(8)", + "previousFieldName" : "last_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":8,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "createSource" : "auto", + "dataTypeTemp" : "character varying(8)", + "data_type" : "character varying(8)", + "default_value" : null, + "field_name" : "last_sub_specialty", + "id" : "69cb8744bda877370a5ef77e_cpi_case_last_sub_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "last_sub_specialty", + "previousDataType" : "character varying(8)", + "previousFieldName" : "last_sub_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":8,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "createSource" : "auto", + "dataTypeTemp" : "character varying(8)", + "data_type" : "character varying(8)", + "default_value" : null, + "field_name" : "last_ward_code", + "id" : "69cb8744bda877370a5ef77e_cpi_case_last_ward_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "last_ward_code", + "previousDataType" : "character varying(8)", + "previousFieldName" : "last_ward_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":8,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "createSource" : "auto", + "dataTypeTemp" : "character varying(2)", + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "last_ward_class", + "id" : "69cb8744bda877370a5ef77e_cpi_case_last_ward_class", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "last_ward_class", + "previousDataType" : "character varying(2)", + "previousFieldName" : "last_ward_class", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "createSource" : "auto", + "dataTypeTemp" : "character varying(10)", + "data_type" : "character varying(10)", + "default_value" : null, + "field_name" : "last_bed_no", + "id" : "69cb8744bda877370a5ef77e_cpi_case_last_bed_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "last_bed_no", + "previousDataType" : "character varying(10)", + "previousFieldName" : "last_bed_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":10,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "createSource" : "auto", + "dataTypeTemp" : "character varying(16)", + "data_type" : "character varying(16)", + "default_value" : null, + "field_name" : "pp_code", + "id" : "69cb8744bda877370a5ef77e_cpi_case_pp_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(16)", + "original_field_name" : "pp_code", + "previousDataType" : "character varying(16)", + "previousFieldName" : "pp_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":16,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "createSource" : "auto", + "dataTypeTemp" : "integer", + "data_type" : "integer", + "default_value" : null, + "field_name" : "access_code", + "id" : "69cb8744bda877370a5ef77e_cpi_case_access_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "integer", + "original_field_name" : "access_code", + "previousDataType" : "integer", + "previousFieldName" : "access_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "createSource" : "auto", + "dataTypeTemp" : "character varying(4)", + "data_type" : "character varying(4)", + "default_value" : null, + "field_name" : "status_code", + "id" : "69cb8744bda877370a5ef77e_cpi_case_status_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(4)", + "original_field_name" : "status_code", + "previousDataType" : "character varying(4)", + "previousFieldName" : "status_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":4,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "createSource" : "auto", + "dataTypeTemp" : "character varying(24)", + "data_type" : "character varying(24)", + "default_value" : null, + "field_name" : "create_by", + "id" : "69cb8744bda877370a5ef77e_cpi_case_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(24)", + "original_field_name" : "create_by", + "previousDataType" : "character varying(24)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":24,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "createSource" : "auto", + "dataTypeTemp" : "timestamp(6) without time zone", + "data_type" : "timestamp(6) without time zone", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "69cb8744bda877370a5ef77e_cpi_case_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "create_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "createSource" : "auto", + "dataTypeTemp" : "character varying(24)", + "data_type" : "character varying(24)", + "default_value" : null, + "field_name" : "update_by", + "id" : "69cb8744bda877370a5ef77e_cpi_case_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(24)", + "original_field_name" : "update_by", + "previousDataType" : "character varying(24)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":24,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 23, + "createSource" : "auto", + "dataTypeTemp" : "timestamp(6) without time zone", + "data_type" : "timestamp(6) without time zone", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "69cb8744bda877370a5ef77e_cpi_case_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "update_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 24, + "createSource" : "auto", + "dataTypeTemp" : "timestamp(6) without time zone", + "data_type" : "timestamp(6) without time zone", + "default_value" : null, + "field_name" : "row_update_datetime", + "id" : "69cb8744bda877370a5ef77e_cpi_case_row_update_datetime", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "row_update_datetime", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "row_update_datetime", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 25, + "createSource" : "auto", + "dataTypeTemp" : "integer", + "data_type" : "integer", + "default_value" : null, + "field_name" : "movement_count", + "id" : "69cb8744bda877370a5ef77e_cpi_case_movement_count", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "integer", + "original_field_name" : "movement_count", + "previousDataType" : "integer", + "previousFieldName" : "movement_count", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 26, + "createSource" : "auto", + "dataTypeTemp" : "character varying(10)", + "data_type" : "character varying(10)", + "default_value" : null, + "field_name" : "district_code", + "id" : "69cb8744bda877370a5ef77e_cpi_case_district_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "district_code", + "previousDataType" : "character varying(10)", + "previousFieldName" : "district_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":10,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 27, + "createSource" : "auto", + "dataTypeTemp" : "character varying(2)", + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "mrt_indicator", + "id" : "69cb8744bda877370a5ef77e_cpi_case_mrt_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "mrt_indicator", + "previousDataType" : "character varying(2)", + "previousFieldName" : "mrt_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 28, + "createSource" : "auto", + "dataTypeTemp" : "character varying(2)", + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "document_flag", + "id" : "69cb8744bda877370a5ef77e_cpi_case_document_flag", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "document_flag", + "previousDataType" : "character varying(2)", + "previousFieldName" : "document_flag", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : true, + "hasUpdateField" : false, + "id" : "69cb8787a6fb9b4275db218f", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_cpi_case_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "table", + "name" : "cpi_case", + "nodeId" : "dd30808b-cf44-45f8-9d3a-e0be36d0ee6a", + "original_name" : "cpi_case", + "partitionSet" : [ ], + "qualified_name" : "T_postgres_io_tapdata_1_0-SNAPSHOT_cpi_case_69cb8744bda877370a5ef77e_69cb8762bda877370a5ef7af", + "source" : { + "_id" : "69cb8744bda877370a5ef77e", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "cpicase-martin", + "database_type" : "PostgreSQL", + "everLoadSchema" : true, + "id" : "69cb8744bda877370a5ef77e", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "69c6449cb9dbbccec453fb5f", + "loadCount" : 1, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "TMH_PG_HPI_CPI_CASE", + "project" : "", + "retry" : 0, + "schemaVersion" : "441f6cfc-009b-4c82-90b7-a48d504f8f4d", + "status" : "ready", + "submit" : true, + "tableCount" : 3, + "table_filter" : "cpi_case", + "testTime" : 1774946117809, + "transformed" : true, + "user_id" : "69c6449cb9dbbccec453fb5f" + }, + "sourceType" : "VIRTUAL", + "taskId" : "69cb8762bda877370a5ef7af", + "transformUuid" : "1774946203293", + "user_id" : "69c6449cb9dbbccec453fb5f", + "username" : "cpicase-martin" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "cpi_case", + "comment" : "", + "constraints" : [ ], + "createSource" : "job_analyze", + "createTime" : 1774946183016, + "createUser" : "cpicase-martin", + "databaseId" : "69cb8745a6fb9b4275db214c", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "character varying(6)", + "data_type" : "character varying(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "69cb8744bda877370a5ef77e_cpi_case_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "character varying(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":6,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "character varying(24)", + "data_type" : "character varying(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "69cb8744bda877370a5ef77e_cpi_case_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(24)", + "original_field_name" : "case_no", + "previousDataType" : "character varying(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":24,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "character varying(16)", + "data_type" : "character varying(16)", + "default_value" : null, + "field_name" : "patient_key", + "id" : "69cb8744bda877370a5ef77e_cpi_case_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(16)", + "original_field_name" : "patient_key", + "previousDataType" : "character varying(16)", + "previousFieldName" : "patient_key", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":16,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "character varying(2)", + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "case_type", + "id" : "69cb8744bda877370a5ef77e_cpi_case_case_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(2)", + "original_field_name" : "case_type", + "previousDataType" : "character varying(2)", + "previousFieldName" : "case_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "timestamp(6) without time zone", + "data_type" : "timestamp(6) without time zone", + "default_value" : null, + "field_name" : "admission_dtm", + "id" : "69cb8744bda877370a5ef77e_cpi_case_admission_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "admission_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "admission_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "character varying(2)", + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "source_indicator", + "id" : "69cb8744bda877370a5ef77e_cpi_case_source_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "source_indicator", + "previousDataType" : "character varying(2)", + "previousFieldName" : "source_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "character varying(6)", + "data_type" : "character varying(6)", + "default_value" : null, + "field_name" : "source_code", + "id" : "69cb8744bda877370a5ef77e_cpi_case_source_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(6)", + "original_field_name" : "source_code", + "previousDataType" : "character varying(6)", + "previousFieldName" : "source_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":6,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "character varying(6)", + "data_type" : "character varying(6)", + "default_value" : null, + "field_name" : "patient_type", + "id" : "69cb8744bda877370a5ef77e_cpi_case_patient_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(6)", + "original_field_name" : "patient_type", + "previousDataType" : "character varying(6)", + "previousFieldName" : "patient_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":6,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "character varying(2)", + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "discharge_code", + "id" : "69cb8744bda877370a5ef77e_cpi_case_discharge_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "discharge_code", + "previousDataType" : "character varying(2)", + "previousFieldName" : "discharge_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "timestamp(6) without time zone", + "data_type" : "timestamp(6) without time zone", + "default_value" : null, + "field_name" : "discharge_dtm", + "id" : "69cb8744bda877370a5ef77e_cpi_case_discharge_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "discharge_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "discharge_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "character varying(6)", + "data_type" : "character varying(6)", + "default_value" : null, + "field_name" : "destination_code", + "id" : "69cb8744bda877370a5ef77e_cpi_case_destination_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(6)", + "original_field_name" : "destination_code", + "previousDataType" : "character varying(6)", + "previousFieldName" : "destination_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":6,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "character varying(8)", + "data_type" : "character varying(8)", + "default_value" : null, + "field_name" : "last_specialty", + "id" : "69cb8744bda877370a5ef77e_cpi_case_last_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "last_specialty", + "previousDataType" : "character varying(8)", + "previousFieldName" : "last_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":8,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "createSource" : "auto", + "dataTypeTemp" : "character varying(8)", + "data_type" : "character varying(8)", + "default_value" : null, + "field_name" : "last_sub_specialty", + "id" : "69cb8744bda877370a5ef77e_cpi_case_last_sub_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "last_sub_specialty", + "previousDataType" : "character varying(8)", + "previousFieldName" : "last_sub_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":8,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "createSource" : "auto", + "dataTypeTemp" : "character varying(8)", + "data_type" : "character varying(8)", + "default_value" : null, + "field_name" : "last_ward_code", + "id" : "69cb8744bda877370a5ef77e_cpi_case_last_ward_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "last_ward_code", + "previousDataType" : "character varying(8)", + "previousFieldName" : "last_ward_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":8,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "createSource" : "auto", + "dataTypeTemp" : "character varying(2)", + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "last_ward_class", + "id" : "69cb8744bda877370a5ef77e_cpi_case_last_ward_class", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "last_ward_class", + "previousDataType" : "character varying(2)", + "previousFieldName" : "last_ward_class", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "createSource" : "auto", + "dataTypeTemp" : "character varying(10)", + "data_type" : "character varying(10)", + "default_value" : null, + "field_name" : "last_bed_no", + "id" : "69cb8744bda877370a5ef77e_cpi_case_last_bed_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "last_bed_no", + "previousDataType" : "character varying(10)", + "previousFieldName" : "last_bed_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":10,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "createSource" : "auto", + "dataTypeTemp" : "character varying(16)", + "data_type" : "character varying(16)", + "default_value" : null, + "field_name" : "pp_code", + "id" : "69cb8744bda877370a5ef77e_cpi_case_pp_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(16)", + "original_field_name" : "pp_code", + "previousDataType" : "character varying(16)", + "previousFieldName" : "pp_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":16,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "createSource" : "auto", + "dataTypeTemp" : "integer", + "data_type" : "integer", + "default_value" : null, + "field_name" : "access_code", + "id" : "69cb8744bda877370a5ef77e_cpi_case_access_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "integer", + "original_field_name" : "access_code", + "previousDataType" : "integer", + "previousFieldName" : "access_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "createSource" : "auto", + "dataTypeTemp" : "character varying(4)", + "data_type" : "character varying(4)", + "default_value" : null, + "field_name" : "status_code", + "id" : "69cb8744bda877370a5ef77e_cpi_case_status_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(4)", + "original_field_name" : "status_code", + "previousDataType" : "character varying(4)", + "previousFieldName" : "status_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":4,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "createSource" : "auto", + "dataTypeTemp" : "character varying(24)", + "data_type" : "character varying(24)", + "default_value" : null, + "field_name" : "create_by", + "id" : "69cb8744bda877370a5ef77e_cpi_case_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(24)", + "original_field_name" : "create_by", + "previousDataType" : "character varying(24)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":24,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "createSource" : "auto", + "dataTypeTemp" : "timestamp(6) without time zone", + "data_type" : "timestamp(6) without time zone", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "69cb8744bda877370a5ef77e_cpi_case_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "create_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "createSource" : "auto", + "dataTypeTemp" : "character varying(24)", + "data_type" : "character varying(24)", + "default_value" : null, + "field_name" : "update_by", + "id" : "69cb8744bda877370a5ef77e_cpi_case_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(24)", + "original_field_name" : "update_by", + "previousDataType" : "character varying(24)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":24,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 23, + "createSource" : "auto", + "dataTypeTemp" : "timestamp(6) without time zone", + "data_type" : "timestamp(6) without time zone", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "69cb8744bda877370a5ef77e_cpi_case_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "update_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 24, + "createSource" : "auto", + "dataTypeTemp" : "timestamp(6) without time zone", + "data_type" : "timestamp(6) without time zone", + "default_value" : null, + "field_name" : "row_update_datetime", + "id" : "69cb8744bda877370a5ef77e_cpi_case_row_update_datetime", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "row_update_datetime", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "row_update_datetime", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"defaultFraction\":6,\"fraction\":6,\"max\":\"9999-12-31T23:59:59Z\",\"min\":\"1000-01-01T00:00:00Z\",\"type\":1,\"withTimeZone\":false}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 25, + "createSource" : "auto", + "dataTypeTemp" : "integer", + "data_type" : "integer", + "default_value" : null, + "field_name" : "movement_count", + "id" : "69cb8744bda877370a5ef77e_cpi_case_movement_count", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "integer", + "original_field_name" : "movement_count", + "previousDataType" : "integer", + "previousFieldName" : "movement_count", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 26, + "createSource" : "auto", + "dataTypeTemp" : "character varying(10)", + "data_type" : "character varying(10)", + "default_value" : null, + "field_name" : "district_code", + "id" : "69cb8744bda877370a5ef77e_cpi_case_district_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "district_code", + "previousDataType" : "character varying(10)", + "previousFieldName" : "district_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":10,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 27, + "createSource" : "auto", + "dataTypeTemp" : "character varying(2)", + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "mrt_indicator", + "id" : "69cb8744bda877370a5ef77e_cpi_case_mrt_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "mrt_indicator", + "previousDataType" : "character varying(2)", + "previousFieldName" : "mrt_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 28, + "createSource" : "auto", + "dataTypeTemp" : "character varying(2)", + "data_type" : "character varying(2)", + "default_value" : null, + "field_name" : "document_flag", + "id" : "69cb8744bda877370a5ef77e_cpi_case_document_flag", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "document_flag", + "previousDataType" : "character varying(2)", + "previousFieldName" : "document_flag", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "PostgreSQL", + "tapType" : "{\"bytes\":2,\"defaultValue\":10485760,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : true, + "hasUpdateField" : false, + "id" : "69cb8787a6fb9b4275db2190", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_cpi_case_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "processor_node", + "name" : "FDM_TMH_HPI_cpi_case", + "nodeId" : "270d7523-e666-40b1-a96e-73f5016f51ac", + "original_name" : "FDM_TMH_HPI_cpi_case", + "partitionSet" : [ ], + "qualified_name" : "PN_270d7523-e666-40b1-a96e-73f5016f51ac_FDM_TMH_HPI_cpi_case", + "source" : { + "_id" : "69cb8744bda877370a5ef77e", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "cpicase-martin", + "database_type" : "PostgreSQL", + "everLoadSchema" : true, + "id" : "69cb8744bda877370a5ef77e", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "69c6449cb9dbbccec453fb5f", + "loadCount" : 1, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "TMH_PG_HPI_CPI_CASE", + "project" : "", + "retry" : 0, + "schemaVersion" : "441f6cfc-009b-4c82-90b7-a48d504f8f4d", + "status" : "ready", + "submit" : true, + "tableCount" : 3, + "table_filter" : "cpi_case", + "testTime" : 1774946117809, + "transformed" : true, + "user_id" : "69c6449cb9dbbccec453fb5f" + }, + "sourceType" : "VIRTUAL", + "taskId" : "69cb8762bda877370a5ef7af", + "transformUuid" : "1774946203293", + "user_id" : "69c6449cb9dbbccec453fb5f", + "username" : "cpicase-martin" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "cpi_case", + "comment" : "", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774946183019, + "createUser" : "cpicase-martin", + "databaseId" : "69549862aedd5fe4733b3966", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "columnSize" : 100, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "oriPrecision" : 100, + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "table_name" : "FDM_TMH_HPI_cpi_case", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "character varying(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(24)", + "original_field_name" : "case_no", + "previousDataType" : "character varying(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "patient_key", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(16)", + "original_field_name" : "patient_key", + "previousDataType" : "character varying(16)", + "previousFieldName" : "patient_key", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "case_type", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_case_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(2)", + "original_field_name" : "case_type", + "previousDataType" : "character varying(2)", + "previousFieldName" : "case_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "admission_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_admission_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "admission_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "admission_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "source_indicator", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_source_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "source_indicator", + "previousDataType" : "character varying(2)", + "previousFieldName" : "source_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "source_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_source_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(6)", + "original_field_name" : "source_code", + "previousDataType" : "character varying(6)", + "previousFieldName" : "source_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "patient_type", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_patient_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(6)", + "original_field_name" : "patient_type", + "previousDataType" : "character varying(6)", + "previousFieldName" : "patient_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "discharge_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_discharge_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "discharge_code", + "previousDataType" : "character varying(2)", + "previousFieldName" : "discharge_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "discharge_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_discharge_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "discharge_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "discharge_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "destination_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_destination_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(6)", + "original_field_name" : "destination_code", + "previousDataType" : "character varying(6)", + "previousFieldName" : "destination_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_specialty", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_last_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "last_specialty", + "previousDataType" : "character varying(8)", + "previousFieldName" : "last_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_sub_specialty", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_last_sub_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "last_sub_specialty", + "previousDataType" : "character varying(8)", + "previousFieldName" : "last_sub_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_ward_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_last_ward_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(8)", + "original_field_name" : "last_ward_code", + "previousDataType" : "character varying(8)", + "previousFieldName" : "last_ward_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "last_ward_class", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_last_ward_class", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "last_ward_class", + "previousDataType" : "character varying(2)", + "previousFieldName" : "last_ward_class", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "last_bed_no", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_last_bed_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "last_bed_no", + "previousDataType" : "character varying(10)", + "previousFieldName" : "last_bed_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "pp_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_pp_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(16)", + "original_field_name" : "pp_code", + "previousDataType" : "character varying(16)", + "previousFieldName" : "pp_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "access_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_access_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "integer", + "original_field_name" : "access_code", + "previousDataType" : "integer", + "previousFieldName" : "access_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "createSource" : "auto", + "dataTypeTemp" : "STRING(4)", + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "status_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_status_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(4)", + "original_field_name" : "status_code", + "previousDataType" : "character varying(4)", + "previousFieldName" : "status_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(24)", + "original_field_name" : "create_by", + "previousDataType" : "character varying(24)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "create_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "character varying(24)", + "original_field_name" : "update_by", + "previousDataType" : "character varying(24)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 23, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "update_dtm", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 24, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "row_update_datetime", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_row_update_datetime", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "timestamp(6) without time zone", + "original_field_name" : "row_update_datetime", + "previousDataType" : "timestamp(6) without time zone", + "previousFieldName" : "row_update_datetime", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 25, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "movement_count", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_movement_count", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "integer", + "original_field_name" : "movement_count", + "previousDataType" : "integer", + "previousFieldName" : "movement_count", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 26, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "district_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_district_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(10)", + "original_field_name" : "district_code", + "previousDataType" : "character varying(10)", + "previousFieldName" : "district_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 27, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "mrt_indicator", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_mrt_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "mrt_indicator", + "previousDataType" : "character varying(2)", + "previousFieldName" : "mrt_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 28, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "document_flag", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_document_flag", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "character varying(2)", + "original_field_name" : "document_flag", + "previousDataType" : "character varying(2)", + "previousFieldName" : "document_flag", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { + "access_code" : { + "dataTypes" : [ "DECIMAL128", "DOUBLE", "INT64", "INT32" ], + "lastMatchedDataType" : "DOUBLE" + }, + "admission_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "case_no" : { + "dataTypes" : [ "NULL", "STRING(24)" ], + "lastMatchedDataType" : "NULL" + }, + "case_type" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "NULL" + }, + "create_by" : { + "dataTypes" : [ "NULL", "STRING(24)" ], + "lastMatchedDataType" : "NULL" + }, + "create_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "destination_code" : { + "dataTypes" : [ "NULL", "STRING(6)" ], + "lastMatchedDataType" : "NULL" + }, + "discharge_code" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "NULL" + }, + "discharge_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "district_code" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "NULL" + }, + "document_flag" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "NULL" + }, + "hospital_code" : { + "dataTypes" : [ "NULL", "STRING(6)" ], + "lastMatchedDataType" : "NULL" + }, + "last_bed_no" : { + "dataTypes" : [ "NULL", "STRING(10)" ], + "lastMatchedDataType" : "NULL" + }, + "last_specialty" : { + "dataTypes" : [ "NULL", "STRING(8)" ], + "lastMatchedDataType" : "NULL" + }, + "last_sub_specialty" : { + "dataTypes" : [ "NULL", "STRING(8)" ], + "lastMatchedDataType" : "NULL" + }, + "last_ward_class" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "NULL" + }, + "last_ward_code" : { + "dataTypes" : [ "NULL", "STRING(8)" ], + "lastMatchedDataType" : "NULL" + }, + "movement_count" : { + "dataTypes" : [ "DECIMAL128", "DOUBLE", "INT64", "INT32" ], + "lastMatchedDataType" : "DOUBLE" + }, + "mrt_indicator" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "NULL" + }, + "patient_key" : { + "dataTypes" : [ "NULL", "STRING(16)" ], + "lastMatchedDataType" : "NULL" + }, + "patient_type" : { + "dataTypes" : [ "NULL", "STRING(6)" ], + "lastMatchedDataType" : "NULL" + }, + "pp_code" : { + "dataTypes" : [ "NULL", "STRING(16)" ], + "lastMatchedDataType" : "NULL" + }, + "row_update_datetime" : { + "dataTypes" : [ "DATE_TIME" ] + }, + "source_code" : { + "dataTypes" : [ "NULL", "STRING(6)" ], + "lastMatchedDataType" : "NULL" + }, + "source_indicator" : { + "dataTypes" : [ "NULL", "STRING(2)" ], + "lastMatchedDataType" : "NULL" + }, + "status_code" : { + "dataTypes" : [ "NULL", "STRING(4)" ], + "lastMatchedDataType" : "NULL" + }, + "update_by" : { + "dataTypes" : [ "NULL", "STRING(24)" ], + "lastMatchedDataType" : "NULL" + }, + "update_dtm" : { + "dataTypes" : [ "DATE_TIME" ] + } + }, + "hasPrimaryKey" : false, + "hasTransformEx" : true, + "hasUnionIndex" : true, + "hasUpdateField" : false, + "id" : "69cb8787a6fb9b4275db2191", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_cpi_case_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "table", + "name" : "FDM_TMH_HPI_cpi_case", + "nodeId" : "5177cf7e-74cc-44d5-81f9-9f2f43cc694c", + "original_name" : "FDM_TMH_HPI_cpi_case", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_FDM_TMH_HPI_cpi_case_695497a235a6fa1717313957_69cb8762bda877370a5ef7af", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "5f5212c0-2fb9-4281-8ecb-72d883bd32b3", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504239647, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "VIRTUAL", + "tableAttr" : { + "capped" : false, + "ns" : "FDM.FDM_TMH_HPI_cpi_case", + "shard" : { }, + "size" : 0, + "storageSize" : 4096 + }, + "taskId" : "69cb8762bda877370a5ef7af", + "transformUuid" : "1774946203293", + "user_id" : "69c6449cb9dbbccec453fb5f", + "username" : "cpicase-martin" + } +} ] \ No newline at end of file diff --git a/case-team_tapdata_export/Task/UNION_cpi_case_MigrateTask.json b/case-team_tapdata_export/Task/UNION_cpi_case_MigrateTask.json new file mode 100644 index 0000000..2edae1f --- /dev/null +++ b/case-team_tapdata_export/Task/UNION_cpi_case_MigrateTask.json @@ -0,0 +1,3637 @@ +[ { + "collectionName" : "Task", + "json" : { + "_deleted" : false, + "accessNodeProcessId" : "", + "accessNodeProcessIdList" : [ ], + "accessNodeType" : "AUTOMATIC_PLATFORM_ALLOCATION", + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "TASK_INCREMENT_DELAY", + "ms" : 60000, + "point" : 60, + "times" : 0 + }, { + "equalsFlag" : 0, + "key" : "TASK_RETRY_WARN", + "ms" : 0, + "point" : 0, + "times" : 10 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "TASK_STATUS_ERROR", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 1, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_FULL_COMPLETE", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 3, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_INCREMENT_START", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 4, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_INCREMENT_DELAY", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 6, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_INSPECT_DIFFERENCE", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 1, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_RETRY_WARN", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 4, + "type" : "TASK", + "unit" : "SECOND" + } ], + "attrs" : { }, + "autoIncrementalBatchSize" : true, + "autoInspect" : false, + "blankLog" : false, + "canOpenInspect" : false, + "cdctask" : false, + "checkMemoryHeap" : false, + "createTime" : 1774946345216, + "createUser" : "cpicase-martin", + "crontabExpressionFlag" : false, + "dag" : { + "edges" : [ { + "disabled" : false, + "source" : "df4c88c7-dd3a-43fa-b851-b3d77a307b17", + "target" : "23e63905-7abc-41e5-8c3b-177fe56007aa" + }, { + "disabled" : false, + "source" : "bdd79990-c07b-4dcc-86b6-265fcf59d997", + "target" : "df4c88c7-dd3a-43fa-b851-b3d77a307b17" + } ], + "nodes" : [ { + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "PROCESSNODE_AVERAGE_HANDLE_CONSUME", + "ms" : 30000, + "point" : 60, + "times" : 0 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "PROCESSNODE_AVERAGE_HANDLE_CONSUME", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 1, + "type" : "PROCESSNODE", + "unit" : "SECOND" + } ], + "attrs" : { + "position" : [ 111, 227.5 ] + }, + "catalog" : "processor", + "concurrentNum" : 2, + "disabled" : false, + "elementType" : "Node", + "id" : "df4c88c7-dd3a-43fa-b851-b3d77a307b17", + "isTransformed" : false, + "name" : "多表合并", + "tableName" : "MDM_HPI_cpi_case", + "type" : "migrate_union_processor" + }, { + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "DATANODE_AVERAGE_HANDLE_CONSUME", + "ms" : 5000, + "point" : 12, + "times" : 0 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "DATANODE_AVERAGE_HANDLE_CONSUME", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 4, + "type" : "DATANODE", + "unit" : "SECOND" + } ], + "applyCompareRule" : false, + "attrs" : { + "accessNodeProcessId" : "", + "accessNodeType" : "AUTOMATIC_PLATFORM_ALLOCATION", + "capabilities" : [ { + "id" : "source_incremental_update_event_have_before", + "type" : 20 + }, { + "id" : "execute_command_function", + "type" : 11 + }, { + "id" : "batch_read_function", + "type" : 11 + }, { + "id" : "stream_read_function", + "type" : 11 + }, { + "id" : "batch_count_function", + "type" : 11 + }, { + "id" : "timestamp_to_stream_offset_function", + "type" : 11 + }, { + "id" : "write_record_function", + "type" : 11 + }, { + "id" : "query_by_advance_filter_function", + "type" : 11 + }, { + "id" : "create_table_v2_function", + "type" : 11 + }, { + "id" : "drop_table_function", + "type" : 11 + }, { + "id" : "create_index_function", + "type" : 11 + }, { + "id" : "query_indexes_function", + "type" : 11 + }, { + "id" : "count_by_partition_filter_function", + "type" : 11 + }, { + "id" : "get_read_partitions_function", + "type" : 11 + }, { + "id" : "query_field_min_max_value_function", + "type" : 11 + }, { + "id" : "transaction_begin_function", + "type" : 11 + }, { + "id" : "transaction_commit_function", + "type" : 11 + }, { + "id" : "transaction_rollback_function", + "type" : 11 + }, { + "id" : "get_table_info_function", + "type" : 11 + }, { + "id" : "get_table_names_function", + "type" : 11 + }, { + "id" : "error_handle_function", + "type" : 11 + }, { + "id" : "master_slave_merge", + "type" : 20 + }, { + "id" : "dynamic_schema", + "type" : 20 + }, { + "alternatives" : [ "update_on_exists", "ignore_on_exists", "just_insert" ], + "id" : "dml_insert_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_on_nonexists", "insert_on_nonexists", "log_on_nonexists" ], + "id" : "dml_update_policy", + "type" : 20 + }, { + "id" : "api_server_supported", + "type" : 20 + }, { + "id" : "source_support_exactly_once", + "type" : 20 + } ], + "connectionName" : "MDM", + "connectionTags" : [ "schema-free", "Database", "doubleActive" ], + "connectionType" : "source_and_target", + "db_version" : "8.0.9", + "pdkHash" : "4335aaa005ec1a74a4e2166bded2962e939ad50239f48b023b884f35b54129a5", + "pdkType" : "pdk", + "position" : [ 324, 227.5 ] + }, + "catalog" : "data", + "compareIgnoreCase" : false, + "concurrentReadThreadNumber" : 0, + "connectionId" : "695497a235a6fa171731395e", + "databaseType" : "MongoDB", + "disabled" : false, + "dmlPolicy" : { + "insertPolicy" : "update_on_exists", + "updatePolicy" : "ignore_on_nonexists" + }, + "elementType" : "Node", + "enableConcurrentRead" : false, + "existDataProcessMode" : "dropTable", + "id" : "23e63905-7abc-41e5-8c3b-177fe56007aa", + "ignoreMetrics" : false, + "increaseReadSize" : 1, + "incrementExactlyOnceEnable" : false, + "incrementExactlyOnceEnableTimeWindowDay" : 3, + "isTransformed" : false, + "migrateTableSelectType" : "custom", + "name" : "MDM", + "noPkSyncMode" : "ADD_HASH", + "nodeConfig" : { + "enableSaveDeleteData" : false, + "preImage4Sink" : false, + "shardCollection" : false, + "syncIndex" : false, + "timeSeriesCollection" : false, + "writeConcern" : "w1" + }, + "readBatchSize" : 500, + "syncForeignKeyEnable" : true, + "syncObjects" : [ { + "objectNames" : [ "FDM_QMH_HPI_cpi_case", "FDM_TMH_HPI_cpi_case" ], + "tableNameRelation" : { + "FDM_QMH_HPI_cpi_case" : "FDM_QMH_HPI_cpi_case", + "FDM_TMH_HPI_cpi_case" : "FDM_TMH_HPI_cpi_case" + }, + "type" : "table" + } ], + "type" : "database", + "uniqueIndexEnable" : true, + "updateConditionFieldMap" : { }, + "writeBatchSize" : 100, + "writeBatchWaitMs" : 500, + "writeStrategy" : "updateOrInsert" + }, { + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "DATANODE_AVERAGE_HANDLE_CONSUME", + "ms" : 5000, + "point" : 12, + "times" : 0 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "DATANODE_AVERAGE_HANDLE_CONSUME", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 4, + "type" : "DATANODE", + "unit" : "SECOND" + } ], + "applyCompareRule" : false, + "attrs" : { + "accessNodeProcessId" : "", + "accessNodeType" : "AUTOMATIC_PLATFORM_ALLOCATION", + "capabilities" : [ { + "id" : "source_incremental_update_event_have_before", + "type" : 20 + }, { + "id" : "execute_command_function", + "type" : 11 + }, { + "id" : "batch_read_function", + "type" : 11 + }, { + "id" : "stream_read_function", + "type" : 11 + }, { + "id" : "batch_count_function", + "type" : 11 + }, { + "id" : "timestamp_to_stream_offset_function", + "type" : 11 + }, { + "id" : "write_record_function", + "type" : 11 + }, { + "id" : "query_by_advance_filter_function", + "type" : 11 + }, { + "id" : "create_table_v2_function", + "type" : 11 + }, { + "id" : "drop_table_function", + "type" : 11 + }, { + "id" : "create_index_function", + "type" : 11 + }, { + "id" : "query_indexes_function", + "type" : 11 + }, { + "id" : "count_by_partition_filter_function", + "type" : 11 + }, { + "id" : "get_read_partitions_function", + "type" : 11 + }, { + "id" : "query_field_min_max_value_function", + "type" : 11 + }, { + "id" : "transaction_begin_function", + "type" : 11 + }, { + "id" : "transaction_commit_function", + "type" : 11 + }, { + "id" : "transaction_rollback_function", + "type" : 11 + }, { + "id" : "get_table_info_function", + "type" : 11 + }, { + "id" : "get_table_names_function", + "type" : 11 + }, { + "id" : "error_handle_function", + "type" : 11 + }, { + "id" : "master_slave_merge", + "type" : 20 + }, { + "id" : "dynamic_schema", + "type" : 20 + }, { + "alternatives" : [ "update_on_exists", "ignore_on_exists", "just_insert" ], + "id" : "dml_insert_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_on_nonexists", "insert_on_nonexists", "log_on_nonexists" ], + "id" : "dml_update_policy", + "type" : 20 + }, { + "id" : "api_server_supported", + "type" : 20 + }, { + "id" : "source_support_exactly_once", + "type" : 20 + } ], + "connectionName" : "FDM", + "connectionTags" : [ "schema-free", "Database", "doubleActive" ], + "connectionType" : "source_and_target", + "db_version" : "8.0.9", + "pdkHash" : "4335aaa005ec1a74a4e2166bded2962e939ad50239f48b023b884f35b54129a5", + "pdkType" : "pdk", + "position" : [ -169, 227.5 ] + }, + "catalog" : "data", + "compareIgnoreCase" : false, + "concurrentReadThreadNumber" : 0, + "connectionId" : "695497a235a6fa1717313957", + "databaseType" : "MongoDB", + "ddlConfiguration" : "FILTER", + "disabled" : false, + "elementType" : "Node", + "enableConcurrentRead" : false, + "existDataProcessMode" : "keepData", + "id" : "bdd79990-c07b-4dcc-86b6-265fcf59d997", + "ignoreMetrics" : false, + "increaseReadSize" : 1, + "incrementExactlyOnceEnableTimeWindowDay" : 3, + "isTransformed" : false, + "migrateTableSelectType" : "expression", + "name" : "FDM", + "noPkSyncMode" : "ADD_HASH", + "noPrimaryKeyTableSelectType" : "HasKeys", + "nodeConfig" : { + "enableFillingModifiedData" : false, + "writeConcern" : "w1" + }, + "readBatchSize" : 100, + "readPartitionOptions" : { + "enable" : false, + "hasKVStorage" : true, + "maxRecordInPartition" : 200000, + "minMaxSplitPieces" : 100, + "partitionBatchCount" : 3000, + "partitionThreadCount" : 8, + "splitType" : 10 + }, + "syncForeignKeyEnable" : true, + "tableExpression" : "FDM_.*_HPI_cpi_case", + "tableNames" : [ "FDM_QMH_HPI_cpi_case", "FDM_TMH_HPI_cpi_case" ], + "type" : "database", + "writeStrategy" : "updateOrInsert" + } ] + }, + "dataSaving" : true, + "deduceSchemaTask" : false, + "deduplicWriteMode" : "intelligent", + "desc" : "", + "doubleActive" : false, + "dynamicAdjustMemoryUsage" : false, + "emailReceivers" : [ ], + "enforceShareCdc" : true, + "fileLog" : false, + "id" : "69cb8829bda877370a5efa38", + "increHysteresis" : false, + "increOperationMode" : false, + "increSyncConcurrency" : false, + "increaseReadSize" : 1, + "initialSyncTask" : true, + "isAutoCreateIndex" : true, + "isAutoInspect" : false, + "isEdit" : true, + "isFilter" : false, + "isOpenAutoDDL" : false, + "isSchedule" : false, + "isStopOnError" : true, + "listtags" : [ { + "id" : "69b90c2c8dd517882461f593", + "value" : "dmp union mdm" + } ], + "name" : "UNION_cpi_case", + "normalTask" : true, + "oldVersionTimezone" : false, + "planStartDateFlag" : false, + "preview" : false, + "previewTask" : false, + "processorThreadNum" : 1, + "reFullRun" : false, + "readBatchSize" : 500, + "restartFlag" : false, + "shareCache" : false, + "shareCdcEnable" : false, + "showInspectTips" : false, + "snapShotInterrupt" : false, + "status" : "edit", + "statuses" : [ ], + "syncPoints" : [ { + "connectionId" : "695497a235a6fa1717313957", + "connectionName" : "FDM", + "isStreamOffset" : false, + "nodeId" : "bdd79990-c07b-4dcc-86b6-265fcf59d997", + "nodeName" : "FDM", + "pointType" : "current", + "timeZone" : "+8" + } ], + "syncStatus" : "", + "syncType" : "migrate", + "testTask" : false, + "testUsingPreview" : false, + "transformDagHash" : 0, + "transformProcess" : 0.0, + "type" : "initial_sync+cdc", + "user_id" : "69c6449cb9dbbccec453fb5f", + "writeBatchSize" : 0, + "writeBatchWaitMs" : 0, + "writeThreadSize" : 8 + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "MDM_HPI_cpi_case", + "comment" : "", + "constraints" : [ ], + "createSource" : "job_analyze", + "createTime" : 1774946410472, + "createUser" : "cpicase-martin", + "databaseId" : "69549862aedd5fe4733b3966", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 19, + "createSource" : "auto", + "dataTypeTemp" : "STRING(4)", + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "status_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_status_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(4)", + "original_field_name" : "status_code", + "previousDataType" : "STRING(4)", + "previousFieldName" : "status_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 23, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "update_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 25, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "movement_count", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_movement_count", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "movement_count", + "previousDataType" : "INT32", + "previousFieldName" : "movement_count", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "access_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_access_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "INT32", + "original_field_name" : "access_code", + "previousDataType" : "INT32", + "previousFieldName" : "access_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "discharge_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_discharge_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "discharge_code", + "previousDataType" : "STRING(2)", + "previousFieldName" : "discharge_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "pp_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_pp_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(16)", + "original_field_name" : "pp_code", + "previousDataType" : "STRING(16)", + "previousFieldName" : "pp_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "create_by", + "previousDataType" : "STRING(24)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "patient_type", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_patient_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "patient_type", + "previousDataType" : "STRING(6)", + "previousFieldName" : "patient_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "update_by", + "previousDataType" : "STRING(24)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "last_ward_class", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_last_ward_class", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "last_ward_class", + "previousDataType" : "STRING(2)", + "previousFieldName" : "last_ward_class", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "case_no", + "previousDataType" : "STRING(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 24, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "row_update_datetime", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_row_update_datetime", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "row_update_datetime", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "row_update_datetime", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "admission_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_admission_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "admission_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "admission_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 27, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "mrt_indicator", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_mrt_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "mrt_indicator", + "previousDataType" : "STRING(2)", + "previousFieldName" : "mrt_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_sub_specialty", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_last_sub_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_sub_specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "last_sub_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "case_type", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_case_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "case_type", + "previousDataType" : "STRING(2)", + "previousFieldName" : "case_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 28, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "document_flag", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_document_flag", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "document_flag", + "previousDataType" : "STRING(2)", + "previousFieldName" : "document_flag", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "destination_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_destination_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(6)", + "original_field_name" : "destination_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "destination_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "discharge_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_discharge_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "discharge_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "discharge_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_specialty", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_last_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "last_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 26, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "district_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_district_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "district_code", + "previousDataType" : "STRING(10)", + "previousFieldName" : "district_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "last_bed_no", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_last_bed_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "last_bed_no", + "previousDataType" : "STRING(10)", + "previousFieldName" : "last_bed_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "source_indicator", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_source_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "source_indicator", + "previousDataType" : "STRING(2)", + "previousFieldName" : "source_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "create_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 0, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_ward_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_last_ward_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_ward_code", + "previousDataType" : "STRING(8)", + "previousFieldName" : "last_ward_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "patient_key", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "patient_key", + "previousDataType" : "STRING(16)", + "previousFieldName" : "patient_key", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "source_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_source_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(6)", + "original_field_name" : "source_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "source_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : true, + "hasUpdateField" : false, + "id" : "69cb886aa6fb9b4275db2308", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_cpi_case_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_cpi_case_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "processor_node", + "name" : "MDM_HPI_cpi_case", + "nodeId" : "df4c88c7-dd3a-43fa-b851-b3d77a307b17", + "original_name" : "MDM_HPI_cpi_case", + "partitionSet" : [ ], + "qualified_name" : "PN_df4c88c7-dd3a-43fa-b851-b3d77a307b17_MDM_HPI_cpi_case", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "5f5212c0-2fb9-4281-8ecb-72d883bd32b3", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504239647, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "VIRTUAL", + "tableAttr" : { + "avgObjSize" : 588, + "capped" : false, + "ns" : "FDM.FDM_QMH_HPI_cpi_case", + "shard" : { }, + "size" : 5806147, + "storageSize" : 4096 + }, + "taskId" : "69cb8829bda877370a5efa38", + "transformUuid" : "1774946420398", + "user_id" : "69c6449cb9dbbccec453fb5f", + "username" : "cpicase-martin" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "MDM_HPI_cpi_case", + "comment" : "", + "constraints" : [ ], + "createSource" : "job_analyze", + "createTime" : 1774946415313, + "createUser" : "cpicase-martin", + "databaseId" : "69549865aedd5fe4733b3c1d", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "case_no", + "previousDataType" : "STRING(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "patient_key", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "patient_key", + "previousDataType" : "STRING(16)", + "previousFieldName" : "patient_key", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "case_type", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_case_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "case_type", + "previousDataType" : "STRING(2)", + "previousFieldName" : "case_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "admission_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_admission_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "admission_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "admission_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "source_indicator", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_source_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "source_indicator", + "previousDataType" : "STRING(2)", + "previousFieldName" : "source_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "source_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_source_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(6)", + "original_field_name" : "source_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "source_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "patient_type", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_patient_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "patient_type", + "previousDataType" : "STRING(6)", + "previousFieldName" : "patient_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "discharge_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_discharge_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "discharge_code", + "previousDataType" : "STRING(2)", + "previousFieldName" : "discharge_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "discharge_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_discharge_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "discharge_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "discharge_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "destination_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_destination_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(6)", + "original_field_name" : "destination_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "destination_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_specialty", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_last_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "last_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_sub_specialty", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_last_sub_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_sub_specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "last_sub_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_ward_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_last_ward_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_ward_code", + "previousDataType" : "STRING(8)", + "previousFieldName" : "last_ward_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "last_ward_class", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_last_ward_class", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "last_ward_class", + "previousDataType" : "STRING(2)", + "previousFieldName" : "last_ward_class", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "last_bed_no", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_last_bed_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "last_bed_no", + "previousDataType" : "STRING(10)", + "previousFieldName" : "last_bed_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "pp_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_pp_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(16)", + "original_field_name" : "pp_code", + "previousDataType" : "STRING(16)", + "previousFieldName" : "pp_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "access_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_access_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "INT32", + "original_field_name" : "access_code", + "previousDataType" : "INT32", + "previousFieldName" : "access_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "createSource" : "auto", + "dataTypeTemp" : "STRING(4)", + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "status_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_status_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(4)", + "original_field_name" : "status_code", + "previousDataType" : "STRING(4)", + "previousFieldName" : "status_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "create_by", + "previousDataType" : "STRING(24)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "create_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "update_by", + "previousDataType" : "STRING(24)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 23, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "update_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 24, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "row_update_datetime", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_row_update_datetime", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "row_update_datetime", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "row_update_datetime", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 25, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "movement_count", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_movement_count", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "movement_count", + "previousDataType" : "INT32", + "previousFieldName" : "movement_count", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 26, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "district_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_district_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "district_code", + "previousDataType" : "STRING(10)", + "previousFieldName" : "district_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 27, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "mrt_indicator", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_mrt_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "mrt_indicator", + "previousDataType" : "STRING(2)", + "previousFieldName" : "mrt_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 28, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "document_flag", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_document_flag", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "document_flag", + "previousDataType" : "STRING(2)", + "previousFieldName" : "document_flag", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { }, + "hasPrimaryKey" : false, + "hasTransformEx" : true, + "hasUnionIndex" : true, + "hasUpdateField" : false, + "id" : "69cb886fa6fb9b4275db230e", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_cpi_case_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_cpi_case_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "table", + "name" : "MDM_HPI_cpi_case", + "nodeId" : "23e63905-7abc-41e5-8c3b-177fe56007aa", + "original_name" : "MDM_HPI_cpi_case", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_MDM_HPI_cpi_case_695497a235a6fa171731395e_69cb8829bda877370a5efa38", + "source" : { + "_id" : "695497a235a6fa171731395e", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa171731395e", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "MDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "d844716b-01fe-4653-b8be-15ff43466dbb", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504238942, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "VIRTUAL", + "tableAttr" : { + "avgObjSize" : 588, + "capped" : false, + "ns" : "FDM.FDM_QMH_HPI_cpi_case", + "shard" : { }, + "size" : 5806147, + "storageSize" : 4096 + }, + "taskId" : "69cb8829bda877370a5efa38", + "transformUuid" : "1774946420398", + "user_id" : "69c6449cb9dbbccec453fb5f", + "username" : "cpicase-martin" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "FDM_TMH_HPI_cpi_case", + "comment" : "", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774946390575, + "createUser" : "cpicase-martin", + "databaseId" : "69549862aedd5fe4733b3966", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "case_no", + "previousDataType" : "STRING(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "patient_key", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "patient_key", + "previousDataType" : "STRING(16)", + "previousFieldName" : "patient_key", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "case_type", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_case_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "case_type", + "previousDataType" : "STRING(2)", + "previousFieldName" : "case_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "admission_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_admission_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "admission_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "admission_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "source_indicator", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_source_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "source_indicator", + "previousDataType" : "STRING(2)", + "previousFieldName" : "source_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "source_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_source_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(6)", + "original_field_name" : "source_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "source_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "patient_type", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_patient_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "patient_type", + "previousDataType" : "STRING(6)", + "previousFieldName" : "patient_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "discharge_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_discharge_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "discharge_code", + "previousDataType" : "STRING(2)", + "previousFieldName" : "discharge_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "discharge_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_discharge_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "discharge_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "discharge_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "destination_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_destination_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(6)", + "original_field_name" : "destination_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "destination_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_specialty", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_last_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "last_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_sub_specialty", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_last_sub_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_sub_specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "last_sub_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_ward_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_last_ward_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_ward_code", + "previousDataType" : "STRING(8)", + "previousFieldName" : "last_ward_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "last_ward_class", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_last_ward_class", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "last_ward_class", + "previousDataType" : "STRING(2)", + "previousFieldName" : "last_ward_class", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "last_bed_no", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_last_bed_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "last_bed_no", + "previousDataType" : "STRING(10)", + "previousFieldName" : "last_bed_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "pp_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_pp_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(16)", + "original_field_name" : "pp_code", + "previousDataType" : "STRING(16)", + "previousFieldName" : "pp_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "access_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_access_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "INT32", + "original_field_name" : "access_code", + "previousDataType" : "INT32", + "previousFieldName" : "access_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "createSource" : "auto", + "dataTypeTemp" : "STRING(4)", + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "status_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_status_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(4)", + "original_field_name" : "status_code", + "previousDataType" : "STRING(4)", + "previousFieldName" : "status_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "create_by", + "previousDataType" : "STRING(24)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "create_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "update_by", + "previousDataType" : "STRING(24)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 23, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "update_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 24, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "row_update_datetime", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_row_update_datetime", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "row_update_datetime", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "row_update_datetime", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 25, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "movement_count", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_movement_count", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "movement_count", + "previousDataType" : "INT32", + "previousFieldName" : "movement_count", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 26, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "district_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_district_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "district_code", + "previousDataType" : "STRING(10)", + "previousFieldName" : "district_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 27, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "mrt_indicator", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_mrt_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "mrt_indicator", + "previousDataType" : "STRING(2)", + "previousFieldName" : "mrt_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 28, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "document_flag", + "id" : "695497a235a6fa1717313957_FDM_TMH_HPI_cpi_case_document_flag", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "document_flag", + "previousDataType" : "STRING(2)", + "previousFieldName" : "document_flag", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : true, + "hasUpdateField" : false, + "id" : "69cb8856a6fb9b4275db22cc", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_cpi_case_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "table", + "name" : "FDM_TMH_HPI_cpi_case", + "nodeId" : "bdd79990-c07b-4dcc-86b6-265fcf59d997", + "original_name" : "FDM_TMH_HPI_cpi_case", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_FDM_TMH_HPI_cpi_case_695497a235a6fa1717313957_69cb8829bda877370a5efa38", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "5f5212c0-2fb9-4281-8ecb-72d883bd32b3", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504239647, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "VIRTUAL", + "tableAttr" : { + "capped" : false, + "ns" : "FDM.FDM_TMH_HPI_cpi_case", + "shard" : { }, + "size" : 0, + "storageSize" : 4096 + }, + "taskId" : "69cb8829bda877370a5efa38", + "transformUuid" : "1774946420398", + "user_id" : "69c6449cb9dbbccec453fb5f", + "username" : "cpicase-martin" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "FDM_QMH_HPI_cpi_case", + "comment" : "", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774946394328, + "createUser" : "cpicase-martin", + "databaseId" : "69549862aedd5fe4733b3966", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "case_no", + "previousDataType" : "STRING(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "patient_key", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_patient_key", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(16)", + "original_field_name" : "patient_key", + "previousDataType" : "STRING(16)", + "previousFieldName" : "patient_key", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "case_type", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_case_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(2)", + "original_field_name" : "case_type", + "previousDataType" : "STRING(2)", + "previousFieldName" : "case_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "admission_dtm", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_admission_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "admission_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "admission_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "source_indicator", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_source_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "source_indicator", + "previousDataType" : "STRING(2)", + "previousFieldName" : "source_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "source_code", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_source_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(6)", + "original_field_name" : "source_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "source_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "patient_type", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_patient_type", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "patient_type", + "previousDataType" : "STRING(6)", + "previousFieldName" : "patient_type", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "discharge_code", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_discharge_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "discharge_code", + "previousDataType" : "STRING(2)", + "previousFieldName" : "discharge_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "discharge_dtm", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_discharge_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "discharge_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "discharge_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "destination_code", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_destination_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(6)", + "original_field_name" : "destination_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "destination_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_specialty", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_last_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "last_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_sub_specialty", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_last_sub_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_sub_specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "last_sub_specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "last_ward_code", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_last_ward_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(8)", + "original_field_name" : "last_ward_code", + "previousDataType" : "STRING(8)", + "previousFieldName" : "last_ward_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "last_ward_class", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_last_ward_class", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "last_ward_class", + "previousDataType" : "STRING(2)", + "previousFieldName" : "last_ward_class", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "last_bed_no", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_last_bed_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "last_bed_no", + "previousDataType" : "STRING(10)", + "previousFieldName" : "last_bed_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "createSource" : "auto", + "dataTypeTemp" : "STRING(16)", + "data_type" : "STRING(16)", + "default_value" : null, + "field_name" : "pp_code", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_pp_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(16)", + "original_field_name" : "pp_code", + "previousDataType" : "STRING(16)", + "previousFieldName" : "pp_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "access_code", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_access_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "INT32", + "original_field_name" : "access_code", + "previousDataType" : "INT32", + "previousFieldName" : "access_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "createSource" : "auto", + "dataTypeTemp" : "STRING(4)", + "data_type" : "STRING(4)", + "default_value" : null, + "field_name" : "status_code", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_status_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(4)", + "original_field_name" : "status_code", + "previousDataType" : "STRING(4)", + "previousFieldName" : "status_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":4,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "create_by", + "previousDataType" : "STRING(24)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "create_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "update_by", + "previousDataType" : "STRING(24)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 23, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "update_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 24, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "row_update_datetime", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_row_update_datetime", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "row_update_datetime", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "row_update_datetime", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 25, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "movement_count", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_movement_count", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "INT32", + "original_field_name" : "movement_count", + "previousDataType" : "INT32", + "previousFieldName" : "movement_count", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 26, + "createSource" : "auto", + "dataTypeTemp" : "STRING(10)", + "data_type" : "STRING(10)", + "default_value" : null, + "field_name" : "district_code", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_district_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(10)", + "original_field_name" : "district_code", + "previousDataType" : "STRING(10)", + "previousFieldName" : "district_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":10,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 27, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "mrt_indicator", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_mrt_indicator", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "mrt_indicator", + "previousDataType" : "STRING(2)", + "previousFieldName" : "mrt_indicator", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 28, + "createSource" : "auto", + "dataTypeTemp" : "STRING(2)", + "data_type" : "STRING(2)", + "default_value" : null, + "field_name" : "document_flag", + "id" : "695497a235a6fa1717313957_FDM_QMH_HPI_cpi_case_document_flag", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(2)", + "original_field_name" : "document_flag", + "previousDataType" : "STRING(2)", + "previousFieldName" : "document_flag", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":2,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : true, + "hasUpdateField" : false, + "id" : "69cb885aa6fb9b4275db22d1", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_cpi_case_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "table", + "name" : "FDM_QMH_HPI_cpi_case", + "nodeId" : "bdd79990-c07b-4dcc-86b6-265fcf59d997", + "original_name" : "FDM_QMH_HPI_cpi_case", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_FDM_QMH_HPI_cpi_case_695497a235a6fa1717313957_69cb8829bda877370a5efa38", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "5f5212c0-2fb9-4281-8ecb-72d883bd32b3", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504239647, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "VIRTUAL", + "tableAttr" : { + "avgObjSize" : 588, + "capped" : false, + "ns" : "FDM.FDM_QMH_HPI_cpi_case", + "shard" : { }, + "size" : 5806147, + "storageSize" : 4096 + }, + "taskId" : "69cb8829bda877370a5efa38", + "transformUuid" : "1774946420398", + "user_id" : "69c6449cb9dbbccec453fb5f", + "username" : "cpicase-martin" + } +} ] \ No newline at end of file diff --git a/case-team_tapdata_export/Task/UNION_discharge_information_MigrateTask.json b/case-team_tapdata_export/Task/UNION_discharge_information_MigrateTask.json new file mode 100644 index 0000000..9f202e9 --- /dev/null +++ b/case-team_tapdata_export/Task/UNION_discharge_information_MigrateTask.json @@ -0,0 +1,3064 @@ +[ { + "collectionName" : "Task", + "json" : { + "_deleted" : false, + "accessNodeProcessId" : "", + "accessNodeProcessIdList" : [ ], + "accessNodeType" : "AUTOMATIC_PLATFORM_ALLOCATION", + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "TASK_INCREMENT_DELAY", + "ms" : 60000, + "point" : 60, + "times" : 0 + }, { + "equalsFlag" : 0, + "key" : "TASK_RETRY_WARN", + "ms" : 0, + "point" : 0, + "times" : 10 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "TASK_STATUS_ERROR", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 1, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_FULL_COMPLETE", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 3, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_INCREMENT_START", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 4, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_INCREMENT_DELAY", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 6, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_INSPECT_DIFFERENCE", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 1, + "type" : "TASK", + "unit" : "SECOND" + }, { + "interval" : 300, + "key" : "TASK_RETRY_WARN", + "notify" : [ "SYSTEM" ], + "open" : true, + "sort" : 4, + "type" : "TASK", + "unit" : "SECOND" + } ], + "attrs" : { }, + "autoIncrementalBatchSize" : true, + "autoInspect" : false, + "blankLog" : false, + "canOpenInspect" : false, + "cdctask" : false, + "checkMemoryHeap" : false, + "createTime" : 1774946447230, + "createUser" : "cpicase-martin", + "crontabExpressionFlag" : false, + "dag" : { + "edges" : [ { + "disabled" : false, + "source" : "b65e3821-cc20-4ec9-b9e3-0ae2918c25e6", + "target" : "8d7fca2a-e911-481f-a3e1-c0d812d5c593" + }, { + "disabled" : false, + "source" : "ef325623-07ee-46e5-a556-73bc3f453bc4", + "target" : "b65e3821-cc20-4ec9-b9e3-0ae2918c25e6" + } ], + "nodes" : [ { + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "PROCESSNODE_AVERAGE_HANDLE_CONSUME", + "ms" : 30000, + "point" : 60, + "times" : 0 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "PROCESSNODE_AVERAGE_HANDLE_CONSUME", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 1, + "type" : "PROCESSNODE", + "unit" : "SECOND" + } ], + "attrs" : { + "position" : [ 330, 50 ] + }, + "catalog" : "processor", + "concurrentNum" : 2, + "disabled" : false, + "elementType" : "Node", + "id" : "b65e3821-cc20-4ec9-b9e3-0ae2918c25e6", + "isTransformed" : false, + "name" : "多表合并", + "tableName" : "MDM_CMSIP_discharge_information", + "type" : "migrate_union_processor" + }, { + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "DATANODE_AVERAGE_HANDLE_CONSUME", + "ms" : 5000, + "point" : 12, + "times" : 0 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "DATANODE_AVERAGE_HANDLE_CONSUME", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 4, + "type" : "DATANODE", + "unit" : "SECOND" + } ], + "applyCompareRule" : false, + "attrs" : { + "accessNodeProcessId" : "", + "accessNodeType" : "AUTOMATIC_PLATFORM_ALLOCATION", + "capabilities" : [ { + "id" : "source_incremental_update_event_have_before", + "type" : 20 + }, { + "id" : "execute_command_function", + "type" : 11 + }, { + "id" : "batch_read_function", + "type" : 11 + }, { + "id" : "stream_read_function", + "type" : 11 + }, { + "id" : "batch_count_function", + "type" : 11 + }, { + "id" : "timestamp_to_stream_offset_function", + "type" : 11 + }, { + "id" : "write_record_function", + "type" : 11 + }, { + "id" : "query_by_advance_filter_function", + "type" : 11 + }, { + "id" : "create_table_v2_function", + "type" : 11 + }, { + "id" : "drop_table_function", + "type" : 11 + }, { + "id" : "create_index_function", + "type" : 11 + }, { + "id" : "query_indexes_function", + "type" : 11 + }, { + "id" : "count_by_partition_filter_function", + "type" : 11 + }, { + "id" : "get_read_partitions_function", + "type" : 11 + }, { + "id" : "query_field_min_max_value_function", + "type" : 11 + }, { + "id" : "transaction_begin_function", + "type" : 11 + }, { + "id" : "transaction_commit_function", + "type" : 11 + }, { + "id" : "transaction_rollback_function", + "type" : 11 + }, { + "id" : "get_table_info_function", + "type" : 11 + }, { + "id" : "get_table_names_function", + "type" : 11 + }, { + "id" : "error_handle_function", + "type" : 11 + }, { + "id" : "master_slave_merge", + "type" : 20 + }, { + "id" : "dynamic_schema", + "type" : 20 + }, { + "alternatives" : [ "update_on_exists", "ignore_on_exists", "just_insert" ], + "id" : "dml_insert_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_on_nonexists", "insert_on_nonexists", "log_on_nonexists" ], + "id" : "dml_update_policy", + "type" : 20 + }, { + "id" : "api_server_supported", + "type" : 20 + }, { + "id" : "source_support_exactly_once", + "type" : 20 + } ], + "connectionName" : "MDM", + "connectionTags" : [ "schema-free", "Database", "doubleActive" ], + "connectionType" : "source_and_target", + "db_version" : "8.0.9", + "pdkHash" : "4335aaa005ec1a74a4e2166bded2962e939ad50239f48b023b884f35b54129a5", + "pdkType" : "pdk", + "position" : [ 610, 50 ] + }, + "catalog" : "data", + "compareIgnoreCase" : false, + "concurrentReadThreadNumber" : 0, + "connectionId" : "695497a235a6fa171731395e", + "databaseType" : "MongoDB", + "disabled" : false, + "dmlPolicy" : { + "insertPolicy" : "update_on_exists", + "updatePolicy" : "ignore_on_nonexists" + }, + "elementType" : "Node", + "enableConcurrentRead" : false, + "existDataProcessMode" : "dropTable", + "id" : "8d7fca2a-e911-481f-a3e1-c0d812d5c593", + "ignoreMetrics" : false, + "increaseReadSize" : 1, + "incrementExactlyOnceEnable" : false, + "incrementExactlyOnceEnableTimeWindowDay" : 3, + "isTransformed" : false, + "migrateTableSelectType" : "custom", + "name" : "MDM", + "noPkSyncMode" : "ADD_HASH", + "nodeConfig" : { + "enableSaveDeleteData" : false, + "preImage4Sink" : false, + "shardCollection" : false, + "syncIndex" : false, + "timeSeriesCollection" : false, + "writeConcern" : "w1" + }, + "readBatchSize" : 500, + "syncForeignKeyEnable" : true, + "syncObjects" : [ { + "objectNames" : [ "FDM_QMH_CMSIP_discharge_information", "FDM_TMH_CMSIP_discharge_information" ], + "tableNameRelation" : { + "FDM_QMH_CMSIP_discharge_information" : "FDM_QMH_CMSIP_discharge_information", + "FDM_TMH_CMSIP_discharge_information" : "FDM_TMH_CMSIP_discharge_information" + }, + "type" : "table" + } ], + "type" : "database", + "uniqueIndexEnable" : true, + "updateConditionFieldMap" : { }, + "writeBatchSize" : 100, + "writeBatchWaitMs" : 500, + "writeStrategy" : "updateOrInsert" + }, { + "alarmRules" : [ { + "equalsFlag" : 1, + "key" : "DATANODE_AVERAGE_HANDLE_CONSUME", + "ms" : 5000, + "point" : 12, + "times" : 0 + } ], + "alarmSettings" : [ { + "interval" : 300, + "key" : "DATANODE_AVERAGE_HANDLE_CONSUME", + "notify" : [ "SYSTEM", "EMAIL" ], + "open" : true, + "sort" : 4, + "type" : "DATANODE", + "unit" : "SECOND" + } ], + "applyCompareRule" : false, + "attrs" : { + "accessNodeProcessId" : "", + "accessNodeType" : "AUTOMATIC_PLATFORM_ALLOCATION", + "capabilities" : [ { + "id" : "source_incremental_update_event_have_before", + "type" : 20 + }, { + "id" : "execute_command_function", + "type" : 11 + }, { + "id" : "batch_read_function", + "type" : 11 + }, { + "id" : "stream_read_function", + "type" : 11 + }, { + "id" : "batch_count_function", + "type" : 11 + }, { + "id" : "timestamp_to_stream_offset_function", + "type" : 11 + }, { + "id" : "write_record_function", + "type" : 11 + }, { + "id" : "query_by_advance_filter_function", + "type" : 11 + }, { + "id" : "create_table_v2_function", + "type" : 11 + }, { + "id" : "drop_table_function", + "type" : 11 + }, { + "id" : "create_index_function", + "type" : 11 + }, { + "id" : "query_indexes_function", + "type" : 11 + }, { + "id" : "count_by_partition_filter_function", + "type" : 11 + }, { + "id" : "get_read_partitions_function", + "type" : 11 + }, { + "id" : "query_field_min_max_value_function", + "type" : 11 + }, { + "id" : "transaction_begin_function", + "type" : 11 + }, { + "id" : "transaction_commit_function", + "type" : 11 + }, { + "id" : "transaction_rollback_function", + "type" : 11 + }, { + "id" : "get_table_info_function", + "type" : 11 + }, { + "id" : "get_table_names_function", + "type" : 11 + }, { + "id" : "error_handle_function", + "type" : 11 + }, { + "id" : "master_slave_merge", + "type" : 20 + }, { + "id" : "dynamic_schema", + "type" : 20 + }, { + "alternatives" : [ "update_on_exists", "ignore_on_exists", "just_insert" ], + "id" : "dml_insert_policy", + "type" : 20 + }, { + "alternatives" : [ "ignore_on_nonexists", "insert_on_nonexists", "log_on_nonexists" ], + "id" : "dml_update_policy", + "type" : 20 + }, { + "id" : "api_server_supported", + "type" : 20 + }, { + "id" : "source_support_exactly_once", + "type" : 20 + } ], + "connectionName" : "FDM", + "connectionTags" : [ "schema-free", "Database", "doubleActive" ], + "connectionType" : "source_and_target", + "db_version" : "8.0.9", + "pdkHash" : "4335aaa005ec1a74a4e2166bded2962e939ad50239f48b023b884f35b54129a5", + "pdkType" : "pdk", + "position" : [ 50, 50 ] + }, + "catalog" : "data", + "compareIgnoreCase" : false, + "concurrentReadThreadNumber" : 0, + "connectionId" : "695497a235a6fa1717313957", + "databaseType" : "MongoDB", + "ddlConfiguration" : "FILTER", + "disabled" : false, + "elementType" : "Node", + "enableConcurrentRead" : false, + "existDataProcessMode" : "keepData", + "id" : "ef325623-07ee-46e5-a556-73bc3f453bc4", + "ignoreMetrics" : false, + "increaseReadSize" : 1, + "incrementExactlyOnceEnableTimeWindowDay" : 3, + "isTransformed" : false, + "migrateTableSelectType" : "expression", + "name" : "FDM", + "noPkSyncMode" : "ADD_HASH", + "noPrimaryKeyTableSelectType" : "HasKeys", + "nodeConfig" : { + "enableFillingModifiedData" : false, + "noCursorTimeout" : false, + "preImage" : true, + "writeConcern" : "w1" + }, + "readBatchSize" : 100, + "readPartitionOptions" : { + "enable" : false, + "hasKVStorage" : true, + "maxRecordInPartition" : 200000, + "minMaxSplitPieces" : 100, + "partitionBatchCount" : 3000, + "partitionThreadCount" : 8, + "splitType" : 10 + }, + "syncForeignKeyEnable" : true, + "tableExpression" : "FDM_.*_CMSIP_discharge_information", + "tableNames" : [ "FDM_QMH_CMSIP_discharge_information", "FDM_TMH_CMSIP_discharge_information" ], + "type" : "database", + "writeStrategy" : "updateOrInsert" + } ] + }, + "dataSaving" : true, + "deduceSchemaTask" : false, + "deduplicWriteMode" : "intelligent", + "desc" : "", + "doubleActive" : false, + "dynamicAdjustMemoryUsage" : false, + "emailReceivers" : [ ], + "enforceShareCdc" : true, + "fileLog" : false, + "id" : "69cb888fbda877370a5efb80", + "increHysteresis" : false, + "increOperationMode" : false, + "increSyncConcurrency" : false, + "increaseReadSize" : 1, + "initialSyncTask" : true, + "isAutoCreateIndex" : true, + "isAutoInspect" : false, + "isEdit" : true, + "isFilter" : false, + "isOpenAutoDDL" : false, + "isSchedule" : false, + "isStopOnError" : true, + "listtags" : [ { + "id" : "69b90c2c8dd517882461f593", + "value" : "dmp union mdm" + } ], + "name" : "UNION_discharge_information", + "normalTask" : true, + "oldVersionTimezone" : false, + "planStartDateFlag" : false, + "preview" : false, + "previewTask" : false, + "processorThreadNum" : 1, + "reFullRun" : false, + "readBatchSize" : 500, + "restartFlag" : false, + "shareCache" : false, + "shareCdcEnable" : false, + "showInspectTips" : false, + "snapShotInterrupt" : false, + "status" : "edit", + "statuses" : [ ], + "syncPoints" : [ { + "connectionId" : "695497a235a6fa1717313957", + "connectionName" : "FDM", + "isStreamOffset" : false, + "nodeId" : "ef325623-07ee-46e5-a556-73bc3f453bc4", + "nodeName" : "FDM", + "pointType" : "current", + "timeZone" : "+8" + } ], + "syncStatus" : "", + "syncType" : "migrate", + "testTask" : false, + "testUsingPreview" : false, + "transformDagHash" : 0, + "transformProcess" : 0.0, + "type" : "initial_sync+cdc", + "user_id" : "69c6449cb9dbbccec453fb5f", + "writeBatchSize" : 0, + "writeBatchWaitMs" : 0, + "writeThreadSize" : 8 + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "MDM_CMSIP_discharge_information", + "comment" : "", + "constraints" : [ ], + "createSource" : "job_analyze", + "createTime" : 1774946492881, + "createUser" : "cpicase-martin", + "databaseId" : "69549862aedd5fe4733b3966", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "mo_in_charge_id", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_mo_in_charge_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "mo_in_charge_id", + "previousDataType" : "STRING(12)", + "previousFieldName" : "mo_in_charge_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "specialty", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(8)", + "original_field_name" : "specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "case_no", + "previousDataType" : "STRING(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "createSource" : "auto", + "dataTypeTemp" : "STRING(5)", + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "discharge_destination", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_discharge_destination", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "discharge_destination", + "previousDataType" : "STRING(5)", + "previousFieldName" : "discharge_destination", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "update_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "STRING(5)", + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "admit_team", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_admit_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "admit_team", + "previousDataType" : "STRING(5)", + "previousFieldName" : "admit_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "discharge_physician", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_discharge_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "discharge_physician", + "previousDataType" : "STRING(12)", + "previousFieldName" : "discharge_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "admit_doctor", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_admit_doctor", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "admit_doctor", + "previousDataType" : "STRING(12)", + "previousFieldName" : "admit_doctor", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "createSource" : "auto", + "dataTypeTemp" : "STRING(5)", + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "discharge_team", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_discharge_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "discharge_team", + "previousDataType" : "STRING(5)", + "previousFieldName" : "discharge_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "expected_discharge_date", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_expected_discharge_date", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "expected_discharge_date", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "expected_discharge_date", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "admit_mode", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_admit_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "INT32", + "original_field_name" : "admit_mode", + "previousDataType" : "INT32", + "previousFieldName" : "admit_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "create_by", + "previousDataType" : "STRING(12)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "createSource" : "auto", + "dataTypeTemp" : "STRING(1)", + "data_type" : "STRING(1)", + "default_value" : null, + "field_name" : "discharge_mode", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_discharge_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(1)", + "original_field_name" : "discharge_mode", + "previousDataType" : "STRING(1)", + "previousFieldName" : "discharge_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":1,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "sick_leave_from_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_sick_leave_from_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "sick_leave_from_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "sick_leave_from_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "specialist_ic", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_specialist_ic", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "specialist_ic", + "previousDataType" : "STRING(12)", + "previousFieldName" : "specialist_ic", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "create_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 0, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "update_by", + "previousDataType" : "STRING(12)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "sick_leave_to_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_sick_leave_to_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "sick_leave_to_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "sick_leave_to_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "admit_physician", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_admit_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "admit_physician", + "previousDataType" : "STRING(12)", + "previousFieldName" : "admit_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "ho_id", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_ho_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "ho_id", + "previousDataType" : "STRING(12)", + "previousFieldName" : "ho_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "createSource" : "auto", + "dataTypeTemp" : "BINARY", + "data_type" : "BINARY", + "default_value" : null, + "field_name" : "timestamp", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_timestamp", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "BINARY", + "original_field_name" : "timestamp", + "previousDataType" : "BINARY", + "previousFieldName" : "timestamp", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "bytea", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16777215,\"type\":9}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : true, + "hasUpdateField" : false, + "id" : "69cb88bca6fb9b4275db237d", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_discharge_information_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_discharge_information_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "processor_node", + "name" : "MDM_CMSIP_discharge_information", + "nodeId" : "b65e3821-cc20-4ec9-b9e3-0ae2918c25e6", + "original_name" : "MDM_CMSIP_discharge_information", + "partitionSet" : [ ], + "qualified_name" : "PN_b65e3821-cc20-4ec9-b9e3-0ae2918c25e6_MDM_CMSIP_discharge_information", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "5f5212c0-2fb9-4281-8ecb-72d883bd32b3", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504239647, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "VIRTUAL", + "tableAttr" : { + "avgObjSize" : 451, + "capped" : false, + "ns" : "FDM.FDM_QMH_CMSIP_discharge_information", + "shard" : { }, + "size" : 4517457, + "storageSize" : 659456 + }, + "taskId" : "69cb888fbda877370a5efb80", + "transformUuid" : "1774946512399", + "user_id" : "69c6449cb9dbbccec453fb5f", + "username" : "cpicase-martin" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "MDM_CMSIP_discharge_information", + "comment" : "", + "constraints" : [ ], + "createSource" : "job_analyze", + "createTime" : 1774946496170, + "createUser" : "cpicase-martin", + "databaseId" : "69549865aedd5fe4733b3c1d", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "case_no", + "previousDataType" : "STRING(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "specialty", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(8)", + "original_field_name" : "specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "ho_id", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_ho_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "ho_id", + "previousDataType" : "STRING(12)", + "previousFieldName" : "ho_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "mo_in_charge_id", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_mo_in_charge_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "mo_in_charge_id", + "previousDataType" : "STRING(12)", + "previousFieldName" : "mo_in_charge_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "create_by", + "previousDataType" : "STRING(12)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "create_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "update_by", + "previousDataType" : "STRING(12)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "update_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "specialist_ic", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_specialist_ic", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "specialist_ic", + "previousDataType" : "STRING(12)", + "previousFieldName" : "specialist_ic", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "admit_mode", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_admit_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "INT32", + "original_field_name" : "admit_mode", + "previousDataType" : "INT32", + "previousFieldName" : "admit_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "STRING(5)", + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "admit_team", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_admit_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "admit_team", + "previousDataType" : "STRING(5)", + "previousFieldName" : "admit_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "admit_physician", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_admit_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "admit_physician", + "previousDataType" : "STRING(12)", + "previousFieldName" : "admit_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "admit_doctor", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_admit_doctor", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "admit_doctor", + "previousDataType" : "STRING(12)", + "previousFieldName" : "admit_doctor", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "expected_discharge_date", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_expected_discharge_date", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "expected_discharge_date", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "expected_discharge_date", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "createSource" : "auto", + "dataTypeTemp" : "STRING(1)", + "data_type" : "STRING(1)", + "default_value" : null, + "field_name" : "discharge_mode", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_discharge_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(1)", + "original_field_name" : "discharge_mode", + "previousDataType" : "STRING(1)", + "previousFieldName" : "discharge_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":1,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "createSource" : "auto", + "dataTypeTemp" : "STRING(5)", + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "discharge_destination", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_discharge_destination", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "discharge_destination", + "previousDataType" : "STRING(5)", + "previousFieldName" : "discharge_destination", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "createSource" : "auto", + "dataTypeTemp" : "STRING(5)", + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "discharge_team", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_discharge_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "discharge_team", + "previousDataType" : "STRING(5)", + "previousFieldName" : "discharge_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "discharge_physician", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_discharge_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "discharge_physician", + "previousDataType" : "STRING(12)", + "previousFieldName" : "discharge_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "createSource" : "auto", + "dataTypeTemp" : "BINARY", + "data_type" : "BINARY", + "default_value" : null, + "field_name" : "timestamp", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_timestamp", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "BINARY", + "original_field_name" : "timestamp", + "previousDataType" : "BINARY", + "previousFieldName" : "timestamp", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "bytea", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16777215,\"type\":9}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "sick_leave_from_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_sick_leave_from_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "sick_leave_from_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "sick_leave_from_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "sick_leave_to_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_sick_leave_to_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "sick_leave_to_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "sick_leave_to_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { }, + "hasPrimaryKey" : false, + "hasTransformEx" : true, + "hasUnionIndex" : true, + "hasUpdateField" : false, + "id" : "69cb88c0a6fb9b4275db2381", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_discharge_information_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + }, { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_discharge_information_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "table", + "name" : "MDM_CMSIP_discharge_information", + "nodeId" : "8d7fca2a-e911-481f-a3e1-c0d812d5c593", + "original_name" : "MDM_CMSIP_discharge_information", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_MDM_CMSIP_discharge_information_695497a235a6fa171731395e_69cb888fbda877370a5efb80", + "source" : { + "_id" : "695497a235a6fa171731395e", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa171731395e", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "MDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "d844716b-01fe-4653-b8be-15ff43466dbb", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504238942, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "VIRTUAL", + "tableAttr" : { + "avgObjSize" : 451, + "capped" : false, + "ns" : "FDM.FDM_QMH_CMSIP_discharge_information", + "shard" : { }, + "size" : 4517457, + "storageSize" : 659456 + }, + "taskId" : "69cb888fbda877370a5efb80", + "transformUuid" : "1774946512399", + "user_id" : "69c6449cb9dbbccec453fb5f", + "username" : "cpicase-martin" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "FDM_TMH_CMSIP_discharge_information", + "comment" : "", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774946464944, + "createUser" : "cpicase-martin", + "databaseId" : "69549862aedd5fe4733b3966", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "case_no", + "previousDataType" : "STRING(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "specialty", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(8)", + "original_field_name" : "specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "ho_id", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_ho_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "ho_id", + "previousDataType" : "STRING(12)", + "previousFieldName" : "ho_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "mo_in_charge_id", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_mo_in_charge_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "mo_in_charge_id", + "previousDataType" : "STRING(12)", + "previousFieldName" : "mo_in_charge_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "create_by", + "previousDataType" : "STRING(12)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "create_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "update_by", + "previousDataType" : "STRING(12)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "update_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "specialist_ic", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_specialist_ic", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "specialist_ic", + "previousDataType" : "STRING(12)", + "previousFieldName" : "specialist_ic", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "admit_mode", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_admit_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "INT32", + "original_field_name" : "admit_mode", + "previousDataType" : "INT32", + "previousFieldName" : "admit_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "STRING(5)", + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "admit_team", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_admit_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "admit_team", + "previousDataType" : "STRING(5)", + "previousFieldName" : "admit_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "admit_physician", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_admit_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "admit_physician", + "previousDataType" : "STRING(12)", + "previousFieldName" : "admit_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "admit_doctor", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_admit_doctor", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "admit_doctor", + "previousDataType" : "STRING(12)", + "previousFieldName" : "admit_doctor", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "expected_discharge_date", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_expected_discharge_date", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "expected_discharge_date", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "expected_discharge_date", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "createSource" : "auto", + "dataTypeTemp" : "STRING(1)", + "data_type" : "STRING(1)", + "default_value" : null, + "field_name" : "discharge_mode", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_discharge_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(1)", + "original_field_name" : "discharge_mode", + "previousDataType" : "STRING(1)", + "previousFieldName" : "discharge_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":1,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "createSource" : "auto", + "dataTypeTemp" : "STRING(5)", + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "discharge_destination", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_discharge_destination", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "discharge_destination", + "previousDataType" : "STRING(5)", + "previousFieldName" : "discharge_destination", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "createSource" : "auto", + "dataTypeTemp" : "STRING(5)", + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "discharge_team", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_discharge_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "discharge_team", + "previousDataType" : "STRING(5)", + "previousFieldName" : "discharge_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "discharge_physician", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_discharge_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "discharge_physician", + "previousDataType" : "STRING(12)", + "previousFieldName" : "discharge_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "createSource" : "auto", + "dataTypeTemp" : "BINARY", + "data_type" : "BINARY", + "default_value" : null, + "field_name" : "timestamp", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_timestamp", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "BINARY", + "original_field_name" : "timestamp", + "previousDataType" : "BINARY", + "previousFieldName" : "timestamp", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "bytea", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16777215,\"type\":9}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "sick_leave_from_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_sick_leave_from_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "sick_leave_from_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "sick_leave_from_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "sick_leave_to_dtm", + "id" : "695497a235a6fa1717313957_FDM_TMH_CMSIP_discharge_information_sick_leave_to_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "sick_leave_to_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "sick_leave_to_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : true, + "hasUpdateField" : false, + "id" : "69cb88a1a6fb9b4275db2366", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_discharge_information_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "table", + "name" : "FDM_TMH_CMSIP_discharge_information", + "nodeId" : "ef325623-07ee-46e5-a556-73bc3f453bc4", + "original_name" : "FDM_TMH_CMSIP_discharge_information", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_FDM_TMH_CMSIP_discharge_information_695497a235a6fa1717313957_69cb888fbda877370a5efb80", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "5f5212c0-2fb9-4281-8ecb-72d883bd32b3", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504239647, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "VIRTUAL", + "tableAttr" : { + "avgObjSize" : 451, + "capped" : false, + "ns" : "FDM.FDM_TMH_CMSIP_discharge_information", + "shard" : { }, + "size" : 4517911, + "storageSize" : 671744 + }, + "taskId" : "69cb888fbda877370a5efb80", + "transformUuid" : "1774946512399", + "user_id" : "69c6449cb9dbbccec453fb5f", + "username" : "cpicase-martin" + } +}, { + "collectionName" : "MetadataInstances", + "json" : { + "ancestorsName" : "FDM_QMH_CMSIP_discharge_information", + "comment" : "", + "constraints" : [ ], + "createSource" : "auto", + "createTime" : 1774946468658, + "createUser" : "cpicase-martin", + "databaseId" : "69549862aedd5fe4733b3966", + "dev_version" : 1, + "fields" : [ { + "autoincrement" : "NO", + "columnPosition" : 0, + "createSource" : "job_analyze", + "dataTypeTemp" : "OBJECT_ID", + "data_type" : "OBJECT_ID", + "default_value" : null, + "field_name" : "_id", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information__id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "OBJECT_ID", + "original_field_name" : "_id", + "previousDataType" : "OBJECT_ID", + "previousFieldName" : "_id", + "primaryKey" : false, + "source" : "job_analyze", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 1, + "createSource" : "auto", + "dataTypeTemp" : "STRING(6)", + "data_type" : "STRING(6)", + "default_value" : null, + "field_name" : "hospital_code", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_hospital_code", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(6)", + "original_field_name" : "hospital_code", + "previousDataType" : "STRING(6)", + "previousFieldName" : "hospital_code", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":6,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 2, + "createSource" : "auto", + "dataTypeTemp" : "STRING(24)", + "data_type" : "STRING(24)", + "default_value" : null, + "field_name" : "case_no", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_case_no", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(24)", + "original_field_name" : "case_no", + "previousDataType" : "STRING(24)", + "previousFieldName" : "case_no", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":24,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 3, + "createSource" : "auto", + "dataTypeTemp" : "STRING(8)", + "data_type" : "STRING(8)", + "default_value" : null, + "field_name" : "specialty", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_specialty", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(8)", + "original_field_name" : "specialty", + "previousDataType" : "STRING(8)", + "previousFieldName" : "specialty", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":8,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 4, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "ho_id", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_ho_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "ho_id", + "previousDataType" : "STRING(12)", + "previousFieldName" : "ho_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 5, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "mo_in_charge_id", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_mo_in_charge_id", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "mo_in_charge_id", + "previousDataType" : "STRING(12)", + "previousFieldName" : "mo_in_charge_id", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 6, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "create_by", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_create_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "create_by", + "previousDataType" : "STRING(12)", + "previousFieldName" : "create_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 7, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "create_dtm", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_create_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "DATE_TIME", + "original_field_name" : "create_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "create_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 8, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "update_by", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_update_by", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "update_by", + "previousDataType" : "STRING(12)", + "previousFieldName" : "update_by", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 9, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "update_dtm", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_update_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "update_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "update_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 10, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "specialist_ic", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_specialist_ic", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : false, + "originalDataType" : "STRING(12)", + "original_field_name" : "specialist_ic", + "previousDataType" : "STRING(12)", + "previousFieldName" : "specialist_ic", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 11, + "createSource" : "auto", + "dataTypeTemp" : "INT32", + "data_type" : "INT32", + "default_value" : null, + "field_name" : "admit_mode", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_admit_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "INT32", + "original_field_name" : "admit_mode", + "previousDataType" : "INT32", + "previousFieldName" : "admit_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "integer", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bit\":32,\"maxValue\":2147483647,\"minValue\":-2147483648,\"precision\":10,\"type\":8}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 12, + "createSource" : "auto", + "dataTypeTemp" : "STRING(5)", + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "admit_team", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_admit_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "admit_team", + "previousDataType" : "STRING(5)", + "previousFieldName" : "admit_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 13, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "admit_physician", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_admit_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "admit_physician", + "previousDataType" : "STRING(12)", + "previousFieldName" : "admit_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 14, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "admit_doctor", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_admit_doctor", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "admit_doctor", + "previousDataType" : "STRING(12)", + "previousFieldName" : "admit_doctor", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 15, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "expected_discharge_date", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_expected_discharge_date", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "expected_discharge_date", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "expected_discharge_date", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 16, + "createSource" : "auto", + "dataTypeTemp" : "STRING(1)", + "data_type" : "STRING(1)", + "default_value" : null, + "field_name" : "discharge_mode", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_discharge_mode", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(1)", + "original_field_name" : "discharge_mode", + "previousDataType" : "STRING(1)", + "previousFieldName" : "discharge_mode", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":1,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 17, + "createSource" : "auto", + "dataTypeTemp" : "STRING(5)", + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "discharge_destination", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_discharge_destination", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "discharge_destination", + "previousDataType" : "STRING(5)", + "previousFieldName" : "discharge_destination", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 18, + "createSource" : "auto", + "dataTypeTemp" : "STRING(5)", + "data_type" : "STRING(5)", + "default_value" : null, + "field_name" : "discharge_team", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_discharge_team", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(5)", + "original_field_name" : "discharge_team", + "previousDataType" : "STRING(5)", + "previousFieldName" : "discharge_team", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":5,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 19, + "createSource" : "auto", + "dataTypeTemp" : "STRING(12)", + "data_type" : "STRING(12)", + "default_value" : null, + "field_name" : "discharge_physician", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_discharge_physician", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "STRING(12)", + "original_field_name" : "discharge_physician", + "previousDataType" : "STRING(12)", + "previousFieldName" : "discharge_physician", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "character varying", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":12,\"type\":10}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 20, + "createSource" : "auto", + "dataTypeTemp" : "BINARY", + "data_type" : "BINARY", + "default_value" : null, + "field_name" : "timestamp", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_timestamp", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "BINARY", + "original_field_name" : "timestamp", + "previousDataType" : "BINARY", + "previousFieldName" : "timestamp", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "bytea", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"bytes\":16777215,\"type\":9}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 21, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "sick_leave_from_dtm", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_sick_leave_from_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "sick_leave_from_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "sick_leave_from_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + }, { + "autoincrement" : "NO", + "columnPosition" : 22, + "createSource" : "auto", + "dataTypeTemp" : "DATE_TIME", + "data_type" : "DATE_TIME", + "default_value" : null, + "field_name" : "sick_leave_to_dtm", + "id" : "695497a235a6fa1717313957_FDM_QMH_CMSIP_discharge_information_sick_leave_to_dtm", + "is_auto_allowed" : true, + "is_deleted" : false, + "is_nullable" : true, + "originalDataType" : "DATE_TIME", + "original_field_name" : "sick_leave_to_dtm", + "previousDataType" : "DATE_TIME", + "previousFieldName" : "sick_leave_to_dtm", + "primaryKey" : false, + "primary_key_position" : 0, + "pure_data_type" : "timestamp without time zone", + "source" : "auto", + "sourceDbType" : "MongoDB", + "tapType" : "{\"defaultFraction\":3,\"fraction\":3,\"max\":\"9999-12-31T23:59:59.999Z\",\"min\":\"1000-01-01T00:00:00.001Z\",\"type\":1}", + "unique" : false, + "useDefaultValue" : true + } ], + "findPossibleDataTypes" : { }, + "hasPrimaryKey" : false, + "hasTransformEx" : false, + "hasUnionIndex" : true, + "hasUpdateField" : false, + "id" : "69cb88a4a6fb9b4275db236e", + "indices" : [ { + "columns" : [ { + "columnIsAsc" : true, + "columnName" : "hospital_code", + "columnPosition" : 0 + }, { + "columnIsAsc" : true, + "columnName" : "case_no", + "columnPosition" : 0 + } ], + "coreUnique" : false, + "indexName" : "IDX_discharge_information_hospital_code_case_no", + "primaryKey" : "false", + "unique" : true + } ], + "is_deleted" : false, + "meta_type" : "table", + "name" : "FDM_QMH_CMSIP_discharge_information", + "nodeId" : "ef325623-07ee-46e5-a556-73bc3f453bc4", + "original_name" : "FDM_QMH_CMSIP_discharge_information", + "partitionSet" : [ ], + "qualified_name" : "T_mongodb_io_tapdata_1_0-SNAPSHOT_FDM_QMH_CMSIP_discharge_information_695497a235a6fa1717313957_69cb888fbda877370a5efb80", + "source" : { + "_id" : "695497a235a6fa1717313957", + "agentTags" : [ ], + "connection_type" : "source_and_target", + "createUser" : "admin@admin.com", + "database_type" : "MongoDB", + "database_uri" : "mongodb://null/null", + "db_version" : "8.0.9", + "everLoadSchema" : true, + "id" : "695497a235a6fa1717313957", + "kafkaAcks" : "-1", + "kafkaCompressionType" : "", + "kafkaIgnoreInvalidRecord" : false, + "kafkaIgnorePushError" : false, + "lastUpdBy" : "62bc5008d4958d013d97c7a6", + "loadCount" : 0, + "loadFieldErrMsg" : "", + "loadFieldsStatus" : "finished", + "loadSchemaField" : true, + "name" : "FDM", + "plain_password" : "", + "project" : "", + "retry" : 0, + "schemaVersion" : "5f5212c0-2fb9-4281-8ecb-72d883bd32b3", + "status" : "ready", + "submit" : true, + "tableCount" : 0, + "testTime" : 1774504239647, + "transformed" : true, + "user_id" : "62bc5008d4958d013d97c7a6" + }, + "sourceType" : "VIRTUAL", + "tableAttr" : { + "avgObjSize" : 451, + "capped" : false, + "ns" : "FDM.FDM_QMH_CMSIP_discharge_information", + "shard" : { }, + "size" : 4517457, + "storageSize" : 659456 + }, + "taskId" : "69cb888fbda877370a5efb80", + "transformUuid" : "1774946512399", + "user_id" : "69c6449cb9dbbccec453fb5f", + "username" : "cpicase-martin" + } +} ] \ No newline at end of file diff --git a/case-team_tapdata_export/User/RoleMappings.json b/case-team_tapdata_export/User/RoleMappings.json new file mode 100644 index 0000000..d8f7d8a --- /dev/null +++ b/case-team_tapdata_export/User/RoleMappings.json @@ -0,0 +1,1927 @@ +[ { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69ca2767a6fb9b4275da76e6", + "principalId" : "69c6449cb9dbbccec453fb5f", + "principalType" : "USER", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527911", + "principalId" : "data_search", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527912", + "principalId" : "log_collector_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527913", + "principalId" : "API_data_explorer_tagging", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527914", + "principalId" : "API_doc_test_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527915", + "principalId" : "API_doc_test", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527916", + "principalId" : "API_doc_test_export", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527917", + "principalId" : "API_stats_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527918", + "principalId" : "API_stats", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527919", + "principalId" : "API_clients_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152791a", + "principalId" : "API_clients", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152791b", + "principalId" : "API_clients_amangement", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152791c", + "principalId" : "API_server_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152791d", + "principalId" : "notice", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152791e", + "principalId" : "API_server", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152791f", + "principalId" : "API_server_management", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527920", + "principalId" : "data_collect_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527921", + "principalId" : "data_collect", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527922", + "principalId" : "data_collect_all_data", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527923", + "principalId" : "system_management_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527924", + "principalId" : "system_management", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527925", + "principalId" : "schedule_jobs_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527926", + "principalId" : "schedule_jobs", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527927", + "principalId" : "schedule_jobs_management", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527928", + "principalId" : "notice_settings", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527929", + "principalId" : "Cluster_management_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152792a", + "principalId" : "Cluster_management", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152792b", + "principalId" : "Cluster_management_all_data", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152792c", + "principalId" : "Cluster_operation", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152792d", + "principalId" : "status_log", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152792e", + "principalId" : "agents_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152792f", + "principalId" : "agents", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527930", + "principalId" : "user_management_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527931", + "principalId" : "user_management", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527932", + "principalId" : "user_management_all_data", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527933", + "principalId" : "datasource_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527934", + "principalId" : "user_creation", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527935", + "principalId" : "user_edition", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527936", + "principalId" : "user_edition_all_data", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527937", + "principalId" : "user_delete", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527938", + "principalId" : "user_delete_all_data", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527939", + "principalId" : "user_category_management", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152793a", + "principalId" : "user_category_application", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152793b", + "principalId" : "role_management_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152793c", + "principalId" : "role_management", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152793d", + "principalId" : "role_management_all_data", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152793e", + "principalId" : "datasource", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152793f", + "principalId" : "role_creation", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527940", + "principalId" : "role_edition", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527941", + "principalId" : "role_edition_all_data", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527942", + "principalId" : "role_delete", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527943", + "principalId" : "role_delete_all_data", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527944", + "principalId" : "system_settings_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527945", + "principalId" : "system_settings", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527946", + "principalId" : "system_settings_modification", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527947", + "principalId" : "chart", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527948", + "principalId" : "chart_all_data", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527949", + "principalId" : "datasource_all_data", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152794a", + "principalId" : "dictionary_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152794b", + "principalId" : "dictionary", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152794c", + "principalId" : "dictionary_all_data", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152794d", + "principalId" : "Data Application", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152794e", + "principalId" : "Data screen", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152794f", + "principalId" : "Automated process", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527950", + "principalId" : "Master data management", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527951", + "principalId" : "datasource_category_management", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527952", + "principalId" : "datasource_category_application", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527953", + "principalId" : "datasource_creation", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527954", + "principalId" : "datasource_delete", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527955", + "principalId" : "data_search_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527956", + "principalId" : "datasource_delete_all_data", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527957", + "principalId" : "datasource_edition", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527958", + "principalId" : "datasource_edition_all_data", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527959", + "principalId" : "data_transmission_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152795a", + "principalId" : "data_transmission", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152795b", + "principalId" : "Data_SYNC_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152795c", + "principalId" : "Data_SYNC", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152795d", + "principalId" : "Data_SYNC_all_data", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152795e", + "principalId" : "SYNC_category_management", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152795f", + "principalId" : "SYNC_category_application", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527960", + "principalId" : "shared_cache", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527961", + "principalId" : "SYNC_job_creation", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527962", + "principalId" : "SYNC_job_delete", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527963", + "principalId" : "SYNC_job_delete_all_data", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527964", + "principalId" : "SYNC_job_edition", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527965", + "principalId" : "SYNC_job_edition_all_data", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527966", + "principalId" : "SYNC_job_operation", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527967", + "principalId" : "SYNC_job_operation_all_data", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527968", + "principalId" : "SYNC_job_import", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527969", + "principalId" : "SYNC_job_export", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152796a", + "principalId" : "SYNC_Function_management", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152796b", + "principalId" : "shared_cache_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152796c", + "principalId" : "Data_verify_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152796d", + "principalId" : "Data_verify", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152796e", + "principalId" : "Data_verify_all_data", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152796f", + "principalId" : "verify_job_creation", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527970", + "principalId" : "verify_job_edition", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527971", + "principalId" : "verify_job_edition_all_data", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527972", + "principalId" : "verify_job_delete", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527973", + "principalId" : "verify_job_delete_all_data", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527974", + "principalId" : "data_government_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527975", + "principalId" : "data_government", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527976", + "principalId" : "custom_node", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527977", + "principalId" : "data_catalog_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527978", + "principalId" : "data_catalog", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527979", + "principalId" : "data_catalog_all_data", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152797a", + "principalId" : "data_catalog_category_management", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152797b", + "principalId" : "data_catalog_category_application", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152797c", + "principalId" : "data_catalog_edition", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152797d", + "principalId" : "data_catalog_edition_all_data", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152797e", + "principalId" : "meta_data_deleting", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152797f", + "principalId" : "meta_data_deleting_all_data", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527980", + "principalId" : "new_model_creation", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527981", + "principalId" : "custom_node_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527982", + "principalId" : "data_quality_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527983", + "principalId" : "data_quality", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527984", + "principalId" : "data_quality_all_data", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527985", + "principalId" : "data_quality_edition", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527986", + "principalId" : "data_quality_edition_all_data", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527987", + "principalId" : "data_rules_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527988", + "principalId" : "data_rules", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527989", + "principalId" : "data_rules_all_data", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152798a", + "principalId" : "data_rule_management", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152798b", + "principalId" : "data_rule_management_all_data", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152798c", + "principalId" : "function_manager", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152798d", + "principalId" : "time_to_live_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152798e", + "principalId" : "time_to_live", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152798f", + "principalId" : "time_to_live_all_data", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527990", + "principalId" : "time_to_live_management", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527991", + "principalId" : "time_to_live_management_all_data", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527992", + "principalId" : "data_lineage_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527993", + "principalId" : "data_lineage", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527994", + "principalId" : "data_publish_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527995", + "principalId" : "data_publish", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527996", + "principalId" : "API_management_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527997", + "principalId" : "function_manager_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527998", + "principalId" : "API_management", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa41527999", + "principalId" : "API_management_all_data", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152799a", + "principalId" : "API_category_application", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152799b", + "principalId" : "API_category_management", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152799c", + "principalId" : "API_creation", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152799d", + "principalId" : "API_delete", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152799e", + "principalId" : "API_delete_all_data", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa4152799f", + "principalId" : "API_edition", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa415279a0", + "principalId" : "API_edition_all_data", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa415279a1", + "principalId" : "API_publish", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa415279a2", + "principalId" : "log_collector", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa415279a3", + "principalId" : "API_publish_all_data", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa415279a4", + "principalId" : "API_import", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa415279a5", + "principalId" : "API_export", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa415279a6", + "principalId" : "API_data_explorer_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa415279a7", + "principalId" : "API_data_explorer", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa415279a8", + "principalId" : "API_data_explorer_export", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa415279a9", + "principalId" : "API_data_explorer_deleting", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa415279aa", + "principalId" : "API_data_time_zone_editing", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa415279ab", + "principalId" : "API_data_creation", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623071f850faa415279ac", + "principalId" : "API_data_download", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a1b", + "principalId" : "v2_function_management", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a1c", + "principalId" : "v2_custom_node", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a1d", + "principalId" : "v2_api_monitor", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a1e", + "principalId" : "v2_api-application", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a1f", + "principalId" : "v2_data_check", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a20", + "principalId" : "v2_data_replication", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a21", + "principalId" : "v2_shared_cache", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a22", + "principalId" : "v2_data_server_audit", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a23", + "principalId" : "v2_log_collector", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a24", + "principalId" : "v2_data-console", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a25", + "principalId" : "v2_data-server-list", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a26", + "principalId" : "v2_datasource_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a27", + "principalId" : "v2_data_flow", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a28", + "principalId" : "v2_datasource_creation", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a29", + "principalId" : "v2_datasource_edition", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a2a", + "principalId" : "v2_data_replication_monitor", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a2b", + "principalId" : "v2_data_replication_dag_edit", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a2c", + "principalId" : "v2_data_replication_edit", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a2d", + "principalId" : "v2_data_replication_details", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a2e", + "principalId" : "v2_data_replication_record_monitor", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a2f", + "principalId" : "v2_data_flow_monitor", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a30", + "principalId" : "v2_data_flow_dag_edit", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a31", + "principalId" : "v2_data_flow_edit", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a32", + "principalId" : "v2_data_flow_details", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a33", + "principalId" : "v2_data_check_list", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a34", + "principalId" : "v2_data_check_create", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a35", + "principalId" : "v2_data_check_edit", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a36", + "principalId" : "v2_data_check_details", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a37", + "principalId" : "v2_data_check_history", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a38", + "principalId" : "v2_data_check_result", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a39", + "principalId" : "v2_data_check_result_details", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a3a", + "principalId" : "v2_data_check_result_history", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a3b", + "principalId" : "v2_log_collector_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a3c", + "principalId" : "v2_log_collector_detail", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a3d", + "principalId" : "v2_function_management_list", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a3e", + "principalId" : "v2_function_management_create", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a3f", + "principalId" : "v2_function_management_import", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a40", + "principalId" : "v2_function_management_edit", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a41", + "principalId" : "v2_function_management_details", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a42", + "principalId" : "v2_custom_node_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a43", + "principalId" : "v2_shared_cache_menu", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a44", + "principalId" : "v2_shared_cache_create", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a45", + "principalId" : "v2_shared_cache_edit", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a46", + "principalId" : "v2_data_server_audit-list", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a47", + "principalId" : "v2_data_server_audit-details", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a48", + "principalId" : "v2_datasource_copy", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a4a", + "principalId" : "v2_data_replication_creation", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a4b", + "principalId" : "v2_data_replication_copy", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a4c", + "principalId" : "v2_data_replication_import", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a4d", + "principalId" : "v2_data_replication_export", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a4f", + "principalId" : "v2_data_flow_creation", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a50", + "principalId" : "v2_data_flow_copy", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a51", + "principalId" : "v2_data_flow_import", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a52", + "principalId" : "v2_data_flow_export", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a54", + "principalId" : "v2_data-server", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a55", + "principalId" : "v2_advanced_features", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +}, { + "collectionName" : "RoleMapping", + "json" : { + "_id" : "69c623811f850faa41527a56", + "principalId" : "v2_data_pipeline", + "principalType" : "PERMISSION", + "roleId" : "69c623071f850faa41527910", + "user_id" : "62bc5008d4958d013d97c7a6" + } +} ] \ No newline at end of file diff --git a/case-team_tapdata_export/User/Roles.json b/case-team_tapdata_export/User/Roles.json new file mode 100644 index 0000000..daf3a06 --- /dev/null +++ b/case-team_tapdata_export/User/Roles.json @@ -0,0 +1,10 @@ +[ { + "collectionName" : "Role", + "json" : { + "_id" : "69c623071f850faa41527910", + "description" : "cpi case team", + "name" : "cpi case", + "register_user_default" : false, + "user_id" : "62bc5008d4958d013d97c7a6" + } +} ] \ No newline at end of file diff --git a/case-team_tapdata_export/User/UserIdEmailMap.json b/case-team_tapdata_export/User/UserIdEmailMap.json new file mode 100644 index 0000000..750f9d4 --- /dev/null +++ b/case-team_tapdata_export/User/UserIdEmailMap.json @@ -0,0 +1,6 @@ +[ { + "collectionName" : "UserIdEmailMap", + "json" : { + "69c6449cb9dbbccec453fb5f" : "martin@tapdata.io" + } +} ] \ No newline at end of file diff --git a/case-team_tapdata_export/User/Users.json b/case-team_tapdata_export/User/Users.json new file mode 100644 index 0000000..cbc34f2 --- /dev/null +++ b/case-team_tapdata_export/User/Users.json @@ -0,0 +1,33 @@ +[ { + "collectionName" : "User", + "json" : { + "_id" : "69c6449cb9dbbccec453fb5f", + "account_status" : 1, + "completeGuide" : false, + "email" : "martin@tapdata.io", + "emailVerified" : true, + "emailVerified_from_frontend" : true, + "listtags" : [ ], + "notification" : { + "connected" : { + "email" : false, + "sms" : false, + "weChat" : false + }, + "connectionInterrupted" : { + "email" : false, + "sms" : false, + "weChat" : false + }, + "stoppedByError" : { + "email" : false, + "sms" : false, + "weChat" : false + } + }, + "password" : "$2a$10$VKFRSHzT9Cf65fEEj2saKeVzq1HIijXBEIqGsiEA/MyCWVkB.yAom", + "roleusers" : [ "69c623071f850faa41527910" ], + "user_id" : "62bc5008d4958d013d97c7a6", + "username" : "cpicase-martin" + } +} ] \ No newline at end of file