|
@@ -27,8 +27,8 @@ namespace Worklist_SCP.Model
|
|
|
private static string HospitalName = ConfigurationManager.AppSettings["HospitalName"];
|
|
|
private static string HospitalId = ConfigurationManager.AppSettings["HospitalId"];
|
|
|
private static string ScheduledAET = ConfigurationManager.AppSettings["ScheduledAET"];
|
|
|
- private static bool isChinese = "TRUE".Equals(ConfigurationManager.AppSettings["Chinese"]) ;
|
|
|
-
|
|
|
+ private static string ModalityStringInt = ConfigurationManager.AppSettings["ModalityStringInt"];
|
|
|
+ private static bool isChinese = "TRUE".Equals(ConfigurationManager.AppSettings["Chinese"]);
|
|
|
private static void cache(List<View_PACS> hisBeans)
|
|
|
{
|
|
|
try
|
|
@@ -38,7 +38,7 @@ namespace Worklist_SCP.Model
|
|
|
List<Tmp> datas = new List<Tmp>();
|
|
|
foreach (View_PACS hisBean in hisBeans)
|
|
|
{
|
|
|
- datas.Add(new Tmp(hisBean.INPATIENTNO, hisBean.NAME));
|
|
|
+ datas.Add(new Tmp(hisBean.INPATIENTNO, hisBean.NAME, hisBean.zyh, hisBean.cwh, hisBean.PARTOFCHECK));
|
|
|
}
|
|
|
|
|
|
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(Cache_Url);
|
|
@@ -169,7 +169,7 @@ namespace Worklist_SCP.Model
|
|
|
|
|
|
|
|
|
private static string generatStudyUid(string PatientID, string AccessionNumber, DateTime ExamDateAndTime) {
|
|
|
- return "1.2.156.14702.3." + PatientID + "." + AccessionNumber + "." + GetTimeStamp(ExamDateAndTime);
|
|
|
+ return "1.2.156.14702.3." + ModalityStringInt + "." + PatientID + "." + AccessionNumber + "." + GetTimeStamp(ExamDateAndTime);
|
|
|
}
|
|
|
|
|
|
|
|
@@ -230,7 +230,7 @@ namespace Worklist_SCP.Model
|
|
|
|
|
|
AddIfExistsInRequest(resultDataset, request, DicomTag.AccessionNumber, result.AccessionNumber); // T2
|
|
|
AddIfExistsInRequest(resultDataset, request, DicomTag.InstitutionName, result.HospitalName);
|
|
|
- AddIfExistsInRequest(resultDataset, request, DicomTag.InstitutionCodeSequence, result.HospitalId);
|
|
|
+ //AddIfExistsInRequest(resultDataset, request, DicomTag.InstitutionCodeSequence, result.HospitalId);
|
|
|
AddIfExistsInRequest(resultDataset, request, DicomTag.ReferringPhysicianName, result.ReferringPhysician); // T2
|
|
|
|
|
|
//AddIfExistsInRequest(resultDataset, request, DicomTag.PatientName, TransferEncoding(Encoding.Default, Encoding.GetEncoding("GB18030") , result.Name)); //T1
|