|
@@ -9,6 +9,7 @@ import (
|
9
|
9
|
"gdyb/service"
|
10
|
10
|
"gdyb/utils"
|
11
|
11
|
"github.com/astaxie/beego"
|
|
12
|
+ "github.com/axgle/mahonia"
|
12
|
13
|
"math/rand"
|
13
|
14
|
|
14
|
15
|
//"github.com/axgle/mahonia"
|
|
@@ -3236,15 +3237,15 @@ func (c *SZHisApiController) GetDrugList() {
|
3236
|
3237
|
detail := &models.DrugDetail{
|
3237
|
3238
|
|
3238
|
3239
|
MedicalInsuranceNumber: item.MedicalInsuranceNumber,
|
3239
|
|
- Code: item.Code,
|
3240
|
|
- DrugName: item.DrugName,
|
3241
|
|
- DrugSpec: item.DrugSpec,
|
3242
|
|
- DrugDosageName: item.DrugDosageName,
|
3243
|
|
- ManufacturerName: item.ManufacturerName,
|
3244
|
|
- MinUnit: item.MinUnit,
|
3245
|
|
- RetailPrice: item.RetailPrice,
|
3246
|
|
- LastPrice: item.LastPrice,
|
3247
|
|
- LimitRemark: item.LimitRemark,
|
|
3240
|
+ Code: item.Code,
|
|
3241
|
+ DrugName: item.DrugName,
|
|
3242
|
+ DrugSpec: item.DrugSpec,
|
|
3243
|
+ DrugDosageName: item.DrugDosageName,
|
|
3244
|
+ ManufacturerName: item.ManufacturerName,
|
|
3245
|
+ MinUnit: item.MinUnit,
|
|
3246
|
+ RetailPrice: item.RetailPrice,
|
|
3247
|
+ LastPrice: item.LastPrice,
|
|
3248
|
+ LimitRemark: item.LimitRemark,
|
3248
|
3249
|
}
|
3249
|
3250
|
|
3250
|
3251
|
result := service.SzybML008(doctor_name, doctor_code, miConfig.Code, detail)
|
|
@@ -3408,14 +3409,14 @@ func (c *SZHisApiController) GetRevocation() {
|
3408
|
3409
|
detail := &models.DrugDetail{
|
3409
|
3410
|
|
3410
|
3411
|
SocialSecurityDirectoryCode: item.MedicalInsuranceNumber, //社保目录
|
3411
|
|
- Code: item.Code, //协议机构内部目录编码
|
3412
|
|
- DrugName: item.DrugName, //协议机构内部目录名称
|
3413
|
|
- DrugSpec: item.DrugSpec,
|
3414
|
|
- ManufacturerName: item.ManufacturerName,
|
3415
|
|
- MinUnit: item.MinUnit,
|
3416
|
|
- RetailPrice: item.RetailPrice, //协议机构内部项目收费价格
|
3417
|
|
- LimitRemark: item.LimitRemark,
|
3418
|
|
- MedicalInsuranceNumber: item.MedicalInsuranceNumber, //社保目录
|
|
3412
|
+ Code: item.Code, //协议机构内部目录编码
|
|
3413
|
+ DrugName: item.DrugName, //协议机构内部目录名称
|
|
3414
|
+ DrugSpec: item.DrugSpec,
|
|
3415
|
+ ManufacturerName: item.ManufacturerName,
|
|
3416
|
+ MinUnit: item.MinUnit,
|
|
3417
|
+ RetailPrice: item.RetailPrice, //协议机构内部项目收费价格
|
|
3418
|
+ LimitRemark: item.LimitRemark,
|
|
3419
|
+ MedicalInsuranceNumber: item.MedicalInsuranceNumber, //社保目录
|
3419
|
3420
|
|
3420
|
3421
|
}
|
3421
|
3422
|
customs = append(customs, detail)
|
|
@@ -3494,15 +3495,15 @@ func (c *SZHisApiController) GetRevocation() {
|
3494
|
3495
|
detail := &models.DrugDetail{
|
3495
|
3496
|
MedicalInsuranceNumber: item.MedicalInsuranceNumber,
|
3496
|
3497
|
SocialSecurityDirectoryCode: item.MedicalInsuranceNumber,
|
3497
|
|
- Code: item.Code,
|
3498
|
|
- DrugName: item.DrugName,
|
3499
|
|
- DrugSpec: item.DrugSpec,
|
3500
|
|
- DrugDosageName: item.DrugDosageName,
|
3501
|
|
- ManufacturerName: item.ManufacturerName,
|
3502
|
|
- MinUnit: item.MinUnit,
|
3503
|
|
- RetailPrice: item.RetailPrice,
|
3504
|
|
- LastPrice: item.LastPrice,
|
3505
|
|
- LimitRemark: item.LimitRemark,
|
|
3498
|
+ Code: item.Code,
|
|
3499
|
+ DrugName: item.DrugName,
|
|
3500
|
+ DrugSpec: item.DrugSpec,
|
|
3501
|
+ DrugDosageName: item.DrugDosageName,
|
|
3502
|
+ ManufacturerName: item.ManufacturerName,
|
|
3503
|
+ MinUnit: item.MinUnit,
|
|
3504
|
+ RetailPrice: item.RetailPrice,
|
|
3505
|
+ LastPrice: item.LastPrice,
|
|
3506
|
+ LimitRemark: item.LimitRemark,
|
3506
|
3507
|
}
|
3507
|
3508
|
|
3508
|
3509
|
result := service.SzybML008(doctor_name, doctor_code, miConfig.Code, detail)
|
|
@@ -3870,39 +3871,39 @@ func (c *SZHisApiController) GetDoctorList() {
|
3870
|
3871
|
for _, item := range list {
|
3871
|
3872
|
fmt.Println("医护类别", item.StudyMajorName)
|
3872
|
3873
|
detail := &models.DocDetail{
|
3873
|
|
- UserName: item.UserName, //医护姓名
|
3874
|
|
- RoleId: item.Name, //医护人员类别
|
3875
|
|
- Sex: strconv.FormatInt(item.Sex, 10), //性别
|
3876
|
|
- CardType: strconv.FormatInt(item.CardType, 10), //证件类型
|
3877
|
|
- IdCard: item.IdCard, //证件号码
|
3878
|
|
- Phone: item.Mobile, //联系电话
|
3879
|
|
- WorkMajorName: item.WorkMajorName, // 现从事专业名称
|
3880
|
|
- Nation: item.Nation, //民族
|
3881
|
|
- BirthDay: 20201022, // 出生日期
|
3882
|
|
- WorkTime: 20201022, //参加工作日期
|
3883
|
|
- Education: strconv.FormatInt(item.Education, 10), //学历
|
3884
|
|
- StudyMajorName: item.StudyMajorName, //所学的专业名称
|
3885
|
|
- CertificateCode: item.MedicalCode, //医(药)师执业证书编码
|
3886
|
|
- MedicalCode: item.DoctorCode, //医(药)师资格证编码
|
3887
|
|
- MedicalRangeCode: strconv.FormatInt(item.DoctorRangeCode, 10), //医师执业范围代码
|
3888
|
|
- MedicalLevel: strconv.FormatInt(item.DoctorLevel, 10), //医生执业资格证中的医师级别
|
3889
|
|
- TypeJob: strconv.FormatInt(item.DoctorTypeJob, 10), //医生执业资格证中的执业类别
|
3890
|
|
- DoctorNumber: item.DoctorNumber, //医保医师编号
|
3891
|
|
- Licensing: strconv.FormatInt(item.Licensing, 10), //多点执业标志
|
3892
|
|
- DoctorServiceStatus: "", //医师医保服务资格状态
|
3893
|
|
- MonitoringLevel: "", //监控等级
|
3894
|
|
- DrugPsychotropicSubstances: "", //毒麻精神药品资格
|
3895
|
|
- HealthCareCode: "", // 母婴保健技术考核合格证书编号
|
3896
|
|
- PlanningTechnicalServiceCode: "", //计划生育技术服务人员合格证编号
|
3897
|
|
- PharmacistType: "", //药师类别
|
3898
|
|
- PharmacistPracticeCategory: "", //药师执业类别
|
3899
|
|
- PharmacistsLicensing: "", //药师执业范围
|
3900
|
|
- PharmacistRegistrationNumber: "", //执业药师注册证编号
|
3901
|
|
- OfficeCode: "", //科室编码
|
3902
|
|
- JobNumber: item.JobNumber, //工号
|
3903
|
|
- PostName: "", //职位名称
|
3904
|
|
- TechnicalJobLevelCode: "", //专业技术职务级别编码
|
3905
|
|
- IsActive: strconv.FormatInt(item.IsActive, 10), //在职与否
|
|
3874
|
+ UserName: item.UserName, //医护姓名
|
|
3875
|
+ RoleId: item.Name, //医护人员类别
|
|
3876
|
+ Sex: strconv.FormatInt(item.Sex, 10), //性别
|
|
3877
|
+ CardType: strconv.FormatInt(item.CardType, 10), //证件类型
|
|
3878
|
+ IdCard: item.IdCard, //证件号码
|
|
3879
|
+ Phone: item.Mobile, //联系电话
|
|
3880
|
+ WorkMajorName: item.WorkMajorName, // 现从事专业名称
|
|
3881
|
+ Nation: item.Nation, //民族
|
|
3882
|
+ BirthDay: 20201022, // 出生日期
|
|
3883
|
+ WorkTime: 20201022, //参加工作日期
|
|
3884
|
+ Education: strconv.FormatInt(item.Education, 10), //学历
|
|
3885
|
+ StudyMajorName: item.StudyMajorName, //所学的专业名称
|
|
3886
|
+ CertificateCode: item.MedicalCode, //医(药)师执业证书编码
|
|
3887
|
+ MedicalCode: item.DoctorCode, //医(药)师资格证编码
|
|
3888
|
+ MedicalRangeCode: strconv.FormatInt(item.DoctorRangeCode, 10), //医师执业范围代码
|
|
3889
|
+ MedicalLevel: strconv.FormatInt(item.DoctorLevel, 10), //医生执业资格证中的医师级别
|
|
3890
|
+ TypeJob: strconv.FormatInt(item.DoctorTypeJob, 10), //医生执业资格证中的执业类别
|
|
3891
|
+ DoctorNumber: item.DoctorNumber, //医保医师编号
|
|
3892
|
+ Licensing: strconv.FormatInt(item.Licensing, 10), //多点执业标志
|
|
3893
|
+ DoctorServiceStatus: "", //医师医保服务资格状态
|
|
3894
|
+ MonitoringLevel: "", //监控等级
|
|
3895
|
+ DrugPsychotropicSubstances: "", //毒麻精神药品资格
|
|
3896
|
+ HealthCareCode: "", // 母婴保健技术考核合格证书编号
|
|
3897
|
+ PlanningTechnicalServiceCode: "", //计划生育技术服务人员合格证编号
|
|
3898
|
+ PharmacistType: "", //药师类别
|
|
3899
|
+ PharmacistPracticeCategory: "", //药师执业类别
|
|
3900
|
+ PharmacistsLicensing: "", //药师执业范围
|
|
3901
|
+ PharmacistRegistrationNumber: "", //执业药师注册证编号
|
|
3902
|
+ OfficeCode: "", //科室编码
|
|
3903
|
+ JobNumber: item.JobNumber, //工号
|
|
3904
|
+ PostName: "", //职位名称
|
|
3905
|
+ TechnicalJobLevelCode: "", //专业技术职务级别编码
|
|
3906
|
+ IsActive: strconv.FormatInt(item.IsActive, 10), //在职与否
|
3906
|
3907
|
PrescriptionQualificationIdentification: strconv.FormatInt(item.PrescriptionQualificationIdentification, 10), //处方资格标识
|
3907
|
3908
|
IdentificationOutpatients: strconv.FormatInt(item.IdentificationOutpatients, 10), //门诊大病医师标识
|
3908
|
3909
|
OutpatientIllnessCategory: item.OutpatientIllnessCategory, //门诊大病类别
|
|
@@ -3984,39 +3985,39 @@ func (c *SZHisApiController) GetMedicalList() {
|
3984
|
3985
|
fmt.Println("医护类别", item.Mobile)
|
3985
|
3986
|
|
3986
|
3987
|
detail := &models.DocDetail{
|
3987
|
|
- UserName: item.UserName, //医护姓名
|
3988
|
|
- RoleId: item.Name, //医护人员类别
|
3989
|
|
- Sex: strconv.FormatInt(item.Sex, 10), //性别
|
3990
|
|
- CardType: strconv.FormatInt(item.CardType, 10), //证件类型
|
3991
|
|
- IdCard: item.IdCard, //证件号码
|
3992
|
|
- Phone: item.Mobile, //联系电话
|
3993
|
|
- WorkMajorName: item.WorkMajorName, // 现从事专业名称
|
3994
|
|
- Nation: item.Nation, //民族
|
3995
|
|
- BirthDay: 20201022, // 出生日期
|
3996
|
|
- WorkTime: 20201022, //参加工作日期
|
3997
|
|
- Education: strconv.FormatInt(item.Education, 10), //学历
|
3998
|
|
- StudyMajorName: item.StudyMajorName, //所学的专业名称
|
3999
|
|
- CertificateCode: item.MedicalCode, //医(药)师执业证书编码
|
4000
|
|
- MedicalCode: item.DoctorCode, //医(药)师资格证编码
|
4001
|
|
- MedicalRangeCode: strconv.FormatInt(item.DoctorRangeCode, 10), //医师执业范围代码
|
4002
|
|
- MedicalLevel: strconv.FormatInt(item.DoctorLevel, 10), //医生执业资格证中的医师级别
|
4003
|
|
- TypeJob: strconv.FormatInt(item.DoctorTypeJob, 10), //医生执业资格证中的执业类别
|
4004
|
|
- DoctorNumber: item.DoctorNumber, //医保医师编号
|
4005
|
|
- Licensing: strconv.FormatInt(item.Licensing, 10), //多点执业标志
|
4006
|
|
- DoctorServiceStatus: "", //医师医保服务资格状态
|
4007
|
|
- MonitoringLevel: "", //监控等级
|
4008
|
|
- DrugPsychotropicSubstances: "", //毒麻精神药品资格
|
4009
|
|
- HealthCareCode: "", // 母婴保健技术考核合格证书编号
|
4010
|
|
- PlanningTechnicalServiceCode: "", //计划生育技术服务人员合格证编号
|
4011
|
|
- PharmacistType: "", //药师类别
|
4012
|
|
- PharmacistPracticeCategory: "", //药师执业类别
|
4013
|
|
- PharmacistsLicensing: "", //药师执业范围
|
4014
|
|
- PharmacistRegistrationNumber: "", //执业药师注册证编号
|
4015
|
|
- OfficeCode: "", //科室编码
|
4016
|
|
- JobNumber: item.JobNumber, //工号
|
4017
|
|
- PostName: "", //职位名称
|
4018
|
|
- TechnicalJobLevelCode: "", //专业技术职务级别编码
|
4019
|
|
- IsActive: strconv.FormatInt(item.IsActive, 10), //在职与否
|
|
3988
|
+ UserName: item.UserName, //医护姓名
|
|
3989
|
+ RoleId: item.Name, //医护人员类别
|
|
3990
|
+ Sex: strconv.FormatInt(item.Sex, 10), //性别
|
|
3991
|
+ CardType: strconv.FormatInt(item.CardType, 10), //证件类型
|
|
3992
|
+ IdCard: item.IdCard, //证件号码
|
|
3993
|
+ Phone: item.Mobile, //联系电话
|
|
3994
|
+ WorkMajorName: item.WorkMajorName, // 现从事专业名称
|
|
3995
|
+ Nation: item.Nation, //民族
|
|
3996
|
+ BirthDay: 20201022, // 出生日期
|
|
3997
|
+ WorkTime: 20201022, //参加工作日期
|
|
3998
|
+ Education: strconv.FormatInt(item.Education, 10), //学历
|
|
3999
|
+ StudyMajorName: item.StudyMajorName, //所学的专业名称
|
|
4000
|
+ CertificateCode: item.MedicalCode, //医(药)师执业证书编码
|
|
4001
|
+ MedicalCode: item.DoctorCode, //医(药)师资格证编码
|
|
4002
|
+ MedicalRangeCode: strconv.FormatInt(item.DoctorRangeCode, 10), //医师执业范围代码
|
|
4003
|
+ MedicalLevel: strconv.FormatInt(item.DoctorLevel, 10), //医生执业资格证中的医师级别
|
|
4004
|
+ TypeJob: strconv.FormatInt(item.DoctorTypeJob, 10), //医生执业资格证中的执业类别
|
|
4005
|
+ DoctorNumber: item.DoctorNumber, //医保医师编号
|
|
4006
|
+ Licensing: strconv.FormatInt(item.Licensing, 10), //多点执业标志
|
|
4007
|
+ DoctorServiceStatus: "", //医师医保服务资格状态
|
|
4008
|
+ MonitoringLevel: "", //监控等级
|
|
4009
|
+ DrugPsychotropicSubstances: "", //毒麻精神药品资格
|
|
4010
|
+ HealthCareCode: "", // 母婴保健技术考核合格证书编号
|
|
4011
|
+ PlanningTechnicalServiceCode: "", //计划生育技术服务人员合格证编号
|
|
4012
|
+ PharmacistType: "", //药师类别
|
|
4013
|
+ PharmacistPracticeCategory: "", //药师执业类别
|
|
4014
|
+ PharmacistsLicensing: "", //药师执业范围
|
|
4015
|
+ PharmacistRegistrationNumber: "", //执业药师注册证编号
|
|
4016
|
+ OfficeCode: "", //科室编码
|
|
4017
|
+ JobNumber: item.JobNumber, //工号
|
|
4018
|
+ PostName: "", //职位名称
|
|
4019
|
+ TechnicalJobLevelCode: "", //专业技术职务级别编码
|
|
4020
|
+ IsActive: strconv.FormatInt(item.IsActive, 10), //在职与否
|
4020
|
4021
|
PrescriptionQualificationIdentification: strconv.FormatInt(item.PrescriptionQualificationIdentification, 10), //处方资格标识
|
4021
|
4022
|
IdentificationOutpatients: strconv.FormatInt(item.IdentificationOutpatients, 10), //门诊大病医师标识
|
4022
|
4023
|
OutpatientIllnessCategory: item.OutpatientIllnessCategory, //门诊大病类别
|
|
@@ -4084,39 +4085,39 @@ func (c *SZHisApiController) GetMedicalList() {
|
4084
|
4085
|
for _, item := range list {
|
4085
|
4086
|
fmt.Println("医护类别", item.Name)
|
4086
|
4087
|
detail := &models.DocDetail{
|
4087
|
|
- UserName: item.UserName, //医护姓名
|
4088
|
|
- RoleId: item.Name, //医护人员类别
|
4089
|
|
- Sex: strconv.FormatInt(item.Sex, 10), //性别
|
4090
|
|
- CardType: strconv.FormatInt(item.CardType, 10), //证件类型
|
4091
|
|
- IdCard: item.IdCard, //证件号码
|
4092
|
|
- Phone: item.Mobile, //联系电话
|
4093
|
|
- WorkMajorName: item.WorkMajorName, // 现从事专业名称
|
4094
|
|
- Nation: item.Nation, //民族
|
4095
|
|
- BirthDay: 20201022, // 出生日期
|
4096
|
|
- WorkTime: 20201022, //参加工作日期
|
4097
|
|
- Education: strconv.FormatInt(item.Education, 10), //学历
|
4098
|
|
- StudyMajorName: item.StudyMajorName, //所学的专业名称
|
4099
|
|
- CertificateCode: item.MedicalCode, //医(药)师执业证书编码
|
4100
|
|
- MedicalCode: item.DoctorCode, //医(药)师资格证编码
|
4101
|
|
- MedicalRangeCode: strconv.FormatInt(item.DoctorRangeCode, 10), //医师执业范围代码
|
4102
|
|
- MedicalLevel: strconv.FormatInt(item.DoctorLevel, 10), //医生执业资格证中的医师级别
|
4103
|
|
- TypeJob: strconv.FormatInt(item.DoctorTypeJob, 10), //医生执业资格证中的执业类别
|
4104
|
|
- DoctorNumber: item.DoctorNumber, //医保医师编号
|
4105
|
|
- Licensing: strconv.FormatInt(item.Licensing, 10), //多点执业标志
|
4106
|
|
- DoctorServiceStatus: "", //医师医保服务资格状态
|
4107
|
|
- MonitoringLevel: "", //监控等级
|
4108
|
|
- DrugPsychotropicSubstances: "", //毒麻精神药品资格
|
4109
|
|
- HealthCareCode: "", // 母婴保健技术考核合格证书编号
|
4110
|
|
- PlanningTechnicalServiceCode: "", //计划生育技术服务人员合格证编号
|
4111
|
|
- PharmacistType: "", //药师类别
|
4112
|
|
- PharmacistPracticeCategory: "", //药师执业类别
|
4113
|
|
- PharmacistsLicensing: "", //药师执业范围
|
4114
|
|
- PharmacistRegistrationNumber: "", //执业药师注册证编号
|
4115
|
|
- OfficeCode: "", //科室编码
|
4116
|
|
- JobNumber: item.JobNumber, //工号
|
4117
|
|
- PostName: "", //职位名称
|
4118
|
|
- TechnicalJobLevelCode: "", //专业技术职务级别编码
|
4119
|
|
- IsActive: strconv.FormatInt(item.IsActive, 10), //在职与否
|
|
4088
|
+ UserName: item.UserName, //医护姓名
|
|
4089
|
+ RoleId: item.Name, //医护人员类别
|
|
4090
|
+ Sex: strconv.FormatInt(item.Sex, 10), //性别
|
|
4091
|
+ CardType: strconv.FormatInt(item.CardType, 10), //证件类型
|
|
4092
|
+ IdCard: item.IdCard, //证件号码
|
|
4093
|
+ Phone: item.Mobile, //联系电话
|
|
4094
|
+ WorkMajorName: item.WorkMajorName, // 现从事专业名称
|
|
4095
|
+ Nation: item.Nation, //民族
|
|
4096
|
+ BirthDay: 20201022, // 出生日期
|
|
4097
|
+ WorkTime: 20201022, //参加工作日期
|
|
4098
|
+ Education: strconv.FormatInt(item.Education, 10), //学历
|
|
4099
|
+ StudyMajorName: item.StudyMajorName, //所学的专业名称
|
|
4100
|
+ CertificateCode: item.MedicalCode, //医(药)师执业证书编码
|
|
4101
|
+ MedicalCode: item.DoctorCode, //医(药)师资格证编码
|
|
4102
|
+ MedicalRangeCode: strconv.FormatInt(item.DoctorRangeCode, 10), //医师执业范围代码
|
|
4103
|
+ MedicalLevel: strconv.FormatInt(item.DoctorLevel, 10), //医生执业资格证中的医师级别
|
|
4104
|
+ TypeJob: strconv.FormatInt(item.DoctorTypeJob, 10), //医生执业资格证中的执业类别
|
|
4105
|
+ DoctorNumber: item.DoctorNumber, //医保医师编号
|
|
4106
|
+ Licensing: strconv.FormatInt(item.Licensing, 10), //多点执业标志
|
|
4107
|
+ DoctorServiceStatus: "", //医师医保服务资格状态
|
|
4108
|
+ MonitoringLevel: "", //监控等级
|
|
4109
|
+ DrugPsychotropicSubstances: "", //毒麻精神药品资格
|
|
4110
|
+ HealthCareCode: "", // 母婴保健技术考核合格证书编号
|
|
4111
|
+ PlanningTechnicalServiceCode: "", //计划生育技术服务人员合格证编号
|
|
4112
|
+ PharmacistType: "", //药师类别
|
|
4113
|
+ PharmacistPracticeCategory: "", //药师执业类别
|
|
4114
|
+ PharmacistsLicensing: "", //药师执业范围
|
|
4115
|
+ PharmacistRegistrationNumber: "", //执业药师注册证编号
|
|
4116
|
+ OfficeCode: "", //科室编码
|
|
4117
|
+ JobNumber: item.JobNumber, //工号
|
|
4118
|
+ PostName: "", //职位名称
|
|
4119
|
+ TechnicalJobLevelCode: "", //专业技术职务级别编码
|
|
4120
|
+ IsActive: strconv.FormatInt(item.IsActive, 10), //在职与否
|
4120
|
4121
|
PrescriptionQualificationIdentification: strconv.FormatInt(item.PrescriptionQualificationIdentification, 10), //处方资格标识
|
4121
|
4122
|
IdentificationOutpatients: strconv.FormatInt(item.IdentificationOutpatients, 10), //门诊大病医师标识
|
4122
|
4123
|
OutpatientIllnessCategory: item.OutpatientIllnessCategory, //门诊大病类别
|
|
@@ -4210,44 +4211,44 @@ func (c *SZHisApiController) GetUpdateMedicalList() {
|
4210
|
4211
|
for _, item := range list {
|
4211
|
4212
|
fmt.Println("医护类别", item.Name)
|
4212
|
4213
|
detail := &models.DocDetail{
|
4213
|
|
- StaffCode: "", //医护人员编码
|
4214
|
|
- UserName: item.UserName, //医护人员姓名
|
4215
|
|
- RoleId: item.Name, //医护人员类别
|
4216
|
|
- Sex: "", //性别
|
4217
|
|
- CardType: "", //证件类型
|
4218
|
|
- IdCard: "", //证件号码
|
4219
|
|
- Phone: "", //联系电话
|
4220
|
|
- WorkMajorName: "", //现从事专业名称
|
4221
|
|
- Nation: "", //民族
|
4222
|
|
- BirthDay: 20201022, //出生日期
|
4223
|
|
- WorkTime: 12, //参加工作日期
|
4224
|
|
- Education: "", //学历
|
4225
|
|
- StudyMajorName: "", //所学的专业名称
|
4226
|
|
- CertificateCode: "", //证书编码
|
4227
|
|
- MedicalCode: "", //医师资格编码
|
4228
|
|
- MedicalRangeCode: "", //医师执业范围代码
|
4229
|
|
- MedicalLevel: "", //医生级别
|
4230
|
|
- TypeJob: "", //职业类别
|
4231
|
|
- DoctorNumber: "", //医师编号
|
4232
|
|
- Licensing: "", //职业标志
|
4233
|
|
- DoctorServiceStatus: "", //医师医保服务资格状态
|
4234
|
|
- MonitoringLevel: "", //监控等级
|
4235
|
|
- DrugPsychotropicSubstances: "", //毒麻精神药品资格
|
4236
|
|
- HealthCareCode: "", // 母婴保健技术考核合格证书编号
|
4237
|
|
- PlanningTechnicalServiceCode: "", //计划生育技术服务人员合格证编号
|
4238
|
|
- PharmacistType: "", //药师类别
|
4239
|
|
- PharmacistPracticeCategory: "", //药师执业类别
|
4240
|
|
- PharmacistsLicensing: "", //药师执业范围
|
4241
|
|
- PharmacistRegistrationNumber: "", //执业药师注册证编号
|
4242
|
|
- OfficeCode: "", //科室编码
|
4243
|
|
- JobNumber: "", //工号
|
4244
|
|
- PostName: "", //职位名称
|
4245
|
|
- TechnicalJobLevelCode: "", //专业技术职务级别编码
|
4246
|
|
- IsActive: "", //在职与否
|
4247
|
|
- PrescriptionQualificationIdentification: "", //处方资格标识
|
4248
|
|
- IdentificationOutpatients: "", //门诊大病医师标识
|
4249
|
|
- OutpatientIllnessCategory: "", //门诊大病类别
|
4250
|
|
- StartTime: 1233, //开始日期
|
|
4214
|
+ StaffCode: "", //医护人员编码
|
|
4215
|
+ UserName: item.UserName, //医护人员姓名
|
|
4216
|
+ RoleId: item.Name, //医护人员类别
|
|
4217
|
+ Sex: "", //性别
|
|
4218
|
+ CardType: "", //证件类型
|
|
4219
|
+ IdCard: "", //证件号码
|
|
4220
|
+ Phone: "", //联系电话
|
|
4221
|
+ WorkMajorName: "", //现从事专业名称
|
|
4222
|
+ Nation: "", //民族
|
|
4223
|
+ BirthDay: 20201022, //出生日期
|
|
4224
|
+ WorkTime: 12, //参加工作日期
|
|
4225
|
+ Education: "", //学历
|
|
4226
|
+ StudyMajorName: "", //所学的专业名称
|
|
4227
|
+ CertificateCode: "", //证书编码
|
|
4228
|
+ MedicalCode: "", //医师资格编码
|
|
4229
|
+ MedicalRangeCode: "", //医师执业范围代码
|
|
4230
|
+ MedicalLevel: "", //医生级别
|
|
4231
|
+ TypeJob: "", //职业类别
|
|
4232
|
+ DoctorNumber: "", //医师编号
|
|
4233
|
+ Licensing: "", //职业标志
|
|
4234
|
+ DoctorServiceStatus: "", //医师医保服务资格状态
|
|
4235
|
+ MonitoringLevel: "", //监控等级
|
|
4236
|
+ DrugPsychotropicSubstances: "", //毒麻精神药品资格
|
|
4237
|
+ HealthCareCode: "", // 母婴保健技术考核合格证书编号
|
|
4238
|
+ PlanningTechnicalServiceCode: "", //计划生育技术服务人员合格证编号
|
|
4239
|
+ PharmacistType: "", //药师类别
|
|
4240
|
+ PharmacistPracticeCategory: "", //药师执业类别
|
|
4241
|
+ PharmacistsLicensing: "", //药师执业范围
|
|
4242
|
+ PharmacistRegistrationNumber: "", //执业药师注册证编号
|
|
4243
|
+ OfficeCode: "", //科室编码
|
|
4244
|
+ JobNumber: "", //工号
|
|
4245
|
+ PostName: "", //职位名称
|
|
4246
|
+ TechnicalJobLevelCode: "", //专业技术职务级别编码
|
|
4247
|
+ IsActive: "", //在职与否
|
|
4248
|
+ PrescriptionQualificationIdentification: "", //处方资格标识
|
|
4249
|
+ IdentificationOutpatients: "", //门诊大病医师标识
|
|
4250
|
+ OutpatientIllnessCategory: "", //门诊大病类别
|
|
4251
|
+ StartTime: 1233, //开始日期
|
4251
|
4252
|
EndTime: 123333,
|
4252
|
4253
|
}
|
4253
|
4254
|
customs = append(customs, detail)
|