Przeglądaj źródła

增加不互认提示 和 原始报告代码开发

zackhua 7 miesięcy temu
rodzic
commit
cacf8a4593

+ 16 - 0
LisPacsDataUpload/Form1.cs

@@ -35,6 +35,7 @@ namespace LisPacsDataUpload
         private string DicLis = AppDomain.CurrentDomain.BaseDirectory + "Lis\\";
 
         private int zlhr = 0;// 是否为临生免
+        private int lisSource = 1;// 1 中联lis  2  专业版临生免  3 三方lis
         private int open_multiple_upload_flag = 0;// 开启多个线程上传
         private delegate void SetTextCallback(string text);
         //在给textBox1.text赋值的地方调用以下方法即可
@@ -467,6 +468,21 @@ namespace LisPacsDataUpload
                                 continue;
                             }
 
+                            //最新调整  需要获取 原始pdf 文件  存在场景  有三方lis、中联lis 、 以及专业版临生免 的报告 三种  
+
+                            if ()
+                            {
+
+                            }else if ()
+                            {
+
+                            }
+                            else
+                            {
+
+                            }
+
+
                             //上传文件
                             string file_json = "{\"attachmentType\":\".pdf\",\"attachmentName\":\"检验报告\",\"businessType\":\"A001\",\"attachmentFile\":\"" + Tools.FileToBase64Str(res) + "\"}";
                             string file_vi = Tools.GuidTo16String();

+ 0 - 3
ZLPlugin_LisPacs_MR/LisPacs_MR_Bll.cs

@@ -1,9 +1,6 @@
 using ADODB;
 using System;
 using System.Collections.Generic;
-using System.Reflection;
-using System.Xml.Linq;
-using ZLPlugin_LisPacs_MR.Domain;
 using ZLPlugin_LisPacs_MR.Domain.Units;
 using ZLPlugin_LisPacs_MR.Model;
 

+ 2 - 2
ZLPlugin_LisPacs_MR/Properties/AssemblyInfo.cs

@@ -4,7 +4,7 @@ using System.Runtime.InteropServices;
 // General Information about an assembly is controlled through the following 
 // set of attributes. Change these attribute values to modify the information
 // associated with an assembly.
-[assembly: AssemblyTitle("互认金额版本和金额默认设置为0,以及医嘱内容引号解决")]
+[assembly: AssemblyTitle("互认金额版本和金额默认设置为0,以及医嘱内容引号解决,增加不互认提示")]
 [assembly: AssemblyDescription("")]
 [assembly: AssemblyConfiguration("")]
 [assembly: AssemblyCompany("zlsoft")]
@@ -32,4 +32,4 @@ using System.Runtime.InteropServices;
 // by using the '*' as shown below:
 // [assembly: AssemblyVersion("1.0.*")]
 [assembly: AssemblyVersion("1.4.35.140")]
-[assembly: AssemblyFileVersion("1.0.1.3")]
+[assembly: AssemblyFileVersion("1.0.1.4")]

+ 2 - 2
ZLPlugin_LisPacs_MR/clsPlugin.cs

@@ -384,7 +384,7 @@ namespace ZLPlugin_LisPacs_MR
                     }
                     else
                     {
-                        //MessageBox.Show(rex.ResultText.ToString(), "中联软件", MessageBoxButtons.YesNo, MessageBoxIcon.Warning);
+                        MessageBox.Show(rex.ResultText.ToString(), "中联软件", MessageBoxButtons.YesNo, MessageBoxIcon.Warning);
                         socketClient.Close();
                         return true;//此病人不存在互认信息
                     }
@@ -417,7 +417,7 @@ namespace ZLPlugin_LisPacs_MR
             }
             try
             {
-                Log.Info("互认的信息" + SocketClient.Message);
+                Log.Info("互认的信息>>" + SocketClient.Message);
                 result = JSON.JsonToObject<Results>(Tools.FormatStr(SocketClient.Message), Encoding.UTF8);
             }
             catch (Exception ex)//插件关闭时,返回格式不一样