47. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 1/19/2019 1:19:24 PM Eastern Standard 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.

47.1 Files compared

# Location File Last Modified
1 VIRP_Build_6_Dec_2018_CG.zip\Registries VIRP Web Site\Web References\ViaServices Reference.cs Thu Jan 17 17:40:10 2019 UTC
2 VIRP_Build_6_Dec_2018_CG.zip\Registries VIRP Web Site\Web References\ViaServices Reference.cs Sat Jan 19 17:41:48 2019 UTC

47.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 11 1654
Changed 10 20
Inserted 0 0
Removed 0 0

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

47.4 Active regular expressions

No regular expressions were active.

47.5 Comparison detail

  1   //-------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
  2   // <auto-g enerated>
  3   //     Thi s code was  generated  by a tool .
  4   //     Run time Versi on:4.0.303 19.42000
  5   //
  6   //     Cha nges to th is file ma y cause in correct be havior and  will be l ost if
  7   //     the  code is r egenerated .
  8   // </auto- generated>
  9   //-------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
  10  
  11   // 
  12   // This so urce code  was auto-g enerated b y Microsof t.VSDesign er, Versio n 4.0.3031 9.42000.
  13   // 
  14   #pragma wa rning disa ble 1591
  15  
  16   namespace  VIRP_WEB.V iaServices  {
  17       using  System;
  18       using  System.Web .Services;
  19       using  System.Dia gnostics;
  20       using  System.Web .Services. Protocols;
  21       using  System.Xml .Serializa tion;
  22       using  System.Com ponentMode l;
  23       
  24       
  25       /// <r emarks/>
  26       [Syste m.CodeDom. Compiler.G eneratedCo deAttribut e("System. Web.Servic es", "4.7. 2558.0")]
  27       [Syste m.Diagnost ics.Debugg erStepThro ughAttribu te()]
  28       [Syste m.Componen tModel.Des ignerCateg oryAttribu te("code") ]
  29         [System.We b.Services .WebServic eBindingAt tribute(Na me="ViaSer vicesSoap" , Namespac e="http:// DNS ")]
  30       public  partial c lass ViaSe rvices : S ystem.Web. Services.P rotocols.S oapHttpCli entProtoco l {
  31           
  32           pr ivate Syst em.Threadi ng.SendOrP ostCallbac k CPRSLaun chOperatio nCompleted ;
  33           
  34           pr ivate Syst em.Threadi ng.SendOrP ostCallbac k GetNoteT itlesOpera tionComple ted;
  35           
  36           pr ivate Syst em.Threadi ng.SendOrP ostCallbac k GetLocat ionsOperat ionComplet ed;
  37           
  38           pr ivate Syst em.Threadi ng.SendOrP ostCallbac k GetConsu ltsOperati onComplete d;
  39           
  40           pr ivate Syst em.Threadi ng.SendOrP ostCallbac k GetHospi talAdmissi onsOperati onComplete d;
  41           
  42           pr ivate Syst em.Threadi ng.SendOrP ostCallbac k GetVisit sOperation Completed;
  43           
  44           pr ivate Syst em.Threadi ng.SendOrP ostCallbac k WriteNot eOperation Completed;
  45           
  46           pr ivate bool  useDefaul tCredentia lsSetExpli citly;
  47           
  48           // / <remarks />
  49           pu blic ViaSe rvices() {
  50                this.Url  = global: :VIRP_WEB. Properties .Settings. Default.VI RP_WEB_Via Services_V iaServices ;
  51                if ((thi s.IsLocalF ileSystemW ebService( this.Url)  == true))  {
  52                    this .UseDefaul tCredentia ls = true;
  53                    this .useDefaul tCredentia lsSetExpli citly = fa lse;
  54                }
  55                else {
  56                    this .useDefaul tCredentia lsSetExpli citly = tr ue;
  57                }
  58           }
  59           
  60           pu blic new s tring Url  {
  61                get {
  62                    retu rn base.Ur l;
  63                }
  64                set {
  65                    if ( (((this.Is LocalFileS ystemWebSe rvice(base .Url) == t rue) 
  66                                 &&  (this.use DefaultCre dentialsSe tExplicitl y == false )) 
  67                                 &&  (this.IsL ocalFileSy stemWebSer vice(value ) == false ))) {
  68                         base.UseDe faultCrede ntials = f alse;
  69                    }
  70                    base .Url = val ue;
  71                }
  72           }
  73           
  74           pu blic new b ool UseDef aultCreden tials {
  75                get {
  76                    retu rn base.Us eDefaultCr edentials;
  77                }
  78                set {
  79                    base .UseDefaul tCredentia ls = value ;
  80                    this .useDefaul tCredentia lsSetExpli citly = tr ue;
  81                }
  82           }
  83           
  84           // / <remarks />
  85           pu blic event  CPRSLaunc hCompleted EventHandl er CPRSLau nchComplet ed;
  86           
  87           // / <remarks />
  88           pu blic event  GetNoteTi tlesComple tedEventHa ndler GetN oteTitlesC ompleted;
  89           
  90           // / <remarks />
  91           pu blic event  GetLocati onsComplet edEventHan dler GetLo cationsCom pleted;
  92           
  93           // / <remarks />
  94           pu blic event  GetConsul tsComplete dEventHand ler GetCon sultsCompl eted;
  95           
  96           // / <remarks />
  97           pu blic event  GetHospit alAdmissio nsComplete dEventHand ler GetHos pitalAdmis sionsCompl eted;
  98           
  99           // / <remarks />
  100           pu blic event  GetVisits CompletedE ventHandle r GetVisit sCompleted ;
  101           
  102           // / <remarks />
  103           pu blic event  WriteNote CompletedE ventHandle r WriteNot eCompleted ;
  104           
  105           // / <remarks />
  106             [System.We b.Services .Protocols .SoapDocum entMethodA ttribute(" http:// DNS /CPRSLaunc h", Reques tNamespace ="http:// DNS ", Respons eNamespace ="http:// DNS ", Use=Sys tem.Web.Se rvices.Des cription.S oapBinding Use.Litera l, Paramet erStyle=Sy stem.Web.S ervices.Pr otocols.So apParamete rStyle.Wra pped)]
  107           pu blic ViaPe rson CPRSL aunch(stri ng CURRENT _USER, str ing duz, s tring dfn,  string lo ginSiteCod e) {
  108                object[]  results =  this.Invo ke("CPRSLa unch", new  object[]  {
  109                             CURREN T_USER,
  110                             duz,
  111                             dfn,
  112                             loginS iteCode});
  113                return ( (ViaPerson )(results[ 0]));
  114           }
  115           
  116           // / <remarks />
  117           pu blic void  CPRSLaunch Async(stri ng CURRENT _USER, str ing duz, s tring dfn,  string lo ginSiteCod e) {
  118                this.CPR SLaunchAsy nc(CURRENT _USER, duz , dfn, log inSiteCode , null);
  119           }
  120           
  121           // / <remarks />
  122           pu blic void  CPRSLaunch Async(stri ng CURRENT _USER, str ing duz, s tring dfn,  string lo ginSiteCod e, object  userState)  {
  123                if ((thi s.CPRSLaun chOperatio nCompleted  == null))  {
  124                    this .CPRSLaunc hOperation Completed  = new Syst em.Threadi ng.SendOrP ostCallbac k(this.OnC PRSLaunchO perationCo mpleted);
  125                }
  126                this.Inv okeAsync(" CPRSLaunch ", new obj ect[] {
  127                             CURREN T_USER,
  128                             duz,
  129                             dfn,
  130                             loginS iteCode},  this.CPRSL aunchOpera tionComple ted, userS tate);
  131           }
  132           
  133           pr ivate void  OnCPRSLau nchOperati onComplete d(object a rg) {
  134                if ((thi s.CPRSLaun chComplete d != null) ) {
  135                    Syst em.Web.Ser vices.Prot ocols.Invo keComplete dEventArgs  invokeArg s = ((Syst em.Web.Ser vices.Prot ocols.Invo keComplete dEventArgs )(arg));
  136                    this .CPRSLaunc hCompleted (this, new  CPRSLaunc hCompleted EventArgs( invokeArgs .Results,  invokeArgs .Error, in vokeArgs.C ancelled,  invokeArgs .UserState ));
  137                }
  138           }
  139           
  140           // / <remarks />
  141             [System.We b.Services .Protocols .SoapDocum entMethodA ttribute(" http:// DNS /GetNoteTi tles", Req uestNamesp ace="http: // DNS ", Respons eNamespace ="http:// DNS ", Use=Sys tem.Web.Se rvices.Des cription.S oapBinding Use.Litera l, Paramet erStyle=Sy stem.Web.S ervices.Pr otocols.So apParamete rStyle.Wra pped)]
  142           pu blic Strin gKeyValueP air[] GetN oteTitles( string CUR RENT_USER,  string ta rget, stri ng directi on, string  loginSite Code, stri ng dfn, st ring duz,  string pro viderName,  out strin g error) {
  143                object[]  results =  this.Invo ke("GetNot eTitles",  new object [] {
  144                             CURREN T_USER,
  145                             target ,
  146                             direct ion,
  147                             loginS iteCode,
  148                             dfn,
  149                             duz,
  150                             provid erName});
  151                error =  ((string)( results[1] ));
  152                return ( (StringKey ValuePair[ ])(results [0]));
  153           }
  154           
  155           // / <remarks />
  156           pu blic void  GetNoteTit lesAsync(s tring CURR ENT_USER,  string tar get, strin g directio n, string  loginSiteC ode, strin g dfn, str ing duz, s tring prov iderName)  {
  157                this.Get NoteTitles Async(CURR ENT_USER,  target, di rection, l oginSiteCo de, dfn, d uz, provid erName, nu ll);
  158           }
  159           
  160           // / <remarks />
  161           pu blic void  GetNoteTit lesAsync(s tring CURR ENT_USER,  string tar get, strin g directio n, string  loginSiteC ode, strin g dfn, str ing duz, s tring prov iderName,  object use rState) {
  162                if ((thi s.GetNoteT itlesOpera tionComple ted == nul l)) {
  163                    this .GetNoteTi tlesOperat ionComplet ed = new S ystem.Thre ading.Send OrPostCall back(this. OnGetNoteT itlesOpera tionComple ted);
  164                }
  165                this.Inv okeAsync(" GetNoteTit les", new  object[] {
  166                             CURREN T_USER,
  167                             target ,
  168                             direct ion,
  169                             loginS iteCode,
  170                             dfn,
  171                             duz,
  172                             provid erName}, t his.GetNot eTitlesOpe rationComp leted, use rState);
  173           }
  174           
  175           pr ivate void  OnGetNote TitlesOper ationCompl eted(objec t arg) {
  176                if ((thi s.GetNoteT itlesCompl eted != nu ll)) {
  177                    Syst em.Web.Ser vices.Prot ocols.Invo keComplete dEventArgs  invokeArg s = ((Syst em.Web.Ser vices.Prot ocols.Invo keComplete dEventArgs )(arg));
  178                    this .GetNoteTi tlesComple ted(this,  new GetNot eTitlesCom pletedEven tArgs(invo keArgs.Res ults, invo keArgs.Err or, invoke Args.Cance lled, invo keArgs.Use rState));
  179                }
  180           }
  181           
  182           // / <remarks />
  183             [System.We b.Services .Protocols .SoapDocum entMethodA ttribute(" http:// DNS /GetLocati ons", Requ estNamespa ce="http:/ / DNS ", Respons eNamespace ="http:// DNS ", Use=Sys tem.Web.Se rvices.Des cription.S oapBinding Use.Litera l, Paramet erStyle=Sy stem.Web.S ervices.Pr otocols.So apParamete rStyle.Wra pped)]
  184           pu blic Strin gKeyValueP air[] GetL ocations(s tring CURR ENT_USER,  string sea rchParamet er, string  direction , string l oginSiteCo de, string  dfn, stri ng provide rName, str ing duz, o ut string  error) {
  185                object[]  results =  this.Invo ke("GetLoc ations", n ew object[ ] {
  186                             CURREN T_USER,
  187                             search Parameter,
  188                             direct ion,
  189                             loginS iteCode,
  190                             dfn,
  191                             provid erName,
  192                             duz});
  193                error =  ((string)( results[1] ));
  194                return ( (StringKey ValuePair[ ])(results [0]));
  195           }
  196           
  197           // / <remarks />
  198           pu blic void  GetLocatio nsAsync(st ring CURRE NT_USER, s tring sear chParamete r, string  direction,  string lo ginSiteCod e, string  dfn, strin g provider Name, stri ng duz) {
  199                this.Get LocationsA sync(CURRE NT_USER, s earchParam eter, dire ction, log inSiteCode , dfn, pro viderName,  duz, null );
  200           }
  201           
  202           // / <remarks />
  203           pu blic void  GetLocatio nsAsync(st ring CURRE NT_USER, s tring sear chParamete r, string  direction,  string lo ginSiteCod e, string  dfn, strin g provider Name, stri ng duz, ob ject userS tate) {
  204                if ((thi s.GetLocat ionsOperat ionComplet ed == null )) {
  205                    this .GetLocati onsOperati onComplete d = new Sy stem.Threa ding.SendO rPostCallb ack(this.O nGetLocati onsOperati onComplete d);
  206                }
  207                this.Inv okeAsync(" GetLocatio ns", new o bject[] {
  208                             CURREN T_USER,
  209                             search Parameter,
  210                             direct ion,
  211                             loginS iteCode,
  212                             dfn,
  213                             provid erName,
  214                             duz},  this.GetLo cationsOpe rationComp leted, use rState);
  215           }
  216           
  217           pr ivate void  OnGetLoca tionsOpera tionComple ted(object  arg) {
  218                if ((thi s.GetLocat ionsComple ted != nul l)) {
  219                    Syst em.Web.Ser vices.Prot ocols.Invo keComplete dEventArgs  invokeArg s = ((Syst em.Web.Ser vices.Prot ocols.Invo keComplete dEventArgs )(arg));
  220                    this .GetLocati onsComplet ed(this, n ew GetLoca tionsCompl etedEventA rgs(invoke Args.Resul ts, invoke Args.Error , invokeAr gs.Cancell ed, invoke Args.UserS tate));
  221                }
  222           }
  223           
  224           // / <remarks />
  225             [System.We b.Services .Protocols .SoapDocum entMethodA ttribute(" http:// DNS /GetConsul ts", Reque stNamespac e="http:// DNS ", Respons eNamespace ="http:// DNS ", Use=Sys tem.Web.Se rvices.Des cription.S oapBinding Use.Litera l, Paramet erStyle=Sy stem.Web.S ervices.Pr otocols.So apParamete rStyle.Wra pped)]
  226           pu blic Strin gKeyValueP air[] GetC onsults(st ring CURRE NT_USER, s tring logi nSiteCode,  string df n, string  providerNa me, string  duz, out  string err or) {
  227                object[]  results =  this.Invo ke("GetCon sults", ne w object[]  {
  228                             CURREN T_USER,
  229                             loginS iteCode,
  230                             dfn,
  231                             provid erName,
  232                             duz});
  233                error =  ((string)( results[1] ));
  234                return ( (StringKey ValuePair[ ])(results [0]));
  235           }
  236           
  237           // / <remarks />
  238           pu blic void  GetConsult sAsync(str ing CURREN T_USER, st ring login SiteCode,  string dfn , string p roviderNam e, string  duz) {
  239                this.Get ConsultsAs ync(CURREN T_USER, lo ginSiteCod e, dfn, pr oviderName , duz, nul l);
  240           }
  241           
  242           // / <remarks />
  243           pu blic void  GetConsult sAsync(str ing CURREN T_USER, st ring login SiteCode,  string dfn , string p roviderNam e, string  duz, objec t userStat e) {
  244                if ((thi s.GetConsu ltsOperati onComplete d == null) ) {
  245                    this .GetConsul tsOperatio nCompleted  = new Sys tem.Thread ing.SendOr PostCallba ck(this.On GetConsult sOperation Completed) ;
  246                }
  247                this.Inv okeAsync(" GetConsult s", new ob ject[] {
  248                             CURREN T_USER,
  249                             loginS iteCode,
  250                             dfn,
  251                             provid erName,
  252                             duz},  this.GetCo nsultsOper ationCompl eted, user State);
  253           }
  254           
  255           pr ivate void  OnGetCons ultsOperat ionComplet ed(object  arg) {
  256                if ((thi s.GetConsu ltsComplet ed != null )) {
  257                    Syst em.Web.Ser vices.Prot ocols.Invo keComplete dEventArgs  invokeArg s = ((Syst em.Web.Ser vices.Prot ocols.Invo keComplete dEventArgs )(arg));
  258                    this .GetConsul tsComplete d(this, ne w GetConsu ltsComplet edEventArg s(invokeAr gs.Results , invokeAr gs.Error,  invokeArgs .Cancelled , invokeAr gs.UserSta te));
  259                }
  260           }
  261           
  262           // / <remarks />
  263             [System.We b.Services .Protocols .SoapDocum entMethodA ttribute(" http:// DNS /GetHospit alAdmissio ns", Reque stNamespac e="http:// DNS ", Respons eNamespace ="http:// DNS ", Use=Sys tem.Web.Se rvices.Des cription.S oapBinding Use.Litera l, Paramet erStyle=Sy stem.Web.S ervices.Pr otocols.So apParamete rStyle.Wra pped)]
  264           pu blic Strin gKeyValueP air[] GetH ospitalAdm issions(st ring CURRE NT_USER, s tring logi nSiteCode,  string df n, string  providerNa me, string  duz, stri ng patient Icn, out s tring erro r) {
  265                object[]  results =  this.Invo ke("GetHos pitalAdmis sions", ne w object[]  {
  266                             CURREN T_USER,
  267                             loginS iteCode,
  268                             dfn,
  269                             provid erName,
  270                             duz,
  271                             patien tIcn});
  272                error =  ((string)( results[1] ));
  273                return ( (StringKey ValuePair[ ])(results [0]));
  274           }
  275           
  276           // / <remarks />
  277           pu blic void  GetHospita lAdmission sAsync(str ing CURREN T_USER, st ring login SiteCode,  string dfn , string p roviderNam e, string  duz, strin g patientI cn) {
  278                this.Get HospitalAd missionsAs ync(CURREN T_USER, lo ginSiteCod e, dfn, pr oviderName , duz, pat ientIcn, n ull);
  279           }
  280           
  281           // / <remarks />
  282           pu blic void  GetHospita lAdmission sAsync(str ing CURREN T_USER, st ring login SiteCode,  string dfn , string p roviderNam e, string  duz, strin g patientI cn, object  userState ) {
  283                if ((thi s.GetHospi talAdmissi onsOperati onComplete d == null) ) {
  284                    this .GetHospit alAdmissio nsOperatio nCompleted  = new Sys tem.Thread ing.SendOr PostCallba ck(this.On GetHospita lAdmission sOperation Completed) ;
  285                }
  286                this.Inv okeAsync(" GetHospita lAdmission s", new ob ject[] {
  287                             CURREN T_USER,
  288                             loginS iteCode,
  289                             dfn,
  290                             provid erName,
  291                             duz,
  292                             patien tIcn}, thi s.GetHospi talAdmissi onsOperati onComplete d, userSta te);
  293           }
  294           
  295           pr ivate void  OnGetHosp italAdmiss ionsOperat ionComplet ed(object  arg) {
  296                if ((thi s.GetHospi talAdmissi onsComplet ed != null )) {
  297                    Syst em.Web.Ser vices.Prot ocols.Invo keComplete dEventArgs  invokeArg s = ((Syst em.Web.Ser vices.Prot ocols.Invo keComplete dEventArgs )(arg));
  298                    this .GetHospit alAdmissio nsComplete d(this, ne w GetHospi talAdmissi onsComplet edEventArg s(invokeAr gs.Results , invokeAr gs.Error,  invokeArgs .Cancelled , invokeAr gs.UserSta te));
  299                }
  300           }
  301           
  302           // / <remarks />
  303             [System.We b.Services .Protocols .SoapDocum entMethodA ttribute(" http:// DNS /GetVisits ", Request Namespace= "http:// DNS ", Respons eNamespace ="http:// DNS ", Use=Sys tem.Web.Se rvices.Des cription.S oapBinding Use.Litera l, Paramet erStyle=Sy stem.Web.S ervices.Pr otocols.So apParamete rStyle.Wra pped)]
  304           pu blic Strin gKeyValueP air[] GetV isits(stri ng CURRENT _USER, Sys tem.DateTi me fromDat e, System. DateTime t oDate, str ing loginS iteCode, s tring dfn,  string pr oviderName , string d uz, string  patientIc n, out str ing error)  {
  305                object[]  results =  this.Invo ke("GetVis its", new  object[] {
  306                             CURREN T_USER,
  307                             fromDa te,
  308                             toDate ,
  309                             loginS iteCode,
  310                             dfn,
  311                             provid erName,
  312                             duz,
  313                             patien tIcn});
  314                error =  ((string)( results[1] ));
  315                return ( (StringKey ValuePair[ ])(results [0]));
  316           }
  317           
  318           // / <remarks />
  319           pu blic void  GetVisitsA sync(strin g CURRENT_ USER, Syst em.DateTim e fromDate , System.D ateTime to Date, stri ng loginSi teCode, st ring dfn,  string pro viderName,  string du z, string  patientIcn ) {
  320                this.Get VisitsAsyn c(CURRENT_ USER, from Date, toDa te, loginS iteCode, d fn, provid erName, du z, patient Icn, null) ;
  321           }
  322           
  323           // / <remarks />
  324           pu blic void  GetVisitsA sync(strin g CURRENT_ USER, Syst em.DateTim e fromDate , System.D ateTime to Date, stri ng loginSi teCode, st ring dfn,  string pro viderName,  string du z, string  patientIcn , object u serState)  {
  325                if ((thi s.GetVisit sOperation Completed  == null))  {
  326                    this .GetVisits OperationC ompleted =  new Syste m.Threadin g.SendOrPo stCallback (this.OnGe tVisitsOpe rationComp leted);
  327                }
  328                this.Inv okeAsync(" GetVisits" , new obje ct[] {
  329                             CURREN T_USER,
  330                             fromDa te,
  331                             toDate ,
  332                             loginS iteCode,
  333                             dfn,
  334                             provid erName,
  335                             duz,
  336                             patien tIcn}, thi s.GetVisit sOperation Completed,  userState );
  337           }
  338           
  339           pr ivate void  OnGetVisi tsOperatio nCompleted (object ar g) {
  340                if ((thi s.GetVisit sCompleted  != null))  {
  341                    Syst em.Web.Ser vices.Prot ocols.Invo keComplete dEventArgs  invokeArg s = ((Syst em.Web.Ser vices.Prot ocols.Invo keComplete dEventArgs )(arg));
  342                    this .GetVisits Completed( this, new  GetVisitsC ompletedEv entArgs(in vokeArgs.R esults, in vokeArgs.E rror, invo keArgs.Can celled, in vokeArgs.U serState)) ;
  343                }
  344           }
  345           
  346           // / <remarks />
  347             [System.We b.Services .Protocols .SoapDocum entMethodA ttribute(" http:// DNS /WriteNote ", Request Namespace= "http:// DNS ", Respons eNamespace ="http:// DNS ", Use=Sys tem.Web.Se rvices.Des cription.S oapBinding Use.Litera l, Paramet erStyle=Sy stem.Web.S ervices.Pr otocols.So apParamete rStyle.Wra pped)]
  348           pu blic strin g WriteNot e(string C URRENT_USE R, string  titleIEN,  string enc ounterStri ng, string  noteText,  string au thorDUZ, s tring cosi gnerDUZ, s tring cons ultIEN, st ring prfIE N, string  loginSiteC ode, strin g dfn, str ing provid erName, st ring duz)  {
  349                object[]  results =  this.Invo ke("WriteN ote", new  object[] {
  350                             CURREN T_USER,
  351                             titleI EN,
  352                             encoun terString,
  353                             noteTe xt,
  354                             author DUZ,
  355                             cosign erDUZ,
  356                             consul tIEN,
  357                             prfIEN ,
  358                             loginS iteCode,
  359                             dfn,
  360                             provid erName,
  361                             duz});
  362                return ( (string)(r esults[0]) );
  363           }
  364           
  365           // / <remarks />
  366           pu blic void  WriteNoteA sync(strin g CURRENT_ USER, stri ng titleIE N, string  encounterS tring, str ing noteTe xt, string  authorDUZ , string c osignerDUZ , string c onsultIEN,  string pr fIEN, stri ng loginSi teCode, st ring dfn,  string pro viderName,  string du z) {
  367                this.Wri teNoteAsyn c(CURRENT_ USER, titl eIEN, enco unterStrin g, noteTex t, authorD UZ, cosign erDUZ, con sultIEN, p rfIEN, log inSiteCode , dfn, pro viderName,  duz, null );
  368           }
  369           
  370           // / <remarks />
  371           pu blic void  WriteNoteA sync(strin g CURRENT_ USER, stri ng titleIE N, string  encounterS tring, str ing noteTe xt, string  authorDUZ , string c osignerDUZ , string c onsultIEN,  string pr fIEN, stri ng loginSi teCode, st ring dfn,  string pro viderName,  string du z, object  userState)  {
  372                if ((thi s.WriteNot eOperation Completed  == null))  {
  373                    this .WriteNote OperationC ompleted =  new Syste m.Threadin g.SendOrPo stCallback (this.OnWr iteNoteOpe rationComp leted);
  374                }
  375                this.Inv okeAsync(" WriteNote" , new obje ct[] {
  376                             CURREN T_USER,
  377                             titleI EN,
  378                             encoun terString,
  379                             noteTe xt,
  380                             author DUZ,
  381                             cosign erDUZ,
  382                             consul tIEN,
  383                             prfIEN ,
  384                             loginS iteCode,
  385                             dfn,
  386                             provid erName,
  387                             duz},  this.Write NoteOperat ionComplet ed, userSt ate);
  388           }
  389           
  390           pr ivate void  OnWriteNo teOperatio nCompleted (object ar g) {
  391                if ((thi s.WriteNot eCompleted  != null))  {
  392                    Syst em.Web.Ser vices.Prot ocols.Invo keComplete dEventArgs  invokeArg s = ((Syst em.Web.Ser vices.Prot ocols.Invo keComplete dEventArgs )(arg));
  393                    this .WriteNote Completed( this, new  WriteNoteC ompletedEv entArgs(in vokeArgs.R esults, in vokeArgs.E rror, invo keArgs.Can celled, in vokeArgs.U serState)) ;
  394                }
  395           }
  396           
  397           // / <remarks />
  398           pu blic new v oid Cancel Async(obje ct userSta te) {
  399                base.Can celAsync(u serState);
  400           }
  401           
  402           pr ivate bool  IsLocalFi leSystemWe bService(s tring url)  {
  403                if (((ur l == null)  
  404                             || (ur l == strin g.Empty)))  {
  405                    retu rn false;
  406                }
  407                System.U ri wsUri =  new Syste m.Uri(url) ;
  408                if (((ws Uri.Port > = 1024) 
  409                             && (st ring.Compa re(wsUri.H ost, "loca lHost", Sy stem.Strin gCompariso n.OrdinalI gnoreCase)  == 0))) {
  410                    retu rn true;
  411                }
  412                return f alse;
  413           }
  414       }
  415       
  416       /// <r emarks/>
  417       [Syste m.CodeDom. Compiler.G eneratedCo deAttribut e("System. Xml", "4.7 .2612.0")]
  418       [Syste m.Serializ ableAttrib ute()]
  419       [Syste m.Diagnost ics.Debugg erStepThro ughAttribu te()]
  420       [Syste m.Componen tModel.Des ignerCateg oryAttribu te("code") ]
  421         [System.Xm l.Serializ ation.XmlT ypeAttribu te(Namespa ce="http:/ / DNS ")]
  422       public  partial c lass ViaPe rson {
  423           
  424           pr ivate stri ng faultFi eld;
  425           
  426           pr ivate stri ng patient NameField;
  427           
  428           pr ivate stri ng patient DobField;
  429           
  430           pr ivate stri ng patient GenderFiel d;
  431           
  432           pr ivate stri ng patient SnumField;
  433           
  434           pr ivate stri ng mpiPidF ield;
  435           
  436           pr ivate stri ng localPi dField;
  437           
  438           pr ivate stri ng admitTi mestampFie ld;
  439           
  440           pr ivate stri ng locatio nIdField;
  441           
  442           pr ivate stri ng locatio nFacilityN ameField;
  443           
  444           pr ivate stri ng userDuz Field;
  445           
  446           pr ivate stri ng userNam eField;
  447           
  448           pr ivate stri ng userSit eIdField;
  449           
  450           // / <remarks />
  451           pu blic strin g Fault {
  452                get {
  453                    retu rn this.fa ultField;
  454                }
  455                set {
  456                    this .faultFiel d = value;
  457                }
  458           }
  459           
  460           // / <remarks />
  461           pu blic strin g PatientN ame {
  462                get {
  463                    retu rn this.pa tientNameF ield;
  464                }
  465                set {
  466                    this .patientNa meField =  value;
  467                }
  468           }
  469           
  470           // / <remarks />
  471           pu blic strin g PatientD ob {
  472                get {
  473                    retu rn this.pa tientDobFi eld;
  474                }
  475                set {
  476                    this .patientDo bField = v alue;
  477                }
  478           }
  479           
  480           // / <remarks />
  481           pu blic strin g PatientG ender {
  482                get {
  483                    retu rn this.pa tientGende rField;
  484                }
  485                set {
  486                    this .patientGe nderField  = value;
  487                }
  488           }
  489           
  490           // / <remarks />
  491           pu blic strin g PatientS num {
  492                get {
  493                    retu rn this.pa tientSnumF ield;
  494                }
  495                set {
  496                    this .patientSn umField =  value;
  497                }
  498           }
  499           
  500           // / <remarks />
  501           pu blic strin g MpiPid {
  502                get {
  503                    retu rn this.mp iPidField;
  504                }
  505                set {
  506                    this .mpiPidFie ld = value ;
  507                }
  508           }
  509           
  510           // / <remarks />
  511           pu blic strin g LocalPid  {
  512                get {
  513                    retu rn this.lo calPidFiel d;
  514                }
  515                set {
  516                    this .localPidF ield = val ue;
  517                }
  518           }
  519           
  520           // / <remarks />
  521           pu blic strin g AdmitTim estamp {
  522                get {
  523                    retu rn this.ad mitTimesta mpField;
  524                }
  525                set {
  526                    this .admitTime stampField  = value;
  527                }
  528           }
  529           
  530           // / <remarks />
  531           pu blic strin g Location Id {
  532                get {
  533                    retu rn this.lo cationIdFi eld;
  534                }
  535                set {
  536                    this .locationI dField = v alue;
  537                }
  538           }
  539           
  540           // / <remarks />
  541           pu blic strin g Location FacilityNa me {
  542                get {
  543                    retu rn this.lo cationFaci lityNameFi eld;
  544                }
  545                set {
  546                    this .locationF acilityNam eField = v alue;
  547                }
  548           }
  549           
  550           // / <remarks />
  551           pu blic strin g UserDuz  {
  552                get {
  553                    retu rn this.us erDuzField ;
  554                }
  555                set {
  556                    this .userDuzFi eld = valu e;
  557                }
  558           }
  559           
  560           // / <remarks />
  561           pu blic strin g UserName  {
  562                get {
  563                    retu rn this.us erNameFiel d;
  564                }
  565                set {
  566                    this .userNameF ield = val ue;
  567                }
  568           }
  569           
  570           // / <remarks />
  571           pu blic strin g UserSite Id {
  572                get {
  573                    retu rn this.us erSiteIdFi eld;
  574                }
  575                set {
  576                    this .userSiteI dField = v alue;
  577                }
  578           }
  579       }
  580       
  581       /// <r emarks/>
  582       [Syste m.CodeDom. Compiler.G eneratedCo deAttribut e("System. Xml", "4.7 .2612.0")]
  583       [Syste m.Serializ ableAttrib ute()]
  584       [Syste m.Diagnost ics.Debugg erStepThro ughAttribu te()]
  585       [Syste m.Componen tModel.Des ignerCateg oryAttribu te("code") ]
  586         [System.Xm l.Serializ ation.XmlT ypeAttribu te(Namespa ce="http:/ / DNS ")]
  587       public  partial c lass Strin gKeyValueP air {
  588           
  589           pr ivate stri ng keyFiel d;
  590           
  591           pr ivate stri ng valueFi eld;
  592           
  593           // / <remarks />
  594           pu blic strin g Key {
  595                get {
  596                    retu rn this.ke yField;
  597                }
  598                set {
  599                    this .keyField  = value;
  600                }
  601           }
  602           
  603           // / <remarks />
  604           pu blic strin g Value {
  605                get {
  606                    retu rn this.va lueField;
  607                }
  608                set {
  609                    this .valueFiel d = value;
  610                }
  611           }
  612       }
  613       
  614       /// <r emarks/>
  615       [Syste m.CodeDom. Compiler.G eneratedCo deAttribut e("System. Web.Servic es", "4.7. 2558.0")]
  616       public  delegate  void CPRSL aunchCompl etedEventH andler(obj ect sender , CPRSLaun chComplete dEventArgs  e);
  617       
  618       /// <r emarks/>
  619       [Syste m.CodeDom. Compiler.G eneratedCo deAttribut e("System. Web.Servic es", "4.7. 2558.0")]
  620       [Syste m.Diagnost ics.Debugg erStepThro ughAttribu te()]
  621       [Syste m.Componen tModel.Des ignerCateg oryAttribu te("code") ]
  622       public  partial c lass CPRSL aunchCompl etedEventA rgs : Syst em.Compone ntModel.As yncComplet edEventArg s {
  623           
  624           pr ivate obje ct[] resul ts;
  625           
  626           in ternal CPR SLaunchCom pletedEven tArgs(obje ct[] resul ts, System .Exception  exception , bool can celled, ob ject userS tate) : 
  627                    base (exception , cancelle d, userSta te) {
  628                this.res ults = res ults;
  629           }
  630           
  631           // / <remarks />
  632           pu blic ViaPe rson Resul t {
  633                get {
  634                    this .RaiseExce ptionIfNec essary();
  635                    retu rn ((ViaPe rson)(this .results[0 ]));
  636                }
  637           }
  638       }
  639       
  640       /// <r emarks/>
  641       [Syste m.CodeDom. Compiler.G eneratedCo deAttribut e("System. Web.Servic es", "4.7. 2558.0")]
  642       public  delegate  void GetNo teTitlesCo mpletedEve ntHandler( object sen der, GetNo teTitlesCo mpletedEve ntArgs e);
  643       
  644       /// <r emarks/>
  645       [Syste m.CodeDom. Compiler.G eneratedCo deAttribut e("System. Web.Servic es", "4.7. 2558.0")]
  646       [Syste m.Diagnost ics.Debugg erStepThro ughAttribu te()]
  647       [Syste m.Componen tModel.Des ignerCateg oryAttribu te("code") ]
  648       public  partial c lass GetNo teTitlesCo mpletedEve ntArgs : S ystem.Comp onentModel .AsyncComp letedEvent Args {
  649           
  650           pr ivate obje ct[] resul ts;
  651           
  652           in ternal Get NoteTitles CompletedE ventArgs(o bject[] re sults, Sys tem.Except ion except ion, bool  cancelled,  object us erState) :  
  653                    base (exception , cancelle d, userSta te) {
  654                this.res ults = res ults;
  655           }
  656           
  657           // / <remarks />
  658           pu blic Strin gKeyValueP air[] Resu lt {
  659                get {
  660                    this .RaiseExce ptionIfNec essary();
  661                    retu rn ((Strin gKeyValueP air[])(thi s.results[ 0]));
  662                }
  663           }
  664           
  665           // / <remarks />
  666           pu blic strin g error {
  667                get {
  668                    this .RaiseExce ptionIfNec essary();
  669                    retu rn ((strin g)(this.re sults[1])) ;
  670                }
  671           }
  672       }
  673       
  674       /// <r emarks/>
  675       [Syste m.CodeDom. Compiler.G eneratedCo deAttribut e("System. Web.Servic es", "4.7. 2558.0")]
  676       public  delegate  void GetLo cationsCom pletedEven tHandler(o bject send er, GetLoc ationsComp letedEvent Args e);
  677       
  678       /// <r emarks/>
  679       [Syste m.CodeDom. Compiler.G eneratedCo deAttribut e("System. Web.Servic es", "4.7. 2558.0")]
  680       [Syste m.Diagnost ics.Debugg erStepThro ughAttribu te()]
  681       [Syste m.Componen tModel.Des ignerCateg oryAttribu te("code") ]
  682       public  partial c lass GetLo cationsCom pletedEven tArgs : Sy stem.Compo nentModel. AsyncCompl etedEventA rgs {
  683           
  684           pr ivate obje ct[] resul ts;
  685           
  686           in ternal Get LocationsC ompletedEv entArgs(ob ject[] res ults, Syst em.Excepti on excepti on, bool c ancelled,  object use rState) : 
  687                    base (exception , cancelle d, userSta te) {
  688                this.res ults = res ults;
  689           }
  690           
  691           // / <remarks />
  692           pu blic Strin gKeyValueP air[] Resu lt {
  693                get {
  694                    this .RaiseExce ptionIfNec essary();
  695                    retu rn ((Strin gKeyValueP air[])(thi s.results[ 0]));
  696                }
  697           }
  698           
  699           // / <remarks />
  700           pu blic strin g error {
  701                get {
  702                    this .RaiseExce ptionIfNec essary();
  703                    retu rn ((strin g)(this.re sults[1])) ;
  704                }
  705           }
  706       }
  707       
  708       /// <r emarks/>
  709       [Syste m.CodeDom. Compiler.G eneratedCo deAttribut e("System. Web.Servic es", "4.7. 2558.0")]
  710       public  delegate  void GetCo nsultsComp letedEvent Handler(ob ject sende r, GetCons ultsComple tedEventAr gs e);
  711       
  712       /// <r emarks/>
  713       [Syste m.CodeDom. Compiler.G eneratedCo deAttribut e("System. Web.Servic es", "4.7. 2558.0")]
  714       [Syste m.Diagnost ics.Debugg erStepThro ughAttribu te()]
  715       [Syste m.Componen tModel.Des ignerCateg oryAttribu te("code") ]
  716       public  partial c lass GetCo nsultsComp letedEvent Args : Sys tem.Compon entModel.A syncComple tedEventAr gs {
  717           
  718           pr ivate obje ct[] resul ts;
  719           
  720           in ternal Get ConsultsCo mpletedEve ntArgs(obj ect[] resu lts, Syste m.Exceptio n exceptio n, bool ca ncelled, o bject user State) : 
  721                    base (exception , cancelle d, userSta te) {
  722                this.res ults = res ults;
  723           }
  724           
  725           // / <remarks />
  726           pu blic Strin gKeyValueP air[] Resu lt {
  727                get {
  728                    this .RaiseExce ptionIfNec essary();
  729                    retu rn ((Strin gKeyValueP air[])(thi s.results[ 0]));
  730                }
  731           }
  732           
  733           // / <remarks />
  734           pu blic strin g error {
  735                get {
  736                    this .RaiseExce ptionIfNec essary();
  737                    retu rn ((strin g)(this.re sults[1])) ;
  738                }
  739           }
  740       }
  741       
  742       /// <r emarks/>
  743       [Syste m.CodeDom. Compiler.G eneratedCo deAttribut e("System. Web.Servic es", "4.7. 2558.0")]
  744       public  delegate  void GetHo spitalAdmi ssionsComp letedEvent Handler(ob ject sende r, GetHosp italAdmiss ionsComple tedEventAr gs e);
  745       
  746       /// <r emarks/>
  747       [Syste m.CodeDom. Compiler.G eneratedCo deAttribut e("System. Web.Servic es", "4.7. 2558.0")]
  748       [Syste m.Diagnost ics.Debugg erStepThro ughAttribu te()]
  749       [Syste m.Componen tModel.Des ignerCateg oryAttribu te("code") ]
  750       public  partial c lass GetHo spitalAdmi ssionsComp letedEvent Args : Sys tem.Compon entModel.A syncComple tedEventAr gs {
  751           
  752           pr ivate obje ct[] resul ts;
  753           
  754           in ternal Get HospitalAd missionsCo mpletedEve ntArgs(obj ect[] resu lts, Syste m.Exceptio n exceptio n, bool ca ncelled, o bject user State) : 
  755                    base (exception , cancelle d, userSta te) {
  756                this.res ults = res ults;
  757           }
  758           
  759           // / <remarks />
  760           pu blic Strin gKeyValueP air[] Resu lt {
  761                get {
  762                    this .RaiseExce ptionIfNec essary();
  763                    retu rn ((Strin gKeyValueP air[])(thi s.results[ 0]));
  764                }
  765           }
  766           
  767           // / <remarks />
  768           pu blic strin g error {
  769                get {
  770                    this .RaiseExce ptionIfNec essary();
  771                    retu rn ((strin g)(this.re sults[1])) ;
  772                }
  773           }
  774       }
  775       
  776       /// <r emarks/>
  777       [Syste m.CodeDom. Compiler.G eneratedCo deAttribut e("System. Web.Servic es", "4.7. 2558.0")]
  778       public  delegate  void GetVi sitsComple tedEventHa ndler(obje ct sender,  GetVisits CompletedE ventArgs e );
  779       
  780       /// <r emarks/>
  781       [Syste m.CodeDom. Compiler.G eneratedCo deAttribut e("System. Web.Servic es", "4.7. 2558.0")]
  782       [Syste m.Diagnost ics.Debugg erStepThro ughAttribu te()]
  783       [Syste m.Componen tModel.Des ignerCateg oryAttribu te("code") ]
  784       public  partial c lass GetVi sitsComple tedEventAr gs : Syste m.Componen tModel.Asy ncComplete dEventArgs  {
  785           
  786           pr ivate obje ct[] resul ts;
  787           
  788           in ternal Get VisitsComp letedEvent Args(objec t[] result s, System. Exception  exception,  bool canc elled, obj ect userSt ate) : 
  789                    base (exception , cancelle d, userSta te) {
  790                this.res ults = res ults;
  791           }
  792           
  793           // / <remarks />
  794           pu blic Strin gKeyValueP air[] Resu lt {
  795                get {
  796                    this .RaiseExce ptionIfNec essary();
  797                    retu rn ((Strin gKeyValueP air[])(thi s.results[ 0]));
  798                }
  799           }
  800           
  801           // / <remarks />
  802           pu blic strin g error {
  803                get {
  804                    this .RaiseExce ptionIfNec essary();
  805                    retu rn ((strin g)(this.re sults[1])) ;
  806                }
  807           }
  808       }
  809       
  810       /// <r emarks/>
  811       [Syste m.CodeDom. Compiler.G eneratedCo deAttribut e("System. Web.Servic es", "4.7. 2558.0")]
  812       public  delegate  void Write NoteComple tedEventHa ndler(obje ct sender,  WriteNote CompletedE ventArgs e );
  813       
  814       /// <r emarks/>
  815       [Syste m.CodeDom. Compiler.G eneratedCo deAttribut e("System. Web.Servic es", "4.7. 2558.0")]
  816       [Syste m.Diagnost ics.Debugg erStepThro ughAttribu te()]
  817       [Syste m.Componen tModel.Des ignerCateg oryAttribu te("code") ]
  818       public  partial c lass Write NoteComple tedEventAr gs : Syste m.Componen tModel.Asy ncComplete dEventArgs  {
  819           
  820           pr ivate obje ct[] resul ts;
  821           
  822           in ternal Wri teNoteComp letedEvent Args(objec t[] result s, System. Exception  exception,  bool canc elled, obj ect userSt ate) : 
  823                    base (exception , cancelle d, userSta te) {
  824                this.res ults = res ults;
  825           }
  826           
  827           // / <remarks />
  828           pu blic strin g Result {
  829                get {
  830                    this .RaiseExce ptionIfNec essary();
  831                    retu rn ((strin g)(this.re sults[0])) ;
  832                }
  833           }
  834       }
  835   }
  836  
  837   #pragma wa rning rest ore 1591