-- ===========================================================================
-- 医保影像云图像质控规范 - MR检查部位质控标准 (第5批完整版)
-- 基于《医保影像云图像质控规范 (YXY-QC-2025-A1)》
-- 
-- 本文件包含MR质控标准（完整版）
-- 检查项目总数: 51
-- 质控因子总数: 357
-- 
-- 创建时间: 2026-01-13
-- ===========================================================================

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_1_1', 'MR_BRAIN_5_6_1_1_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_1_2', 'MR_BRAIN_5_6_1_1_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_1_3', 'MR_BRAIN_5_6_1_1_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_1_4', 'MR_BRAIN_5_6_1_1_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_1_5', 'MR_BRAIN_5_6_1_1_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_1_6', 'MR_BRAIN_5_6_1_1_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_1_7', 'MR_BRAIN_5_6_1_1_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_1_8', 'MR_BRAIN_5_6_1_1_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_1_1', 'MR_5_6_1_1', '头颅MRI平扫质控标准', 'MR', '颅脑', '平扫', '头颅MRI平扫', 80,
'头颅MRI平扫质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_1_1_1', 'STD_MR_5_6_1_1', 'MR_BRAIN_5_6_1_1_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_1_1_2', 'STD_MR_5_6_1_1', 'MR_BRAIN_5_6_1_1_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_1_1_3', 'STD_MR_5_6_1_1', 'MR_BRAIN_5_6_1_1_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_1_1_4', 'STD_MR_5_6_1_1', 'MR_BRAIN_5_6_1_1_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_1_1_5', 'STD_MR_5_6_1_1', 'MR_BRAIN_5_6_1_1_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_1_1_6', 'STD_MR_5_6_1_1', 'MR_BRAIN_5_6_1_1_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_1_1_7', 'STD_MR_5_6_1_1', 'MR_BRAIN_5_6_1_1_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_1_1_8', 'STD_MR_5_6_1_1', 'MR_BRAIN_5_6_1_1_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_2_1', 'MR_BRAIN_5_6_1_2_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_2_2', 'MR_BRAIN_5_6_1_2_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_2_3', 'MR_BRAIN_5_6_1_2_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_2_4', 'MR_BRAIN_5_6_1_2_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_2_5', 'MR_BRAIN_5_6_1_2_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_2_6', 'MR_BRAIN_5_6_1_2_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_2_7', 'MR_BRAIN_5_6_1_2_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_2_8', 'MR_BRAIN_5_6_1_2_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_1_2', 'MR_5_6_1_2', '头颅MRI平扫(含DWI)质控标准', 'MR', '颅脑', '平扫', '头颅MRI平扫(含DWI)', 80,
'头颅MRI平扫(含DWI)质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_1_2_1', 'STD_MR_5_6_1_2', 'MR_BRAIN_5_6_1_2_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_1_2_2', 'STD_MR_5_6_1_2', 'MR_BRAIN_5_6_1_2_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_1_2_3', 'STD_MR_5_6_1_2', 'MR_BRAIN_5_6_1_2_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_1_2_4', 'STD_MR_5_6_1_2', 'MR_BRAIN_5_6_1_2_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_1_2_5', 'STD_MR_5_6_1_2', 'MR_BRAIN_5_6_1_2_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_1_2_6', 'STD_MR_5_6_1_2', 'MR_BRAIN_5_6_1_2_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_1_2_7', 'STD_MR_5_6_1_2', 'MR_BRAIN_5_6_1_2_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_1_2_8', 'STD_MR_5_6_1_2', 'MR_BRAIN_5_6_1_2_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_3_1', 'MR_BRAIN_5_6_1_3_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_3_2', 'MR_BRAIN_5_6_1_3_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_3_3', 'MR_BRAIN_5_6_1_3_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_3_4', 'MR_BRAIN_5_6_1_3_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_3_5', 'MR_BRAIN_5_6_1_3_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_3_6', 'MR_BRAIN_5_6_1_3_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_3_7', 'MR_BRAIN_5_6_1_3_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_3_8', 'MR_BRAIN_5_6_1_3_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_1_3', 'MR_5_6_1_3', '头颅MRI增强质控标准', 'MR', '颅脑', '增强', '头颅MRI增强', 80,
'头颅MRI增强质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_1_3_1', 'STD_MR_5_6_1_3', 'MR_BRAIN_5_6_1_3_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_1_3_2', 'STD_MR_5_6_1_3', 'MR_BRAIN_5_6_1_3_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_1_3_3', 'STD_MR_5_6_1_3', 'MR_BRAIN_5_6_1_3_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_1_3_4', 'STD_MR_5_6_1_3', 'MR_BRAIN_5_6_1_3_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_1_3_5', 'STD_MR_5_6_1_3', 'MR_BRAIN_5_6_1_3_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_1_3_6', 'STD_MR_5_6_1_3', 'MR_BRAIN_5_6_1_3_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_1_3_7', 'STD_MR_5_6_1_3', 'MR_BRAIN_5_6_1_3_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_1_3_8', 'STD_MR_5_6_1_3', 'MR_BRAIN_5_6_1_3_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_4_1', 'MR_BRAIN_5_6_1_4_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_4_2', 'MR_BRAIN_5_6_1_4_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_4_3', 'MR_BRAIN_5_6_1_4_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_4_4', 'MR_BRAIN_5_6_1_4_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_4_5', 'MR_BRAIN_5_6_1_4_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_4_6', 'MR_BRAIN_5_6_1_4_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_4_7', 'MR_BRAIN_5_6_1_4_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_4_8', 'MR_BRAIN_5_6_1_4_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_1_4', 'MR_5_6_1_4', '头颅TOFMRA质控标准', 'MR', '颅脑', '血管成像', '头颅TOFMRA', 80,
'头颅TOFMRA质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_1_4_1', 'STD_MR_5_6_1_4', 'MR_BRAIN_5_6_1_4_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_1_4_2', 'STD_MR_5_6_1_4', 'MR_BRAIN_5_6_1_4_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_1_4_3', 'STD_MR_5_6_1_4', 'MR_BRAIN_5_6_1_4_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_1_4_4', 'STD_MR_5_6_1_4', 'MR_BRAIN_5_6_1_4_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_1_4_5', 'STD_MR_5_6_1_4', 'MR_BRAIN_5_6_1_4_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_1_4_6', 'STD_MR_5_6_1_4', 'MR_BRAIN_5_6_1_4_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_1_4_7', 'STD_MR_5_6_1_4', 'MR_BRAIN_5_6_1_4_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_1_4_8', 'STD_MR_5_6_1_4', 'MR_BRAIN_5_6_1_4_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_5_1', 'MR_BRAIN_5_6_1_5_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_5_2', 'MR_BRAIN_5_6_1_5_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_5_3', 'MR_BRAIN_5_6_1_5_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_5_4', 'MR_BRAIN_5_6_1_5_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_5_5', 'MR_BRAIN_5_6_1_5_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_5_6', 'MR_BRAIN_5_6_1_5_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_5_7', 'MR_BRAIN_5_6_1_5_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BRAIN_5_6_1_5_8', 'MR_BRAIN_5_6_1_5_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_1_5', 'MR_5_6_1_5', '头颅PCMRV质控标准', 'MR', '颅脑', '血管成像', '头颅PCMRV', 80,
'头颅PCMRV质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_1_5_1', 'STD_MR_5_6_1_5', 'MR_BRAIN_5_6_1_5_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_1_5_2', 'STD_MR_5_6_1_5', 'MR_BRAIN_5_6_1_5_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_1_5_3', 'STD_MR_5_6_1_5', 'MR_BRAIN_5_6_1_5_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_1_5_4', 'STD_MR_5_6_1_5', 'MR_BRAIN_5_6_1_5_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_1_5_5', 'STD_MR_5_6_1_5', 'MR_BRAIN_5_6_1_5_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_1_5_6', 'STD_MR_5_6_1_5', 'MR_BRAIN_5_6_1_5_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_1_5_7', 'STD_MR_5_6_1_5', 'MR_BRAIN_5_6_1_5_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_1_5_8', 'STD_MR_5_6_1_5', 'MR_BRAIN_5_6_1_5_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PITUITARY_5_6_1_6_1', 'MR_PITUITARY_5_6_1_6_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PITUITARY_5_6_1_6_2', 'MR_PITUITARY_5_6_1_6_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PITUITARY_5_6_1_6_3', 'MR_PITUITARY_5_6_1_6_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PITUITARY_5_6_1_6_4', 'MR_PITUITARY_5_6_1_6_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PITUITARY_5_6_1_6_5', 'MR_PITUITARY_5_6_1_6_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PITUITARY_5_6_1_6_6', 'MR_PITUITARY_5_6_1_6_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PITUITARY_5_6_1_6_7', 'MR_PITUITARY_5_6_1_6_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PITUITARY_5_6_1_6_8', 'MR_PITUITARY_5_6_1_6_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_1_6', 'MR_5_6_1_6', '垂体MRI平扫质控标准', 'MR', '颅脑', '平扫', '垂体MRI平扫', 80,
'垂体MRI平扫质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_1_6_1', 'STD_MR_5_6_1_6', 'MR_PITUITARY_5_6_1_6_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_1_6_2', 'STD_MR_5_6_1_6', 'MR_PITUITARY_5_6_1_6_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_1_6_3', 'STD_MR_5_6_1_6', 'MR_PITUITARY_5_6_1_6_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_1_6_4', 'STD_MR_5_6_1_6', 'MR_PITUITARY_5_6_1_6_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_1_6_5', 'STD_MR_5_6_1_6', 'MR_PITUITARY_5_6_1_6_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_1_6_6', 'STD_MR_5_6_1_6', 'MR_PITUITARY_5_6_1_6_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_1_6_7', 'STD_MR_5_6_1_6', 'MR_PITUITARY_5_6_1_6_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_1_6_8', 'STD_MR_5_6_1_6', 'MR_PITUITARY_5_6_1_6_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PITUITARY_5_6_1_7_1', 'MR_PITUITARY_5_6_1_7_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PITUITARY_5_6_1_7_2', 'MR_PITUITARY_5_6_1_7_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PITUITARY_5_6_1_7_3', 'MR_PITUITARY_5_6_1_7_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PITUITARY_5_6_1_7_4', 'MR_PITUITARY_5_6_1_7_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PITUITARY_5_6_1_7_5', 'MR_PITUITARY_5_6_1_7_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PITUITARY_5_6_1_7_6', 'MR_PITUITARY_5_6_1_7_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PITUITARY_5_6_1_7_7', 'MR_PITUITARY_5_6_1_7_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PITUITARY_5_6_1_7_8', 'MR_PITUITARY_5_6_1_7_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_1_7', 'MR_5_6_1_7', '垂体MRI增强质控标准', 'MR', '颅脑', '增强', '垂体MRI增强', 80,
'垂体MRI增强质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_1_7_1', 'STD_MR_5_6_1_7', 'MR_PITUITARY_5_6_1_7_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_1_7_2', 'STD_MR_5_6_1_7', 'MR_PITUITARY_5_6_1_7_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_1_7_3', 'STD_MR_5_6_1_7', 'MR_PITUITARY_5_6_1_7_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_1_7_4', 'STD_MR_5_6_1_7', 'MR_PITUITARY_5_6_1_7_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_1_7_5', 'STD_MR_5_6_1_7', 'MR_PITUITARY_5_6_1_7_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_1_7_6', 'STD_MR_5_6_1_7', 'MR_PITUITARY_5_6_1_7_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_1_7_7', 'STD_MR_5_6_1_7', 'MR_PITUITARY_5_6_1_7_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_1_7_8', 'STD_MR_5_6_1_7', 'MR_PITUITARY_5_6_1_7_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_HIPPOCAMPUS_5_6_1_8_1', 'MR_HIPPOCAMPUS_5_6_1_8_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_HIPPOCAMPUS_5_6_1_8_2', 'MR_HIPPOCAMPUS_5_6_1_8_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_HIPPOCAMPUS_5_6_1_8_3', 'MR_HIPPOCAMPUS_5_6_1_8_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_HIPPOCAMPUS_5_6_1_8_4', 'MR_HIPPOCAMPUS_5_6_1_8_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_HIPPOCAMPUS_5_6_1_8_5', 'MR_HIPPOCAMPUS_5_6_1_8_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_HIPPOCAMPUS_5_6_1_8_6', 'MR_HIPPOCAMPUS_5_6_1_8_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_HIPPOCAMPUS_5_6_1_8_7', 'MR_HIPPOCAMPUS_5_6_1_8_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_HIPPOCAMPUS_5_6_1_8_8', 'MR_HIPPOCAMPUS_5_6_1_8_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_1_8', 'MR_5_6_1_8', '海马薄层MRI平扫质控标准', 'MR', '颅脑', '平扫', '海马薄层MRI平扫', 80,
'海马薄层MRI平扫质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_1_8_1', 'STD_MR_5_6_1_8', 'MR_HIPPOCAMPUS_5_6_1_8_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_1_8_2', 'STD_MR_5_6_1_8', 'MR_HIPPOCAMPUS_5_6_1_8_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_1_8_3', 'STD_MR_5_6_1_8', 'MR_HIPPOCAMPUS_5_6_1_8_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_1_8_4', 'STD_MR_5_6_1_8', 'MR_HIPPOCAMPUS_5_6_1_8_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_1_8_5', 'STD_MR_5_6_1_8', 'MR_HIPPOCAMPUS_5_6_1_8_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_1_8_6', 'STD_MR_5_6_1_8', 'MR_HIPPOCAMPUS_5_6_1_8_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_1_8_7', 'STD_MR_5_6_1_8', 'MR_HIPPOCAMPUS_5_6_1_8_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_1_8_8', 'STD_MR_5_6_1_8', 'MR_HIPPOCAMPUS_5_6_1_8_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SWI_5_6_1_9_1', 'MR_SWI_5_6_1_9_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SWI_5_6_1_9_2', 'MR_SWI_5_6_1_9_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SWI_5_6_1_9_3', 'MR_SWI_5_6_1_9_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SWI_5_6_1_9_4', 'MR_SWI_5_6_1_9_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SWI_5_6_1_9_5', 'MR_SWI_5_6_1_9_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SWI_5_6_1_9_6', 'MR_SWI_5_6_1_9_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SWI_5_6_1_9_7', 'MR_SWI_5_6_1_9_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SWI_5_6_1_9_8', 'MR_SWI_5_6_1_9_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_1_9', 'MR_5_6_1_9', '头颅SWI质控标准', 'MR', '颅脑', '特殊序列', '头颅SWI', 80,
'头颅SWI质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_1_9_1', 'STD_MR_5_6_1_9', 'MR_SWI_5_6_1_9_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_1_9_2', 'STD_MR_5_6_1_9', 'MR_SWI_5_6_1_9_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_1_9_3', 'STD_MR_5_6_1_9', 'MR_SWI_5_6_1_9_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_1_9_4', 'STD_MR_5_6_1_9', 'MR_SWI_5_6_1_9_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_1_9_5', 'STD_MR_5_6_1_9', 'MR_SWI_5_6_1_9_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_1_9_6', 'STD_MR_5_6_1_9', 'MR_SWI_5_6_1_9_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_1_9_7', 'STD_MR_5_6_1_9', 'MR_SWI_5_6_1_9_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_1_9_8', 'STD_MR_5_6_1_9', 'MR_SWI_5_6_1_9_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_DTI_5_6_1_10_1', 'MR_DTI_5_6_1_10_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_DTI_5_6_1_10_2', 'MR_DTI_5_6_1_10_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_DTI_5_6_1_10_3', 'MR_DTI_5_6_1_10_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_DTI_5_6_1_10_4', 'MR_DTI_5_6_1_10_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_DTI_5_6_1_10_5', 'MR_DTI_5_6_1_10_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_DTI_5_6_1_10_6', 'MR_DTI_5_6_1_10_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_DTI_5_6_1_10_7', 'MR_DTI_5_6_1_10_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_DTI_5_6_1_10_8', 'MR_DTI_5_6_1_10_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_1_10', 'MR_5_6_1_10', '脑扩散张量成像质控标准', 'MR', '颅脑', 'DTI', '脑扩散张量成像', 80,
'脑扩散张量成像质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_1_10_1', 'STD_MR_5_6_1_10', 'MR_DTI_5_6_1_10_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_1_10_2', 'STD_MR_5_6_1_10', 'MR_DTI_5_6_1_10_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_1_10_3', 'STD_MR_5_6_1_10', 'MR_DTI_5_6_1_10_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_1_10_4', 'STD_MR_5_6_1_10', 'MR_DTI_5_6_1_10_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_1_10_5', 'STD_MR_5_6_1_10', 'MR_DTI_5_6_1_10_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_1_10_6', 'STD_MR_5_6_1_10', 'MR_DTI_5_6_1_10_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_1_10_7', 'STD_MR_5_6_1_10', 'MR_DTI_5_6_1_10_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_1_10_8', 'STD_MR_5_6_1_10', 'MR_DTI_5_6_1_10_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PERF_5_6_1_11_1', 'MR_PERF_5_6_1_11_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PERF_5_6_1_11_2', 'MR_PERF_5_6_1_11_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PERF_5_6_1_11_3', 'MR_PERF_5_6_1_11_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PERF_5_6_1_11_4', 'MR_PERF_5_6_1_11_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PERF_5_6_1_11_5', 'MR_PERF_5_6_1_11_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PERF_5_6_1_11_6', 'MR_PERF_5_6_1_11_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PERF_5_6_1_11_7', 'MR_PERF_5_6_1_11_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PERF_5_6_1_11_8', 'MR_PERF_5_6_1_11_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_1_11', 'MR_5_6_1_11', '脑灌注加权成像质控标准', 'MR', '颅脑', '灌注', '脑灌注加权成像', 80,
'脑灌注加权成像质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_1_11_1', 'STD_MR_5_6_1_11', 'MR_PERF_5_6_1_11_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_1_11_2', 'STD_MR_5_6_1_11', 'MR_PERF_5_6_1_11_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_1_11_3', 'STD_MR_5_6_1_11', 'MR_PERF_5_6_1_11_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_1_11_4', 'STD_MR_5_6_1_11', 'MR_PERF_5_6_1_11_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_1_11_5', 'STD_MR_5_6_1_11', 'MR_PERF_5_6_1_11_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_1_11_6', 'STD_MR_5_6_1_11', 'MR_PERF_5_6_1_11_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_1_11_7', 'STD_MR_5_6_1_11', 'MR_PERF_5_6_1_11_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_1_11_8', 'STD_MR_5_6_1_11', 'MR_PERF_5_6_1_11_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_DBS_5_6_1_12_1', 'MR_DBS_5_6_1_12_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_DBS_5_6_1_12_2', 'MR_DBS_5_6_1_12_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_DBS_5_6_1_12_3', 'MR_DBS_5_6_1_12_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_DBS_5_6_1_12_4', 'MR_DBS_5_6_1_12_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_DBS_5_6_1_12_5', 'MR_DBS_5_6_1_12_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_DBS_5_6_1_12_6', 'MR_DBS_5_6_1_12_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_DBS_5_6_1_12_7', 'MR_DBS_5_6_1_12_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_DBS_5_6_1_12_8', 'MR_DBS_5_6_1_12_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_1_12', 'MR_5_6_1_12', 'DBS磁共振导航成像质控标准', 'MR', '颅脑', '导航', 'DBS磁共振导航成像', 80,
'DBS磁共振导航成像质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_1_12_1', 'STD_MR_5_6_1_12', 'MR_DBS_5_6_1_12_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_1_12_2', 'STD_MR_5_6_1_12', 'MR_DBS_5_6_1_12_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_1_12_3', 'STD_MR_5_6_1_12', 'MR_DBS_5_6_1_12_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_1_12_4', 'STD_MR_5_6_1_12', 'MR_DBS_5_6_1_12_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_1_12_5', 'STD_MR_5_6_1_12', 'MR_DBS_5_6_1_12_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_1_12_6', 'STD_MR_5_6_1_12', 'MR_DBS_5_6_1_12_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_1_12_7', 'STD_MR_5_6_1_12', 'MR_DBS_5_6_1_12_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_1_12_8', 'STD_MR_5_6_1_12', 'MR_DBS_5_6_1_12_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_STROKE_5_6_1_13_1', 'MR_STROKE_5_6_1_13_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_STROKE_5_6_1_13_2', 'MR_STROKE_5_6_1_13_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_STROKE_5_6_1_13_3', 'MR_STROKE_5_6_1_13_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_STROKE_5_6_1_13_4', 'MR_STROKE_5_6_1_13_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_STROKE_5_6_1_13_5', 'MR_STROKE_5_6_1_13_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_STROKE_5_6_1_13_6', 'MR_STROKE_5_6_1_13_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_STROKE_5_6_1_13_7', 'MR_STROKE_5_6_1_13_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_STROKE_5_6_1_13_8', 'MR_STROKE_5_6_1_13_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_1_13', 'MR_5_6_1_13', '脑卒中MRI成像质控标准', 'MR', '颅脑', '卒中', '脑卒中MRI成像', 80,
'脑卒中MRI成像质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_1_13_1', 'STD_MR_5_6_1_13', 'MR_STROKE_5_6_1_13_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_1_13_2', 'STD_MR_5_6_1_13', 'MR_STROKE_5_6_1_13_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_1_13_3', 'STD_MR_5_6_1_13', 'MR_STROKE_5_6_1_13_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_1_13_4', 'STD_MR_5_6_1_13', 'MR_STROKE_5_6_1_13_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_1_13_5', 'STD_MR_5_6_1_13', 'MR_STROKE_5_6_1_13_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_1_13_6', 'STD_MR_5_6_1_13', 'MR_STROKE_5_6_1_13_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_1_13_7', 'STD_MR_5_6_1_13', 'MR_STROKE_5_6_1_13_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_1_13_8', 'STD_MR_5_6_1_13', 'MR_STROKE_5_6_1_13_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_VESSEL_5_6_1_14_1', 'MR_VESSEL_5_6_1_14_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_VESSEL_5_6_1_14_2', 'MR_VESSEL_5_6_1_14_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_VESSEL_5_6_1_14_3', 'MR_VESSEL_5_6_1_14_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_VESSEL_5_6_1_14_4', 'MR_VESSEL_5_6_1_14_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_VESSEL_5_6_1_14_5', 'MR_VESSEL_5_6_1_14_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_VESSEL_5_6_1_14_6', 'MR_VESSEL_5_6_1_14_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_VESSEL_5_6_1_14_7', 'MR_VESSEL_5_6_1_14_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_VESSEL_5_6_1_14_8', 'MR_VESSEL_5_6_1_14_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_1_14', 'MR_5_6_1_14', '脑血管壁MRI成像质控标准', 'MR', '颅脑', '血管壁', '脑血管壁MRI成像', 80,
'脑血管壁MRI成像质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_1_14_1', 'STD_MR_5_6_1_14', 'MR_VESSEL_5_6_1_14_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_1_14_2', 'STD_MR_5_6_1_14', 'MR_VESSEL_5_6_1_14_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_1_14_3', 'STD_MR_5_6_1_14', 'MR_VESSEL_5_6_1_14_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_1_14_4', 'STD_MR_5_6_1_14', 'MR_VESSEL_5_6_1_14_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_1_14_5', 'STD_MR_5_6_1_14', 'MR_VESSEL_5_6_1_14_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_1_14_6', 'STD_MR_5_6_1_14', 'MR_VESSEL_5_6_1_14_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_1_14_7', 'STD_MR_5_6_1_14', 'MR_VESSEL_5_6_1_14_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_1_14_8', 'STD_MR_5_6_1_14', 'MR_VESSEL_5_6_1_14_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_CE_MRA_5_6_1_15_1', 'MR_CE_MRA_5_6_1_15_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_CE_MRA_5_6_1_15_2', 'MR_CE_MRA_5_6_1_15_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_CE_MRA_5_6_1_15_3', 'MR_CE_MRA_5_6_1_15_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_CE_MRA_5_6_1_15_4', 'MR_CE_MRA_5_6_1_15_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_CE_MRA_5_6_1_15_5', 'MR_CE_MRA_5_6_1_15_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_CE_MRA_5_6_1_15_6', 'MR_CE_MRA_5_6_1_15_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_CE_MRA_5_6_1_15_7', 'MR_CE_MRA_5_6_1_15_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_CE_MRA_5_6_1_15_8', 'MR_CE_MRA_5_6_1_15_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_1_15', 'MR_5_6_1_15', '脑对比增强MRA质控标准', 'MR', '颅脑', '血管成像', '脑对比增强MRA', 80,
'脑对比增强MRA质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_1_15_1', 'STD_MR_5_6_1_15', 'MR_CE_MRA_5_6_1_15_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_1_15_2', 'STD_MR_5_6_1_15', 'MR_CE_MRA_5_6_1_15_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_1_15_3', 'STD_MR_5_6_1_15', 'MR_CE_MRA_5_6_1_15_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_1_15_4', 'STD_MR_5_6_1_15', 'MR_CE_MRA_5_6_1_15_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_1_15_5', 'STD_MR_5_6_1_15', 'MR_CE_MRA_5_6_1_15_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_1_15_6', 'STD_MR_5_6_1_15', 'MR_CE_MRA_5_6_1_15_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_1_15_7', 'STD_MR_5_6_1_15', 'MR_CE_MRA_5_6_1_15_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_1_15_8', 'STD_MR_5_6_1_15', 'MR_CE_MRA_5_6_1_15_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_MRS_5_6_1_16_1', 'MR_MRS_5_6_1_16_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_MRS_5_6_1_16_2', 'MR_MRS_5_6_1_16_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_MRS_5_6_1_16_3', 'MR_MRS_5_6_1_16_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_MRS_5_6_1_16_4', 'MR_MRS_5_6_1_16_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_MRS_5_6_1_16_5', 'MR_MRS_5_6_1_16_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_MRS_5_6_1_16_6', 'MR_MRS_5_6_1_16_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_MRS_5_6_1_16_7', 'MR_MRS_5_6_1_16_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_MRS_5_6_1_16_8', 'MR_MRS_5_6_1_16_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_1_16', 'MR_5_6_1_16', '脑MRI波普成像质控标准', 'MR', '颅脑', 'MRS', '脑MRI波普成像', 80,
'脑MRI波普成像质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_1_16_1', 'STD_MR_5_6_1_16', 'MR_MRS_5_6_1_16_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_1_16_2', 'STD_MR_5_6_1_16', 'MR_MRS_5_6_1_16_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_1_16_3', 'STD_MR_5_6_1_16', 'MR_MRS_5_6_1_16_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_1_16_4', 'STD_MR_5_6_1_16', 'MR_MRS_5_6_1_16_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_1_16_5', 'STD_MR_5_6_1_16', 'MR_MRS_5_6_1_16_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_1_16_6', 'STD_MR_5_6_1_16', 'MR_MRS_5_6_1_16_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_1_16_7', 'STD_MR_5_6_1_16', 'MR_MRS_5_6_1_16_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_1_16_8', 'STD_MR_5_6_1_16', 'MR_MRS_5_6_1_16_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_CSF_5_6_1_17_1', 'MR_CSF_5_6_1_17_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_CSF_5_6_1_17_2', 'MR_CSF_5_6_1_17_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_CSF_5_6_1_17_3', 'MR_CSF_5_6_1_17_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_CSF_5_6_1_17_4', 'MR_CSF_5_6_1_17_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_CSF_5_6_1_17_5', 'MR_CSF_5_6_1_17_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_CSF_5_6_1_17_6', 'MR_CSF_5_6_1_17_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_CSF_5_6_1_17_7', 'MR_CSF_5_6_1_17_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_CSF_5_6_1_17_8', 'MR_CSF_5_6_1_17_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_1_17', 'MR_5_6_1_17', '脑脊液鼻漏MRI质控标准', 'MR', '颅脑', '平扫', '脑脊液鼻漏MRI', 80,
'脑脊液鼻漏MRI质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_1_17_1', 'STD_MR_5_6_1_17', 'MR_CSF_5_6_1_17_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_1_17_2', 'STD_MR_5_6_1_17', 'MR_CSF_5_6_1_17_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_1_17_3', 'STD_MR_5_6_1_17', 'MR_CSF_5_6_1_17_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_1_17_4', 'STD_MR_5_6_1_17', 'MR_CSF_5_6_1_17_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_1_17_5', 'STD_MR_5_6_1_17', 'MR_CSF_5_6_1_17_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_1_17_6', 'STD_MR_5_6_1_17', 'MR_CSF_5_6_1_17_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_1_17_7', 'STD_MR_5_6_1_17', 'MR_CSF_5_6_1_17_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_1_17_8', 'STD_MR_5_6_1_17', 'MR_CSF_5_6_1_17_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_CSF_FLOW_5_6_1_18_1', 'MR_CSF_FLOW_5_6_1_18_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_CSF_FLOW_5_6_1_18_2', 'MR_CSF_FLOW_5_6_1_18_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_CSF_FLOW_5_6_1_18_3', 'MR_CSF_FLOW_5_6_1_18_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_CSF_FLOW_5_6_1_18_4', 'MR_CSF_FLOW_5_6_1_18_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_CSF_FLOW_5_6_1_18_5', 'MR_CSF_FLOW_5_6_1_18_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_CSF_FLOW_5_6_1_18_6', 'MR_CSF_FLOW_5_6_1_18_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_CSF_FLOW_5_6_1_18_7', 'MR_CSF_FLOW_5_6_1_18_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_CSF_FLOW_5_6_1_18_8', 'MR_CSF_FLOW_5_6_1_18_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_1_18', 'MR_5_6_1_18', '脑脊液流动定量分析质控标准', 'MR', '颅脑', '定量', '脑脊液流动定量分析', 80,
'脑脊液流动定量分析质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_1_18_1', 'STD_MR_5_6_1_18', 'MR_CSF_FLOW_5_6_1_18_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_1_18_2', 'STD_MR_5_6_1_18', 'MR_CSF_FLOW_5_6_1_18_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_1_18_3', 'STD_MR_5_6_1_18', 'MR_CSF_FLOW_5_6_1_18_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_1_18_4', 'STD_MR_5_6_1_18', 'MR_CSF_FLOW_5_6_1_18_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_1_18_5', 'STD_MR_5_6_1_18', 'MR_CSF_FLOW_5_6_1_18_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_1_18_6', 'STD_MR_5_6_1_18', 'MR_CSF_FLOW_5_6_1_18_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_1_18_7', 'STD_MR_5_6_1_18', 'MR_CSF_FLOW_5_6_1_18_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_1_18_8', 'STD_MR_5_6_1_18', 'MR_CSF_FLOW_5_6_1_18_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_ASL_5_6_1_19_1', 'MR_ASL_5_6_1_19_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_ASL_5_6_1_19_2', 'MR_ASL_5_6_1_19_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_ASL_5_6_1_19_3', 'MR_ASL_5_6_1_19_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_ASL_5_6_1_19_4', 'MR_ASL_5_6_1_19_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_ASL_5_6_1_19_5', 'MR_ASL_5_6_1_19_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_ASL_5_6_1_19_6', 'MR_ASL_5_6_1_19_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_ASL_5_6_1_19_7', 'MR_ASL_5_6_1_19_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_ASL_5_6_1_19_8', 'MR_ASL_5_6_1_19_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_1_19', 'MR_5_6_1_19', '动脉自旋标记成像质控标准', 'MR', '颅脑', 'ASL', '动脉自旋标记成像', 80,
'动脉自旋标记成像质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_1_19_1', 'STD_MR_5_6_1_19', 'MR_ASL_5_6_1_19_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_1_19_2', 'STD_MR_5_6_1_19', 'MR_ASL_5_6_1_19_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_1_19_3', 'STD_MR_5_6_1_19', 'MR_ASL_5_6_1_19_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_1_19_4', 'STD_MR_5_6_1_19', 'MR_ASL_5_6_1_19_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_1_19_5', 'STD_MR_5_6_1_19', 'MR_ASL_5_6_1_19_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_1_19_6', 'STD_MR_5_6_1_19', 'MR_ASL_5_6_1_19_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_1_19_7', 'STD_MR_5_6_1_19', 'MR_ASL_5_6_1_19_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_1_19_8', 'STD_MR_5_6_1_19', 'MR_ASL_5_6_1_19_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_INNEREAR_5_6_1_20_1', 'MR_INNEREAR_5_6_1_20_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_INNEREAR_5_6_1_20_2', 'MR_INNEREAR_5_6_1_20_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_INNEREAR_5_6_1_20_3', 'MR_INNEREAR_5_6_1_20_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_INNEREAR_5_6_1_20_4', 'MR_INNEREAR_5_6_1_20_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_INNEREAR_5_6_1_20_5', 'MR_INNEREAR_5_6_1_20_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_INNEREAR_5_6_1_20_6', 'MR_INNEREAR_5_6_1_20_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_INNEREAR_5_6_1_20_7', 'MR_INNEREAR_5_6_1_20_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_INNEREAR_5_6_1_20_8', 'MR_INNEREAR_5_6_1_20_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_1_20', 'MR_5_6_1_20', '内耳MRI平扫质控标准', 'MR', '颅脑', '平扫', '内耳MRI平扫', 80,
'内耳MRI平扫质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_1_20_1', 'STD_MR_5_6_1_20', 'MR_INNEREAR_5_6_1_20_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_1_20_2', 'STD_MR_5_6_1_20', 'MR_INNEREAR_5_6_1_20_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_1_20_3', 'STD_MR_5_6_1_20', 'MR_INNEREAR_5_6_1_20_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_1_20_4', 'STD_MR_5_6_1_20', 'MR_INNEREAR_5_6_1_20_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_1_20_5', 'STD_MR_5_6_1_20', 'MR_INNEREAR_5_6_1_20_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_1_20_6', 'STD_MR_5_6_1_20', 'MR_INNEREAR_5_6_1_20_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_1_20_7', 'STD_MR_5_6_1_20', 'MR_INNEREAR_5_6_1_20_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_1_20_8', 'STD_MR_5_6_1_20', 'MR_INNEREAR_5_6_1_20_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_INNEREAR_5_6_1_21_1', 'MR_INNEREAR_5_6_1_21_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_INNEREAR_5_6_1_21_2', 'MR_INNEREAR_5_6_1_21_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_INNEREAR_5_6_1_21_3', 'MR_INNEREAR_5_6_1_21_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_INNEREAR_5_6_1_21_4', 'MR_INNEREAR_5_6_1_21_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_INNEREAR_5_6_1_21_5', 'MR_INNEREAR_5_6_1_21_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_INNEREAR_5_6_1_21_6', 'MR_INNEREAR_5_6_1_21_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_INNEREAR_5_6_1_21_7', 'MR_INNEREAR_5_6_1_21_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_INNEREAR_5_6_1_21_8', 'MR_INNEREAR_5_6_1_21_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_1_21', 'MR_5_6_1_21', '内耳MRI增强质控标准', 'MR', '颅脑', '增强', '内耳MRI增强', 80,
'内耳MRI增强质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_1_21_1', 'STD_MR_5_6_1_21', 'MR_INNEREAR_5_6_1_21_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_1_21_2', 'STD_MR_5_6_1_21', 'MR_INNEREAR_5_6_1_21_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_1_21_3', 'STD_MR_5_6_1_21', 'MR_INNEREAR_5_6_1_21_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_1_21_4', 'STD_MR_5_6_1_21', 'MR_INNEREAR_5_6_1_21_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_1_21_5', 'STD_MR_5_6_1_21', 'MR_INNEREAR_5_6_1_21_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_1_21_6', 'STD_MR_5_6_1_21', 'MR_INNEREAR_5_6_1_21_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_1_21_7', 'STD_MR_5_6_1_21', 'MR_INNEREAR_5_6_1_21_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_1_21_8', 'STD_MR_5_6_1_21', 'MR_INNEREAR_5_6_1_21_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_INNEREAR_CONTRAST_5_6_1_22_1', 'MR_INNEREAR_CONTRAST_5_6_1_22_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_INNEREAR_CONTRAST_5_6_1_22_2', 'MR_INNEREAR_CONTRAST_5_6_1_22_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_INNEREAR_CONTRAST_5_6_1_22_3', 'MR_INNEREAR_CONTRAST_5_6_1_22_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_INNEREAR_CONTRAST_5_6_1_22_4', 'MR_INNEREAR_CONTRAST_5_6_1_22_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_INNEREAR_CONTRAST_5_6_1_22_5', 'MR_INNEREAR_CONTRAST_5_6_1_22_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_INNEREAR_CONTRAST_5_6_1_22_6', 'MR_INNEREAR_CONTRAST_5_6_1_22_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_INNEREAR_CONTRAST_5_6_1_22_7', 'MR_INNEREAR_CONTRAST_5_6_1_22_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_INNEREAR_CONTRAST_5_6_1_22_8', 'MR_INNEREAR_CONTRAST_5_6_1_22_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_1_22', 'MR_5_6_1_22', '内耳MRI造影质控标准', 'MR', '颅脑', '造影', '内耳MRI造影', 80,
'内耳MRI造影质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_1_22_1', 'STD_MR_5_6_1_22', 'MR_INNEREAR_CONTRAST_5_6_1_22_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_1_22_2', 'STD_MR_5_6_1_22', 'MR_INNEREAR_CONTRAST_5_6_1_22_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_1_22_3', 'STD_MR_5_6_1_22', 'MR_INNEREAR_CONTRAST_5_6_1_22_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_1_22_4', 'STD_MR_5_6_1_22', 'MR_INNEREAR_CONTRAST_5_6_1_22_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_1_22_5', 'STD_MR_5_6_1_22', 'MR_INNEREAR_CONTRAST_5_6_1_22_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_1_22_6', 'STD_MR_5_6_1_22', 'MR_INNEREAR_CONTRAST_5_6_1_22_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_1_22_7', 'STD_MR_5_6_1_22', 'MR_INNEREAR_CONTRAST_5_6_1_22_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_1_22_8', 'STD_MR_5_6_1_22', 'MR_INNEREAR_CONTRAST_5_6_1_22_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_TRIGEMINAL_5_6_1_23_1', 'MR_TRIGEMINAL_5_6_1_23_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_TRIGEMINAL_5_6_1_23_2', 'MR_TRIGEMINAL_5_6_1_23_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_TRIGEMINAL_5_6_1_23_3', 'MR_TRIGEMINAL_5_6_1_23_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_TRIGEMINAL_5_6_1_23_4', 'MR_TRIGEMINAL_5_6_1_23_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_TRIGEMINAL_5_6_1_23_5', 'MR_TRIGEMINAL_5_6_1_23_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_TRIGEMINAL_5_6_1_23_6', 'MR_TRIGEMINAL_5_6_1_23_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_TRIGEMINAL_5_6_1_23_7', 'MR_TRIGEMINAL_5_6_1_23_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_TRIGEMINAL_5_6_1_23_8', 'MR_TRIGEMINAL_5_6_1_23_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_1_23', 'MR_5_6_1_23', '三叉神经MRI平扫质控标准', 'MR', '颅脑', '平扫', '三叉神经MRI平扫', 80,
'三叉神经MRI平扫质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_1_23_1', 'STD_MR_5_6_1_23', 'MR_TRIGEMINAL_5_6_1_23_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_1_23_2', 'STD_MR_5_6_1_23', 'MR_TRIGEMINAL_5_6_1_23_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_1_23_3', 'STD_MR_5_6_1_23', 'MR_TRIGEMINAL_5_6_1_23_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_1_23_4', 'STD_MR_5_6_1_23', 'MR_TRIGEMINAL_5_6_1_23_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_1_23_5', 'STD_MR_5_6_1_23', 'MR_TRIGEMINAL_5_6_1_23_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_1_23_6', 'STD_MR_5_6_1_23', 'MR_TRIGEMINAL_5_6_1_23_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_1_23_7', 'STD_MR_5_6_1_23', 'MR_TRIGEMINAL_5_6_1_23_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_1_23_8', 'STD_MR_5_6_1_23', 'MR_TRIGEMINAL_5_6_1_23_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SKULLBASE_5_6_2_1_1', 'MR_SKULLBASE_5_6_2_1_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SKULLBASE_5_6_2_1_2', 'MR_SKULLBASE_5_6_2_1_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SKULLBASE_5_6_2_1_3', 'MR_SKULLBASE_5_6_2_1_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SKULLBASE_5_6_2_1_4', 'MR_SKULLBASE_5_6_2_1_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SKULLBASE_5_6_2_1_5', 'MR_SKULLBASE_5_6_2_1_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SKULLBASE_5_6_2_1_6', 'MR_SKULLBASE_5_6_2_1_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SKULLBASE_5_6_2_1_7', 'MR_SKULLBASE_5_6_2_1_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SKULLBASE_5_6_2_1_8', 'MR_SKULLBASE_5_6_2_1_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_2_1', 'MR_5_6_2_1', '颅底MRI平扫质控标准', 'MR', '颅底', '平扫', '颅底MRI平扫', 80,
'颅底MRI平扫质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_2_1_1', 'STD_MR_5_6_2_1', 'MR_SKULLBASE_5_6_2_1_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_2_1_2', 'STD_MR_5_6_2_1', 'MR_SKULLBASE_5_6_2_1_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_2_1_3', 'STD_MR_5_6_2_1', 'MR_SKULLBASE_5_6_2_1_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_2_1_4', 'STD_MR_5_6_2_1', 'MR_SKULLBASE_5_6_2_1_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_2_1_5', 'STD_MR_5_6_2_1', 'MR_SKULLBASE_5_6_2_1_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_2_1_6', 'STD_MR_5_6_2_1', 'MR_SKULLBASE_5_6_2_1_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_2_1_7', 'STD_MR_5_6_2_1', 'MR_SKULLBASE_5_6_2_1_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_2_1_8', 'STD_MR_5_6_2_1', 'MR_SKULLBASE_5_6_2_1_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SKULLBASE_5_6_2_2_1', 'MR_SKULLBASE_5_6_2_2_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SKULLBASE_5_6_2_2_2', 'MR_SKULLBASE_5_6_2_2_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SKULLBASE_5_6_2_2_3', 'MR_SKULLBASE_5_6_2_2_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SKULLBASE_5_6_2_2_4', 'MR_SKULLBASE_5_6_2_2_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SKULLBASE_5_6_2_2_5', 'MR_SKULLBASE_5_6_2_2_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SKULLBASE_5_6_2_2_6', 'MR_SKULLBASE_5_6_2_2_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SKULLBASE_5_6_2_2_7', 'MR_SKULLBASE_5_6_2_2_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SKULLBASE_5_6_2_2_8', 'MR_SKULLBASE_5_6_2_2_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_2_2', 'MR_5_6_2_2', '颅底MRI增强质控标准', 'MR', '颅底', '增强', '颅底MRI增强', 80,
'颅底MRI增强质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_2_2_1', 'STD_MR_5_6_2_2', 'MR_SKULLBASE_5_6_2_2_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_2_2_2', 'STD_MR_5_6_2_2', 'MR_SKULLBASE_5_6_2_2_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_2_2_3', 'STD_MR_5_6_2_2', 'MR_SKULLBASE_5_6_2_2_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_2_2_4', 'STD_MR_5_6_2_2', 'MR_SKULLBASE_5_6_2_2_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_2_2_5', 'STD_MR_5_6_2_2', 'MR_SKULLBASE_5_6_2_2_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_2_2_6', 'STD_MR_5_6_2_2', 'MR_SKULLBASE_5_6_2_2_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_2_2_7', 'STD_MR_5_6_2_2', 'MR_SKULLBASE_5_6_2_2_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_2_2_8', 'STD_MR_5_6_2_2', 'MR_SKULLBASE_5_6_2_2_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_ORBIT_5_6_3_1_1', 'MR_ORBIT_5_6_3_1_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_ORBIT_5_6_3_1_2', 'MR_ORBIT_5_6_3_1_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_ORBIT_5_6_3_1_3', 'MR_ORBIT_5_6_3_1_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_ORBIT_5_6_3_1_4', 'MR_ORBIT_5_6_3_1_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_ORBIT_5_6_3_1_5', 'MR_ORBIT_5_6_3_1_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_ORBIT_5_6_3_1_6', 'MR_ORBIT_5_6_3_1_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_ORBIT_5_6_3_1_7', 'MR_ORBIT_5_6_3_1_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_ORBIT_5_6_3_1_8', 'MR_ORBIT_5_6_3_1_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_3_1', 'MR_5_6_3_1', '眼眶MRI平扫质控标准', 'MR', '眼部', '平扫', '眼眶MRI平扫', 80,
'眼眶MRI平扫质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_3_1_1', 'STD_MR_5_6_3_1', 'MR_ORBIT_5_6_3_1_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_3_1_2', 'STD_MR_5_6_3_1', 'MR_ORBIT_5_6_3_1_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_3_1_3', 'STD_MR_5_6_3_1', 'MR_ORBIT_5_6_3_1_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_3_1_4', 'STD_MR_5_6_3_1', 'MR_ORBIT_5_6_3_1_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_3_1_5', 'STD_MR_5_6_3_1', 'MR_ORBIT_5_6_3_1_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_3_1_6', 'STD_MR_5_6_3_1', 'MR_ORBIT_5_6_3_1_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_3_1_7', 'STD_MR_5_6_3_1', 'MR_ORBIT_5_6_3_1_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_3_1_8', 'STD_MR_5_6_3_1', 'MR_ORBIT_5_6_3_1_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_ORBIT_5_6_3_2_1', 'MR_ORBIT_5_6_3_2_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_ORBIT_5_6_3_2_2', 'MR_ORBIT_5_6_3_2_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_ORBIT_5_6_3_2_3', 'MR_ORBIT_5_6_3_2_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_ORBIT_5_6_3_2_4', 'MR_ORBIT_5_6_3_2_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_ORBIT_5_6_3_2_5', 'MR_ORBIT_5_6_3_2_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_ORBIT_5_6_3_2_6', 'MR_ORBIT_5_6_3_2_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_ORBIT_5_6_3_2_7', 'MR_ORBIT_5_6_3_2_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_ORBIT_5_6_3_2_8', 'MR_ORBIT_5_6_3_2_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_3_2', 'MR_5_6_3_2', '眼眶MRI增强质控标准', 'MR', '眼部', '增强', '眼眶MRI增强', 80,
'眼眶MRI增强质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_3_2_1', 'STD_MR_5_6_3_2', 'MR_ORBIT_5_6_3_2_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_3_2_2', 'STD_MR_5_6_3_2', 'MR_ORBIT_5_6_3_2_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_3_2_3', 'STD_MR_5_6_3_2', 'MR_ORBIT_5_6_3_2_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_3_2_4', 'STD_MR_5_6_3_2', 'MR_ORBIT_5_6_3_2_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_3_2_5', 'STD_MR_5_6_3_2', 'MR_ORBIT_5_6_3_2_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_3_2_6', 'STD_MR_5_6_3_2', 'MR_ORBIT_5_6_3_2_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_3_2_7', 'STD_MR_5_6_3_2', 'MR_ORBIT_5_6_3_2_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_3_2_8', 'STD_MR_5_6_3_2', 'MR_ORBIT_5_6_3_2_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SINUS_5_6_4_1_1', 'MR_SINUS_5_6_4_1_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SINUS_5_6_4_1_2', 'MR_SINUS_5_6_4_1_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SINUS_5_6_4_1_3', 'MR_SINUS_5_6_4_1_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SINUS_5_6_4_1_4', 'MR_SINUS_5_6_4_1_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SINUS_5_6_4_1_5', 'MR_SINUS_5_6_4_1_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SINUS_5_6_4_1_6', 'MR_SINUS_5_6_4_1_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SINUS_5_6_4_1_7', 'MR_SINUS_5_6_4_1_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SINUS_5_6_4_1_8', 'MR_SINUS_5_6_4_1_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_4_1', 'MR_5_6_4_1', '鼻窦MRI平扫质控标准', 'MR', '口腔颌面部', '平扫', '鼻窦MRI平扫', 80,
'鼻窦MRI平扫质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_4_1_1', 'STD_MR_5_6_4_1', 'MR_SINUS_5_6_4_1_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_4_1_2', 'STD_MR_5_6_4_1', 'MR_SINUS_5_6_4_1_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_4_1_3', 'STD_MR_5_6_4_1', 'MR_SINUS_5_6_4_1_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_4_1_4', 'STD_MR_5_6_4_1', 'MR_SINUS_5_6_4_1_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_4_1_5', 'STD_MR_5_6_4_1', 'MR_SINUS_5_6_4_1_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_4_1_6', 'STD_MR_5_6_4_1', 'MR_SINUS_5_6_4_1_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_4_1_7', 'STD_MR_5_6_4_1', 'MR_SINUS_5_6_4_1_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_4_1_8', 'STD_MR_5_6_4_1', 'MR_SINUS_5_6_4_1_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SINUS_5_6_4_2_1', 'MR_SINUS_5_6_4_2_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SINUS_5_6_4_2_2', 'MR_SINUS_5_6_4_2_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SINUS_5_6_4_2_3', 'MR_SINUS_5_6_4_2_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SINUS_5_6_4_2_4', 'MR_SINUS_5_6_4_2_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SINUS_5_6_4_2_5', 'MR_SINUS_5_6_4_2_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SINUS_5_6_4_2_6', 'MR_SINUS_5_6_4_2_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SINUS_5_6_4_2_7', 'MR_SINUS_5_6_4_2_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SINUS_5_6_4_2_8', 'MR_SINUS_5_6_4_2_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_4_2', 'MR_5_6_4_2', '鼻窦MRI平扫B质控标准', 'MR', '口腔颌面部', '平扫', '鼻窦MRI平扫B', 80,
'鼻窦MRI平扫B质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_4_2_1', 'STD_MR_5_6_4_2', 'MR_SINUS_5_6_4_2_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_4_2_2', 'STD_MR_5_6_4_2', 'MR_SINUS_5_6_4_2_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_4_2_3', 'STD_MR_5_6_4_2', 'MR_SINUS_5_6_4_2_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_4_2_4', 'STD_MR_5_6_4_2', 'MR_SINUS_5_6_4_2_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_4_2_5', 'STD_MR_5_6_4_2', 'MR_SINUS_5_6_4_2_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_4_2_6', 'STD_MR_5_6_4_2', 'MR_SINUS_5_6_4_2_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_4_2_7', 'STD_MR_5_6_4_2', 'MR_SINUS_5_6_4_2_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_4_2_8', 'STD_MR_5_6_4_2', 'MR_SINUS_5_6_4_2_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SINUS_5_6_4_3_1', 'MR_SINUS_5_6_4_3_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SINUS_5_6_4_3_2', 'MR_SINUS_5_6_4_3_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SINUS_5_6_4_3_3', 'MR_SINUS_5_6_4_3_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SINUS_5_6_4_3_4', 'MR_SINUS_5_6_4_3_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SINUS_5_6_4_3_5', 'MR_SINUS_5_6_4_3_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SINUS_5_6_4_3_6', 'MR_SINUS_5_6_4_3_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SINUS_5_6_4_3_7', 'MR_SINUS_5_6_4_3_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_SINUS_5_6_4_3_8', 'MR_SINUS_5_6_4_3_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_4_3', 'MR_5_6_4_3', '鼻窦MRI增强质控标准', 'MR', '口腔颌面部', '增强', '鼻窦MRI增强', 80,
'鼻窦MRI增强质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_4_3_1', 'STD_MR_5_6_4_3', 'MR_SINUS_5_6_4_3_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_4_3_2', 'STD_MR_5_6_4_3', 'MR_SINUS_5_6_4_3_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_4_3_3', 'STD_MR_5_6_4_3', 'MR_SINUS_5_6_4_3_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_4_3_4', 'STD_MR_5_6_4_3', 'MR_SINUS_5_6_4_3_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_4_3_5', 'STD_MR_5_6_4_3', 'MR_SINUS_5_6_4_3_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_4_3_6', 'STD_MR_5_6_4_3', 'MR_SINUS_5_6_4_3_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_4_3_7', 'STD_MR_5_6_4_3', 'MR_SINUS_5_6_4_3_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_4_3_8', 'STD_MR_5_6_4_3', 'MR_SINUS_5_6_4_3_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_TMJ_5_6_4_4_1', 'MR_TMJ_5_6_4_4_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_TMJ_5_6_4_4_2', 'MR_TMJ_5_6_4_4_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_TMJ_5_6_4_4_3', 'MR_TMJ_5_6_4_4_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_TMJ_5_6_4_4_4', 'MR_TMJ_5_6_4_4_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_TMJ_5_6_4_4_5', 'MR_TMJ_5_6_4_4_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_TMJ_5_6_4_4_6', 'MR_TMJ_5_6_4_4_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_TMJ_5_6_4_4_7', 'MR_TMJ_5_6_4_4_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_TMJ_5_6_4_4_8', 'MR_TMJ_5_6_4_4_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_4_4', 'MR_5_6_4_4', '颞下颌关节MRI平扫质控标准', 'MR', '口腔颌面部', '平扫', '颞下颌关节MRI平扫', 80,
'颞下颌关节MRI平扫质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_4_4_1', 'STD_MR_5_6_4_4', 'MR_TMJ_5_6_4_4_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_4_4_2', 'STD_MR_5_6_4_4', 'MR_TMJ_5_6_4_4_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_4_4_3', 'STD_MR_5_6_4_4', 'MR_TMJ_5_6_4_4_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_4_4_4', 'STD_MR_5_6_4_4', 'MR_TMJ_5_6_4_4_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_4_4_5', 'STD_MR_5_6_4_4', 'MR_TMJ_5_6_4_4_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_4_4_6', 'STD_MR_5_6_4_4', 'MR_TMJ_5_6_4_4_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_4_4_7', 'STD_MR_5_6_4_4', 'MR_TMJ_5_6_4_4_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_4_4_8', 'STD_MR_5_6_4_4', 'MR_TMJ_5_6_4_4_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NASOPHARYNX_5_6_5_1_1', 'MR_NASOPHARYNX_5_6_5_1_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NASOPHARYNX_5_6_5_1_2', 'MR_NASOPHARYNX_5_6_5_1_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NASOPHARYNX_5_6_5_1_3', 'MR_NASOPHARYNX_5_6_5_1_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NASOPHARYNX_5_6_5_1_4', 'MR_NASOPHARYNX_5_6_5_1_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NASOPHARYNX_5_6_5_1_5', 'MR_NASOPHARYNX_5_6_5_1_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NASOPHARYNX_5_6_5_1_6', 'MR_NASOPHARYNX_5_6_5_1_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NASOPHARYNX_5_6_5_1_7', 'MR_NASOPHARYNX_5_6_5_1_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NASOPHARYNX_5_6_5_1_8', 'MR_NASOPHARYNX_5_6_5_1_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_5_1', 'MR_5_6_5_1', '鼻咽部MRI平扫质控标准', 'MR', '鼻咽部', '平扫', '鼻咽部MRI平扫', 80,
'鼻咽部MRI平扫质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_5_1_1', 'STD_MR_5_6_5_1', 'MR_NASOPHARYNX_5_6_5_1_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_5_1_2', 'STD_MR_5_6_5_1', 'MR_NASOPHARYNX_5_6_5_1_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_5_1_3', 'STD_MR_5_6_5_1', 'MR_NASOPHARYNX_5_6_5_1_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_5_1_4', 'STD_MR_5_6_5_1', 'MR_NASOPHARYNX_5_6_5_1_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_5_1_5', 'STD_MR_5_6_5_1', 'MR_NASOPHARYNX_5_6_5_1_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_5_1_6', 'STD_MR_5_6_5_1', 'MR_NASOPHARYNX_5_6_5_1_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_5_1_7', 'STD_MR_5_6_5_1', 'MR_NASOPHARYNX_5_6_5_1_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_5_1_8', 'STD_MR_5_6_5_1', 'MR_NASOPHARYNX_5_6_5_1_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NASOPHARYNX_5_6_5_2_1', 'MR_NASOPHARYNX_5_6_5_2_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NASOPHARYNX_5_6_5_2_2', 'MR_NASOPHARYNX_5_6_5_2_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NASOPHARYNX_5_6_5_2_3', 'MR_NASOPHARYNX_5_6_5_2_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NASOPHARYNX_5_6_5_2_4', 'MR_NASOPHARYNX_5_6_5_2_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NASOPHARYNX_5_6_5_2_5', 'MR_NASOPHARYNX_5_6_5_2_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NASOPHARYNX_5_6_5_2_6', 'MR_NASOPHARYNX_5_6_5_2_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NASOPHARYNX_5_6_5_2_7', 'MR_NASOPHARYNX_5_6_5_2_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NASOPHARYNX_5_6_5_2_8', 'MR_NASOPHARYNX_5_6_5_2_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_5_2', 'MR_5_6_5_2', '鼻咽部MRI增强质控标准', 'MR', '鼻咽部', '增强', '鼻咽部MRI增强', 80,
'鼻咽部MRI增强质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_5_2_1', 'STD_MR_5_6_5_2', 'MR_NASOPHARYNX_5_6_5_2_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_5_2_2', 'STD_MR_5_6_5_2', 'MR_NASOPHARYNX_5_6_5_2_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_5_2_3', 'STD_MR_5_6_5_2', 'MR_NASOPHARYNX_5_6_5_2_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_5_2_4', 'STD_MR_5_6_5_2', 'MR_NASOPHARYNX_5_6_5_2_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_5_2_5', 'STD_MR_5_6_5_2', 'MR_NASOPHARYNX_5_6_5_2_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_5_2_6', 'STD_MR_5_6_5_2', 'MR_NASOPHARYNX_5_6_5_2_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_5_2_7', 'STD_MR_5_6_5_2', 'MR_NASOPHARYNX_5_6_5_2_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_5_2_8', 'STD_MR_5_6_5_2', 'MR_NASOPHARYNX_5_6_5_2_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PAROTID_5_6_6_1_1', 'MR_PAROTID_5_6_6_1_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PAROTID_5_6_6_1_2', 'MR_PAROTID_5_6_6_1_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PAROTID_5_6_6_1_3', 'MR_PAROTID_5_6_6_1_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PAROTID_5_6_6_1_4', 'MR_PAROTID_5_6_6_1_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PAROTID_5_6_6_1_5', 'MR_PAROTID_5_6_6_1_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PAROTID_5_6_6_1_6', 'MR_PAROTID_5_6_6_1_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PAROTID_5_6_6_1_7', 'MR_PAROTID_5_6_6_1_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PAROTID_5_6_6_1_8', 'MR_PAROTID_5_6_6_1_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_6_1', 'MR_5_6_6_1', '腮腺MRI平扫质控标准', 'MR', '口腔颌面部', '平扫', '腮腺MRI平扫', 80,
'腮腺MRI平扫质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_6_1_1', 'STD_MR_5_6_6_1', 'MR_PAROTID_5_6_6_1_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_6_1_2', 'STD_MR_5_6_6_1', 'MR_PAROTID_5_6_6_1_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_6_1_3', 'STD_MR_5_6_6_1', 'MR_PAROTID_5_6_6_1_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_6_1_4', 'STD_MR_5_6_6_1', 'MR_PAROTID_5_6_6_1_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_6_1_5', 'STD_MR_5_6_6_1', 'MR_PAROTID_5_6_6_1_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_6_1_6', 'STD_MR_5_6_6_1', 'MR_PAROTID_5_6_6_1_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_6_1_7', 'STD_MR_5_6_6_1', 'MR_PAROTID_5_6_6_1_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_6_1_8', 'STD_MR_5_6_6_1', 'MR_PAROTID_5_6_6_1_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PAROTID_5_6_6_2_1', 'MR_PAROTID_5_6_6_2_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PAROTID_5_6_6_2_2', 'MR_PAROTID_5_6_6_2_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PAROTID_5_6_6_2_3', 'MR_PAROTID_5_6_6_2_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PAROTID_5_6_6_2_4', 'MR_PAROTID_5_6_6_2_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PAROTID_5_6_6_2_5', 'MR_PAROTID_5_6_6_2_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PAROTID_5_6_6_2_6', 'MR_PAROTID_5_6_6_2_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PAROTID_5_6_6_2_7', 'MR_PAROTID_5_6_6_2_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PAROTID_5_6_6_2_8', 'MR_PAROTID_5_6_6_2_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_6_2', 'MR_5_6_6_2', '腮腺MRI增强质控标准', 'MR', '口腔颌面部', '增强', '腮腺MRI增强', 80,
'腮腺MRI增强质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_6_2_1', 'STD_MR_5_6_6_2', 'MR_PAROTID_5_6_6_2_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_6_2_2', 'STD_MR_5_6_6_2', 'MR_PAROTID_5_6_6_2_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_6_2_3', 'STD_MR_5_6_6_2', 'MR_PAROTID_5_6_6_2_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_6_2_4', 'STD_MR_5_6_6_2', 'MR_PAROTID_5_6_6_2_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_6_2_5', 'STD_MR_5_6_6_2', 'MR_PAROTID_5_6_6_2_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_6_2_6', 'STD_MR_5_6_6_2', 'MR_PAROTID_5_6_6_2_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_6_2_7', 'STD_MR_5_6_6_2', 'MR_PAROTID_5_6_6_2_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_6_2_8', 'STD_MR_5_6_6_2', 'MR_PAROTID_5_6_6_2_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PAROTID_DUCT_5_6_6_3_1', 'MR_PAROTID_DUCT_5_6_6_3_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PAROTID_DUCT_5_6_6_3_2', 'MR_PAROTID_DUCT_5_6_6_3_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PAROTID_DUCT_5_6_6_3_3', 'MR_PAROTID_DUCT_5_6_6_3_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PAROTID_DUCT_5_6_6_3_4', 'MR_PAROTID_DUCT_5_6_6_3_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PAROTID_DUCT_5_6_6_3_5', 'MR_PAROTID_DUCT_5_6_6_3_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PAROTID_DUCT_5_6_6_3_6', 'MR_PAROTID_DUCT_5_6_6_3_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PAROTID_DUCT_5_6_6_3_7', 'MR_PAROTID_DUCT_5_6_6_3_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_PAROTID_DUCT_5_6_6_3_8', 'MR_PAROTID_DUCT_5_6_6_3_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_6_3', 'MR_5_6_6_3', '腮腺导管MRI成像质控标准', 'MR', '口腔颌面部', '水成像', '腮腺导管MRI成像', 80,
'腮腺导管MRI成像质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_6_3_1', 'STD_MR_5_6_6_3', 'MR_PAROTID_DUCT_5_6_6_3_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_6_3_2', 'STD_MR_5_6_6_3', 'MR_PAROTID_DUCT_5_6_6_3_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_6_3_3', 'STD_MR_5_6_6_3', 'MR_PAROTID_DUCT_5_6_6_3_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_6_3_4', 'STD_MR_5_6_6_3', 'MR_PAROTID_DUCT_5_6_6_3_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_6_3_5', 'STD_MR_5_6_6_3', 'MR_PAROTID_DUCT_5_6_6_3_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_6_3_6', 'STD_MR_5_6_6_3', 'MR_PAROTID_DUCT_5_6_6_3_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_6_3_7', 'STD_MR_5_6_6_3', 'MR_PAROTID_DUCT_5_6_6_3_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_6_3_8', 'STD_MR_5_6_6_3', 'MR_PAROTID_DUCT_5_6_6_3_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NECK_5_6_7_1_1', 'MR_NECK_5_6_7_1_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NECK_5_6_7_1_2', 'MR_NECK_5_6_7_1_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NECK_5_6_7_1_3', 'MR_NECK_5_6_7_1_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NECK_5_6_7_1_4', 'MR_NECK_5_6_7_1_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NECK_5_6_7_1_5', 'MR_NECK_5_6_7_1_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NECK_5_6_7_1_6', 'MR_NECK_5_6_7_1_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NECK_5_6_7_1_7', 'MR_NECK_5_6_7_1_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NECK_5_6_7_1_8', 'MR_NECK_5_6_7_1_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_7_1', 'MR_5_6_7_1', '颈部MRI平扫质控标准', 'MR', '颈部', '平扫', '颈部MRI平扫', 80,
'颈部MRI平扫质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_7_1_1', 'STD_MR_5_6_7_1', 'MR_NECK_5_6_7_1_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_7_1_2', 'STD_MR_5_6_7_1', 'MR_NECK_5_6_7_1_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_7_1_3', 'STD_MR_5_6_7_1', 'MR_NECK_5_6_7_1_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_7_1_4', 'STD_MR_5_6_7_1', 'MR_NECK_5_6_7_1_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_7_1_5', 'STD_MR_5_6_7_1', 'MR_NECK_5_6_7_1_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_7_1_6', 'STD_MR_5_6_7_1', 'MR_NECK_5_6_7_1_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_7_1_7', 'STD_MR_5_6_7_1', 'MR_NECK_5_6_7_1_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_7_1_8', 'STD_MR_5_6_7_1', 'MR_NECK_5_6_7_1_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NECK_5_6_7_2_1', 'MR_NECK_5_6_7_2_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NECK_5_6_7_2_2', 'MR_NECK_5_6_7_2_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NECK_5_6_7_2_3', 'MR_NECK_5_6_7_2_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NECK_5_6_7_2_4', 'MR_NECK_5_6_7_2_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NECK_5_6_7_2_5', 'MR_NECK_5_6_7_2_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NECK_5_6_7_2_6', 'MR_NECK_5_6_7_2_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NECK_5_6_7_2_7', 'MR_NECK_5_6_7_2_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NECK_5_6_7_2_8', 'MR_NECK_5_6_7_2_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_7_2', 'MR_5_6_7_2', '颈部MRI增强质控标准', 'MR', '颈部', '增强', '颈部MRI增强', 80,
'颈部MRI增强质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_7_2_1', 'STD_MR_5_6_7_2', 'MR_NECK_5_6_7_2_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_7_2_2', 'STD_MR_5_6_7_2', 'MR_NECK_5_6_7_2_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_7_2_3', 'STD_MR_5_6_7_2', 'MR_NECK_5_6_7_2_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_7_2_4', 'STD_MR_5_6_7_2', 'MR_NECK_5_6_7_2_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_7_2_5', 'STD_MR_5_6_7_2', 'MR_NECK_5_6_7_2_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_7_2_6', 'STD_MR_5_6_7_2', 'MR_NECK_5_6_7_2_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_7_2_7', 'STD_MR_5_6_7_2', 'MR_NECK_5_6_7_2_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_7_2_8', 'STD_MR_5_6_7_2', 'MR_NECK_5_6_7_2_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NECK_MRA_5_6_7_3_1', 'MR_NECK_MRA_5_6_7_3_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NECK_MRA_5_6_7_3_2', 'MR_NECK_MRA_5_6_7_3_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NECK_MRA_5_6_7_3_3', 'MR_NECK_MRA_5_6_7_3_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NECK_MRA_5_6_7_3_4', 'MR_NECK_MRA_5_6_7_3_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NECK_MRA_5_6_7_3_5', 'MR_NECK_MRA_5_6_7_3_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NECK_MRA_5_6_7_3_6', 'MR_NECK_MRA_5_6_7_3_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NECK_MRA_5_6_7_3_7', 'MR_NECK_MRA_5_6_7_3_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NECK_MRA_5_6_7_3_8', 'MR_NECK_MRA_5_6_7_3_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_7_3', 'MR_5_6_7_3', '颈部非对比增强MRA质控标准', 'MR', '颈部', '血管成像', '颈部非对比增强MRA', 80,
'颈部非对比增强MRA质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_7_3_1', 'STD_MR_5_6_7_3', 'MR_NECK_MRA_5_6_7_3_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_7_3_2', 'STD_MR_5_6_7_3', 'MR_NECK_MRA_5_6_7_3_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_7_3_3', 'STD_MR_5_6_7_3', 'MR_NECK_MRA_5_6_7_3_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_7_3_4', 'STD_MR_5_6_7_3', 'MR_NECK_MRA_5_6_7_3_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_7_3_5', 'STD_MR_5_6_7_3', 'MR_NECK_MRA_5_6_7_3_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_7_3_6', 'STD_MR_5_6_7_3', 'MR_NECK_MRA_5_6_7_3_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_7_3_7', 'STD_MR_5_6_7_3', 'MR_NECK_MRA_5_6_7_3_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_7_3_8', 'STD_MR_5_6_7_3', 'MR_NECK_MRA_5_6_7_3_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NECK_VESSEL_5_6_7_4_1', 'MR_NECK_VESSEL_5_6_7_4_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NECK_VESSEL_5_6_7_4_2', 'MR_NECK_VESSEL_5_6_7_4_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NECK_VESSEL_5_6_7_4_3', 'MR_NECK_VESSEL_5_6_7_4_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NECK_VESSEL_5_6_7_4_4', 'MR_NECK_VESSEL_5_6_7_4_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NECK_VESSEL_5_6_7_4_5', 'MR_NECK_VESSEL_5_6_7_4_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NECK_VESSEL_5_6_7_4_6', 'MR_NECK_VESSEL_5_6_7_4_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NECK_VESSEL_5_6_7_4_7', 'MR_NECK_VESSEL_5_6_7_4_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_NECK_VESSEL_5_6_7_4_8', 'MR_NECK_VESSEL_5_6_7_4_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_7_4', 'MR_5_6_7_4', '高分辨率颈血管壁MRI质控标准', 'MR', '颈部', '血管壁', '高分辨率颈血管壁MRI', 80,
'高分辨率颈血管壁MRI质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_7_4_1', 'STD_MR_5_6_7_4', 'MR_NECK_VESSEL_5_6_7_4_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_7_4_2', 'STD_MR_5_6_7_4', 'MR_NECK_VESSEL_5_6_7_4_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_7_4_3', 'STD_MR_5_6_7_4', 'MR_NECK_VESSEL_5_6_7_4_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_7_4_4', 'STD_MR_5_6_7_4', 'MR_NECK_VESSEL_5_6_7_4_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_7_4_5', 'STD_MR_5_6_7_4', 'MR_NECK_VESSEL_5_6_7_4_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_7_4_6', 'STD_MR_5_6_7_4', 'MR_NECK_VESSEL_5_6_7_4_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_7_4_7', 'STD_MR_5_6_7_4', 'MR_NECK_VESSEL_5_6_7_4_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_7_4_8', 'STD_MR_5_6_7_4', 'MR_NECK_VESSEL_5_6_7_4_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_LARYNGOPHARYNX_5_6_7_5_1', 'MR_LARYNGOPHARYNX_5_6_7_5_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_LARYNGOPHARYNX_5_6_7_5_2', 'MR_LARYNGOPHARYNX_5_6_7_5_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_LARYNGOPHARYNX_5_6_7_5_3', 'MR_LARYNGOPHARYNX_5_6_7_5_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_LARYNGOPHARYNX_5_6_7_5_4', 'MR_LARYNGOPHARYNX_5_6_7_5_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_LARYNGOPHARYNX_5_6_7_5_5', 'MR_LARYNGOPHARYNX_5_6_7_5_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_LARYNGOPHARYNX_5_6_7_5_6', 'MR_LARYNGOPHARYNX_5_6_7_5_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_LARYNGOPHARYNX_5_6_7_5_7', 'MR_LARYNGOPHARYNX_5_6_7_5_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_LARYNGOPHARYNX_5_6_7_5_8', 'MR_LARYNGOPHARYNX_5_6_7_5_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_7_5', 'MR_5_6_7_5', '喉咽MRI平扫质控标准', 'MR', '颈部', '平扫', '喉咽MRI平扫', 80,
'喉咽MRI平扫质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_7_5_1', 'STD_MR_5_6_7_5', 'MR_LARYNGOPHARYNX_5_6_7_5_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_7_5_2', 'STD_MR_5_6_7_5', 'MR_LARYNGOPHARYNX_5_6_7_5_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_7_5_3', 'STD_MR_5_6_7_5', 'MR_LARYNGOPHARYNX_5_6_7_5_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_7_5_4', 'STD_MR_5_6_7_5', 'MR_LARYNGOPHARYNX_5_6_7_5_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_7_5_5', 'STD_MR_5_6_7_5', 'MR_LARYNGOPHARYNX_5_6_7_5_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_7_5_6', 'STD_MR_5_6_7_5', 'MR_LARYNGOPHARYNX_5_6_7_5_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_7_5_7', 'STD_MR_5_6_7_5', 'MR_LARYNGOPHARYNX_5_6_7_5_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_7_5_8', 'STD_MR_5_6_7_5', 'MR_LARYNGOPHARYNX_5_6_7_5_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_LARYNGOPHARYNX_5_6_7_6_1', 'MR_LARYNGOPHARYNX_5_6_7_6_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_LARYNGOPHARYNX_5_6_7_6_2', 'MR_LARYNGOPHARYNX_5_6_7_6_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_LARYNGOPHARYNX_5_6_7_6_3', 'MR_LARYNGOPHARYNX_5_6_7_6_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_LARYNGOPHARYNX_5_6_7_6_4', 'MR_LARYNGOPHARYNX_5_6_7_6_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_LARYNGOPHARYNX_5_6_7_6_5', 'MR_LARYNGOPHARYNX_5_6_7_6_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_LARYNGOPHARYNX_5_6_7_6_6', 'MR_LARYNGOPHARYNX_5_6_7_6_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_LARYNGOPHARYNX_5_6_7_6_7', 'MR_LARYNGOPHARYNX_5_6_7_6_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_LARYNGOPHARYNX_5_6_7_6_8', 'MR_LARYNGOPHARYNX_5_6_7_6_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_7_6', 'MR_5_6_7_6', '喉咽MRI增强质控标准', 'MR', '颈部', '增强', '喉咽MRI增强', 80,
'喉咽MRI增强质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_7_6_1', 'STD_MR_5_6_7_6', 'MR_LARYNGOPHARYNX_5_6_7_6_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_7_6_2', 'STD_MR_5_6_7_6', 'MR_LARYNGOPHARYNX_5_6_7_6_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_7_6_3', 'STD_MR_5_6_7_6', 'MR_LARYNGOPHARYNX_5_6_7_6_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_7_6_4', 'STD_MR_5_6_7_6', 'MR_LARYNGOPHARYNX_5_6_7_6_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_7_6_5', 'STD_MR_5_6_7_6', 'MR_LARYNGOPHARYNX_5_6_7_6_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_7_6_6', 'STD_MR_5_6_7_6', 'MR_LARYNGOPHARYNX_5_6_7_6_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_7_6_7', 'STD_MR_5_6_7_6', 'MR_LARYNGOPHARYNX_5_6_7_6_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_7_6_8', 'STD_MR_5_6_7_6', 'MR_LARYNGOPHARYNX_5_6_7_6_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BREAST_5_6_8_1_1', 'MR_BREAST_5_6_8_1_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BREAST_5_6_8_1_2', 'MR_BREAST_5_6_8_1_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BREAST_5_6_8_1_3', 'MR_BREAST_5_6_8_1_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BREAST_5_6_8_1_4', 'MR_BREAST_5_6_8_1_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BREAST_5_6_8_1_5', 'MR_BREAST_5_6_8_1_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BREAST_5_6_8_1_6', 'MR_BREAST_5_6_8_1_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BREAST_5_6_8_1_7', 'MR_BREAST_5_6_8_1_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BREAST_5_6_8_1_8', 'MR_BREAST_5_6_8_1_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_8_1', 'MR_5_6_8_1', '乳腺MRI平扫质控标准', 'MR', '胸部', '平扫', '乳腺MRI平扫', 80,
'乳腺MRI平扫质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_8_1_1', 'STD_MR_5_6_8_1', 'MR_BREAST_5_6_8_1_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_8_1_2', 'STD_MR_5_6_8_1', 'MR_BREAST_5_6_8_1_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_8_1_3', 'STD_MR_5_6_8_1', 'MR_BREAST_5_6_8_1_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_8_1_4', 'STD_MR_5_6_8_1', 'MR_BREAST_5_6_8_1_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_8_1_5', 'STD_MR_5_6_8_1', 'MR_BREAST_5_6_8_1_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_8_1_6', 'STD_MR_5_6_8_1', 'MR_BREAST_5_6_8_1_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_8_1_7', 'STD_MR_5_6_8_1', 'MR_BREAST_5_6_8_1_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_8_1_8', 'STD_MR_5_6_8_1', 'MR_BREAST_5_6_8_1_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BREAST_IMPLANT_5_6_8_2_1', 'MR_BREAST_IMPLANT_5_6_8_2_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BREAST_IMPLANT_5_6_8_2_2', 'MR_BREAST_IMPLANT_5_6_8_2_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BREAST_IMPLANT_5_6_8_2_3', 'MR_BREAST_IMPLANT_5_6_8_2_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BREAST_IMPLANT_5_6_8_2_4', 'MR_BREAST_IMPLANT_5_6_8_2_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BREAST_IMPLANT_5_6_8_2_5', 'MR_BREAST_IMPLANT_5_6_8_2_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BREAST_IMPLANT_5_6_8_2_6', 'MR_BREAST_IMPLANT_5_6_8_2_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BREAST_IMPLANT_5_6_8_2_7', 'MR_BREAST_IMPLANT_5_6_8_2_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BREAST_IMPLANT_5_6_8_2_8', 'MR_BREAST_IMPLANT_5_6_8_2_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_8_2', 'MR_5_6_8_2', '乳腺假体MRI平扫质控标准', 'MR', '胸部', '平扫', '乳腺假体MRI平扫', 80,
'乳腺假体MRI平扫质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_8_2_1', 'STD_MR_5_6_8_2', 'MR_BREAST_IMPLANT_5_6_8_2_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_8_2_2', 'STD_MR_5_6_8_2', 'MR_BREAST_IMPLANT_5_6_8_2_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_8_2_3', 'STD_MR_5_6_8_2', 'MR_BREAST_IMPLANT_5_6_8_2_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_8_2_4', 'STD_MR_5_6_8_2', 'MR_BREAST_IMPLANT_5_6_8_2_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_8_2_5', 'STD_MR_5_6_8_2', 'MR_BREAST_IMPLANT_5_6_8_2_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_8_2_6', 'STD_MR_5_6_8_2', 'MR_BREAST_IMPLANT_5_6_8_2_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_8_2_7', 'STD_MR_5_6_8_2', 'MR_BREAST_IMPLANT_5_6_8_2_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_8_2_8', 'STD_MR_5_6_8_2', 'MR_BREAST_IMPLANT_5_6_8_2_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BREAST_DCE_5_6_8_3_1', 'MR_BREAST_DCE_5_6_8_3_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BREAST_DCE_5_6_8_3_2', 'MR_BREAST_DCE_5_6_8_3_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BREAST_DCE_5_6_8_3_3', 'MR_BREAST_DCE_5_6_8_3_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BREAST_DCE_5_6_8_3_4', 'MR_BREAST_DCE_5_6_8_3_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BREAST_DCE_5_6_8_3_5', 'MR_BREAST_DCE_5_6_8_3_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BREAST_DCE_5_6_8_3_6', 'MR_BREAST_DCE_5_6_8_3_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BREAST_DCE_5_6_8_3_7', 'MR_BREAST_DCE_5_6_8_3_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_BREAST_DCE_5_6_8_3_8', 'MR_BREAST_DCE_5_6_8_3_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_8_3', 'MR_5_6_8_3', '乳腺MRI动态增强质控标准', 'MR', '胸部', '增强', '乳腺MRI动态增强', 80,
'乳腺MRI动态增强质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_8_3_1', 'STD_MR_5_6_8_3', 'MR_BREAST_DCE_5_6_8_3_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_8_3_2', 'STD_MR_5_6_8_3', 'MR_BREAST_DCE_5_6_8_3_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_8_3_3', 'STD_MR_5_6_8_3', 'MR_BREAST_DCE_5_6_8_3_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_8_3_4', 'STD_MR_5_6_8_3', 'MR_BREAST_DCE_5_6_8_3_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_8_3_5', 'STD_MR_5_6_8_3', 'MR_BREAST_DCE_5_6_8_3_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_8_3_6', 'STD_MR_5_6_8_3', 'MR_BREAST_DCE_5_6_8_3_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_8_3_7', 'STD_MR_5_6_8_3', 'MR_BREAST_DCE_5_6_8_3_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_8_3_8', 'STD_MR_5_6_8_3', 'MR_BREAST_DCE_5_6_8_3_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_STERNUM_5_6_8_4_1', 'MR_STERNUM_5_6_8_4_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_STERNUM_5_6_8_4_2', 'MR_STERNUM_5_6_8_4_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_STERNUM_5_6_8_4_3', 'MR_STERNUM_5_6_8_4_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_STERNUM_5_6_8_4_4', 'MR_STERNUM_5_6_8_4_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_STERNUM_5_6_8_4_5', 'MR_STERNUM_5_6_8_4_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_STERNUM_5_6_8_4_6', 'MR_STERNUM_5_6_8_4_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_STERNUM_5_6_8_4_7', 'MR_STERNUM_5_6_8_4_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_STERNUM_5_6_8_4_8', 'MR_STERNUM_5_6_8_4_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_8_4', 'MR_5_6_8_4', '胸骨MRI平扫质控标准', 'MR', '胸部', '平扫', '胸骨MRI平扫', 80,
'胸骨MRI平扫质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_8_4_1', 'STD_MR_5_6_8_4', 'MR_STERNUM_5_6_8_4_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_8_4_2', 'STD_MR_5_6_8_4', 'MR_STERNUM_5_6_8_4_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_8_4_3', 'STD_MR_5_6_8_4', 'MR_STERNUM_5_6_8_4_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_8_4_4', 'STD_MR_5_6_8_4', 'MR_STERNUM_5_6_8_4_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_8_4_5', 'STD_MR_5_6_8_4', 'MR_STERNUM_5_6_8_4_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_8_4_6', 'STD_MR_5_6_8_4', 'MR_STERNUM_5_6_8_4_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_8_4_7', 'STD_MR_5_6_8_4', 'MR_STERNUM_5_6_8_4_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_8_4_8', 'STD_MR_5_6_8_4', 'MR_STERNUM_5_6_8_4_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_STERNUM_5_6_8_5_1', 'MR_STERNUM_5_6_8_5_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_STERNUM_5_6_8_5_2', 'MR_STERNUM_5_6_8_5_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_STERNUM_5_6_8_5_3', 'MR_STERNUM_5_6_8_5_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_STERNUM_5_6_8_5_4', 'MR_STERNUM_5_6_8_5_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_STERNUM_5_6_8_5_5', 'MR_STERNUM_5_6_8_5_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_STERNUM_5_6_8_5_6', 'MR_STERNUM_5_6_8_5_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_STERNUM_5_6_8_5_7', 'MR_STERNUM_5_6_8_5_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_STERNUM_5_6_8_5_8', 'MR_STERNUM_5_6_8_5_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_8_5', 'MR_5_6_8_5', '胸骨MRI增强质控标准', 'MR', '胸部', '增强', '胸骨MRI增强', 80,
'胸骨MRI增强质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_8_5_1', 'STD_MR_5_6_8_5', 'MR_STERNUM_5_6_8_5_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_8_5_2', 'STD_MR_5_6_8_5', 'MR_STERNUM_5_6_8_5_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_8_5_3', 'STD_MR_5_6_8_5', 'MR_STERNUM_5_6_8_5_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_8_5_4', 'STD_MR_5_6_8_5', 'MR_STERNUM_5_6_8_5_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_8_5_5', 'STD_MR_5_6_8_5', 'MR_STERNUM_5_6_8_5_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_8_5_6', 'STD_MR_5_6_8_5', 'MR_STERNUM_5_6_8_5_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_8_5_7', 'STD_MR_5_6_8_5', 'MR_STERNUM_5_6_8_5_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_8_5_8', 'STD_MR_5_6_8_5', 'MR_STERNUM_5_6_8_5_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_MEDIASTINUM_5_6_8_6_1', 'MR_MEDIASTINUM_5_6_8_6_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_MEDIASTINUM_5_6_8_6_2', 'MR_MEDIASTINUM_5_6_8_6_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_MEDIASTINUM_5_6_8_6_3', 'MR_MEDIASTINUM_5_6_8_6_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_MEDIASTINUM_5_6_8_6_4', 'MR_MEDIASTINUM_5_6_8_6_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_MEDIASTINUM_5_6_8_6_5', 'MR_MEDIASTINUM_5_6_8_6_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_MEDIASTINUM_5_6_8_6_6', 'MR_MEDIASTINUM_5_6_8_6_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_MEDIASTINUM_5_6_8_6_7', 'MR_MEDIASTINUM_5_6_8_6_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_MEDIASTINUM_5_6_8_6_8', 'MR_MEDIASTINUM_5_6_8_6_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_8_6', 'MR_5_6_8_6', '纵隔MRI平扫质控标准', 'MR', '胸部', '平扫', '纵隔MRI平扫', 80,
'纵隔MRI平扫质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_8_6_1', 'STD_MR_5_6_8_6', 'MR_MEDIASTINUM_5_6_8_6_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_8_6_2', 'STD_MR_5_6_8_6', 'MR_MEDIASTINUM_5_6_8_6_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_8_6_3', 'STD_MR_5_6_8_6', 'MR_MEDIASTINUM_5_6_8_6_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_8_6_4', 'STD_MR_5_6_8_6', 'MR_MEDIASTINUM_5_6_8_6_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_8_6_5', 'STD_MR_5_6_8_6', 'MR_MEDIASTINUM_5_6_8_6_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_8_6_6', 'STD_MR_5_6_8_6', 'MR_MEDIASTINUM_5_6_8_6_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_8_6_7', 'STD_MR_5_6_8_6', 'MR_MEDIASTINUM_5_6_8_6_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_8_6_8', 'STD_MR_5_6_8_6', 'MR_MEDIASTINUM_5_6_8_6_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_MEDIASTINUM_5_6_8_7_1', 'MR_MEDIASTINUM_5_6_8_7_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_MEDIASTINUM_5_6_8_7_2', 'MR_MEDIASTINUM_5_6_8_7_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_MEDIASTINUM_5_6_8_7_3', 'MR_MEDIASTINUM_5_6_8_7_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_MEDIASTINUM_5_6_8_7_4', 'MR_MEDIASTINUM_5_6_8_7_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_MEDIASTINUM_5_6_8_7_5', 'MR_MEDIASTINUM_5_6_8_7_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_MEDIASTINUM_5_6_8_7_6', 'MR_MEDIASTINUM_5_6_8_7_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_MEDIASTINUM_5_6_8_7_7', 'MR_MEDIASTINUM_5_6_8_7_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_MEDIASTINUM_5_6_8_7_8', 'MR_MEDIASTINUM_5_6_8_7_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_8_7', 'MR_5_6_8_7', '纵隔MRI增强质控标准', 'MR', '胸部', '增强', '纵隔MRI增强', 80,
'纵隔MRI增强质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_8_7_1', 'STD_MR_5_6_8_7', 'MR_MEDIASTINUM_5_6_8_7_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_8_7_2', 'STD_MR_5_6_8_7', 'MR_MEDIASTINUM_5_6_8_7_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_8_7_3', 'STD_MR_5_6_8_7', 'MR_MEDIASTINUM_5_6_8_7_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_8_7_4', 'STD_MR_5_6_8_7', 'MR_MEDIASTINUM_5_6_8_7_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_8_7_5', 'STD_MR_5_6_8_7', 'MR_MEDIASTINUM_5_6_8_7_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_8_7_6', 'STD_MR_5_6_8_7', 'MR_MEDIASTINUM_5_6_8_7_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_8_7_7', 'STD_MR_5_6_8_7', 'MR_MEDIASTINUM_5_6_8_7_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_8_7_8', 'STD_MR_5_6_8_7', 'MR_MEDIASTINUM_5_6_8_7_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_HEART_5_6_9_1_1', 'MR_HEART_5_6_9_1_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_HEART_5_6_9_1_2', 'MR_HEART_5_6_9_1_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_HEART_5_6_9_1_3', 'MR_HEART_5_6_9_1_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_HEART_5_6_9_1_4', 'MR_HEART_5_6_9_1_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_HEART_5_6_9_1_5', 'MR_HEART_5_6_9_1_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_HEART_5_6_9_1_6', 'MR_HEART_5_6_9_1_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_HEART_5_6_9_1_7', 'MR_HEART_5_6_9_1_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_HEART_5_6_9_1_8', 'MR_HEART_5_6_9_1_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_9_1', 'MR_5_6_9_1', '心脏MRI平扫质控标准', 'MR', '心脏', '平扫', '心脏MRI平扫', 80,
'心脏MRI平扫质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_9_1_1', 'STD_MR_5_6_9_1', 'MR_HEART_5_6_9_1_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_9_1_2', 'STD_MR_5_6_9_1', 'MR_HEART_5_6_9_1_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_9_1_3', 'STD_MR_5_6_9_1', 'MR_HEART_5_6_9_1_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_9_1_4', 'STD_MR_5_6_9_1', 'MR_HEART_5_6_9_1_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_9_1_5', 'STD_MR_5_6_9_1', 'MR_HEART_5_6_9_1_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_9_1_6', 'STD_MR_5_6_9_1', 'MR_HEART_5_6_9_1_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_9_1_7', 'STD_MR_5_6_9_1', 'MR_HEART_5_6_9_1_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_9_1_8', 'STD_MR_5_6_9_1', 'MR_HEART_5_6_9_1_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------

INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_HEART_5_6_9_2_1', 'MR_HEART_5_6_9_2_1', '检查范围', 4, 'boolean',
'检查范围符合规范',
'{"type": "dicom_check", "method": "checkSCAN_RANGE", "params": {"basicCheck": true}, "isVeto": false, "description": "检查范围符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_HEART_5_6_9_2_2', 'MR_HEART_5_6_9_2_2', '图像偏中心', 4, 'boolean',
'断层位于图像正中',
'{"type": "dicom_check", "method": "checkIMAGE_CENTERING", "params": {"basicCheck": true}, "isVeto": false, "description": "断层位于图像正中"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_HEART_5_6_9_2_3', 'MR_HEART_5_6_9_2_3', '扫描参数', 4, 'boolean',
'层厚、间距、FOV符合规范',
'{"type": "dicom_check", "method": "checkSCAN_PARAMS", "params": {"basicCheck": true}, "isVeto": false, "description": "层厚、间距、FOV符合规范"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_HEART_5_6_9_2_4', 'MR_HEART_5_6_9_2_4', '扫描序列', 4, 'boolean',
'包含必需的基础序列',
'{"type": "dicom_check", "method": "checkSCAN_SEQUENCES", "params": {"basicCheck": true}, "isVeto": true, "description": "包含必需的基础序列"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_HEART_5_6_9_2_5', 'MR_HEART_5_6_9_2_5', '体位', 4, 'boolean',
'人体结构居中或保持对称',
'{"type": "dicom_check", "method": "checkPATIENT_POSITION", "params": {"basicCheck": true}, "isVeto": false, "description": "人体结构居中或保持对称"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_HEART_5_6_9_2_6', 'MR_HEART_5_6_9_2_6', '图像标识', 4, 'boolean',
'影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE',
'{"type": "dicom_check", "method": "checkImageAnnotation", "params": {"basicCheck": true}, "isVeto": true, "description": "影像号、部位、姓名、性别、年龄、日期、时间、WW、WL、TR、TE"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_HEART_5_6_9_2_7', 'MR_HEART_5_6_9_2_7', '图像伪影', 4, 'boolean',
'图像无明显伪影',
'{"type": "dicom_check", "method": "checkIMAGE_ARTIFACTS", "params": {"basicCheck": true}, "isVeto": true, "description": "图像无明显伪影"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_factor` (`id`, `factor_code`, `factor_name`, `factor_category`, `factor_type`, `description`, `check_rule`, `data_source`, `status`, `create_time`, `update_time`, `modality`, `body_part`, `scan_type`) VALUES
('MR_HEART_5_6_9_2_8', 'MR_HEART_5_6_9_2_8', '图像清晰度', 4, 'boolean',
'清晰显示解剖结构和病变',
'{"type": "dicom_check", "method": "checkIMAGE_CLARITY", "params": {"basicCheck": true}, "isVeto": false, "description": "清晰显示解剖结构和病变"}',
'dicom_metadata', 1, NOW(), NOW(), NULL, NULL, NULL);
INSERT INTO `qc_standard` (`id`, `standard_code`, `standard_name`, `modality`, `body_part`, `scan_type`, `exam_item`, `pass_score`, `description`, `status`, `create_time`, `update_time`) VALUES
('STD_MR_5_6_9_2', 'MR_5_6_9_2', '心脏MRI增强质控标准', 'MR', '心脏', '增强', '心脏MRI增强', 80,
'心脏MRI增强质控标准，包含8个质控因子',
1, NOW(), NOW());
INSERT INTO `qc_standard_factor` (`id`, `standard_id`, `factor_id`, `weight`, `is_required`, `sort_order`, `create_time`, `update_time`) VALUES
('SF_MR_5_6_9_2_1', 'STD_MR_5_6_9_2', 'MR_HEART_5_6_9_2_1', 10.00, 1, 1, NOW(), NOW()),
('SF_MR_5_6_9_2_2', 'STD_MR_5_6_9_2', 'MR_HEART_5_6_9_2_2', 8.00, 1, 2, NOW(), NOW()),
('SF_MR_5_6_9_2_3', 'STD_MR_5_6_9_2', 'MR_HEART_5_6_9_2_3', 12.00, 1, 3, NOW(), NOW()),
('SF_MR_5_6_9_2_4', 'STD_MR_5_6_9_2', 'MR_HEART_5_6_9_2_4', 20.00, 1, 4, NOW(), NOW()),
('SF_MR_5_6_9_2_5', 'STD_MR_5_6_9_2', 'MR_HEART_5_6_9_2_5', 8.00, 1, 5, NOW(), NOW()),
('SF_MR_5_6_9_2_6', 'STD_MR_5_6_9_2', 'MR_HEART_5_6_9_2_6', 20.00, 1, 6, NOW(), NOW()),
('SF_MR_5_6_9_2_7', 'STD_MR_5_6_9_2', 'MR_HEART_5_6_9_2_7', 14.00, 1, 7, NOW(), NOW()),
('SF_MR_5_6_9_2_8', 'STD_MR_5_6_9_2', 'MR_HEART_5_6_9_2_8', 8.00, 1, 8, NOW(), NOW());

-- --------------------------------------------------
