2243. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 10/5/2018 9:05:48 PM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

2243.1 Files compared

# Location File Last Modified
1 MHEDP3_VAOS_VATS_SM_Sept2018.zip\SM 2.4.0 SCV-SchedulingManagerResources2.4.x-InstallationInstructions-250718-1923-3670.docx Thu Sep 27 17:25:06 2018 UTC
2 MHEDP3_VAOS_VATS_SM_Sept2018.zip\SM 2.4.0 SCV-SchedulingManagerResources2.4.x-InstallationInstructions-250718-1923-3670.docx Sat Oct 6 01:38:23 2018 UTC

2243.2 Comparison summary

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

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

2243.4 Active regular expressions

No regular expressions were active.

2243.5 Comparison detail

  1   Scheduling  Manager R esources 2 .4.x - Ins tallation  Instructio ns
  2  
  3  
  4   Assumption s Summary
  5   Service an d Data Sou rce Depend encies Pro perty Over rides
  6   Disabling  Features
  7   VARDB Data  Source Co nfiguratio n AUTHDB D ata Source  Configura tion CDW D ata Source  Configura tion MDWS  Configurat ion
  8   Authorizat ion Servic es and OAu th Configu ration MVI  Configura tion
  9   Metrics Qu eue Config uration Em ail Notifi cation Con figuration
  10   Scheduling  Manager O Auth Confi guration M ongoDB Con figuration
  11   Community  Care
  12   Import Com munity Car e Types of  Care (if  it has not  been done )
  13   Create Com munity Car e Appointm ent Reques t (if it h as not bee n done) Up date Commu nity Care  Appointmen t Request  Table (if  it has not  been done )
  14   Update Com munity Car e Table if  Column DI STANCE_WIL LING_TO_TR AVEL is of  type VARC HAR2 in VA RDB. CC_AP POINTMENT_ REQUEST_TA BLE
  15   Create Pre ferred Pro vider (if  it has not  been done ) Create O ffice Hour s (if it h as not bee n done)
  16   Update Com munity Car e Appointm ent Reques t in Oracl e DB (if i t has not  been done)  Update Ap pointment  Request in  Oracle DB  (if it ha s not been  done)
  17   Insert new  Detail Co des in Ora cle DB (if  it has no t been don e) Insert  new Detail  Codes in  Oracle DB  (if it has  not been  done) Upda te Detail  Codes in O racle DB ( if it has  not been d one)
  18   Add REASON  column to  detail co des (if it  has not b een done)  Deployment
  19   Proxy Conf iguration  Validation
  20   Rollback p rocedures  (v2.3.0+53 .0c219ac t o v2.2.6+5 0.09b8ab)  PMDS Ticke t Tracker
  21  
  22  
  23   Assumption s
  24   Operations  personnel  is famili ar with JE E applicat ions and k nows how t o deploy a pplication s into a W ebLogic en vironment.  Operation s personne l knows ho w to take  backups an d revert d eployments  if there  are failur es.
  25   Operations  personnel  knows how  to procur e environm ent-specif ic propert y values.
  26  
  27  
  28   Summary
  29   This docum ent outlin es the ins tructions  for instal ling the S chedulingM anagerServ ice.
  30  
  31   Service Na me
  32   Scheduling  Manager S ervice
  33   Enclave
  34   Staff Only
  35   WebLogic T arget
  36   Scheduling ManagerSer vices
  37   Java Runti me
  38   JRE 1.7
  39  
  40  
  41   Service an d Data Sou rce Depend encies
  42  
  43   Scheduling ManagerSer vice depen ds on a nu mber of da ta sources  and servi ces descri bed below:
  44  
  45   Dependency
  46   Type
  47   Dependency  Type
  48   Descriptio n
  49   VARDB
  50   Data Sourc e (Oracle  Database)
  51   Deployment  and Runti me
  52   Verify thi s data sou rce and JN DI exists.  Otherwise , create i t.
  53   AUTHDB
  54   Data Sourc e (Oracle  Database)
  55   Runtime
  56   Verify thi s data sou rce and JN DI exists.  Otherwise , create i t.
  57   Authorizat ion Servic es v4.3.x
  58   Service
  59   Runtime
  60   Verify thi s service  is deploye d on the c luster.
  61   MDWS v3.2. 8
  62   Service
  63   Runtime
  64   Verify thi s service  is deploye d and avai lable/acce ssible for  Schedulin g Manager  Resources.  See confi guration s ection for  property  configurat ion
  65   MVI
  66   Service
  67   Runtime
  68   Verify thi s service  is deploye d and avai lable/acce ssible for  Schedulin g Manager  Resources.  See confi guration s ection for  property  configurat ion
  69   Staff Vide o Connect  Service
  70  
  71   v1.0.0
  72   Service
  73   Runtime
  74   Provide ab ility to s chedule pa tient Vide o Visit ap pointments .
  75   Video Visi t Service
  76  
  77   v1.0.2
  78   Service
  79   Runtime
  80   Provide pa tient Vide o Visit ap pointments  created b y vmrlink  restful se rvice.
  81   Messaging  Component  1.0.0
  82   Service
  83   Runtime
  84   Provide ab ility to s end emails  and notif ications t o veterans .
  85   MongoDB
  86   Data Sourc e (MongoDB  Database)
  87   Runtime
  88   Verify thi s data sou rce exists  and is ac cessible.  Otherwise  create it.
  89   SSOE Proxy
  90   Service
  91   Runtime
  92   If using a  mock logi n provider  for testi ng, verify  version 1 .0.0 is in stalled in  the WebLo gic staff  cluster
  93   User Conte xt
  94   Service
  95   Runtime
  96   Verify thi s service  is deploye d and avai lable/acce ssible for  Schedulin g Manager  Resources.  See confi guration s ection for  property  configurat ion
  97   Health Ada pter 3.4.1
  98   Service
  99   Runtime
  100   Verify thi s service  is deploye d and avai lable/acce ssible for  Schedulin g Manager  Resources.  See confi guration s ection for  property  configurat ion
  101  
  102  
  103   Property O verrides
  104   Scheduling ManagerSer vice uses  Spring Coc oon config urator and  Spring pr operty man ager to co nfigure pr operty fil es specifi ed in the  classpath.
  105  
  106   Verify tha t /opt/app lications/ haconfig f older exis ts and is  specified  in the cla ss path us ing Web Lo gic Node S erver star tup config uration. O therwise,  create the  folder an d add it t o the clas spath.
  107   Verify tha t /opt/app lications/ haconfig/S chedulingM anagerServ ice/v2m3px /propertie s (update  x to curre nt version  e.g. v2m3 p0) folder  exists, o therwise c reate it.
  108  
  109   Configure  dependenci es as desc ribed belo w: Each se ction shou ld be adde d in the s pecific pr operty fil e to facil itate prop erty manag ement.
  110  
  111   These file s should b e created  under /opt /applicati ons/haconf ig/Schedul ingManager Service/v2 m3px/prope rties (upd ate x to c urrent ver sion e.g.  v2m3p0)
  112  
  113  
  114   Disabling  Features
  115   Scheduling ManagerSer vice has t he ability  to disabl e features  based on  feature se t. This re lease incl udes Commu nity Care  features t hat are di sabled by  default. T his is con trolled by  a propert ies file:
  116  
  117   scheduling -manager-d isabled-fe eatures.pr operties a nd the pro perty disa bledFeatur es.disable dFeatures.  The defau lt setting  is below:
  118  
  119  
  120  
  121   scheduling -manager-d isabled-fe atures.pro perties
  122  
  123  
  124   #disabled  features f or schedul ing manage r disabled Features.d isabledFea tures=CC_F EATURE_SET
  125  
  126  
  127   To enable  Community  Care featu res, remov e the CC_F EATURE_SET  property  in the dis abledFeatu res in hac onfig and  restart Sc heduling M anager Res ources in  Weblogic.
  128  
  129  
  130   scheduling -manager-d isabled-fe atures.pro perties
  131  
  132  
  133   #enables C ommunity C are featur es for Sch eduling Ma nager disa bledFeatur es.disable dFeatures=
  134  
  135   VARDB Data  Source Co nfiguratio n
  136  
  137  
  138   vardb.prop erties
  139  
  140  
  141   vardb_jndi name=VARDB  dataSourc e.ref=jndi DataSource
  142   vardb_dial ect=org.hi bernate.di alect.Orac le10gDiale ct
  143  
  144   AUTHDB Dat a Source C onfigurati on
  145  
  146  
  147   authdb.pro perties
  148  
  149  
  150   authdb_jnd iname=AUTH DB authdb_ dialect=or g.hibernat e.dialect. Oracle10gD ialect
  151  
  152   CDW Data S ource Conf iguration
  153  
  154  
  155   cdw.proper ties
  156  
  157  
  158   cdw_jndina me=OIA_Mob ileHealth
  159  
  160   cdw.locati onDaoImpl. storedProc edure.name =OIA_Mobil eHealth.Ap p. ap_GetC hildFacili ties_v1
  161  
  162   cdw.clinic s.storedPr ocedure.ca talog=OIA_ MobileHeal th cdw.cli nics.store dProcedure .schema=Ap p cdw.clin ics.stored Procedure. name=ap_Ge tActiveCli nics_v3 cd w.clinics. storedProc edure.batc hSize=100
  163  
  164   MDWS Confi guration
  165  
  166  
  167   mdws.prope rties
  168  
  169  
  170   scheduling .endBasePo intUrl=<MD WS end bas e point UR L> schedul ing.endPoi ntUrl=Sche dulingSvc. asmx
  171  
  172   Authorizat ion Servic es and OAu th Configu ration
  173  
  174  
  175   oauth.prop erties
  176  
  177  
  178   oauth.vali dateTokenU ri=https:/ /<environm ent-addres s>/Authori zationServ ices
  179   /rest/vali dateToken
  180  
  181   MVI Config uration
  182   MVI uses 2 -way SSL.  Please mak e sure to  exchange t he certifi cates betw een MVI an d Server h osted with  the Sched ulingManag erService.  The SSL c onfigurati on is only  needed in  Pre-Prod  and Produc tion as of  Jun 2017.
  183  
  184  
  185   mvi.proper ties
  186  
  187  
  188   mvi.endPoi ntUrl=<mvi  web servi ce URL> mv i.readTime out=600000  mvi.conne ctionTimeo ut=50000 m vi.senderI d=200CIH m vi.keystor ePath=<key  store pat h>
  189   mvi.keysto rePassword =<key stor e password > mvi.keyP assword=<p rivate key  password>  mvi.trust storePath= <trust sto re path> m vi.trustst orePasswor d=<trust s tore passw ord>
  190  
  191   Metrics Qu eue Config uration
  192  
  193  
  194   metrics.pr operties
  195  
  196  
  197   # Beanstal k configur ation used  by Metric s Services  beanstalk .host=<bea nstalk ip  address> b eanstalk.p ort=<beans talk port>
  198  
  199   # Metrics  queue conf iguration  used by Me trics Serv ices metri cs.beansta lk.enabled =true metr ics.queue. name=metri csServiceQ ueue
  200  
  201   Email Noti fication C onfigurati on
  202  
  203  
  204  
  205   email-noti fication.p roperties
  206  
  207  
  208   email.noti fications. fromAddres s=no-reply @vha.gov e mail.notif ications.r eplyToAddr ess=no-rep ly@vha.gov
  209  
  210   Scheduling  Manager O Auth Confi guration
  211   The client  Id and Se cret shoul d be regis tered with  Authoriza tion Servi ces. Regis tration sh ould follo w Authoriz ation Serv ices speci fic instru ctions.
  212  
  213  
  214   scheduling -manager-p rod-oauth. properties
  215  
  216  
  217   oauthDetai ls.clientI d=scheduli ngManager  oauthDetai ls.clientS ecret=SCHE DULINGMANA GER oauthD etails.red irectUri=< environmen t address> /schedulin g-manager  oauthDetai ls.tokenUr l=<environ ment addre ss>/Author izationSer vices/oaut h
  218   /token oau thDetails. scope=read
  219  
  220   MongoDB Co nfiguratio n
  221  
  222  
  223   mongo.prop erties
  224  
  225  
  226   #IP addres ses are in terchangea ble with f ully quali fied domai n names. m ongo.host= <Comma sep arated Mon goNodeIP/h ostname:po rt>//Examp le: For re plica sets , mongo.ho st should  be set as  mongo1:por t1,mongo2: port2,mong o3: port3
  227   mongo.user =<scheduli ng-service -specific  account> ( see PMDS t icket for  this servi ce)
  228   mongo.secr etkey=<pas sword> mon go.databas e.name=var -utility m ongo.ssl=t rue mongo. useAuthent ication=tr ue
  229  
  230   facility.m ongo.host= <Comma sep arated Mon goNodeIP/h ostname:po rt>
  231   //Example:  For repli ca sets, m ongo.host  should be  set as mon go1:port1,  mongo2:po rt2,mongo3 :port3
  232   facility.m ongo.user= <facility- service-sp ecific acc ount> (see  PMDS tick et for thi s service)
  233   facility.m ongo.secre tkey=<pass word> faci lity.mongo .database. name=facil ity facili ty.mongo.s sl=true fa cility.mon go.useAuth entication =true
  234  
  235  
  236   Community  Care
  237  
  238   Import Com munity Car e Types of  Care (if  it has not  been done )
  239   Use mongoi mport util ity to imp ort the li st of Type s of Care  into the M ongDB inst ance confi gured abov e. Import  data into  the commun ityCareTy  peOfCares  collection  in the va r-utility  database.  Refer to M ongoDB doc umentation  for synta x of the c ommand to  import a j son file i nto the de signated c ollection  in the des ignated da tabase. A  sample par tial comma nd is prov ided below . Please i ssue the c omplete co mmand for  the enviro nment bein g installe d.
  240  
  241   mongoimpor t --ssl -- db var-uti lity --col lection co mmunityCar eTypeOfCar es --drop  --jsonArra y --file < communi ty -care-type -of-cares. json> -u < username>  -p <passwo rd> --auth entication Database < authentica tion datab ase>
  242  
  243  
  244  
  245  
  246   community- care-types -of-cares. json
  247   [
  248   {
  249   "_id" : "C CAUDHEAR",
  250   "name" : " Audiology  (hearing a id support )",
  251   "details"  : "This is  an office  visit for  Veterans  who alread y have
  252   a hearing  aid and wh o need ass istance wi th the dev ice. This  visit is f or trouble  shooting  or adjusti ng your he aring aid  for best p erformance . This may  include t echnical a djustments , cleaning , and/or r eprogrammi ng for new  listening  situation s and envi ronments.  This is no t a visit  to initial ly be eval uated for  or to obta in a heari ng aid.",
  253   "confirmat ion" : "Th is request  is for he aring aid  support on ly. If you  have othe r needs, p lease cont act your P rimary Car e Provider  to discus s the issu e. If you  are distan ce eligibl e and do n ot have a  Primary Ca re Provide r, you can  use this  app to req uest help  in getting  one assig ned."
  254   },
  255   {
  256   "_id" : "C CAUDRTNE",
  257   "name" : " Audiology  (routine h earing exa m)",
  258   "details"  : "This in cludes an  office vis it for a h earing exa m and eval uation usi ng non-inv asive test s to check  your hear ing and in ner ear he alth. The  exam may l ead to pre vention an d treatmen t recommen dations, a  request f or further  consultat ion, and/o r a recomm endation f or hearing  aids. A r outine exa m is not f or any new  or sudden  changes w ith your h earing or  ears.",
  259   "confirmat ion" : "Th is request  is for ro utine hear ing exam o nly.
  260   If you hav e other ne eds, pleas e contact  your Prima ry Care Pr ovider to  discuss th e issue. I f you are  distance e ligible an d do not h ave a Prim ary Care P rovider, y ou can use  this app  to request  help in g etting one  assigned. "
  261   },
  262   {
  263   "_id" : "C COPT",
  264   "name" : " Optometry  (routine e ye exam)",
  265   "details"  : "This in cludes an  office vis it for an  eye exam a nd vision  evaluation , which ma y include  dilating y our eyes.  The exam m ay lead to  preventio n and trea tment reco mmendation s, a reque st for fur ther consu ltation, a nd/or a pr escription  for eye g lasses or  contact le nses. A ro utine exam  is not fo r any new  or sudden  changes wi th your vi sion or ey es.",
  266   "confirmat ion" : "Th is request  currently  only supp orts routi ne eye exa ms. If you  have othe r needs, p lease cont act your P rimary Car e Provider
  267  
  268   to discuss  the issue . If you a re distanc e eligible  and do no t have a P rimary Car e Provider , you can  use this a pp to requ est help i n getting  one assign ed."
  269   },
  270   {
  271   "_id":"CCP CPRVDR",
  272   "name":"Pr imary Care  (find a p rovider)",
  273   "details": "If approv ed, you'll  be assign ed to a pr imary care  provider  in the com munity to  whom we wi ll send th e approved  referral.  If you ha ve a prefe rence on a  Primary C are Provid er, please  contact y our local  VA Medical  Center (V AMC). Once  assigned,  you will  be provide d informat ion and wi ll need to  contact t he provide r’s office  directly  for preven tive and o ther healt h care nee ds for the  duration  of the app roved refe rral.",
  274   "confirmat ion":"This  request c urrently o nly suppor ts the fin ding of a  Primary Ca re Provide r. If you  have other  needs, pl ease conta ct your Pr imary Care  Provider  to discuss  this issu e. If you  are distan ce eligibl e and do n ot have a  Primary Ca re Provide r, you can  use this  app to req uest help  in getting  one assig ned."
  275   },
  276   {
  277   "_id":"CCP OD",
  278   "name":"Po diatry (ro utine exam )",
  279   "details": "This incl udes an of fice visit  for an ex am of the  foot, ankl e and rela ted struct ures of th e leg. The  exam may  lead to di agnosis an d treatmen t to inclu de common  conditions  like call ous, bunio ns, and ot her condit ions requi ring in of fice treat ment, orth otics, and  possibly  the need f or surgery . If you a re experie ncing any  acute cond itions or  sudden ons et of pain , break in  the skin  with possi ble infect ion, pleas e contact  your local  VAMC.",
  280   "confirmat ion":"This  request c urrently o nly suppor ts routine  podiatry  exams. If  you have o ther needs , please c ontact you r Primary  Care Provi der to dis cuss this  issue. If  you are di stance eli gible and  do not hav e a Primar y Care Pro vider, you  can use t his app to  request h elp in get ting one a ssigned."
  281   }
  282   ]
  283  
  284  
  285  
  286  
  287  
  288  
  289   Create Com munity Car e Appointm ent Reques t (if it h as not bee n done)
  290   Run the fo llowing SQ L script o n VARDB sc hema.
  291  
  292  
  293  
  294   VAR-9277.s ql
  295  
  296  
  297   CREATE TAB LE "VARDB" ."CC_APPOI NTMENT_REQ UEST" (
  298   "CC_APPOIN TMENT_REQU EST_ID" VA RCHAR2(32  BYTE) NOT  NULL ENABL E, "APPOIN TMENT_REQU EST_ID" VA RCHAR2(32  BYTE) NOT  NULL ENABL E, "TRAVEL _BURDEN" N UMBER NOT  NULL ENABL E, "UNUSUA L_TRAVEL_B URDEN" NUM BER,
  299   "DISTANCE_ WILLING_TO _TRAVEL" N UMBER NOT  NULL ENABL E, "ADDRES S" VARCHAR 2(100 BYTE ),
  300   "CITY" VAR CHAR2(50 B YTE), "STA TE" VARCHA R2(2 BYTE) , "ZIPCODE " VARCHAR2 (5 BYTE),
  301   "PREFERRED _ZIPCODE"  VARCHAR2(5  BYTE) NOT  NULL ENAB LE
  302   );
  303  
  304   Update Com munity Car e Appointm ent Reques t Table (i f it has n ot been do ne)
  305  
  306   Run the fo llowing SQ L script o n VARDB sc hema.
  307  
  308   if you're  using a ve rsion grea ter than 2 .2.5 then  this has t o be done
  309  
  310  
  311   CC preferr ed Columns
  312  
  313  
  314   alter tabl e VARDB.CC _APPOINTME NT_REQUEST
  315   add (PREFE RRED_CITY  VARCHAR2(5 0 BYTE) DE FAULT '' N OT NULL);
  316   alter tabl e VARDB.CC _APPOINTME NT_REQUEST
  317   add (PREFE RRED_STATE  VARCHAR2( 2 BYTE) DE FAULT '' N OT NULL);
  318  
  319   alter tabl e VARDB.CC _APPOINTME NT_REQUEST
  320   add (PREFE RRED_LANGU AGE VARCHA R2(100 BYT E)DEFAULT  'English'  NOT NULL);
  321  
  322   alter tabl e VARDB.CC _APPOINTME NT_REQUEST
  323   modify (PR EFERRED_ZI PCODE VARC HAR2(10 BY TE) NULL);
  324  
  325   CREATE UNI QUE INDEX  "VARDB"."P K_CC_APPOI NTMENT_REQ UEST_ID" O N "VARDB". " CC_APPOI NTMENT_REQ UEST" ("CC _APPOINTME NT_REQUEST _ID") ;
  326  
  327   ALTER TABL E "VARDB". "CC_APPOIN TMENT_REQU EST" ADD C ONSTRAINT  "PK_CC_APP OINTMENT_R EQUEST_ID"  PRIMARY K EY ("CC_AP POINTMENT_ REQUEST_ID ");
  328  
  329   Update Com munity Car e Table if  Column DI STANCE_WIL LING_TO_TR AVEL is of  type VARC HAR2 in VA RDB.CC_APP OINTMENT_R EQUEST_TAB LE
  330   Run the fo llowing SQ L script o n VARDB sc hema.
  331  
  332   if you're  using a ve rsion grea ter than 2 .2.4 and t he DISTANC E_WILLING_ TO_TRAVEL  is not of  type numbe r then thi s has to b e done
  333  
  334  
  335  
  336   Revert Dis tance will ing to tra vel column  to be of  type numbe r
  337  
  338  
  339   UPDATE VAR DB.CC_APPO INTMENT_RE QUEST
  340   SET DISTAN CE_WILLING _TO_TRAVEL  = '100' W HERE DISTA NCE_WILLIN G_TO_TRAVE L =
  341   '100 or mo re'; commi t;
  342   alter tabl e VARDB.CC _APPOINTME NT_REQUEST
  343   RENAME COL UMN "DISTA NCE_WILLIN G_TO_TRAVE L" TO "DIS TANCE_TRAV EL_LEGACY" ;
  344  
  345   alter tabl e VARDB.CC _APPOINTME NT_REQUEST
  346   add (DISTA NCE_WILLIN G_TO_TRAVE L NUMBER D EFAULT ''  NOT NULL);
  347  
  348   update VAR DB.CC_APPO INTMENT_RE QUEST
  349   set DISTAN CE_WILLING _TO_TRAVEL =TO_NUMBER (DISTANCE_ TRAVEL_LEG ACY);
  350  
  351   commit;
  352  
  353   alter tabl e VARDB.CC _APPOINTME NT_REQUEST  drop (DIS TANCE_TRAV EL_LEGACY) ;
  354  
  355  
  356  
  357   Create Pre ferred Pro vider (if  it has not  been done )
  358   Run the fo llowing SQ L script o n VARDB sc hema.
  359  
  360   if you're  using a ve rsion grea ter than 2 .2.5 then  this has t o be done
  361  
  362  
  363  
  364   vardb_prov iders_tabl e.sql
  365   ---------- ---------- ---------- ---------- ---------- ------
  366   --DDL for  Table PREF ERRED_PROV IDER
  367   ---------- ---------- ---------- ---------- ---------- ------
  368  
  369   CREATE TAB LE "VARDB" ."PREFERRE D_PROVIDER "
  370   ( "PREFERR ED_PROVIDE R_ID" VARC HAR2(32 BY TE), "CC_A PPOINTMENT _REQUEST_I D" VARCHAR 2(32 BYTE) , "FIRST_N AME" VARCH AR2(100 BY TE),
  371   "LAST_NAME " VARCHAR2 (100 BYTE) , "PRACTIC E_NAME" VA RCHAR2(100  BYTE), "P ROVIDER_ST REET" VARC HAR2(100 B YTE), "PRO VIDER_CITY " VARCHAR2 (100 BYTE) , "PROVIDE R_STATE" V ARCHAR2(2  BYTE), "PR OVIDER_ZIP CODE" VARC HAR2(10 BY TE), "PREF ERRED_ORDE R" NUMBER  NOT NULL
  372   );
  373   ---------- ---------- ---------- ---------- ---------- ------
  374   --DDL for  Index PK_P REFERRED_P ROVIDER
  375   ---------- ---------- ---------- ---------- ---------- ------
  376  
  377   CREATE UNI QUE INDEX  "VARDB"."P K_PREFERRE D_PROVIDER " ON "VARD B"." PREFE RRED_PROVI DER" ("PRE FERRED_PRO VIDER_ID")  ;
  378  
  379   ---------- ---------- ---------- ---------- ---------- ------
  380   --Constrai nts for Ta ble PREFER RED_PROVID ER
  381   ---------- ---------- ---------- ---------- ---------- ------
  382  
  383   ALTER TABL E "VARDB". "PREFERRED _PROVIDER"  ADD CONST RAINT "PK_ PREFERRED_ PROVIDER"  PRIMARY KE Y ("PREFER RED_PROVID ER_ID");
  384   ---------- ---------- ---------- ---------- ---------- ------
  385   --Ref Cons traints fo r Table PR EFERRED_PR OVIDER
  386   ---------- ---------- ---------- ---------- ---------- ------
  387  
  388   ALTER TABL E "VARDB". "PREFERRED _PROVIDER"  ADD CONST RAINT "FK_ PREFERRED_ PROVIDER"  FOREIGN KE Y ("CC_APP OINTMENT_R EQUEST_ID" )
  389   REFERENCES  "VARDB"." CC_APPOINT MENT_REQUE ST" ("CC_A PPOINTMENT _REQUEST_I D") ENABLE ;
  390  
  391  
  392  
  393  
  394  
  395   Create Off ice Hours  (if it has  not been  done)
  396   Run the fo llowing SQ L script o n VARDB sc hema.
  397  
  398   if you're  using a ve rsion grea ter than 2 .2.5 then  this has t o be done
  399  
  400  
  401  
  402   vardb_offi ce_hours_t able.sql
  403  
  404  
  405   CREATE TAB LE "VARDB" ."OFFICE_H OURS" (
  406   "CC_APPOIN TMENT_REQU EST_ID" VA RCHAR2(32  BYTE), "OF FICE_TIME"  VARCHAR2( 40 BYTE)
  407   );
  408  
  409   CREATE UNI QUE INDEX  "VARDB"."P K_OFFICE_T IME" ON "V ARDB"."OFF ICE_HOURS"  ("CC_APPO INTMENT_RE QUEST_ID",  "OFFICE_T IME");
  410  
  411  
  412  
  413  
  414  
  415  
  416   Update Com munity Car e Appointm ent Reques t in Oracl e DB (if i t has not  been done)
  417   Run the fo llowing SQ L script o n VARDB sc hema.
  418  
  419   If you are  using a v ersion of  Scheduling  Manager g reater tha n 2.2.1 th is has to  be done
  420  
  421  
  422   vardb_adde d_col_know n_eligibil ity.sql
  423  
  424  
  425   ALTER TABL E CC_APPOI NTMENT_REQ UEST MODIF Y (
  426   TRAVEL_BUR DEN NULL
  427   );
  428   ALTER TABL E CC_APPOI NTMENT_REQ UEST ADD (
  429   DISTANCE_E LIGIBLE NU MBER
  430   );
  431   UPDATE CC_ APPOINTMEN T_REQUEST  SET DISTAN CE_ELIGIBL E = 0;
  432   ALTER TABL E CC_APPOI NTMENT_REQ UEST MODIF Y (
  433   DISTANCE_E LIGIBLE NO T NULL
  434   );
  435  
  436  
  437   Update App ointment R equest in  Oracle DB  (if it has  not been  done)
  438   Run the fo llowing SQ L script o n VARDB sc hema.
  439  
  440  
  441  
  442   SCV-2857.s ql
  443  
  444  
  445   ALTER TABL E VARDB.AP POINTMENT_ REQUEST AD D (
  446   LOCATION_I D VARCHAR2 (100), AUT HORITATIVE _NAME VARC HAR2(255),  FRIENDLY_ NAME VARCH AR2(255)
  447   ); COMMIT;
  448  
  449  
  450   Insert new  Detail Co des in Ora cle DB (if  it has no t been don e)
  451   If you are  using a v ersion of  Scheduling  Manager g reater tha n 2.2.1 th is has to  be done PD MS 1349
  452  
  453   SCV-2955.s ql
  454  
  455  
  456   INSERT INT O "VARDB". "DETAIL_CO DE" (DETAI L_CODE_ID,  PROVIDER_ MESSAGE,
  457   VETERAN_ME SSAGE) VAL UES ('DETC ODE15', 'S cheduled i n Communit y on reque sted date. ', 'Your C ommunity a ppointment  was sched uled based  upon your  request.' );
  458   INSERT INT O "VARDB". "DETAIL_CO DE" (DETAI L_CODE_ID,  PROVIDER_ MESSAGE,
  459   VETERAN_ME SSAGE) VAL UES ('DETC ODE16', 'S cheduled i n Communit y on alter nate date. ', 'Your C ommunity a ppointment  has been  scheduled  at a time  that diffe rs from wh at you ori ginally re quested. P lease log  in to VA A ppointment s to revie w your app ointment d ates and t imes.');
  460  
  461   If you are  using a v ersion of  Scheduling  Manager g reater tha n 2.2.3 th is has to  be done PD MS 1349
  462  
  463  
  464  
  465   SCV-2954.s ql
  466  
  467  
  468   INSERT INT O "VARDB". "DETAIL_CO DE" (DETAI L_CODE_ID,  PROVIDER_ MESSAGE,
  469   VETERAN_ME SSAGE) VAL UES ('DETC ODE17', 'C ancelled a t Veteran  request',  'Your appo intment re quest has  been cance lled at yo ur request .'); INSER T INTO "VA RDB"."DETA IL_CODE" ( DETAIL_COD E_ID, PROV IDER_MESSA GE,
  470   VETERAN_ME SSAGE) VAL UES ('DETC ODE18', 'C ancelled b y VA - Not  Eligible  for Commun ity Care',  'Your req uest for a  Community  appointme nt has bee n cancelle d because  you did no t meet eli gibility r equirement s.');
  471   INSERT INT O "VARDB". "DETAIL_CO DE" (DETAI L_CODE_ID,  PROVIDER_ MESSAGE,
  472   VETERAN_ME SSAGE) VAL UES ('DETC ODE19', 'C ancelled b y VA - Una ble to mee t request;  Veteran c ontacted b ut not ava ilable', ' Your reque st for an  appointmen t has been  cancelled  because w e have bee n unable t o contact  you to com plete the  request.') ;
  473  
  474   If you are  using a v ersion of  Scheduling  Manager g reater tha n 2.2.4 th is has to  be done
  475  
  476  
  477  
  478   Resolve Re quest Deta il Codes
  479   INSERT INT O "VARDB". "DETAIL_CO DE" (DETAI L_CODE_ID,  PROVIDER_ MESSAGE,
  480   VETERAN_ME SSAGE) VAL UES ('DETC ODE20', 'R esolved –  Scheduled  Outside of  Schedulin g Manager' , 'Your ap pointment  has been s cheduled.' );
  481  
  482   INSERT INT O "VARDB". "DETAIL_CO DE" (DETAI L_CODE_ID,  PROVIDER_ MESSAGE,
  483   VETERAN_ME SSAGE) VAL UES ('DETC ODE21', 'R esolved –  Specialty  Not Availa ble', 'The  appointme nt type yo u requeste d is not a vailable f or online  scheduling  requests.  Please co ntact your  facility  if you sti ll need to  schedule  this appoi ntment.');
  484  
  485   INSERT INT O "VARDB". "DETAIL_CO DE" (DETAI L_CODE_ID,  PROVIDER_ MESSAGE,
  486   VETERAN_ME SSAGE) VAL UES ('DETC ODE22', 'C ancelled –  Cancelled  at Vetera n Request' , 'Your ap pointment  request ha s been can celled at  your reque st.');
  487  
  488   INSERT INT O "VARDB". "DETAIL_CO DE" (DETAI L_CODE_ID,  PROVIDER_ MESSAGE,
  489   VETERAN_ME SSAGE) VAL UES ('DETC ODE23', 'C ancelled –  Unable to  Reach Vet eran', 'We  were unab le to cont act you to  discuss y our appoin tment. We  apologize  for not be ing able t o book thi s request  for an app ointment.  You can ca ll the fac ility to d iscuss sch eduling op tions for  your curre nt need or  you can s tart a new  appointme nt request  using thi s applicat ion.');
  490  
  491   INSERT INT O "VARDB". "DETAIL_CO DE" (DETAI L_CODE_ID,  PROVIDER_ MESSAGE,
  492   VETERAN_ME SSAGE) VAL UES ('DETC ODE24', 'C ancelled –  Other', ' Your reque sted has b een cancel led. Pleas e contact  the facili ty if you  have quest ions regar ding this  request or  schedulin g a relate d appointm ent.');
  493  
  494   Insert new  Detail Co des in Ora cle DB (if  it has no t been don e)
  495   If you are  using a v ersion of  Scheduling  Manager g reater tha n 2.2.5 th is has to  be done PD MS 1439
  496  
  497   Booked CC  PCP Detail  Codes
  498  
  499  
  500   INSERT INT O "VARDB". "DETAIL_CO DE" (DETAI L_CODE_ID,  PROVIDER_ MESSAGE,
  501   VETERAN_ME SSAGE) VAL UES ('DETC ODE25', 'P rovider Fo und.', 'Yo ur request  to find a  community  care prim ary care p rovider ha s been com pleted and  a provide r has been  found.');
  502  
  503  
  504   PDMS 1440
  505  
  506  
  507   Resolve CC  PCP Reque sts Detail  Codes
  508  
  509  
  510   INSERT INT O "VARDB". "DETAIL_CO DE" (DETAI L_CODE_ID,  PROVIDER_ MESSAGE,
  511   VETERAN_ME SSAGE) VAL UES ('DETC ODE26', 'C ancelled a t Veteran  request ',  'Your req uest to fi nd a prima ry care pr ovider has  been canc elled at y our reques t.');
  512   INSERT INT O "VARDB". "DETAIL_CO DE" (DETAI L_CODE_ID,  PROVIDER_ MESSAGE,
  513   VETERAN_ME SSAGE) VAL UES ('DETC ODE27', 'C ancelled b y VA - Not  Eligible  for Commun ity Care',  'Your req uest to fi nd a prima ry care pr ovider has  been canc elled beca use you di d not meet  eligibili ty require ments.');
  514   INSERT INT O "VARDB". "DETAIL_CO DE" (DETAI L_CODE_ID,  PROVIDER_ MESSAGE,
  515   VETERAN_ME SSAGE) VAL UES ('DETC ODE28', 'C ancelled b y VA - Una ble to mee t request;  Veteran c ontacted b ut not ava ilable', ' Your reque st to find  a primary  care prov ider has b een cancel led becaus e we have  been unabl e to conta ct you to  complete t he request .');
  516  
  517   Update Det ail Codes  in Oracle  DB (if it  has not be en done)
  518   Run the fo llowing SQ L script o n VARDB sc hema.
  519  
  520   if you're  using a ve rsion of S cheduling  Manager gr eater than  2.2.5 thi s has to b e done PDM S 1419
  521  
  522   SQL update  DETCODE19
  523  
  524  
  525   UPDATE "VA RDB"."DETA IL_CODE"
  526   SET PROVID ER_MESSAGE  = 'Cancel led by VA  - Unable t o meet req uest; Vete ran contac ted but no t availabl e'
  527   WHERE DETA IL_CODE_ID  = 'DETCOD E19'; COMM IT;
  528  
  529   Add REASON  column to  detail co des (if it  has not b een done)
  530   If you are  using a v ersion of  Scheduling  Manager g reater tha n 2.2.4 th is has to  be done
  531  
  532  
  533  
  534   ALTER TABL E VARDB.AR _DETAIL_CO DE ADD REA SON NVARCH AR2(100);
  535  
  536  
  537   Applicatio n Context  Override
  538   Create the  following  applicati on context  override  if deployi ng into an  Amazon SM TP environ ment like  the Demo e nvironment  in EC2. C reate the  following  file under  the {WebL ogic_Domai n}/haconfi g/Scheduli ngManagerS ervice/v2m 3px/config  (update x  to curren t version  e.g. v2m2p 0) directo ry. Other  environmen ts may nee d changes  to the pro perties be ing define d in the b elow sprin g bean.
  539  
  540  
  541   applicatio nContext-s mtp.xml
  542  
  543  
  544   <?xml vers ion="1.0"  encoding=" UTF-8"?>
  545   <beans xml ns="http:/ /www.sprin gframework .org/schem a/beans" x mlns:xsi=" http://www .w3.org/20 01/XMLSche ma-instanc e" xsi:sch emaLocatio n="http:// www.spring framework. org/schema /beans
  546   http://www .springfra mework.org /schema/be ans/spring -beans-3.0 .xsd">
  547   <bean id=" mailSender " class="o rg.springf ramework.m ail.javama il.
  548   JavaMailSe nderImpl">
  549   <property  name="host " value="s mtp.va.gov " />
  550   <property  name="java MailProper ties">
  551   <props>
  552   <prop key= "mail.smtp .connectio ntimeout"> 5000</prop >
  553   <prop key= "mail.smtp .timeout"> 5000</prop >
  554   </props>
  555   </property >
  556   </bean>
  557   </beans>
  558  
  559  
  560   Deployment
  561   Scheduling ManagerSer vice is a  standard V AMF web se rvice that  has been  developed  and tested  on WebLog ic. After  verifying  the depend encies and  property  configurat ion, insta ll the Dep loyable Ar tifact fro m the Rele ase Docume ntation Pa ge (parent ) page on  the WebLog ic cluster /server.
  562  
  563   Deployment  of WAR fi le can be  performed  either man ually thro ugh the We bLogic Adm in Console  or throug h the foll owing samp le script:
  564  
  565  
  566  
  567  
  568   # Please m ake sure t he paths a re correct  and the p arameters  are replac ed with co rrect valu es before  executing  the script  on comman d line
  569  
  570   . /opt/ora cle/middle ware/user_ projects/d omains/<do main>/bin/ setDomainE nv.sh java  weblogic. Deployer - adminurl t 3://{admin serverip}: 6001 -user  {userid}  - password  {password } -undeplo y -name "S chedulingM anagerServ ice-2.0.1"
  571  
  572   java weblo gic.Deploy er -adminu rl t3://{a dminserver ip}:6001 - user {user id} - pass word {pass word} -dep loy -targe ts Schedul ingManager Services - name "Sche dulingMana gerService -2.0.1" -s ource "Sch edulingMan agerServic e-
  573   {version w ith build  number}.wa r”
  574  
  575  
  576   Proxy Conf iguration
  577   Use the co nfiguratio ns below t o setup Ap ache proxy . Restart  the proxy  after maki ng changes  to the /e tc/httpd/c onf.d/sche duling-man ager. ssl  configurat ion file ( e.g., sudo  service h ttpd resta rt).
  578  
  579   Verify tha t the foll owing Incl ude statem ent presen t in /etc/ httpd2/con f.d/ssl.co nf file, i f not add  the entry.  If the en try is pre sent, no n eed to add  or modify .
  580  
  581  
  582   /etc/httpd /conf.d/ss l.conf
  583  
  584  
  585   <VirtualHo st *:443>
  586   ...
  587   Include co nf.d/*.ssl
  588   ...
  589   </VirtualH ost>
  590  
  591  
  592   Please add  the follo wing proxy  configura tion to th e apache s ervice to  forward tr affic to t he deploym ent on Web Logic.
  593  
  594  
  595   /etc/httpd /conf.d/sc heduling-m anager.ssl
  596  
  597  
  598   <Location  /Schedulin gManagerSe rvice/v2>  SetHandler  weblogic- handler
  599   WebLogicCl uster <env ironment-i p-address: port> WLPr oxySSL ON
  600   </Location >
  601  
  602  
  603   Validation
  604   Ensure tha t the WebL ogic deplo yment stat e is Activ e and that  https://< environmen t-address> /Schedulin gManagerSe rvice/v2/  ret urns " Welcome to  Schedulin gManagerSe rvice" wit h the corr ect manife st.
  605  
  606  
  607   Rollback p rocedures  (v2.3.0+53 .0c219ac t o v2.2.6+5 0.09b8ab)
  608  
  609   Revert the  configura tion chang es that we re made by  deleting  the follow ing folder :
  610   /opt/appli cations/ha config/Sch edulingMan agerServic e/v2m3px ( update x t o current  version e. g. v2m3p0)
  611   Undeploy t he applica tion from  the WebLog ic cluster .
  612   Install v2 .2.6 follo wing these  instructi ons.
  613  
  614  
  615  
  616  
  617   PMDS Ticke t Tracker
  618  
  619  
  620   Version
  621   Link to Se ction in
  622   Install In structions
  623   Summary
  624   Ticket Lin k - Devint Ticket Lin k - SQA
  625   Ticket Lin k - Pre-
  626   Prod
  627   Ticket Lin k - Prod
  628   SM 2.2.3
  629   Insert new  DetailCom munity Car e (CC)
  630   Codes in O racle DB ( if     Det ail Code i t has not  been done)
  631   PMDS-1349  -
  632   Getting is sue
  633   PMDS-1351  -
  634   Getting is sue
  635   details... STATUSdeta ils...STAT US
  636   SM 2.2.4
  637   Add REASON  column      Reason c olumn
  638   to detail  codes (if  it has not  been done )
  639   PMDS-1393  -
  640   Getting is sue
  641   PMDS-1394  -
  642   Getting is sue
  643   details... STATUSdeta ils...STAT US
  644   SM 2.2.6
  645   Update Det ail CodesC C Detail C ode
  646   in Oracle  DB (if it  has not be en done)
  647   PMDS-1419  -
  648   Getting is sue
  649   PMDS-1418  -
  650   Getting is sue
  651   details... STATUSdeta ils...STAT US
  652   SM 2.2.6
  653   Insert new  DetailCC  Detail Cod e
  654   Codes in O racle DB ( if it has  not been d one)
  655   PMDS-1439  -
  656   Getting is sue
  657   PMDS-1474  -
  658   Getting is sue
  659   details... STATUSdeta ils...STAT US
  660   SM 2.2.6
  661   Insert new  DetailCC  Detail Cod e
  662   Codes in O racle DB ( if it has  not been d one)
  663   PMDS-1440  -
  664   Getting is sue
  665   PMDS-1475  -
  666   Getting is sue
  667   details... STATUSdeta ils...STAT US