904. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 10/3/2017 11:16:04 AM 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.

904.1 Files compared

# Location File Last Modified
1 ehmp.zip\ehmp\ehmp\product\production\vx-sync\tests\unittests\utils\patient-record-retirement\retirementruleengine rules-engine-spec.js Mon Jul 10 17:46:22 2017 UTC
2 ehmp.zip\ehmp\ehmp\product\production\vx-sync\tests\unittests\utils\patient-record-retirement\retirementruleengine rules-engine-spec.js Tue Oct 3 13:24:07 2017 UTC

904.2 Comparison summary

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

904.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

904.4 Active regular expressions

No regular expressions were active.

904.5 Comparison detail

  1   'use stric t';
  2   require('. ./../../.. /../env-se tup');
  3   var Retire mentRulesE ngine = re quire(glob al.VX_RETI REMENTRULE S + '/rule s-engine') ;
  4  
  5   var _ = re quire('und erscore');
  6   var log =  {
  7       debug:  function( ) {},
  8       warn:  function()  {},
  9       trace:  function( ) {},
  10       info:  function()  {}
  11   };
  12   var config  = {
  13       'recor dRetiremen t': {
  14           'r ules': {
  15                'largePa tientRecor d': {
  16                    'lar gePatientL astAccesse d': 10,
  17                    'pat ientDocume ntSizeLimi t': 0,
  18                    'avg SizePerEve nt': 100
  19                }
  20           }
  21       },
  22       'syncR equestApi' : {
  23           'p rotocol':  'http',
  24             'host': ' IP        ',
  25             'port': ' PORT ',
  26           't imeout': 3 00000
  27       },
  28       'vista Sites': {
  29           'C 877': {
  30                'name':  'KODAK'
  31           },
  32           '9 E7A': {
  33                'name':  'PANORAMA'
  34           }
  35       }
  36   };
  37   var enviro nment = {
  38       metric s: log
  39   };
  40   var inpati ent = requ ire(global .VX_RETIRE MENTRULES  + '/inpati ent-rule') ;
  41  
  42   describe(' rules-engi ne.js', fu nction() {
  43       var en gine = new  Retiremen tRulesEngi ne(log, co nfig, envi ronment);
  44       var pa tientIds =  [{
  45           va lue: '9E7A ;3',
  46           ty pe: 'PID'
  47       }, {
  48           va lue: '3023 94234V3234 25',
  49           ty pe: 'ICN'
  50       }, {
  51           va lue: 'DOD; 0000000003 ',
  52           ty pe: 'PID'
  53       }];
  54       it('in patient',  function()  {
  55           en gine.rules  = [inpati ent];
  56           en gine.proce ssRetireme ntRules(pa tientIds,  function(e rr, result ) {
  57                expect(r esult).toB e(patientI ds);
  58           }) ;
  59       });
  60   });