Esempio n. 1
0
        public Form2(string arg)
        {
            _arg = arg;
            InitializeComponent();
            connDB = new FHIRconn();

            Patient l = connDB.GetPatientByID(arg);
            string  name;

            try
            {
                name = l.Name[0].GivenElement[0].ToString();
            }
            catch
            {
                name = null;
            }

            if (!String.IsNullOrEmpty(name))
            {
                string outS = l.Id + "---" + l.Name[0].GivenElement[0] + "---" + l.Name[0].Family;
                listBox1.Items.Add(outS);
            }
        }
Esempio n. 2
0
 public Form1()
 {
     InitializeComponent();
     connDB = new FHIRconn();
 }