/** * isolate the process of composing the fmp ssn * * @param pat the patient as from the paws patient service * @return textual representation of the fmp ssn */ private String fmpSsn() { String ssn = _pawsPatient.getSSN().substring(0, 3) + "‑" + _pawsPatient.getSSN().substring(3, 5) + "‑" + _pawsPatient.getSSN().substring(5); return (StringUtil.isEmpty(_pawsPatient.getFMP())) ? ssn : _pawsPatient.getFMP() + '/' + ssn; }