3. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 3/30/2017 4:58:33 AM Eastern 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.

3.1 Files compared

# Location File Last Modified
1 VistA_Evo_Surgery_1.0.zip\surgery_gui\src\js api.js Thu Mar 30 08:08:43 2017 UTC
2 VistA_Evo_Surgery_1.0.zip\surgery_gui\src\js api.js Thu Mar 30 08:38:16 2017 UTC

3.2 Comparison summary

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

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

3.4 Active regular expressions

No regular expressions were active.

3.5 Comparison detail

  1   "use stric t";
  2   const conf ig = requi re("./env. json");
  3  
  4   let API_Ba se = confi g.NODE_API _EXTERNAL;
  5   console.lo g("ENV - " , config.N ODE_ENV);
  6   if ("devel op" == con fig.NODE_E NV) {
  7           AP I_Base = c onfig.NODE _API_INTER NAL;
  8   }
  9   console.lo g("API_Bas e - ", API _Base);
  10  
  11   /**
  12    * Here's  where any  constants  for the AP I and non  API URL's  should be  going
  13    **/
  14  
  15  
  16   const Gene ricHelpURL  = "http:/ / URL                      /pm/iehr/v ista_evolu tion/eHMP/ Help_Wiki/ Wiki%20Pag e%20Librar y/Accessin g%20the%20 eHMP%20App lication.a spx";
  17   const APIR outes = {
  18  
  19     // Base
  20           "A PI_Base":  API_Base,
  21  
  22     // API c alls below  here DO N OT requre  access tok en
  23           "A uthenticat e": "authe nticate",
  24           "F acilities" : "facilit ies",
  25  
  26     // API c alls below  here requ ire access  token
  27           "F acilitiesD etails":      "v1/fac ilities",
  28  
  29           "P atientAll" : "v1/pati ent/all",
  30           "P atientLast Five": "v1 /patient/f ive/",
  31           "P atientId":  "v1/patie nt/",
  32           "P atientSSN" : "v1/pati ent/ssn/",
  33           "P atientSurg eryDetails ": "/v1/su rgery/",
  34  
  35           "C ase":             "v1 /case",
  36           "C asesPlaceh older": "v 1/cases/pl aceholder" ,
  37           "C aseByID":          "v 1/cases/"
  38  
  39   };
  40  
  41  
  42   const getU RL = funct ion(apiNam e, p1) {
  43           co nst url =  APIRoutes. API_Base +  APIRoutes [apiName]  + (p1 ? `/ ${p1}` : " ");
  44           re turn url;
  45   };
  46  
  47   module.exp orts = {
  48           ge tURL: getU RL,
  49           Ge nericHelpU RL: Generi cHelpURL
  50   };