20. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 3/24/2017 5:17:18 PM Eastern 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.

20.1 Files compared

# Location File Last Modified
1 MHV_2017.2.0.0 Code In Flight.zip\National Portal\mhv_rxrefill\mhv-rx-refill-portal-main\src\main\java\gov\va\med\domain\model\validation RawPrescription.java Thu Feb 11 17:10:22 2016 UTC
2 MHV_2017.2.0.0 Code In Flight.zip\National Portal\mhv_rxrefill\mhv-rx-refill-portal-main\src\main\java\gov\va\med\domain\model\validation RawPrescription.java Fri Mar 24 20:30:42 2017 UTC

20.2 Comparison summary

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

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

20.4 Active regular expressions

No regular expressions were active.

20.5 Comparison detail

  1   package go v.va.med.d omain.mode l.validati on;
  2  
  3   import gov .va.med.do main.model .Prescript ion;
  4  
  5   /**
  6    * Holds r aw data fo r a prescr iption.  V alidates,  comverts a nd populat es a 
  7    * Prescri ption from  these val ues and po pulates a  DtoListPay load with  either
  8    * the goo d Prescrip tion or th e errant P rescriptio n with a l ist of ass ociated er rors.  
  9    * <P>
  10    * Designe d for use  with an HL 7 Message  Decoder to  allow val idation to  occur in  the busine ss tier.  
  11    * 
  12    * @author   PII
  13    * @versio n $Id: Raw Prescripti on.java,v  1.3 2005/0 9/16 21:43 :35 ye.jin  Exp $
  14    * @since  MHV 2.0 <b r>Jul 2, 2 005
  15    */
  16   public cla ss RawPres cription e xtends Bas eRawVO {
  17       
  18       //  Nu mber field s
  19       public  String Pl aceOrderNu m;
  20       public  String Nu mberOfRefi lls;
  21       public  String Qu antity;
  22       public  String Da ysSupply;
  23  
  24       //  Da te fields
  25       public  String Is sueDateTim e;
  26       public  String La stFillDate ;
  27       public  String Re leaseDate;
  28       public  String Ex pirationOr CancelDate ;
  29       public  String Mh vStatusDat e;
  30  
  31       //Stri ng fields
  32       public  String Pr escription Num;
  33       public  String Ie n;
  34       public  String Pr oviderId;
  35       public  String Pr oviderLast Name;
  36       public  String Pr oviderFirs tName;
  37  
  38       public  String Di vision;
  39       public  String Di visionName ;
  40       public  String Dr ugName;
  41       public  String Dr ugClass;
  42       public  String Si g; 
  43       public  String Re marks;
  44       public  String Ma ilOrWindow ;
  45       public  String Ph armacyStat us;
  46       public  String Mh vRequestSt atus;
  47       
  48       public  Object cr eateDto()  {
  49         retu rn new Pre scription( );
  50       }
  51       
  52       public  void popu lateAndVal idate(Obje ct dto) {
  53           Pr escription  target =  (Prescript ion)dto;
  54           ta rget.setPr escription Num(valida teNotNull( getPrescri ptionNum() , "Prescri ption Numb er"));
  55           ta rget.setIe n(validate NotNull(ge tIen(), "I EN"));
  56           ta rget.setDr ugName(val idateNotNu ll(getDrug Name(), "D rug Name") );
  57           ta rget.setIs sueDate(va lidateNonN ullDate(ge tIssueDate Time(), "I ssue Date" ));
  58           ta rget.setLa stFillDate (validateN onNullDate (getLastFi llDate(),  "Last Fill  Date"));
  59           ta rget.setRe leaseDate( validateDa te(getRele aseDate(),  "Release  Date"));
  60           ta rget.setEx pirationOr CancelDate (validateN onNullDate (getExpira tionOrCanc elDate(),  "Expiratio n/Cancel D ate"));
  61           ta rget.setPh armacyStat us(validat eNotNull(g etPharmacy Status(),  "Pharmacy  Status"));
  62           ta rget.setQu antity(val idateNonNu llFloat(ge tQuantity( ), "Quanti ty"));
  63           ta rget.setDa ysSupply(v alidateNon NullIntege r(getDaysS upply(), " Days Suppl y"));
  64           ta rget.setNu mReFill(va lidateNonN ullInteger (getNumber OfRefills( ), "Number  of Refill s"));
  65           ta rget.setPr oviderId(g etProvider Id());
  66           ta rget.setPr oviderFirs tName(getP roviderFir stName());
  67           ta rget.setPr oviderLast Name(getPr oviderLast Name());
  68           ta rget.setPl aceOrderNu mber(getPl aceOrderNu m());
  69           ta rget.setMa ilOrWindow (validateN otNull(get MailOrWind ow(), "Mai l/Window") );
  70           ta rget.setDi vision(val idateInteg er(getDivi sion(), "D ivision")) ;
  71           ta rget.setDi visionName (getDivisi onName());
  72           ta rget.setRe marks(getR emarks());
  73           ta rget.setMh vStatus(va lidateInte ger(getMhv RequestSta tus(), "MH V Status") );
  74           ta rget.setMh vStatusDat e(validate Date(getMh vStatusDat e(), "MHV  Status Dat e"));
  75           ta rget.setSi g(getSig() );
  76       }
  77       
  78       public  String ge tDaysSuppl y() {
  79           re turn DaysS upply;
  80       }
  81       
  82       public  void setD aysSupply( String Day sSupply) {
  83           th is.DaysSup ply = Days Supply;
  84       }
  85       
  86       public  String ge tDivision( ) {
  87           re turn Divis ion;
  88       }
  89       
  90       public  void setD ivision(St ring Divis ion) {
  91           th is.Divisio n = Divisi on;
  92       }
  93       
  94       public  String ge tDivisionN ame() {
  95           re turn Divis ionName;
  96       }
  97       
  98       public  void setD ivisionNam e(String D ivisionNam e) {
  99           th is.Divisio nName = Di visionName ;
  100       }
  101       
  102       public  String ge tDrugClass () {
  103           re turn DrugC lass;
  104       }
  105       
  106       public  void setD rugClass(S tring Drug Class) {
  107           th is.DrugCla ss = DrugC lass;
  108       }
  109       
  110       public  String ge tDrugName( ) {
  111           re turn DrugN ame;
  112       }
  113       
  114       public  void setD rugName(St ring DrugN ame) {
  115           th is.DrugNam e = DrugNa me;
  116       }
  117       
  118       public  String ge tExpiratio nOrCancelD ate() {
  119           re turn Expir ationOrCan celDate;
  120       }
  121       
  122       public  void setE xpirationO rCancelDat e(
  123                String E xpirationO rCancelDat e) {
  124           th is.Expirat ionOrCance lDate = Ex pirationOr CancelDate ;
  125       }
  126       
  127       public  String ge tIen() {
  128           re turn Ien;
  129       }
  130       
  131       public  void setI en(String  Ien) {
  132           th is.Ien = I en;
  133       }
  134       
  135       public  String ge tIssueDate Time() {
  136           re turn Issue DateTime;
  137       }
  138       
  139       public  void setI ssueDateTi me(String  IssueDateT ime) {
  140           th is.IssueDa teTime = I ssueDateTi me;
  141       }
  142       
  143       public  String ge tLastFillD ate() {
  144           re turn LastF illDate;
  145       }
  146       public  void setL astFillDat e(String L astFillDat e) {
  147           th is.LastFil lDate = La stFillDate ;
  148       }
  149       
  150       public  String ge tMailOrWin dow() {
  151           re turn MailO rWindow;
  152       }
  153       
  154       public  void setM ailOrWindo w(String M ailOrWindo w) {
  155           th is.MailOrW indow = Ma ilOrWindow ;
  156       }
  157       
  158       public  String ge tMhvReques tStatus()  {
  159           re turn MhvRe questStatu s;
  160       }
  161       
  162       public  void setM hvRequestS tatus(Stri ng MhvRequ estStatus)  {
  163           th is.MhvRequ estStatus  = MhvReque stStatus;
  164       }
  165       
  166       public  String ge tMhvStatus Date() {
  167           re turn MhvSt atusDate;
  168       }
  169       
  170       public  void setM hvStatusDa te(String  MhvStatusD ate) {
  171           th is.MhvStat usDate = M hvStatusDa te;
  172       }
  173       
  174       public  String ge tNumberOfR efills() {
  175           re turn Numbe rOfRefills ;
  176       }
  177       
  178       public  void setN umberOfRef ills(Strin g NumberOf Refills) {
  179           th is.NumberO fRefills =  NumberOfR efills;
  180       }
  181       
  182       public  String ge tPharmacyS tatus() {
  183           re turn Pharm acyStatus;
  184       }
  185       
  186       public  void setP harmacySta tus(String  PharmacyS tatus) {
  187           th is.Pharmac yStatus =  PharmacySt atus;
  188       }
  189       
  190       public  String ge tPlaceOrde rNum() {
  191           re turn Place OrderNum;
  192       }
  193       
  194       public  void setP laceOrderN um(String  PlaceOrder Num) {
  195           th is.PlaceOr derNum = P laceOrderN um;
  196       }
  197       
  198       public  String ge tPrescript ionNum() {
  199           re turn Presc riptionNum ;
  200       }
  201       
  202       public  void setP rescriptio nNum(Strin g Prescrip tionNum) {
  203           th is.Prescri ptionNum =  Prescript ionNum;
  204       }
  205       
  206       public  String ge tProviderF irstName()  {
  207           re turn Provi derFirstNa me;
  208       }
  209       
  210       public  void setP roviderFir stName(Str ing Provid erFirstNam e) {
  211           th is.Provide rFirstName  = Provide rFirstName ;
  212       }
  213       
  214       public  String ge tProviderI d() {
  215           re turn Provi derId;
  216       }
  217       
  218       public  void setP roviderId( String Pro viderId) {
  219           th is.Provide rId = Prov iderId;
  220       }
  221       
  222       public  String ge tProviderL astName()  {
  223           re turn Provi derLastNam e;
  224       }
  225       
  226       public  void setP roviderLas tName(Stri ng Provide rLastName)  {
  227           th is.Provide rLastName  = Provider LastName;
  228       }
  229       
  230       public  String ge tQuantity( ) {
  231           re turn Quant ity;
  232       }
  233       
  234       public  void setQ uantity(St ring Quant ity) {
  235           th is.Quantit y = Quanti ty;
  236       }
  237       
  238       public  String ge tReleaseDa te() {
  239           re turn Relea seDate;
  240       }
  241       
  242       public  void setR eleaseDate (String Re leaseDate)  {
  243           th is.Release Date = Rel easeDate;
  244       }
  245       
  246       public  String ge tRemarks()  {
  247           re turn Remar ks;
  248       }
  249       
  250       public  void setR emarks(Str ing Remark s) {
  251           th is.Remarks  = Remarks ;
  252       }
  253       
  254       public  String ge tSig() {
  255           re turn Sig;
  256       }
  257       
  258       public  void setS ig(String  Sig) {
  259           th is.Sig = S ig;
  260       }
  261   }
  262