|
@@ -2280,6 +2280,7 @@ func (c *SZHisApiController) GetSettleInfo() {
|
2280
|
2280
|
if item.Type == 2 { //项目
|
2281
|
2281
|
for _, subItem := range item.HisPrescriptionProject {
|
2282
|
2282
|
if len(subItem.HisProject.MedicalCode) > 0 {
|
|
2283
|
+
|
2283
|
2284
|
detItemFeeSumamt, _ := strconv.ParseFloat(fmt.Sprintf("%.2f", subItem.Price*float64(subItem.Count)), 64)
|
2284
|
2285
|
|
2285
|
2286
|
//count, _ := strconv.ParseFloat(fmt.Sprintf("%f", subItem.Count), 64)
|
|
@@ -2287,23 +2288,45 @@ func (c *SZHisApiController) GetSettleInfo() {
|
2287
|
2288
|
count, _ := strconv.ParseFloat(strconv.FormatInt(subItem.Count, 10), 64)
|
2288
|
2289
|
temp := strings.Split(subItem.FeedetlSn, "-")
|
2289
|
2290
|
newFl := fmt.Sprintf("%07v", rand.New(rand.NewSource(time.Now().UnixNano())).Int31n(10000000)) + "-" + temp[1] + "-" + temp[2]
|
|
2291
|
+ if subItem.Type == 2 {
|
|
2292
|
+
|
|
2293
|
+ cus := &models.CustomDetail{
|
|
2294
|
+ PrescriptionNumber: chrg_bchno,
|
|
2295
|
+ OrderType: "1",
|
|
2296
|
+ ChargeSerialNumber: newFl,
|
|
2297
|
+ Code: subItem.HisProject.MedicalCode,
|
|
2298
|
+ CodeName: subItem.HisProject.ProjectName,
|
|
2299
|
+ Flag: "1",
|
|
2300
|
+ Price: subItem.Price,
|
|
2301
|
+ Count: count,
|
|
2302
|
+ ChargeOrderDate: year + month + day,
|
|
2303
|
+ DoctorCode: doctor_code,
|
|
2304
|
+ Total: detItemFeeSumamt,
|
|
2305
|
+ DoseCode: "",
|
|
2306
|
+ Spec: "次",
|
|
2307
|
+ }
|
|
2308
|
+ customs = append(customs, cus)
|
|
2309
|
+
|
|
2310
|
+ } else if subItem.Type == 3 {
|
|
2311
|
+ cus := &models.CustomDetail{
|
|
2312
|
+ PrescriptionNumber: chrg_bchno,
|
|
2313
|
+ OrderType: "1",
|
|
2314
|
+ ChargeSerialNumber: newFl,
|
|
2315
|
+ Code: subItem.GoodInfo.MedicalInsuranceNumber,
|
|
2316
|
+ CodeName: subItem.GoodInfo.GoodName,
|
|
2317
|
+ Flag: "1",
|
|
2318
|
+ Price: subItem.Price,
|
|
2319
|
+ Count: count,
|
|
2320
|
+ ChargeOrderDate: year + month + day,
|
|
2321
|
+ DoctorCode: doctor_code,
|
|
2322
|
+ Total: detItemFeeSumamt,
|
|
2323
|
+ DoseCode: "",
|
|
2324
|
+ Spec: "次",
|
|
2325
|
+ }
|
|
2326
|
+ customs = append(customs, cus)
|
2290
|
2327
|
|
2291
|
|
- cus := &models.CustomDetail{
|
2292
|
|
- PrescriptionNumber: chrg_bchno,
|
2293
|
|
- OrderType: "1",
|
2294
|
|
- ChargeSerialNumber: newFl,
|
2295
|
|
- Code: subItem.HisProject.MedicalCode,
|
2296
|
|
- CodeName: subItem.HisProject.ProjectName,
|
2297
|
|
- Flag: "1",
|
2298
|
|
- Price: subItem.Price,
|
2299
|
|
- Count: count,
|
2300
|
|
- ChargeOrderDate: year + month + day,
|
2301
|
|
- DoctorCode: doctor_code,
|
2302
|
|
- Total: detItemFeeSumamt,
|
2303
|
|
- DoseCode: "",
|
2304
|
|
- Spec: "次",
|
2305
|
2328
|
}
|
2306
|
|
- customs = append(customs, cus)
|
|
2329
|
+
|
2307
|
2330
|
}
|
2308
|
2331
|
}
|
2309
|
2332
|
}
|
|
@@ -3831,17 +3854,17 @@ func (c *SZHisApiController) GetDrugList() {
|
3831
|
3854
|
|
3832
|
3855
|
detail := &models.DrugDetail{
|
3833
|
3856
|
MedicalInsuranceNumber: item.SocialSecurityDirectoryCode,
|
3834
|
|
- Code: item.Code,
|
3835
|
|
- DrugName: item.DrugName,
|
3836
|
|
- DrugSpec: item.DrugSpec,
|
3837
|
|
- DrugDosageName: item.DrugDosageName,
|
3838
|
|
- ManufacturerName: item.ManufacturerName,
|
3839
|
|
- MinUnit: item.MinUnit,
|
3840
|
|
- RetailPrice: item.RetailPrice,
|
3841
|
|
- LastPrice: item.LastPrice,
|
3842
|
|
- LimitRemark: item.LimitRemark,
|
3843
|
|
- PrescriptionMark: strconv.FormatInt(item.PrescriptionMark, 10),
|
3844
|
|
- RecordDate: recordDate,
|
|
3857
|
+ Code: item.Code,
|
|
3858
|
+ DrugName: item.DrugName,
|
|
3859
|
+ DrugSpec: item.DrugSpec,
|
|
3860
|
+ DrugDosageName: item.DrugDosageName,
|
|
3861
|
+ ManufacturerName: item.ManufacturerName,
|
|
3862
|
+ MinUnit: item.MinUnit,
|
|
3863
|
+ RetailPrice: item.RetailPrice,
|
|
3864
|
+ LastPrice: item.LastPrice,
|
|
3865
|
+ LimitRemark: item.LimitRemark,
|
|
3866
|
+ PrescriptionMark: strconv.FormatInt(item.PrescriptionMark, 10),
|
|
3867
|
+ RecordDate: recordDate,
|
3845
|
3868
|
}
|
3846
|
3869
|
|
3847
|
3870
|
for _, it := range drugs {
|
|
@@ -3923,11 +3946,11 @@ func (c *SZHisApiController) GetTreatmentProject() {
|
3923
|
3946
|
for _, item := range list {
|
3924
|
3947
|
|
3925
|
3948
|
detail := &models.MyHisProject{
|
3926
|
|
- MedicalCode: item.MedicalCode, //社保目录
|
3927
|
|
- ProjectName: item.ProjectName,
|
3928
|
|
- Price: item.Price,
|
3929
|
|
- Category: item.Category,
|
3930
|
|
- Remark: item.Remark,
|
|
3949
|
+ MedicalCode: item.MedicalCode, //社保目录
|
|
3950
|
+ ProjectName: item.ProjectName,
|
|
3951
|
+ Price: item.Price,
|
|
3952
|
+ Category: item.Category,
|
|
3953
|
+ Remark: item.Remark,
|
3931
|
3954
|
SocialSecurityDirectoryCode: item.SocialSecurityDirectoryCode,
|
3932
|
3955
|
SpecailProject: item.SpecailProject,
|
3933
|
3956
|
RecordDate: item.RecordDate,
|
|
@@ -4027,14 +4050,14 @@ func (c *SZHisApiController) GetRevocation() {
|
4027
|
4050
|
detail := &models.DrugDetail{
|
4028
|
4051
|
|
4029
|
4052
|
SocialSecurityDirectoryCode: item.MedicalInsuranceNumber, //社保目录
|
4030
|
|
- Code: item.Code, //协议机构内部目录编码
|
4031
|
|
- DrugName: item.DrugName, //协议机构内部目录名称
|
4032
|
|
- DrugSpec: item.DrugSpec,
|
4033
|
|
- ManufacturerName: item.ManufacturerName,
|
4034
|
|
- MinUnit: item.MinUnit,
|
4035
|
|
- RetailPrice: item.RetailPrice, //协议机构内部项目收费价格
|
4036
|
|
- LimitRemark: item.LimitRemark,
|
4037
|
|
- MedicalInsuranceNumber: item.MedicalInsuranceNumber, //社保目录
|
|
4053
|
+ Code: item.Code, //协议机构内部目录编码
|
|
4054
|
+ DrugName: item.DrugName, //协议机构内部目录名称
|
|
4055
|
+ DrugSpec: item.DrugSpec,
|
|
4056
|
+ ManufacturerName: item.ManufacturerName,
|
|
4057
|
+ MinUnit: item.MinUnit,
|
|
4058
|
+ RetailPrice: item.RetailPrice, //协议机构内部项目收费价格
|
|
4059
|
+ LimitRemark: item.LimitRemark,
|
|
4060
|
+ MedicalInsuranceNumber: item.MedicalInsuranceNumber, //社保目录
|
4038
|
4061
|
}
|
4039
|
4062
|
customs = append(customs, detail)
|
4040
|
4063
|
}
|
|
@@ -4108,15 +4131,15 @@ func (c *SZHisApiController) GetRevocation() {
|
4108
|
4131
|
detail := &models.DrugDetail{
|
4109
|
4132
|
MedicalInsuranceNumber: item.MedicalInsuranceNumber,
|
4110
|
4133
|
SocialSecurityDirectoryCode: item.MedicalInsuranceNumber,
|
4111
|
|
- Code: item.Code,
|
4112
|
|
- DrugName: item.DrugName,
|
4113
|
|
- DrugSpec: item.DrugSpec,
|
4114
|
|
- DrugDosageName: item.DrugDosageName,
|
4115
|
|
- ManufacturerName: item.ManufacturerName,
|
4116
|
|
- MinUnit: item.MinUnit,
|
4117
|
|
- RetailPrice: item.RetailPrice,
|
4118
|
|
- LastPrice: item.LastPrice,
|
4119
|
|
- LimitRemark: item.LimitRemark,
|
|
4134
|
+ Code: item.Code,
|
|
4135
|
+ DrugName: item.DrugName,
|
|
4136
|
+ DrugSpec: item.DrugSpec,
|
|
4137
|
+ DrugDosageName: item.DrugDosageName,
|
|
4138
|
+ ManufacturerName: item.ManufacturerName,
|
|
4139
|
+ MinUnit: item.MinUnit,
|
|
4140
|
+ RetailPrice: item.RetailPrice,
|
|
4141
|
+ LastPrice: item.LastPrice,
|
|
4142
|
+ LimitRemark: item.LimitRemark,
|
4120
|
4143
|
}
|
4121
|
4144
|
|
4122
|
4145
|
for _, it := range drugs {
|
|
@@ -4523,39 +4546,39 @@ func (c *SZHisApiController) GetDoctorList() {
|
4523
|
4546
|
depart, _ := service.GetDepartMentDetail(item.DepartmentId)
|
4524
|
4547
|
|
4525
|
4548
|
detail := &models.DocDetail{
|
4526
|
|
- UserName: item.UserName, //医护姓名
|
4527
|
|
- RoleId: item.Name, //医护人员类别
|
4528
|
|
- Sex: strconv.FormatInt(item.Sex, 10), //性别
|
4529
|
|
- CardType: strconv.FormatInt(item.CardType, 10), //证件类型
|
4530
|
|
- IdCard: item.IdCard, //证件号码
|
4531
|
|
- Phone: item.Mobile, //联系电话
|
4532
|
|
- WorkMajorName: item.WorkMajorName, // 现从事专业名称
|
4533
|
|
- Nation: "1", //民族
|
4534
|
|
- BirthDay: 20201022, // 出生日期
|
4535
|
|
- WorkTime: 20201022, //参加工作日期
|
4536
|
|
- Education: strconv.FormatInt(item.Education, 10), //学历
|
4537
|
|
- StudyMajorName: item.StudyMajorName, //所学的专业名称
|
4538
|
|
- CertificateCode: item.MedicalCode, //医(药)师执业证书编码
|
4539
|
|
- MedicalCode: item.DoctorCode, //医(药)师资格证编码
|
4540
|
|
- MedicalRangeCode: strconv.FormatInt(item.DoctorRangeCode, 10), //医师执业范围代码
|
4541
|
|
- MedicalLevel: strconv.FormatInt(item.DoctorLevel, 10), //医生执业资格证中的医师级别
|
4542
|
|
- TypeJob: strconv.FormatInt(item.DoctorTypeJob, 10), //医生执业资格证中的执业类别
|
4543
|
|
- DoctorNumber: item.DoctorNumber, //医保医师编号
|
4544
|
|
- Licensing: strconv.FormatInt(item.Licensing, 10), //多点执业标志
|
4545
|
|
- DoctorServiceStatus: "", //医师医保服务资格状态
|
4546
|
|
- MonitoringLevel: "", //监控等级
|
4547
|
|
- DrugPsychotropicSubstances: "", //毒麻精神药品资格
|
4548
|
|
- HealthCareCode: "", // 母婴保健技术考核合格证书编号
|
4549
|
|
- PlanningTechnicalServiceCode: "", //计划生育技术服务人员合格证编号
|
4550
|
|
- PharmacistType: "", //药师类别
|
4551
|
|
- PharmacistPracticeCategory: "", //药师执业类别
|
4552
|
|
- PharmacistsLicensing: "", //药师执业范围
|
4553
|
|
- PharmacistRegistrationNumber: "", //执业药师注册证编号
|
4554
|
|
- OfficeCode: depart.Number, //科室编码
|
4555
|
|
- JobNumber: item.JobNumber, //工号
|
4556
|
|
- PostName: "", //职位名称
|
4557
|
|
- TechnicalJobLevelCode: "", //专业技术职务级别编码
|
4558
|
|
- IsActive: strconv.FormatInt(item.IsActive, 10), //在职与否
|
|
4549
|
+ UserName: item.UserName, //医护姓名
|
|
4550
|
+ RoleId: item.Name, //医护人员类别
|
|
4551
|
+ Sex: strconv.FormatInt(item.Sex, 10), //性别
|
|
4552
|
+ CardType: strconv.FormatInt(item.CardType, 10), //证件类型
|
|
4553
|
+ IdCard: item.IdCard, //证件号码
|
|
4554
|
+ Phone: item.Mobile, //联系电话
|
|
4555
|
+ WorkMajorName: item.WorkMajorName, // 现从事专业名称
|
|
4556
|
+ Nation: "1", //民族
|
|
4557
|
+ BirthDay: 20201022, // 出生日期
|
|
4558
|
+ WorkTime: 20201022, //参加工作日期
|
|
4559
|
+ Education: strconv.FormatInt(item.Education, 10), //学历
|
|
4560
|
+ StudyMajorName: item.StudyMajorName, //所学的专业名称
|
|
4561
|
+ CertificateCode: item.MedicalCode, //医(药)师执业证书编码
|
|
4562
|
+ MedicalCode: item.DoctorCode, //医(药)师资格证编码
|
|
4563
|
+ MedicalRangeCode: strconv.FormatInt(item.DoctorRangeCode, 10), //医师执业范围代码
|
|
4564
|
+ MedicalLevel: strconv.FormatInt(item.DoctorLevel, 10), //医生执业资格证中的医师级别
|
|
4565
|
+ TypeJob: strconv.FormatInt(item.DoctorTypeJob, 10), //医生执业资格证中的执业类别
|
|
4566
|
+ DoctorNumber: item.DoctorNumber, //医保医师编号
|
|
4567
|
+ Licensing: strconv.FormatInt(item.Licensing, 10), //多点执业标志
|
|
4568
|
+ DoctorServiceStatus: "", //医师医保服务资格状态
|
|
4569
|
+ MonitoringLevel: "", //监控等级
|
|
4570
|
+ DrugPsychotropicSubstances: "", //毒麻精神药品资格
|
|
4571
|
+ HealthCareCode: "", // 母婴保健技术考核合格证书编号
|
|
4572
|
+ PlanningTechnicalServiceCode: "", //计划生育技术服务人员合格证编号
|
|
4573
|
+ PharmacistType: "", //药师类别
|
|
4574
|
+ PharmacistPracticeCategory: "", //药师执业类别
|
|
4575
|
+ PharmacistsLicensing: "", //药师执业范围
|
|
4576
|
+ PharmacistRegistrationNumber: "", //执业药师注册证编号
|
|
4577
|
+ OfficeCode: depart.Number, //科室编码
|
|
4578
|
+ JobNumber: item.JobNumber, //工号
|
|
4579
|
+ PostName: "", //职位名称
|
|
4580
|
+ TechnicalJobLevelCode: "", //专业技术职务级别编码
|
|
4581
|
+ IsActive: strconv.FormatInt(item.IsActive, 10), //在职与否
|
4559
|
4582
|
PrescriptionQualificationIdentification: strconv.FormatInt(item.PrescriptionQualificationIdentification, 10), //处方资格标识
|
4560
|
4583
|
IdentificationOutpatients: strconv.FormatInt(item.IdentificationOutpatients, 10), //门诊大病医师标识
|
4561
|
4584
|
OutpatientIllnessCategory: item.OutpatientIllnessCategory, //门诊大病类别
|
|
@@ -4644,39 +4667,39 @@ func (c *SZHisApiController) GetMedicalList() {
|
4644
|
4667
|
for _, item := range list {
|
4645
|
4668
|
|
4646
|
4669
|
detail := &models.DocDetail{
|
4647
|
|
- UserName: item.UserName, //医护姓名
|
4648
|
|
- RoleId: item.Name, //医护人员类别
|
4649
|
|
- Sex: strconv.FormatInt(item.Sex, 10), //性别
|
4650
|
|
- CardType: strconv.FormatInt(item.CardType, 10), //证件类型
|
4651
|
|
- IdCard: item.IdCard, //证件号码
|
4652
|
|
- Phone: item.Mobile, //联系电话
|
4653
|
|
- WorkMajorName: item.WorkMajorName, // 现从事专业名称
|
4654
|
|
- Nation: item.Nation, //民族
|
4655
|
|
- BirthDay: 20201022, // 出生日期
|
4656
|
|
- WorkTime: 20201022, //参加工作日期
|
4657
|
|
- Education: strconv.FormatInt(item.Education, 10), //学历
|
4658
|
|
- StudyMajorName: item.StudyMajorName, //所学的专业名称
|
4659
|
|
- CertificateCode: item.MedicalCode, //医(药)师执业证书编码
|
4660
|
|
- MedicalCode: item.DoctorCode, //医(药)师资格证编码
|
4661
|
|
- MedicalRangeCode: strconv.FormatInt(item.DoctorRangeCode, 10), //医师执业范围代码
|
4662
|
|
- MedicalLevel: strconv.FormatInt(item.DoctorLevel, 10), //医生执业资格证中的医师级别
|
4663
|
|
- TypeJob: strconv.FormatInt(item.DoctorTypeJob, 10), //医生执业资格证中的执业类别
|
4664
|
|
- DoctorNumber: item.DoctorNumber, //医保医师编号
|
4665
|
|
- Licensing: strconv.FormatInt(item.Licensing, 10), //多点执业标志
|
4666
|
|
- DoctorServiceStatus: "", //医师医保服务资格状态
|
4667
|
|
- MonitoringLevel: "", //监控等级
|
4668
|
|
- DrugPsychotropicSubstances: "", //毒麻精神药品资格
|
4669
|
|
- HealthCareCode: "", // 母婴保健技术考核合格证书编号
|
4670
|
|
- PlanningTechnicalServiceCode: "", //计划生育技术服务人员合格证编号
|
4671
|
|
- PharmacistType: "", //药师类别
|
4672
|
|
- PharmacistPracticeCategory: "", //药师执业类别
|
4673
|
|
- PharmacistsLicensing: "", //药师执业范围
|
4674
|
|
- PharmacistRegistrationNumber: "", //执业药师注册证编号
|
4675
|
|
- OfficeCode: "", //科室编码
|
4676
|
|
- JobNumber: item.JobNumber, //工号
|
4677
|
|
- PostName: "", //职位名称
|
4678
|
|
- TechnicalJobLevelCode: "", //专业技术职务级别编码
|
4679
|
|
- IsActive: strconv.FormatInt(item.IsActive, 10), //在职与否
|
|
4670
|
+ UserName: item.UserName, //医护姓名
|
|
4671
|
+ RoleId: item.Name, //医护人员类别
|
|
4672
|
+ Sex: strconv.FormatInt(item.Sex, 10), //性别
|
|
4673
|
+ CardType: strconv.FormatInt(item.CardType, 10), //证件类型
|
|
4674
|
+ IdCard: item.IdCard, //证件号码
|
|
4675
|
+ Phone: item.Mobile, //联系电话
|
|
4676
|
+ WorkMajorName: item.WorkMajorName, // 现从事专业名称
|
|
4677
|
+ Nation: item.Nation, //民族
|
|
4678
|
+ BirthDay: 20201022, // 出生日期
|
|
4679
|
+ WorkTime: 20201022, //参加工作日期
|
|
4680
|
+ Education: strconv.FormatInt(item.Education, 10), //学历
|
|
4681
|
+ StudyMajorName: item.StudyMajorName, //所学的专业名称
|
|
4682
|
+ CertificateCode: item.MedicalCode, //医(药)师执业证书编码
|
|
4683
|
+ MedicalCode: item.DoctorCode, //医(药)师资格证编码
|
|
4684
|
+ MedicalRangeCode: strconv.FormatInt(item.DoctorRangeCode, 10), //医师执业范围代码
|
|
4685
|
+ MedicalLevel: strconv.FormatInt(item.DoctorLevel, 10), //医生执业资格证中的医师级别
|
|
4686
|
+ TypeJob: strconv.FormatInt(item.DoctorTypeJob, 10), //医生执业资格证中的执业类别
|
|
4687
|
+ DoctorNumber: item.DoctorNumber, //医保医师编号
|
|
4688
|
+ Licensing: strconv.FormatInt(item.Licensing, 10), //多点执业标志
|
|
4689
|
+ DoctorServiceStatus: "", //医师医保服务资格状态
|
|
4690
|
+ MonitoringLevel: "", //监控等级
|
|
4691
|
+ DrugPsychotropicSubstances: "", //毒麻精神药品资格
|
|
4692
|
+ HealthCareCode: "", // 母婴保健技术考核合格证书编号
|
|
4693
|
+ PlanningTechnicalServiceCode: "", //计划生育技术服务人员合格证编号
|
|
4694
|
+ PharmacistType: "", //药师类别
|
|
4695
|
+ PharmacistPracticeCategory: "", //药师执业类别
|
|
4696
|
+ PharmacistsLicensing: "", //药师执业范围
|
|
4697
|
+ PharmacistRegistrationNumber: "", //执业药师注册证编号
|
|
4698
|
+ OfficeCode: "", //科室编码
|
|
4699
|
+ JobNumber: item.JobNumber, //工号
|
|
4700
|
+ PostName: "", //职位名称
|
|
4701
|
+ TechnicalJobLevelCode: "", //专业技术职务级别编码
|
|
4702
|
+ IsActive: strconv.FormatInt(item.IsActive, 10), //在职与否
|
4680
|
4703
|
PrescriptionQualificationIdentification: strconv.FormatInt(item.PrescriptionQualificationIdentification, 10), //处方资格标识
|
4681
|
4704
|
IdentificationOutpatients: strconv.FormatInt(item.IdentificationOutpatients, 10), //门诊大病医师标识
|
4682
|
4705
|
OutpatientIllnessCategory: item.OutpatientIllnessCategory, //门诊大病类别
|
|
@@ -4751,39 +4774,39 @@ func (c *SZHisApiController) GetMedicalList() {
|
4751
|
4774
|
var isSuccess bool = true
|
4752
|
4775
|
for _, item := range list {
|
4753
|
4776
|
detail := &models.DocDetail{
|
4754
|
|
- UserName: item.UserName, //医护姓名
|
4755
|
|
- RoleId: item.Name, //医护人员类别
|
4756
|
|
- Sex: strconv.FormatInt(item.Sex, 10), //性别
|
4757
|
|
- CardType: strconv.FormatInt(item.CardType, 10), //证件类型
|
4758
|
|
- IdCard: item.IdCard, //证件号码
|
4759
|
|
- Phone: item.Mobile, //联系电话
|
4760
|
|
- WorkMajorName: item.WorkMajorName, // 现从事专业名称
|
4761
|
|
- Nation: item.Nation, //民族
|
4762
|
|
- BirthDay: 20201022, // 出生日期
|
4763
|
|
- WorkTime: 20201022, //参加工作日期
|
4764
|
|
- Education: strconv.FormatInt(item.Education, 10), //学历
|
4765
|
|
- StudyMajorName: item.StudyMajorName, //所学的专业名称
|
4766
|
|
- CertificateCode: item.MedicalCode, //医(药)师执业证书编码
|
4767
|
|
- MedicalCode: item.DoctorCode, //医(药)师资格证编码
|
4768
|
|
- MedicalRangeCode: strconv.FormatInt(item.DoctorRangeCode, 10), //医师执业范围代码
|
4769
|
|
- MedicalLevel: strconv.FormatInt(item.DoctorLevel, 10), //医生执业资格证中的医师级别
|
4770
|
|
- TypeJob: strconv.FormatInt(item.DoctorTypeJob, 10), //医生执业资格证中的执业类别
|
4771
|
|
- DoctorNumber: item.DoctorNumber, //医保医师编号
|
4772
|
|
- Licensing: strconv.FormatInt(item.Licensing, 10), //多点执业标志
|
4773
|
|
- DoctorServiceStatus: "", //医师医保服务资格状态
|
4774
|
|
- MonitoringLevel: "", //监控等级
|
4775
|
|
- DrugPsychotropicSubstances: "", //毒麻精神药品资格
|
4776
|
|
- HealthCareCode: "", // 母婴保健技术考核合格证书编号
|
4777
|
|
- PlanningTechnicalServiceCode: "", //计划生育技术服务人员合格证编号
|
4778
|
|
- PharmacistType: "", //药师类别
|
4779
|
|
- PharmacistPracticeCategory: "", //药师执业类别
|
4780
|
|
- PharmacistsLicensing: "", //药师执业范围
|
4781
|
|
- PharmacistRegistrationNumber: "", //执业药师注册证编号
|
4782
|
|
- OfficeCode: "", //科室编码
|
4783
|
|
- JobNumber: item.JobNumber, //工号
|
4784
|
|
- PostName: "", //职位名称
|
4785
|
|
- TechnicalJobLevelCode: "", //专业技术职务级别编码
|
4786
|
|
- IsActive: strconv.FormatInt(item.IsActive, 10), //在职与否
|
|
4777
|
+ UserName: item.UserName, //医护姓名
|
|
4778
|
+ RoleId: item.Name, //医护人员类别
|
|
4779
|
+ Sex: strconv.FormatInt(item.Sex, 10), //性别
|
|
4780
|
+ CardType: strconv.FormatInt(item.CardType, 10), //证件类型
|
|
4781
|
+ IdCard: item.IdCard, //证件号码
|
|
4782
|
+ Phone: item.Mobile, //联系电话
|
|
4783
|
+ WorkMajorName: item.WorkMajorName, // 现从事专业名称
|
|
4784
|
+ Nation: item.Nation, //民族
|
|
4785
|
+ BirthDay: 20201022, // 出生日期
|
|
4786
|
+ WorkTime: 20201022, //参加工作日期
|
|
4787
|
+ Education: strconv.FormatInt(item.Education, 10), //学历
|
|
4788
|
+ StudyMajorName: item.StudyMajorName, //所学的专业名称
|
|
4789
|
+ CertificateCode: item.MedicalCode, //医(药)师执业证书编码
|
|
4790
|
+ MedicalCode: item.DoctorCode, //医(药)师资格证编码
|
|
4791
|
+ MedicalRangeCode: strconv.FormatInt(item.DoctorRangeCode, 10), //医师执业范围代码
|
|
4792
|
+ MedicalLevel: strconv.FormatInt(item.DoctorLevel, 10), //医生执业资格证中的医师级别
|
|
4793
|
+ TypeJob: strconv.FormatInt(item.DoctorTypeJob, 10), //医生执业资格证中的执业类别
|
|
4794
|
+ DoctorNumber: item.DoctorNumber, //医保医师编号
|
|
4795
|
+ Licensing: strconv.FormatInt(item.Licensing, 10), //多点执业标志
|
|
4796
|
+ DoctorServiceStatus: "", //医师医保服务资格状态
|
|
4797
|
+ MonitoringLevel: "", //监控等级
|
|
4798
|
+ DrugPsychotropicSubstances: "", //毒麻精神药品资格
|
|
4799
|
+ HealthCareCode: "", // 母婴保健技术考核合格证书编号
|
|
4800
|
+ PlanningTechnicalServiceCode: "", //计划生育技术服务人员合格证编号
|
|
4801
|
+ PharmacistType: "", //药师类别
|
|
4802
|
+ PharmacistPracticeCategory: "", //药师执业类别
|
|
4803
|
+ PharmacistsLicensing: "", //药师执业范围
|
|
4804
|
+ PharmacistRegistrationNumber: "", //执业药师注册证编号
|
|
4805
|
+ OfficeCode: "", //科室编码
|
|
4806
|
+ JobNumber: item.JobNumber, //工号
|
|
4807
|
+ PostName: "", //职位名称
|
|
4808
|
+ TechnicalJobLevelCode: "", //专业技术职务级别编码
|
|
4809
|
+ IsActive: strconv.FormatInt(item.IsActive, 10), //在职与否
|
4787
|
4810
|
PrescriptionQualificationIdentification: strconv.FormatInt(item.PrescriptionQualificationIdentification, 10), //处方资格标识
|
4788
|
4811
|
IdentificationOutpatients: strconv.FormatInt(item.IdentificationOutpatients, 10), //门诊大病医师标识
|
4789
|
4812
|
OutpatientIllnessCategory: item.OutpatientIllnessCategory, //门诊大病类别
|
|
@@ -4884,44 +4907,44 @@ func (c *SZHisApiController) GetUpdateMedicalList() {
|
4884
|
4907
|
for _, item := range list {
|
4885
|
4908
|
|
4886
|
4909
|
detail := &models.DocDetail{
|
4887
|
|
- StaffCode: "", //医护人员编码
|
4888
|
|
- UserName: item.UserName, //医护人员姓名
|
4889
|
|
- RoleId: item.Name, //医护人员类别
|
4890
|
|
- Sex: "", //性别
|
4891
|
|
- CardType: "", //证件类型
|
4892
|
|
- IdCard: "", //证件号码
|
4893
|
|
- Phone: "", //联系电话
|
4894
|
|
- WorkMajorName: "", //现从事专业名称
|
4895
|
|
- Nation: "", //民族
|
4896
|
|
- BirthDay: 20201022, //出生日期
|
4897
|
|
- WorkTime: 20201022, //参加工作日期
|
4898
|
|
- Education: "", //学历
|
4899
|
|
- StudyMajorName: "", //所学的专业名称
|
4900
|
|
- CertificateCode: "", //证书编码
|
4901
|
|
- MedicalCode: "", //医师资格编码
|
4902
|
|
- MedicalRangeCode: "", //医师执业范围代码
|
4903
|
|
- MedicalLevel: "", //医生级别
|
4904
|
|
- TypeJob: "", //职业类别
|
4905
|
|
- DoctorNumber: "", //医师编号
|
4906
|
|
- Licensing: "", //职业标志
|
4907
|
|
- DoctorServiceStatus: "", //医师医保服务资格状态
|
4908
|
|
- MonitoringLevel: "", //监控等级
|
4909
|
|
- DrugPsychotropicSubstances: "", //毒麻精神药品资格
|
4910
|
|
- HealthCareCode: "", // 母婴保健技术考核合格证书编号
|
4911
|
|
- PlanningTechnicalServiceCode: "", //计划生育技术服务人员合格证编号
|
4912
|
|
- PharmacistType: "", //药师类别
|
4913
|
|
- PharmacistPracticeCategory: "", //药师执业类别
|
4914
|
|
- PharmacistsLicensing: "", //药师执业范围
|
4915
|
|
- PharmacistRegistrationNumber: "", //执业药师注册证编号
|
4916
|
|
- OfficeCode: "", //科室编码
|
4917
|
|
- JobNumber: "", //工号
|
4918
|
|
- PostName: "", //职位名称
|
4919
|
|
- TechnicalJobLevelCode: "", //专业技术职务级别编码
|
4920
|
|
- IsActive: "", //在职与否
|
4921
|
|
- PrescriptionQualificationIdentification: "", //处方资格标识
|
4922
|
|
- IdentificationOutpatients: "", //门诊大病医师标识
|
4923
|
|
- OutpatientIllnessCategory: "", //门诊大病类别
|
4924
|
|
- StartTime: 20201022, //开始日期
|
|
4910
|
+ StaffCode: "", //医护人员编码
|
|
4911
|
+ UserName: item.UserName, //医护人员姓名
|
|
4912
|
+ RoleId: item.Name, //医护人员类别
|
|
4913
|
+ Sex: "", //性别
|
|
4914
|
+ CardType: "", //证件类型
|
|
4915
|
+ IdCard: "", //证件号码
|
|
4916
|
+ Phone: "", //联系电话
|
|
4917
|
+ WorkMajorName: "", //现从事专业名称
|
|
4918
|
+ Nation: "", //民族
|
|
4919
|
+ BirthDay: 20201022, //出生日期
|
|
4920
|
+ WorkTime: 20201022, //参加工作日期
|
|
4921
|
+ Education: "", //学历
|
|
4922
|
+ StudyMajorName: "", //所学的专业名称
|
|
4923
|
+ CertificateCode: "", //证书编码
|
|
4924
|
+ MedicalCode: "", //医师资格编码
|
|
4925
|
+ MedicalRangeCode: "", //医师执业范围代码
|
|
4926
|
+ MedicalLevel: "", //医生级别
|
|
4927
|
+ TypeJob: "", //职业类别
|
|
4928
|
+ DoctorNumber: "", //医师编号
|
|
4929
|
+ Licensing: "", //职业标志
|
|
4930
|
+ DoctorServiceStatus: "", //医师医保服务资格状态
|
|
4931
|
+ MonitoringLevel: "", //监控等级
|
|
4932
|
+ DrugPsychotropicSubstances: "", //毒麻精神药品资格
|
|
4933
|
+ HealthCareCode: "", // 母婴保健技术考核合格证书编号
|
|
4934
|
+ PlanningTechnicalServiceCode: "", //计划生育技术服务人员合格证编号
|
|
4935
|
+ PharmacistType: "", //药师类别
|
|
4936
|
+ PharmacistPracticeCategory: "", //药师执业类别
|
|
4937
|
+ PharmacistsLicensing: "", //药师执业范围
|
|
4938
|
+ PharmacistRegistrationNumber: "", //执业药师注册证编号
|
|
4939
|
+ OfficeCode: "", //科室编码
|
|
4940
|
+ JobNumber: "", //工号
|
|
4941
|
+ PostName: "", //职位名称
|
|
4942
|
+ TechnicalJobLevelCode: "", //专业技术职务级别编码
|
|
4943
|
+ IsActive: "", //在职与否
|
|
4944
|
+ PrescriptionQualificationIdentification: "", //处方资格标识
|
|
4945
|
+ IdentificationOutpatients: "", //门诊大病医师标识
|
|
4946
|
+ OutpatientIllnessCategory: "", //门诊大病类别
|
|
4947
|
+ StartTime: 20201022, //开始日期
|
4925
|
4948
|
EndTime: 20201022,
|
4926
|
4949
|
}
|
4927
|
4950
|
customs = append(customs, detail)
|