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.pbm.ampl.model;
import java.io.Serializable;
/**
* This class consists of properties representing a patient contact.
* TODO Future sprint: Update swagger contract and class to reflect FHIR.
*
* @author Ian Meinert
* @since 1.0
*/
public class Contact implements Serializable {
private static final long serialVersionUID = -7788619177798333712L;
private String phone;
private String pager;
private String fax;
private String email;
private String mobile;
private String home;
private String temporary;
private String confidential;
private String other;
/**
* Default constructor accepting no parameters.
*/
public Contact() {
// TODO Auto-generated constructor stub
}
/**
* Constructor accepting phone and pager.
*
* @param phone String
* @param pager String
*/
public Contact(String phone, String pager) {
this.phone = phone;
this.pager = pager;
}
/**
* The getter for the phone.
*
* @return the phone number
*/
public String getPhone() {
return phone;
}
/**
* The setter for the phone.
*
* @param phone the phone number
*
*/
public void setPhone(String phone) {
this.phone = phone;
}
/**
* The getter for the pager.
*
* @return the pager number
*/
public String getPager() {
return pager;
}
/**
* The setter for the pager.
*
* @param pager the pager number
*
*/
public void setPager(String pager) {
this.pager = pager;
}
/**
* The getter for the fax.
*
* @return the fax number
*/
public String getFax() {
return fax;
}
/**
* The setter for the fax.
*
* @param fax the fax number
*
*/
public void setFax(String fax) {
this.fax = fax;
}
/**
* The getter for the email.
*
* @return the email address
*/
public String getEmail() {
return email;
}
/**
* The setter for the email.
*
* @param email the email address
*
*/
public void setEmail(String email) {
this.email = email;
}
/**
* The getter for the mobile.
*
* @return the mobile number
*/
public String getMobile() {
return mobile;
}
/**
* The setter for the mobile.
*
* @param mobile the mobile number
*
*/
public void setMobile(String mobile) {
this.mobile = mobile;
}
/**
* The getter for the home.
*
* @return the home number
*/
public String getHome() {
return home;
}
/**
* The setter for the home.
*
* @param home the home number
*
*/
public void setHome(String home) {
this.home = home;
}
/**
* The getter for temporary contact information.
*
* @return the temporary contact information
*/
public String getTemporary() {
return temporary;
}
/**
* The setter for temporary contact information.
*
* @param temporary the temporary contact information
*
*/
public void setTemporary(String temporary) {
this.temporary = temporary;
}
/**
* The getter for confidential contact information.
*
* @return the confidential contact information
*/
public String getConfidential() {
return confidential;
}
/**
* The setter for confidential contact information.
*
* @param confidential the confidential contact information
*
*/
public void setConfidential(String confidential) {
this.other = confidential;
}
/**
* The getter for the other contact information.
*
* @return the other contact information
*/
public String getOther() {
return other;
}
/**
* The setter for the other contact information.
*
* @param other the other contact information
*
*/
public void setOther(String other) {
this.other = other;
}
}