Changeset 496 for cprs/branches/tmg-cprs/CPRS-Chart/TMG_Extra
- Timestamp:
- Feb 18, 2009, 3:22:51 PM (16 years ago)
- Location:
- cprs/branches/tmg-cprs/CPRS-Chart/TMG_Extra
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cprs/branches/tmg-cprs/CPRS-Chart/TMG_Extra/fPtDemoEdit.dfm
r495 r496 1 1 object frmPtDemoEdit: TfrmPtDemoEdit 2 Left = 1963 Top = 1 452 Left = 322 3 Top = 116 4 4 Width = 684 5 5 Height = 498 … … 129 129 end 130 130 object SexLabel: TLabel 131 Left = 6 6131 Left = 62 132 132 Top = 176 133 Width = 18134 Height = 13 135 Caption = 'Sex '133 Width = 21 134 Height = 13 135 Caption = 'Sex:' 136 136 end 137 137 object DegreeLabel: TLabel 138 Left = 378139 Top = 1 60138 Left = 505 139 Top = 137 140 140 Width = 35 141 141 Height = 13 … … 143 143 Caption = 'Degree' 144 144 Visible = False 145 end 146 object Label1: TLabel 147 Left = 58 148 Top = 133 149 Width = 26 150 Height = 13 151 Caption = 'DOB:' 152 end 153 object Label2: TLabel 154 Left = 59 155 Top = 156 156 Width = 25 157 Height = 13 158 Caption = 'SSN:' 159 end 160 object Label3: TLabel 161 Left = 379 162 Top = 172 163 Width = 29 164 Height = 13 165 Caption = 'EMail:' 145 166 end 146 167 object CombinedNameEdit: TEdit … … 183 204 Left = 415 184 205 Top = 136 185 Width = 135206 Width = 66 186 207 Height = 21 187 208 Anchors = [akTop, akRight] … … 513 534 end 514 535 object DegreeEdit: TEdit 515 Left = 415516 Top = 1 60517 Width = 136536 Left = 542 537 Top = 137 538 Width = 67 518 539 Height = 21 519 540 Anchors = [akTop, akRight] … … 554 575 end 555 576 end 577 object EMailEdit: TEdit 578 Left = 415 579 Top = 168 580 Width = 218 581 Height = 21 582 Anchors = [akLeft, akTop, akRight] 583 TabOrder = 13 584 OnChange = SSNumEditChange 585 end 556 586 end 557 587 end … … 561 591 LangData = { 562 592 0D0066726D507444656D6F45646974010100000001000000070043617074696F 563 6E013 500000005004F4B42746E010100000002000000070043617074696F6E00593 6E013900000005004F4B42746E010100000002000000070043617074696F6E00 564 594 090043616E63656C42746E010100000003000000070043617074696F6E000800 565 595 4170706C7942746E010100000004000000070043617074696F6E000B00506167 … … 605 635 000027000000070043617074696F6E000B0050686F6E654E756D477270010100 606 636 00002800000005004974656D73000C0050686F6E654E756D4564697401010000 607 002900000004005465787400} 637 00290000000400546578740006004C6162656C3101010000002A000000070043 638 617074696F6E0006004C6162656C3201010000002B000000070043617074696F 639 6E0006004C6162656C3301010000002C000000070043617074696F6E00090045 640 4D61696C456469740000} 608 641 end 609 642 end -
cprs/branches/tmg-cprs/CPRS-Chart/TMG_Extra/fPtDemoEdit.pas
r495 r496 23 23 Sex: String; 24 24 SSNum: String; 25 EMail: String; 25 26 AliasInfo : TStringList; //format: s=IEN#, Object is ^tAlias 26 27 AddressLine1: String; … … 51 52 ConfidentalCity: String; 52 53 ConfidentalState: String; 53 ConfidentalZip 4: String;54 ConfidentalZip: String; 54 55 ConfidentalStartingDate : String; 55 56 ConfidentalEndingDate : String; … … 121 122 PhoneNumGrp: TRadioGroup; 122 123 PhoneNumEdit: TEdit; 124 Label1: TLabel; 125 Label2: TLabel; 126 Label3: TLabel; 127 EMailEdit: TEdit; 123 128 procedure AliasComboBoxChange(Sender: TObject); 124 129 procedure FormCreate(Sender: TObject); … … 187 192 188 193 uses 189 IniFiles,Trpcb,ORNet,uCore, mfunstr ;194 IniFiles,Trpcb,ORNet,uCore, mfunstr, strutils; 190 195 191 196 const … … 264 269 ConfidentalCity:= ''; 265 270 ConfidentalState:= ''; 266 ConfidentalZip 4:= '';271 ConfidentalZip:= ''; 267 272 ConfidentalStartingDate := ''; 268 273 ConfidentalEndingDate := ''; … … 326 331 ConfidentalCity:=Source.ConfidentalCity; 327 332 ConfidentalState:=Source.ConfidentalState; 328 ConfidentalZip 4:=Source.ConfidentalZip4;333 ConfidentalZip:=Source.ConfidentalZip; 329 334 ConfidentalStartingDate :=Source.ConfidentalStartingDate ; 330 335 ConfidentalEndingDate :=Source.ConfidentalEndingDate ; … … 437 442 CompStrs(ConfidentalCity, OldInfo.ConfidentalCity); 438 443 CompStrs(ConfidentalState, OldInfo.ConfidentalState); 439 CompStrs(ConfidentalZip 4, OldInfo.ConfidentalZip4);444 CompStrs(ConfidentalZip, OldInfo.ConfidentalZip); 440 445 CompStrs(ConfidentalStartingDate , OldInfo.ConfidentalStartingDate ); 441 446 CompStrs(ConfidentalEndingDate , OldInfo.ConfidentalEndingDate ); … … 568 573 ConfidentalCity:= tempINI.ReadString('DATA','CONF_CITY',''); 569 574 ConfidentalState:= tempINI.ReadString('DATA','CONF_STATE',''); 570 ConfidentalZip 4:= tempINI.ReadString('DATA','CONF_ZIP4','');575 ConfidentalZip:= tempINI.ReadString('DATA','CONF_ZIP',''); 571 576 ConfidentalStartingDate := tempINI.ReadString('DATA','CONG_STARTING_DATE',''); 572 577 ConfidentalEndingDate := tempINI.ReadString('DATA','CONF_ENDING_DATE',''); … … 634 639 CheckPost('CONF_CITY',ConfidentalCity); 635 640 CheckPost('CONF_STATE',ConfidentalState); 636 CheckPost('CONF_ZIP 4',ConfidentalZip4);641 CheckPost('CONF_ZIP',ConfidentalZip); 637 642 CheckPost('CONG_STARTING_DATE',ConfidentalStartingDate ); 638 643 CheckPost('CONF_ENDING_DATE',ConfidentalEndingDate ); … … 808 813 CityEdit.Text := FCurPatientInfo.ConfidentalCity; 809 814 StateComboBox.Text := FCurPatientInfo.ConfidentalState; 810 Zip4Edit.Text := FCurPatientInfo.ConfidentalZip 4;815 Zip4Edit.Text := FCurPatientInfo.ConfidentalZip; 811 816 StartingDateEdit.Text := FCurPatientInfo.ConfidentalStartingDate ; 812 817 EndingDateEdit.Text := FCurPatientInfo.ConfidentalEndingDate ; … … 1024 1029 0 : FCurPatientInfo.Zip4 := Zip4Edit.Text; 1025 1030 1 : FCurPatientInfo.TempZip4 := Zip4Edit.Text; 1026 2 : FCurPatientInfo.ConfidentalZip 4 := Zip4Edit.Text;1031 2 : FCurPatientInfo.ConfidentalZip := leftstr(Zip4Edit.Text,5); 1027 1032 end; {case} 1028 1033 end;
Note:
See TracChangeset
for help on using the changeset viewer.