Changeset 829 for cprs/trunk/CPRS-Chart/Orders/rODAllergy.pas
- Timestamp:
- Jul 7, 2010, 4:31:10 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cprs/trunk/CPRS-Chart/Orders/rODAllergy.pas
r456 r829 5 5 interface 6 6 7 uses SysUtils, Classes, ORNet, ORFn, rCore, uCore, TRPCB, dialogs, rMisc ;7 uses SysUtils, Classes, ORNet, ORFn, rCore, uCore, TRPCB, dialogs, rMisc,fNotes ; 8 8 9 9 type … … 71 71 function EnableErrorComments: boolean; 72 72 function IsARTClinicalUser(var AMessage: string): boolean; 73 function GetAllergyTitleText: string; 73 74 74 75 implementation … … 169 170 i: integer; 170 171 begin 172 171 173 with RPCBrokerV, EditRec do 172 174 begin … … 215 217 Mult['"GMRAERRCMTS",' + IntToStr(i+1)] := Strings[i]; 216 218 end; 219 217 220 end ; 218 221 with ChartMarked do if Count > 0 then … … 241 244 end; 242 245 end; 243 CallBroker; 244 Result := Results[0]; 245 end; 246 CallBroker; 247 Result := Results[0]; 248 // Include "Allergy Entered in Error" items require signature list. 249 //cq-8002 -piece 2 is Allergy Entered in Error (IEN) 250 // code added allowing v27 GUI changes to continue if M change is not released prior. 251 //cq-14842 - add observed/drug allergies to the fReview/fSignOrders forms for signature. 252 if Length(Piece(Result,'^',2))> 0 then 253 Changes.Add(10, Piece(Result,'^',2), GetAllergyTitleText, '', 1) 254 else 255 exit; 256 end; 246 257 end; 247 258 … … 363 374 end; 364 375 376 function GetAllergyTitleText: string; 377 begin 378 Result := FormatFMDateTime('mmm dd,yy', MakeFMDateTime(floatToStr(FMToday))) + 379 ' ' + 'Adverse React/Allergy' + ', ' + Encounter.LocationName + ', ' + User.Name; 380 end; 381 365 382 end.
Note:
See TracChangeset
for help on using the changeset viewer.