4. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 1/19/2019 1:19:02 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.

4.1 Files compared

# Location File Last Modified
1 VIRP_Build_6_Dec_2018_CG.zip\Registries VIRP Service CrsServices.cs Thu Jan 17 17:39:56 2019 UTC
2 VIRP_Build_6_Dec_2018_CG.zip\Registries VIRP Service CrsServices.cs Sat Jan 19 17:41:31 2019 UTC

4.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 3 8022
Changed 2 6
Inserted 0 0
Removed 0 0

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

4.4 Active regular expressions

No regular expressions were active.

4.5 Comparison detail

  1   using Syst em;
  2   using Syst em.Configu ration;
  3   using Syst em.Collect ions.Gener ic;
  4   using Syst em.Web;
  5   using Syst em.Web.Con figuration ;
  6   using Syst em.Linq;
  7   using Syst em.Web.Ser vices;
  8   using Syst em.Service Model;
  9   using Syst em.Service Model.Web;
  10   using Syst em.Service Model.Acti vation;
  11   using VIRP ;
  12   using VIRP .CRS.BLL;
  13   using VIRP .CRS.BO;
  14   using VIRP .AHOBPR.BL L;
  15   using VIRP .AHOBPR.BO ;
  16  
  17   namespace  VIRP_SERVI CE
  18   {
  19           [W ebService( Namespace  = "http:// DNS ")]
  20           [W ebServiceB inding(Con formsTo =  WsiProfile s.BasicPro file1_1)]
  21           [W ebServiceB indingAttr ibute(Name  = "CrsSer vices", Na mespace =  "http:// DNS ")]
  22           [S erviceCont ract(Name  = "CrsServ ices", Nam espace = " http:// DNS ")]
  23           [S ystem.Comp onentModel .ToolboxIt em(false)]
  24           [A spNetCompa tibilityRe quirements (Requireme ntsMode =  AspNetComp atibilityR equirement sMode.Allo wed)]
  25           [S erviceBeha vior(Insta nceContext Mode = Ins tanceConte xtMode.Sin gle)]
  26           pu blic parti al class C rsServices  : System. Web.Servic es.WebServ ice
  27           {
  28           #r egion BCCC R_BCR_ALL
  29  
  30           [W ebMethod]
  31           pu blic List< BCCCR_BCR_ ALL> BCCCR _BCR_ALL_G ET_ALL_BY_ SEARCH(str ing identi ty, int re gistryId,  short sta3 n, string  patientSea rch)
  32           {
  33                return V IRPManager .BCCCR_BCR _ALL_GET_A LL_BY_SEAR CH(identit y, registr yId, sta3n , patientS earch);
  34           }
  35  
  36           [O perationCo ntract]
  37           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/BCCCR_ BCR_ALL_GE T_ALL_BY_S EARCH?iden tity={iden tity}&regi stryId={re gistryId}& sta3n={sta 3n}&patien tSearch={p atientSear ch}")]
  38           pu blic List< BCCCR_BCR_ ALL> BCCCR _BCR_ALL_G ET_ALL_BY_ SEARCH_XML (string id entity, in t registry Id, short  sta3n, str ing patien tSearch)
  39           {
  40                return t his.BCCCR_ BCR_ALL_GE T_ALL_BY_S EARCH(iden tity, regi stryId, st a3n, patie ntSearch);
  41           }
  42  
  43           [O perationCo ntract]
  44           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/BCCC R_BCR_ALL_ GET_ALL_BY _SEARCH?id entity={id entity}&re gistryId={ registryId }&sta3n={s ta3n}&pati entSearch= {patientSe arch}")]
  45           pu blic List< BCCCR_BCR_ ALL> BCCCR _BCR_ALL_G ET_ALL_BY_ SEARCH_JSO N(string i dentity, i nt registr yId, short  sta3n, st ring patie ntSearch)
  46           {
  47                return t his.BCCCR_ BCR_ALL_GE T_ALL_BY_S EARCH(iden tity, regi stryId, st a3n, patie ntSearch);
  48           }
  49  
  50           #e ndregion
  51  
  52           #r egion DATA _DICTIONAR Y
  53  
  54           [W ebMethod]
  55           pu blic List< DATA_DICTI ONARY> DAT A_DICTIONA RY_GET_ALL (string id entity, in t registry Id)
  56           {
  57                return V IRPManager .DATA_DICT IONARY_GET _ALL(ident ity, regis tryId);
  58           }
  59  
  60           [O perationCo ntract]
  61           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/DATA_D ICTIONARY_ GET_ALL?id entity={id entity}&re gistryId={ registryId }")]
  62           pu blic List< DATA_DICTI ONARY> DAT A_DICTIONA RY_GET_ALL _XML(strin g identity , int regi stryId)
  63           {
  64                return t his.DATA_D ICTIONARY_ GET_ALL(id entity, re gistryId);
  65           }
  66  
  67           [O perationCo ntract]
  68           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/DATA _DICTIONAR Y_GET_ALL? identity={ identity}& registryId ={registry Id}")]
  69           pu blic List< DATA_DICTI ONARY> DAT A_DICTIONA RY_GET_ALL _JSON(stri ng identit y, int reg istryId)
  70           {
  71                return t his.DATA_D ICTIONARY_ GET_ALL(id entity, re gistryId);
  72           }
  73  
  74           #e ndregion
  75  
  76           #r egion DB_L OG
  77  
  78           [W ebMethod]
  79           pu blic int D B_LOG_SAVE (string id entity, in t registry Id, DB_LOG  objSave)
  80           {
  81                return V IRPManager .DB_LOG_SA VE(identit y, registr yId, objSa ve);
  82           }
  83  
  84           [O perationCo ntract]
  85           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/DB_LOG _SAVE?iden tity={iden tity}&regi stryId={re gistryId}" )]
  86           pu blic int D B_LOG_SAVE _XML(strin g identity , int regi stryId, DB _LOG objSa ve)
  87           {
  88                return t his.DB_LOG _SAVE(iden tity, regi stryId, ob jSave);
  89           }
  90  
  91           [O perationCo ntract]
  92           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/DB_L OG_SAVE?id entity={id entity}&re gistryId={ registryId }")]
  93           pu blic int D B_LOG_SAVE _JSON(stri ng identit y, int reg istryId, D B_LOG objS ave)
  94           {
  95                return t his.DB_LOG _SAVE(iden tity, regi stryId, ob jSave);
  96           }
  97  
  98           #e ndregion
  99  
  100           #r egion ETL_ ExtractBat ch_Log
  101  
  102           [W ebMethod]
  103           pu blic List< ETL_Extrac tBatch_Log > ETL_Extr actBatch_L og_GET_ALL _BY_REGIST RY(string  identity,  int regist ryId)
  104           {
  105                return V IRPManager .ETL_Extra ctBatch_Lo g_GET_ALL_ BY_REGISTR Y(identity , registry Id);
  106           }
  107  
  108           [O perationCo ntract]
  109           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/ETL_Ex tractBatch _Log_GET_A LL_BY_REGI STRY?ident ity={ident ity}&regis tryId={reg istryId}") ]
  110           pu blic List< ETL_Extrac tBatch_Log > ETL_Extr actBatch_L og_GET_ALL _BY_REGIST RY_XML(str ing identi ty, int re gistryId)
  111           {
  112                return t his.ETL_Ex tractBatch _Log_GET_A LL_BY_REGI STRY(ident ity, regis tryId);
  113           }
  114  
  115           [O perationCo ntract]
  116           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/ETL_ ExtractBat ch_Log_GET _ALL_BY_RE GISTRY?ide ntity={ide ntity}&reg istryId={r egistryId} ")]
  117           pu blic List< ETL_Extrac tBatch_Log > ETL_Extr actBatch_L og_GET_ALL _BY_REGIST RY_JSON(st ring ident ity, int r egistryId)
  118           {
  119                return t his.ETL_Ex tractBatch _Log_GET_A LL_BY_REGI STRY(ident ity, regis tryId);
  120           }
  121  
  122           #e ndregion
  123  
  124           #r egion PATI ENT
  125  
  126           [W ebMethod]
  127           pu blic PATIE NT PATIENT _GET(strin g identity , int regi stryId, in t id)
  128           {
  129                return V IRPManager .PATIENT_G ET(identit y, registr yId, id);
  130           }
  131  
  132           [O perationCo ntract]
  133           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/PATIEN T_GET?iden tity={iden tity}&regi stryId={re gistryId}& id={id}")]
  134           pu blic PATIE NT PATIENT _GET_XML(s tring iden tity, int  registryId , int id)
  135           {
  136                return t his.PATIEN T_GET(iden tity, regi stryId, id );
  137           }
  138  
  139           [O perationCo ntract]
  140           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/PATI ENT_GET?id entity={id entity}&re gistryId={ registryId }&id={id}" )]
  141           pu blic PATIE NT PATIENT _GET_JSON( string ide ntity, int  registryI d, int id)
  142           {
  143                return t his.PATIEN T_GET(iden tity, regi stryId, id );
  144           }
  145  
  146           [W ebMethod]
  147           pu blic PATIE NT PATIENT _GET_COMPL ETE(string  identity,  int regis tryId, int  id)
  148           {
  149                return V IRPManager .PATIENT_G ET_COMPLET E(identity , registry Id, id);
  150           }
  151  
  152           [O perationCo ntract]
  153           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/PATIEN T_GET_COMP LETE?ident ity={ident ity}&regis tryId={reg istryId}&p atientId={ patientId} ")]
  154           pu blic PATIE NT PATIENT _GET_COMPL ETE_XML(st ring ident ity, int r egistryId,  int patie ntId)
  155           {
  156                return t his.PATIEN T_GET_COMP LETE(ident ity, regis tryId, pat ientId);
  157           }
  158  
  159           [O perationCo ntract]
  160           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/PATI ENT_GET_CO MPLETE?ide ntity={ide ntity}&reg istryId={r egistryId} &patientId ={patientI d}")]
  161           pu blic PATIE NT PATIENT _GET_COMPL ETE_JSON(s tring iden tity, int  registryId , int pati entId)
  162           {
  163                return t his.PATIEN T_GET_COMP LETE(ident ity, regis tryId, pat ientId);
  164           }
  165  
  166           [W ebMethod]
  167           pu blic List< PATIENT> P ATIENT_GET _ALL_BY_RE GISTRY(str ing identi ty, int re gistryId)
  168           {
  169                return V IRPManager .PATIENT_G ET_ALL_BY_ REGISTRY(i dentity, r egistryId) ;
  170           }
  171  
  172           [O perationCo ntract]
  173           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/PATIEN T_GET_ALL_ BY_REGISTR Y?identity ={identity }&registry Id={regist ryId}")]
  174           pu blic List< PATIENT> P ATIENT_GET _ALL_BY_RE GISTRY_XML (string id entity, in t registry Id)
  175           {
  176                return t his.PATIEN T_GET_ALL_ BY_REGISTR Y(identity , registry Id);
  177           }
  178  
  179           [O perationCo ntract]
  180           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/PATI ENT_GET_AL L_BY_REGIS TRY?identi ty={identi ty}&regist ryId={regi stryId}")]
  181           pu blic List< PATIENT> P ATIENT_GET _ALL_BY_RE GISTRY_JSO N(string i dentity, i nt registr yId)
  182           {
  183                return t his.PATIEN T_GET_ALL_ BY_REGISTR Y(identity , registry Id);
  184           }
  185  
  186           [W ebMethod]
  187           pu blic List< PATIENT> P ATIENT_GET _ALL_BY_NA ME(string  identity,  int regist ryId, stri ng lastNam e, string  firstName)
  188           {
  189                return V IRPManager .PATIENT_G ET_ALL_BY_ NAME(ident ity, regis tryId, las tName, fir stName);
  190           }
  191  
  192           [O perationCo ntract]
  193           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/PATIEN T_GET_ALL_ BY_NAME?id entity={id entity}&re gistryId={ registryId }&lastName ={lastName }&firstNam e={firstNa me}")]
  194           pu blic List< PATIENT> P ATIENT_GET _ALL_BY_NA ME_XML(str ing identi ty, int re gistryId,  string las tName, str ing firstN ame)
  195           {
  196                return t his.PATIEN T_GET_ALL_ BY_NAME(id entity, re gistryId,  lastName,  firstName) ;
  197           }
  198  
  199           [O perationCo ntract]
  200           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/PATI ENT_GET_AL L_BY_NAME? identity={ identity}& registryId ={registry Id}&lastNa me={lastNa me}&firstN ame={first Name}")]
  201           pu blic List< PATIENT> P ATIENT_GET _ALL_BY_NA ME_JSON(st ring ident ity, int r egistryId,  string la stName, st ring first Name)
  202           {
  203                return t his.PATIEN T_GET_ALL_ BY_NAME(id entity, re gistryId,  lastName,  firstName) ;
  204           }
  205  
  206           // [WebMethod ]
  207           // public int  PATIENT_G ET_COMMON_ BY_REGISTR Y_COUNT(st ring ident ity, int r egistryId,  string se archColumn , string s earchText)
  208           // {
  209           //     return  VIRPManag er.PATIENT _GET_COMMO N_BY_REGIS TRY_COUNT( identity,  registryId , searchCo lumn, sear chText);
  210           // }
  211  
  212           // [Operation Contract]
  213           // [WebInvoke (Method =  "GET", Res ponseForma t = WebMes sageFormat .Xml, UriT emplate =  "/Xml/PATI ENT_GET_CO MMON_BY_RE GISTRY_COU NT?identit y={identit y}&registr yId={regis tryId}&sea rchColumn= {searchCol umn}&searc hText={sea rchText}") ]
  214           // public int  PATIENT_G ET_COMMON_ BY_REGISTR Y_COUNT_XM L(string i dentity, i nt registr yId, strin g searchCo lumn, stri ng searchT ext)
  215           // {
  216           //     return  this.PATI ENT_GET_CO MMON_BY_RE GISTRY_COU NT(identit y, registr yId, searc hColumn, s earchText) ;
  217           // }
  218  
  219           // [Operation Contract]
  220           // [WebInvoke (Method =  "GET", Res ponseForma t = WebMes sageFormat .Json, Uri Template =  "/Json/PA TIENT_GET_ COMMON_BY_ REGISTRY_C OUNT?ident ity={ident ity}&regis tryId={reg istryId}&s earchColum n={searchC olumn}&sea rchText={s earchText} ")]
  221           // public int  PATIENT_G ET_COMMON_ BY_REGISTR Y_COUNT_JS ON(string  identity,  int regist ryId, stri ng searchC olumn, str ing search Text)
  222           // {
  223           //     return  this.PATI ENT_GET_CO MMON_BY_RE GISTRY_COU NT(identit y, registr yId, searc hColumn, s earchText) ;
  224           // }
  225  
  226           // [WebMethod ]
  227           // public Lis t<REFERRAL common> PA TIENT_GET_ COMMON_BY_ REGISTRY_F ILTER(stri ng identit y, int reg istryId, s tring sear chColumn,  string sea rchText, s tring sort Expression , int star tRow, int  maxRows)
  228           // {
  229           //     return  VIRPManag er.PATIENT _GET_COMMO N_BY_REGIS TRY(identi ty, regist ryId, sear chColumn,  searchText , sortExpr ession, st artRow, ma xRows);
  230           // }
  231  
  232           // [Operation Contract]
  233           // [WebInvoke (Method =  "GET", Res ponseForma t = WebMes sageFormat .Xml, UriT emplate =  "/Xml/PATI ENT_GET_CO MMON_BY_RE GISTRY_FIL TER?identi ty={identi ty}&regist ryId={regi stryId}&se archColumn ={searchCo lumn}&sear chText={se archText}& sortExpres sion={sort Expression }&startRow ={startRow }&maxRows= {maxRows}" )]
  234           // public Lis t<REFERRAL common> PA TIENT_GET_ COMMON_BY_ REGISTRY_F ILTER_XML( string ide ntity, int  registryI d, string  searchColu mn, string  searchTex t, string  sortExpres sion, int  startRow,  int maxRow s)
  235           // {
  236           //     return  this.PATI ENT_GET_CO MMON_BY_RE GISTRY_FIL TER(identi ty, regist ryId, sear chColumn,  searchText , sortExpr ession, st artRow, ma xRows);
  237           // }
  238  
  239           // [Operation Contract]
  240           // [WebInvoke (Method =  "GET", Res ponseForma t = WebMes sageFormat .Json, Uri Template =  "/Json/PA TIENT_GET_ COMMON_BY_ REGISTRY_F ILTER?iden tity={iden tity}&regi stryId={re gistryId}& searchColu mn={search Column}&se archText={ searchText }&sortExpr ession={so rtExpressi on}&startR ow={startR ow}&maxRow s={maxRows }")]
  241           // public Lis t<REFERRAL common> PA TIENT_GET_ COMMON_BY_ REGISTRY_F ILTER_JSON (string id entity, in t registry Id, string  searchCol umn, strin g searchTe xt, string  sortExpre ssion, int  startRow,  int maxRo ws)
  242           // {
  243           //     return  this.PATI ENT_GET_CO MMON_BY_RE GISTRY_FIL TER(identi ty, regist ryId, sear chColumn,  searchText , sortExpr ession, st artRow, ma xRows);
  244           // }
  245  
  246           #e ndregion
  247  
  248           #r egion PATI ENT_REG
  249  
  250           [W ebMethod]
  251           pu blic PATIE NT_REG PAT IENT_REG_G ET(string  identity,  int regist ryId, int  id)
  252           {
  253                return V IRPManager .PATIENT_R EG_GET(ide ntity, reg istryId, i d);
  254           }
  255  
  256           #e ndregion
  257  
  258           #r egion PATI ENT_UDFs
  259  
  260           [W ebMethod]
  261           pu blic int P ATIENT_UDF s_SAVE(str ing identi ty, int re gistryId,  PATIENT_UD Fs objSave )
  262           {
  263                return V IRPManager .PATIENT_U DFs_SAVE(i dentity, r egistryId,  objSave);
  264           }
  265  
  266           [O perationCo ntract]
  267           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/PATIEN T_UDFs_SAV E?identity ={identity }&registry Id={regist ryId}")]
  268           pu blic int P ATIENT_UDF s_SAVE_XML (string id entity, in t registry Id, PATIEN T_UDFs obj Save)
  269           {
  270                return t his.PATIEN T_UDFs_SAV E(identity , registry Id, objSav e);
  271           }
  272  
  273           [O perationCo ntract]
  274           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/PATI ENT_UDFs_S AVE?identi ty={identi ty}&regist ryId={regi stryId}")]
  275           pu blic int P ATIENT_UDF s_SAVE_JSO N(string i dentity, i nt registr yId, PATIE NT_UDFs ob jSave)
  276           {
  277                return t his.PATIEN T_UDFs_SAV E(identity , registry Id, objSav e);
  278           }
  279  
  280           [W ebMethod]
  281           pu blic PATIE NT_UDFs PA TIENT_UDFs _GET_BY_PA TIENT_UDF( string ide ntity, int  registryI d, int pat ientId, in t udfId)
  282           {
  283                return V IRPManager .PATIENT_U DFs_GET_BY _PATIENT_U DF(identit y, registr yId, patie ntId, udfI d);
  284           }
  285  
  286           [O perationCo ntract]
  287           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/PATIEN T_UDFs_GET _BY_PATIEN T_UDF?iden tity={iden tity}&regi stryId={re gistryId}& patientId= {patientId }&udfId={u dfId}")]
  288           pu blic PATIE NT_UDFs PA TIENT_UDFs _GET_BY_PA TIENT_UDF_ XML(string  identity,  int regis tryId, int  patientId , int udfI d)
  289           {
  290                return t his.PATIEN T_UDFs_GET _BY_PATIEN T_UDF(iden tity, regi stryId, pa tientId, u dfId);
  291           }
  292  
  293           [O perationCo ntract]
  294           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/PATI ENT_UDFs_G ET_BY_PATI ENT_UDF?id entity={id entity}&re gistryId={ registryId }&patientI d={patient Id}&udfId= {udfId}")]
  295           pu blic PATIE NT_UDFs PA TIENT_UDFs _GET_BY_PA TIENT_UDF_ JSON(strin g identity , int regi stryId, in t patientI d, int udf Id)
  296           {
  297                return t his.PATIEN T_UDFs_GET _BY_PATIEN T_UDF(iden tity, regi stryId, pa tientId, u dfId);
  298           }
  299  
  300           #e ndregion
  301  
  302           #r egion REFE RRAL
  303  
  304           [W ebMethod]
  305           pu blic REFER RAL REFERR AL_GET(str ing identi ty, int re gistryId,  int id)
  306           {
  307                return V IRPManager .REFERRAL_ GET(identi ty, regist ryId, id);
  308           }
  309  
  310           [W ebMethod]
  311           pu blic REFER RAL REFERR AL_GET_BY_ PATIENTICN (string id entity, in t registry Id, string  patientIc n)
  312           {
  313                return V IRPManager .REFERRAL_ GET_BY_PAT IENTICN(id entity, re gistryId,  patientIcn );
  314           }
  315  
  316           [W ebMethod]
  317           pu blic int R EFERRAL_SA VE(string  identity,  int regist ryId, REFE RRAL objSa ve)
  318           {
  319                return V IRPManager .REFERRAL_ SAVE(ident ity, regis tryId, obj Save);
  320           }
  321  
  322           [W ebMethod]
  323           pu blic Boole an REFERRA L_DELETE(s tring iden tity, int  registryId , int id)
  324           {
  325                return V IRPManager .REFERRAL_ DELETE(ide ntity, reg istryId, i d);
  326           }
  327  
  328           [O perationCo ntract]
  329           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/REFERR AL_GET?ide ntity={ide ntity}&reg istryId={r egistryId} &id={id}") ]
  330           pu blic REFER RAL REFERR AL_GET_XML (string id entity, in t registry Id, int id )
  331           {
  332                return t his.REFERR AL_GET(ide ntity, reg istryId, i d);
  333           }
  334  
  335           [O perationCo ntract]
  336           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/REFERR AL_SAVE?id entity={id entity}&re gistryId={ registryId }")]
  337           pu blic int R EFERRAL_SA VE_XML(str ing identi ty, int re gistryId,  REFERRAL o bjSave)
  338           {
  339                return t his.REFERR AL_SAVE(id entity, re gistryId,  objSave);
  340           }
  341  
  342           [O perationCo ntract]
  343           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/REFERR AL_DELETE? identity={ identity}& registryId ={registry Id}&id={id }")]
  344           pu blic Boole an REFERRA L_DELETE_X ML(string  identity,  int regist ryId, int  id)
  345           {
  346                return t his.REFERR AL_DELETE( identity,  registryId , id);
  347           }
  348  
  349           [O perationCo ntract]
  350           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/REFE RRAL_GET?i dentity={i dentity}&r egistryId= {registryI d}&id={id} ")]
  351           pu blic REFER RAL REFERR AL_GET_JSO N(string i dentity, i nt registr yId, int i d)
  352           {
  353                return t his.REFERR AL_GET(ide ntity, reg istryId, i d);
  354           }
  355  
  356           [O perationCo ntract]
  357           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/REFE RRAL_SAVE? identity={ identity}& registryId ={registry Id}")]
  358           pu blic int R EFERRAL_SA VE_JSON(st ring ident ity, int r egistryId,  REFERRAL  objSave)
  359           {
  360                return t his.REFERR AL_SAVE(id entity, re gistryId,  objSave);
  361           }
  362  
  363           [O perationCo ntract]
  364           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/REFE RRAL_DELET E?identity ={identity }&registry Id={regist ryId}&id={ id}")]
  365           pu blic Boole an REFERRA L_DELETE_J SON(string  identity,  int regis tryId, int  id)
  366           {
  367                return t his.REFERR AL_DELETE( identity,  registryId , id);
  368           }
  369  
  370           [W ebMethod]
  371           pu blic REFER RAL REFERR AL_GET_COM PLETE(stri ng identit y, int reg istryId, i nt referra lId)
  372           {
  373                return V IRPManager .REFERRAL_ GET_COMPLE TE(identit y, registr yId, refer ralId);
  374           }
  375  
  376           [O perationCo ntract]
  377           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/REFERR AL_GET_COM PLETE?iden tity={iden tity}&regi stryId={re gistryId}& referralId ={referral Id}")]
  378           pu blic REFER RAL REFERR AL_GET_COM PLETE_XML( string ide ntity, int  registryI d, int ref erralId)
  379           {
  380                return t his.REFERR AL_GET_COM PLETE(iden tity, regi stryId, re ferralId);
  381           }
  382  
  383           [O perationCo ntract]
  384           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/REFE RRAL_GET_C OMPLETE?id entity={id entity}&re gistryId={ registryId }&referral Id={referr alId}")]
  385           pu blic REFER RAL REFERR AL_GET_COM PLETE_JSON (string id entity, in t registry Id, int re ferralId)
  386           {
  387                return t his.REFERR AL_GET_COM PLETE(iden tity, regi stryId, re ferralId);
  388           }
  389  
  390           [W ebMethod]
  391           pu blic List< REFERRAL>  REFERRAL_G ET_ALL_BY_ REGISTRY_S TATUS(stri ng identit y, int reg istryId, i nt statusI d)
  392           {
  393                return V IRPManager .REFERRAL_ GET_ALL_BY _REGISTRY_ STATUS(ide ntity, reg istryId, s tatusId);
  394           }
  395  
  396           [O perationCo ntract]
  397           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/REFERR AL_GET_ALL _BY_REGIST RY_STATUS? identity={ identity}& registryId ={registry Id}&status Id={status Id}")]
  398           pu blic List< REFERRAL>  REFERRAL_G ET_ALL_BY_ REGISTRY_S TATUS_XML( string ide ntity, int  registryI d, int sta tusId)
  399           {
  400                return t his.REFERR AL_GET_ALL _BY_REGIST RY_STATUS( identity,  registryId , statusId );
  401           }
  402  
  403           [O perationCo ntract]
  404           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/REFE RRAL_GET_A LL_BY_REGI STRY_STATU S?identity ={identity }&registry Id={regist ryId}&stat usId={stat usId}")]
  405           pu blic List< REFERRAL>  REFERRAL_G ET_ALL_BY_ REGISTRY_S TATUS_JSON (string id entity, in t registry Id, int st atusId)
  406           {
  407                return t his.REFERR AL_GET_ALL _BY_REGIST RY_STATUS( identity,  registryId , statusId );
  408           }
  409  
  410           [W ebMethod(B ufferRespo nse = fals e, CacheDu ration = 6 0)]
  411           pu blic List< REFERRALco mmon> REFE RRAL_GET_C OMMON_BY_R EGISTRY(st ring ident ity, int r egistryId)
  412           {
  413                return V IRPManager .REFERRAL_ GET_COMMON _BY_REGIST RY(identit y, registr yId);
  414           }
  415  
  416           [O perationCo ntract]
  417           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/REFERR AL_GET_COM MON_BY_REG ISTRY?iden tity={iden tity}&regi stryId={re gistryId}" )]
  418           pu blic List< REFERRALco mmon> REFE RRAL_GET_C OMMON_BY_R EGISTRY_XM L(string i dentity, i nt registr yId)
  419           {
  420                return t his.REFERR AL_GET_COM MON_BY_REG ISTRY(iden tity, regi stryId);
  421           }
  422  
  423           [O perationCo ntract]
  424           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/REFE RRAL_GET_C OMMON_BY_R EGISTRY?id entity={id entity}&re gistryId={ registryId }")]
  425           pu blic List< REFERRALco mmon> REFE RRAL_GET_C OMMON_BY_R EGISTRY_JS ON(string  identity,  int regist ryId)
  426           {
  427                return t his.REFERR AL_GET_COM MON_BY_REG ISTRY(iden tity, regi stryId);
  428           }
  429  
  430           // [WebMethod ]
  431           // public int  REFERRAL_ GET_COMMON _BY_REGIST RY_COUNT(s tring iden tity, int  registryId , string s earchColum n, string  searchText )
  432           // {
  433           //     return  VIRPManag er.REFERRA L_GET_COMM ON_BY_REGI STRY_COUNT (identity,  registryI d, searchC olumn, sea rchText);
  434           // }
  435  
  436           // [Operation Contract]
  437           // [WebInvoke (Method =  "GET", Res ponseForma t = WebMes sageFormat .Xml, UriT emplate =  "/Xml/REFE RRAL_GET_C OMMON_BY_R EGISTRY_CO UNT?identi ty={identi ty}&regist ryId={regi stryId}&se archColumn ={searchCo lumn}&sear chText={se archText}" )]
  438           // public int  REFERRAL_ GET_COMMON _BY_REGIST RY_COUNT_X ML(string  identity,  int regist ryId, stri ng searchC olumn, str ing search Text)
  439           // {
  440           //     return  this.REFE RRAL_GET_C OMMON_BY_R EGISTRY_CO UNT(identi ty, regist ryId, sear chColumn,  searchText );
  441           // }
  442  
  443           // [Operation Contract]
  444           // [WebInvoke (Method =  "GET", Res ponseForma t = WebMes sageFormat .Json, Uri Template =  "/Json/RE FERRAL_GET _COMMON_BY _REGISTRY_ COUNT?iden tity={iden tity}&regi stryId={re gistryId}& searchColu mn={search Column}&se archText={ searchText }")]
  445           // public int  REFERRAL_ GET_COMMON _BY_REGIST RY_COUNT_J SON(string  identity,  int regis tryId, str ing search Column, st ring searc hText)
  446           // {
  447           //     return  this.REFE RRAL_GET_C OMMON_BY_R EGISTRY_CO UNT(identi ty, regist ryId, sear chColumn,  searchText );
  448           // }
  449  
  450           // [WebMethod ]
  451           // public Lis t<REFERRAL common> RE FERRAL_GET _COMMON_BY _REGISTRY_ FILTER(str ing identi ty, int re gistryId,  string sea rchColumn,  string se archText,  string sor tExpressio n, int sta rtRow, int  maxRows)
  452           // {
  453           //     return  VIRPManag er.REFERRA L_GET_COMM ON_BY_REGI STRY(ident ity, regis tryId, sea rchColumn,  searchTex t, sortExp ression, s tartRow, m axRows);
  454           // }
  455  
  456           // [Operation Contract]
  457           // [WebInvoke (Method =  "GET", Res ponseForma t = WebMes sageFormat .Xml, UriT emplate =  "/Xml/REFE RRAL_GET_C OMMON_BY_R EGISTRY_FI LTER?ident ity={ident ity}&regis tryId={reg istryId}&s earchColum n={searchC olumn}&sea rchText={s earchText} &sortExpre ssion={sor tExpressio n}&startRo w={startRo w}&maxRows ={maxRows} ")]
  458           // public Lis t<REFERRAL common> RE FERRAL_GET _COMMON_BY _REGISTRY_ FILTER_XML (string id entity, in t registry Id, string  searchCol umn, strin g searchTe xt, string  sortExpre ssion, int  startRow,  int maxRo ws)
  459           // {
  460           //     return  this.REFE RRAL_GET_C OMMON_BY_R EGISTRY_FI LTER(ident ity, regis tryId, sea rchColumn,  searchTex t, sortExp ression, s tartRow, m axRows);
  461           // }
  462  
  463           // [Operation Contract]
  464           // [WebInvoke (Method =  "GET", Res ponseForma t = WebMes sageFormat .Json, Uri Template =  "/Json/RE FERRAL_GET _COMMON_BY _REGISTRY_ FILTER?ide ntity={ide ntity}&reg istryId={r egistryId} &searchCol umn={searc hColumn}&s earchText= {searchTex t}&sortExp ression={s ortExpress ion}&start Row={start Row}&maxRo ws={maxRow s}")]
  465           // public Lis t<REFERRAL common> RE FERRAL_GET _COMMON_BY _REGISTRY_ FILTER_JSO N(string i dentity, i nt registr yId, strin g searchCo lumn, stri ng searchT ext, strin g sortExpr ession, in t startRow , int maxR ows)
  466           // {
  467           //     return  this.REFE RRAL_GET_C OMMON_BY_R EGISTRY_FI LTER(ident ity, regis tryId, sea rchColumn,  searchTex t, sortExp ression, s tartRow, m axRows);
  468           // }
  469  
  470           [W ebMethod]
  471           pu blic REFER RALcommonG roup REFER RAL_GET_CO MMON_BY_RE GISTRY_FIL TER(string  identity,  int regis tryId, int  patientId , string s earchColum n, string  searchText , string s ortExpress ion, int s tartRow, i nt maxRows , bool IsP atientList )
  472           {
  473                return V IRPManager .REFERRAL_ GET_COMMON _BY_REGIST RY(identit y, registr yId, patie ntId, sear chColumn,  searchText , sortExpr ession, st artRow, ma xRows, IsP atientList );
  474           }
  475  
  476           [O perationCo ntract]
  477           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/REFERR AL_GET_COM MON_BY_REG ISTRY_FILT ER?identit y={identit y}&registr yId={regis tryId}&pat ientId={pa tientId}&s earchColum n={searchC olumn}&sea rchText={s earchText} &sortExpre ssion={sor tExpressio n}&startRo w={startRo w}&maxRows ={maxRows} &IsPatient List={IsPa tientList} ")]
  478           pu blic REFER RALcommonG roup REFER RAL_GET_CO MMON_BY_RE GISTRY_FIL TER_XML(st ring ident ity, int r egistryId,  int patie ntId, stri ng searchC olumn, str ing search Text, stri ng sortExp ression, i nt startRo w, int max Rows, bool  IsPatient List)
  479           {
  480                return t his.REFERR AL_GET_COM MON_BY_REG ISTRY_FILT ER(identit y, registr yId, patie ntId, sear chColumn,  searchText , sortExpr ession, st artRow, ma xRows, IsP atientList );
  481           }
  482  
  483           [O perationCo ntract]
  484           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/REFE RRAL_GET_C OMMON_BY_R EGISTRY_FI LTER?ident ity={ident ity}&regis tryId={reg istryId}&p atientId={ patientId} &searchCol umn={searc hColumn}&s earchText= {searchTex t}&sortExp ression={s ortExpress ion}&start Row={start Row}&maxRo ws={maxRow s}&IsPatie ntList={Is PatientLis t}")]
  485           pu blic REFER RALcommonG roup REFER RAL_GET_CO MMON_BY_RE GISTRY_FIL TER_JSON(s tring iden tity, int  registryId , int pati entId, str ing search Column, st ring searc hText, str ing sortEx pression,  int startR ow, int ma xRows, boo l IsPatien tList)
  486           {
  487                return t his.REFERR AL_GET_COM MON_BY_REG ISTRY_FILT ER(identit y, registr yId, patie ntId, sear chColumn,  searchText , sortExpr ession, st artRow, ma xRows, IsP atientList );
  488           }
  489  
  490           [W ebMethod]
  491           pu blic List< REFERRALco mmon> REFE RRAL_GET_C OMMON_BY_P ATIENT(str ing identi ty, int re gistryId,  int patien tId)
  492           {
  493                return V IRPManager .REFERRAL_ GET_COMMON _BY_PATIEN T(identity , registry Id, patien tId);
  494           }
  495  
  496           [O perationCo ntract]
  497           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/REFERR AL_GET_COM MON_BY_PAT IENT?ident ity={ident ity}&regis tryId={reg istryId}&p atientId={ patientId} ")]
  498           pu blic List< REFERRALco mmon> REFE RRAL_GET_C OMMON_BY_P ATIENT_XML (string id entity, in t registry Id, int pa tientId)
  499           {
  500                return t his.REFERR AL_GET_COM MON_BY_PAT IENT(ident ity, regis tryId, pat ientId);
  501           }
  502  
  503           [O perationCo ntract]
  504           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/REFE RRAL_GET_C OMMON_BY_P ATIENT?ide ntity={ide ntity}&reg istryId={r egistryId} &patientId ={patientI d}")]
  505           pu blic List< REFERRALco mmon> REFE RRAL_GET_C OMMON_BY_P ATIENT_JSO N(string i dentity, i nt registr yId, int p atientId)
  506           {
  507                return t his.REFERR AL_GET_COM MON_BY_PAT IENT(ident ity, regis tryId, pat ientId);
  508           }
  509  
  510           [W ebMethod]
  511           pu blic List< REFERRALco mmon> REFE RRAL_GET_C OMMON_BY_P ROVIDER(st ring ident ity, int r egistryId,  int provi derId)
  512           {
  513                return V IRPManager .REFERRAL_ GET_COMMON _BY_PROVID ER(identit y, registr yId, provi derId);
  514           }
  515  
  516           [O perationCo ntract]
  517           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/REFERR AL_GET_COM MON_BY_PRO VIDER?iden tity={iden tity}&regi stryId={re gistryId}& providerId ={provider Id}")]
  518           pu blic List< REFERRALco mmon> REFE RRAL_GET_C OMMON_BY_P ROVIDER_XM L(string i dentity, i nt registr yId, int p roviderId)
  519           {
  520                return t his.REFERR AL_GET_COM MON_BY_PRO VIDER(iden tity, regi stryId, pr oviderId);
  521           }
  522  
  523           [O perationCo ntract]
  524           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/REFE RRAL_GET_C OMMON_BY_P ROVIDER?id entity={id entity}&re gistryId={ registryId }&provider Id={provid erId}")]
  525           pu blic List< REFERRALco mmon> REFE RRAL_GET_C OMMON_BY_P ROVIDER_JS ON(string  identity,  int regist ryId, int  providerId )
  526           {
  527                return t his.REFERR AL_GET_COM MON_BY_PRO VIDER(iden tity, regi stryId, pr oviderId);
  528           }
  529  
  530           [W ebMethod]
  531           pu blic bool  REFERRAL_P ATIENT_EXI STS(string  identity,  int regis tryId, int  patientId )
  532           {
  533                return V IRPManager .REFERRAL_ PATIENT_EX ISTS(ident ity, regis tryId, pat ientId);
  534           }
  535  
  536           [O perationCo ntract]
  537           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/REFERR AL_PATIENT _EXISTS?id entity={id entity}&re gistryId={ registryId }&patientI d={patient Id}")]
  538           pu blic bool  REFERRAL_P ATIENT_EXI STS_XML(st ring ident ity, int r egistryId,  int patie ntId)
  539           {
  540                return t his.REFERR AL_PATIENT _EXISTS(id entity, re gistryId,  patientId) ;
  541           }
  542  
  543           [O perationCo ntract]
  544           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/REFE RRAL_PATIE NT_EXISTS? identity={ identity}& registryId ={registry Id}&patien tId={patie ntId}")]
  545           pu blic bool  REFERRAL_P ATIENT_EXI STS_JSON(s tring iden tity, int  registryId , int pati entId)
  546           {
  547                return t his.REFERR AL_PATIENT _EXISTS(id entity, re gistryId,  patientId) ;
  548           }
  549  
  550           [W ebMethod]
  551           pu blic int R EFERRAL_SA VE_MANUAL( string ide ntity, int  registryI d, int pat ientId, in t provider Id)
  552           {
  553                return V IRPManager .REFERRAL_ SAVE_MANUA L(identity , registry Id, patien tId, provi derId);
  554           }
  555  
  556           [O perationCo ntract]
  557           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/REFERR AL_SAVE_MA NUAL?ident ity={ident ity}&regis tryId={reg istryId}&p atientId={ patientId} &providerI d={provide rId}")]
  558           pu blic int R EFERRAL_SA VE_MANUAL_ XML(string  identity,  int regis tryId, int  patientId , int prov iderId)
  559           {
  560                return t his.REFERR AL_SAVE_MA NUAL(ident ity, regis tryId, pat ientId, pr oviderId);
  561           }
  562  
  563           [O perationCo ntract]
  564           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/REFE RRAL_SAVE_ MANUAL?ide ntity={ide ntity}&reg istryId={r egistryId} &patientId ={patientI d}&provide rId={provi derId}")]
  565           pu blic int R EFERRAL_SA VE_MANUAL_ JSON(strin g identity , int regi stryId, in t patientI d, int pro viderId)
  566           {
  567                return t his.REFERR AL_SAVE_MA NUAL(ident ity, regis tryId, pat ientId, pr oviderId);
  568           }
  569  
  570           [W ebMethod]
  571           pu blic bool  REFERRAL_U PDATE_STAT US(string  identity,  int regist ryId, int  referralId , int stat usId)
  572           {
  573                return V IRPManager .REFERRAL_ UPDATE_STA TUS(identi ty, regist ryId, refe rralId, st atusId);
  574           }
  575  
  576           [O perationCo ntract]
  577           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/REFERR AL_UPDATE_ STATUS?ide ntity={ide ntity}&reg istryId={r egistryId} &referralI d={referra lId}&statu sId={statu sId}")]
  578           pu blic bool  REFERRAL_U PDATE_STAT US_XML(str ing identi ty, int re gistryId,  int referr alId, int  statusId)
  579           {
  580                return t his.REFERR AL_UPDATE_ STATUS(ide ntity, reg istryId, r eferralId,  statusId) ;
  581           }
  582  
  583           [O perationCo ntract]
  584           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/REFE RRAL_UPDAT E_STATUS?i dentity={i dentity}&r egistryId= {registryI d}&referra lId={refer ralId}&sta tusId={sta tusId}")]
  585           pu blic bool  REFERRAL_S TATUS_JSON (string id entity, in t registry Id, int re ferralId,  int status Id)
  586           {
  587                return t his.REFERR AL_UPDATE_ STATUS(ide ntity, reg istryId, r eferralId,  statusId) ;
  588           }
  589  
  590           #e ndregion
  591  
  592           #r egion REGI STRY_COHOR T_DATA
  593  
  594           [W ebMethod]
  595           pu blic List< REGISTRY_C OHORT_DATA > REGISTRY _COHORT_DA TA_GET_ALL _BY_REGIST RY(string  identity,  int regist ryId)
  596           {
  597                return V IRPManager .REGISTRY_ COHORT_DAT A_GET_ALL_ BY_REGISTR Y(identity , registry Id);
  598           }
  599  
  600           [O perationCo ntract]
  601           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/REGIST RY_COHORT_ DATA_GET_A LL_BY_REGI STRY?ident ity={ident ity}&regis tryId={reg istryId}") ]
  602           pu blic List< REGISTRY_C OHORT_DATA > REGISTRY _COHORT_DA TA_GET_ALL _BY_REGIST RY_XML(str ing identi ty, int re gistryId)
  603           {
  604                return t his.REGIST RY_COHORT_ DATA_GET_A LL_BY_REGI STRY(ident ity, regis tryId);
  605           }
  606  
  607           [O perationCo ntract]
  608           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/REGI STRY_COHOR T_DATA_GET _ALL_BY_RE GISTRY?ide ntity={ide ntity}&reg istryId={r egistryId} ")]
  609           pu blic List< REGISTRY_C OHORT_DATA > REGISTRY _COHORT_DA TA_GET_ALL _BY_REGIST RY_JSON(st ring ident ity, int r egistryId)
  610           {
  611                return t his.REGIST RY_COHORT_ DATA_GET_A LL_BY_REGI STRY(ident ity, regis tryId);
  612           }
  613  
  614           [W ebMethod]
  615           pu blic List< REGISTRY_C OHORT_DATA > REGISTRY _COHORT_DA TA_GET_ALL _SELECTED_ BY_REGISTR Y(string i dentity, i nt registr yId)
  616           {
  617                return V IRPManager .REGISTRY_ COHORT_DAT A_GET_ALL_ SELECTED_B Y_REGISTRY (identity,  registryI d);
  618           }
  619  
  620           [O perationCo ntract]
  621           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/REGIST RY_COHORT_ DATA_GET_A LL_SELECTE D_BY_REGIS TRY?identi ty={identi ty}&regist ryId={regi stryId}")]
  622           pu blic List< REGISTRY_C OHORT_DATA > REGISTRY _COHORT_DA TA_GET_ALL _SELECTED_ BY_REGISTR Y_XML(stri ng identit y, int reg istryId)
  623           {
  624                return t his.REGIST RY_COHORT_ DATA_GET_A LL_SELECTE D_BY_REGIS TRY(identi ty, regist ryId);
  625           }
  626  
  627           [O perationCo ntract]
  628           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/REGI STRY_COHOR T_DATA_GET _ALL_SELEC TED_BY_REG ISTRY?iden tity={iden tity}&regi stryId={re gistryId}" )]
  629           pu blic List< REGISTRY_C OHORT_DATA > REGISTRY _COHORT_DA TA_GET_ALL _SELECTED_ BY_REGISTR Y_JSON(str ing identi ty, int re gistryId)
  630           {
  631                return t his.REGIST RY_COHORT_ DATA_GET_A LL_SELECTE D_BY_REGIS TRY(identi ty, regist ryId);
  632           }
  633  
  634           [W ebMethod]
  635           pu blic bool  REGISTRY_C OHORT_DATA _SAVE_LIST (string id entity, in t registry Id, List<R EGISTRY_CO HORT_DATA>  cohorts)
  636           {
  637                return V IRPManager .REGISTRY_ COHORT_DAT A_SAVE_LIS T(identity , registry Id, cohort s);
  638           }
  639  
  640           [O perationCo ntract]
  641           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/REGIST RY_COHORT_ DATA_SAVE_ LIST?ident ity={ident ity}&regis tryId={reg istryId}&c ohorts={co horts}")]
  642           pu blic bool  REGISTRY_C OHORT_DATA _SAVE_LIST _XML(strin g identity , int regi stryId, Li st<REGISTR Y_COHORT_D ATA> cohor ts)
  643           {
  644                return t his.REGIST RY_COHORT_ DATA_SAVE_ LIST(ident ity, regis tryId, coh orts);
  645           }
  646  
  647           [O perationCo ntract]
  648           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/REGI STRY_COHOR T_DATA_SAV E_LIST?ide ntity={ide ntity}&reg istryId={r egistryId} &cohorts={ cohorts}") ]
  649           pu blic bool  REGISTRY_C OHORT_DATA _SAVE_LIST _JSON(stri ng identit y, int reg istryId, L ist<REGIST RY_COHORT_ DATA> coho rts)
  650           {
  651                return t his.REGIST RY_COHORT_ DATA_SAVE_ LIST(ident ity, regis tryId, coh orts);
  652           }
  653  
  654           [W ebMethod]
  655           pu blic int R EGISTRY_CO HORT_DATA_ GET_PREVIE W_COUNT(st ring ident ity, int r egistryId,  List<REGI STRY_COHOR T_DATA> co horts)
  656           {
  657                return V IRPManager .REGISTRY_ COHORT_DAT A_GET_PREV IEW_COUNT( identity,  registryId , cohorts) ;
  658           }
  659  
  660           [O perationCo ntract]
  661           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/REGI STRY_COHOR T_DATA_GET _PREVIEW_C OUNT?ident ity={ident ity}&regis tryId={reg istryId}&c ohorts={co horts}")]
  662           pu blic int R EGISTRY_CO HORT_DATA_ GET_PREVIE W_COUNT_JS ON(string  identity,  int regist ryId, List <REGISTRY_ COHORT_DAT A> cohorts )
  663           {
  664                return t his.REGIST RY_COHORT_ DATA_GET_P REVIEW_COU NT(identit y, registr yId, cohor ts);
  665           }
  666  
  667           [O perationCo ntract]
  668           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/REGIST RY_COHORT_ DATA_GET_P REVIEW_COU NT?identit y={identit y}&registr yId={regis tryId}&coh orts={coho rts}")]
  669           pu blic int R EGISTRY_CO HORT_DATA_ GET_PREVIE W_COUNT_XM L(string i dentity, i nt registr yId, List< REGISTRY_C OHORT_DATA > cohorts)
  670           {
  671                return t his.REGIST RY_COHORT_ DATA_GET_P REVIEW_COU NT(identit y, registr yId, cohor ts);
  672           }
  673  
  674           #e ndregion
  675  
  676           #r egion REGI STRY_CORE_ DATA
  677  
  678           [W ebMethod]
  679           pu blic REGIS TRY_CORE_D ATA REGIST RY_CORE_DA TA_GET_BY_ REGISTRY_C ORE(string  identity,  int regis tryId, int  CORE_TYPE _ID)
  680           {
  681                return V IRPManager .REGISTRY_ CORE_DATA_ GET_BY_REG ISTRY_CORE (identity,  registryI d, CORE_TY PE_ID);
  682           }
  683  
  684           [W ebMethod]
  685           pu blic List< REGISTRY_C ORE_DATA>  REGISTRY_C ORE_DATA_G ET_ALL_BY_ REGISTRY(s tring iden tity, int  registryId )
  686           {
  687                return V IRPManager .REGISTRY_ CORE_DATA_ GET_ALL_BY _REGISTRY( identity,  registryId );
  688           }
  689  
  690           [W ebMethod]
  691           pu blic bool  REGISTRY_C ORE_DATA_S AVE_LIST(s tring iden tity, int  registryId , List<REG ISTRY_CORE _DATA> cor es)
  692           {
  693                return V IRPManager .REGISTRY_ CORE_DATA_ SAVE_LIST( identity,  registryId , cores);
  694           }
  695  
  696           [O perationCo ntract]
  697           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/REGIST RY_CORE_DA TA_GET_BY_ REGISTRY_C ORE?identi ty={identi ty}&regist ryId={regi stryId}&co reTypeId={ coreTypeId }")]
  698           pu blic REGIS TRY_CORE_D ATA REGIST RY_CORE_DA TA_GET_BY_ REGISTRY_C ORE_XML(st ring ident ity, int r egistryId,  int coreT ypeId)
  699           {
  700                return t his.REGIST RY_CORE_DA TA_GET_BY_ REGISTRY_C ORE(identi ty, regist ryId, core TypeId);
  701           }
  702  
  703           [O perationCo ntract]
  704           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/REGIST RY_CORE_DA TA_GET_ALL _BY_REGIST RY?identit y={identit y}&registr yId={regis tryId}")]
  705           pu blic List< REGISTRY_C ORE_DATA>  REGISTRY_C ORE_DATA_G ET_ALL_BY_ REGISTRY_X ML(string  identity,  int regist ryId)
  706           {
  707                return t his.REGIST RY_CORE_DA TA_GET_ALL _BY_REGIST RY(identit y, registr yId);
  708           }
  709  
  710           [O perationCo ntract]
  711           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/REGIST RY_CORE_DA TA_SAVE_LI ST?identit y={identit y}&registr yId={regis tryId}&cor es={cores} ")]
  712           pu blic bool  REGISTRY_C ORE_DATA_S AVE_LIST_X ML(string  identity,  int regist ryId, List <REGISTRY_ CORE_DATA>  cores)
  713           {
  714                return t his.REGIST RY_CORE_DA TA_SAVE_LI ST(identit y, registr yId, cores );
  715           }
  716  
  717           [O perationCo ntract]
  718           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/REGI STRY_CORE_ DATA_GET_B Y_REGISTRY _CORE?iden tity={iden tity}&regi stryId={re gistryId}& coreTypeId ={coreType Id}")]
  719           pu blic REGIS TRY_CORE_D ATA REGIST RY_CORE_DA TA_GET_BY_ REGISTRY_C ORE_JSON(s tring iden tity, int  registryId , int core TypeId)
  720           {
  721                return t his.REGIST RY_CORE_DA TA_GET_BY_ REGISTRY_C ORE(identi ty, regist ryId, core TypeId);
  722           }
  723  
  724           [O perationCo ntract]
  725           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/REGI STRY_CORE_ DATA_GET_A LL_BY_REGI STRY?ident ity={ident ity}&regis tryId={reg istryId}") ]
  726           pu blic List< REGISTRY_C ORE_DATA>  REGISTRY_C ORE_DATA_G ET_ALL_BY_ REGISTRY_J SON(string  identity,  int regis tryId)
  727           {
  728                return t his.REGIST RY_CORE_DA TA_GET_ALL _BY_REGIST RY(identit y, registr yId);
  729           }
  730  
  731           [O perationCo ntract]
  732           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/REGI STRY_CORE_ DATA_SAVE_ LIST?ident ity={ident ity}&regis tryId={reg istryId}&c ores={core s}")]
  733           pu blic bool  REGISTRY_C ORE_DATA_S AVE_LIST_J SON(string  identity,  int regis tryId, Lis t<REGISTRY _CORE_DATA > cores)
  734           {
  735                return t his.REGIST RY_CORE_DA TA_SAVE_LI ST(identit y, registr yId, cores );
  736           }
  737  
  738           #e ndregion
  739  
  740           #r egion SETT INGS
  741  
  742           [W ebMethod]
  743           pu blic int S ETTINGS_SA VE(string  identity,  int regist ryId, SETT INGS objSa ve)
  744           {
  745                return V IRPManager .SETTINGS_ SAVE(ident ity, regis tryId, obj Save);
  746           }
  747  
  748           [O perationCo ntract]
  749           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/SETTIN GS_SAVE?id entity={id entity}&re gistryId={ registryId }")]
  750           pu blic int S ETTINGS_SA VE_XML(str ing identi ty, int re gistryId,  SETTINGS o bjSave)
  751           {
  752                return t his.SETTIN GS_SAVE(id entity, re gistryId,  objSave);
  753           }
  754  
  755           [O perationCo ntract]
  756           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/SETT INGS_SAVE? identity={ identity}& registryId ={registry Id}")]
  757           pu blic int S ETTINGS_SA VE_JSON(st ring ident ity, int r egistryId,  SETTINGS  objSave)
  758           {
  759                return t his.SETTIN GS_SAVE(id entity, re gistryId,  objSave);
  760           }
  761  
  762           [W ebMethod]
  763           pu blic SETTI NGS SETTIN GS_GET_REG ISTRYNAME( string ide ntity, int  registryI d, string  registryNa me)
  764           {
  765                return V IRPManager .SETTINGS_ GET_REGIST RYNAME(ide ntity, reg istryId, r egistryNam e);
  766           }
  767  
  768           [O perationCo ntract]
  769           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/SETTIN GS_GET_REG ISTRYNAME? identity={ identity}& registryId ={registry Id}&regist ryName={re gistryName }")]
  770           pu blic SETTI NGS SETTIN GS_GET_REG ISTRYNAME_ XML(string  identity,  int regis tryId, str ing regist ryName)
  771           {
  772                return t his.SETTIN GS_GET_REG ISTRYNAME( identity,  registryId , registry Name);
  773           }
  774  
  775           [O perationCo ntract]
  776           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/SETT INGS_GET_R EGISTRYNAM E?identity ={identity }&registry Id={regist ryId}&regi stryName={ registryNa me}")]
  777           pu blic SETTI NGS SETTIN GS_GET_REG ISTRYNAME_ JSON(strin g identity , int regi stryId, st ring regis tryName)
  778           {
  779                return t his.SETTIN GS_GET_REG ISTRYNAME( identity,  registryId , registry Name);
  780           }
  781  
  782           [W ebMethod]
  783           pu blic SETTI NGS SETTIN GS_GET_HOM E_PAGE()
  784           {
  785                return V IRPManager .SETTINGS_ GET_HOME_P AGE();
  786           }
  787  
  788           [O perationCo ntract]
  789           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/GET_HO ME_PAGE_SE TTING")]
  790           pu blic SETTI NGS SETTIN GS_GET_HOM E_PAGE_XML ()
  791           {
  792                return t his.SETTIN GS_GET_HOM E_PAGE();
  793           }
  794  
  795           [O perationCo ntract]
  796           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/GET_ HOME_PAGE_ SETTING")]
  797           pu blic SETTI NGS SETTIN GS_GET_HOM E_PAGE_JSO N()
  798           {
  799                return t his.SETTIN GS_GET_HOM E_PAGE();
  800           }
  801  
  802           [W ebMethod]
  803           pu blic List< SETTINGS>  SETTINGS_G ET()
  804           {
  805                return V IRPManager .SETTINGS_ GET();
  806           }
  807  
  808           #e ndregion
  809  
  810           #r egion SSta ff_SStaff
  811  
  812           [W ebMethod]
  813           pu blic SStaf f_SStaff S Staff_SSta ff_GET(str ing identi ty, int re gistryId,  int id)
  814           {
  815                return V IRPManager .SStaff_SS taff_GET(i dentity, r egistryId,  id);
  816           }
  817  
  818           [O perationCo ntract]
  819           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/SStaff _SStaff_GE T?identity ={identity }&registry Id={regist ryId}&id={ id}")]
  820           pu blic SStaf f_SStaff S Staff_SSta ff_GET_XML (string id entity, in t registry Id, int id )
  821           {
  822                return t his.SStaff _SStaff_GE T(identity , registry Id, id);
  823           }
  824  
  825           [O perationCo ntract]
  826           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/SSta ff_SStaff_ GET?identi ty={identi ty}&regist ryId={regi stryId}&id ={id}")]
  827           pu blic SStaf f_SStaff S Staff_SSta ff_GET_JSO N(string i dentity, i nt registr yId, int i d)
  828           {
  829                return t his.SStaff _SStaff_GE T(identity , registry Id, id);
  830           }
  831  
  832           // [WebMethod ()]
  833           // public int  SStaff_SS taff_GET_A LL_BY_REGI STRY_COUNT (string id entity, in t registry Id, string  searchCol umn, strin g searchTe xt)
  834           // {
  835           //     return  VIRPManag er.SStaff_ SStaff_GET _ALL_BY_RE GISTRY_COU NT(identit y, registr yId, searc hColumn, s earchText) ;
  836           // }
  837  
  838           // [Operation Contract]
  839           // [WebInvoke (Method =  "GET", Res ponseForma t = WebMes sageFormat .Xml, UriT emplate =  "/Xml/SSta ff_SStaff_ GET_ALL_BY _REGISTRY_ COUNT?iden tity={iden tity}&regi stryId={re gistryId}& searchColu mn={search Column}&se archText={ searchText }")]
  840           // public int  SStaff_SS taff_GET_A LL_BY_REGI STRY_COUNT _XML(strin g identity , int regi stryId, st ring searc hColumn, s tring sear chText)
  841           // {
  842           //     return  this.SSta ff_SStaff_ GET_ALL_BY _REGISTRY_ COUNT(iden tity, regi stryId, se archColumn , searchTe xt);
  843           // }
  844  
  845           // [Operation Contract]
  846           // [WebInvoke (Method =  "GET", Res ponseForma t = WebMes sageFormat .Json, Uri Template =  "/Json/SS taff_SStaf f_GET_ALL_ BY_REGISTR Y_COUNT?id entity={id entity}&re gistryId={ registryId }&searchCo lumn={sear chColumn}& searchText ={searchTe xt}")]
  847           // public int  SStaff_SS taff_GET_A LL_BY_REGI STRY_COUNT _JSON(stri ng identit y, int reg istryId, s tring sear chColumn,  string sea rchText)
  848           // {
  849           //     return  this.SSta ff_SStaff_ GET_ALL_BY _REGISTRY_ COUNT(iden tity, regi stryId, se archColumn , searchTe xt);
  850           // }
  851  
  852           [W ebMethod]
  853           pu blic List< SStaff_SSt aff> SStaf f_SStaff_G ET_ALL_BY_ REGISTRY(s tring iden tity, int  registryId )
  854           {
  855                return V IRPManager .SStaff_SS taff_GET_A LL_BY_REGI STRY(ident ity, regis tryId);
  856           }
  857  
  858           [O perationCo ntract]
  859           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/SStaff _SStaff_GE T_ALL_BY_R EGISTRY?id entity={id entity}&re gistryId={ registryId }")]
  860           pu blic List< SStaff_SSt aff> SStaf f_SStaff_G ET_ALL_BY_ REGISTRY_X ML(string  identity,  int regist ryId)
  861           {
  862                return t his.SStaff _SStaff_GE T_ALL_BY_R EGISTRY(id entity, re gistryId);
  863           }
  864  
  865           [O perationCo ntract]
  866           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/SSta ff_SStaff_ GET_ALL_BY _REGISTRY? identity={ identity}& registryId ={registry Id}")]
  867           pu blic List< SStaff_SSt aff> SStaf f_SStaff_G ET_ALL_BY_ REGISTRY_J SON(string  identity,  int regis tryId)
  868           {
  869                return t his.SStaff _SStaff_GE T_ALL_BY_R EGISTRY(id entity, re gistryId);
  870           }
  871  
  872           [W ebMethod]
  873           pu blic List< SStaff_SSt aff> SStaf f_SStaff_G ET_ALL_BY_ REGISTRY_F ILTER(stri ng identit y, int reg istryId, s tring sear chColumn,  string sea rchText, s tring sort Expression , int star tRow, int  maxRows)
  874           {
  875                return V IRPManager .SStaff_SS taff_GET_A LL_BY_REGI STRY(ident ity, regis tryId, sea rchColumn,  searchTex t, sortExp ression, s tartRow, m axRows);
  876           }
  877  
  878           [O perationCo ntract]
  879           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/SStaff _SStaff_GE T_ALL_BY_R EGISTRY_FI LTER?ident ity={ident ity}&regis tryId={reg istryId}&s earchColum n={searchC olumn}&sea rchText={s earchText} &sortExpre ssion={sor tExpressio n}&startRo w={startRo w}&maxRows ={maxRows} ")]
  880           pu blic List< SStaff_SSt aff> SStaf f_SStaff_G ET_ALL_BY_ REGISTRY_F ILTER_XML( string ide ntity, int  registryI d, string  searchColu mn, string  searchTex t, string  sortExpres sion, int  startRow,  int maxRow s)
  881           {
  882                return t his.SStaff _SStaff_GE T_ALL_BY_R EGISTRY_FI LTER(ident ity, regis tryId, sea rchColumn,  searchTex t, sortExp ression, s tartRow, m axRows);
  883           }
  884  
  885           [O perationCo ntract]
  886           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/SSta ff_SStaff_ GET_ALL_BY _REGISTRY_ FILTER?ide ntity={ide ntity}&reg istryId={r egistryId} &searchCol umn={searc hColumn}&s earchText= {searchTex t}&sortExp ression={s ortExpress ion}&start Row={start Row}&maxRo ws={maxRow s}")]
  887           pu blic List< SStaff_SSt aff> SStaf f_SStaff_G ET_ALL_BY_ REGISTRY_F ILTER_JSON (string id entity, in t registry Id, string  searchCol umn, strin g searchTe xt, string  sortExpre ssion, int  startRow,  int maxRo ws)
  888           {
  889                return t his.SStaff _SStaff_GE T_ALL_BY_R EGISTRY_FI LTER(ident ity, regis tryId, sea rchColumn,  searchTex t, sortExp ression, s tartRow, m axRows);
  890           }
  891  
  892           [W ebMethod]
  893           pu blic int S Staff_SSta ff_GET_ALL _BY_REGIST RY_FILTER_ COUNT(stri ng identit y, int reg istryId, s tring sear chColumn,  string sea rchText, s tring sort Expression )
  894           {
  895                return V IRPManager .SStaff_SS taff_GET_A LL_BY_REGI STRY_COUNT (identity,  registryI d, searchC olumn, sea rchText, s ortExpress ion);
  896           }
  897  
  898           [O perationCo ntract]
  899           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/SStaff _SStaff_GE T_ALL_BY_R EGISTRY_FI LTER_COUNT ?identity= {identity} &registryI d={registr yId}&searc hColumn={s earchColum n}&searchT ext={searc hText}&sor tExpressio n={sortExp ression}") ]
  900           pu blic int S Staff_SSta ff_GET_ALL _BY_REGIST RY_FILTER_ COUNT_XML( string ide ntity, int  registryI d, string  searchColu mn, string  searchTex t, string  sortExpres sion)
  901           {
  902                return t his.SStaff _SStaff_GE T_ALL_BY_R EGISTRY_FI LTER_COUNT (identity,  registryI d, searchC olumn, sea rchText, s ortExpress ion);
  903           }
  904  
  905           [O perationCo ntract]
  906           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/SSta ff_SStaff_ GET_ALL_BY _REGISTRY_ FILTER_COU NT?identit y={identit y}&registr yId={regis tryId}&sea rchColumn= {searchCol umn}&searc hText={sea rchText}&s ortExpress ion={sortE xpression} ")]
  907           pu blic int S Staff_SSta ff_GET_ALL _BY_REGIST RY_FILTER_ COUNT_JSON (string id entity, in t registry Id, string  searchCol umn, strin g searchTe xt, string  sortExpre ssion)
  908           {
  909                return t his.SStaff _SStaff_GE T_ALL_BY_R EGISTRY_FI LTER_COUNT (identity,  registryI d, searchC olumn, sea rchText, s ortExpress ion);
  910           }
  911  
  912           [W ebMethod]
  913           pu blic List< SStaff_SSt aff> SStaf f_SStaff_G ET_ALL_BY_ NAME(strin g identity , int regi stryId, st ring lastN ame, strin g firstNam e)
  914           {
  915                return V IRPManager .SStaff_SS taff_GET_A LL_BY_NAME (identity,  registryI d, lastNam e, firstNa me);
  916           }
  917  
  918           [O perationCo ntract]
  919           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/SStaff _SStaff_GE T_ALL_BY_N AME?identi ty={identi ty}&regist ryId={regi stryId}&la stName={la stName}&fi rstName={f irstName}" )]
  920           pu blic List< SStaff_SSt aff> SStaf f_SStaff_G ET_ALL_BY_ NAME_XML(s tring iden tity, int  registryId , string l astName, s tring firs tName)
  921           {
  922                return t his.SStaff _SStaff_GE T_ALL_BY_N AME(identi ty, regist ryId, last Name, firs tName);
  923           }
  924  
  925           [O perationCo ntract]
  926           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/SSta ff_SStaff_ GET_ALL_BY _NAME?iden tity={iden tity}&regi stryId={re gistryId}& lastName={ lastName}& firstName= {firstName }")]
  927           pu blic List< SStaff_SSt aff> SStaf f_SStaff_G ET_ALL_BY_ NAME_JSON( string ide ntity, int  registryI d, string  lastName,  string fir stName)
  928           {
  929                return t his.SStaff _SStaff_GE T_ALL_BY_N AME(identi ty, regist ryId, last Name, firs tName);
  930           }
  931  
  932           #e ndregion
  933  
  934           #r egion STD_ GENDER
  935  
  936           [W ebMethod]
  937           pu blic STD_G ENDER STD_ GENDER_GET (string id entity, in t registry Id, int id )
  938           {
  939                return V IRPManager .STD_GENDE R_GET(iden tity, regi stryId, id );
  940           }
  941  
  942           [W ebMethod]
  943           pu blic List< STD_GENDER > STD_GEND ER_GET_ALL (string id entity, in t registry Id)
  944           {
  945                return V IRPManager .STD_GENDE R_GET_ALL( identity,  registryId );
  946           }
  947  
  948           [W ebMethod]
  949           pu blic int S TD_GENDER_ SAVE(strin g identity , int regi stryId, ST D_GENDER o bjSave)
  950           {
  951                return V IRPManager .STD_GENDE R_SAVE(ide ntity, reg istryId, o bjSave);
  952           }
  953  
  954           [W ebMethod]
  955           pu blic Boole an STD_GEN DER_DELETE (string id entity, in t registry Id, int id )
  956           {
  957                return V IRPManager .STD_GENDE R_DELETE(i dentity, r egistryId,  id);
  958           }
  959  
  960           [O perationCo ntract]
  961           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_GE NDER_GET?i dentity={i dentity}&r egistryId= {registryI d}&id={id} ")]
  962           pu blic STD_G ENDER STD_ GENDER_GET _XML(strin g identity , int regi stryId, in t id)
  963           {
  964                return t his.STD_GE NDER_GET(i dentity, r egistryId,  id);
  965           }
  966  
  967           [O perationCo ntract]
  968           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_GE NDER_SAVE? identity={ identity}& registryId ={registry Id}")]
  969           pu blic int S TD_GENDER_ SAVE_XML(s tring iden tity, int  registryId , STD_GEND ER objSave )
  970           {
  971                return t his.STD_GE NDER_SAVE( identity,  registryId , objSave) ;
  972           }
  973  
  974           [O perationCo ntract]
  975           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_GE NDER_DELET E?identity ={identity }&registry Id={regist ryId}&id={ id}")]
  976           pu blic Boole an STD_GEN DER_DELETE _XML(strin g identity , int regi stryId, in t id)
  977           {
  978                return t his.STD_GE NDER_DELET E(identity , registry Id, id);
  979           }
  980  
  981           [O perationCo ntract]
  982           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ GENDER_GET ?identity= {identity} &registryI d={registr yId}&id={i d}")]
  983           pu blic STD_G ENDER STD_ GENDER_GET _JSON(stri ng identit y, int reg istryId, i nt id)
  984           {
  985                return t his.STD_GE NDER_GET(i dentity, r egistryId,  id);
  986           }
  987  
  988           [O perationCo ntract]
  989           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ GENDER_SAV E?identity ={identity }&registry Id={regist ryId}")]
  990           pu blic int S TD_GENDER_ SAVE_JSON( string ide ntity, int  registryI d, STD_GEN DER objSav e)
  991           {
  992                return t his.STD_GE NDER_SAVE( identity,  registryId , objSave) ;
  993           }
  994  
  995           [O perationCo ntract]
  996           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ GENDER_DEL ETE?identi ty={identi ty}&regist ryId={regi stryId}&id ={id}")]
  997           pu blic Boole an STD_GEN DER_DELETE _JSON(stri ng identit y, int reg istryId, i nt id)
  998           {
  999                return t his.STD_GE NDER_DELET E(identity , registry Id, id);
  1000           }
  1001  
  1002           #e ndregion
  1003  
  1004           #r egion STD_ INSTITUTIO N
  1005  
  1006           [W ebMethod]
  1007           pu blic STD_I NSTITUTION  STD_INSTI TUTION_GET _COMPLETE( string ide ntity, int  registryI d, int id)
  1008           {
  1009                return V IRPManager .STD_INSTI TUTION_GET _COMPLETE( identity,  registryId , id);
  1010           }
  1011  
  1012           [O perationCo ntract]
  1013           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_IN STITUTION_ GET_COMPLE TE?identit y={identit y}&registr yId={regis tryId}&id= {id}")]
  1014           pu blic STD_I NSTITUTION  STD_INSTI TUTION_GET _COMPLETE_ XML(string  identity,  int regis tryId, int  id)
  1015           {
  1016                return t his.STD_IN STITUTION_ GET_COMPLE TE(identit y, registr yId, id);
  1017           }
  1018  
  1019           [O perationCo ntract]
  1020           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ INSTITUTIO N_GET_COMP LETE?ident ity={ident ity}&regis tryId={reg istryId}&i d={id}")]
  1021           pu blic STD_I NSTITUTION  STD_INSTI TUTION_GET _COMPLETE_ JSON(strin g identity , int regi stryId, in t id)
  1022           {
  1023                return t his.STD_IN STITUTION_ GET_COMPLE TE(identit y, registr yId, id);
  1024           }
  1025  
  1026           [W ebMethod]
  1027           pu blic List< STD_INSTIT UTION> STD _INSTITUTI ON_GET_FAC S(string i dentity, i nt registr yId)
  1028           {
  1029                return V IRPManager .STD_INSTI TUTION_GET _FACS(iden tity, regi stryId);
  1030           }
  1031  
  1032           [O perationCo ntract]
  1033           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_IN STITUTION_ GET_FACS?i dentity={i dentity}&r egistryId= {registryI d}")]
  1034           pu blic List< STD_INSTIT UTION> STD _INSTITUTI ON_GET_FAC S_XML(stri ng identit y, int reg istryId)
  1035           {
  1036                return t his.STD_IN STITUTION_ GET_FACS(i dentity, r egistryId) ;
  1037           }
  1038  
  1039           [O perationCo ntract]
  1040           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ INSTITUTIO N_GET_FACS ?identity= {identity} &registryI d={registr yId}")]
  1041           pu blic List< STD_INSTIT UTION> STD _INSTITUTI ON_GET_FAC S_JSON(str ing identi ty, int re gistryId)
  1042           {
  1043                return t his.STD_IN STITUTION_ GET_FACS(i dentity, r egistryId) ;
  1044           }
  1045  
  1046           [W ebMethod]
  1047           pu blic List< STD_INSTIT UTION> STD _INSTITUTI ON_GET_VIS NS(string  identity,  int regist ryId)
  1048           {
  1049                return V IRPManager .STD_INSTI TUTION_GET _VISNS(ide ntity, reg istryId);
  1050           }
  1051  
  1052           [O perationCo ntract]
  1053           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_IN STITUTION_ GET_VISNS? identity={ identity}& registryId ={registry Id}")]
  1054           pu blic List< STD_INSTIT UTION> STD _INSTITUTI ON_GET_VIS NS_XML(str ing identi ty, int re gistryId)
  1055           {
  1056                return t his.STD_IN STITUTION_ GET_VISNS( identity,  registryId );
  1057           }
  1058  
  1059           [O perationCo ntract]
  1060           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ INSTITUTIO N_GET_VISN S?identity ={identity }&registry Id={regist ryId}")]
  1061           pu blic List< STD_INSTIT UTION> STD _INSTITUTI ON_GET_VIS NS_JSON(st ring ident ity, int r egistryId)
  1062           {
  1063                return t his.STD_IN STITUTION_ GET_VISNS( identity,  registryId );
  1064           }
  1065  
  1066           [W ebMethod]
  1067           pu blic List< STD_INSTIT UTION> STD _INSTITUTI ON_GET_ALL (string id entity, in t registry Id)
  1068           {
  1069                return V IRPManager .STD_INSTI TUTION_GET _ALL(ident ity, regis tryId);
  1070           }
  1071  
  1072           [W ebMethod]
  1073           pu blic List< STD_INSTIT UTION> STD _INSTITUTI ON_GET_FAC ILITIES(st ring ident ity, int r egistryId)
  1074           {
  1075                return V IRPManager .STD_INSTI TUTION_GET _FACILITIE S(identity , registry Id);
  1076           }
  1077  
  1078           [O perationCo ntract]
  1079           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_IN STITUTION_ GET_FACILI TIES?ident ity={ident ity}&regis tryId={reg istryId}") ]
  1080           pu blic List< STD_INSTIT UTION> STD _INSTITUTI ON_GET_FAC ILITIES_XM L(string i dentity, i nt registr yId)
  1081           {
  1082                return t his.STD_IN STITUTION_ GET_FACILI TIES(ident ity, regis tryId);
  1083           }
  1084  
  1085           [O perationCo ntract]
  1086           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ INSTITUTIO N_GET_FACI LITIES?ide ntity={ide ntity}&reg istryId={r egistryId} ")]
  1087           pu blic List< STD_INSTIT UTION> STD _INSTITUTI ON_GET_FAC ILITIES_JS ON(string  identity,  int regist ryId)
  1088           {
  1089                return t his.STD_IN STITUTION_ GET_FACILI TIES(ident ity, regis tryId);
  1090           }
  1091  
  1092           [W ebMethod]
  1093           pu blic bool  STD_INSTIT UTION_SAVE _VISNS(str ing identi ty, int re gistryId,  int userId , List<int > visnIds)
  1094           {
  1095                return V IRPManager .STD_INSTI TUTION_SAV E_VISNS(id entity, re gistryId,  userId, vi snIds);
  1096           }
  1097  
  1098           [O perationCo ntract]
  1099           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_IN STITUTION_ SAVE_VISNS ?identity= {identity} &registryI d={registr yId}&userI d={userId} &visnIds={ visnIds}") ]
  1100           pu blic bool  STD_INSTIT UTION_SAVE _VISNS_XML (string id entity, in t registry Id, int us erId, List <int> visn Ids)
  1101           {
  1102                return t his.STD_IN STITUTION_ SAVE_VISNS (identity,  registryI d, userId,  visnIds);
  1103           }
  1104  
  1105           [O perationCo ntract]
  1106           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ INSTITUTIO N_SAVE_VIS NS?identit y={identit y}&registr yId={regis tryId}&use rId={userI d}&visnIds ={visnIds} ")]
  1107           pu blic bool  STD_INSTIT UTION_SAVE _VISNS_JSO N(string i dentity, i nt registr yId, int u serId, Lis t<int> vis nIds)
  1108           {
  1109                return t his.STD_IN STITUTION_ SAVE_VISNS (identity,  registryI d, userId,  visnIds);
  1110           }
  1111  
  1112           [W ebMethod]
  1113           pu blic bool  STD_INSTIT UTION_SAVE _FACILITIE S(string i dentity, i nt registr yId, int u serId, Lis t<int> fac Ids)
  1114           {
  1115                return V IRPManager .STD_INSTI TUTION_SAV E_FACILITI ES(identit y, registr yId, userI d, facIds) ;
  1116           }
  1117  
  1118           [O perationCo ntract]
  1119           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_IN STITUTION_ SAVE_FACIL ITIES?iden tity={iden tity}&regi stryId={re gistryId}& userId={us erId}&facI ds={facIds }")]
  1120           pu blic bool  STD_INSTIT UTION_SAVE _FACILITIE S_XML(stri ng identit y, int reg istryId, i nt userId,  List<int>  facIds)
  1121           {
  1122                return t his.STD_IN STITUTION_ SAVE_FACIL ITIES(iden tity, regi stryId, us erId, facI ds);
  1123           }
  1124  
  1125           [O perationCo ntract]
  1126           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ INSTITUTIO N_SAVE_FAC ILITIES?id entity={id entity}&re gistryId={ registryId }&userId={ userId}&fa cIds={facI ds}")]
  1127           pu blic bool  STD_INSTIT UTION_SAVE _FACILITIE S_JSON(str ing identi ty, int re gistryId,  int userId , List<int > facIds)
  1128           {
  1129                return t his.STD_IN STITUTION_ SAVE_FACIL ITIES(iden tity, regi stryId, us erId, facI ds);
  1130           }
  1131  
  1132           [W ebMethod]
  1133           pu blic List< STD_INSTIT UTION> USE R_SITES_GE T_ALL_VISN S_BY_USER( string ide ntity, int  registryI d, int use rId)
  1134           {
  1135                return V IRPManager .USER_SITE S_GET_ALL_ VISNS_BY_U SER(identi ty, regist ryId, user Id);
  1136           }
  1137  
  1138           [O perationCo ntract]
  1139           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/USER_S ITES_GET_A LL_VISNS_B Y_USER?ide ntity={ide ntity}&reg istryId={r egistryId} &userId={u serId}")]
  1140           pu blic List< STD_INSTIT UTION> USE R_SITES_GE T_ALL_VISN S_BY_USER_ XML(string  identity,  int regis tryId, int  userId)
  1141           {
  1142                return t his.USER_S ITES_GET_A LL_VISNS_B Y_USER(ide ntity, reg istryId, u serId);
  1143           }
  1144  
  1145           [O perationCo ntract]
  1146           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/USER _SITES_GET _ALL_VISNS _BY_USER?i dentity={i dentity}&r egistryId= {registryI d}&userId= {userId}") ]
  1147           pu blic List< STD_INSTIT UTION> USE R_SITES_GE T_ALL_VISN S_BY_USER_ JSON(strin g identity , int regi stryId, in t userId)
  1148           {
  1149                return t his.USER_S ITES_GET_A LL_VISNS_B Y_USER(ide ntity, reg istryId, u serId);
  1150           }
  1151  
  1152           [W ebMethod]
  1153           pu blic List< STD_INSTIT UTION> USE R_SITES_GE T_ALL_FACI LITIES_BY_ USER(strin g identity , int regi stryId, in t userId)
  1154           {
  1155                return V IRPManager .USER_SITE S_GET_ALL_ FACILITIES _BY_USER(i dentity, r egistryId,  userId);
  1156           }
  1157  
  1158           [O perationCo ntract]
  1159           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/USER_S ITES_GET_A LL_FACILIT IES_BY_USE R?identity ={identity }&registry Id={regist ryId}&user Id={userId }")]
  1160           pu blic List< STD_INSTIT UTION> USE R_SITES_GE T_ALL_FACI LITIES_BY_ USER_XML(s tring iden tity, int  registryId , int user Id)
  1161           {
  1162                return t his.USER_S ITES_GET_A LL_FACILIT IES_BY_USE R(identity , registry Id, userId );
  1163           }
  1164  
  1165           [O perationCo ntract]
  1166           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/USER _SITES_GET _ALL_FACIL ITIES_BY_U SER?identi ty={identi ty}&regist ryId={regi stryId}&us erId={user Id}")]
  1167           pu blic List< STD_INSTIT UTION> USE R_SITES_GE T_ALL_FACI LITIES_BY_ USER_JSON( string ide ntity, int  registryI d, int use rId)
  1168           {
  1169                return t his.USER_S ITES_GET_A LL_FACILIT IES_BY_USE R(identity , registry Id, userId );
  1170           }
  1171  
  1172           #e ndregion
  1173  
  1174           #r egion STD_ MENU_ITEMS
  1175  
  1176           [W ebMethod]
  1177           pu blic STD_M ENU_ITEMS  STD_MENU_I TEMS_GET(s tring iden tity, int  registryId , int id)
  1178           {
  1179                return V IRPManager .STD_MENU_ ITEMS_GET( identity,  registryId , id);
  1180           }
  1181  
  1182           [W ebMethod]
  1183           pu blic int S TD_MENU_IT EMS_SAVE(s tring iden tity, int  registryId , STD_MENU _ITEMS obj Save)
  1184           {
  1185                return V IRPManager .STD_MENU_ ITEMS_SAVE (identity,  registryI d, objSave );
  1186           }
  1187  
  1188           [W ebMethod]
  1189           pu blic Boole an STD_MEN U_ITEMS_DE LETE(strin g identity , int regi stryId, in t id)
  1190           {
  1191                return V IRPManager .STD_MENU_ ITEMS_DELE TE(identit y, registr yId, id);
  1192           }
  1193  
  1194           [O perationCo ntract]
  1195           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_ME NU_ITEMS_G ET?identit y={identit y}&registr yId={regis tryId}&id= {id}")]
  1196           pu blic STD_M ENU_ITEMS  STD_MENU_I TEMS_GET_X ML(string  identity,  int regist ryId, int  id)
  1197           {
  1198                return t his.STD_ME NU_ITEMS_G ET(identit y, registr yId, id);
  1199           }
  1200  
  1201           [O perationCo ntract]
  1202           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_ME NU_ITEMS_S AVE?identi ty={identi ty}&regist ryId={regi stryId}")]
  1203           pu blic int S TD_MENU_IT EMS_SAVE_X ML(string  identity,  int regist ryId, STD_ MENU_ITEMS  objSave)
  1204           {
  1205                return t his.STD_ME NU_ITEMS_S AVE(identi ty, regist ryId, objS ave);
  1206           }
  1207  
  1208           [O perationCo ntract]
  1209           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_ME NU_ITEMS_D ELETE?iden tity={iden tity}&regi stryId={re gistryId}& id={id}")]
  1210           pu blic Boole an STD_MEN U_ITEMS_DE LETE_XML(s tring iden tity, int  registryId , int id)
  1211           {
  1212                return t his.STD_ME NU_ITEMS_D ELETE(iden tity, regi stryId, id );
  1213           }
  1214  
  1215           [O perationCo ntract]
  1216           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ MENU_ITEMS _GET?ident ity={ident ity}&regis tryId={reg istryId}&i d={id}")]
  1217           pu blic STD_M ENU_ITEMS  STD_MENU_I TEMS_GET_J SON(string  identity,  int regis tryId, int  id)
  1218           {
  1219                return t his.STD_ME NU_ITEMS_G ET(identit y, registr yId, id);
  1220           }
  1221  
  1222           [O perationCo ntract]
  1223           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ MENU_ITEMS _SAVE?iden tity={iden tity}&regi stryId={re gistryId}" )]
  1224           pu blic int S TD_MENU_IT EMS_SAVE_J SON(string  identity,  int regis tryId, STD _MENU_ITEM S objSave)
  1225           {
  1226                return t his.STD_ME NU_ITEMS_S AVE(identi ty, regist ryId, objS ave);
  1227           }
  1228  
  1229           [O perationCo ntract]
  1230           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ MENU_ITEMS _DELETE?id entity={id entity}&re gistryId={ registryId }&id={id}" )]
  1231           pu blic Boole an STD_MEN U_ITEMS_DE LETE_JSON( string ide ntity, int  registryI d, int id)
  1232           {
  1233                return t his.STD_ME NU_ITEMS_D ELETE(iden tity, regi stryId, id );
  1234           }
  1235  
  1236           [W ebMethod]
  1237           pu blic List< STD_MENU_I TEMS> STD_ MENU_ITEMS _GET_ALL_B Y_REGISTRY (string id entity, in t registry Id)
  1238           {
  1239                return V IRPManager .STD_MENU_ ITEMS_GET_ ALL_BY_REG ISTRY(iden tity, regi stryId);
  1240           }
  1241  
  1242           [O perationCo ntract]
  1243           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_ME NU_ITEMS_G ET_ALL_BY_ REGISTRY?i dentity={i dentity}&r egistryId= {registryI d}")]
  1244           pu blic List< STD_MENU_I TEMS> STD_ MENU_ITEMS _GET_ALL_B Y_REGISTRY _XML(strin g identity , int regi stryId)
  1245           {
  1246                return t his.STD_ME NU_ITEMS_G ET_ALL_BY_ REGISTRY(i dentity, r egistryId) ;
  1247           }
  1248  
  1249           [O perationCo ntract]
  1250           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ MENU_ITEMS _GET_ALL_B Y_REGISTRY ?identity= {identity} &registryI d={registr yId}")]
  1251           pu blic List< STD_MENU_I TEMS> STD_ MENU_ITEMS _GET_ALL_B Y_REGISTRY _JSON(stri ng identit y, int reg istryId)
  1252           {
  1253                return t his.STD_ME NU_ITEMS_G ET_ALL_BY_ REGISTRY(i dentity, r egistryId) ;
  1254           }
  1255  
  1256           [W ebMethod]
  1257           pu blic List< STD_MENU_I TEMS> STD_ MENU_ITEMS _GET_MENU( string ide ntity, int  registryI d, string  path)
  1258           {
  1259                return V IRPManager .STD_MENU_ ITEMS_GET_ MENU(ident ity, regis tryId, pat h);
  1260           }
  1261  
  1262           [O perationCo ntract]
  1263           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_ME NU_ITEMS_G ET_MENU?id entity={id entity}&re gistryId={ registryId }&path={pa th}")]
  1264           pu blic List< STD_MENU_I TEMS> STD_ MENU_ITEMS _GET_MENU_ XML(string  identity,  int regis tryId, str ing path)
  1265           {
  1266                return t his.STD_ME NU_ITEMS_G ET_MENU(id entity, re gistryId,  path);
  1267           }
  1268  
  1269           [O perationCo ntract]
  1270           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ MENU_ITEMS _GET_MENU? identity={ identity}& registryId ={registry Id}&path={ path}")]
  1271           pu blic List< STD_MENU_I TEMS> STD_ MENU_ITEMS _GET_MENU_ JSON(strin g identity , int regi stryId, st ring path)
  1272           {
  1273                return t his.STD_ME NU_ITEMS_G ET_MENU(id entity, re gistryId,  path);
  1274           }
  1275  
  1276           #e ndregion
  1277  
  1278           #r egion STD_ QUESTION
  1279  
  1280           [W ebMethod]
  1281           pu blic STD_Q UESTION ST D_QUESTION _GET(strin g identity , int regi stryId, in t id)
  1282           {
  1283                return V IRPManager .STD_QUEST ION_GET(id entity, re gistryId,  id);
  1284           }
  1285  
  1286           [W ebMethod]
  1287           pu blic int S TD_QUESTIO N_SAVE(str ing identi ty, int re gistryId,  STD_QUESTI ON objSave )
  1288           {
  1289                return V IRPManager .STD_QUEST ION_SAVE(i dentity, r egistryId,  objSave);
  1290           }
  1291  
  1292           [W ebMethod]
  1293           pu blic Boole an STD_QUE STION_DELE TE(string  identity,  int regist ryId, int  id)
  1294           {
  1295                return V IRPManager .STD_QUEST ION_DELETE (identity,  registryI d, id);
  1296           }
  1297  
  1298           [O perationCo ntract]
  1299           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_QU ESTION_GET ?identity= {identity} &registryI d={registr yId}&id={i d}")]
  1300           pu blic STD_Q UESTION ST D_QUESTION _GET_XML(s tring iden tity, int  registryId , int id)
  1301           {
  1302                return t his.STD_QU ESTION_GET (identity,  registryI d, id);
  1303           }
  1304  
  1305           [O perationCo ntract]
  1306           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_QU ESTION_SAV E?identity ={identity }&registry Id={regist ryId}")]
  1307           pu blic int S TD_QUESTIO N_SAVE_XML (string id entity, in t registry Id, STD_QU ESTION obj Save)
  1308           {
  1309                return t his.STD_QU ESTION_SAV E(identity , registry Id, objSav e);
  1310           }
  1311  
  1312           [O perationCo ntract]
  1313           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_QU ESTION_DEL ETE?identi ty={identi ty}&regist ryId={regi stryId}&id ={id}")]
  1314           pu blic Boole an STD_QUE STION_DELE TE_XML(str ing identi ty, int re gistryId,  int id)
  1315           {
  1316                return t his.STD_QU ESTION_DEL ETE(identi ty, regist ryId, id);
  1317           }
  1318  
  1319           [O perationCo ntract]
  1320           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ QUESTION_G ET?identit y={identit y}&registr yId={regis tryId}&id= {id}")]
  1321           pu blic STD_Q UESTION ST D_QUESTION _GET_JSON( string ide ntity, int  registryI d, int id)
  1322           {
  1323                return t his.STD_QU ESTION_GET (identity,  registryI d, id);
  1324           }
  1325  
  1326           [O perationCo ntract]
  1327           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ QUESTION_S AVE?identi ty={identi ty}&regist ryId={regi stryId}")]
  1328           pu blic int S TD_QUESTIO N_SAVE_JSO N(string i dentity, i nt registr yId, STD_Q UESTION ob jSave)
  1329           {
  1330                return t his.STD_QU ESTION_SAV E(identity , registry Id, objSav e);
  1331           }
  1332  
  1333           [O perationCo ntract]
  1334           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ QUESTION_D ELETE?iden tity={iden tity}&regi stryId={re gistryId}& id={id}")]
  1335           pu blic Boole an STD_QUE STION_DELE TE_JSON(st ring ident ity, int r egistryId,  int id)
  1336           {
  1337                return t his.STD_QU ESTION_DEL ETE(identi ty, regist ryId, id);
  1338           }
  1339  
  1340           [W ebMethod]
  1341           pu blic List< STD_QUESTI ON> STD_QU ESTION_GET _ALL_BY_SU RVEY(strin g identity , int regi stryId, in t surveyTy peId)
  1342           {
  1343                return V IRPManager .STD_QUEST ION_GET_AL L_BY_SURVE Y(identity , registry Id, survey TypeId);
  1344           }
  1345  
  1346           [O perationCo ntract]
  1347           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_QU ESTION_GET _ALL_BY_SU RVEY?ident ity={ident ity}&regis tryId={reg istryId}&s urveyTypeI d={surveyT ypeId}")]
  1348           pu blic List< STD_QUESTI ON> STD_QU ESTION_GET _ALL_BY_SU RVEY_XML(s tring iden tity, int  registryId , int surv eyTypeId)
  1349           {
  1350                return t his.STD_QU ESTION_GET _ALL_BY_SU RVEY(ident ity, regis tryId, sur veyTypeId) ;
  1351           }
  1352  
  1353           [O perationCo ntract]
  1354           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ QUESTION_G ET_ALL_BY_ SURVEY?ide ntity={ide ntity}&reg istryId={r egistryId} &surveyTyp eId={surve yTypeId}") ]
  1355           pu blic List< STD_QUESTI ON> STD_QU ESTION_GET _ALL_BY_SU RVEY_JSON( string ide ntity, int  registryI d, int sur veyTypeId)
  1356           {
  1357                return t his.STD_QU ESTION_GET _ALL_BY_SU RVEY(ident ity, regis tryId, sur veyTypeId) ;
  1358           }
  1359  
  1360           [W ebMethod]
  1361           pu blic Boole an STD_QUE STION_COPY _CHOICES(s tring iden tity, int  registryId , int oldQ uestionId,  int newQu estionId)
  1362           {
  1363                return V IRPManager .STD_QUEST ION_COPY_C HOICES(ide ntity, reg istryId, o ldQuestion Id, newQue stionId);
  1364           }
  1365  
  1366           [O perationCo ntract]
  1367           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_QU ESTION_COP Y_CHOICES? identity={ identity}& registryId ={registry Id}&oldQue stionId={o ldQuestion Id}&newQue stionId={n ewQuestion Id}")]
  1368           pu blic Boole an STD_QUE STION_COPY _CHOICES_X ML(string  identity,  int regist ryId, int  oldQuestio nId, int n ewQuestion Id)
  1369           {
  1370                return t his.STD_QU ESTION_COP Y_CHOICES( identity,  registryId , oldQuest ionId, new QuestionId );
  1371           }
  1372  
  1373           [O perationCo ntract]
  1374           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ QUESTION_C OPY_CHOICE S?identity ={identity }&registry Id={regist ryId}&oldQ uestionId= {oldQuesti onId}&newQ uestionId= {newQuesti onId}")]
  1375           pu blic Boole an STD_QUE STION_COPY _CHOICES_J SON(string  identity,  int regis tryId, int  oldQuesti onId, int  newQuestio nId)
  1376           {
  1377                return t his.STD_QU ESTION_COP Y_CHOICES( identity,  registryId , oldQuest ionId, new QuestionId );
  1378           }
  1379  
  1380           #e ndregion
  1381  
  1382           #r egion STD_ QUESTION_C HOICE
  1383  
  1384           [W ebMethod]
  1385           pu blic STD_Q UESTION_CH OICE STD_Q UESTION_CH OICE_GET(s tring iden tity, int  registryId , int id)
  1386           {
  1387                return V IRPManager .STD_QUEST ION_CHOICE _GET(ident ity, regis tryId, id) ;
  1388           }
  1389  
  1390           [W ebMethod]
  1391           pu blic int S TD_QUESTIO N_CHOICE_S AVE(string  identity,  int regis tryId, STD _QUESTION_ CHOICE obj Save)
  1392           {
  1393                return V IRPManager .STD_QUEST ION_CHOICE _SAVE(iden tity, regi stryId, ob jSave);
  1394           }
  1395  
  1396           [W ebMethod]
  1397           pu blic Boole an STD_QUE STION_CHOI CE_DELETE( string ide ntity, int  registryI d, int id)
  1398           {
  1399                return V IRPManager .STD_QUEST ION_CHOICE _DELETE(id entity, re gistryId,  id);
  1400           }
  1401  
  1402           [O perationCo ntract]
  1403           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_QU ESTION_CHO ICE_GET?id entity={id entity}&re gistryId={ registryId }&id={id}" )]
  1404           pu blic STD_Q UESTION_CH OICE STD_Q UESTION_CH OICE_GET_X ML(string  identity,  int regist ryId, int  id)
  1405           {
  1406                return t his.STD_QU ESTION_CHO ICE_GET(id entity, re gistryId,  id);
  1407           }
  1408  
  1409           [O perationCo ntract]
  1410           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_QU ESTION_CHO ICE_SAVE?i dentity={i dentity}&r egistryId= {registryI d}")]
  1411           pu blic int S TD_QUESTIO N_CHOICE_S AVE_XML(st ring ident ity, int r egistryId,  STD_QUEST ION_CHOICE  objSave)
  1412           {
  1413                return t his.STD_QU ESTION_CHO ICE_SAVE(i dentity, r egistryId,  objSave);
  1414           }
  1415  
  1416           [O perationCo ntract]
  1417           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_QU ESTION_CHO ICE_DELETE ?identity= {identity} &registryI d={registr yId}&id={i d}")]
  1418           pu blic Boole an STD_QUE STION_CHOI CE_DELETE_ XML(string  identity,  int regis tryId, int  id)
  1419           {
  1420                return t his.STD_QU ESTION_CHO ICE_DELETE (identity,  registryI d, id);
  1421           }
  1422  
  1423           [O perationCo ntract]
  1424           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ QUESTION_C HOICE_GET? identity={ identity}& registryId ={registry Id}&id={id }")]
  1425           pu blic STD_Q UESTION_CH OICE STD_Q UESTION_CH OICE_GET_J SON(string  identity,  int regis tryId, int  id)
  1426           {
  1427                return t his.STD_QU ESTION_CHO ICE_GET(id entity, re gistryId,  id);
  1428           }
  1429  
  1430           [O perationCo ntract]
  1431           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ QUESTION_C HOICE_SAVE ?identity= {identity} &registryI d={registr yId}")]
  1432           pu blic int S TD_QUESTIO N_CHOICE_S AVE_JSON(s tring iden tity, int  registryId , STD_QUES TION_CHOIC E objSave)
  1433           {
  1434                return t his.STD_QU ESTION_CHO ICE_SAVE(i dentity, r egistryId,  objSave);
  1435           }
  1436  
  1437           [O perationCo ntract]
  1438           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ QUESTION_C HOICE_DELE TE?identit y={identit y}&registr yId={regis tryId}&id= {id}")]
  1439           pu blic Boole an STD_QUE STION_CHOI CE_DELETE_ JSON(strin g identity , int regi stryId, in t id)
  1440           {
  1441                return t his.STD_QU ESTION_CHO ICE_DELETE (identity,  registryI d, id);
  1442           }
  1443  
  1444           [W ebMethod]
  1445           pu blic List< STD_QUESTI ON_CHOICE>  STD_QUEST ION_CHOICE _GET_ALL_B Y_QUESTION (string id entity, in t registry Id, int qu estionId)
  1446           {
  1447                return V IRPManager .STD_QUEST ION_CHOICE _GET_ALL_B Y_QUESTION (identity,  registryI d, questio nId);
  1448           }
  1449  
  1450           [O perationCo ntract]
  1451           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_QU ESTION_CHO ICE_GET_AL L_BY_QUEST ION?identi ty={identi ty}&regist ryId={regi stryId}&qu estionId={ questionId }")]
  1452           pu blic List< STD_QUESTI ON_CHOICE>  STD_QUEST ION_CHOICE _GET_ALL_B Y_QUESTION _XML(strin g identity , int regi stryId, in t question Id)
  1453           {
  1454                return t his.STD_QU ESTION_CHO ICE_GET_AL L_BY_QUEST ION(identi ty, regist ryId, ques tionId);
  1455           }
  1456  
  1457           [O perationCo ntract]
  1458           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ QUESTION_C HOICE_GET_ ALL_BY_QUE STION?iden tity={iden tity}&regi stryId={re gistryId}& questionId ={question Id}")]
  1459           pu blic List< STD_QUESTI ON_CHOICE>  STD_QUEST ION_CHOICE _GET_ALL_B Y_QUESTION _JSON(stri ng identit y, int reg istryId, i nt questio nId)
  1460           {
  1461                return t his.STD_QU ESTION_CHO ICE_GET_AL L_BY_QUEST ION(identi ty, regist ryId, ques tionId);
  1462           }
  1463  
  1464           #e ndregion
  1465  
  1466           #r egion STD_ REFERRALST S
  1467  
  1468           [W ebMethod]
  1469           pu blic STD_R EFERRALSTS  STD_REFER RALSTS_GET _BY_CODE(s tring iden tity, int  registryId , string c ode)
  1470           {
  1471                return V IRPManager .STD_REFER RALSTS_GET _BY_CODE(i dentity, r egistryId,  code);
  1472           }
  1473  
  1474           [O perationCo ntract]
  1475           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_RE FERRALSTS_ GET_BY_COD E?identity ={identity }&registry Id={regist ryId}&code ={code}")]
  1476           pu blic STD_R EFERRALSTS  STD_REFER RALSTS_GET _BY_CODE_X ML(string  identity,  int regist ryId, stri ng code)
  1477           {
  1478                return t his.STD_RE FERRALSTS_ GET_BY_COD E(identity , registry Id, code);
  1479           }
  1480  
  1481           [O perationCo ntract]
  1482           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ REFERRALST S_GET_BY_C ODE?identi ty={identi ty}&regist ryId={regi stryId}&co de={code}" )]
  1483           pu blic STD_R EFERRALSTS  STD_REFER RALSTS_GET _BY_CODE_J SON(string  identity,  int regis tryId, str ing code)
  1484           {
  1485                return t his.STD_RE FERRALSTS_ GET_BY_COD E(identity , registry Id, code);
  1486           }
  1487  
  1488           #e ndregion
  1489  
  1490           #r egion STD_ REG_UDFs
  1491  
  1492           [W ebMethod]
  1493           pu blic STD_R EG_UDFs ST D_REG_UDFs _GET(strin g identity , int regi stryId, in t id)
  1494           {
  1495                return V IRPManager .STD_REG_U DFs_GET(id entity, re gistryId,  id);
  1496           }
  1497  
  1498           [W ebMethod]
  1499           pu blic int S TD_REG_UDF s_SAVE(str ing identi ty, int re gistryId,  STD_REG_UD Fs objSave )
  1500           {
  1501                return V IRPManager .STD_REG_U DFs_SAVE(i dentity, r egistryId,  objSave);
  1502           }
  1503  
  1504           [W ebMethod]
  1505           pu blic Boole an STD_REG _UDFs_DELE TE(string  identity,  int regist ryId, int  id)
  1506           {
  1507                return V IRPManager .STD_REG_U DFs_DELETE (identity,  registryI d, id);
  1508           }
  1509  
  1510           [O perationCo ntract]
  1511           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_RE G_UDFs_GET ?identity= {identity} &registryI d={registr yId}&id={i d}")]
  1512           pu blic STD_R EG_UDFs ST D_REG_UDFs _GET_XML(s tring iden tity, int  registryId , int id)
  1513           {
  1514                return t his.STD_RE G_UDFs_GET (identity,  registryI d, id);
  1515           }
  1516  
  1517           [O perationCo ntract]
  1518           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_RE G_UDFs_SAV E?identity ={identity }&registry Id={regist ryId}")]
  1519           pu blic int S TD_REG_UDF s_SAVE_XML (string id entity, in t registry Id, STD_RE G_UDFs obj Save)
  1520           {
  1521                return t his.STD_RE G_UDFs_SAV E(identity , registry Id, objSav e);
  1522           }
  1523  
  1524           [O perationCo ntract]
  1525           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_RE G_UDFs_DEL ETE?identi ty={identi ty}&regist ryId={regi stryId}&id ={id}")]
  1526           pu blic Boole an STD_REG _UDFs_DELE TE_XML(str ing identi ty, int re gistryId,  int id)
  1527           {
  1528                return t his.STD_RE G_UDFs_DEL ETE(identi ty, regist ryId, id);
  1529           }
  1530  
  1531           [O perationCo ntract]
  1532           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ REG_UDFs_G ET?identit y={identit y}&registr yId={regis tryId}&id= {id}")]
  1533           pu blic STD_R EG_UDFs ST D_REG_UDFs _GET_JSON( string ide ntity, int  registryI d, int id)
  1534           {
  1535                return t his.STD_RE G_UDFs_GET (identity,  registryI d, id);
  1536           }
  1537  
  1538           [O perationCo ntract]
  1539           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ REG_UDFs_S AVE?identi ty={identi ty}&regist ryId={regi stryId}")]
  1540           pu blic int S TD_REG_UDF s_SAVE_JSO N(string i dentity, i nt registr yId, STD_R EG_UDFs ob jSave)
  1541           {
  1542                return t his.STD_RE G_UDFs_SAV E(identity , registry Id, objSav e);
  1543           }
  1544  
  1545           [O perationCo ntract]
  1546           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ REG_UDFs_D ELETE?iden tity={iden tity}&regi stryId={re gistryId}& id={id}")]
  1547           pu blic Boole an STD_REG _UDFs_DELE TE_JSON(st ring ident ity, int r egistryId,  int id)
  1548           {
  1549                return t his.STD_RE G_UDFs_DEL ETE(identi ty, regist ryId, id);
  1550           }
  1551  
  1552           [W ebMethod]
  1553           pu blic List< STD_REG_UD Fs> STD_RE G_UDFs_GET _ALL_BY_RE GISTRY(str ing identi ty, int re gistryId)
  1554           {
  1555                return V IRPManager .STD_REG_U DFs_GET_AL L_BY_REGIS TRY(identi ty, regist ryId);
  1556           }
  1557  
  1558           [O perationCo ntract]
  1559           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_RE G_UDFs_GET _ALL_BY_RE GISTRY?ide ntity={ide ntity}&reg istryId={r egistryId} ")]
  1560           pu blic List< STD_REG_UD Fs> STD_RE G_UDFs_GET _ALL_BY_RE GISTRY_XML (string id entity, in t registry Id)
  1561           {
  1562                return t his.STD_RE G_UDFs_GET _ALL_BY_RE GISTRY(ide ntity, reg istryId);
  1563           }
  1564  
  1565           [O perationCo ntract]
  1566           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ REG_UDFs_G ET_ALL_BY_ REGISTRY?i dentity={i dentity}&r egistryId= {registryI d}")]
  1567           pu blic List< STD_REG_UD Fs> STD_RE G_UDFs_GET _ALL_BY_RE GISTRY_JSO N(string i dentity, i nt registr yId)
  1568           {
  1569                return t his.STD_RE G_UDFs_GET _ALL_BY_RE GISTRY(ide ntity, reg istryId);
  1570           }
  1571  
  1572           #e ndregion
  1573  
  1574           #r egion STD_ REGISTRY
  1575  
  1576           [W ebMethod]
  1577           pu blic STD_R EGISTRY ST D_REGISTRY _GET(strin g identity , int regi stryId, in t id)
  1578           {
  1579                return V IRPManager .STD_REGIS TRY_GET(id entity, re gistryId,  id);
  1580           }
  1581  
  1582           [W ebMethod]
  1583           pu blic int S TD_REGISTR Y_SAVE(str ing identi ty, int re gistryId,  STD_REGIST RY objSave )
  1584           {
  1585                return V IRPManager .STD_REGIS TRY_SAVE(i dentity, r egistryId,  objSave);
  1586           }
  1587  
  1588           [W ebMethod]
  1589           pu blic Boole an STD_REG ISTRY_DELE TE(string  identity,  int regist ryId, int  id)
  1590           {
  1591                return V IRPManager .STD_REGIS TRY_DELETE (identity,  registryI d, id);
  1592           }
  1593  
  1594           [O perationCo ntract]
  1595           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_RE GISTRY_GET ?identity= {identity} &registryI d={registr yId}&id={i d}")]
  1596           pu blic STD_R EGISTRY ST D_REGISTRY _GET_XML(s tring iden tity, int  registryId , int id)
  1597           {
  1598                return t his.STD_RE GISTRY_GET (identity,  registryI d, id);
  1599           }
  1600  
  1601           [O perationCo ntract]
  1602           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_RE GISTRY_SAV E?identity ={identity }&registry Id={regist ryId}")]
  1603           pu blic int S TD_REGISTR Y_SAVE_XML (string id entity, in t registry Id, STD_RE GISTRY obj Save)
  1604           {
  1605                return t his.STD_RE GISTRY_SAV E(identity , registry Id, objSav e);
  1606           }
  1607  
  1608           [O perationCo ntract]
  1609           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_RE GISTRY_DEL ETE?identi ty={identi ty}&regist ryId={regi stryId}&id ={id}")]
  1610           pu blic Boole an STD_REG ISTRY_DELE TE_XML(str ing identi ty, int re gistryId,  int id)
  1611           {
  1612                return t his.STD_RE GISTRY_DEL ETE(identi ty, regist ryId, id);
  1613           }
  1614  
  1615           [O perationCo ntract]
  1616           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ REGISTRY_G ET?identit y={identit y}&registr yId={regis tryId}&id= {id}")]
  1617           pu blic STD_R EGISTRY ST D_REGISTRY _GET_JSON( string ide ntity, int  registryI d, int id)
  1618           {
  1619                return t his.STD_RE GISTRY_GET (identity,  registryI d, id);
  1620           }
  1621  
  1622           [O perationCo ntract]
  1623           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ REGISTRY_S AVE?identi ty={identi ty}&regist ryId={regi stryId}")]
  1624           pu blic int S TD_REGISTR Y_SAVE_JSO N(string i dentity, i nt registr yId, STD_R EGISTRY ob jSave)
  1625           {
  1626                return t his.STD_RE GISTRY_SAV E(identity , registry Id, objSav e);
  1627           }
  1628  
  1629           [O perationCo ntract]
  1630           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ REGISTRY_D ELETE?iden tity={iden tity}&regi stryId={re gistryId}& id={id}")]
  1631           pu blic Boole an STD_REG ISTRY_DELE TE_JSON(st ring ident ity, int r egistryId,  int id)
  1632           {
  1633                return t his.STD_RE GISTRY_DEL ETE(identi ty, regist ryId, id);
  1634           }
  1635  
  1636           [W ebMethod]
  1637           pu blic STD_R EGISTRY ST D_REGISTRY _GET_COMPL ETE(string  identity,  int regis tryId, int  id)
  1638           {
  1639                return V IRPManager .STD_REGIS TRY_GET_CO MPLETE(ide ntity, reg istryId, i d);
  1640           }
  1641  
  1642           [W ebMethod]
  1643           pu blic STD_R EGISTRY ST D_REGISTRY _GET_SYSTE M()
  1644           {
  1645                return V IRPManager .STD_REGIS TRY_GET_SY STEM();
  1646           }
  1647  
  1648           [W ebMethod]
  1649           pu blic List< STD_REGIST RY> STD_RE GISTRY_GET _ALL_BY_US ER(string  identity,  int regist ryId)
  1650           {
  1651                return V IRPManager .STD_REGIS TRY_GET_AL L_BY_USER( identity,  registryId );
  1652           }
  1653  
  1654           [W ebMethod]
  1655           pu blic List< STD_REGIST RY> STD_RE GISTRY_GET _ALL_NON_S YSTEM()
  1656           {
  1657                return V IRPManager .STD_REGIS TRY_GET_AL L_NON_SYST EM();
  1658           }
  1659  
  1660           [W ebMethod]
  1661           pu blic List< STD_REGIST RY> STD_RE GISTRY_GET _ALL_NON_S YSTEM_BY_U SER(string  identity,  int regis tryId)
  1662           {
  1663                return V IRPManager .STD_REGIS TRY_GET_AL L_NON_SYST EM_BY_USER (identity,  registryI d);
  1664           }
  1665  
  1666           [O perationCo ntract]
  1667           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_RE GISTRY_GET _COMPLETE? identity={ identity}& registryId ={registry Id}&id={id }")]
  1668           pu blic STD_R EGISTRY ST D_REGISTRY _GET_COMPL ETE_XML(st ring ident ity, int r egistryId,  int id)
  1669           {
  1670                return t his.STD_RE GISTRY_GET _COMPLETE( identity,  registryId , id);
  1671           }
  1672  
  1673           [O perationCo ntract]
  1674           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_RE GISTRY_GET _SYSTEM")]
  1675           pu blic STD_R EGISTRY ST D_REGISTRY _GET_SYSTE M_XML()
  1676           {
  1677                return t his.STD_RE GISTRY_GET _SYSTEM();
  1678           }
  1679  
  1680           [O perationCo ntract]
  1681           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_RE GISTRY_GET _ALL_BY_US ER?identit y={identit y}&registr yId={regis tryId}")]
  1682           pu blic List< STD_REGIST RY> STD_RE GISTRY_GET _ALL_BY_US ER_XML(str ing identi ty, int re gistryId)
  1683           {
  1684                return t his.STD_RE GISTRY_GET _ALL_BY_US ER(identit y, registr yId);
  1685           }
  1686  
  1687           [O perationCo ntract]
  1688           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_RE GISTRY_GET _ALL_NON_S YSTEM")]
  1689           pu blic List< STD_REGIST RY> STD_RE GISTRY_GET _ALL_NON_S YSTEM_XML( )
  1690           {
  1691                return t his.STD_RE GISTRY_GET _ALL_NON_S YSTEM();
  1692           }
  1693  
  1694           [O perationCo ntract]
  1695           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_RE GISTRY_GET _ALL_NON_S YSTEM_BY_U SER?identi ty={identi ty}&regist ryId={regi stryId}")]
  1696           pu blic List< STD_REGIST RY> STD_RE GISTRY_GET _ALL_NON_S YSTEM_BY_U SER_XML(st ring ident ity, int r egistryId)
  1697           {
  1698                return t his.STD_RE GISTRY_GET _ALL_NON_S YSTEM_BY_U SER(identi ty, regist ryId);
  1699           }
  1700  
  1701           [O perationCo ntract]
  1702           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ REGISTRY_G ET_COMPLET E?identity ={identity }&registry Id={regist ryId}&id={ id}")]
  1703           pu blic STD_R EGISTRY ST D_REGISTRY _GET_COMPL ETE_JSON(s tring iden tity, int  registryId , int id)
  1704           {
  1705                return t his.STD_RE GISTRY_GET _COMPLETE( identity,  registryId , id);
  1706           }
  1707  
  1708           [O perationCo ntract]
  1709           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ REGISTRY_G ET_SYSTEM" )]
  1710           pu blic STD_R EGISTRY ST D_REGISTRY _GET_SYSTE M_JSON()
  1711           {
  1712                return t his.STD_RE GISTRY_GET _SYSTEM();
  1713           }
  1714  
  1715           [O perationCo ntract]
  1716           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ REGISTRY_G ET_ALL_BY_ USER?ident ity={ident ity}&regis tryId={reg istryId}") ]
  1717           pu blic List< STD_REGIST RY> STD_RE GISTRY_GET _ALL_BY_US ER_JSON(st ring ident ity, int r egistryId)
  1718           {
  1719                return t his.STD_RE GISTRY_GET _ALL_BY_US ER(identit y, registr yId);
  1720           }
  1721  
  1722           [O perationCo ntract]
  1723           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ REGISTRY_G ET_ALL_NON _SYSTEM")]
  1724           pu blic List< STD_REGIST RY> STD_RE GISTRY_GET _ALL_NON_S YSTEM_JSON ()
  1725           {
  1726                return t his.STD_RE GISTRY_GET _ALL_NON_S YSTEM();
  1727           }
  1728  
  1729           [O perationCo ntract]
  1730           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ REGISTRY_G ET_ALL_NON _SYSTEM_BY _USER?iden tity={iden tity}&regi stryId={re gistryId}" )]
  1731           pu blic List< STD_REGIST RY> STD_RE GISTRY_GET _ALL_NON_S YSTEM_BY_U SER_JSON(s tring iden tity, int  registryId )
  1732           {
  1733                return t his.STD_RE GISTRY_GET _ALL_NON_S YSTEM_BY_U SER(identi ty, regist ryId);
  1734           }
  1735  
  1736           #e ndregion
  1737  
  1738           #r egion STD_ ROLE
  1739  
  1740           [W ebMethod]
  1741           pu blic STD_R OLE STD_RO LE_GET(str ing identi ty, int re gistryId,  int id)
  1742           {
  1743                return V IRPManager .STD_ROLE_ GET(identi ty, regist ryId, id);
  1744           }
  1745  
  1746           [O perationCo ntract]
  1747           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_RO LE_GET?ide ntity={ide ntity}&reg istryId={r egistryId} &id={id}") ]
  1748           pu blic STD_R OLE STD_RO LE_GET_XML (string id entity, in t registry Id, int id )
  1749           {
  1750                return t his.STD_RO LE_GET(ide ntity, reg istryId, i d);
  1751           }
  1752  
  1753           [O perationCo ntract]
  1754           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ ROLE_GET?i dentity={i dentity}&r egistryId= {registryI d}&id={id} ")]
  1755           pu blic STD_R OLE STD_RO LE_GET_JSO N(string i dentity, i nt registr yId, int i d)
  1756           {
  1757                return t his.STD_RO LE_GET(ide ntity, reg istryId, i d);
  1758           }
  1759  
  1760           [W ebMethod]
  1761           pu blic List< STD_ROLE>  STD_ROLE_G ET_ALL_SYS TEM_ROLES( string ide ntity, int  registryI d)
  1762           {
  1763                return V IRPManager .STD_ROLE_ GET_ALL_SY STEM_ROLES (identity,  registryI d);
  1764           }
  1765  
  1766           [W ebMethod]
  1767           pu blic List< STD_ROLE>  STD_ROLE_G ET_ALL_REG ISTRY_ROLE S(string i dentity, i nt registr yId)
  1768           {
  1769                return V IRPManager .STD_ROLE_ GET_ALL_RE GISTRY_ROL ES(identit y, registr yId);
  1770           }
  1771  
  1772           [W ebMethod]
  1773           pu blic List< STD_ROLE>  STD_ROLE_G ET_ALL_BY_ USER_REGIS TRY(string  identity,  int regis tryId)
  1774           {
  1775                return V IRPManager .STD_ROLE_ GET_ALL_BY _USER_REGI STRY(ident ity, regis tryId);
  1776           }
  1777  
  1778           [O perationCo ntract]
  1779           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_RO LE_GET_ALL _SYSTEM_RO LES?identi ty={identi ty}&regist ryId={regi stryId}")]
  1780           pu blic List< STD_ROLE>  STD_ROLE_G ET_ALL_SYS TEM_ROLES_ XML(string  identity,  int regis tryId)
  1781           {
  1782                return t his.STD_RO LE_GET_ALL _SYSTEM_RO LES(identi ty, regist ryId);
  1783           }
  1784  
  1785           [O perationCo ntract]
  1786           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_RO LE_GET_ALL _REGISTRY_ ROLES?iden tity={iden tity}&regi stryId={re gistryId}" )]
  1787           pu blic List< STD_ROLE>  STD_ROLE_G ET_ALL_REG ISTRY_ROLE S_XML(stri ng identit y, int reg istryId)
  1788           {
  1789                return t his.STD_RO LE_GET_ALL _REGISTRY_ ROLES(iden tity, regi stryId);
  1790           }
  1791  
  1792           [O perationCo ntract]
  1793           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_RO LE_GET_ALL _BY_USER_R EGISTRY?id entity={id entity}&re gistryId={ registryId }")]
  1794           pu blic List< STD_ROLE>  STD_ROLE_G ET_ALL_BY_ USER_REGIS TRY_XML(st ring ident ity, int r egistryId)
  1795           {
  1796                return t his.STD_RO LE_GET_ALL _BY_USER_R EGISTRY(id entity, re gistryId);
  1797           }
  1798  
  1799           [O perationCo ntract]
  1800           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ ROLE_GET_A LL_SYSTEM_ ROLES?iden tity={iden tity}&regi stryId={re gistryId}" )]
  1801           pu blic List< STD_ROLE>  STD_ROLE_G ET_ALL_SYS TEM_ROLES_ JSON(strin g identity , int regi stryId)
  1802           {
  1803                return t his.STD_RO LE_GET_ALL _SYSTEM_RO LES(identi ty, regist ryId);
  1804           }
  1805  
  1806           [O perationCo ntract]
  1807           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ ROLE_GET_A LL_REGISTR Y_ROLES?id entity={id entity}&re gistryId={ registryId }")]
  1808           pu blic List< STD_ROLE>  STD_ROLE_G ET_ALL_REG ISTRY_ROLE S_JSON(str ing identi ty, int re gistryId)
  1809           {
  1810                return t his.STD_RO LE_GET_ALL _REGISTRY_ ROLES(iden tity, regi stryId);
  1811           }
  1812  
  1813           [O perationCo ntract]
  1814           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ ROLE_GET_A LL_BY_USER _REGISTRY? identity={ identity}& registryId ={registry Id}")]
  1815           pu blic List< STD_ROLE>  STD_ROLE_G ET_ALL_BY_ USER_REGIS TRY_JSON(s tring iden tity, int  registryId )
  1816           {
  1817                return t his.STD_RO LE_GET_ALL _BY_USER_R EGISTRY(id entity, re gistryId);
  1818           }
  1819  
  1820           #e ndregion
  1821  
  1822           #r egion STD_ SURVEY_TYP E
  1823  
  1824           [W ebMethod]
  1825           pu blic STD_S URVEY_TYPE  STD_SURVE Y_TYPE_GET (string id entity, in t registry Id, int id )
  1826           {
  1827                return V IRPManager .STD_SURVE Y_TYPE_GET (identity,  registryI d, id);
  1828           }
  1829  
  1830           [W ebMethod]
  1831           pu blic int S TD_SURVEY_ TYPE_SAVE( string ide ntity, int  registryI d, STD_SUR VEY_TYPE o bjSave)
  1832           {
  1833                return V IRPManager .STD_SURVE Y_TYPE_SAV E(identity , registry Id, objSav e);
  1834           }
  1835  
  1836           [W ebMethod]
  1837           pu blic Boole an STD_SUR VEY_TYPE_D ELETE(stri ng identit y, int reg istryId, i nt id)
  1838           {
  1839                return V IRPManager .STD_SURVE Y_TYPE_DEL ETE(identi ty, regist ryId, id);
  1840           }
  1841  
  1842           [O perationCo ntract]
  1843           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_SU RVEY_TYPE_ GET?identi ty={identi ty}&regist ryId={regi stryId}&id ={id}")]
  1844           pu blic STD_S URVEY_TYPE  STD_SURVE Y_TYPE_GET _XML(strin g identity , int regi stryId, in t id)
  1845           {
  1846                return t his.STD_SU RVEY_TYPE_ GET(identi ty, regist ryId, id);
  1847           }
  1848  
  1849           [O perationCo ntract]
  1850           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_SU RVEY_TYPE_ SAVE?ident ity={ident ity}&regis tryId={reg istryId}") ]
  1851           pu blic int S TD_SURVEY_ TYPE_SAVE_ XML(string  identity,  int regis tryId, STD _SURVEY_TY PE objSave )
  1852           {
  1853                return t his.STD_SU RVEY_TYPE_ SAVE(ident ity, regis tryId, obj Save);
  1854           }
  1855  
  1856           [O perationCo ntract]
  1857           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_SU RVEY_TYPE_ DELETE?ide ntity={ide ntity}&reg istryId={r egistryId} &id={id}") ]
  1858           pu blic Boole an STD_SUR VEY_TYPE_D ELETE_XML( string ide ntity, int  registryI d, int id)
  1859           {
  1860                return t his.STD_SU RVEY_TYPE_ DELETE(ide ntity, reg istryId, i d);
  1861           }
  1862  
  1863           [O perationCo ntract]
  1864           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ SURVEY_TYP E_GET?iden tity={iden tity}&regi stryId={re gistryId}& id={id}")]
  1865           pu blic STD_S URVEY_TYPE  STD_SURVE Y_TYPE_GET _JSON(stri ng identit y, int reg istryId, i nt id)
  1866           {
  1867                return t his.STD_SU RVEY_TYPE_ GET(identi ty, regist ryId, id);
  1868           }
  1869  
  1870           [O perationCo ntract]
  1871           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ SURVEY_TYP E_SAVE?ide ntity={ide ntity}&reg istryId={r egistryId} ")]
  1872           pu blic int S TD_SURVEY_ TYPE_SAVE_ JSON(strin g identity , int regi stryId, ST D_SURVEY_T YPE objSav e)
  1873           {
  1874                return t his.STD_SU RVEY_TYPE_ SAVE(ident ity, regis tryId, obj Save);
  1875           }
  1876  
  1877           [O perationCo ntract]
  1878           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ SURVEY_TYP E_DELETE?i dentity={i dentity}&r egistryId= {registryI d}&id={id} ")]
  1879           pu blic Boole an STD_SUR VEY_TYPE_D ELETE_JSON (string id entity, in t registry Id, int id )
  1880           {
  1881                return t his.STD_SU RVEY_TYPE_ DELETE(ide ntity, reg istryId, i d);
  1882           }
  1883  
  1884           [W ebMethod]
  1885           pu blic List< STD_SURVEY _TYPE> STD _SURVEY_TY PE_GET_ALL _BY_REGIST RY(string  identity,  int regist ryId)
  1886           {
  1887                return V IRPManager .STD_SURVE Y_TYPE_GET _ALL_BY_RE GISTRY(ide ntity, reg istryId);
  1888           }
  1889  
  1890           [O perationCo ntract]
  1891           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_SU RVEY_TYPE_ GET_ALL_BY _REGISTRY? identity={ identity}& registryId ={registry Id}")]
  1892           pu blic List< STD_SURVEY _TYPE> STD _SURVEY_TY PE_GET_ALL _BY_REGIST RY_XML(str ing identi ty, int re gistryId)
  1893           {
  1894                return t his.STD_SU RVEY_TYPE_ GET_ALL_BY _REGISTRY( identity,  registryId );
  1895           }
  1896  
  1897           [O perationCo ntract]
  1898           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ SURVEY_TYP E_GET_ALL_ BY_REGISTR Y?identity ={identity }&registry Id={regist ryId}")]
  1899           pu blic List< STD_SURVEY _TYPE> STD _SURVEY_TY PE_GET_ALL _BY_REGIST RY_JSON(st ring ident ity, int r egistryId)
  1900           {
  1901                return t his.STD_SU RVEY_TYPE_ GET_ALL_BY _REGISTRY( identity,  registryId );
  1902           }
  1903  
  1904           #e ndregion
  1905  
  1906           #r egion STD_ WEB_PAGES
  1907  
  1908           [W ebMethod]
  1909           pu blic STD_W EB_PAGES S TD_WEB_PAG ES_GET(str ing identi ty, int re gistryId,  int id)
  1910           {
  1911                return V IRPManager .STD_WEB_P AGES_GET(i dentity, r egistryId,  id);
  1912           }
  1913  
  1914           [W ebMethod]
  1915           pu blic List< STD_WEB_PA GES> STD_W EB_PAGES_G ET_ALL(str ing identi ty, int re gistryId)
  1916           {
  1917                return V IRPManager .STD_WEB_P AGES_GET_A LL(identit y, registr yId);
  1918           }
  1919  
  1920           [W ebMethod]
  1921           pu blic int S TD_WEB_PAG ES_SAVE(st ring ident ity, int r egistryId,  STD_WEB_P AGES objSa ve)
  1922           {
  1923                return V IRPManager .STD_WEB_P AGES_SAVE( identity,  registryId , objSave) ;
  1924           }
  1925  
  1926           [W ebMethod]
  1927           pu blic Boole an STD_WEB _PAGES_DEL ETE(string  identity,  int regis tryId, int  id)
  1928           {
  1929                return V IRPManager .STD_WEB_P AGES_DELET E(identity , registry Id, id);
  1930           }
  1931  
  1932           [O perationCo ntract]
  1933           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_WE B_PAGES_GE T?identity ={identity }&registry Id={regist ryId}&id={ id}")]
  1934           pu blic STD_W EB_PAGES S TD_WEB_PAG ES_GET_XML (string id entity, in t registry Id, int id )
  1935           {
  1936                return t his.STD_WE B_PAGES_GE T(identity , registry Id, id);
  1937           }
  1938  
  1939           [O perationCo ntract]
  1940           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_WE B_PAGES_GE T_ALL?iden tity={iden tity}&regi stryId={re gistryId}" )]
  1941           pu blic List< STD_WEB_PA GES> STD_W EB_PAGES_G ET_ALL_XML (string id entity, in t registry Id)
  1942           {
  1943                return t his.STD_WE B_PAGES_GE T_ALL(iden tity, regi stryId);
  1944           }
  1945  
  1946           [O perationCo ntract]
  1947           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_WE B_PAGES_SA VE?identit y={identit y}&registr yId={regis tryId}")]
  1948           pu blic int S TD_WEB_PAG ES_SAVE_XM L(string i dentity, i nt registr yId, STD_W EB_PAGES o bjSave)
  1949           {
  1950                return t his.STD_WE B_PAGES_SA VE(identit y, registr yId, objSa ve);
  1951           }
  1952  
  1953           [O perationCo ntract]
  1954           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_WE B_PAGES_DE LETE?ident ity={ident ity}&regis tryId={reg istryId}&i d={id}")]
  1955           pu blic Boole an STD_WEB _PAGES_DEL ETE_XML(st ring ident ity, int r egistryId,  int id)
  1956           {
  1957                return t his.STD_WE B_PAGES_DE LETE(ident ity, regis tryId, id) ;
  1958           }
  1959  
  1960           [O perationCo ntract]
  1961           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ WEB_PAGES_ GET?identi ty={identi ty}&regist ryId={regi stryId}&id ={id}")]
  1962           pu blic STD_W EB_PAGES S TD_WEB_PAG ES_GET_JSO N(string i dentity, i nt registr yId, int i d)
  1963           {
  1964                return t his.STD_WE B_PAGES_GE T(identity , registry Id, id);
  1965           }
  1966  
  1967           [O perationCo ntract]
  1968           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ WEB_PAGES_ GET_ALL?id entity={id entity}&re gistryId={ registryId }")]
  1969           pu blic List< STD_WEB_PA GES> STD_W EB_PAGES_G ET_ALL_JSO N(string i dentity, i nt registr yId)
  1970           {
  1971                return t his.STD_WE B_PAGES_GE T_ALL(iden tity, regi stryId);
  1972           }
  1973  
  1974           [O perationCo ntract]
  1975           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ WEB_PAGES_ SAVE?ident ity={ident ity}&regis tryId={reg istryId}") ]
  1976           pu blic int S TD_WEB_PAG ES_SAVE_JS ON(string  identity,  int regist ryId, STD_ WEB_PAGES  objSave)
  1977           {
  1978                return t his.STD_WE B_PAGES_SA VE(identit y, registr yId, objSa ve);
  1979           }
  1980  
  1981           [O perationCo ntract]
  1982           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ WEB_PAGES_ DELETE?ide ntity={ide ntity}&reg istryId={r egistryId} &id={id}") ]
  1983           pu blic Boole an STD_WEB _PAGES_DEL ETE_JSON(s tring iden tity, int  registryId , int id)
  1984           {
  1985                return t his.STD_WE B_PAGES_DE LETE(ident ity, regis tryId, id) ;
  1986           }
  1987  
  1988           #e ndregion
  1989  
  1990           #r egion STD_ WKFACTIVIT YSTS
  1991  
  1992           [W ebMethod]
  1993           pu blic STD_W KFACTIVITY STS STD_WK FACTIVITYS TS_GET(str ing identi ty, int re gistryId,  int id)
  1994           {
  1995                return V IRPManager .STD_WKFAC TIVITYSTS_ GET(identi ty, regist ryId, id);
  1996           }
  1997  
  1998           [O perationCo ntract]
  1999           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_WK FACTIVITYS TS_GET?ide ntity={ide ntity}&reg istryId={r egistryId} &id={id}") ]
  2000           pu blic STD_W KFACTIVITY STS STD_WK FACTIVITYS TS_GET_XML (string id entity, in t registry Id, int id )
  2001           {
  2002                return t his.STD_WK FACTIVITYS TS_GET(ide ntity, reg istryId, i d);
  2003           }
  2004  
  2005           [O perationCo ntract]
  2006           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ WKFACTIVIT YSTS_GET?i dentity={i dentity}&r egistryId= {registryI d}&id={id} ")]
  2007           pu blic STD_W KFACTIVITY STS STD_WK FACTIVITYS TS_GET_JSO N(string i dentity, i nt registr yId, int i d)
  2008           {
  2009                return t his.STD_WK FACTIVITYS TS_GET(ide ntity, reg istryId, i d);
  2010           }
  2011  
  2012           [W ebMethod]
  2013           pu blic STD_W KFACTIVITY STS STD_WK FACTIVITYS TS_GET_BY_ CODE(strin g identity , int regi stryId, st ring code)
  2014           {
  2015                return V IRPManager .STD_WKFAC TIVITYSTS_ GET_BY_COD E(identity , registry Id, code);
  2016           }
  2017  
  2018           [O perationCo ntract]
  2019           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_WK FACTIVITYS TS_GET_BY_ CODE?ident ity={ident ity}&regis tryId={reg istryId}&c ode={code} ")]
  2020           pu blic STD_W KFACTIVITY STS STD_WK FACTIVITYS TS_GET_BY_ CODE_XML(s tring iden tity, int  registryId , string c ode)
  2021           {
  2022                return t his.STD_WK FACTIVITYS TS_GET_BY_ CODE(ident ity, regis tryId, cod e);
  2023           }
  2024  
  2025           [O perationCo ntract]
  2026           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ WKFACTIVIT YSTS_GET_B Y_CODE?ide ntity={ide ntity}&reg istryId={r egistryId} &code={cod e}")]
  2027           pu blic STD_W KFACTIVITY STS STD_WK FACTIVITYS TS_GET_BY_ CODE_JSON( string ide ntity, int  registryI d, string  code)
  2028           {
  2029                return t his.STD_WK FACTIVITYS TS_GET_BY_ CODE(ident ity, regis tryId, cod e);
  2030           }
  2031  
  2032           #e ndregion
  2033  
  2034           #r egion STD_ WKFACTIVIT YTYPE
  2035  
  2036           [W ebMethod]
  2037           pu blic STD_W KFACTIVITY TYPE STD_W KFACTIVITY TYPE_GET(s tring iden tity, int  registryId , int id)
  2038           {
  2039                return V IRPManager .STD_WKFAC TIVITYTYPE _GET(ident ity, regis tryId, id) ;
  2040           }
  2041  
  2042           [W ebMethod]
  2043           pu blic int S TD_WKFACTI VITYTYPE_S AVE(string  identity,  int regis tryId, STD _WKFACTIVI TYTYPE obj Save)
  2044           {
  2045                return V IRPManager .STD_WKFAC TIVITYTYPE _SAVE(iden tity, regi stryId, ob jSave);
  2046           }
  2047  
  2048           [W ebMethod]
  2049           pu blic Boole an STD_WKF ACTIVITYTY PE_DELETE( string ide ntity, int  registryI d, int id)
  2050           {
  2051                return V IRPManager .STD_WKFAC TIVITYTYPE _DELETE(id entity, re gistryId,  id);
  2052           }
  2053  
  2054           [O perationCo ntract]
  2055           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_WK FACTIVITYT YPE_GET?id entity={id entity}&re gistryId={ registryId }&id={id}" )]
  2056           pu blic STD_W KFACTIVITY TYPE STD_W KFACTIVITY TYPE_GET_X ML(string  identity,  int regist ryId, int  id)
  2057           {
  2058                return t his.STD_WK FACTIVITYT YPE_GET(id entity, re gistryId,  id);
  2059           }
  2060  
  2061           [O perationCo ntract]
  2062           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_WK FACTIVITYT YPE_SAVE?i dentity={i dentity}&r egistryId= {registryI d}")]
  2063           pu blic int S TD_WKFACTI VITYTYPE_S AVE_XML(st ring ident ity, int r egistryId,  STD_WKFAC TIVITYTYPE  objSave)
  2064           {
  2065                return t his.STD_WK FACTIVITYT YPE_SAVE(i dentity, r egistryId,  objSave);
  2066           }
  2067  
  2068           [O perationCo ntract]
  2069           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_WK FACTIVITYT YPE_DELETE ?identity= {identity} &registryI d={registr yId}&id={i d}")]
  2070           pu blic Boole an STD_WKF ACTIVITYTY PE_DELETE_ XML(string  identity,  int regis tryId, int  id)
  2071           {
  2072                return t his.STD_WK FACTIVITYT YPE_DELETE (identity,  registryI d, id);
  2073           }
  2074  
  2075           [O perationCo ntract]
  2076           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ WKFACTIVIT YTYPE_GET? identity={ identity}& registryId ={registry Id}&id={id }")]
  2077           pu blic STD_W KFACTIVITY TYPE STD_W KFACTIVITY TYPE_GET_J SON(string  identity,  int regis tryId, int  id)
  2078           {
  2079                return t his.STD_WK FACTIVITYT YPE_GET(id entity, re gistryId,  id);
  2080           }
  2081  
  2082           [O perationCo ntract]
  2083           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ WKFACTIVIT YTYPE_SAVE ?identity= {identity} &registryI d={registr yId}")]
  2084           pu blic int S TD_WKFACTI VITYTYPE_S AVE_JSON(s tring iden tity, int  registryId , STD_WKFA CTIVITYTYP E objSave)
  2085           {
  2086                return t his.STD_WK FACTIVITYT YPE_SAVE(i dentity, r egistryId,  objSave);
  2087           }
  2088  
  2089           [O perationCo ntract]
  2090           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ WKFACTIVIT YTYPE_DELE TE?identit y={identit y}&registr yId={regis tryId}&id= {id}")]
  2091           pu blic Boole an STD_WKF ACTIVITYTY PE_DELETE_ JSON(strin g identity , int regi stryId, in t id)
  2092           {
  2093                return t his.STD_WK FACTIVITYT YPE_DELETE (identity,  registryI d, id);
  2094           }
  2095  
  2096           [W ebMethod]
  2097           pu blic List< STD_WKFACT IVITYTYPE>  STD_WKFAC TIVITYTYPE _GET_ALL_B Y_REGISTRY (string id entity, in t registry Id)
  2098           {
  2099                return V IRPManager .STD_WKFAC TIVITYTYPE _GET_ALL_B Y_REGISTRY (identity,  registryI d);
  2100           }
  2101  
  2102           [W ebMethod]
  2103           pu blic List< STD_WKFACT IVITYTYPE>  STD_WKFAC TIVITYTYPE _GET_ALL_B Y_WORKSTRE AM(string  identity,  int regist ryId, int  streamId)
  2104           {
  2105                return V IRPManager .STD_WKFAC TIVITYTYPE _GET_ALL_B Y_WORKSTRE AM(identit y, registr yId, strea mId);
  2106           }
  2107  
  2108           [O perationCo ntract]
  2109           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_WK FACTIVITYT YPE_GET_AL L_BY_REGIS TRY?identi ty={identi ty}&regist ryId={regi stryId}")]
  2110           pu blic List< STD_WKFACT IVITYTYPE>  STD_WKFAC TIVITYTYPE _GET_ALL_B Y_REGISTRY _XML(strin g identity , int regi stryId)
  2111           {
  2112                return t his.STD_WK FACTIVITYT YPE_GET_AL L_BY_REGIS TRY(identi ty, regist ryId);
  2113           }
  2114  
  2115           [O perationCo ntract]
  2116           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_WK FACTIVITYT YPE_GET_AL L_BY_WORKS TREAM?iden tity={iden tity}&regi stryId={re gistryId}& streamId={ streamId}" )]
  2117           pu blic List< STD_WKFACT IVITYTYPE>  STD_WKFAC TIVITYTYPE _GET_ALL_B Y_WORKSTRE AM_XML(str ing identi ty, int re gistryId,  int stream Id)
  2118           {
  2119                return t his.STD_WK FACTIVITYT YPE_GET_AL L_BY_WORKS TREAM(iden tity, regi stryId, st reamId);
  2120           }
  2121  
  2122           [O perationCo ntract]
  2123           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ WKFACTIVIT YTYPE_GET_ ALL_BY_REG ISTRY?iden tity={iden tity}&regi stryId={re gistryId}" )]
  2124           pu blic List< STD_WKFACT IVITYTYPE>  STD_WKFAC TIVITYTYPE _GET_ALL_B Y_REGISTRY _JSON(stri ng identit y, int reg istryId)
  2125           {
  2126                return t his.STD_WK FACTIVITYT YPE_GET_AL L_BY_REGIS TRY(identi ty, regist ryId);
  2127           }
  2128  
  2129           [O perationCo ntract]
  2130           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ WKFACTIVIT YTYPE_GET_ ALL_BY_WOR KSTREAM?id entity={id entity}&re gistryId={ registryId }&streamId ={streamId }")]
  2131           pu blic List< STD_WKFACT IVITYTYPE>  STD_WKFAC TIVITYTYPE _GET_ALL_B Y_WORKSTRE AM_JSON(st ring ident ity, int r egistryId,  int strea mId)
  2132           {
  2133                return t his.STD_WK FACTIVITYT YPE_GET_AL L_BY_WORKS TREAM(iden tity, regi stryId, st reamId);
  2134           }
  2135  
  2136           #e ndregion
  2137  
  2138           #r egion STD_ WKFCASESTS
  2139  
  2140           [W ebMethod]
  2141           pu blic STD_W KFCASESTS  STD_WKFCAS ESTS_GET(s tring iden tity, int  registryId , int id)
  2142           {
  2143                return V IRPManager .STD_WKFCA SESTS_GET( identity,  registryId , id);
  2144           }
  2145  
  2146           [O perationCo ntract]
  2147           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_WK FCASESTS_G ET?identit y={identit y}&registr yId={regis tryId}&id= {id}")]
  2148           pu blic STD_W KFCASESTS  STD_WKFCAS ESTS_GET_X ML(string  identity,  int regist ryId, int  id)
  2149           {
  2150                return t his.STD_WK FCASESTS_G ET(identit y, registr yId, id);
  2151           }
  2152  
  2153           [O perationCo ntract]
  2154           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ WKFCASESTS _GET?ident ity={ident ity}&regis tryId={reg istryId}&i d={id}")]
  2155           pu blic STD_W KFCASESTS  STD_WKFCAS ESTS_GET_J SON(string  identity,  int regis tryId, int  id)
  2156           {
  2157                return t his.STD_WK FCASESTS_G ET(identit y, registr yId, id);
  2158           }
  2159  
  2160           [W ebMethod]
  2161           pu blic STD_W KFCASESTS  STD_WKFCAS ESTS_GET_B Y_CODE(str ing identi ty, int re gistryId,  string cod e)
  2162           {
  2163                return V IRPManager .STD_WKFCA SESTS_GET_ BY_CODE(id entity, re gistryId,  code);
  2164           }
  2165  
  2166           [O perationCo ntract]
  2167           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_WK FCASESTS_G ET_BY_CODE ?identity= {identity} &registryI d={registr yId}&code= {code}")]
  2168           pu blic STD_W KFCASESTS  STD_WKFCAS ESTS_GET_B Y_CODE_XML (string id entity, in t registry Id, string  code)
  2169           {
  2170                return t his.STD_WK FCASESTS_G ET_BY_CODE (identity,  registryI d, code);
  2171           }
  2172  
  2173           [O perationCo ntract]
  2174           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ WKFCASESTS _GET_BY_CO DE?identit y={identit y}&registr yId={regis tryId}&cod e={code}") ]
  2175           pu blic STD_W KFCASESTS  STD_WKFCAS ESTS_GET_B Y_CODE_JSO N(string i dentity, i nt registr yId, strin g code)
  2176           {
  2177                return t his.STD_WK FCASESTS_G ET_BY_CODE (identity,  registryI d, code);
  2178           }
  2179  
  2180           #e ndregion
  2181  
  2182           #r egion STD_ WKFCASETYP E
  2183  
  2184           [W ebMethod]
  2185           pu blic STD_W KFCASETYPE  STD_WKFCA SETYPE_GET (string id entity, in t registry Id, int id )
  2186           {
  2187                return V IRPManager .STD_WKFCA SETYPE_GET (identity,  registryI d, id);
  2188           }
  2189  
  2190           [W ebMethod]
  2191           pu blic int S TD_WKFCASE TYPE_SAVE( string ide ntity, int  registryI d, STD_WKF CASETYPE o bjSave)
  2192           {
  2193                return V IRPManager .STD_WKFCA SETYPE_SAV E(identity , registry Id, objSav e);
  2194           }
  2195  
  2196           [W ebMethod]
  2197           pu blic Boole an STD_WKF CASETYPE_D ELETE(stri ng identit y, int reg istryId, i nt id)
  2198           {
  2199                return V IRPManager .STD_WKFCA SETYPE_DEL ETE(identi ty, regist ryId, id);
  2200           }
  2201  
  2202           [O perationCo ntract]
  2203           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_WK FCASETYPE_ GET?identi ty={identi ty}&regist ryId={regi stryId}&id ={id}")]
  2204           pu blic STD_W KFCASETYPE  STD_WKFCA SETYPE_GET _XML(strin g identity , int regi stryId, in t id)
  2205           {
  2206                return t his.STD_WK FCASETYPE_ GET(identi ty, regist ryId, id);
  2207           }
  2208  
  2209           [O perationCo ntract]
  2210           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_WK FCASETYPE_ SAVE?ident ity={ident ity}&regis tryId={reg istryId}") ]
  2211           pu blic int S TD_WKFCASE TYPE_SAVE_ XML(string  identity,  int regis tryId, STD _WKFCASETY PE objSave )
  2212           {
  2213                return t his.STD_WK FCASETYPE_ SAVE(ident ity, regis tryId, obj Save);
  2214           }
  2215  
  2216           [O perationCo ntract]
  2217           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_WK FCASETYPE_ DELETE?ide ntity={ide ntity}&reg istryId={r egistryId} &id={id}") ]
  2218           pu blic Boole an STD_WKF CASETYPE_D ELETE_XML( string ide ntity, int  registryI d, int id)
  2219           {
  2220                return t his.STD_WK FCASETYPE_ DELETE(ide ntity, reg istryId, i d);
  2221           }
  2222  
  2223           [O perationCo ntract]
  2224           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ WKFCASETYP E_GET?iden tity={iden tity}&regi stryId={re gistryId}& id={id}")]
  2225           pu blic STD_W KFCASETYPE  STD_WKFCA SETYPE_GET _JSON(stri ng identit y, int reg istryId, i nt id)
  2226           {
  2227                return t his.STD_WK FCASETYPE_ GET(identi ty, regist ryId, id);
  2228           }
  2229  
  2230           [O perationCo ntract]
  2231           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ WKFCASETYP E_SAVE?ide ntity={ide ntity}&reg istryId={r egistryId} ")]
  2232           pu blic int S TD_WKFCASE TYPE_SAVE_ JSON(strin g identity , int regi stryId, ST D_WKFCASET YPE objSav e)
  2233           {
  2234                return t his.STD_WK FCASETYPE_ SAVE(ident ity, regis tryId, obj Save);
  2235           }
  2236  
  2237           [O perationCo ntract]
  2238           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ WKFCASETYP E_DELETE?i dentity={i dentity}&r egistryId= {registryI d}&id={id} ")]
  2239           pu blic Boole an STD_WKF CASETYPE_D ELETE_JSON (string id entity, in t registry Id, int id )
  2240           {
  2241                return t his.STD_WK FCASETYPE_ DELETE(ide ntity, reg istryId, i d);
  2242           }
  2243  
  2244           [W ebMethod]
  2245           pu blic List< STD_WKFCAS ETYPE> STD _WKFCASETY PE_GET_ALL _BY_REGIST RY(string  identity,  int regist ryId)
  2246           {
  2247                return V IRPManager .STD_WKFCA SETYPE_GET _ALL_BY_RE GISTRY(ide ntity, reg istryId);
  2248           }
  2249  
  2250           [O perationCo ntract]
  2251           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/STD_WK FCASETYPE_ GET_ALL_BY _REGISTRY? identity={ identity}& registryId ={registry Id}")]
  2252           pu blic List< STD_WKFCAS ETYPE> STD _WKFCASETY PE_GET_ALL _BY_REGIST RY_XML(str ing identi ty, int re gistryId)
  2253           {
  2254                return t his.STD_WK FCASETYPE_ GET_ALL_BY _REGISTRY( identity,  registryId );
  2255           }
  2256  
  2257           [O perationCo ntract]
  2258           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/STD_ WKFCASETYP E_GET_ALL_ BY_REGISTR Y?identity ={identity }&registry Id={regist ryId}")]
  2259           pu blic List< STD_WKFCAS ETYPE> STD _WKFCASETY PE_GET_ALL _BY_REGIST RY_JSON(st ring ident ity, int r egistryId)
  2260           {
  2261                return t his.STD_WK FCASETYPE_ GET_ALL_BY _REGISTRY( identity,  registryId );
  2262           }
  2263  
  2264           #e ndregion
  2265  
  2266           #r egion SURV EY_RESULTS
  2267  
  2268           [W ebMethod]
  2269           pu blic List< SURVEY_RES ULTS> SURV EY_RESULTS _GET_ALL_B Y_SURVEY(s tring iden tity, int  registryId , int surv eyId)
  2270           {
  2271                return V IRPManager .SURVEY_RE SULTS_GET_ ALL_BY_SUR VEY(identi ty, regist ryId, surv eyId);
  2272           }
  2273  
  2274           [O perationCo ntract]
  2275           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/SURVEY _RESULTS_G ET_ALL_BY_ SURVEY?ide ntity={ide ntity}&reg istryId={r egistryId} &surveyId= {surveyId} ")]
  2276           pu blic List< SURVEY_RES ULTS> SURV EY_RESULTS _GET_ALL_B Y_SURVEY_X ML(string  identity,  int regist ryId, int  surveyId)
  2277           {
  2278                return t his.SURVEY _RESULTS_G ET_ALL_BY_ SURVEY(ide ntity, reg istryId, s urveyId);
  2279           }
  2280  
  2281           [O perationCo ntract]
  2282           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/SURV EY_RESULTS _GET_ALL_B Y_SURVEY?i dentity={i dentity}&r egistryId= {registryI d}&surveyI d={surveyI d}")]
  2283           pu blic List< SURVEY_RES ULTS> SURV EY_RESULTS _GET_ALL_B Y_SURVEY_J SON(string  identity,  int regis tryId, int  surveyId)
  2284           {
  2285                return t his.SURVEY _RESULTS_G ET_ALL_BY_ SURVEY(ide ntity, reg istryId, s urveyId);
  2286           }
  2287  
  2288           [W ebMethod]
  2289           pu blic Boole an SURVEY_ RESULTS_SA VE_ALL(str ing identi ty, int re gistryId,  SURVEY_RES ULTS[] res ults)
  2290           {
  2291                return V IRPManager .SURVEY_RE SULTS_SAVE _ALL(ident ity, regis tryId, res ults);
  2292           }
  2293  
  2294           [O perationCo ntract]
  2295           [W ebInvoke(M ethod = "P OST", Resp onseFormat  = WebMess ageFormat. Xml, UriTe mplate = " /Xml/SURVE Y_RESULTS_ SAVE_ALL?i dentity={i dentity}&r egistryId= {registryI d}&surveyI d={surveyI d}&results ={results} ")]
  2296           pu blic Boole an SURVEY_ RESULTS_SA VE_ALL_XML (string id entity, in t registry Id, SURVEY _RESULTS[]  results)
  2297           {
  2298                return t his.SURVEY _RESULTS_S AVE_ALL(id entity, re gistryId,  results);
  2299           }
  2300  
  2301           [O perationCo ntract]
  2302           [W ebInvoke(M ethod = "P OST", Resp onseFormat  = WebMess ageFormat. Json, UriT emplate =  "/Json/SUR VEY_RESULT S_SAVE_ALL ?identity= {identity} &registryI d={registr yId}&surve yId={surve yId}&surve yId={surve yId}")]
  2303           pu blic Boole an SURVEY_ RESULTS_SA VE_ALL_JSO N(string i dentity, i nt registr yId, SURVE Y_RESULTS[ ] results)
  2304           {
  2305                return t his.SURVEY _RESULTS_S AVE_ALL(id entity, re gistryId,  results);
  2306           }
  2307  
  2308           #e ndregion
  2309  
  2310           #r egion SURV EYS
  2311  
  2312           [W ebMethod]
  2313           pu blic SURVE YS SURVEYS _GET(strin g identity , int regi stryId, in t id)
  2314           {
  2315                return V IRPManager .SURVEYS_G ET(identit y, registr yId, id);
  2316           }
  2317  
  2318           [W ebMethod]
  2319           pu blic int S URVEYS_SAV E(string i dentity, i nt registr yId, SURVE YS objSave )
  2320           {
  2321                return V IRPManager .SURVEYS_S AVE(identi ty, regist ryId, objS ave);
  2322           }
  2323  
  2324           [W ebMethod]
  2325           pu blic Boole an SURVEYS _DELETE(st ring ident ity, int r egistryId,  int id)
  2326           {
  2327                return V IRPManager .SURVEYS_D ELETE(iden tity, regi stryId, id );
  2328           }
  2329  
  2330           [O perationCo ntract]
  2331           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/SURVEY S_GET?iden tity={iden tity}&regi stryId={re gistryId}& id={id}")]
  2332           pu blic SURVE YS SURVEYS _GET_XML(s tring iden tity, int  registryId , int id)
  2333           {
  2334                return t his.SURVEY S_GET(iden tity, regi stryId, id );
  2335           }
  2336  
  2337           [O perationCo ntract]
  2338           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/SURVEY S_SAVE?ide ntity={ide ntity}&reg istryId={r egistryId} ")]
  2339           pu blic int S URVEYS_SAV E_XML(stri ng identit y, int reg istryId, S URVEYS obj Save)
  2340           {
  2341                return t his.SURVEY S_SAVE(ide ntity, reg istryId, o bjSave);
  2342           }
  2343  
  2344           [O perationCo ntract]
  2345           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/SURVEY S_DELETE?i dentity={i dentity}&r egistryId= {registryI d}&id={id} ")]
  2346           pu blic Boole an SURVEYS _DELETE_XM L(string i dentity, i nt registr yId, int i d)
  2347           {
  2348                return t his.SURVEY S_DELETE(i dentity, r egistryId,  id);
  2349           }
  2350  
  2351           [O perationCo ntract]
  2352           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/SURV EYS_GET?id entity={id entity}&re gistryId={ registryId }&id={id}" )]
  2353           pu blic SURVE YS SURVEYS _GET_JSON( string ide ntity, int  registryI d, int id)
  2354           {
  2355                return t his.SURVEY S_GET(iden tity, regi stryId, id );
  2356           }
  2357  
  2358           [O perationCo ntract]
  2359           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/SURV EYS_SAVE?i dentity={i dentity}&r egistryId= {registryI d}")]
  2360           pu blic int S URVEYS_SAV E_JSON(str ing identi ty, int re gistryId,  SURVEYS ob jSave)
  2361           {
  2362                return t his.SURVEY S_SAVE(ide ntity, reg istryId, o bjSave);
  2363           }
  2364  
  2365           [O perationCo ntract]
  2366           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/SURV EYS_DELETE ?identity= {identity} &registryI d={registr yId}&id={i d}")]
  2367           pu blic Boole an SURVEYS _DELETE_JS ON(string  identity,  int regist ryId, int  id)
  2368           {
  2369                return t his.SURVEY S_DELETE(i dentity, r egistryId,  id);
  2370           }
  2371  
  2372           [W ebMethod]
  2373           pu blic SURVE YS SURVEYS _GET_FOR_S URVEY(stri ng identit y, int reg istryId, i nt surveys Id)
  2374           {
  2375                return V IRPManager .SURVEYS_G ET_FOR_SUR VEY(identi ty, regist ryId, surv eysId);
  2376           }
  2377  
  2378           [O perationCo ntract]
  2379           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/SURVEY S_GET_FOR_ SURVEY?ide ntity={ide ntity}&reg istryId={r egistryId} &surveysId ={surveysI d}")]
  2380           pu blic SURVE YS SURVEYS _GET_FOR_S URVEY_XML( string ide ntity, int  registryI d, int sur veysId)
  2381           {
  2382                return t his.SURVEY S_GET_FOR_ SURVEY(ide ntity, reg istryId, s urveysId);
  2383           }
  2384  
  2385           [O perationCo ntract]
  2386           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/SURV EYS_GET_FO R_SURVEY?i dentity={i dentity}&r egistryId= {registryI d}&surveys Id={survey sId}")]
  2387           pu blic SURVE YS SURVEYS _GET_FOR_S URVEY_JSON (string id entity, in t registry Id, int su rveysId)
  2388           {
  2389                return t his.SURVEY S_GET_FOR_ SURVEY(ide ntity, reg istryId, s urveysId);
  2390           }
  2391  
  2392           [W ebMethod]
  2393           pu blic List< SURVEYS> S URVEYS_GET _ALL_BY_RE GISTRY(str ing identi ty, int re gistryId)
  2394           {
  2395                return V IRPManager .SURVEYS_G ET_ALL_BY_ REGISTRY(i dentity, r egistryId) ;
  2396           }
  2397  
  2398           [O perationCo ntract]
  2399           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/SURVEY S_GET_ALL_ BY_REGISTR Y?identity ={identity }&registry Id={regist ryId}")]
  2400           pu blic List< SURVEYS> S URVEYS_GET _ALL_BY_RE GISTRY_XML (string id entity, in t registry Id)
  2401           {
  2402                return t his.SURVEY S_GET_ALL_ BY_REGISTR Y(identity , registry Id);
  2403           }
  2404  
  2405           [O perationCo ntract]
  2406           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/SURV EYS_GET_AL L_BY_REGIS TRY?identi ty={identi ty}&regist ryId={regi stryId}")]
  2407           pu blic List< SURVEYS> S URVEYS_GET _ALL_BY_RE GISTRY_JSO N(string i dentity, i nt registr yId)
  2408           {
  2409                return t his.SURVEY S_GET_ALL_ BY_REGISTR Y(identity , registry Id);
  2410           }
  2411  
  2412           #e ndregion
  2413  
  2414           #r egion USER _ROLES
  2415  
  2416           [W ebMethod]
  2417           pu blic USER_ ROLES USER _ROLES_GET _BY_USERID _ROLEID(st ring ident ity, int r egistryId,  int userI d, int rol eId)
  2418           {
  2419                return V IRPManager .USER_ROLE S_GET_BY_U SERID_ROLE ID(identit y, registr yId, userI d, roleId) ;
  2420           }
  2421  
  2422           [W ebMethod]
  2423           pu blic List< string> US ER_ROLES_G ET_BY_REGI STRYID_USE RNAME(stri ng usernam e, int reg istryId)
  2424           {
  2425                return V IRPManager .USER_ROLE S_GET_BY_R EGISTRYID_ USERNAME(u sername, r egistryId) ;
  2426           }
  2427  
  2428           [W ebMethod]
  2429           pu blic USER_ ROLES USER _ROLES_GET _BY_USER_R OLE(string  username,  string ro lename)
  2430           {
  2431                return V IRPManager .USER_ROLE S_GET_BY_U SER_ROLE(u sername, r olename);
  2432           }
  2433  
  2434           [W ebMethod]
  2435           pu blic strin g[] USER_R OLES_GET_R OLES(strin g username )
  2436           {
  2437                return V IRPManager .USER_ROLE S_GET_ROLE S(username );
  2438           }
  2439  
  2440           [W ebMethod]
  2441           pu blic List< USER_ROLES > USER_ROL ES_GET_ALL _BY_USER(s tring iden tity, int  registryId , int user Id)
  2442           {
  2443                return V IRPManager .USER_ROLE S_GET_ALL_ BY_USER(id entity, re gistryId,  userId);
  2444           }
  2445  
  2446           [W ebMethod]
  2447           pu blic bool  USER_ROLES _DELETE_BY _USER_REGI STRY(strin g identity , int regi stryId, in t userId,  int stdReg istryId)
  2448           {
  2449                return V IRPManager .USER_ROLE S_DELETE_B Y_USER_REG ISTRY(iden tity, regi stryId, us erId, stdR egistryId) ;
  2450           }
  2451  
  2452           [O perationCo ntract]
  2453           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/USER_R OLES_GET_B Y_USERID_R OLEID?iden tity={iden tity}&regi stryId={re gistryId}& userId={us erId}&role Id={roleId }")]
  2454           pu blic USER_ ROLES USER _ROLES_GET _BY_USERID _ROLEID_XM L(string i dentity, i nt registr yId, int u serId, int  roleId)
  2455           {
  2456                return t his.USER_R OLES_GET_B Y_USERID_R OLEID(iden tity, regi stryId, us erId, role Id);
  2457           }
  2458  
  2459           [O perationCo ntract]
  2460           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/USER_R OLES_GET_B Y_USER_ROL E?username ={username }&rolename ={rolename }")]
  2461           pu blic USER_ ROLES USER _ROLES_GET _BY_USER_R OLE_XML(st ring usern ame, strin g rolename )
  2462           {
  2463                return t his.USER_R OLES_GET_B Y_USER_ROL E(username , rolename );
  2464           }
  2465  
  2466           [O perationCo ntract]
  2467           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/USER_R OLES_GET_R OLES?usern ame={usern ame}")]
  2468           pu blic strin g[] USER_R OLES_GET_R OLES_XML(s tring user name)
  2469           {
  2470                return t his.USER_R OLES_GET_R OLES(usern ame);
  2471           }
  2472  
  2473           [O perationCo ntract]
  2474           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/USER_R OLES_GET_A LL_BY_USER ?identity= {identity} &registryI d={registr yId}&userI d={userId} ")]
  2475           pu blic List< USER_ROLES > USER_ROL ES_GET_ALL _BY_USER_X ML(string  identity,  int regist ryId, int  userId)
  2476           {
  2477                return t his.USER_R OLES_GET_A LL_BY_USER (identity,  registryI d, userId) ;
  2478           }
  2479  
  2480           [O perationCo ntract]
  2481           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/USER_R OLES_DELET E_BY_USER_ REGISTRY?i dentity={i dentity}&r egistryId= {registryI d}&stdRegi stryId={st dRegistryI d}")]
  2482           pu blic bool  USER_ROLES _DELETE_BY _USER_REGI STRY_XML(s tring iden tity, int  registryId , int user Id, int st dRegistryI d)
  2483           {
  2484                return t his.USER_R OLES_DELET E_BY_USER_ REGISTRY(i dentity, r egistryId,  userId, s tdRegistry Id);
  2485           }
  2486  
  2487           [O perationCo ntract]
  2488           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/USER _ROLES_GET _BY_USERID _ROLEID?id entity={id entity}&re gistryId={ registryId }&userId={ userId}&ro leId={role Id}")]
  2489           pu blic USER_ ROLES USER _ROLES_GET _BY_USERID _ROLEID_JS ON(string  identity,  int regist ryId, int  userId, in t roleId)
  2490           {
  2491                return t his.USER_R OLES_GET_B Y_USERID_R OLEID(iden tity, regi stryId, us erId, role Id);
  2492           }
  2493  
  2494           [O perationCo ntract]
  2495           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/USER _ROLES_GET _BY_USER_R OLE?userna me={userna me}&rolena me={rolena me}")]
  2496           pu blic USER_ ROLES USER _ROLES_GET _BY_USER_R OLE_JSON(s tring user name, stri ng rolenam e)
  2497           {
  2498                return t his.USER_R OLES_GET_B Y_USER_ROL E(username , rolename );
  2499           }
  2500  
  2501           [O perationCo ntract]
  2502           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/USER _ROLES_GET _ROLES?use rname={use rname}")]
  2503           pu blic strin g[] USER_R OLES_GET_R OLES_JSON( string use rname)
  2504           {
  2505                return t his.USER_R OLES_GET_R OLES(usern ame);
  2506           }
  2507  
  2508           [O perationCo ntract]
  2509           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/USER _ROLES_GET _ALL_BY_US ER?identit y={identit y}&registr yId={regis tryId}&use rId={userI d}")]
  2510           pu blic List< USER_ROLES > USER_ROL ES_GET_ALL _BY_USER_J SON(string  identity,  int regis tryId, int  userId)
  2511           {
  2512                return t his.USER_R OLES_GET_A LL_BY_USER (identity,  registryI d, userId) ;
  2513           }
  2514  
  2515           [O perationCo ntract]
  2516           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/USER _ROLES_DEL ETE_BY_USE R_REGISTRY ?identity= {identity} &registryI d={registr yId}&userI d={userId} &stdRegist ryId={stdR egistryId} ")]
  2517           pu blic bool  USER_ROLES _DELETE_BY _USER_REGI STRY_JSON( string ide ntity, int  registryI d, int use rId, int s tdRegistry Id)
  2518           {
  2519                return t his.USER_R OLES_DELET E_BY_USER_ REGISTRY(i dentity, r egistryId,  userId, s tdRegistry Id);
  2520           }
  2521  
  2522           [W ebMethod]
  2523           pu blic bool  USER_ROLES _SAVE_ALL( string ide ntity, int  registryI d, USER_RO LES[] user Roles)
  2524           {
  2525                return V IRPManager .USER_ROLE S_SAVE_ALL (identity,  registryI d, userRol es);
  2526           }
  2527  
  2528           [O perationCo ntract]
  2529           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/USER_R OLES_SAVE_ ALL?identi ty={identi ty}&regist ryId={regi stryId}&us erId={user Id}&stdReg istryId={s tdRegistry Id}&userRo les={userR oles}")]
  2530           pu blic bool  USER_ROLES _SAVE_ALL_ XML(string  identity,  int regis tryId, USE R_ROLES[]  userRoles)
  2531           {
  2532                return t his.USER_R OLES_SAVE_ ALL(identi ty, regist ryId, user Roles);
  2533           }
  2534  
  2535           [O perationCo ntract]
  2536           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/USER _ROLES_SAV E_ALL?iden tity={iden tity}&regi stryId={re gistryId}& userId={us erId}&stdR egistryId= {stdRegist ryId}&user Roles={use rRoles}")]
  2537           pu blic bool  USER_ROLES _SAVE_ALL_ JSON(strin g identity , int regi stryId, US ER_ROLES[]  userRoles )
  2538           {
  2539                return t his.USER_R OLES_SAVE_ ALL(identi ty, regist ryId, user Roles);
  2540           }
  2541  
  2542           #e ndregion
  2543  
  2544           #r egion USER S
  2545  
  2546           [W ebMethod]
  2547           pu blic USERS  USERS_GET (string id entity, in t registry Id, int id )
  2548           {
  2549                return V IRPManager .USERS_GET (identity,  registryI d, id);
  2550           }
  2551  
  2552           [W ebMethod]
  2553           pu blic List< USERS> USE RS_GET_ALL (string id entity, in t registry Id)
  2554           {
  2555                return V IRPManager .USERS_GET _ALL(ident ity, regis tryId);
  2556           }
  2557  
  2558           [W ebMethod]
  2559           pu blic int U SERS_SAVE( string ide ntity, int  registryI d, USERS o bjSave)
  2560           {
  2561                return V IRPManager .USERS_SAV E(identity , registry Id, objSav e);
  2562           }
  2563  
  2564           [W ebMethod]
  2565           pu blic Boole an USERS_D ELETE(stri ng identit y, int reg istryId, i nt id)
  2566           {
  2567                return V IRPManager .USERS_DEL ETE(identi ty, regist ryId, id);
  2568           }
  2569  
  2570           [O perationCo ntract]
  2571           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/USERS_ GET?identi ty={identi ty}&regist ryId={regi stryId}&id ={id}")]
  2572           pu blic USERS  USERS_GET _XML(strin g identity , int regi stryId, in t id)
  2573           {
  2574                return t his.USERS_ GET(identi ty, regist ryId, id);
  2575           }
  2576  
  2577           [O perationCo ntract]
  2578           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/USERS_ GET_ALL?id entity={id entity}&re gistryId={ registryId }")]
  2579           pu blic List< USERS> USE RS_GET_ALL _XML(strin g identity , int regi stryId)
  2580           {
  2581                return t his.USERS_ GET_ALL(id entity, re gistryId);
  2582           }
  2583  
  2584           [O perationCo ntract]
  2585           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/USERS_ SAVE?ident ity={ident ity}&regis tryId={reg istryId}") ]
  2586           pu blic int U SERS_SAVE_ XML(string  identity,  int regis tryId, USE RS objSave )
  2587           {
  2588                return t his.USERS_ SAVE(ident ity, regis tryId, obj Save);
  2589           }
  2590  
  2591           [O perationCo ntract]
  2592           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/USERS_ DELETE?ide ntity={ide ntity}&reg istryId={r egistryId} &id={id}") ]
  2593           pu blic Boole an USERS_D ELETE_XML( string ide ntity, int  registryI d, int id)
  2594           {
  2595                return t his.USERS_ DELETE(ide ntity, reg istryId, i d);
  2596           }
  2597  
  2598           [O perationCo ntract]
  2599           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/USER S_GET?iden tity={iden tity}&regi stryId={re gistryId}& id={id}")]
  2600           pu blic USERS  USERS_GET _JSON(stri ng identit y, int reg istryId, i nt id)
  2601           {
  2602                return t his.USERS_ GET(identi ty, regist ryId, id);
  2603           }
  2604  
  2605           [O perationCo ntract]
  2606           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/USER S_GET_ALL? identity={ identity}& registryId ={registry Id}")]
  2607           pu blic List< USERS> USE RS_GET_ALL _JSON(stri ng identit y, int reg istryId)
  2608           {
  2609                return t his.USERS_ GET_ALL(id entity, re gistryId);
  2610           }
  2611  
  2612           [O perationCo ntract]
  2613           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/USER S_SAVE?ide ntity={ide ntity}&reg istryId={r egistryId} ")]
  2614           pu blic int U SERS_SAVE_ JSON(strin g identity , int regi stryId, US ERS objSav e)
  2615           {
  2616                return t his.USERS_ SAVE(ident ity, regis tryId, obj Save);
  2617           }
  2618  
  2619           [O perationCo ntract]
  2620           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/USER S_DELETE?i dentity={i dentity}&r egistryId= {registryI d}&id={id} ")]
  2621           pu blic Boole an USERS_D ELETE_JSON (string id entity, in t registry Id, int id )
  2622           {
  2623                return t his.USERS_ DELETE(ide ntity, reg istryId, i d);
  2624           }
  2625  
  2626           [W ebMethod]
  2627           pu blic USERS  USERS_GET _BY_NAME(s tring iden tity, int  registryId , string u sername)
  2628           {
  2629                return V IRPManager .USERS_GET _BY_NAME(i dentity, r egistryId,  username) ;
  2630           }
  2631  
  2632           [O perationCo ntract]
  2633           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/USERS_ GET_BY_NAM E?identity ={identity }&registry Id={regist ryId}&user name={user name}")]
  2634           pu blic USERS  USERS_GET _BY_NAME_X ML(string  identity,  int regist ryId, stri ng usernam e)
  2635           {
  2636                return t his.USERS_ GET_BY_NAM E(identity , registry Id, userna me);
  2637           }
  2638  
  2639           [O perationCo ntract]
  2640           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/USER S_GET_BY_N AME?identi ty={identi ty}&regist ryId={regi stryId}&us ername={us ername}")]
  2641           pu blic USERS  USERS_GET _BY_NAME_J SON(string  identity,  int regis tryId, str ing userna me)
  2642           {
  2643                return t his.USERS_ GET_BY_NAM E(identity , registry Id, userna me);
  2644           }
  2645  
  2646           [W ebMethod]
  2647           pu blic bool  USERS_DEFA ULT_REGIST RY(string  identity,  int regist ryId, bool  isDefault )
  2648           {
  2649                return V IRPManager .USERS_DEF AULT_REGIS TRY(identi ty, regist ryId, isDe fault);
  2650           }
  2651  
  2652           [O perationCo ntract]
  2653           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/USERS_ DEFAULT_RE GISTRY?ide ntity={ide ntity}&reg istryId={r egistryId} &isDefault ={isDefaul t}")]
  2654           pu blic bool  USERS_DEFA ULT_REGIST RY_XML(str ing identi ty, int re gistryId,  bool isDef ault)
  2655           {
  2656                return t his.USERS_ DEFAULT_RE GISTRY(ide ntity, reg istryId, i sDefault);
  2657           }
  2658  
  2659           [O perationCo ntract]
  2660           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/USER S_DEFAULT_ REGISTRY?i dentity={i dentity}&r egistryId= {registryI d}&isDefau lt={isDefa ult}")]
  2661           pu blic bool  USERS_DEFA ULT_REGIST RY_JSON(st ring ident ity, int r egistryId,  bool isDe fault)
  2662           {
  2663                return t his.USERS_ DEFAULT_RE GISTRY(ide ntity, reg istryId, i sDefault);
  2664           }
  2665  
  2666           [W ebMethod]
  2667           pu blic Domai nNames USE RS_LOAD_FR OM_AD()
  2668           {
  2669                return V IRPManager .USERS_LOA D_FROM_AD( );
  2670           }
  2671  
  2672           [W ebMethod]
  2673           pu blic List< DomainUser > USERS_GE T_ALL_BY_A D(DomainNa mes domain Names, str ing search String)
  2674           {
  2675                return V IRPManager .USERS_GET _ALL_BY_AD (domainNam es, search String);
  2676           }
  2677  
  2678           [W ebMethod]
  2679           pu blic List< USERS> USE RS_GET_ALL _BY_USER(s tring iden tity, int  registryId )
  2680           {
  2681                return V IRPManager .USERS_GET _ALL_BY_US ER(identit y, registr yId);
  2682           }
  2683  
  2684           [O perationCo ntract]
  2685           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/USERS_ LOAD_FROM_ AD")]
  2686           pu blic Domai nNames USE RS_LOAD_FR OM_AD_XML( )
  2687           {
  2688                return t his.USERS_ LOAD_FROM_ AD();
  2689           }
  2690  
  2691           [O perationCo ntract]
  2692           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/USERS_ GET_ALL_BY _AD?domain Names={dom ainNames}& searchStri ng={search String}")]
  2693           pu blic List< DomainUser > USERS_GE T_ALL_BY_A D_XML(Doma inNames do mainNames,  string se archString )
  2694           {
  2695                return t his.USERS_ GET_ALL_BY _AD(domain Names, sea rchString) ;
  2696           }
  2697  
  2698           [O perationCo ntract]
  2699           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/USERS_ GET_ALL_BY _USER?iden tity={iden tity}&regi stryId={re gistryId}" )]
  2700           pu blic List< USERS> USE RS_GET_ALL _BY_USER_X ML(string  identity,  int regist ryId)
  2701           {
  2702                return t his.USERS_ GET_ALL_BY _USER(iden tity, regi stryId);
  2703           }
  2704  
  2705           [O perationCo ntract]
  2706           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/USER S_LOAD_FRO M_AD")]
  2707           pu blic Domai nNames USE RS_LOAD_FR OM_AD_JSON ()
  2708           {
  2709                return t his.USERS_ LOAD_FROM_ AD();
  2710           }
  2711  
  2712           [O perationCo ntract]
  2713           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/USER S_GET_ALL_ BY_AD?doma inNames={d omainNames }&searchSt ring={sear chString}" )]
  2714           pu blic List< DomainUser > USERS_GE T_ALL_BY_A D_JSON(Dom ainNames d omainNames , string s earchStrin g)
  2715           {
  2716                return t his.USERS_ GET_ALL_BY _AD(domain Names, sea rchString) ;
  2717           }
  2718  
  2719           [O perationCo ntract]
  2720           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/USER S_GET_ALL_ BY_USER?id entity={id entity}&re gistryId={ registryId }")]
  2721           pu blic List< USERS> USE RS_GET_ALL _BY_USER_J SON(string  identity,  int regis tryId)
  2722           {
  2723                return t his.USERS_ GET_ALL_BY _USER(iden tity, regi stryId);
  2724           }
  2725  
  2726           #e ndregion
  2727  
  2728           #r egion WKF_ CASE
  2729  
  2730           [W ebMethod]
  2731           pu blic WKF_C ASE WKF_CA SE_GET(str ing identi ty, int re gistryId,  int id)
  2732           {
  2733                return V IRPManager .WKF_CASE_ GET(identi ty, regist ryId, id);
  2734           }
  2735  
  2736           [W ebMethod]
  2737           pu blic WKF_C ASE WKF_CA SE_GET_BY_ ACTIVITY(s tring iden tity, int  registryId , int acti vityId)
  2738           {
  2739                return V IRPManager .WKF_CASE_ GET_BY_ACT IVITY(iden tity, regi stryId, ac tivityId);
  2740           }
  2741  
  2742           [W ebMethod]
  2743           pu blic List< WKF_CASE>  WKF_CASE_G ET_ALL_BY_ REFERRAL(s tring iden tity, int  registryId , int refe rralId)
  2744           {
  2745                return V IRPManager .WKF_CASE_ GET_ALL_BY _REFERRAL( identity,  registryId , referral Id);
  2746           }
  2747  
  2748           [W ebMethod]
  2749           pu blic LabOr derPatient  LabOrderP atient_GET (string id entity, in t registry Id, int ac tivityId)
  2750           {
  2751                return V IRPManager .LabOrderP atient_GET (identity,  registryI d, activit yId);
  2752           }
  2753  
  2754           [W ebMethod]
  2755           pu blic List< LabKitOrde rGroup> Ki tOrderGrou ps_GET_ALL (string id entity, in t registry Id)
  2756           {
  2757                return V IRPManager .KitOrderG roups_GET_ ALL(identi ty, regist ryId);
  2758           }
  2759  
  2760           [W ebMethod]
  2761           pu blic List< LabKitOrde rPatientsB O> LabKitO rders_GET_ ALL(string  identity,  int regis tryId, Int 32 institu tionId, In t32 wkfCas eTypeId)
  2762           {
  2763                return V IRPManager .LabKitOrd ers_GET_AL L(identity , registry Id, instit utionId, w kfCaseType Id);
  2764           }
  2765  
  2766           [W ebMethod]
  2767           pu blic int W KF_CASE_SA VE(string  identity,  int regist ryId, WKF_ CASE objSa ve)
  2768           {
  2769                return V IRPManager .WKF_CASE_ SAVE(ident ity, regis tryId, obj Save);
  2770           }
  2771  
  2772           [W ebMethod]
  2773           pu blic Boole an WKF_CAS E_DELETE(s tring iden tity, int  registryId , int id)
  2774           {
  2775                return V IRPManager .WKF_CASE_ DELETE(ide ntity, reg istryId, i d);
  2776           }
  2777  
  2778           [O perationCo ntract]
  2779           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/WKF_CA SE_GET?ide ntity={ide ntity}&reg istryId={r egistryId} &id={id}") ]
  2780           pu blic WKF_C ASE WKF_CA SE_GET_XML (string id entity, in t registry Id, int id )
  2781           {
  2782                return t his.WKF_CA SE_GET(ide ntity, reg istryId, i d);
  2783           }
  2784  
  2785           [O perationCo ntract]
  2786           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/WKF_CA SE_SAVE?id entity={id entity}&re gistryId={ registryId }")]
  2787           pu blic int W KF_CASE_SA VE_XML(str ing identi ty, int re gistryId,  WKF_CASE o bjSave)
  2788           {
  2789                return t his.WKF_CA SE_SAVE(id entity, re gistryId,  objSave);
  2790           }
  2791  
  2792           [O perationCo ntract]
  2793           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/WKF_CA SE_DELETE? identity={ identity}& registryId ={registry Id}&id={id }")]
  2794           pu blic Boole an WKF_CAS E_DELETE_X ML(string  identity,  int regist ryId, int  id)
  2795           {
  2796                return t his.WKF_CA SE_DELETE( identity,  registryId , id);
  2797           }
  2798  
  2799           [O perationCo ntract]
  2800           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/WKF_ CASE_GET?i dentity={i dentity}&r egistryId= {registryI d}&id={id} ")]
  2801           pu blic WKF_C ASE WKF_CA SE_GET_JSO N(string i dentity, i nt registr yId, int i d)
  2802           {
  2803                return t his.WKF_CA SE_GET(ide ntity, reg istryId, i d);
  2804           }
  2805  
  2806           [O perationCo ntract]
  2807           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/WKF_ CASE_SAVE? identity={ identity}& registryId ={registry Id}")]
  2808           pu blic int W KF_CASE_SA VE_JSON(st ring ident ity, int r egistryId,  WKF_CASE  objSave)
  2809           {
  2810                return t his.WKF_CA SE_SAVE(id entity, re gistryId,  objSave);
  2811           }
  2812  
  2813           [O perationCo ntract]
  2814           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/WKF_ CASE_DELET E?identity ={identity }&registry Id={regist ryId}&id={ id}")]
  2815           pu blic Boole an WKF_CAS E_DELETE_J SON(string  identity,  int regis tryId, int  id)
  2816           {
  2817                return t his.WKF_CA SE_DELETE( identity,  registryId , id);
  2818           }
  2819  
  2820           [W ebMethod]
  2821           pu blic List< WKF_CASE>  WKF_CASE_G ET_ALL_BY_ REGISTRY(s tring iden tity, int  registryId )
  2822           {
  2823                return V IRPManager .WKF_CASE_ GET_ALL_BY _REGISTRY( identity,  registryId );
  2824           }
  2825  
  2826           [O perationCo ntract]
  2827           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/WKF_CA SE_GET_ALL _BY_REGIST RY?identit y={identit y}&registr yId={regis tryId}")]
  2828           pu blic List< WKF_CASE>  WKF_CASE_G ET_ALL_BY_ REGISTRY_X ML(string  identity,  int regist ryId)
  2829           {
  2830                return t his.WKF_CA SE_GET_ALL _BY_REGIST RY(identit y, registr yId);
  2831           }
  2832  
  2833           [O perationCo ntract]
  2834           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/WKF_ CASE_GET_A LL_BY_REGI STRY?ident ity={ident ity}&regis tryId={reg istryId}") ]
  2835           pu blic List< WKF_CASE>  WKF_CASE_G ET_ALL_BY_ REGISTRY_J SON(string  identity,  int regis tryId)
  2836           {
  2837                return t his.WKF_CA SE_GET_ALL _BY_REGIST RY(identit y, registr yId);
  2838           }
  2839  
  2840           [W ebMethod]
  2841           pu blic bool  WKF_CASE_U PDATE_STAT US(string  identity,  int regist ryId, int  wkfCaseId,  int statu sId)
  2842           {
  2843                return V IRPManager .WKF_CASE_ UPDATE_STA TUS(identi ty, regist ryId, wkfC aseId, sta tusId);
  2844           }
  2845  
  2846           [O perationCo ntract]
  2847           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/WKF_CA SE_UPDATE_ STATUS?ide ntity={ide ntity}&reg istryId={r egistryId} &wkfCaseId ={wkfCaseI d}&statusI d={statusI d}")]
  2848           pu blic bool  WKF_CASE_U PDATE_STAT US_XML(str ing identi ty, int re gistryId,  int wkfCas eId, int s tatusId)
  2849           {
  2850                return t his.WKF_CA SE_UPDATE_ STATUS(ide ntity, reg istryId, w kfCaseId,  statusId);
  2851           }
  2852  
  2853           [O perationCo ntract]
  2854           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/WKF_ CASE_UPDAT E_STATUS?i dentity={i dentity}&r egistryId= {registryI d}&wkfCase Id={wkfCas eId}&statu sId={statu sId}")]
  2855           pu blic bool  WKF_CASE_U PDATE_STAT US_JSON(st ring ident ity, int r egistryId,  int wkfCa seId, int  statusId)
  2856           {
  2857                return t his.WKF_CA SE_UPDATE_ STATUS(ide ntity, reg istryId, w kfCaseId,  statusId);
  2858           }
  2859  
  2860           #e ndregion
  2861  
  2862           #r egion WKF_ CASE_ACTIV ITY
  2863  
  2864           [W ebMethod]
  2865           pu blic WKF_C ASE_ACTIVI TY WKF_CAS E_ACTIVITY _GET(strin g identity , int regi stryId, in t id)
  2866           {
  2867                return V IRPManager .WKF_CASE_ ACTIVITY_G ET(identit y, registr yId, id);
  2868           }
  2869  
  2870           [W ebMethod]
  2871           pu blic int W KF_CASE_AC TIVITY_SAV E(string i dentity, i nt registr yId, WKF_C ASE_ACTIVI TY objSave )
  2872           {
  2873                return V IRPManager .WKF_CASE_ ACTIVITY_S AVE(identi ty, regist ryId, objS ave);
  2874           }
  2875  
  2876           [W ebMethod]
  2877           pu blic int W KF_CASE_AC TIVITY_SAV EALL(strin g identity , int regi stryId, Li st<WKF_CAS E_ACTIVITY > objSave)
  2878           {
  2879                return V IRPManager .WKF_CASE_ ACTIVITY_S AVEALL(ide ntity, reg istryId, o bjSave);
  2880           }
  2881  
  2882           [W ebMethod]
  2883           pu blic Boole an WKF_CAS E_ACTIVITY _DELETE(st ring ident ity, int r egistryId,  int id)
  2884           {
  2885                return V IRPManager .WKF_CASE_ ACTIVITY_D ELETE(iden tity, regi stryId, id );
  2886           }
  2887  
  2888           [O perationCo ntract]
  2889           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/WKF_CA SE_ACTIVIT Y_GET?iden tity={iden tity}&regi stryId={re gistryId}& id={id}")]
  2890           pu blic WKF_C ASE_ACTIVI TY WKF_CAS E_ACTIVITY _GET_XML(s tring iden tity, int  registryId , int id)
  2891           {
  2892                return t his.WKF_CA SE_ACTIVIT Y_GET(iden tity, regi stryId, id );
  2893           }
  2894  
  2895           [O perationCo ntract]
  2896           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/WKF_CA SE_ACTIVIT Y_SAVE?ide ntity={ide ntity}&reg istryId={r egistryId} ")]
  2897           pu blic int W KF_CASE_AC TIVITY_SAV E_XML(stri ng identit y, int reg istryId, W KF_CASE_AC TIVITY obj Save)
  2898           {
  2899                return t his.WKF_CA SE_ACTIVIT Y_SAVE(ide ntity, reg istryId, o bjSave);
  2900           }
  2901  
  2902           [O perationCo ntract]
  2903           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/WKF_CA SE_ACTIVIT Y_DELETE?i dentity={i dentity}&r egistryId= {registryI d}&id={id} ")]
  2904           pu blic Boole an WKF_CAS E_ACTIVITY _DELETE_XM L(string i dentity, i nt registr yId, int i d)
  2905           {
  2906                return t his.WKF_CA SE_ACTIVIT Y_DELETE(i dentity, r egistryId,  id);
  2907           }
  2908  
  2909           [O perationCo ntract]
  2910           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/WKF_ CASE_ACTIV ITY_GET?id entity={id entity}&re gistryId={ registryId }&id={id}" )]
  2911           pu blic WKF_C ASE_ACTIVI TY WKF_CAS E_ACTIVITY _GET_JSON( string ide ntity, int  registryI d, int id)
  2912           {
  2913                return t his.WKF_CA SE_ACTIVIT Y_GET(iden tity, regi stryId, id );
  2914           }
  2915  
  2916           [O perationCo ntract]
  2917           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/WKF_ CASE_ACTIV ITY_SAVE?i dentity={i dentity}&r egistryId= {registryI d}")]
  2918           pu blic int W KF_CASE_AC TIVITY_SAV E_JSON(str ing identi ty, int re gistryId,  WKF_CASE_A CTIVITY ob jSave)
  2919           {
  2920                return t his.WKF_CA SE_ACTIVIT Y_SAVE(ide ntity, reg istryId, o bjSave);
  2921           }
  2922  
  2923           [O perationCo ntract]
  2924           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/WKF_ CASE_ACTIV ITY_DELETE ?identity= {identity} &registryI d={registr yId}&id={i d}")]
  2925           pu blic Boole an WKF_CAS E_ACTIVITY _DELETE_JS ON(string  identity,  int regist ryId, int  id)
  2926           {
  2927                return t his.WKF_CA SE_ACTIVIT Y_DELETE(i dentity, r egistryId,  id);
  2928           }
  2929  
  2930           [W ebMethod]
  2931           pu blic List< KitOrders>  KitOrders _GET_ALL(s tring iden tity, int  registryId )
  2932           {
  2933                return V IRPManager .KitOrders _GET_ALL(i dentity, r egistryId) ;
  2934           }
  2935  
  2936           [W ebMethod]
  2937           pu blic List< LabResult>  LabResult _GET_NEW(s tring iden tity, int  registryId , int acti vityStatus Id)
  2938           {
  2939                return V IRPManager .LabResult _GET_NEW(i dentity, r egistryId,  activityS tatusId);
  2940           }
  2941  
  2942           [W ebMethod]
  2943           pu blic List< WKF_CASE_A CTIVITY> W KF_CASE_AC TIVITY_GET _ALL_BY_RE GISTRY(str ing identi ty, int re gistryId)
  2944           {
  2945                return V IRPManager .WKF_CASE_ ACTIVITY_G ET_ALL_BY_ REGISTRY(i dentity, r egistryId) ;
  2946           }
  2947  
  2948           [O perationCo ntract]
  2949           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/WKF_CA SE_ACTIVIT Y_GET_ALL_ BY_REGISTR Y?identity ={identity }&registry Id={regist ryId}")]
  2950           pu blic List< WKF_CASE_A CTIVITY> W KF_CASE_AC TIVITY_GET _ALL_BY_RE GISTRY_XML (string id entity, in t registry Id)
  2951           {
  2952                return t his.WKF_CA SE_ACTIVIT Y_GET_ALL_ BY_REGISTR Y(identity , registry Id);
  2953           }
  2954  
  2955           [O perationCo ntract]
  2956           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/WKF_ CASE_ACTIV ITY_GET_AL L_BY_REGIS TRY?identi ty={identi ty}&regist ryId={regi stryId}")]
  2957           pu blic List< WKF_CASE_A CTIVITY> W KF_CASE_AC TIVITY_GET _ALL_BY_RE GISTRY_JSO N(string i dentity, i nt registr yId)
  2958           {
  2959                return t his.WKF_CA SE_ACTIVIT Y_GET_ALL_ BY_REGISTR Y(identity , registry Id);
  2960           }
  2961  
  2962           [W ebMethod]
  2963           pu blic List< WKF_CASE_A CTIVITY> W KF_CASE_AC TIVITY_GET _ALL_BY_WO RKSTREAM(s tring iden tity, int  registryId , int wkfC aseId)
  2964           {
  2965                return V IRPManager .WKF_CASE_ ACTIVITY_G ET_ALL_BY_ WORKSTREAM (identity,  registryI d, wkfCase Id);
  2966           }
  2967  
  2968           [O perationCo ntract]
  2969           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/WKF_CA SE_ACTIVIT Y_GET_ALL_ BY_WORKSTR EAM?identi ty={identi ty}&regist ryId={regi stryId}&wk fCaseId={w kfCaseId}" )]
  2970           pu blic List< WKF_CASE_A CTIVITY> W KF_CASE_AC TIVITY_GET _ALL_BY_WO RKSTREAM_X ML(string  identity,  int regist ryId, int  wkfCaseId)
  2971           {
  2972                return t his.WKF_CA SE_ACTIVIT Y_GET_ALL_ BY_WORKSTR EAM(identi ty, regist ryId, wkfC aseId);
  2973           }
  2974  
  2975           [O perationCo ntract]
  2976           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/WKF_ CASE_ACTIV ITY_GET_AL L_BY_WORKS TREAM?iden tity={iden tity}&regi stryId={re gistryId}& wkfCaseId= {wkfCaseId }")]
  2977           pu blic List< WKF_CASE_A CTIVITY> W KF_CASE_AC TIVITY_GET _ALL_BY_WO RKSTREAM_J SON(string  identity,  int regis tryId, int  wkfCaseId )
  2978           {
  2979                return t his.WKF_CA SE_ACTIVIT Y_GET_ALL_ BY_WORKSTR EAM(identi ty, regist ryId, wkfC aseId);
  2980           }
  2981  
  2982           [W ebMethod]
  2983           pu blic List< LabOrderBy Status> WK F_CASE_ACT IVITY_GET_ ALL_BY_STA TUS(string  identity,  int regis tryId, int  statusId)
  2984           {
  2985                return V IRPManager .WKF_CASE_ ACTIVITY_G ET_ALL_BY_ STATUS(ide ntity, reg istryId, s tatusId);
  2986           }
  2987  
  2988           [W ebMethod]
  2989           pu blic bool  WKF_CASE_A CTIVITY_UP DATE_STATU S(string i dentity, i nt registr yId, int w kfCaseActi vityId, in t statusId )
  2990           {
  2991                return V IRPManager .WKF_CASE_ ACTIVITY_U PDATE_STAT US(identit y, registr yId, wkfCa seActivity Id, status Id);
  2992           }
  2993  
  2994           [O perationCo ntract]
  2995           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/WKF_CA SE_ACTIVIT Y_UPDATE_S TATUS?iden tity={iden tity}&regi stryId={re gistryId}& wkfCaseAct ivityId={w kfCaseActi vityId}&st atusId={st atusId}")]
  2996           pu blic bool  WKF_CASE_A CTIVITY_UP DATE_STATU S_XML(stri ng identit y, int reg istryId, i nt wkfCase ActivityId , int stat usId)
  2997           {
  2998                return t his.WKF_CA SE_ACTIVIT Y_UPDATE_S TATUS(iden tity, regi stryId, wk fCaseActiv ityId, sta tusId);
  2999           }
  3000  
  3001           [O perationCo ntract]
  3002           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/WKF_ CASE_ACTIV ITY_UPDATE _STATUS?id entity={id entity}&re gistryId={ registryId }&wkfCaseA ctivityId= {wkfCaseAc tivityId}& statusId={ statusId}" )]
  3003           pu blic bool  WKF_CASE_A CTIVITY_UP DATE_STATU S_JSON(str ing identi ty, int re gistryId,  int wkfCas eActivityI d, int sta tusId)
  3004           {
  3005                return t his.WKF_CA SE_ACTIVIT Y_UPDATE_S TATUS(iden tity, regi stryId, wk fCaseActiv ityId, sta tusId);
  3006           }
  3007  
  3008           #e ndregion
  3009  
  3010           #r egion LOGS
  3011  
  3012           [W ebMethod]
  3013           pu blic void  LOG_DETAIL S(LogDetai ls logDeta ils)
  3014           {
  3015                VIRPMana ger.LOG_DE TAILS(logD etails);
  3016           }
  3017  
  3018           [W ebMethod]
  3019           pu blic void  LOG_TIMING (LogDetail s logDetai ls)
  3020           {
  3021                VIRPMana ger.LOG_TI MING(logDe tails);
  3022           }
  3023  
  3024           [W ebMethod]
  3025           pu blic void  LOG_INFORM ATION(stri ng message , string p rocessName , string u sername, i nt registr yId)
  3026           {
  3027                VIRPMana ger.LOG_IN FORMATION( message, p rocessName , username , registry Id);
  3028           }
  3029  
  3030           [W ebMethod]
  3031           pu blic void  LOG_ERROR( string mes sage, stri ng process Name, stri ng usernam e, int reg istryId)
  3032           {
  3033                VIRPMana ger.LOG_ER ROR(messag e, process Name, user name, regi stryId);
  3034           }
  3035  
  3036           [O perationCo ntract]
  3037           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/LOG_DE TAILS?logD etails={lo gDetails}" )]
  3038           pu blic void  LOG_DETAIL S_XML(LogD etails log Details)
  3039           {
  3040                this.LOG _DETAILS(l ogDetails) ;
  3041           }
  3042  
  3043           [O perationCo ntract]
  3044           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/LOG_TI MING?logDe tails={log Details}") ]
  3045           pu blic void  LOG_TIMING _XML(LogDe tails logD etails)
  3046           {
  3047                this.LOG _TIMING(lo gDetails);
  3048           }
  3049  
  3050           [O perationCo ntract]
  3051           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/LOG_IN FORMATION? message={m essage}&pr ocessName= {processNa me}&userna me={userna me}&regist ryId={regi stryId}")]
  3052           pu blic void  LOG_INFORM ATION_XML( string mes sage, stri ng process Name, stri ng usernam e, int reg istryId)
  3053           {
  3054                this.LOG _INFORMATI ON(message , processN ame, usern ame, regis tryId);
  3055           }
  3056  
  3057           [O perationCo ntract]
  3058           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/LOG_ER ROR?messag e={message }&processN ame={proce ssName}&us ername={us ername}&re gistryId={ registryId }")]
  3059           pu blic void  LOG_ERROR_ XML(string  message,  string pro cessName,  string use rname, int  registryI d)
  3060           {
  3061                this.LOG _ERROR(mes sage, proc essName, u sername, r egistryId) ;
  3062           }
  3063  
  3064           [O perationCo ntract]
  3065           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/LOG_ DETAILS?lo gDetails={ logDetails }")]
  3066           pu blic void  LOG_DETAIL S_JSON(Log Details lo gDetails)
  3067           {
  3068                this.LOG _DETAILS(l ogDetails) ;
  3069           }
  3070  
  3071           [O perationCo ntract]
  3072           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/LOG_ TIMING?log Details={l ogDetails} ")]
  3073           pu blic void  LOG_TIMING _JSON(LogD etails log Details)
  3074           {
  3075                this.LOG _TIMING(lo gDetails);
  3076           }
  3077  
  3078           [O perationCo ntract]
  3079           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/LOG_ INFORMATIO N?message= {message}& processNam e={process Name}&user name={user name}&regi stryId={re gistryId}" )]
  3080           pu blic void  LOG_INFORM ATION_JSON (string me ssage, str ing proces sName, str ing userna me, int re gistryId)
  3081           {
  3082                this.LOG _INFORMATI ON(message , processN ame, usern ame, regis tryId);
  3083           }
  3084  
  3085           [O perationCo ntract]
  3086           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/LOG_ ERROR?mess age={messa ge}&proces sName={pro cessName}& username={ username}& registryId ={registry Id}")]
  3087           pu blic void  LOG_ERROR_ JSON(strin g message,  string pr ocessName,  string us ername, in t registry Id)
  3088           {
  3089                this.LOG _ERROR(mes sage, proc essName, u sername, r egistryId) ;
  3090           }
  3091  
  3092           #e ndregion
  3093  
  3094           #r egion REPO RTS
  3095  
  3096           [W ebMethod]
  3097           pu blic List< ReportItem > REPORTS_ GET_ALL_BY _USER_REGI STRY(strin g identity , int regi stryId)
  3098           {
  3099                return V IRPManager .REPORTS_G ET_ALL_BY_ USER_REGIS TRY(identi ty, regist ryId);
  3100           }
  3101  
  3102           [O perationCo ntract]
  3103           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/REPORT S_GET_ALL_ BY_USER_RE GISTRY?ide ntity={ide ntity}&reg istryId={r egistryId} ")]
  3104           pu blic List< ReportItem > REPORTS_ GET_ALL_BY _USER_REGI STRY_XML(s tring iden tity, int  registryId )
  3105           {
  3106                return t his.REPORT S_GET_ALL_ BY_USER_RE GISTRY(ide ntity, reg istryId);
  3107           }
  3108  
  3109           [O perationCo ntract]
  3110           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/REPO RTS_GET_AL L_BY_USER_ REGISTRY?i dentity={i dentity}&r egistryId= {registryI d}")]
  3111           pu blic List< ReportItem > REPORTS_ GET_ALL_BY _USER_REGI STRY_JSON( string ide ntity, int  registryI d)
  3112           {
  3113                return t his.REPORT S_GET_ALL_ BY_USER_RE GISTRY(ide ntity, reg istryId);
  3114           }
  3115  
  3116           [W ebMethod]
  3117           pu blic List< ReportItem > REPORTS_ GET_ALL_BY _REGISTRY( string ide ntity, int  registryI d)
  3118           {
  3119                return V IRPManager .REPORTS_G ET_ALL_BY_ REGISTRY(i dentity, r egistryId) ;
  3120           }
  3121  
  3122           [O perationCo ntract]
  3123           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/REPORT S_GET_ALL_ BY_REGISTR Y?identity ={identity }&registry Id={regist ryId}")]
  3124           pu blic List< ReportItem > REPORTS_ GET_ALL_BY _REGISTRY_ XML(string  identity,  int regis tryId)
  3125           {
  3126                return t his.REPORT S_GET_ALL_ BY_REGISTR Y(identity , registry Id);
  3127           }
  3128  
  3129           [O perationCo ntract]
  3130           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/REPO RTS_GET_AL L_BY_REGIS TRY?identi ty={identi ty}&regist ryId={regi stryId}")]
  3131           pu blic List< ReportItem > REPORTS_ GET_ALL_BY _REGISTRY_ JSON(strin g identity , int regi stryId)
  3132           {
  3133                return t his.REPORT S_GET_ALL_ BY_REGISTR Y(identity , registry Id);
  3134           }
  3135  
  3136           [W ebMethod]
  3137           pu blic List< ReportItem > REPORTS_ GET_ALL_SY STEM(strin g identity , int regi stryId)
  3138           {
  3139                return V IRPManager .REPORTS_G ET_ALL_SYS TEM(identi ty, regist ryId);
  3140           }
  3141  
  3142           [O perationCo ntract]
  3143           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/REPORT S_GET_ALL_ SYSTEM?ide ntity={ide ntity}&reg istryId={r egistryId} ")]
  3144           pu blic List< ReportItem > REPORTS_ GET_ALL_SY STEM_XML(s tring iden tity, int  registryId )
  3145           {
  3146                return t his.REPORT S_GET_ALL_ SYSTEM(ide ntity, reg istryId);
  3147           }
  3148  
  3149           [O perationCo ntract]
  3150           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/REPO RTS_GET_AL L_SYSTEM?i dentity={i dentity}&r egistryId= {registryI d}")]
  3151           pu blic List< ReportItem > REPORTS_ GET_ALL_SY STEM_JSON( string ide ntity, int  registryI d)
  3152           {
  3153                return t his.REPORT S_GET_ALL_ SYSTEM(ide ntity, reg istryId);
  3154           }
  3155  
  3156           [W ebMethod]
  3157           pu blic List< ReportItem > REPORTS_ GET_ALL_BY _USER(stri ng identit y, int reg istryId)
  3158           {
  3159                return V IRPManager .REPORTS_G ET_ALL_BY_ USER(ident ity, regis tryId);
  3160           }
  3161  
  3162           [O perationCo ntract]
  3163           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/REPORT S_GET_ALL_ BY_USER?id entity={id entity}&re gistryId={ registryId }")]
  3164           pu blic List< ReportItem > REPORTS_ GET_ALL_BY _USER_XML( string ide ntity, int  registryI d)
  3165           {
  3166                return t his.REPORT S_GET_ALL_ BY_USER(id entity, re gistryId);
  3167           }
  3168  
  3169           [O perationCo ntract]
  3170           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/REPO RTS_GET_AL L_BY_USER? identity={ identity}& registryId ={registry Id}")]
  3171           pu blic List< ReportItem > REPORTS_ GET_ALL_BY _USER_JSON (string id entity, in t registry Id)
  3172           {
  3173                return t his.REPORT S_GET_ALL_ BY_USER(id entity, re gistryId);
  3174           }
  3175  
  3176           [W ebMethod]
  3177           pu blic bool  REPORTS_UP DATE_ITEM_ PROPERTIES (string id entity, in t registry Id, string  itemPath,  string de scription)
  3178           {
  3179                return V IRPManager .REPORTS_U PDATE_ITEM _PROPERTIE S(identity , registry Id, itemPa th, descri ption);
  3180           }
  3181  
  3182           [O perationCo ntract]
  3183           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/REPORT S_UPDATE_I TEM_PROPER TIES?ident ity={ident ity}&regis tryId={reg istryId}&i temPath={i temPath}&d escription ={descript ion}")]
  3184           pu blic bool  REPORTS_UP DATE_ITEM_ PROPERTIES _XML(strin g identity , int regi stryId, st ring itemP ath, strin g descript ion)
  3185           {
  3186                return t his.REPORT S_UPDATE_I TEM_PROPER TIES(ident ity, regis tryId, ite mPath, des cription);
  3187           }
  3188  
  3189           [O perationCo ntract]
  3190           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/REPO RTS_UPDATE _ITEM_PROP ERTIES?ide ntity={ide ntity}&reg istryId={r egistryId} &itemPath= {itemPath} &descripti on={descri ption}")]
  3191           pu blic bool  REPORTS_UP DATE_ITEM_ PROPERTIES _JSON(stri ng identit y, int reg istryId, s tring item Path, stri ng descrip tion)
  3192           {
  3193                return t his.REPORT S_UPDATE_I TEM_PROPER TIES(ident ity, regis tryId, ite mPath, des cription);
  3194           }
  3195  
  3196           #e ndregion
  3197  
  3198           #r egion APPS ETTINGS
  3199  
  3200           [W ebMethod]
  3201           pu blic AppSe ttings APP SETTINGS_G ET(string  identity,  int regist ryId)
  3202           {
  3203                AppSetti ngs appSet tings = ne w AppSetti ngs();
  3204  
  3205                //if (We bConfigura tionManage r.Connecti onStrings[ "RegistryC onnectionS tring"] !=  null)
  3206                //{
  3207                //    ap pSettings. Connection String = W ebConfigur ationManag er.Connect ionStrings ["Registry Connection String"].C onnectionS tring;
  3208                //}
  3209  
  3210                if (WebC onfigurati onManager. AppSetting s["SqlComm andTimeout "] != null )
  3211                {
  3212                    int  value = 0;
  3213                    int. TryParse(W ebConfigur ationManag er.AppSett ings["SqlC ommandTime out"], out  value);
  3214                    appS ettings.Sq lCommandTi meout = va lue;
  3215                }
  3216  
  3217                if (WebC onfigurati onManager. AppSetting s["LogFile Size"] !=  null)
  3218                {
  3219                    int  value = 0;
  3220                    int. TryParse(W ebConfigur ationManag er.AppSett ings["LogF ileSize"],  out value );
  3221                    appS ettings.Lo gFileSize  = value;
  3222                }
  3223  
  3224                if (WebC onfigurati onManager. AppSetting s["LogFile Archive"]  != null)
  3225                {
  3226                    int  value = 0;
  3227                    int. TryParse(W ebConfigur ationManag er.AppSett ings["LogF ileArchive "], out va lue);
  3228                    appS ettings.Lo gFileArchi ve = value ;
  3229                }
  3230  
  3231                if (WebC onfigurati onManager. AppSetting s["LogErro rs"] != nu ll)
  3232                {
  3233                    bool  value = f alse;
  3234                    bool .TryParse( WebConfigu rationMana ger.AppSet tings["Log Errors"],  out value) ;
  3235                    appS ettings.Lo gErrors =  value;
  3236                }
  3237  
  3238                if (WebC onfigurati onManager. AppSetting s["LogInfo rmation"]  != null)
  3239                {
  3240                    bool  value = f alse;
  3241                    bool .TryParse( WebConfigu rationMana ger.AppSet tings["Log Informatio n"], out v alue);
  3242                    appS ettings.Lo gInformati on = value ;
  3243                }
  3244  
  3245                if (WebC onfigurati onManager. AppSetting s["LogTimi ng"] != nu ll)
  3246                {
  3247                    bool  value = f alse;
  3248                    bool .TryParse( WebConfigu rationMana ger.AppSet tings["Log Timing"],  out value) ;
  3249                    appS ettings.Lo gTiming =  value;
  3250                }
  3251  
  3252                if (WebC onfigurati onManager. AppSetting s["Databas eLogEnable d"] != nul l)
  3253                {
  3254                    bool  value = f alse;
  3255                    bool .TryParse( WebConfigu rationMana ger.AppSet tings["Dat abaseLogEn abled"], o ut value);
  3256                    appS ettings.Da tabaseLogE nabled = v alue;
  3257                }
  3258  
  3259                if (WebC onfigurati onManager. AppSetting s["EventLo gEnabled"]  != null)
  3260                {
  3261                    bool  value = f alse;
  3262                    bool .TryParse( WebConfigu rationMana ger.AppSet tings["Eve ntLogEnabl ed"], out  value);
  3263                    appS ettings.Ev entLogEnab led = valu e;
  3264                }
  3265  
  3266                if (WebC onfigurati onManager. AppSetting s["FileLog Enabled"]  != null)
  3267                {
  3268                    bool  value = f alse;
  3269                    bool .TryParse( WebConfigu rationMana ger.AppSet tings["Fil eLogEnable d"], out v alue);
  3270                    appS ettings.Fi leLogEnabl ed = value ;
  3271                }
  3272  
  3273                appSetti ngs.FileLo gPath = We bConfigura tionManage r.AppSetti ngs["FileL ogPath"];
  3274  
  3275                if (WebC onfigurati onManager. AppSetting s["MviEnab led"] != n ull)
  3276                {
  3277                    bool  value = f alse;
  3278                    bool .TryParse( WebConfigu rationMana ger.AppSet tings["Mvi Enabled"],  out value );
  3279                    appS ettings.Mv iEnabled =  value;
  3280                }
  3281  
  3282                appSetti ngs.MviPro cessingCod e = WebCon figuration Manager.Ap pSettings[ "MviProces singCode"] ;
  3283                appSetti ngs.MviCer tName = We bConfigura tionManage r.AppSetti ngs["MviCe rtName"];
  3284                appSetti ngs.MviSer viceUrl =  WebConfigu rationMana ger.AppSet tings["Mvi ServiceUrl "];
  3285  
  3286                appSetti ngs.ViaReq uestingApp  = WebConf igurationM anager.App Settings[" ViaRequest ingApp"];
  3287                appSetti ngs.ViaSer viceUrl =  WebConfigu rationMana ger.AppSet tings["Via ServiceUrl "];
  3288                appSetti ngs.ViaApp Token = We bConfigura tionManage r.AppSetti ngs["ViaAp pToken"];
  3289                appSetti ngs.ViaApp Key = WebC onfigurati onManager. AppSetting s["ViaAppK ey"];
  3290  
  3291                appSetti ngs.Report ServerUrl  = WebConfi gurationMa nager.AppS ettings["R eportServe rUrl"];
  3292                appSetti ngs.Report ServicePat h = WebCon figuration Manager.Ap pSettings[ "ReportSer vicePath"] ;
  3293                appSetti ngs.Report BuilderPat h = WebCon figuration Manager.Ap pSettings[ "ReportBui lderPath"] ;
  3294  
  3295                appSetti ngs.SSOiLo goutUrl =  WebConfigu rationMana ger.AppSet tings["SSO iLogoutUrl "];
  3296  
  3297                SETTINGS  setting =  VIRPManag er.SETTING S_GET_REGI STRYNAME(i dentity, r egistryId,  "EtlSched ule");
  3298                if (sett ing != nul l)
  3299                    appS ettings.Et lSchedule  = setting. VALUE;
  3300  
  3301                setting  = VIRPMana ger.SETTIN GS_GET_REG ISTRYNAME( identity,  registryId , "EtlRetr yAttempts" );
  3302                if (sett ing != nul l)
  3303                {
  3304                    int  value = 0;
  3305                    int. TryParse(s etting.VAL UE, out va lue);
  3306                    appS ettings.Et lRetryAtte mpts = val ue;
  3307                }
  3308  
  3309                setting  = VIRPMana ger.SETTIN GS_GET_REG ISTRYNAME( identity,  registryId , "EtlTime BetweenAtt empts");
  3310                if (sett ing != nul l)
  3311                {
  3312                    int  value = 0;
  3313                    int. TryParse(s etting.VAL UE, out va lue);
  3314                    appS ettings.Et lTimeBetwe enAttempts  = value;
  3315                }
  3316  
  3317                setting  = VIRPMana ger.SETTIN GS_GET_REG ISTRYNAME( identity,  registryId , "HomePag eText");
  3318                if (sett ing != nul l)
  3319                    appS ettings.Ho mePageText  = setting .VALUE;
  3320  
  3321                return a ppSettings ;
  3322           }
  3323  
  3324           [O perationCo ntract]
  3325           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/APPSET TINGS_GET? identity={ identity}& registryId ={registry Id}")]
  3326           pu blic AppSe ttings APP SETTINGS_G ET_XML(str ing identi ty, int re gistryId)
  3327           {
  3328                return t his.APPSET TINGS_GET( identity,  registryId );
  3329           }
  3330  
  3331           [O perationCo ntract]
  3332           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/APPS ETTINGS_GE T?identity ={identity }&registry Id={regist ryId}")]
  3333           pu blic AppSe ttings APP SETTINGS_G ET_JSON(st ring ident ity, int r egistryId)
  3334           {
  3335                return t his.APPSET TINGS_GET( identity,  registryId );
  3336           }
  3337  
  3338           [W ebMethod]
  3339           pu blic void  APPSETTING S_SAVE_TO_ CONFIG(App Settings a ppSettings )
  3340           {
  3341                try
  3342                {
  3343                    if ( appSetting s != null)
  3344                    {
  3345                         Configurat ion myConf ig = WebCo nfiguratio nManager.O penWebConf iguration( "~");
  3346                         if (myConf ig != null )
  3347                         {
  3348                             myConf ig.AppSett ings.Setti ngs["SqlCo mmandTimeo ut"].Value  = appSett ings.SqlCo mmandTimeo ut.ToStrin g();
  3349                             myConf ig.AppSett ings.Setti ngs["LogFi leSize"].V alue = app Settings.L ogFileSize .ToString( );
  3350                             myConf ig.AppSett ings.Setti ngs["LogFi leArchive" ].Value =  appSetting s.LogFileA rchive.ToS tring();
  3351                             myConf ig.AppSett ings.Setti ngs["LogEr rors"].Val ue = appSe ttings.Log Errors.ToS tring();
  3352                             myConf ig.AppSett ings.Setti ngs["LogIn formation" ].Value =  appSetting s.LogInfor mation.ToS tring();
  3353                             myConf ig.AppSett ings.Setti ngs["LogTi ming"].Val ue = appSe ttings.Log Timing.ToS tring();
  3354                             myConf ig.AppSett ings.Setti ngs["Datab aseLogEnab led"].Valu e = appSet tings.Data baseLogEna bled.ToStr ing();
  3355                             myConf ig.AppSett ings.Setti ngs["Event LogEnabled "].Value =  appSettin gs.EventLo gEnabled.T oString();
  3356                             myConf ig.AppSett ings.Setti ngs["FileL ogEnabled" ].Value =  appSetting s.FileLogE nabled.ToS tring();
  3357                             myConf ig.AppSett ings.Setti ngs["FileL ogPath"].V alue = app Settings.F ileLogPath ;
  3358                             myConf ig.AppSett ings.Setti ngs["MviEn abled"].Va lue = appS ettings.Mv iEnabled.T oString();
  3359                             myConf ig.AppSett ings.Setti ngs["MviPr ocessingCo de"].Value  = appSett ings.MviPr ocessingCo de;
  3360                             myConf ig.AppSett ings.Setti ngs["MviCe rtName"].V alue = app Settings.M viCertName ;
  3361                             myConf ig.AppSett ings.Setti ngs["MviSe rviceUrl"] .Value = a ppSettings .MviServic eUrl;
  3362                             myConf ig.AppSett ings.Setti ngs["Repor tServerUrl "].Value =  appSettin gs.ReportS erverUrl;
  3363                             myConf ig.AppSett ings.Setti ngs["Repor tServicePa th"].Value  = appSett ings.Repor tServicePa th;
  3364                             myConf ig.AppSett ings.Setti ngs["Repor tBuilderPa th"].Value  = appSett ings.Repor tBuilderPa th;
  3365                             myConf ig.AppSett ings.Setti ngs["SSOiL ogoutUrl"] .Value = a ppSettings .SSOiLogou tUrl;
  3366                             myConf ig.AppSett ings.Setti ngs["SSOiL ogoutUrl"] .Value = a ppSettings .SSOiLogou tUrl;
  3367  
  3368                             if (my Config.App Settings.S ettings["V iaRequesti ngApp"] !=  null)
  3369                                 my Config.App Settings.S ettings["V iaRequesti ngApp"].Va lue = appS ettings.Vi aRequestin gApp;
  3370                             else
  3371                                 my Config.App Settings.S ettings.Ad d("ViaRequ estingApp" , appSetti ngs.ViaReq uestingApp );
  3372  
  3373                             if (my Config.App Settings.S ettings["V iaServiceU rl"] != nu ll)
  3374                                 my Config.App Settings.S ettings["V iaServiceU rl"].Value  = appSett ings.ViaSe rviceUrl;
  3375                             else
  3376                                 my Config.App Settings.S ettings.Ad d("ViaServ iceUrl", a ppSettings .ViaServic eUrl);
  3377  
  3378                             if (my Config.App Settings.S ettings["V iaAppToken "] != null )
  3379                                 my Config.App Settings.S ettings["V iaAppToken "].Value =  appSettin gs.ViaAppT oken;
  3380                             else
  3381                                 my Config.App Settings.S ettings.Ad d("ViaAppT oken", app Settings.V iaAppToken );
  3382  
  3383                             if (my Config.App Settings.S ettings["V iaAppKey"]  != null)
  3384                                 my Config.App Settings.S ettings["V iaAppKey"] .Value = a ppSettings .ViaAppKey ;
  3385                             else
  3386                                 my Config.App Settings.S ettings.Ad d("ViaAppK ey", appSe ttings.Via AppKey);
  3387  
  3388                             myConf ig.Save(Co nfiguratio nSaveMode. Modified);
  3389                         }
  3390                    }
  3391                }
  3392                catch (E xception e x)
  3393                {
  3394                    LogM anager.Log Error(ex.M essage, St ring.Forma t("{0}.{1} ", System. Reflection .MethodBas e.GetCurre ntMethod() .Declaring Type.FullN ame, Syste m.Reflecti on.MethodB ase.GetCur rentMethod ().Name),  string.Emp ty, 0);
  3395                    thro w ex;
  3396                }
  3397           }
  3398  
  3399           [W ebMethod]
  3400           pu blic bool  APPSETTING S_SAVE(str ing identi ty, int re gistryId,  AppSetting s appSetti ngs)
  3401           {
  3402                bool sav eConfig =  false;
  3403                bool sav eDb = fals e;
  3404  
  3405                if (appS ettings !=  null)
  3406                {
  3407                    //Co nfiguratio n myConfig  = WebConf igurationM anager.Ope nWebConfig uration("~ ");
  3408                    //if  (myConfig  != null)
  3409                    //{
  3410                    try
  3411                    {
  3412                         APPSETTING S_SAVE_TO_ CONFIG(app Settings);
  3413                         saveConfig  = true;
  3414                    }
  3415                    catc h //(Excep tion ex)
  3416                    {
  3417                         //Error ha s already  been logge d
  3418                         saveConfig  = false;
  3419                    }
  3420  
  3421                    try
  3422                    {
  3423                         VIRPManage r.SETTINGS _SAVE_ALL( identity,  registryId , appSetti ngs);
  3424                         saveDb = t rue;
  3425                    }
  3426                    catc h //(Excep tion ex)
  3427                    {
  3428                         //Error ha s already  been logge d
  3429                         saveDb = f alse;
  3430                    }
  3431                    //}
  3432                }
  3433  
  3434                if (save Config &&  saveDb)
  3435                    retu rn true;
  3436                else
  3437                    retu rn false;
  3438           }
  3439  
  3440           [O perationCo ntract]
  3441           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/APPSET TINGS_SAVE ?identity= {identity} &registryI d={registr yId}&appSe ttings={ap pSettings} ")]
  3442           pu blic bool  APPSETTING S_SAVE_XML (string id entity, in t registry Id, AppSet tings appS ettings)
  3443           {
  3444                return t his.APPSET TINGS_SAVE (identity,  registryI d, appSett ings);
  3445           }
  3446  
  3447           [O perationCo ntract]
  3448           [W ebInvoke(M ethod = "P UT", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/APPS ETTINGS_SA VE?identit y={identit y}&registr yId={regis tryId}&app Settings={ appSetting s}")]
  3449           pu blic bool  APPSETTING S_SAVE_JSO N(string i dentity, i nt registr yId, AppSe ttings app Settings)
  3450           {
  3451                return t his.APPSET TINGS_SAVE (identity,  registryI d, appSett ings);
  3452           }
  3453  
  3454           [W ebMethod]
  3455           pu blic strin g REPORTS_ GET_SERVER _URL()
  3456           {
  3457                string r eportServe rUrl = str ing.Empty;  //Default
  3458  
  3459                if (!str ing.IsNull OrEmpty(Co nfiguratio nManager.A ppSettings ["ReportSe rverUrl"]) )
  3460                {
  3461                    repo rtServerUr l = Config urationMan ager.AppSe ttings["Re portServer Url"];
  3462                }
  3463  
  3464                return r eportServe rUrl;
  3465           }
  3466  
  3467           [W ebMethod]
  3468           pu blic strin g REPORTS_ GET_BUILDE R_URL()
  3469           {
  3470                string r eportBuild erServerUr l = string .Empty; // Default
  3471  
  3472                if (!str ing.IsNull OrEmpty(Co nfiguratio nManager.A ppSettings ["ReportSe rverUrl"]) )
  3473                {
  3474                    repo rtBuilderS erverUrl =  Configura tionManage r.AppSetti ngs["Repor tServerUrl "];
  3475                    if ( !string.Is NullOrEmpt y(Configur ationManag er.AppSett ings["Repo rtBuilderP ath"]))
  3476                    {
  3477                         reportBuil derServerU rl += Conf igurationM anager.App Settings[" ReportBuil derPath"];
  3478                    }
  3479                }
  3480  
  3481                return r eportBuild erServerUr l;
  3482           }
  3483  
  3484           [W ebMethod]
  3485           pu blic int G ET_SQL_COM MAND_TIMEO UT()
  3486           {
  3487                int iTim eout = 30;  //Default
  3488  
  3489                if (int. Parse(Conf igurationM anager.App Settings[" SqlCommand Timeout"])  != iTimeo ut)
  3490                {
  3491                    iTim eout = int .Parse(Con figuration Manager.Ap pSettings[ "SqlComman dTimeout"] );
  3492                }
  3493  
  3494                return i Timeout;
  3495           }
  3496  
  3497           #e ndregion
  3498  
  3499           #r egion FRAM EWORK_DATA
  3500  
  3501           [W ebMethod]
  3502           pu blic List< ENC_ENCOUN TER> ENC_E NCOUNTER_G ET_BY_REFE RRAL(strin g identity , int regi stryId, in t referral Id)
  3503           {
  3504                return V IRPManager .ENC_ENCOU NTER_GET_B Y_REFERRAL (identity,  registryI d, referra lId);
  3505           }
  3506  
  3507           [O perationCo ntract]
  3508           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/ENC_EN COUNTER_GE T_BY_REFER RAL?identi ty={identi ty}&regist ryId={regi stryId}&re ferralId={ referralId }")]
  3509           pu blic List< ENC_ENCOUN TER> ENC_E NCOUNTER_G ET_BY_REFE RRAL_XML(s tring iden tity, int  registryId , int refe rralId)
  3510           {
  3511                return t his.ENC_EN COUNTER_GE T_BY_REFER RAL(identi ty, regist ryId, refe rralId);
  3512           }
  3513  
  3514           [O perationCo ntract]
  3515           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/ENC_ ENCOUNTER_ GET_BY_REF ERRAL?iden tity={iden tity}&regi stryId={re gistryId}& referralId ={referral Id}")]
  3516           pu blic List< ENC_ENCOUN TER> ENC_E NCOUNTER_G ET_BY_REFE RRAL_JSON( string ide ntity, int  registryI d, int ref erralId)
  3517           {
  3518                return t his.ENC_EN COUNTER_GE T_BY_REFER RAL(identi ty, regist ryId, refe rralId);
  3519           }
  3520  
  3521           [W ebMethod]
  3522           pu blic List< OUTPAT_VIS IT> OUTPAT _VISIT_GET _BY_REFERR AL(string  identity,  int regist ryId, int  referralId )
  3523           {
  3524                return V IRPManager .OUTPAT_VI SIT_GET_BY _REFERRAL( identity,  registryId , referral Id);
  3525           }
  3526  
  3527           [O perationCo ntract]
  3528           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/OUTPAT _VISIT_GET _BY_REFERR AL?identit y={identit y}&registr yId={regis tryId}&ref erralId={r eferralId} ")]
  3529           pu blic List< OUTPAT_VIS IT> OUTPAT _VISIT_GET _BY_REFERR AL_XML(str ing identi ty, int re gistryId,  int referr alId)
  3530           {
  3531                return t his.OUTPAT _VISIT_GET _BY_REFERR AL(identit y, registr yId, refer ralId);
  3532           }
  3533  
  3534           [O perationCo ntract]
  3535           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/OUTP AT_VISIT_G ET_BY_REFE RRAL?ident ity={ident ity}&regis tryId={reg istryId}&r eferralId= {referralI d}")]
  3536           pu blic List< OUTPAT_VIS IT> OUTPAT _VISIT_GET _BY_REFERR AL_JSON(st ring ident ity, int r egistryId,  int refer ralId)
  3537           {
  3538                return t his.OUTPAT _VISIT_GET _BY_REFERR AL(identit y, registr yId, refer ralId);
  3539           }
  3540  
  3541           [W ebMethod]
  3542           pu blic strin g GET_VERS ION()
  3543           {
  3544                return V IRPManager .GET_VERSI ON();
  3545           }
  3546  
  3547           [O perationCo ntract]
  3548           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.X ml, UriTem plate = "/ Xml/GET_VE RSION")]
  3549           pu blic strin g GET_VERS ION_XML(st ring ident ity, int r egistryId,  int refer ralId)
  3550           {
  3551                return t his.GET_VE RSION();
  3552           }
  3553  
  3554           [O perationCo ntract]
  3555           [W ebInvoke(M ethod = "G ET", Respo nseFormat  = WebMessa geFormat.J son, UriTe mplate = " /Json/GET_ VERSION")]
  3556           pu blic strin g GET_VERS ION_JSON(s tring iden tity, int  registryId , int refe rralId)
  3557           {
  3558                return t his.GET_VE RSION();
  3559           }
  3560  
  3561           [W ebMethod]
  3562           pu blic List< TableColum nValue> RE GISTRY_FRA MEWORK_TAB LE_GET_ALL _BY_REGIST RY(string  identity,  int regist ryId, int  referralId , int pati entId, str ing framew orkTable)
  3563           {
  3564                return V IRPManager .REGISTRY_ FRAMEWORK_ TABLE_GET_ ALL_BY_REG ISTRY(iden tity, regi stryId, re ferralId,  patientId,  framework Table);
  3565           }
  3566  
  3567           [W ebMethod]
  3568           pu blic List< TableColum nValue> RE GISTRY_FRA MEWORK_DAT A_GET_ALL_ BY_REGISTR Y(string i dentity, i nt registr yId)
  3569           {
  3570                return V IRPManager .REGISTRY_ FRAMEWORK_ DATA_GET_A LL_BY_REGI STRY(ident ity, regis tryId);
  3571           }
  3572  
  3573           [W ebMethod]
  3574           pu blic List< ALLERGY> A LLERGY_GET _BY_REFERR AL(string  identity,  int regist ryId, int  referralId )
  3575           {
  3576                return V IRPManager .ALLERGY_G ET_BY_REFE RRAL(ident ity, regis tryId, ref erralId);
  3577           }
  3578  
  3579           [W ebMethod]
  3580           pu blic List< A06_AUDIOM ETRIC_EXAM _DATA_5098 50_9> A06_ AUDIOMETRI C_EXAM_DAT A_509850_9 _GET_BY_RE FERRAL(str ing identi ty, int re gistryId,  int referr alId)
  3581           {
  3582                return V IRPManager .A06_AUDIO METRIC_EXA M_DATA_509 850_9_GET_ BY_REFERRA L(identity , registry Id, referr alId);
  3583           }
  3584  
  3585           [W ebMethod]
  3586           pu blic List< CONSULT> C ONSULT_GET _BY_REFERR AL(string  identity,  int regist ryId, int  referralId )
  3587           {
  3588                return V IRPManager .CONSULT_G ET_BY_REFE RRAL(ident ity, regis tryId, ref erralId);
  3589           }
  3590  
  3591           [W ebMethod]
  3592           pu blic List< EDISLOG> E DISLOG_GET _BY_REFERR AL(string  identity,  int regist ryId, int  referralId )
  3593           {
  3594                return V IRPManager .EDISLOG_G ET_BY_REFE RRAL(ident ity, regis tryId, ref erralId);
  3595           }
  3596  
  3597           [W ebMethod]
  3598           pu blic List< IMMUNIZATI ON> IMMUNI ZATION_GET _BY_REFERR AL(string  identity,  int regist ryId, int  referralId )
  3599           {
  3600                return V IRPManager .IMMUNIZAT ION_GET_BY _REFERRAL( identity,  registryId , referral Id);
  3601           }
  3602  
  3603           [W ebMethod]
  3604           pu blic List< INPAT_INPA TIENT> INP AT_INPATIE NT_GET_BY_ REFERRAL(s tring iden tity, int  registryId , int refe rralId)
  3605           {
  3606                return V IRPManager .INPAT_INP ATIENT_GET _BY_REFERR AL(identit y, registr yId, refer ralId);
  3607           }
  3608  
  3609           [W ebMethod]
  3610           pu blic List< INPAT_CENS US> INPAT_ CENSUS_GET _BY_REFERR AL(string  identity,  int regist ryId, int  referralId )
  3611           {
  3612                return V IRPManager .INPAT_CEN SUS_GET_BY _REFERRAL( identity,  registryId , referral Id);
  3613           }
  3614  
  3615           [W ebMethod]
  3616           pu blic List< INPATIENT_ DIAGNOSIS>  INPATIENT _DIAGNOSIS _GET_BY_RE FERRAL(str ing identi ty, int re gistryId,  int referr alId)
  3617           {
  3618                return V IRPManager .INPATIENT _DIAGNOSIS _GET_BY_RE FERRAL(ide ntity, reg istryId, r eferralId) ;
  3619           }
  3620  
  3621           [W ebMethod]
  3622           pu blic List< CHEM_LABCH EM> CHEM_L ABCHEM_GET _BY_REFERR AL(string  identity,  int regist ryId, int  referralId )
  3623           {
  3624                return V IRPManager .CHEM_LABC HEM_GET_BY _REFERRAL( identity,  registryId , referral Id);
  3625           }
  3626  
  3627           // [WebMethod ]
  3628           // public Lis t<OUTPAT_V ISIT> OUTP AT_VISIT_G ET_BY_REFE RRAL(strin g identity , int regi stryId, in t referral Id)
  3629           // {
  3630           //     return  VIRPManag er.OUTPAT_ VISIT_GET_ BY_REFERRA L(identity , registry Id, referr alId);
  3631           // }
  3632  
  3633           [W ebMethod]
  3634           pu blic List< SCONSULT_R EASON> SCO NSULT_REAS ON_GET_BY_ REFERRAL(s tring iden tity, int  registryId , int refe rralId)
  3635           {
  3636                return V IRPManager .SCONSULT_ REASON_GET _BY_REFERR AL(identit y, registr yId, refer ralId);
  3637           }
  3638  
  3639           [W ebMethod]
  3640           pu blic List< PATSUB_SEC ONDARYELIG IBILITY> P ATSUB_SECO NDARYELIGI BILITY_GET _BY_REFERR AL(string  identity,  int regist ryId, int  referralId )
  3641           {
  3642                return V IRPManager .PATSUB_SE CONDARYELI GIBILITY_G ET_BY_REFE RRAL(ident ity, regis tryId, ref erralId);
  3643           }
  3644  
  3645           [W ebMethod]
  3646           pu blic List< PATIENT_EN ROLLMENT>  PATIENT_EN ROLLMENT_G ET_BY_REFE RRAL(strin g identity , int regi stryId, in t referral Id)
  3647           {
  3648                return V IRPManager .PATIENT_E NROLLMENT_ GET_BY_REF ERRAL(iden tity, regi stryId, re ferralId);
  3649           }
  3650  
  3651           [W ebMethod]
  3652           pu blic List< PATIENT_ET HNICITY> P ATIENT_ETH NICITY_GET _BY_REFERR AL(string  identity,  int regist ryId, int  referralId )
  3653           {
  3654                return V IRPManager .PATIENT_E THNICITY_G ET_BY_REFE RRAL(ident ity, regis tryId, ref erralId);
  3655           }
  3656  
  3657           [W ebMethod]
  3658           pu blic List< A06_SPATIE NT_GEOCODE DADDRESS>  A06_SPATIE NT_GEOCODE DADDRESS_G ET_BY_REFE RRAL(strin g identity , int regi stryId, in t referral Id)
  3659           {
  3660                return V IRPManager .A06_SPATI ENT_GEOCOD EDADDRESS_ GET_BY_REF ERRAL(iden tity, regi stryId, re ferralId);
  3661           }
  3662  
  3663           [W ebMethod]
  3664           pu blic List< SPATIENT_S PATIENTINS URANCE> SP ATIENT_SPA TIENTINSUR ANCE_GET_B Y_REFERRAL (string id entity, in t registry Id, int re ferralId)
  3665           {
  3666                return V IRPManager .SPATIENT_ SPATIENTIN SURANCE_GE T_BY_REFER RAL(identi ty, regist ryId, refe rralId);
  3667           }
  3668  
  3669           [W ebMethod]
  3670           pu blic List< MILITARY_S ERVICE_EPI SODE> MILI TARY_SERVI CE_EPISODE _GET_BY_RE FERRAL(str ing identi ty, int re gistryId,  int referr alId)
  3671           {
  3672                return V IRPManager .MILITARY_ SERVICE_EP ISODE_GET_ BY_REFERRA L(identity , registry Id, referr alId);
  3673           }
  3674  
  3675           [W ebMethod]
  3676           pu blic List< MILITARY_S EXUAL_TRAU MA> MILITA RY_SEXUAL_ TRAUMA_GET _BY_REFERR AL(string  identity,  int regist ryId, int  referralId )
  3677           {
  3678                return V IRPManager .MILITARY_ SEXUAL_TRA UMA_GET_BY _REFERRAL( identity,  registryId , referral Id);
  3679           }
  3680  
  3681           [W ebMethod]
  3682           pu blic List< OEFOIF_SER VICE> OEFO IF_SERVICE _GET_BY_RE FERRAL(str ing identi ty, int re gistryId,  int referr alId)
  3683           {
  3684                return V IRPManager .OEFOIF_SE RVICE_GET_ BY_REFERRA L(identity , registry Id, referr alId);
  3685           }
  3686  
  3687           [W ebMethod]
  3688           pu blic List< PHARMACY_P ATIENT> PH ARMACY_PAT IENT_GET_B Y_REFERRAL (string id entity, in t registry Id, int re ferralId)
  3689           {
  3690                return V IRPManager .PHARMACY_ PATIENT_GE T_BY_REFER RAL(identi ty, regist ryId, refe rralId);
  3691           }
  3692  
  3693           [W ebMethod]
  3694           pu blic List< NOSETHROAT _RADIUMHST > NOSETHRO AT_RADIUMH ST_GET_BY_ REFERRAL(s tring iden tity, int  registryId , int refe rralId)
  3695           {
  3696                return V IRPManager .NOSETHROA T_RADIUMHS T_GET_BY_R EFERRAL(id entity, re gistryId,  referralId );
  3697           }
  3698  
  3699           [W ebMethod]
  3700           pu blic List< SERVICE_CO NNECTED_CO NDITION> S ERVICE_CON NECTED_CON DITION_GET _BY_REFERR AL(string  identity,  int regist ryId, int  referralId )
  3701           {
  3702                return V IRPManager .SERVICE_C ONNECTED_C ONDITION_G ET_BY_REFE RRAL(ident ity, regis tryId, ref erralId);
  3703           }
  3704  
  3705           [W ebMethod]
  3706           pu blic List< PATSUB_VAR ATEDDISABI LITY> PATS UB_VARATED DISABILITY _GET_BY_RE FERRAL(str ing identi ty, int re gistryId,  int referr alId)
  3707           {
  3708                return V IRPManager .PATSUB_VA RATEDDISAB ILITY_GET_ BY_REFERRA L(identity , registry Id, referr alId);
  3709           }
  3710  
  3711           [W ebMethod]
  3712           pu blic List< A06_PHARMA CY_PATIENT _55X_IV_55 _01> A06_P HARMACY_PA TIENT_55X_ IV_55_01_G ET_BY_REFE RRAL(strin g identity , int regi stryId, in t referral Id)
  3713           {
  3714                return V IRPManager .A06_PHARM ACY_PATIEN T_55X_IV_5 5_01_GET_B Y_REFERRAL (identity,  registryI d, referra lId);
  3715           }
  3716  
  3717           [W ebMethod]
  3718           pu blic List< A06_PHARMA CY_PATIX_U NIT_DOSE_5 5_06> A06_ PHARMACY_P ATIX_UNIT_ DOSE_55_06 _GET_BY_RE FERRAL(str ing identi ty, int re gistryId,  int referr alId)
  3719           {
  3720                return V IRPManager .A06_PHARM ACY_PATIX_ UNIT_DOSE_ 55_06_GET_ BY_REFERRA L(identity , registry Id, referr alId);
  3721           }
  3722  
  3723           [W ebMethod]
  3724           pu blic List< A06_PHARMA CY_PATX_NO NVA_MEDS_5 5_05> A06_ PHARMACY_P ATX_NONVA_ MEDS_55_05 _GET_BY_RE FERRAL(str ing identi ty, int re gistryId,  int referr alId)
  3725           {
  3726                return V IRPManager .A06_PHARM ACY_PATX_N ONVA_MEDS_ 55_05_GET_ BY_REFERRA L(identity , registry Id, referr alId);
  3727           }
  3728  
  3729           [W ebMethod]
  3730           pu blic List< RXOUTPAT>  RXOUTPAT_G ET_BY_REFE RRAL(strin g identity , int regi stryId, in t referral Id)
  3731           {
  3732                return V IRPManager .RXOUTPAT_ GET_BY_REF ERRAL(iden tity, regi stryId, re ferralId);
  3733           }
  3734  
  3735           [W ebMethod]
  3736           pu blic List< OUTPAT_PRO BLEMLIST>  OUTPAT_PRO BLEMLIST_G ET_BY_REFE RRAL(strin g identity , int regi stryId, in t referral Id)
  3737           {
  3738                return V IRPManager .OUTPAT_PR OBLEMLIST_ GET_BY_REF ERRAL(iden tity, regi stryId, re ferralId);
  3739           }
  3740  
  3741           [W ebMethod]
  3742           pu blic List< TIU_TIUDOC UMENT> TIU _TIUDOCUME NT_GET_BY_ REFERRAL(s tring iden tity, int  registryId , int refe rralId)
  3743           {
  3744                return V IRPManager .TIU_TIUDO CUMENT_GET _BY_REFERR AL(identit y, registr yId, refer ralId);
  3745           }
  3746  
  3747           [W ebMethod]
  3748           pu blic List< RADIOLOGYE XAM> RADIO LOGYEXAM_G ET_BY_REFE RRAL(strin g identity , int regi stryId, in t referral Id)
  3749           {
  3750                return V IRPManager .RADIOLOGY EXAM_GET_B Y_REFERRAL (identity,  registryI d, referra lId);
  3751           }
  3752  
  3753           [W ebMethod]
  3754           pu blic List< SPATIENT_N EW> SPATIE NT_NEW_GET _BY_REFERR AL(string  identity,  int regist ryId, int  referralId )
  3755           {
  3756                return V IRPManager .SPATIENT_ NEW_GET_BY _REFERRAL( identity,  registryId , referral Id);
  3757           }
  3758  
  3759           [W ebMethod]
  3760           pu blic List< OUTPAT_VDI AGNOSIS> O UTPAT_VDIA GNOSIS_GET _BY_REFERR AL(string  identity,  int regist ryId, int  referralId )
  3761           {
  3762                return V IRPManager .OUTPAT_VD IAGNOSIS_G ET_BY_REFE RRAL(ident ity, regis tryId, ref erralId);
  3763           }
  3764  
  3765           [W ebMethod]
  3766           pu blic List< VITALSIGN>  VITALSIGN _GET_BY_RE FERRAL(str ing identi ty, int re gistryId,  int referr alId)
  3767           {
  3768                return V IRPManager .VITALSIGN _GET_BY_RE FERRAL(ide ntity, reg istryId, r eferralId) ;
  3769           }
  3770  
  3771           [W ebMethod]
  3772           pu blic List< PATSUB_PAT IENTRACE>  PATSUB_PAT IENTRACE_G ET_BY_REFE RRAL(strin g identity , int regi stryId, in t referral Id)
  3773           {
  3774                return V IRPManager .PATSUB_PA TIENTRACE_ GET_BY_REF ERRAL(iden tity, regi stryId, re ferralId);
  3775           }
  3776  
  3777           [W ebMethod]
  3778           pu blic List< LabScreeni ng> LABSCR EENING_GET _BY_REFERR AL(string  identity,  int regist ryId, int  referralId )
  3779           {
  3780                return V IRPManager .LABSCREEN ING_GET_BY _REFERRAL( identity,  registryId , referral Id);
  3781           }
  3782  
  3783           [W ebMethod]
  3784           pu blic List< TRACER> TR ACER_GET_B Y_REFERRAL (string id entity, in t registry Id, int re ferralId)
  3785           {
  3786                return V IRPManager .TRACER_GE T_BY_REFER RAL(identi ty, regist ryId, refe rralId);
  3787           }
  3788  
  3789           [W ebMethod]
  3790           pu blic List< APPT_APPOI NTMENT> AP POINTMENTS _GET_BY_RE FERRAL(str ing identi ty, int re gistryId,  int referr alId)
  3791           {
  3792                return V IRPManager .APPOINTME NTS_GET_BY _REFERRAL( identity,  registryId , referral Id);
  3793           }
  3794  
  3795           [W ebMethod]
  3796           pu blic List< PATIENT_PR OVIDER> PA TIENT_PROV IDER_GET_B Y_REFERRAL (string id entity, in t registry Id, int re ferralId)
  3797           {
  3798                return P ATIENT_PRO VIDERManag er.GetItem sByReferra l(identity , registry Id, referr alId);
  3799           }
  3800  
  3801           [W ebMethod]
  3802           pu blic objec t GetFrame WorkInfo(s tring iden tity, int  registryId , int refe rralId, in t patientI d, string  frameworkT able)
  3803           {
  3804                return F rameworkda taManager. GetFrameWo rkInfo(ide ntity, reg istryId, r eferralId,  patientId , framewor kTable);
  3805           }
  3806  
  3807           #e ndregion
  3808  
  3809           #r egion AHOB PR
  3810           [W ebMethod]
  3811           pu blic List< VIRP.AHOBP R.BO.TOOL_ QUESTION_D TO> Search Questions( string key Words, str ing type,  string sta tus, strin g sort, in t startRow , int maxR ows, ref i nt totalCo unt)
  3812           {
  3813                var resu lt = new V IRP.AHOBPR .BLL.AHOBP RToolManag er().Searc hQuestions (keyWords,  type, sta tus, sort,  startRow,  maxRows,  ref totalC ount).ToLi st()
  3814                    .Sel ect(x => n ew VIRP.AH OBPR.BO.TO OL_QUESTIO N_DTO()
  3815                    {
  3816                         ACTIVE_FLA G = x.ACTI VE_FLAG,
  3817                         CREATED =  x.CREATED,
  3818                         CREATEDBY  = x.CREATE DBY,
  3819                         EDITABLE_F LAG = x.ED ITABLE_FLA G,
  3820                         KEY_WORDS  = x.KEY_WO RDS,
  3821                         MAX = x.MA X,
  3822                         MAX_CHOICE S = x.MAX_ CHOICES,
  3823                         MAX_LENGTH  = x.MAX_L ENGTH,
  3824                         MIN = x.MI N,
  3825                         MIN_LENGTH  = x.MIN_L ENGTH,
  3826                         SOURCE_ID  = x.SOURCE _ID,
  3827                         Status = x .Status,
  3828                         TEXT = x.T EXT,
  3829                         TOOL_QUEST ION_ID = x .TOOL_QUES TION_ID,
  3830                         TYPE = x.T YPE,
  3831                         UPDATED =  x.UPDATED,
  3832                         UPDATEDBY  = x.UPDATE DBY
  3833                    });
  3834  
  3835                return r esult.ToLi st();
  3836           }
  3837  
  3838           [W ebMethod]
  3839           pu blic List< VIRP.AHOBP R.BO.TOOL_ FORM_DTO>  SearchForm s(string k eyWords, s tring stat us, string  systemWid e, string  sort, int  startRow,  int maxRow s, ref int  totalCoun t)
  3840           {
  3841                var resu lt = new V IRP.AHOBPR .BLL.AHOBP RToolManag er().Searc hForms(key Words, sta tus, syste mWide, sor t, startRo w, maxRows , ref tota lCount).To List()
  3842                    .Sel ect(x => n ew VIRP.AH OBPR.BO.TO OL_FORM_DT O()
  3843                    {
  3844                         ACTIVE_FLA G = x.ACTI VE_FLAG,
  3845                         CREATED =  x.CREATED,
  3846                         CREATEDBY  = x.CREATE DBY,
  3847                         EDITABLE_F LAG = x.ED ITABLE_FLA G,
  3848                         NAME = x.N AME,
  3849                         SYSTEM_WID E_FLAG = x .SYSTEM_WI DE_FLAG,
  3850                         TITLE = x. TITLE,
  3851                         TOOL_FORM_ ID = x.TOO L_FORM_ID,
  3852                         UPDATED =  x.UPDATED,
  3853                         UPDATEDBY  = x.UPDATE DBY,
  3854                         Status = x .Status            
  3855                    });
  3856  
  3857                return r esult.ToLi st();
  3858           }
  3859  
  3860           [W ebMethod]
  3861           pu blic VIRP. AHOBPR.BO. TOOL_FORM_ DTO GetFor mById(int  formId)
  3862           {
  3863                var resu lt = new V IRP.AHOBPR .BLL.AHOBP RToolManag er().GetFo rmById(for mId);
  3864  
  3865                return r esult;
  3866           }
  3867  
  3868           [W ebMethod]
  3869           pu blic VIRP. AHOBPR.BO. TOOL_QUEST ION_DTO Ge tQuestionB yId(int qu estionId)
  3870           {
  3871                var resu lt = new V IRP.AHOBPR .BLL.AHOBP RToolManag er().GetQu estionById (questionI d);
  3872  
  3873                return r esult;
  3874           }
  3875  
  3876           [W ebMethod]
  3877           pu blic List< VIRP.AHOBP R.BO.TOOL_ QUESTION_D TO> GetQue stionsByFo rmId(int f ormId)
  3878           {
  3879                var resu lt = new V IRP.AHOBPR .BLL.AHOBP RToolManag er().GetQu estionsByF ormId(form Id).ToList ()
  3880                    .Sel ect(x => n ew VIRP.AH OBPR.BO.TO OL_QUESTIO N_DTO()
  3881                    {
  3882                         ACTIVE_FLA G = x.ACTI VE_FLAG,
  3883                         CREATED =  x.CREATED,
  3884                         CREATEDBY  = x.CREATE DBY,
  3885                         EDITABLE_F LAG = x.ED ITABLE_FLA G,
  3886                         KEY_WORDS  = x.KEY_WO RDS,
  3887                         MAX = x.MA X,
  3888                         MAX_CHOICE S = x.MAX_ CHOICES,
  3889                         MAX_LENGTH  = x.MAX_L ENGTH,
  3890                         MIN = x.MI N,
  3891                         MIN_LENGTH  = x.MIN_L ENGTH,
  3892                         SOURCE_ID  = x.SOURCE _ID,
  3893                         Status = x .Status,
  3894                         TEXT = x.T EXT,
  3895                         TOOL_QUEST ION_ID = x .TOOL_QUES TION_ID,
  3896                         TYPE = x.T YPE,
  3897                         UPDATED =  x.UPDATED,
  3898                         UPDATEDBY  = x.UPDATE DBY
  3899                    });
  3900  
  3901                return r esult.ToLi st();
  3902           }
  3903  
  3904           [W ebMethod]
  3905           pu blic int A ddQuestion ToForm(str ing CURREN T_USER, in t question Id, int fo rmId)
  3906           {
  3907                return n ew VIRP.AH OBPR.BLL.A HOBPRToolM anager().A ddQuestion ToForm(CUR RENT_USER,  questionI d, formId) ;
  3908           }
  3909  
  3910           [W ebMethod]
  3911           pu blic bool  RemoveQues tionFromFo rm(string  CURRENT_US ER, int qu estionId,  int formId )
  3912           {
  3913                return n ew VIRP.AH OBPR.BLL.A HOBPRToolM anager().R emoveQuest ionFromFor m(CURRENT_ USER, ques tionId, fo rmId);
  3914           }
  3915  
  3916           [W ebMethod]
  3917           pu blic int S aveForm(st ring curre ntUser, in t formId,  VIRP.AHOBP R.BO.TOOL_ FORM_DTO s aveForm)
  3918           {
  3919                return n ew VIRP.AH OBPR.BLL.A HOBPRToolM anager().S aveForm(cu rrentUser,  formId, s aveForm);
  3920           }
  3921  
  3922           [W ebMethod]
  3923           pu blic void  SubmitFoll owUpFormTo StdTables( string cur rentUser,  int toolFo rmId)
  3924           {
  3925                new VIRP .AHOBPR.BL L.AHOBPRTo olManager( ).SubmitFo llowUpForm ToStdTable s(currentU ser, toolF ormId);
  3926           }
  3927  
  3928           [W ebMethod]
  3929           pu blic bool  RemoveForm (int formI d)
  3930           {
  3931                return n ew VIRP.AH OBPR.BLL.A HOBPRToolM anager().R emoveForm( formId);
  3932           }
  3933  
  3934           [W ebMethod]
  3935           pu blic List< VIRP.AHOBP R.BO.VIEW_ LOOKUP> Se lectLookup List(strin g lookupCa tegory)
  3936           {
  3937                return n ew VIRP.AH OBPR.BLL.A HOBPRBaseC ontrolMana ger().Sele ctLookupLi st(lookupC ategory);
  3938           }
  3939  
  3940           [W ebMethod]
  3941           pu blic int S aveQuestio n(string c urrentUser , int ques tionId, VI RP.AHOBPR. BO.TOOL_QU ESTION_DTO  saveQuest ion)
  3942           {
  3943                return n ew VIRP.AH OBPR.BLL.A HOBPRToolM anager().S aveQuestio n(currentU ser, quest ionId, sav eQuestion) ;
  3944           }
  3945  
  3946           [W ebMethod]
  3947           pu blic bool  ActivateDe activateFo rm(string  currentUse r, int for mId)
  3948           {
  3949                return n ew VIRP.AH OBPR.BLL.A HOBPRToolM anager().A ctivateDea ctivateFor m(currentU ser, formI d);
  3950           }
  3951  
  3952           [W ebMethod]
  3953           pu blic bool  ActivateDe activateQu estion(str ing curren tUser, int  questionI d)
  3954           {
  3955                return n ew VIRP.AH OBPR.BLL.A HOBPRToolM anager().A ctivateDea ctivateQue stion(curr entUser, q uestionId) ;
  3956           }
  3957  
  3958           [W ebMethod]
  3959           pu blic bool  RemoveQues tion(int q uestionId)
  3960           {
  3961                return n ew VIRP.AH OBPR.BLL.A HOBPRToolM anager().R emoveQuest ion(questi onId);
  3962           }
  3963  
  3964           [W ebMethod]
  3965           pu blic List< STD_GUI_CO NTROLS> ST D_GUI_CONT ROLS_GetBy Category(s tring CURR ENT_USER,  Int32 CURR ENT_REGIST RY_ID, str ing catego ry)
  3966           {
  3967                return S TD_GUI_CON TROLSManag er.GetByCa tegory(CUR RENT_USER,  CURRENT_R EGISTRY_ID , category );
  3968           }
  3969  
  3970           #r egion TOOL _FORM
  3971           [W ebMethod]
  3972           pu blic stati c Int32 TO OL_FORM_Sa ve(string  CURRENT_US ER, Int32  CURRENT_RE GISTRY_ID,  VIRP.AHOB PR.BO.TOOL _FORM objS ave)
  3973           {
  3974                return V IRP.AHOBPR .BLL.TOOL_ FORMManage r.Save(CUR RENT_USER,  CURRENT_R EGISTRY_ID , objSave) ;
  3975           }
  3976           #e ndregion
  3977  
  3978           #e ndregion
  3979           #r egion AHOB PR USERS
  3980  
  3981           [W ebMethod]
  3982           pu blic AHOBP R_USER AHO BPRUSERS_G ET(string  identity,  int regist ryId, int  id)
  3983           {
  3984                return V IRPManager .AHOBPRUSE RS_GET(ide ntity, reg istryId, i d);
  3985           }
  3986  
  3987           [W ebMethod]
  3988           pu blic int A HOBPRUSERS _SAVE(stri ng identit y, int reg istryId, A HOBPR_USER  objSave)
  3989           {
  3990                return V IRPManager .AHOBPRUSE RS_SAVE(id entity, re gistryId,  objSave);
  3991           }
  3992  
  3993           [W ebMethod]
  3994           pu blic int S aveUserSta teFilter(s tring iden tity, int  registryId , USER_STA TES_FILTER  objSave)
  3995           {
  3996                return V IRPManager .SaveUserS tateFilter (identity,  registryI d, objSave );
  3997           }
  3998  
  3999           [W ebMethod]
  4000           pu blic USER_ STATES_FIL TER GetSta tesFilter( string ide ntity, int  registryI d, int id)
  4001           {
  4002                return V IRPManager .GetStates Filter(ide ntity, reg istryId, i d);
  4003           }
  4004           #e ndregion
  4005  
  4006           #r egion AUDI T_LOG
  4007           [W ebMethod]
  4008           pu blic Int32  AUDIT_LOG _Save(stri ng CURRENT _USER, Int 32 CURRENT _REGISTRY_ ID, AUDIT_ LOG objSav e)
  4009           {
  4010                return A UDIT_LOGMa nager.Save (CURRENT_U SER, CURRE NT_REGISTR Y_ID, objS ave);
  4011           }
  4012           #e ndregion
  4013       }
  4014   }