Summary Table

Categories Total Count
PII 0
URL 0
DNS 0
EKL 0
IP 0
PORT 0
VsID 0
CF 0
AI 0
VPD 0
PL 0
Other 0

File Content

package gov.va.med.ewv.codes;

import java.io.Serializable;

public class DiagnosisCode extends CodeBase implements Serializable
{
private static final long serialVersionUID = 1748134964415856234L;

private String poaIndicator_5010;

public DiagnosisCode(Long sequence, String value, String poaIndicator_5010)
{
super(sequence, value);
this.poaIndicator_5010 = poaIndicator_5010;
}

public String getValueWithPoa() {
String retValue = value;

//retValue += "L:" + poaIndicator_5010.length();

// if (poaIndicator_5010 != null) {
// retValue += //"L:" + poaIndicator_5010.length() +
// "V:<" + poaIndicator_5010 + ">";
// } else {
// retValue += "L:Null";
// }

// This does not exclude spaces or unprintable characters like ASCII null (0)
if (poaIndicator_5010 != null && poaIndicator_5010.length() > 0) {
retValue += " -" + poaIndicator_5010;
}

return retValue;
}

public String getPoaIndicator_5010() {
return poaIndicator_5010;
}

public void setPoaIndicator_5010(String poaIndicator_5010) {
this.poaIndicator_5010 = poaIndicator_5010;
}

}