Changeset 829 for cprs/trunk/CPRS-Chart/Consults/rConsults.pas
- Timestamp:
- Jul 7, 2010, 4:31:10 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cprs/trunk/CPRS-Chart/Consults/rConsults.pas
r456 r829 285 285 Results[i] := x; 286 286 end; 287 Dest.Assign(Results);287 FastAssign(Results, Dest); 288 288 end 289 289 else … … 299 299 begin 300 300 CallV('ORQQCN DETAIL', [IEN]); 301 Dest.Assign(RPCBrokerV.Results);301 FastAssign(RPCBrokerV.Results, Dest); 302 302 end; 303 303 … … 306 306 begin 307 307 CallV('ORQQCN MED RESULTS', [IEN]); 308 Dest.Assign(RPCBrokerV.Results);308 FastAssign(RPCBrokerV.Results, Dest); 309 309 end; 310 310 … … 327 327 alist := TStringList.Create ; 328 328 try 329 alist.Assign(RPCBrokerV.Results);329 FastAssign(RPCBrokerV.Results, aList); 330 330 x := alist[0] ; 331 331 if Piece(x,u,1) <> '-1' then … … 459 459 begin 460 460 CallV('ORQQCN RECEIVE', [IEN, ReceivedBy, RcptDate, Comments]); 461 Dest.Assign(RPCBrokerV.Results); {1^Error message' or '0'}461 FastAssign(RPCBrokerV.Results, Dest); {1^Error message' or '0'} 462 462 end; 463 463 … … 466 466 begin 467 467 CallV('ORQQCN2 SCHEDULE CONSULT', [IEN, ScheduledBy, SchdDate, Alert, AlertTo, Comments]); 468 Dest.Assign(RPCBrokerV.Results); {1^Error message' or '0'}468 FastAssign(RPCBrokerV.Results, Dest); {1^Error message' or '0'} 469 469 end; 470 470 … … 473 473 begin 474 474 CallV('ORQQCN DISCONTINUE', [IEN, DeniedBy, DenialDate,'DY',Comments]); 475 Dest.Assign(RPCBrokerV.Results); {1^Error message' or '0'}475 FastAssign(RPCBrokerV.Results, Dest); {1^Error message' or '0'} 476 476 end; 477 477 … … 480 480 begin 481 481 CallV('ORQQCN DISCONTINUE', [IEN, DiscontinuedBy, DiscontinueDate,'DC',Comments]); 482 Dest.Assign(RPCBrokerV.Results); {1^Error message' or '0'}482 FastAssign(RPCBrokerV.Results, Dest); {1^Error message' or '0'} 483 483 end; 484 484 … … 486 486 ActionDate: TFMDateTime; Comments: TStrings); 487 487 begin 488 489 Dest.Assign(RPCBrokerV.Results); {1^Error message' or '0'}488 CallV('ORQQCN FORWARD', [IEN, ToService, Forwarder, AttentionOf, Urgency, ActionDate, Comments]); 489 FastAssign(RPCBrokerV.Results, Dest); {1^Error message' or '0'} 490 490 end ; 491 491 … … 493 493 AlertTo: string) ; 494 494 begin 495 496 Dest.Assign(RPCBrokerV.Results); {1^Error message' or '0'}495 CallV('ORQQCN ADDCMT', [IEN, Comments, Alert, AlertTo, ActionDate]); 496 FastAssign(RPCBrokerV.Results, Dest); {1^Error message' or '0'} 497 497 end ; 498 498 … … 500 500 RespProv: Int64; ActionDate: TFMDateTime; Alert: integer; AlertTo: string) ; 501 501 begin 502 503 Dest.Assign(RPCBrokerV.Results); {1^Error message' or '0'}502 CallV('ORQQCN ADMIN COMPLETE', [IEN, SigFindingsFlag, Comments, RespProv, Alert, AlertTo, ActionDate]); 503 FastAssign(RPCBrokerV.Results, Dest); {1^Error message' or '0'} 504 504 end ; 505 505 … … 507 507 AlertTo: string) ; 508 508 begin 509 510 Dest.Assign(RPCBrokerV.Results); {1^Error message' or '0'}509 CallV('ORQQCN SIGFIND', [IEN, SigFindingsFlag, Comments, Alert, AlertTo, ActionDate]); 510 FastAssign(RPCBrokerV.Results, Dest); {1^Error message' or '0'} 511 511 end ; 512 512 … … 831 831 ClinProcDateTime := StrToFMDateTime(Piece(x, U, 4)); 832 832 Title := StrToIntDef(Piece(x, U, 5), 0); 833 DateTime := StrToFloatDef(Piece(x, U, 6), 0); 833 834 end; 834 835 Result := AnEditRec;
Note:
See TracChangeset
for help on using the changeset viewer.