import { getSameOptions } from '@lm_fe/env';
import { defineFormConfig } from '@lm_fe/service';
import { ROMAN_NUMERALS } from '@lm_fe/utils';
import { get_check_invert_values } from '@lm_fe/components_m';
var cache;
var __ = defineFormConfig([{
  isActive: 0,
  title: '建瓯'
}, {
  label: '基本信息',
  children: [{
    "key": "gynecologicalPatient.occupation",
    "label": "职业",
    "inputType": "MA",
    inputProps: {
      optionKey: '职业s',
      marshal: 0,
      disabled: true
    },
    layout: '1/4'
  }, {
    "key": "gynecologicalPatient.telephone",
    "label": "联系电话",
    "inputType": "MyInput",
    inputProps: {
      optionKey: '职业s',
      marshal: 0,
      disabled: true
    },
    layout: '1/4'
  }, {
    "key": "gynecologicalPatient.maritalYears",
    "label": "结婚年数",
    "inputType": 'input_number',
    inputProps: {
      disabled: true
    },
    layout: '1/4'
  }, {
    "key": "archivist",
    "label": "建档人",
    "inputType": "MyInput",
    inputProps: {
      optionKey: '职业s',
      marshal: 0,
      disabled: true
    },
    layout: '1/4'
  }, {
    "key": "gynecologicalPatient.workplace",
    "label": "单位或地址",
    "inputType": 'MyInput',
    inputProps: {
      optionKey: '职业s',
      marshal: 0,
      disabled: true
    },
    layout: '1/1'
  }]
}, {
  label: '妇科病史',
  children: [{
    layout: '1/4',
    "key": "gynecologicalNote.contactBleeding",
    "label": "接触性出血",
    "inputType": "MC",
    inputProps: {
      options: getSameOptions('有,无'),
      marshal: 0
    }
  }, {
    layout: '1/4',
    "key": "gynecologicalNote.vaginaBlood",
    "label": "阴道不规则出血",
    "inputType": "MC",
    inputProps: {
      options: getSameOptions('有,无'),
      marshal: 0
    }
  }, {
    layout: '1/4',
    "key": "gynecologicalNote.procedureHistory",
    "label": "手术史",
    "inputType": "MC",
    "inputProps": {
      options: getSameOptions('有,无'),
      marshal: 0
    }
  }, {
    layout: '1/4',
    "key": "gynecologicalNote.procedureHistoryNote",
    "label": "手术史备注",
    "inputType": "input"
  }, {
    layout: '1/4',
    "key": "gynecologicalNote.tumour",
    "label": "家族肿瘤史",
    "inputType": "MC",
    "inputProps": {
      options: getSameOptions('有,无'),
      marshal: 0
    }
  }, {
    layout: '1/4',
    "key": "gynecologicalNote.tumourNote",
    "label": "家族肿瘤史备注",
    "inputType": "input",
    "inputProps": {
      "placeholder": "请输入家族肿瘤史备注"
    }
  }, {
    layout: '1/4',
    "key": "gynecologicalNote.contraception",
    "label": "避孕方式",
    "inputType": "MC",
    inputProps: {
      options: getSameOptions('避孕套,上环,服药,结扎'),
      type: 'multiple',
      marshal: 0
    }
  }, {
    layout: '1/4',
    "key": "gynecologicalNote.contraceptionNote",
    "label": "其他避孕方式备注",
    "inputType": "input",
    "inputProps": {
      "placeholder": "请输入避孕方式备注"
    }
  }]
}, {
  label: '月经史',
  children: [{
    layout: '1/4',
    "key": "menstrualHistory.menarche",
    "label": "初潮年龄",
    "inputType": "input"
  }, {
    layout: '1/4',
    "key": "menstrualHistory.menstrualCycle",
    "label": "周期",
    "inputType": "MC",
    "inputProps": {
      options: getSameOptions('规则,不规则'),
      marshal: 0
    }
  }, {
    layout: '1/4',
    "key": "menstrualHistory.menstrualVolume",
    "label": "经量",
    "inputType": "MC",
    "inputProps": {
      options: getSameOptions('多,中,少'),
      marshal: 0
    }
  }, {
    layout: '1/4',
    "key": "menstrualHistory.lmd",
    "label": "末次月经",
    "inputType": "single_date_picker",
    "inputProps": {
      "placeholder": "请输入末次月经"
    }
  }, {
    layout: '1/4',
    "key": "menstrualHistory.menopause",
    "label": "停经年龄",
    "inputType": "input",
    "inputProps": {
      "placeholder": "请输入停经"
    }
  }, {
    layout: '1/4',
    "key": "menstrualHistory.dysmenorrhea",
    "label": "痛经",
    "inputType": "pregnant_radio",
    "inputProps": {
      "placeholder": "请输入痛经"
    }
  }]
}, {
  label: '婚育史',
  children: [{
    layout: '1/4',
    "key": "maritalHistory.graviditycount",
    "label": "孕数",
    "inputType": 'input_number',
    "inputProps": {
      "placeholder": "请输入孕数"
    }
  }, {
    layout: '1/4',
    "key": "maritalHistory.parityycount",
    "label": "产数",
    "inputType": 'input_number',
    "inputProps": {
      "placeholder": "请输入产数"
    }
  }, {
    layout: '1/4',
    "key": "maritalHistory.term",
    "label": "足月产",
    "inputType": 'input_number',
    "inputProps": {
      "placeholder": "请输入足月产"
    }
  }, {
    layout: '1/4',
    "key": "maritalHistory.preterm",
    "label": "早产",
    "inputType": "input_number",
    "inputProps": {
      "placeholder": "请输入早产"
    }
  }, {
    layout: '1/4',
    "key": "maritalHistory.vaginalDelivery",
    "label": "顺产",
    "inputType": "input_number",
    "inputProps": {
      "placeholder": "请输入顺产"
    }
  }, {
    layout: '1/4',
    "key": "maritalHistory.cesareanSection",
    "label": "剖宫产",
    "inputType": "input_number",
    "inputProps": {
      "placeholder": "请输入剖宫产"
    }
  }, {
    layout: '1/4',
    "key": "maritalHistory.abortion",
    "label": "流产",
    "inputType": "input_number",
    "inputProps": {
      "placeholder": "请输入流产"
    }
  }, {
    layout: '1/4',
    "key": "maritalHistory.birthdefect",
    "label": "出生缺陷",
    "inputType": "input_number",
    "inputProps": {
      "placeholder": "请输入出生缺陷"
    }
  }, {
    layout: '1/4',
    "key": "maritalHistory.child",
    "label": "孩子",
    "inputType": "input_number",
    "inputProps": {
      "placeholder": "请输入孩子"
    }
  }, {
    layout: '1/4',
    "key": "maritalHistory.note",
    "label": "备注",
    "inputType": "input",
    "inputProps": {
      "placeholder": "请输入备注"
    }
  }]
}, {
  label: '实验室检查',
  children: [{
    layout: '1/4',
    "key": "gynecologicalLabExam.hpvDate",
    "label": "HPV筛查日期",
    "inputType": "single_date_picker"
  }, {
    layout: '1/4',
    "key": "gynecologicalLabExam.hpvResult",
    "label": "结果",
    "inputType": "normal_select",
    "specialConfig": {
      "type": "premaritalExamResultMapping"
    }
  }, {
    layout: '1/4',
    "key": "gynecologicalLabExam.hpvNote",
    "label": "备注",
    "inputType": "input"
  }, {
    layout: '1/4',
    "key": "gynecologicalLabExam.hpvReport",
    "label": "报告",
    "inputType": "input"
  }, {
    layout: '1/4',
    "key": "gynecologicalLabExam.tctDate",
    "label": "TCT积液薄层细胞学筛查日期",
    "inputType": "single_date_picker"
  }, {
    layout: '1/4',
    "key": "gynecologicalLabExam.tctResult",
    "label": "结果",
    "inputType": "normal_select",
    "specialConfig": {
      "type": "premaritalExamResultMapping"
    }
  }, {
    layout: '1/4',
    "key": "gynecologicalLabExam.tctNote",
    "label": "备注",
    "inputType": "input"
  }, {
    layout: '1/4',
    "key": "gynecologicalLabExam.tctReport",
    "label": "报告",
    "inputType": "input"
  }, {
    "label": "镜检",
    children: [{
      label: '检查日期',
      "key": "gynecologicalLabExam.microscopeDate",
      "inputType": "single_date_picker",
      layout: '1/3'
    }, {
      label: '清洁度',
      "key": "gynecologicalLabExam.microscopeCleanliness",
      layout: '1/3',
      inputType: 'MC',
      inputProps: {
        options: getSameOptions('I、II、III、IV'),
        marshal: 0
      }
    }, {
      label: '脓球',
      "key": "gynecologicalLabExam.microscopePusCells",
      layout: '1/3',
      inputType: 'MC',
      inputProps: {
        options: getSameOptions('未发现、阴性、阳性'),
        marshal: 0
      }
    }, {
      label: '滴虫',
      "key": "gynecologicalLabExam.microscopeTrichomonad",
      layout: '1/3',
      inputType: 'MC',
      inputProps: {
        options: getSameOptions('未发现、阴性、阳性'),
        marshal: 0
      }
    }, {
      label: '假丝酵母菌',
      "key": "gynecologicalLabExam.microscopeCandida",
      layout: '1/3',
      inputType: 'MC',
      inputProps: {
        options: getSameOptions('未发现、阴性、阳性'),
        marshal: 0
      }
    }, {
      label: '加德纳菌',
      "key": "gynecologicalLabExam.microscopeGardnerella",
      layout: '1/3',
      inputType: 'MC',
      inputProps: {
        options: getSameOptions('未发现、阴性、阳性'),
        marshal: 0
      }
    }, {
      label: '线索细胞',
      "key": "gynecologicalLabExam.microscopeClueCell",
      layout: '1/3',
      inputType: 'MC',
      inputProps: {
        options: getSameOptions('未发现、阴性、阳性'),
        marshal: 0
      }
    }, {
      label: '其他',
      "key": "gynecologicalLabExam.microscopeOther",
      layout: '1/3',
      inputType: 'Input',
      inputProps: {}
    }]
  }]
}, {
  label: '妇科检查',
  children: cache = [{
    layout: '1/1',
    "key": "gynecologicalExam.vulva",
    "label": "外阴",
    inputType: 'MC',
    "inputProps": {
      options: '正常<exclusive>#,白斑,溃疡,湿疣,疱疹,肿物<左、右>a,其他i',
      type: 'multiple'
    }
  }, {
    layout: '1/1',
    "key": "gynecologicalExam.vagina",
    "label": "阴道",
    inputType: 'MC',
    "inputProps": {
      type: 'multiple',
      options: '正常<exclusive>#,充血,松弛,其他i'
    }
  }, {
    layout: '1/1',
    "key": "gynecologicalExam.vaginaProtrusion",
    "label": "阴道膨出",
    inputType: 'MC',
    "inputProps": {
      options: "".concat(ROMAN_NUMERALS[1], ",").concat(ROMAN_NUMERALS[2], ",").concat(ROMAN_NUMERALS[3], ",\u5176\u4ED6i")
    }
  }, {
    layout: '1/1',
    "key": "gynecologicalExam.secretion",
    "label": "分泌物",
    inputType: 'MC',
    "inputProps": {
      type: 'multiple',
      options: '正常<exclusive>#,过多,异味,血性,脓性,泡沫性,豆渣样,其他i'
    }
  }, {
    layout: '1/1',
    "key": "gynecologicalExam.cervix",
    "label": "子宫颈",
    inputType: 'MC',
    "inputProps": {
      type: 'multiple',
      options: '正常<exclusive>#,肥大,萎缩,触血,纳囊,息肉,溃疡,糜烂<轻、中、重>a,菜花样,充血,IUD尾丝,缺失,其他i'
    }
  }, {
    layout: '1/1',
    "key": "gynecologicalExam.uterusSize",
    "label": "子宫大小",
    inputType: 'MC',
    "inputProps": {
      options: '正常,增大<|parentheses|如孕|周>MyInput#'
    }
  }, {
    layout: '1/1',
    "key": "gynecologicalExam.uterusNote",
    "label": "子宫",
    inputType: 'MC',
    "inputProps": {
      type: 'multiple',
      options: "\u80BF\u7269<\u5DE6\u3001\u53F3>a,\u8131\u5782<".concat(ROMAN_NUMERALS[1], "\u3001").concat(ROMAN_NUMERALS[2], "\u3001").concat(ROMAN_NUMERALS[3], ">a,\u538B\u75DB<\u5DE6\u3001\u53F3>a,\u5176\u5B83i")
    }
  }, {
    layout: '1/1',
    "key": "gynecologicalExam.adnexa",
    "label": "附件",
    inputType: 'MC',
    "inputProps": {
      type: 'multiple',
      options: '正常<exclusive>#,缺失,压痛<左、右>a,增厚<左、右>a,肿物<左、右>a'
    }
  }, {
    layout: '1/1',
    "key": "gynecologicalExam.breastNote",
    "label": "乳房",
    inputType: 'MC',
    "inputProps": {
      type: 'multiple',
      options: '正常<exclusive>#,结节<左、右>a,肿物<左、右>a'
    }
  }, {
    layout: '1/1',
    "key": "gynecologicalExam.pelvicfloor",
    "label": "盆底功能评估",
    inputType: 'MC',
    "inputProps": {
      options: '正常<exclusive>#,轻度活动减弱,重度活动减弱,过度活动型,其他i'
    }
  }, {
    layout: '1/1',
    "key": "gynecologicalExam.bsResult",
    "label": "B超结果",
    inputType: 'Input'
  }, {
    "label": "一键勾选",
    "inputType": "check_invert_button",
    inputPropsFn: function inputPropsFn() {
      return {
        check_invert_values: get_check_invert_values(cache)
      };
    },
    layout: "1/3"
  }]
}, {
  label: '检查结论',
  children: [{
    "key": "visitDate",
    "label": "检查日期",
    "inputType": "single_date_picker",
    layout: '1/4'
  }, {
    "key": "doctorName",
    "label": "检查人",
    "inputType": "input",
    layout: '1/4'
  }, {
    "key": "advice",
    "label": "保健指导",
    "inputType": 'TemplateTextarea',
    inputProps: {
      TemplateTextarea_type: [{
        title: '个人',
        type: 39
      }, {
        title: '科室',
        type: 39,
        depid: 2
      }]
    },
    layout: '1/1'
  }, {
    "key": "treatmentRecords",
    "label": "治疗记录",
    "inputType": "input",
    layout: '1/1'
  }, {
    "key": "diagnosis",
    "label": "诊断",
    "inputType": 'TemplateTextarea',
    inputProps: {
      TemplateTextarea_type: [{
        title: '个人',
        type: 37
      }, {
        title: '科室',
        type: 37,
        depid: 2
      }]
    },
    layout: '1/1'
  }, {
    "key": "suggestions",
    "label": "医学建议",
    "inputType": 'TemplateTextarea',
    inputProps: {
      TemplateTextarea_type: [{
        title: '个人',
        type: 38
      }, {
        title: '科室',
        type: 38,
        depid: 2
      }]
    },
    layout: '1/1'
  }]
}], {
  containerType: 'tabs',
  remote_filter_key: 'GynecologicalVisits'
});
export { __ as default };
//# sourceMappingURL=women.women-exam-records.form_config.js.map
