import { mchcEnv } from '@lm_fe/env';
import { defineFormConfig } from '@lm_fe/service';
import { 门 as 门诊_胎儿_form } from './utils2.js';
import { d as diag_filter_map } from './DoctorEnd_FurtherPage.js';
import 'antd/es/message/style';
import 'antd/es/message';
import 'lodash/set';
import 'lodash/get';
import 'lodash/find';
import 'lodash/cloneDeep';
import './index.js';
import 'react';
import 'antd/es/tabs/style';
import 'antd/es/tabs';
import 'lodash/size';
import '@lm_fe/utils';
import 'lodash/orderBy';
import 'lodash/map';
import '@lm_fe/components';
import 'antd/es/collapse/style';
import 'antd/es/collapse';
import 'antd/es/badge/style';
import 'antd/es/badge';
import 'antd/es/button/style';
import 'antd/es/button';
import 'lodash/assign';
import '@ant-design/icons';
import '@lm_fe/components_m';
import '@lm_fe/pages';
import 'antd/es/card/style';
import 'antd/es/card';
import 'antd/es/space/style';
import 'antd/es/space';
import 'antd/es/form/style';
import 'antd/es/form';
import './index2.js';
import 'antd/es/modal/style';
import 'antd/es/modal';
import 'dayjs';
import 'lodash/isEmpty';
import 'lodash/forEach';
import './extends.js';
import 'lodash/values';
import 'lodash/keyBy';
import 'classnames';
import 'antd/es/timeline/style';
import 'antd/es/timeline';
import 'lodash/slice';
import 'lodash/join';
import './react-router.js';
import './hoist-non-react-statics.cjs.js';
import 'history';
var _default = defineFormConfig([{
  "key": "id",
  form_hidden: true
}, {
  "key": "visitDate",
  "label": "日期",
  "inputType": "DatePicker",
  required: true,
  layout: '1/4'
}, {
  "key": "gestationalWeek",
  "label": "孕周",
  "inputType": "input",
  required: true,
  layout: '1/4'
}, {
  "key": "physicalExam.height",
  "label": "身高",
  "inputType": "input",
  required: true,
  isActive: mchcEnv["in"](['广州市八']),
  isNewRow: true,
  "inputProps": {
    'type': 'number',
    'unit': 'cm'
  },
  layout: '1/4'
}, {
  "key": "physicalExam.weight",
  "label": "体重",
  "inputType": "input",
  required: true,
  "inputProps": {
    'type': 'number',
    'unit': 'kg'
  },
  layout: '1/4'
}, {
  "key": "physicalExam.bmi",
  "label": "bmi",
  "inputType": "input",
  required: true,
  "inputProps": {
    'type': 'number'
  },
  isActive: mchcEnv["in"](['广州市八']),
  layout: '1/4'
}, {
  "key": "physicalExam.MyPressure1__",
  "inputProps": {
    marshal: 0
  },
  isNewRow: true,
  "label": "血压-首测",
  "inputType": "MyPressure",
  required: true,
  layout: '1/4'
}, {
  "key": "physicalExam.MyPressure2__",
  "label": "血压-二测",
  "inputProps": {
    marshal: 0
  },
  isActive: !mchcEnv["in"](['广州市八']),
  "inputType": "MyPressure",
  layout: '1/4'
}, {
  "key": "physicalExam.MyPressure3__",
  "inputProps": {
    marshal: 0
  },
  "label": "血压-三测",
  isActive: !mchcEnv["in"](['广州市八']),
  "inputType": "MyPressure",
  layout: '1/4'
}, {
  "key": "physicalExam.pulse",
  "label": "脉搏",
  "inputType": "input",
  "inputProps": {
    'type': 'number',
    'unit': '次/分'
  },
  layout: '1/4'
}, {
  "key": "chiefComplaint",
  "label": "主诉",
  "inputType": "textareaWithTemplate",
  isNewRow: 1,
  inputProps: {
    TemplateTextarea_type: [{
      title: '科室',
      type: 16,
      depid: 2
    }, {
      title: '个人',
      type: 17
    }]
  },
  layout: '1/2'
}, {
  "key": "phi",
  "label": "现病史",
  "inputType": "textareaWithTemplate",
  inputProps: {
    TemplateTextarea_type: [{
      title: '科室',
      type: 8,
      depid: 2
    }, {
      title: '个人',
      type: 9
    }]
  },
  layout: '1/2'
}, {
  "key": "gynExam.fundalHeight",
  "label": "宫高",
  "inputType": "input",
  "inputProps": {
    'type': 'number',
    'unit': 'cm'
  },
  layout: '1/4',
  "isNewRow": 1
}, {
  "key": "gynExam.waistHip",
  "label": "腹围",
  "inputType": "input",
  "inputProps": {
    'type': 'number',
    'unit': 'cm'
  },
  layout: '1/4'
}, {
  "key": "edema",
  "label": "下肢水肿",
  "inputType": "select",
  "inputProps": {
    'options': mchcEnv.get_other_options('edemaOptions'),
    marshal: 0
  },
  layout: '1/4'
}, {
  "key": "gynExam.engagement",
  "label": "衔接",
  "inputType": "select",
  "inputProps": {
    'options': mchcEnv.get_other_options('engagementOptions'),
    marshal: 0
  },
  layout: '1/4'
}, 门诊_胎儿_form, {
  "name": "childUltrasounds",
  "label": "",
  "inputType": "ArrayPanel",
  inputProps: {
    marshal: 0,
    targetLabelCol: 2,
    tip: '胎儿超声',
    formDescriptions: [{
      layout: '1/4',
      inputType: 'input',
      label: 'BPD',
      name: 'bpd',
      inputProps: {
        type: 'number',
        unit: 'mm'
      }
    }, {
      layout: '1/4',
      inputType: 'input',
      label: '胎儿体重',
      name: 'fetalweight',
      inputProps: {
        type: 'number',
        unit: 'g'
      }
    }, {
      layout: '1/4',
      inputType: 'input',
      label: 'AFV',
      name: 'afv',
      inputProps: {
        type: 'number',
        unit: 'mm'
      }
    }, {
      layout: '1/4',
      inputType: 'input',
      label: '脐血流',
      name: 'ubf',
      inputProps: {
        type: 'number',
        unit: 'mm'
      }
    }, {
      layout: '1/5',
      name: 'id',
      form_hidden: true
    }]
  },
  usr1: diag_filter_map.ultrasounds,
  layout: '1/1'
}, {
  label: '妊娠糖尿病',
  usr1: diag_filter_map.diabetes,
  children: [{
    "key": "gdm.fbg",
    "label": "FBG",
    "inputType": "input",
    "inputProps": {
      'type': 'number',
      'unit': 'mmol/L'
    },
    layout: '1/4'
  }, {
    "key": "gdm.pbg2",
    "label": "P2BG",
    "inputType": "input",
    "inputProps": {
      'type': 'number',
      'unit': 'mmol/L'
    },
    layout: '1/4'
  }, {
    "key": "gdm.hbalc",
    "label": "HbA1C",
    "inputType": "input",
    "inputProps": {
      'type': 'number',
      'unit': '%'
    },
    layout: '1/4'
  }, {
    "key": "gdm.inslname",
    "label": "胰岛素方案",
    "inputType": "input",
    layout: '1/1'
  }]
}, {
  label: '妊娠高血压',
  usr1: diag_filter_map.hypertension,
  children: [{
    "key": "pih.quality",
    "label": "尿蛋白-定性",
    "inputType": "input",
    layout: '1/4',
    "isNewRow": 1
  }, {
    "key": "pih.quantity",
    "label": "24H定量",
    "inputType": "input",
    layout: '1/4'
  }, {
    "key": "pih.medication",
    "label": "用药方案",
    "inputType": "MA",
    "inputProps": {
      'options': '拉贝洛尔,硝苯地平,硫酸镁'
    },
    layout: '1/2'
  }]
}, {
  label: '心脏病',
  usr1: diag_filter_map.coronary,
  children: [{
    "key": "cardiacDisease.otherNote",
    "label": "其他异常特征",
    "inputType": "input",
    layout: '1/1'
  }, {
    "key": "cardiacDisease.heartrate",
    "label": "心率",
    "inputType": "input",
    "inputProps": {
      'type': 'number',
      'unit': '次/分'
    },
    layout: '1/4',
    "isNewRow": 1
  }, {
    "key": "cardiacDisease.medication",
    "label": "用药情况",
    "inputType": "input",
    layout: '3/4'
  }]
}, {
  label: 'ICP',
  usr1: diag_filter_map.ICP,
  children: [{
    "key": "icp.tba",
    "label": "TBA",
    "inputType": "input",
    "inputProps": {
      'type': 'number',
      'unit': 'umol/L'
    },
    layout: '1/4',
    "isNewRow": 1
  }, {
    "key": "icp.alt",
    "label": "ALT",
    "inputType": "input",
    "inputProps": {
      'type': 'number',
      'unit': 'U/L'
    },
    layout: '1/4'
  }, {
    "key": "icp.ast",
    "label": "AST",
    "inputType": "input",
    "inputProps": {
      'type': 'number',
      'unit': 'U/L'
    },
    layout: '1/4'
  }]
}, {
  label: '甲减',
  usr1: diag_filter_map.hypothyroidism,
  children: [{
    "key": "hypothyroidism.tsh",
    "label": "TSH",
    "inputType": "input",
    "inputProps": {
      'type': 'number',
      'unit': 'uIU/ml'
    },
    layout: '1/4',
    "isNewRow": 1
  }, {
    "key": "hypothyroidism.t4",
    "label": "游离T4",
    "inputType": "input",
    "inputProps": {
      'type': 'number',
      'unit': 'pmol/L'
    },
    layout: '1/4'
  }]
}, {
  "key": "inspection",
  "label": "检验检查",
  "inputType": "textareaWithBtn",
  isActive: !mchcEnv["in"](['广州市八']),
  "inputProps": {
    'minRows': 2,
    'maxRows': 5,
    'disabled': false
  },
  layout: '1/2',
  "isNewRow": 1
}, {
  "key": "exam",
  "label": "辅助检查",
  "inputType": "textareaWithTemplate",
  inputProps: {
    TemplateTextarea_type: [{
      title: '个人',
      type: 14
    }, {
      title: '科室',
      type: 13,
      depid: 2
    }]
  },
  layout: '1/2'
}, {
  "key": "prescription",
  "label": "处理措施",
  "inputType": "textareaWithTemplate",
  inputProps: {
    TemplateTextarea_type: [{
      title: '个人',
      type: 7
    }, {
      title: '科室',
      type: 6,
      depid: 2
    }]
  },
  layout: '1/2'
}, {
  "key": "appointmentType",
  "label": "下次复诊",
  "inputType": "select",
  "inputProps": {
    'options': mchcEnv.get_other_options('appointmentTypeOptions'),
    marshal: 0
  },
  layout: '1/4',
  "isNewRow": 1
}, {
  "key": "appointmentCycle",
  "label": "",
  "inputType": "select",
  "inputProps": {
    'options': mchcEnv.get_other_options('appointmentCycleOptions'),
    marshal: 0
  },
  "span": 2
}, {
  "key": "appointmentDate",
  "label": "",
  "inputType": "DatePicker",
  required: true,
  "span": 3
}, {
  "key": "appointmentPeriod",
  "label": "",
  isActive: !mchcEnv["in"](['广州市八']),
  "inputType": "select",
  "inputProps": {
    'options': mchcEnv.get_other_options('appointmentPeriodOptions'),
    marshal: 0
  },
  "span": 2
}]);
export { _default as default };
//# sourceMappingURL=prenatal-visit.pregnancy.doctor-end15.js.map
