/** * mutator for the paws patient id. if the id represents a change to the underlying paws patient, * updates the paws patient * * @param pawsUnitNbr */ public void setPawsPatientId(final String pawsUnitNbr) { if ((!StringUtil.isEmpty(pawsUnitNbr)) && ((null == _pawsPatient) || (!pawsUnitNbr.equals(_pawsPatient.getUnitNumber())))) { _pawsPatient = ServPaws.patient(pawsUnitNbr); } }
/** * accessor for unit number * * @return unit number */ public String getUnitNumber() { return _pawsPatient.getUnitNumber(); }