Beispiel #1
0
        public PatientDataReader(string dataElement)
        {
            PatientDataReader de = Read(dataElement);

            this.PatientName = de.PatientName;
            this.PatientID   = de.PatientID;
        }
Beispiel #2
0
        private void GetData()
        {
            data.Clear();
            gdcm.DataSetArrayType wynik = PatientQuery();
            List <string>         ex1   = new List <string>();

            // pokaż wyniki
            foreach (gdcm.DataSet x in wynik)
            {
                EyeStation.PACSDAO.PatientDataReader de = new EyeStation.PACSDAO.PatientDataReader(x.toString());

                string dane;
                string name;
                string segmentation_name;
                Dictionary <string, Dictionary <string, string> > Datas;

                FramesQuery(de.PatientID, out dane, out name, out Datas, out segmentation_name);

                data.Add(new PACSDAO.Patient(de.PatientID, de.PatientName, name, dane, Datas, segmentation_name));
                ex1.Add(String.Format("{0}", name));
                ex1.Add(String.Format("{0}", segmentation_name));
            }
            DCMTK.DCM2JPG(ex1);
        }