935. EPMO Open Source Coordination Office Redaction File Detail Report

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

935.1 Files compared

# Location File Last Modified
1 ehmp.zip\ehmp\ehmp\product\tests\acceptance-tests\features\steps\helper QueryRDK.rb Tue Jan 10 16:20:50 2017 UTC
2 ehmp.zip\ehmp\ehmp\product\tests\acceptance-tests\features\steps\helper QueryRDK.rb Mon Oct 2 20:08:44 2017 UTC

935.2 Comparison summary

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

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

935.4 Active regular expressions

No regular expressions were active.

935.5 Comparison detail

  1   path = Fil e.expand_p ath '..',  __FILE__
  2   $LOAD_PATH .unshift p ath unless  $LOAD_PAT H.include? (path)
  3   require 'D efaultHmpL ogin.rb'
  4   require 'B uildQuery. rb'
  5  
  6   class Quer yRDKAudit  < BuildQue ry
  7     def init ialize(sea rchterm, s earchvalue )
  8       super( )
  9       @path. concat(Def aultLogin. rdk_url)
  10       @path. concat("/a udit/searc h")
  11       add_pa rameter(se archterm,  searchvalu e)
  12     end
  13   end
  14  
  15   class Quer yRDKSync <  BuildQuer y
  16     def init ialize(com mand, pid  = nil)
  17       super( )
  18       @path. concat(Def aultLogin. rdk_url)
  19       @path. concat("/s ync/")
  20       @path. concat(com mand)
  21  
  22       add_pa rameter("p id", pid)  unless pid .nil?
  23     end
  24   end
  25  
  26   class Quer yRDKDomain  < BuildQu ery
  27     # http:/ /127.0.0.1 :8888/pati entrecord/ domain/all ergy?pid=1
  28     def init ialize(dat atype, pid  = nil)
  29       super( )
  30       @path. concat(Def aultLogin. rdk_url)
  31       @path. concat("/p atientreco rd/domain/ ")
  32       @path. concat(dat atype)
  33       @numbe r_paramete rs = 0
  34       add_pa rameter("p id", pid)  unless pid .nil?
  35     end
  36   end
  37  
  38   class Quer yRDK < Bui ldQuery
  39       # http:// IP                /patientre cord/labsb yorder?pid =11016&ord erUid=urn: va:order:9 E7A:227:16 682
  40     def init ialize(dat atype, pid , auto_ack nowledge =  "true")
  41       @path  = String.n ew(Default Login.rdk_ api_url)
  42       @path. concat("/p atientreco rd/labsbyo rder?pid=" )
  43       @path. concat(pid )
  44       @path. concat("&o rderUid=")
  45       @path. concat(dat atype)
  46       @numbe r_paramete rs = 0
  47       add_ac knowledge( auto_ackno wledge)
  48     end
  49     
  50     def add_ parameter( param, val ue)
  51       if @nu mber_param eters == 0
  52         @pat h.concat(" ?")
  53       else
  54         @pat h.concat(" &")
  55       end
  56       @numbe r_paramete rs = @numb er_paramet ers + 1
  57       @path. concat(par am)
  58       @path. concat("=" )
  59       @path. concat(val ue)
  60     end
  61  
  62     def add_ acknowledg e(ack)
  63       add_pa rameter("_ ack", ack)
  64     end
  65     
  66     def path
  67       return  @path
  68     end
  69   end # clas s
  70  
  71   #https:// IP        /fhir/pati ent/_searc h?name=EIG HT,PATIENT &_format=j son&_skip= 0&_count=2 0&_ack=tru e
  72   class Sear chRDK < Bu ildQuery
  73     
  74     def init ialize(res ultsRecord Type = nil )
  75       super( )
  76       @path. concat(Def aultLogin. rdk_url)
  77       @path. concat("/p atient-sea rch")
  78       @path. concat("/# {resultsRe cordType}" ) unless r esultsReco rdType.nil ?
  79       @numbe r_paramete rs = 0
  80     end
  81   end
  82  
  83   if __FILE_ _ == $PROG RAM_NAME
  84     q= Query RDKSync.ne w("one", " two")
  85     p q.path
  86  
  87     p QueryR DK.new("ui d", "3", " false").pa th
  88   end