Ignore:
Timestamp:
Jul 14, 2010, 8:11:57 AM (14 years ago)
Author:
Sam Habiel
Message:

Start of week now machine culture sensitive (default always 1 day after start of week per culture). Change in CGDocument.cs
Removal of SSN references in DPatientLookup.cs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Scheduling/trunk/cs/bsdx0200GUISourceCode/DPatientLookup.cs

    r620 r868  
    168168                private string                          m_sPatientIEN;
    169169                private string                          m_sPatientDOB;
    170                 private string                          m_sPatientSSN;
     170                private string                          m_sPatientPID;
    171171
    172172                #endregion //Fields
     
    229229                                        this.m_sPatientHRN = r["HRN"].ToString();
    230230                                        this.m_sPatientIEN = r["IEN"].ToString();
    231                                         this.m_sPatientSSN = r["SSN"].ToString();
     231                                        this.m_sPatientPID = r["PID"].ToString();
    232232                                        this.cmdOK.Enabled = true;
    233233                                        this.AcceptButton = cmdOK;
     
    241241                                        ListViewItem lv = new ListViewItem(sPat);
    242242                                        lv.SubItems.Add(r["HRN"].ToString());
    243                                         lv.SubItems.Add(r["SSN"].ToString());
     243                                        lv.SubItems.Add(r["PID"].ToString());
    244244                                        DateTime d = Convert.ToDateTime(r["DOB"]);
    245                                         string sFormat = "MM/dd/yyyy";
    246                                         string sDob = d.ToString(sFormat);
     245                                        string sFormat = System.Globalization.DateTimeFormatInfo.CurrentInfo.ShortDatePattern;
     246                    string sDob = d.ToString(sFormat);
    247247                                        lv.SubItems.Add(sDob);
    248248                                        lv.SubItems.Add((r["IEN"].ToString()));
     
    254254                                lvwPatients.Columns.Add("Name", w, HorizontalAlignment.Left);
    255255                                lvwPatients.Columns.Add("HRN", w, HorizontalAlignment.Left);
    256                                 lvwPatients.Columns.Add("SSN", w, HorizontalAlignment.Left);
     256                                lvwPatients.Columns.Add("PID", w, HorizontalAlignment.Left);
    257257                                lvwPatients.Columns.Add("DOB",w, HorizontalAlignment.Left);
    258258
     
    292292                        m_sPatientHRN = v.SubItems[1].Text;
    293293                        m_sPatientDOB = v.SubItems[3].Text;
    294                         m_sPatientSSN = v.SubItems[2].Text;
     294                        m_sPatientPID = v.SubItems[2].Text;
    295295                        this.txtSearch.Text = m_sPatientName;
    296296                        this.cmdOK.Enabled = true;
Note: See TracChangeset for help on using the changeset viewer.