Ejemplo 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);
            }
        }
Ejemplo n.º 2
0
 public Form1()
 {
     InitializeComponent();
     connDB = new FHIRconn();
 }