Changeset 829 for cprs/trunk/CPRS-Chart/BA/UBAGlobals.pas
- Timestamp:
- Jul 7, 2010, 4:31:10 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cprs/trunk/CPRS-Chart/BA/UBAGlobals.pas
r456 r829 31 31 PtHNC:boolean; 32 32 PtMST:boolean; 33 PtSHAD:boolean; 33 34 constructor Create(Alist:TStringList); 34 35 function GetGMPDFN(dfn:string;name:String):string; … … 111 112 FBAFactorHNC : string; 112 113 FBAFactorCV : string; 114 FBAFactorSHAD : string; 113 115 end; 114 116 … … 131 133 CB_HNC :string; 132 134 CB_CV :string; 135 CB_SHAD :string; 133 136 end; 134 137 … … 205 208 TFactors : string; 206 209 SC,AO,IR : string; 207 MST,HNC,CV, EC: string;210 MST,HNC,CV,SHD,EC : string; 208 211 PLFactorsIndexes : TStringList; 209 212 BAHoldPrimaryDx : string; // used to verify primart dx has been changed. 210 213 BAPrimaryDxChanged: boolean; 211 // OrdersReqDxLst : TStringList; // List of selected Orders flagged collect DX Y/N212 214 NonBillableOrderList : TStringList; // contains reference to those selected orders that are non billable 213 215 OrderListSCEI : TSTringList; // OrderID Exists SCEI are required. … … 220 222 BAFWarningShown: boolean; // flag used to determine if Inactive ICD Code has been shown. 221 223 BAPersonalDX: boolean; 222 // BAConsultOrdersRequireDx: TStringList; //orderid - if orderid exists - consult order that requires dx...223 224 BADeltedOrders: TStringList; 224 225 225 226 implementation 226 227 227 uses fBALocalDiagnoses, fOrdersSign, fReview, uCore, rCore, rPCE,uPCE, UBAConst, UBAMessages, UBACore; 228 uses fBALocalDiagnoses, fOrdersSign, fReview, uCore, rCore, rPCE,uPCE, UBAConst, UBAMessages, UBACore, 229 VAUtils; 228 230 229 231 procedure RemoveOrderFromDxList(thisOrderID: string); … … 390 392 on EListError do 391 393 begin 392 {$ifdef debug}ShowM essage('EListError in UBAGlobals.PutBADxListForOrder()');{$endif}394 {$ifdef debug}ShowMsg('EListError in UBAGlobals.PutBADxListForOrder()');{$endif} 393 395 raise; 394 396 end; … … 489 491 on EListError do 490 492 begin 491 {$ifdef debug}ShowM essage('EListError in UBAGlobals.AllSelectedDxBlank() - F_ORDERS_SIGN');{$endif}493 {$ifdef debug}ShowMsg('EListError in UBAGlobals.AllSelectedDxBlank() - F_ORDERS_SIGN');{$endif} 492 494 raise; 493 495 end; … … 506 508 on EListError do 507 509 begin 508 {$ifdef debug}ShowM essage('EListError in UBAGlobals.AllSelectedDxBlank() - F_REVIEW');{$endif}510 {$ifdef debug}ShowMsg('EListError in UBAGlobals.AllSelectedDxBlank() - F_REVIEW');{$endif} 509 511 raise; 510 512 end; … … 534 536 on EListError do 535 537 begin 536 {$ifdef debug}ShowM essage('EListError in UBAGlobals.GetDxNodeIndex()');{$endif}538 {$ifdef debug}ShowMsg('EListError in UBAGlobals.GetDxNodeIndex()');{$endif} 537 539 raise; 538 540 end; … … 565 567 on EListError do 566 568 begin 567 {$ifdef debug}ShowM essage('EListError in UBAGlobals.DiagnosesMatch()');{$endif}569 {$ifdef debug}ShowMsg('EListError in UBAGlobals.DiagnosesMatch()');{$endif} 568 570 raise; 569 571 end; … … 588 590 on EListError do 589 591 begin 590 {$ifdef debug}ShowM essage('EListError in UBAGlobals.CountSelectedOrders() - F_ORDERS_SIGN');{$endif}592 {$ifdef debug}ShowMsg('EListError in UBAGlobals.CountSelectedOrders() - F_ORDERS_SIGN');{$endif} 591 593 raise; 592 594 end; … … 601 603 on EListError do 602 604 begin 603 {$ifdef debug}ShowM essage('EListError in UBAGlobals.CountSelectedOrders() - F_REVIEW');{$endif}605 {$ifdef debug}ShowMsg('EListError in UBAGlobals.CountSelectedOrders() - F_REVIEW');{$endif} 604 606 raise; 605 607 end; … … 643 645 on EListError do 644 646 begin 645 {$ifdef debug}ShowM essage('EListError in UBAGlobals.CompareOrderDx() - F_ORDERS_SIGN');{$endif}647 {$ifdef debug}ShowMsg('EListError in UBAGlobals.CompareOrderDx() - F_ORDERS_SIGN');{$endif} 646 648 raise; 647 649 end; … … 659 661 on EListError do 660 662 begin 661 {$ifdef debug}ShowM essage('EListError in UBAGlobals.CompareOrderDx() - F_REVIEW');{$endif}663 {$ifdef debug}ShowMsg('EListError in UBAGlobals.CompareOrderDx() - F_REVIEW');{$endif} 662 664 raise; 663 665 end; … … 704 706 on EListError do 705 707 begin 706 {$ifdef debug}ShowM essage('EListError in UBAGlobals.CompareOrderDx() - F_ORDERS_SIGN');{$endif}708 {$ifdef debug}ShowMsg('EListError in UBAGlobals.CompareOrderDx() - F_ORDERS_SIGN');{$endif} 707 709 raise; 708 710 end; … … 736 738 on EListError do 737 739 begin 738 {$ifdef debug}ShowM essage('EListError in UBAGlobals.CompareOrderDx() - F_REVIEW');{$endif}740 {$ifdef debug}ShowMsg('EListError in UBAGlobals.CompareOrderDx() - F_REVIEW');{$endif} 739 741 raise; 740 742 end; … … 858 860 on EListError do 859 861 begin 860 {$ifdef debug}ShowM essage('EListError in UBAGlobals.SetBADxListForOrder()');{$endif}862 {$ifdef debug}ShowMsg('EListError in UBAGlobals.SetBADxListForOrder()');{$endif} 861 863 raise; 862 864 end; … … 890 892 on EListError do 891 893 begin 892 {$ifdef debug}ShowM essage('EListError in UBAGlobals.SecondaryDxFull()');{$endif}894 {$ifdef debug}ShowMsg('EListError in UBAGlobals.SecondaryDxFull()');{$endif} 893 895 raise; 894 896 end; … … 923 925 on EListError do 924 926 begin 925 {$ifdef debug}ShowM essage('EListError in UBAGlobals.AddSecondaryDx()');{$endif}927 {$ifdef debug}ShowMsg('EListError in UBAGlobals.AddSecondaryDx()');{$endif} 926 928 raise; 927 929 end; … … 1068 1070 7: PtHNC := (AList[i] = '1'); 1069 1071 8: PtMST := (AList[i] = '1'); 1072 9: PtSHAD := (AList[i] = '1'); 1070 1073 end; 1071 1074 end; … … 1078 1081 procedure TBAPLPt.LoadPatientParams(AList:TstringList); 1079 1082 begin 1080 AList.Assign(rpcInitPt(Patient.DFN));1083 FastAssign(rpcInitPt(Patient.DFN), AList); 1081 1084 BAPLPt := TBAPLPt.create(Alist); 1082 1085 end; … … 1111 1114 on EListError do 1112 1115 begin 1113 {$ifdef debug}ShowM essage('EListError in UBAGlobals.tempDxNodeExists()');{$endif}1116 {$ifdef debug}ShowMsg('EListError in UBAGlobals.tempDxNodeExists()');{$endif} 1114 1117 raise; 1115 1118 end; … … 1159 1162 BANurseConsultOrders := TStringList.Create; 1160 1163 BADeltedOrders := TStringList.Create; 1161 // BAConsultOrdersRequireDx := TStringList.Create;1162 1164 BAConsultDxList.Clear; 1163 1165 NonBillableOrderList.Clear; … … 1175 1177 BANurseConsultOrders.Clear; 1176 1178 BADeltedOrders.Clear; 1177 //BAConsultOrdersRequireDx.Clear; 1178 1179 1179 1180 end. 1180 1181
Note:
See TracChangeset
for help on using the changeset viewer.