13. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 7/13/2017 1:08:06 PM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

13.1 Files compared

# Location File Last Modified
1 v31B.zip\v31B\377\OR_30_377V235_SRC\Cover Sheet mCoverSheetDisplayPanel_CPRS_ActiveMeds.pas Wed May 17 14:56:10 2017 UTC
2 v31B.zip\v31B\377\OR_30_377V235_SRC\Cover Sheet mCoverSheetDisplayPanel_CPRS_ActiveMeds.pas Thu Jul 13 14:44:34 2017 UTC

13.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 224
Changed 1 2
Inserted 0 0
Removed 0 0

13.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

13.4 Active regular expressions

No regular expressions were active.

13.5 Comparison detail

  1   unit mCove rSheetDisp layPanel_C PRS_Active Meds;
  2   {
  3     ======== ========== ========== ========== ========== ========== ========== ========== ==
  4     *
  5     *        Applicatio n:  CPRS
  6              Developer:       PII                   
  7     *        Site:          Salt L ake City I SC
  8     *        Date:          2015-1 2-04
  9     *
  10     *        Descriptio n:  Inheri ted frame  for custom  handling  of the Act ive Meds.
  11     *
  12     *        Notes:
  13     *
  14     ======== ========== ========== ========== ========== ========== ========== ========== ==
  15   }
  16  
  17   interface
  18  
  19   uses
  20     Winapi.W indows,
  21     Winapi.M essages,
  22     System.S ysUtils,
  23     System.V ariants,
  24     System.C lasses,
  25     System.I mageList,
  26     Vcl.Grap hics,
  27     Vcl.Cont rols,
  28     Vcl.Form s,
  29     Vcl.Dial ogs,
  30     Vcl.ExtC trls,
  31     Vcl.Menu s,
  32     Vcl.ImgL ist,
  33     Vcl.ComC trls,
  34     Vcl.StdC trls,
  35     Vcl.Butt ons,
  36     mCoverSh eetDisplay Panel_CPRS ,
  37     oDelimit edString,
  38     iCoverSh eetIntf;
  39  
  40   type
  41     TfraCove rSheetDisp layPanel_C PRS_Active Meds = cla ss(TfraCov erSheetDis playPanel_ CPRS)
  42     private
  43       { Priv ate declar ations }
  44     protecte d
  45       { Over ridden eve nts - Tfra CoverSheet DisplayPan el_CPRS }
  46       proced ure OnAddI tems(aList : TStrings ); overrid e;
  47       proced ure OnGetD etail(aRec : TDelimit edString;  aResult: T Strings);  override;
  48     public
  49       constr uctor Crea te(aOwner:  TComponen t); overri de;
  50       { Publ ic declara tions }
  51     end;
  52  
  53   var
  54     fraCover SheetDispl ayPanel_CP RS_ActiveM eds: TfraC overSheetD isplayPane l_CPRS_Act iveMeds;
  55  
  56   implementa tion
  57  
  58   uses
  59     uCore,
  60     ORFn,
  61     ORNet;
  62  
  63   {$R *.dfm}
  64  
  65   { TfraCove rSheetDisp layPanel_C PRS_Active Meds }
  66  
  67   constructo r TfraCove rSheetDisp layPanel_C PRS_Active Meds.Creat e(aOwner:  TComponent );
  68   begin
  69     inherite d;
  70     AddColum n(0, 'Medi cation');
  71     AddColum n(1, 'Stat us');
  72     Collapse Columns;
  73   end;
  74  
  75   procedure  TfraCoverS heetDispla yPanel_CPR S_ActiveMe ds.OnAddIt ems(aList:  TStrings) ;
  76   var
  77     aRec: TD elimitedSt ring;
  78     aStr: st ring;
  79   begin
  80     try
  81       lvData .Items.Beg inUpdate;
  82  
  83       if aLi st.Count <  1 then
  84         aLis t.Add('^No  Medicatio ns Found.' );
  85  
  86       for aS tr in aLis t do
  87         begi n
  88           aR ec := TDel imitedStri ng.Create( aStr);
  89  
  90           if  lvData.It ems.Count  = 0 then
  91              if aRec.Ge tPieceIsNu ll(1) and  (aList.Cou nt = 1) th en
  92                Collapse Columns
  93              else
  94                ExpandCo lumns;
  95  
  96           wi th lvData. Items.Add  do
  97              begin
  98                Caption  := MixedCa se(aRec.Ge tPiece(2)) ;
  99                SubItems .Add(Mixed Case(aRec. GetPiece(4 )));
  100                Data :=  aRec;
  101              end;
  102         end;
  103     finally
  104       lvData .Items.End Update;
  105     end;
  106   end;
  107  
  108   procedure  TfraCoverS heetDispla yPanel_CPR S_ActiveMe ds.OnGetDe tail(aRec:  TDelimite dString; a Result: TS trings);
  109   begin
  110     CallVist A(CPRSPara ms.DetailR PC, [Patie nt.DFN, aR ec.GetPiec e(1)], aRe sult);
  111   end;
  112  
  113   end.