Ignore:
Timestamp:
Feb 18, 2009, 3:22:51 PM (15 years ago)
Author:
Kevin Toppenberg
Message:

Fixed missing TDKLang. Class, Added email demographic, Fixed field error in demographis

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cprs/branches/tmg-cprs/CPRS-Chart/TMG_Extra/fPtDemoEdit.pas

    r495 r496  
    2323    Sex: String;
    2424    SSNum: String;
     25    EMail: String;
    2526    AliasInfo : TStringList;  //format: s=IEN#, Object is ^tAlias
    2627    AddressLine1: String;
     
    5152    ConfidentalCity: String;
    5253    ConfidentalState: String;
    53     ConfidentalZip4: String;
     54    ConfidentalZip: String;
    5455    ConfidentalStartingDate : String;
    5556    ConfidentalEndingDate : String;
     
    121122    PhoneNumGrp: TRadioGroup;
    122123    PhoneNumEdit: TEdit;
     124    Label1: TLabel;
     125    Label2: TLabel;
     126    Label3: TLabel;
     127    EMailEdit: TEdit;
    123128    procedure AliasComboBoxChange(Sender: TObject);
    124129    procedure FormCreate(Sender: TObject);
     
    187192
    188193uses
    189   IniFiles,Trpcb,ORNet,uCore, mfunstr;
     194  IniFiles,Trpcb,ORNet,uCore, mfunstr, strutils;
    190195
    191196const
     
    264269  ConfidentalCity:= '';
    265270  ConfidentalState:= '';
    266   ConfidentalZip4:= '';
     271  ConfidentalZip:= '';
    267272  ConfidentalStartingDate := '';
    268273  ConfidentalEndingDate := '';
     
    326331  ConfidentalCity:=Source.ConfidentalCity;
    327332  ConfidentalState:=Source.ConfidentalState;
    328   ConfidentalZip4:=Source.ConfidentalZip4;
     333  ConfidentalZip:=Source.ConfidentalZip;
    329334  ConfidentalStartingDate :=Source.ConfidentalStartingDate ;
    330335  ConfidentalEndingDate :=Source.ConfidentalEndingDate ;
     
    437442  CompStrs(ConfidentalCity, OldInfo.ConfidentalCity);
    438443  CompStrs(ConfidentalState, OldInfo.ConfidentalState);
    439   CompStrs(ConfidentalZip4, OldInfo.ConfidentalZip4);
     444  CompStrs(ConfidentalZip, OldInfo.ConfidentalZip);
    440445  CompStrs(ConfidentalStartingDate , OldInfo.ConfidentalStartingDate );
    441446  CompStrs(ConfidentalEndingDate , OldInfo.ConfidentalEndingDate );
     
    568573    ConfidentalCity:= tempINI.ReadString('DATA','CONF_CITY','');
    569574    ConfidentalState:= tempINI.ReadString('DATA','CONF_STATE','');
    570     ConfidentalZip4:= tempINI.ReadString('DATA','CONF_ZIP4','');
     575    ConfidentalZip:= tempINI.ReadString('DATA','CONF_ZIP','');
    571576    ConfidentalStartingDate := tempINI.ReadString('DATA','CONG_STARTING_DATE','');
    572577    ConfidentalEndingDate := tempINI.ReadString('DATA','CONF_ENDING_DATE','');
     
    634639    CheckPost('CONF_CITY',ConfidentalCity);
    635640    CheckPost('CONF_STATE',ConfidentalState);
    636     CheckPost('CONF_ZIP4',ConfidentalZip4);
     641    CheckPost('CONF_ZIP',ConfidentalZip);
    637642    CheckPost('CONG_STARTING_DATE',ConfidentalStartingDate );
    638643    CheckPost('CONF_ENDING_DATE',ConfidentalEndingDate );
     
    808813          CityEdit.Text := FCurPatientInfo.ConfidentalCity;
    809814          StateComboBox.Text := FCurPatientInfo.ConfidentalState;
    810           Zip4Edit.Text := FCurPatientInfo.ConfidentalZip4;
     815          Zip4Edit.Text := FCurPatientInfo.ConfidentalZip;
    811816          StartingDateEdit.Text := FCurPatientInfo.ConfidentalStartingDate ;
    812817          EndingDateEdit.Text := FCurPatientInfo.ConfidentalEndingDate ;
     
    10241029    0 : FCurPatientInfo.Zip4   := Zip4Edit.Text;
    10251030    1 : FCurPatientInfo.TempZip4 := Zip4Edit.Text;
    1026     2 : FCurPatientInfo.ConfidentalZip4 := Zip4Edit.Text;
     1031    2 : FCurPatientInfo.ConfidentalZip := leftstr(Zip4Edit.Text,5);
    10271032  end;  {case}
    10281033end;
Note: See TracChangeset for help on using the changeset viewer.