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

936.1 Files compared

# Location File Last Modified
1 ehmp.zip\ehmp\ehmp\product\tests\acceptance-tests\features\steps client_requests_steps.rb Tue Dec 15 14:05:18 2015 UTC
2 ehmp.zip\ehmp\ehmp\product\tests\acceptance-tests\features\steps client_requests_steps.rb Mon Oct 2 20:08:32 2017 UTC

936.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 5 504
Changed 4 8
Inserted 0 0
Removed 0 0

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

936.4 Active regular expressions

No regular expressions were active.

936.5 Comparison detail

  1   path = Fil e.expand_p ath '..',  __FILE__
  2   $LOAD_PATH .unshift p ath unless  $LOAD_PAT H.include? (path)
  3   path = Fil e.expand_p ath '../.. /../../sha red-test-r uby', __FI LE__
  4   $LOAD_PATH .unshift p ath unless  $LOAD_PAT H.include? (path)
  5   require 'V erifyJsonR untimeValu e.rb'
  6  
  7   #--------- ---------- ---------- ---------- ---------- VPR
  8   When(/^the  client re quests lab s for the  patient "( .*?)" in V PR format$ /) do |pid |
  9     path = Q ueryVPR.ne w("lab", p id).path
  10     p path
  11     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(p ath)
  12   end
  13  
  14   When(/^the  client re quests ana tomic path ology for  the patien t "(.*?)"  in VPR for mat$/) do  |pid|
  15     path = Q ueryVPR.ne w("accessi on", pid). path
  16     p path
  17     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(p ath)
  18   end
  19  
  20   When(/^the  client re quests imm unization  for the pa tient "(.* ?)" in VPR  format$/)  do |pid|
  21     path = Q ueryVPR.ne w("immuniz ation", pi d).path
  22     p path
  23     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(p ath)
  24   end
  25  
  26   When(/^the  client re quests vit als for th e patient  "(.*?)" in  VPR forma t$/) do |p id|
  27     path = Q ueryVPR.ne w("vital",  pid).path
  28     p path
  29     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(p ath)
  30   end
  31  
  32   When(/^the  client re quests all ergies for  the patie nt "(.*?)"  in VPR fo rmat$/) do  |pid|
  33     path = Q ueryVPR.ne w("allergy ", pid).pa th
  34     p path
  35     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(p ath)
  36   end
  37  
  38   When(/^the  client re quests pro blem lists  for the p atient "(. *?)" in VP R format$/ ) do |pid|
  39     path = Q ueryVPR.ne w("problem ", pid).pa th
  40     p path
  41     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(p ath)
  42   end
  43  
  44   When(/^the  client re quests med ications f or the pat ient "(.*? )" in VPR  format$/)  do |pid|
  45     path = Q ueryVPR.ne w("med", p id).path
  46     p path
  47     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(p ath)
  48   end
  49  
  50   When(/^the  client re quests doc ument for  the patien t "(.*?)"  in VPR for mat$/) do  |pid|
  51     path = Q ueryVPR.ne w("documen t", pid).p ath
  52     p path
  53     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(p ath)
  54   end
  55  
  56   When(/^the  client re quests rad iology rep ort result s for the  patient "( .*?)" in V PR format$ /) do |pid |
  57     temp = Q ueryVPR.ne w("rad", p id)
  58     p temp.p ath
  59     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(t emp.path)
  60   end
  61  
  62   When(/^the  client re quests vis it for the  patient " (.*?)" in  VPR format $/) do |pi d|
  63     temp = Q ueryVPR.ne w("visit",  pid)
  64     p temp.p ath
  65     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(t emp.path)
  66   end
  67  
  68   When(/^the  client re quests app ointment f or the pat ient "(.*? )" in VPR  format$/)  do |pid|
  69     temp = Q ueryVPR.ne w("visit",  pid)
  70     p temp.p ath
  71     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(t emp.path)
  72   end
  73  
  74   #When(/^th e client r equests vl er documen t for the  patient "( .*?)" in V PR format$ /) do |pid |
  75     #temp =  QueryVPR.n ew("vlerdo cument", p id)
  76     #p temp. path
  77     #@respon se = HTTPa rtyWithBas icAuth.get _with_auth orization( temp.path)
  78   #end
  79  
  80   When(/^the  client re quests vle r document  for the p atient "(. *?)" in VP R format$/ ) do |pid|
  81     base_jds _url = Def aultLogin. jds_url
  82     path = " #{base_jds _url}/vpr/ #{pid}/fin d/vlerdocu ment"
  83     p path 
  84     #"{base_ jds_url}/v pr/pid/fin d/vlerdocu ment"
  85       # "http:// IP                /vpr/all/i ndex/pt-na me"
  86     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(p ath)
  87   end
  88  
  89   When(/^the  client re quests ord er results  for the p atient "(. *?)" in VP R format$/ ) do |pid|
  90     temp = Q ueryVPR.ne w("order",  pid)
  91     p temp.p ath
  92     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(t emp.path)
  93   end
  94  
  95   When(/^the  client re quests con sult resul ts for the  patient " (.*?)" in  VPR format $/) do |pi d|
  96     temp = Q ueryVPR.ne w("consult ", pid)
  97     p temp.p ath
  98     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(t emp.path)
  99   end
  100  
  101   When(/^the  client re quests app ointments  for the pa tient "(.* ?)" in VPR  format$/)  do |pid|
  102     temp = Q ueryVPR.ne w("appoint ment", pid )
  103     p temp.p ath
  104     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(t emp.path)
  105   end
  106  
  107   When(/^the  client re quests cpt  for the p atient "(. *?)" in VP R format$/ ) do |pid|
  108     temp = Q ueryVPR.ne w("cpt", p id)
  109     p temp.p ath
  110     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(t emp.path)
  111   end
  112  
  113   When(/^the  client re quests edu cations fo r the pati ent "(.*?) " in VPR f ormat$/) d o |pid|
  114     temp = Q ueryVPR.ne w("educati on", pid)
  115     p temp.p ath
  116     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(t emp.path)
  117   end
  118  
  119   When(/^the  client re quests exa ms for the  patient " (.*?)" in  VPR format $/) do |pi d|
  120     temp = Q ueryVPR.ne w("exam",  pid)
  121     p temp.p ath
  122     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(t emp.path)
  123   end
  124  
  125   When(/^the  client re quests fac tors for t he patient  "(.*?)" i n VPR form at$/) do | pid|
  126     temp = Q ueryVPR.ne w("factor" , pid)
  127     p temp.p ath
  128     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(t emp.path)
  129   end
  130  
  131   When(/^the  client re quests ima ges for th e patient  "(.*?)" in  VPR forma t$/) do |p id|
  132     temp = Q ueryVPR.ne w("image",  pid)
  133     p temp.p ath
  134     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(t emp.path)
  135   end
  136  
  137   When(/^the  client re quests men talhealth  for the pa tient "(.* ?)" in VPR  format$/)  do |pid|
  138     temp = Q ueryVPR.ne w("mh", pi d)
  139     p temp.p ath
  140     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(t emp.path)
  141   end
  142  
  143   When(/^the  client re quests poi ntofvisits  for the p atient "(. *?)" in VP R format$/ ) do |pid|
  144     temp = Q ueryVPR.ne w("pov", p id)
  145     p temp.p ath
  146     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(t emp.path)
  147   end
  148  
  149   When(/^the  client re quests pro cedure res ults for t he patient  "(.*?)" i n VPR form at$/) do | pid|
  150     temp = Q ueryVPR.ne w("procedu re", pid)
  151     p temp.p ath
  152     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(t emp.path)
  153   end
  154  
  155   When(/^the  client re quests ski n results  for the pa tient "(.* ?)" in VPR  format$/)  do |pid|
  156     temp = Q ueryVPR.ne w("skin",  pid)
  157     p temp.p ath
  158     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(t emp.path)
  159   end
  160  
  161   When(/^the  client re quests sur gery resul ts for the  patient " (.*?)" in  VPR format $/) do |pi d|
  162     temp = Q ueryVPR.ne w("surgery ", pid)
  163     p temp.p ath
  164     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(t emp.path)
  165   end
  166  
  167   When(/^the  client re quests vis it results  for the p atient "(. *?)" in VP R format$/ ) do |pid|
  168     temp = Q ueryVPR.ne w("visit",  pid)
  169     p temp.p ath
  170     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(t emp.path)
  171   end
  172   #--------- ---------- ---------- ---------- ---------- FHIR
  173   When(/^the  client re quests lab s for the  patient "( .*?)" in F HIR format $/) do |pi d|
  174     temp = Q ueryFhir.n ew("Diagno sticReport ")
  175     temp.add _parameter ("subject. identifier ", pid)
  176     temp.add _format("j son")
  177     temp.add _acknowled ge("true")
  178     p temp.p ath
  179     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(t emp.path)
  180   end
  181  
  182   When(/^the  client re quests out -patient m edication  results fo r the pati ent "(.*?) " in FHIR  format$/)  do |pid|
  183     temp = Q ueryFhir.n ew("Medica tionDispen se")
  184     temp.add _parameter ("subject. identifier ", pid)
  185     temp.add _format("j son")
  186     temp.add _acknowled ge("true")
  187     p temp.p ath
  188     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(t emp.path)
  189   end
  190  
  191   When(/^the  client re quests in- patient me dication r esults for  the patie nt "(.*?)"  in FHIR f ormat$/)   do |pid|  
  192     temp = Q ueryFhir.n ew("Medica tionAdmini stration")
  193     temp.add _parameter ("subject. identifier ", pid)
  194     temp.add _format("j son")
  195     temp.add _acknowled ge("true")
  196     p temp.p ath
  197     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(t emp.path)
  198   end
  199  
  200   When(/^the  client re quests non -va medica tion resul ts for the  patient " (.*?)" in  FHIR forma t$/) do |p id|  
  201     temp = Q ueryFhir.n ew("Medica tionStatem ent")
  202     temp.add _parameter ("subject. identifier ", pid)
  203     temp.add _format("j son")
  204     temp.add _acknowled ge("true")
  205     p temp.p ath
  206     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(t emp.path)   
  207   end
  208  
  209   When(/^the  client re quests rad iology rep ort result s for the  patient "( .*?)" in F HIR format $/) do |pi d|
  210     temp = Q ueryFhir.n ew("Diagno sticReport ")
  211     temp.add _parameter ("subject. identifier ", pid)
  212     temp.add _parameter ("domain",  "rad")
  213     temp.add _format("j son")
  214     temp.add _acknowled ge("true")
  215     p temp.p ath
  216     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(t emp.path)
  217   end
  218  
  219   #--------- ---------- ---------- ---------- ----------
  220   When(/^the  client re quests dat a from mul tiple Vist As$/) do
  221     base_jds _url = Def aultLogin. jds_url
  222     p path =  "#{base_j ds_url}/vp r/all/inde x/pt-name"
  223       # "http:// IP                /vpr/all/i ndex/pt-na me"
  224     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(p ath)
  225   end
  226  
  227   When(/^the  client re quests hdr \-mock dat a for the  domain "(. *?)" in HD R format$/ ) do |doma in|
  228     temp = Q ueryHDR.ne w("dummyCl ient", dom ain, "dumm yPatient")
  229     p temp.p ath
  230     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(t emp.path)
  231   end
  232  
  233   When(/^the  client re quests the  sync stat us for pat ient with  pid "(.*?) "/) do |pi d|
  234     base_fhi r_url = De faultLogin .fhir_url
  235     p path =  "#{base_f hir_url}/a dmin/sync/ #{pid}"
  236       # "https:/ / IP        /admin/syn c/10108"
  237     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(p ath)
  238   end
  239   When(/^the  client re quests pid  and dfn f or the pat ient "(.*? )" in VPR  format$/)  do |pid|
  240     temp = Q ueryVPR.ne w("lab", p id)
  241     p temp.p ath
  242     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(t emp.path)
  243   end
  244  
  245   When(/^the  client re quests pid  for the p atient "(. *?)" in VP R format$/ ) do |pid|
  246     temp = Q ueryVPR.ne w("vital",  pid)
  247     p temp.p ath
  248     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(t emp.path)
  249   end
  250  
  251   When(/^the  client re quests dem ographics  from the m ultiple sy stem for t he patient  "(.*?)" i n VPR form at$/) do | pid|
  252     base_jds _url = Def aultLogin. jds_url
  253     p path =  "#{base_j ds_url}/vp r/mpid/#{p id}"
  254       # http:// IP                /vpr/mpid/ 9E7A;10060 3
  255     @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(p ath)
  256   end