Encounter

public class Encounter

Represents a single OpenMRS encounter. An encounter is a single, specific interaction between the patient and a provider. It can be any interaction and includes doctor visits, laboratory tests, food distribution, home visits, counselor appointments, etc.

Constructors

Encounter

public Encounter()

Default constructor.

Encounter

public Encounter(Location location, EncounterType encounterType, Date encounterDatetime, Patient patient, List<Person> encounterProviders)

Encounter

public Encounter(Location location, EncounterType encounterType, Date encounterDatetime, Patient patient, Visit visit, List<Person> encounterProviders)

Encounter

public Encounter(Location location, EncounterType encounterType, Date encounterDatetime, Patient patient, Visit visit, List<Person> encounterProviders, List<Observation> obs)

Encounter

public Encounter(Location location, EncounterType encounterType, Date encounterDatetime, Patient patient, Visit visit, List<Person> encounterProviders, List<Observation> obs, Form form)

Methods

equals

public boolean equals(Object o)

getDisplay

public String getDisplay()

getEncounterDatetime

public Date getEncounterDatetime()

getEncounterProviders

public List<Person> getEncounterProviders()

getEncounterType

public EncounterType getEncounterType()

getForm

public Form getForm()

getLocation

public Location getLocation()

getObs

public List<Observation> getObs()

getPatient

public Patient getPatient()

getUuid

public String getUuid()

getVisit

public Visit getVisit()

hashCode

public int hashCode()

setDisplay

public void setDisplay(String display)

setEncounterDatetime

public void setEncounterDatetime(Date encounterDatetime)

setEncounterProviders

public void setEncounterProviders(List<Person> encounterProviders)

setEncounterType

public void setEncounterType(EncounterType encounterType)

setForm

public void setForm(Form form)

setLocation

public void setLocation(Location location)

setObs

public void setObs(List<Observation> obs)

setPatient

public void setPatient(Patient patient)

setUuid

public void setUuid(String uuid)

setVisit

public void setVisit(Visit visit)