Patient

public class Patient

Represents a single patient.

Constructors

Patient

public Patient()

Patient

public Patient(Person person, String motechId, Location locationForMotechId)

Patient

public Patient(List<Identifier> identifiers, Person person, String motechId, Location locationForMotechId)

Methods

equals

public boolean equals(Object o)

getDisplay

public String getDisplay()

getIdentifierByTypeUuid

public Identifier getIdentifierByTypeUuid(String uuid)

getIdentifiers

public List<Identifier> getIdentifiers()

getIdentifiersMap

public Map<String, String> getIdentifiersMap()

getLocationForMotechId

public Location getLocationForMotechId()

getMotechId

public String getMotechId()

getPerson

public Person getPerson()

getUuid

public String getUuid()

hashCode

public int hashCode()

setDisplay

public void setDisplay(String display)

setIdentifiers

public void setIdentifiers(List<Identifier> identifiers)

setLocationForMotechId

public void setLocationForMotechId(Location locationForMotechId)

setMotechId

public void setMotechId(String motechId)

setMotechIdentifierValues

public void setMotechIdentifierValues(Identifier motechIdentifier)

setPerson

public void setPerson(Person person)

setUuid

public void setUuid(String uuid)