{
  "mode": "dry-run",
  "source": "docs\\HOPMs标准数据集-V1.1.3.docx",
  "summary": {
    "table_count": 1,
    "column_count": 46,
    "tables_missing_name_en": 0,
    "columns_missing_name": 0
  },
  "warnings": {
    "tables_missing_name_en": [],
    "columns_missing_name": []
  },
  "tables": [
    {
      "source_table_index": 3,
      "table_info": {
        "name_zh": "患者基本信息",
        "name_en": "patient_demographics",
        "description": ""
      },
      "columns": [
        {
          "name_zh": "医疗机构代码",
          "name_en": "YLJGDM",
          "data_type": "varchar(22)",
          "is_primary": true,
          "nullable": false,
          "comment": "复合主键。医疗机构在HOPMs的唯一识别码",
          "requirement": "必填",
          "length": "22"
        },
        {
          "name_zh": "患者主索引",
          "name_en": "BRZSY",
          "data_type": "varchar(64)",
          "is_primary": true,
          "nullable": false,
          "comment": "复合主键",
          "requirement": "必填",
          "length": "64"
        },
        {
          "name_zh": "证件号码",
          "name_en": "ZJHM",
          "data_type": "varchar(18)",
          "is_primary": false,
          "nullable": false,
          "comment": "",
          "requirement": "必填",
          "length": "18"
        },
        {
          "name_zh": "证件类型",
          "name_en": "ZJLX",
          "data_type": "varchar(2)",
          "is_primary": false,
          "nullable": false,
          "comment": "填写CV02.01.101标准代码。当患者不能提供任何证件信息时证件号码和证件类型填写“-”",
          "requirement": "必填",
          "length": "2"
        },
        {
          "name_zh": "性别",
          "name_en": "XB",
          "data_type": "varchar(1)",
          "is_primary": false,
          "nullable": false,
          "comment": "GB/T 2261.1-2003个人基本信息分类与代码 第1部分：人的性别代码",
          "requirement": "必填",
          "length": "1"
        },
        {
          "name_zh": "姓名",
          "name_en": "XM",
          "data_type": "varchar(72)",
          "is_primary": false,
          "nullable": false,
          "comment": "患者姓名",
          "requirement": "必填",
          "length": "72"
        },
        {
          "name_zh": "年龄（岁）",
          "name_en": "NLS",
          "data_type": "varchar(8)",
          "is_primary": false,
          "nullable": true,
          "comment": "",
          "requirement": "应填",
          "length": "8"
        },
        {
          "name_zh": "年龄（月）",
          "name_en": "NLY",
          "data_type": "varchar(8)",
          "is_primary": false,
          "nullable": true,
          "comment": "",
          "requirement": "应填",
          "length": "8"
        },
        {
          "name_zh": "年龄（天）",
          "name_en": "NLT",
          "data_type": "varchar(16)",
          "is_primary": false,
          "nullable": true,
          "comment": "患者为新生儿，此项为必填项",
          "requirement": "应填",
          "length": "16"
        },
        {
          "name_zh": "患者来源",
          "name_en": "HZLY",
          "data_type": "varchar(1)",
          "is_primary": false,
          "nullable": false,
          "comment": "编码。0：本地人员；1：外地人员；2：境外人员；9：其他",
          "requirement": "必填",
          "length": "1"
        },
        {
          "name_zh": "患者类型",
          "name_en": "HZLX",
          "data_type": "varchar(1)",
          "is_primary": false,
          "nullable": false,
          "comment": "CV09.00.404代码 患者类型代码表",
          "requirement": "必填",
          "length": "1"
        },
        {
          "name_zh": "婚姻状况",
          "name_en": "HYZK",
          "data_type": "varchar(2)",
          "is_primary": false,
          "nullable": false,
          "comment": "填写GB2261.2-2003婚姻状况代码表",
          "requirement": "必填",
          "length": "2"
        },
        {
          "name_zh": "出生日期",
          "name_en": "CSRQ",
          "data_type": "varchar(8)",
          "is_primary": false,
          "nullable": false,
          "comment": "格式：YYYYMMDD",
          "requirement": "必填",
          "length": "8"
        },
        {
          "name_zh": "出生地",
          "name_en": "CSD",
          "data_type": "varchar(6)",
          "is_primary": false,
          "nullable": false,
          "comment": "编码。按国标GB2260-2007执行，传6位数字码",
          "requirement": "必填",
          "length": "6"
        },
        {
          "name_zh": "民族",
          "name_en": "MZ",
          "data_type": "varchar(2)",
          "is_primary": false,
          "nullable": false,
          "comment": "编码。GBT3304-1991标准字母代码",
          "requirement": "必填",
          "length": "2"
        },
        {
          "name_zh": "国籍",
          "name_en": "GJ",
          "data_type": "varchar(10)",
          "is_primary": false,
          "nullable": false,
          "comment": "填写GB/T2659-2000标准三位阿拉伯代码",
          "requirement": "必填",
          "length": "10"
        },
        {
          "name_zh": "电话号码",
          "name_en": "DHHM",
          "data_type": "varchar(24)",
          "is_primary": false,
          "nullable": true,
          "comment": "社保卡患者必须填写",
          "requirement": "应填",
          "length": "24"
        },
        {
          "name_zh": "手机号码",
          "name_en": "SJHM",
          "data_type": "varchar(24)",
          "is_primary": false,
          "nullable": true,
          "comment": "社保卡患者必须填写",
          "requirement": "应填",
          "length": "24"
        },
        {
          "name_zh": "工作单位邮编",
          "name_en": "GZDWYB",
          "data_type": "varchar(6)",
          "is_primary": false,
          "nullable": true,
          "comment": "",
          "requirement": "应填",
          "length": "6"
        },
        {
          "name_zh": "工作单位名称",
          "name_en": "GZDWMC",
          "data_type": "varchar(128)",
          "is_primary": false,
          "nullable": true,
          "comment": "",
          "requirement": "应填",
          "length": "128"
        },
        {
          "name_zh": "工作单位地址",
          "name_en": "GZDWDZ",
          "data_type": "varchar(128)",
          "is_primary": false,
          "nullable": true,
          "comment": "",
          "requirement": "应填",
          "length": "128"
        },
        {
          "name_zh": "居住地址",
          "name_en": "JZDZ",
          "data_type": "varchar(128)",
          "is_primary": false,
          "nullable": true,
          "comment": "社保卡患者必须填写",
          "requirement": "应填",
          "length": "128"
        },
        {
          "name_zh": "户口地-省（自治区、直辖市）名 称",
          "name_en": "HKD_SHE_NM",
          "data_type": "varchar(70)",
          "is_primary": false,
          "nullable": true,
          "comment": "",
          "requirement": "应填",
          "length": "70"
        },
        {
          "name_zh": "户口地-市（地区）名称",
          "name_en": "HKD_SHI_NM",
          "data_type": "varchar(70)",
          "is_primary": false,
          "nullable": true,
          "comment": "",
          "requirement": "应填",
          "length": "70"
        },
        {
          "name_zh": "户口地-县（区） 名称",
          "name_en": "HKD_XIA_NM",
          "data_type": "varchar(70)",
          "is_primary": false,
          "nullable": true,
          "comment": "",
          "requirement": "应填",
          "length": "70"
        },
        {
          "name_zh": "户口地-乡（镇、街道）名称",
          "name_en": "HKD_XNG_NM",
          "data_type": "varchar(70)",
          "is_primary": false,
          "nullable": true,
          "comment": "",
          "requirement": "应填",
          "length": "70"
        },
        {
          "name_zh": "户口地-(居委会、村)名称",
          "name_en": "HKD_VLG_NM",
          "data_type": "varchar(70)",
          "is_primary": false,
          "nullable": true,
          "comment": "",
          "requirement": "应填",
          "length": "70"
        },
        {
          "name_zh": "户口地-村（路、街、弄）",
          "name_en": "HKD_CUN",
          "data_type": "varchar(70)",
          "is_primary": false,
          "nullable": true,
          "comment": "",
          "requirement": "应填",
          "length": "70"
        },
        {
          "name_zh": "户口地-门牌号(包括“室”)",
          "name_en": "HKD_MPH",
          "data_type": "varchar(70)",
          "is_primary": false,
          "nullable": true,
          "comment": "",
          "requirement": "应填",
          "length": "70"
        },
        {
          "name_zh": "户口地址邮编",
          "name_en": "HKDZYB",
          "data_type": "varchar(6)",
          "is_primary": false,
          "nullable": true,
          "comment": "",
          "requirement": "应填",
          "length": "6"
        },
        {
          "name_zh": "联系人姓名",
          "name_en": "LXRXM",
          "data_type": "varchar(72)",
          "is_primary": false,
          "nullable": true,
          "comment": "",
          "requirement": "应填",
          "length": "72"
        },
        {
          "name_zh": "联系人关系",
          "name_en": "LXRGX",
          "data_type": "varchar(4)",
          "is_primary": false,
          "nullable": true,
          "comment": "GB/T4761-2008家庭关系代码",
          "requirement": "应填",
          "length": "4"
        },
        {
          "name_zh": "联系人地址",
          "name_en": "LXRDZ",
          "data_type": "varchar(128)",
          "is_primary": false,
          "nullable": true,
          "comment": "",
          "requirement": "应填",
          "length": "128"
        },
        {
          "name_zh": "联系人邮编",
          "name_en": "LXRYB",
          "data_type": "varchar(6)",
          "is_primary": false,
          "nullable": true,
          "comment": "",
          "requirement": "应填",
          "length": "6"
        },
        {
          "name_zh": "联系人电话",
          "name_en": "LXRDH",
          "data_type": "varchar(24)",
          "is_primary": false,
          "nullable": true,
          "comment": "",
          "requirement": "应填",
          "length": "24"
        },
        {
          "name_zh": "参加工作日期",
          "name_en": "CJGZRQ",
          "data_type": "date",
          "is_primary": false,
          "nullable": true,
          "comment": "",
          "requirement": "应填",
          "length": "8"
        },
        {
          "name_zh": "电子邮件地址",
          "name_en": "DZYJDZ",
          "data_type": "varchar(40)",
          "is_primary": false,
          "nullable": true,
          "comment": "",
          "requirement": "应填",
          "length": "40"
        },
        {
          "name_zh": "联 系 电 话 - 类 别代码",
          "name_en": "LXDH_LBDM",
          "data_type": "varchar(2)",
          "is_primary": false,
          "nullable": true,
          "comment": "CV0400.01联系电话类别代码",
          "requirement": "应填",
          "length": "2"
        },
        {
          "name_zh": "联系电话-类别",
          "name_en": "LXDH_LB",
          "data_type": "varchar(20)",
          "is_primary": false,
          "nullable": true,
          "comment": "",
          "requirement": "应填",
          "length": "20"
        },
        {
          "name_zh": "修改标志",
          "name_en": "XGBZ",
          "data_type": "varchar(1)",
          "is_primary": false,
          "nullable": false,
          "comment": "编码。0：正常；1：撤销",
          "requirement": "必填",
          "length": "1"
        },
        {
          "name_zh": "数据生成时间",
          "name_en": "TBRQ",
          "data_type": "timestamp",
          "is_primary": false,
          "nullable": false,
          "comment": "业务操作获取该患者信息的时间",
          "requirement": "必填",
          "length": ""
        },
        {
          "name_zh": "医疗机构内部档案号",
          "name_en": "YYDAH",
          "data_type": "varchar(64)",
          "is_primary": false,
          "nullable": false,
          "comment": "优先填写患者主索引，没有则填写院内其他唯一识别号",
          "requirement": "必填",
          "length": "64"
        },
        {
          "name_zh": "健康卡号",
          "name_en": "JKKH",
          "data_type": "varchar(20)",
          "is_primary": false,
          "nullable": true,
          "comment": "为公卫各条线业务开展所预留",
          "requirement": "应填",
          "length": "20"
        },
        {
          "name_zh": "医保卡号",
          "name_en": "YBKKH",
          "data_type": "varchar(30)",
          "is_primary": false,
          "nullable": true,
          "comment": "患者个人编号",
          "requirement": "应填",
          "length": "30"
        },
        {
          "name_zh": "预留一",
          "name_en": "YLYL1",
          "data_type": "varchar(128)",
          "is_primary": false,
          "nullable": true,
          "comment": "预留字段",
          "requirement": "应填",
          "length": "128"
        },
        {
          "name_zh": "预留二",
          "name_en": "YLYL2",
          "data_type": "varchar(128)",
          "is_primary": false,
          "nullable": true,
          "comment": "预留字段",
          "requirement": "应填",
          "length": "128"
        }
      ],
      "backend_payload": {
        "name_zh": "患者基本信息",
        "name_en": "patient_demographics",
        "describe": "",
        "type": "table",
        "category": "HOPMs标准数据集",
        "parsed_data": [
          {
            "name_zh": "医疗机构代码",
            "name_en": "YLJGDM",
            "data_type": "varchar(22)",
            "describe": "复合主键。医疗机构在HOPMs的唯一识别码"
          },
          {
            "name_zh": "患者主索引",
            "name_en": "BRZSY",
            "data_type": "varchar(64)",
            "describe": "复合主键"
          },
          {
            "name_zh": "证件号码",
            "name_en": "ZJHM",
            "data_type": "varchar(18)",
            "describe": ""
          },
          {
            "name_zh": "证件类型",
            "name_en": "ZJLX",
            "data_type": "varchar(2)",
            "describe": "填写CV02.01.101标准代码。当患者不能提供任何证件信息时证件号码和证件类型填写“-”"
          },
          {
            "name_zh": "性别",
            "name_en": "XB",
            "data_type": "varchar(1)",
            "describe": "GB/T 2261.1-2003个人基本信息分类与代码 第1部分：人的性别代码"
          },
          {
            "name_zh": "姓名",
            "name_en": "XM",
            "data_type": "varchar(72)",
            "describe": "患者姓名"
          },
          {
            "name_zh": "年龄（岁）",
            "name_en": "NLS",
            "data_type": "varchar(8)",
            "describe": ""
          },
          {
            "name_zh": "年龄（月）",
            "name_en": "NLY",
            "data_type": "varchar(8)",
            "describe": ""
          },
          {
            "name_zh": "年龄（天）",
            "name_en": "NLT",
            "data_type": "varchar(16)",
            "describe": "患者为新生儿，此项为必填项"
          },
          {
            "name_zh": "患者来源",
            "name_en": "HZLY",
            "data_type": "varchar(1)",
            "describe": "编码。0：本地人员；1：外地人员；2：境外人员；9：其他"
          },
          {
            "name_zh": "患者类型",
            "name_en": "HZLX",
            "data_type": "varchar(1)",
            "describe": "CV09.00.404代码 患者类型代码表"
          },
          {
            "name_zh": "婚姻状况",
            "name_en": "HYZK",
            "data_type": "varchar(2)",
            "describe": "填写GB2261.2-2003婚姻状况代码表"
          },
          {
            "name_zh": "出生日期",
            "name_en": "CSRQ",
            "data_type": "varchar(8)",
            "describe": "格式：YYYYMMDD"
          },
          {
            "name_zh": "出生地",
            "name_en": "CSD",
            "data_type": "varchar(6)",
            "describe": "编码。按国标GB2260-2007执行，传6位数字码"
          },
          {
            "name_zh": "民族",
            "name_en": "MZ",
            "data_type": "varchar(2)",
            "describe": "编码。GBT3304-1991标准字母代码"
          },
          {
            "name_zh": "国籍",
            "name_en": "GJ",
            "data_type": "varchar(10)",
            "describe": "填写GB/T2659-2000标准三位阿拉伯代码"
          },
          {
            "name_zh": "电话号码",
            "name_en": "DHHM",
            "data_type": "varchar(24)",
            "describe": "社保卡患者必须填写"
          },
          {
            "name_zh": "手机号码",
            "name_en": "SJHM",
            "data_type": "varchar(24)",
            "describe": "社保卡患者必须填写"
          },
          {
            "name_zh": "工作单位邮编",
            "name_en": "GZDWYB",
            "data_type": "varchar(6)",
            "describe": ""
          },
          {
            "name_zh": "工作单位名称",
            "name_en": "GZDWMC",
            "data_type": "varchar(128)",
            "describe": ""
          },
          {
            "name_zh": "工作单位地址",
            "name_en": "GZDWDZ",
            "data_type": "varchar(128)",
            "describe": ""
          },
          {
            "name_zh": "居住地址",
            "name_en": "JZDZ",
            "data_type": "varchar(128)",
            "describe": "社保卡患者必须填写"
          },
          {
            "name_zh": "户口地-省（自治区、直辖市）名 称",
            "name_en": "HKD_SHE_NM",
            "data_type": "varchar(70)",
            "describe": ""
          },
          {
            "name_zh": "户口地-市（地区）名称",
            "name_en": "HKD_SHI_NM",
            "data_type": "varchar(70)",
            "describe": ""
          },
          {
            "name_zh": "户口地-县（区） 名称",
            "name_en": "HKD_XIA_NM",
            "data_type": "varchar(70)",
            "describe": ""
          },
          {
            "name_zh": "户口地-乡（镇、街道）名称",
            "name_en": "HKD_XNG_NM",
            "data_type": "varchar(70)",
            "describe": ""
          },
          {
            "name_zh": "户口地-(居委会、村)名称",
            "name_en": "HKD_VLG_NM",
            "data_type": "varchar(70)",
            "describe": ""
          },
          {
            "name_zh": "户口地-村（路、街、弄）",
            "name_en": "HKD_CUN",
            "data_type": "varchar(70)",
            "describe": ""
          },
          {
            "name_zh": "户口地-门牌号(包括“室”)",
            "name_en": "HKD_MPH",
            "data_type": "varchar(70)",
            "describe": ""
          },
          {
            "name_zh": "户口地址邮编",
            "name_en": "HKDZYB",
            "data_type": "varchar(6)",
            "describe": ""
          },
          {
            "name_zh": "联系人姓名",
            "name_en": "LXRXM",
            "data_type": "varchar(72)",
            "describe": ""
          },
          {
            "name_zh": "联系人关系",
            "name_en": "LXRGX",
            "data_type": "varchar(4)",
            "describe": "GB/T4761-2008家庭关系代码"
          },
          {
            "name_zh": "联系人地址",
            "name_en": "LXRDZ",
            "data_type": "varchar(128)",
            "describe": ""
          },
          {
            "name_zh": "联系人邮编",
            "name_en": "LXRYB",
            "data_type": "varchar(6)",
            "describe": ""
          },
          {
            "name_zh": "联系人电话",
            "name_en": "LXRDH",
            "data_type": "varchar(24)",
            "describe": ""
          },
          {
            "name_zh": "参加工作日期",
            "name_en": "CJGZRQ",
            "data_type": "date",
            "describe": ""
          },
          {
            "name_zh": "电子邮件地址",
            "name_en": "DZYJDZ",
            "data_type": "varchar(40)",
            "describe": ""
          },
          {
            "name_zh": "联 系 电 话 - 类 别代码",
            "name_en": "LXDH_LBDM",
            "data_type": "varchar(2)",
            "describe": "CV0400.01联系电话类别代码"
          },
          {
            "name_zh": "联系电话-类别",
            "name_en": "LXDH_LB",
            "data_type": "varchar(20)",
            "describe": ""
          },
          {
            "name_zh": "修改标志",
            "name_en": "XGBZ",
            "data_type": "varchar(1)",
            "describe": "编码。0：正常；1：撤销"
          },
          {
            "name_zh": "数据生成时间",
            "name_en": "TBRQ",
            "data_type": "timestamp",
            "describe": "业务操作获取该患者信息的时间"
          },
          {
            "name_zh": "医疗机构内部档案号",
            "name_en": "YYDAH",
            "data_type": "varchar(64)",
            "describe": "优先填写患者主索引，没有则填写院内其他唯一识别号"
          },
          {
            "name_zh": "健康卡号",
            "name_en": "JKKH",
            "data_type": "varchar(20)",
            "describe": "为公卫各条线业务开展所预留"
          },
          {
            "name_zh": "医保卡号",
            "name_en": "YBKKH",
            "data_type": "varchar(30)",
            "describe": "患者个人编号"
          },
          {
            "name_zh": "预留一",
            "name_en": "YLYL1",
            "data_type": "varchar(128)",
            "describe": "预留字段"
          },
          {
            "name_zh": "预留二",
            "name_en": "YLYL2",
            "data_type": "varchar(128)",
            "describe": "预留字段"
          }
        ]
      }
    }
  ]
}