|
@@ -200,10 +200,10 @@ func Hbyb2203(psnNo string, mdtrtId string, doctor string, department string, or
|
200
|
200
|
inputData := make(map[string]interface{})
|
201
|
201
|
diseinfo := make([]map[string]interface{}, 0)
|
202
|
202
|
|
203
|
|
- inputMessage["infno"] = "2203"
|
204
|
|
- inputData["mdtrt_id"] = mdtrtId
|
205
|
|
- inputData["psn_no"] = psnNo
|
206
|
|
- inputData["med_type"] = med_type
|
|
203
|
+ inputMessage["infno"] = "2203"
|
|
204
|
+ inputData["mdtrt_id"] = mdtrtId
|
|
205
|
+ inputData["psn_no"] = psnNo
|
|
206
|
+
|
207
|
207
|
inputData["begntime"] = timeFormatOne
|
208
|
208
|
|
209
|
209
|
inputData["main_cond_dscr"] = ""
|
|
@@ -212,6 +212,16 @@ func Hbyb2203(psnNo string, mdtrtId string, doctor string, department string, or
|
212
|
212
|
inputData["birctrl_type"] = ""
|
213
|
213
|
inputData["birctrl_matn_date"] = ""
|
214
|
214
|
|
|
215
|
+ if insuplc_admdvs == "421300" {
|
|
216
|
+ if med_type == "11" {
|
|
217
|
+ inputData["med_type"] = "110104"
|
|
218
|
+ } else if med_type == "14" {
|
|
219
|
+ inputData["med_type"] = "140101"
|
|
220
|
+ }
|
|
221
|
+ } else {
|
|
222
|
+ inputData["med_type"] = med_type
|
|
223
|
+ }
|
|
224
|
+
|
215
|
225
|
for index, item := range config {
|
216
|
226
|
diseinfo_sun := make(map[string]interface{})
|
217
|
227
|
diseinfo_sun["diag_type"] = "1"
|