Package | Description |
---|---|
org.openmrs |
These classes represent the core domain objects for the OpenMRS project.
|
org.openmrs.activelist | |
org.openmrs.api |
The primary OpenMRS API interfaces.
|
org.openmrs.api.db |
OpenMRS database layer interfaces.
|
org.openmrs.api.db.hibernate |
Resources for Hibernate ORM.
|
org.openmrs.api.handler | |
org.openmrs.api.impl | |
org.openmrs.hl7 |
OpenMRS HL7 module.
|
org.openmrs.hl7.impl | |
org.openmrs.module.web | |
org.openmrs.person | |
org.openmrs.reporting |
Deprecated
|
org.openmrs.util |
Shared utilities for OpenMRS classes
|
org.openmrs.web.controller.observation | |
org.openmrs.web.controller.person | |
org.openmrs.web.dwr | |
org.openmrs.web.taglib |
Modifier and Type | Class and Description |
---|---|
class |
Patient
Defines a Patient in the system.
|
Modifier and Type | Field and Description |
---|---|
protected Person |
Obs.person |
Modifier and Type | Method and Description |
---|---|
Person |
PersonAddress.getPerson() |
Person |
User.getPerson() |
Person |
Provider.getPerson() |
Person |
PersonAttribute.getPerson() |
Person |
PersonName.getPerson() |
Person |
Obs.getPerson()
Get the person object that this obs is acting on.
|
Person |
Relationship.getPersonA() |
Person |
Relationship.getPersonB() |
Person |
Encounter.getProvider()
Deprecated.
since 1.9, use
Encounter.getProvidersByRole(EncounterRole) |
Person |
Person.replaceSerialization(java.util.Map<?,?> sessionMap)
If the serializer wishes, don't serialize this entire object, just the important parts
|
Modifier and Type | Method and Description |
---|---|
void |
PersonAddress.setPerson(Person person) |
void |
User.setPerson(Person person) |
void |
Provider.setPerson(Person person) |
void |
PersonAttribute.setPerson(Person person) |
void |
PersonName.setPerson(Person person) |
void |
Obs.setPerson(Person person)
Set the person object to this obs object.
|
void |
Relationship.setPersonA(Person personA) |
void |
Relationship.setPersonB(Person personB) |
void |
Encounter.setProvider(Person provider)
Deprecated.
since 1.9, use
Encounter.setProvider(EncounterRole, Provider) |
Constructor and Description |
---|
Obs(Person person,
Concept question,
java.util.Date obsDatetime,
Location location)
Required parameters constructor A value is also required, but that can be one of: valueCoded,
valueDrug, valueNumeric, or valueText
|
Patient(Person person)
This constructor creates a new Patient object from the given
Person object. |
Person(Person person)
This constructor is used to build a new Person object copy from another person object
(usually a patient or a user subobject).
|
Relationship(Person personA,
Person personB,
RelationshipType type) |
User(Person person)
constructor with person object
|
Modifier and Type | Field and Description |
---|---|
protected Person |
ActiveListItem.person |
Modifier and Type | Method and Description |
---|---|
Person |
ActiveListItem.getPerson() |
Modifier and Type | Method and Description |
---|---|
void |
ActiveListItem.setPerson(Person person) |
Constructor and Description |
---|
ActiveListItem(Person person,
ActiveListType activeListType,
Concept concept,
java.util.Date startDate) |
Modifier and Type | Method and Description |
---|---|
Person |
PersonService.createPerson(Person person)
Deprecated.
replaced by #savePerson(Person)
|
Person |
PersonService.getPerson(java.lang.Integer personId)
Gets a person by internal id
|
Person |
PersonService.getPerson(Patient pat)
Deprecated.
|
Person |
PersonService.getPerson(User user)
Deprecated.
|
Person |
PersonService.getPersonByUuid(java.lang.String uuid)
Get Person by its UUID
|
Person |
PersonService.savePerson(Person person)
Creates or updates a Person in the database
|
Person |
PersonService.unvoidPerson(Person person)
Effectively resurrects this person in the db.
|
Person |
PersonService.voidPerson(Person person,
java.lang.String reason)
Effectively removes this person from the system.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<Person> |
PersonService.findPeople(java.lang.String searchPhrase,
boolean includeVoided)
Deprecated.
@see #getPeople(...)
|
java.util.Set<Person> |
PersonService.findPeople(java.lang.String searchPhrase,
boolean includeVoided,
java.util.List<java.lang.String> roles)
Deprecated.
@see #getPeople(...)
|
java.util.Set<Person> |
PersonService.findPeople(java.lang.String searchPhrase,
boolean includeVoided,
java.lang.String roles)
Deprecated.
@see #getPeople(...)
|
java.util.List<Person> |
PersonService.getPeople(java.lang.String searchPhrase,
java.lang.Boolean dead)
Find a person matching the searchPhrase search string
|
java.util.Map<Person,java.util.List<Person>> |
PersonService.getRelationshipMap(RelationshipType relationshipType)
Get all relationships for a given type of relationship mapped from the personA to all of the
personB's
|
java.util.Map<Person,java.util.List<Person>> |
PersonService.getRelationshipMap(RelationshipType relationshipType)
Get all relationships for a given type of relationship mapped from the personA to all of the
personB's
|
java.util.Map<Person,java.util.List<Person>> |
PersonService.getRelationships(RelationshipType relationshipType)
Deprecated.
|
java.util.Map<Person,java.util.List<Person>> |
PersonService.getRelationships(RelationshipType relationshipType)
Deprecated.
|
java.util.Map<java.lang.Integer,java.util.List<Person>> |
PatientSetService.getRelatives(Cohort ps,
RelationshipType relType,
boolean forwards) |
java.util.Set<Person> |
PersonService.getSimilarPeople(java.lang.String nameSearch,
java.lang.Integer birthyear,
java.lang.String gender)
Find a similar person given the attributes.
|
java.util.Set<Person> |
PersonService.getSimilarPeople(java.lang.String nameSearch,
java.lang.Integer birthyear,
java.lang.String gender,
java.lang.String personType)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Person |
PersonService.createPerson(Person person)
Deprecated.
replaced by #savePerson(Person)
|
void |
PersonService.deletePerson(Person person)
Deprecated.
replaced by #purgePerson(Person)
|
<T extends ActiveListItem> |
ActiveListService.getActiveListItems(java.lang.Class<T> clazz,
Person p,
ActiveListType type)
Returns a sorted set of active list items from a class that extends ActiveListItem
|
java.util.List<ActiveListItem> |
ActiveListService.getActiveListItems(Person p,
ActiveListType type)
Returns a sorted set of active list items based on the type given.
|
java.util.List<Allergy> |
PatientService.getAllergies(Person p)
Returns a sorted set of Allergies, sorted on sort_weight
|
java.util.List<Obs> |
ObsService.getLastNObservations(java.lang.Integer n,
Person who,
Concept question,
boolean includeVoided)
|
PersonMergeLog |
PersonService.getLosingPersonMergeLog(Person person,
boolean deserialize)
Gets the
PersonMergeLog where person p is the loser. |
java.util.Set<Obs> |
ObsService.getObservations(Person who,
boolean includeVoided)
Deprecated.
|
java.util.Set<Obs> |
ObsService.getObservations(Person who,
Concept question,
boolean includeVoided)
Deprecated.
|
java.util.List<Obs> |
ObsService.getObservationsByPerson(Person who)
Get all Observations for the given person, sorted by obsDatetime ascending.
|
java.util.List<Obs> |
ObsService.getObservationsByPersonAndConcept(Person who,
Concept question)
Get all nonvoided observations for the given patient with the given concept as the question
concept (conceptId)
|
java.util.List<Problem> |
PatientService.getProblems(Person p)
Get a list of the problems for the patient, sorted on sort_weight
|
java.util.Collection<Provider> |
ProviderService.getProvidersByPerson(Person person)
Gets the Providers for the given person.
|
java.util.Collection<Provider> |
ProviderService.getProvidersByPerson(Person person,
boolean includeRetired)
Gets the Providers for the given person including or excluding retired.
|
java.util.List<Relationship> |
PersonService.getRelationships(Person p)
Deprecated.
|
java.util.List<Relationship> |
PersonService.getRelationships(Person p,
boolean showVoided)
Deprecated.
|
java.util.List<Relationship> |
PersonService.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType)
Get relationships stored in the database that
|
java.util.List<Relationship> |
PersonService.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType,
java.util.Date effectiveDate)
Get relationships stored in the database that are active on the passed date
|
java.util.List<Relationship> |
PersonService.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType,
java.util.Date startEffectiveDate,
java.util.Date endEffectiveDate)
Get relationships stored in the database that were active during the specified date range
|
java.util.List<Relationship> |
PersonService.getRelationshipsByPerson(Person p)
Get list of relationships that include Person in person_id or relative_id Does not include
voided relationships
|
java.util.List<Relationship> |
PersonService.getRelationshipsByPerson(Person p,
java.util.Date effectiveDate)
Get list of relationships that include Person in person_id or relative_id.
|
java.util.List<Relationship> |
PersonService.getRelationshipsTo(Person toPerson,
RelationshipType relType)
Deprecated.
|
java.util.List<User> |
UserService.getUsersByPerson(Person person,
boolean includeRetired)
Get all user accounts that belong to a given person.
|
java.util.List<PersonMergeLog> |
PersonService.getWinningPersonMergeLogs(Person person,
boolean deserialize)
Gets
PersonMergeLog objects by winning person p. |
void |
PersonService.purgePerson(Person person)
Purges a person from the database (cannot be undone)
|
Person |
PersonService.savePerson(Person person)
Creates or updates a Person in the database
|
Person |
PersonService.unvoidPerson(Person person)
Effectively resurrects this person in the db.
|
void |
PersonService.updatePerson(Person person)
Deprecated.
|
Person |
PersonService.voidPerson(Person person,
java.lang.String reason)
Effectively removes this person from the system.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
ObsService.getObservationCount(java.util.List<Person> whom,
java.util.List<Encounter> encounters,
java.util.List<Concept> questions,
java.util.List<Concept> answers,
java.util.List<OpenmrsConstants.PERSON_TYPE> personTypes,
java.util.List<Location> locations,
java.lang.Integer obsGroupId,
java.util.Date fromDate,
java.util.Date toDate,
boolean includeVoidedObs)
This method fetches the count of observations according to the criteria in the given
arguments.
|
java.util.List<Obs> |
ObsService.getObservations(java.util.List<Person> whom,
java.util.List<Encounter> encounters,
java.util.List<Concept> questions,
java.util.List<Concept> answers,
java.util.List<OpenmrsConstants.PERSON_TYPE> personTypes,
java.util.List<Location> locations,
java.util.List<java.lang.String> sort,
java.lang.Integer mostRecentN,
java.lang.Integer obsGroupId,
java.util.Date fromDate,
java.util.Date toDate,
boolean includeVoidedObs)
This method fetches observations according to the criteria in the given arguments.
|
Modifier and Type | Method and Description |
---|---|
Person |
PersonDAO.getPerson(java.lang.Integer personId) |
Person |
PersonDAO.getPersonByUuid(java.lang.String uuid)
Auto generated method comment
|
Person |
PersonDAO.savePerson(Person person) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Person> |
PersonDAO.getPeople(java.lang.String searchPhrase,
java.lang.Boolean dead) |
java.util.Map<java.lang.Integer,java.util.List<Person>> |
PatientSetDAO.getRelatives(Cohort ps,
RelationshipType relType,
boolean forwards) |
java.util.Set<Person> |
PersonDAO.getSimilarPeople(java.lang.String name,
java.lang.Integer birthyear,
java.lang.String gender) |
Modifier and Type | Method and Description |
---|---|
void |
PersonDAO.deletePerson(Person person) |
<T extends ActiveListItem> |
ActiveListDAO.getActiveListItems(java.lang.Class<T> clazz,
Person p,
ActiveListType type) |
java.util.List<ActiveListItem> |
ActiveListDAO.getActiveListItems(Person p,
ActiveListType type) |
PersonMergeLog |
PersonDAO.getLosingPersonMergeLogs(Person person)
Finds the PersonMergeLog by loser
|
Cohort |
PatientSetDAO.getPatientsByRelationship(RelationshipType relType,
boolean includeAtoB,
boolean includeBtoA,
Person target)
Returns the cohort of patients matching a particular relationship search.
|
java.util.Collection<Provider> |
ProviderDAO.getProvidersByPerson(Person person,
boolean includeRetired) |
java.util.List<Relationship> |
PersonDAO.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType) |
java.util.List<Relationship> |
PersonDAO.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType,
java.util.Date startEffectiveDate,
java.util.Date endEffectiveDate) |
java.util.List<User> |
UserDAO.getUsersByPerson(Person person,
boolean includeRetired) |
java.util.List<PersonMergeLog> |
PersonDAO.getWinningPersonMergeLogs(Person person)
Gets the PersonMergeLog objects by winner
|
Person |
PersonDAO.savePerson(Person person) |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
ObsDAO.getObservationCount(java.util.List<Person> whom,
java.util.List<Encounter> encounters,
java.util.List<Concept> questions,
java.util.List<Concept> answers,
java.util.List<OpenmrsConstants.PERSON_TYPE> personTypes,
java.util.List<Location> locations,
java.lang.Integer obsGroupId,
java.util.Date fromDate,
java.util.Date toDate,
java.util.List<ConceptName> valueCodedNameAnswers,
boolean includeVoidedObs) |
java.util.List<Obs> |
ObsDAO.getObservations(java.util.List<Person> whom,
java.util.List<Encounter> encounters,
java.util.List<Concept> questions,
java.util.List<Concept> answers,
java.util.List<OpenmrsConstants.PERSON_TYPE> personTypes,
java.util.List<Location> locations,
java.util.List<java.lang.String> sort,
java.lang.Integer mostRecentN,
java.lang.Integer obsGroupId,
java.util.Date fromDate,
java.util.Date toDate,
boolean includeVoidedObs) |
Modifier and Type | Method and Description |
---|---|
Person |
HibernatePersonDAO.getPerson(java.lang.Integer personId) |
Person |
HibernatePersonDAO.getPersonByUuid(java.lang.String uuid) |
Person |
HibernatePersonDAO.savePerson(Person person) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Person> |
HibernatePersonDAO.getPeople(java.lang.String name,
java.lang.Boolean dead) |
java.util.Map<java.lang.Integer,java.util.List<Person>> |
HibernatePatientSetDAO.getRelatives(Cohort patients,
RelationshipType relType,
boolean forwards) |
java.util.Set<Person> |
HibernatePersonDAO.getSimilarPeople(java.lang.String name,
java.lang.Integer birthyear,
java.lang.String gender) |
Modifier and Type | Method and Description |
---|---|
void |
HibernatePersonDAO.deletePerson(Person person) |
static void |
HibernatePersonDAO.deletePersonAndAttributes(org.hibernate.SessionFactory sessionFactory,
Person person)
Used by deletePerson, deletePatient, and deleteUser to remove all properties of a person
before deleting them.
|
<T extends ActiveListItem> |
HibernateActiveListDAO.getActiveListItems(java.lang.Class<T> clazz,
Person p,
ActiveListType type) |
java.util.List<ActiveListItem> |
HibernateActiveListDAO.getActiveListItems(Person p,
ActiveListType type) |
PersonMergeLog |
HibernatePersonDAO.getLosingPersonMergeLogs(Person person) |
Cohort |
HibernatePatientSetDAO.getPatientsByRelationship(RelationshipType relType,
boolean includeAtoB,
boolean includeBtoA,
Person target)
TODO get rid of the potentially-expensive call to getAllPatients()
|
java.util.Collection<Provider> |
HibernateProviderDAO.getProvidersByPerson(Person person,
boolean includeRetired) |
java.util.List<Relationship> |
HibernatePersonDAO.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType) |
java.util.List<Relationship> |
HibernatePersonDAO.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType,
java.util.Date startEffectiveDate,
java.util.Date endEffectiveDate) |
java.util.List<User> |
HibernateUserDAO.getUsersByPerson(Person person,
boolean includeRetired) |
java.util.List<PersonMergeLog> |
HibernatePersonDAO.getWinningPersonMergeLogs(Person person) |
Person |
HibernatePersonDAO.savePerson(Person person) |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
HibernateObsDAO.getObservationCount(java.util.List<Person> whom,
java.util.List<Encounter> encounters,
java.util.List<Concept> questions,
java.util.List<Concept> answers,
java.util.List<OpenmrsConstants.PERSON_TYPE> personTypes,
java.util.List<Location> locations,
java.lang.Integer obsGroupId,
java.util.Date fromDate,
java.util.Date toDate,
java.util.List<ConceptName> valueCodedNameAnswers,
boolean includeVoidedObs) |
java.util.List<Obs> |
HibernateObsDAO.getObservations(java.util.List<Person> whom,
java.util.List<Encounter> encounters,
java.util.List<Concept> questions,
java.util.List<Concept> answers,
java.util.List<OpenmrsConstants.PERSON_TYPE> personTypes,
java.util.List<Location> locations,
java.util.List<java.lang.String> sortList,
java.lang.Integer mostRecentN,
java.lang.Integer obsGroupId,
java.util.Date fromDate,
java.util.Date toDate,
boolean includeVoidedObs) |
Modifier and Type | Method and Description |
---|---|
void |
PersonVoidHandler.handle(Person person,
User voidingUser,
java.util.Date voidedDate,
java.lang.String voidReason)
Sets all personVoid* attributes to the given parameters.
|
void |
PersonSaveHandler.handle(Person person,
User creator,
java.util.Date dateCreated,
java.lang.String other) |
void |
PersonUnvoidHandler.handle(Person person,
User unvoidingUser,
java.util.Date origParentVoidedDate,
java.lang.String unused)
Called around every unvoid* method to set everything to null.
|
Modifier and Type | Method and Description |
---|---|
Person |
PersonServiceImpl.createPerson(Person person)
Deprecated.
|
Person |
PersonServiceImpl.getPerson(java.lang.Integer personId) |
Person |
PersonServiceImpl.getPerson(Patient pat)
Deprecated.
|
Person |
PersonServiceImpl.getPerson(User user)
Deprecated.
|
Person |
PersonServiceImpl.getPersonByUuid(java.lang.String uuid) |
Person |
PersonServiceImpl.savePerson(Person person) |
Person |
PersonServiceImpl.unvoidPerson(Person person) |
Person |
PersonServiceImpl.voidPerson(Person person,
java.lang.String reason) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<Person> |
PersonServiceImpl.findPeople(java.lang.String searchPhrase,
boolean includeVoided)
Deprecated.
|
java.util.Set<Person> |
PersonServiceImpl.findPeople(java.lang.String searchPhrase,
boolean includeVoided,
java.util.List<java.lang.String> roles)
Deprecated.
|
java.util.Set<Person> |
PersonServiceImpl.findPeople(java.lang.String searchPhrase,
boolean includeVoided,
java.lang.String roles)
Deprecated.
|
java.util.List<Person> |
PersonServiceImpl.getPeople(java.lang.String searchPhrase,
java.lang.Boolean dead) |
java.util.Map<Person,java.util.List<Person>> |
PersonServiceImpl.getRelationshipMap(RelationshipType relType) |
java.util.Map<Person,java.util.List<Person>> |
PersonServiceImpl.getRelationshipMap(RelationshipType relType) |
java.util.Map<Person,java.util.List<Person>> |
PersonServiceImpl.getRelationships(RelationshipType relType)
Deprecated.
|
java.util.Map<Person,java.util.List<Person>> |
PersonServiceImpl.getRelationships(RelationshipType relType)
Deprecated.
|
java.util.Map<java.lang.Integer,java.util.List<Person>> |
PatientSetServiceImpl.getRelatives(Cohort ps,
RelationshipType relType,
boolean forwards) |
java.util.Set<Person> |
PersonServiceImpl.getSimilarPeople(java.lang.String name,
java.lang.Integer birthyear,
java.lang.String gender) |
java.util.Set<Person> |
PersonServiceImpl.getSimilarPeople(java.lang.String nameSearch,
java.lang.Integer birthyear,
java.lang.String gender,
java.lang.String personType)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Person |
PersonServiceImpl.createPerson(Person person)
Deprecated.
|
void |
PersonServiceImpl.deletePerson(Person person)
Deprecated.
|
<T extends ActiveListItem> |
ActiveListServiceImpl.getActiveListItems(java.lang.Class<T> clazz,
Person p,
ActiveListType type) |
java.util.List<ActiveListItem> |
ActiveListServiceImpl.getActiveListItems(Person p,
ActiveListType type) |
java.util.List<Allergy> |
PatientServiceImpl.getAllergies(Person p) |
java.util.List<Obs> |
ObsServiceImpl.getLastNObservations(java.lang.Integer n,
Person who,
Concept question,
boolean includeVoided)
Deprecated.
|
PersonMergeLog |
PersonServiceImpl.getLosingPersonMergeLog(Person person,
boolean deserialize) |
java.util.Set<Obs> |
ObsServiceImpl.getObservations(Person who,
boolean includeVoided)
Deprecated.
|
java.util.Set<Obs> |
ObsServiceImpl.getObservations(Person who,
Concept question,
boolean includeVoided)
Deprecated.
|
java.util.List<Obs> |
ObsServiceImpl.getObservationsByPerson(Person who) |
java.util.List<Obs> |
ObsServiceImpl.getObservationsByPersonAndConcept(Person who,
Concept question) |
java.util.List<Problem> |
PatientServiceImpl.getProblems(Person p) |
java.util.Collection<Provider> |
ProviderServiceImpl.getProvidersByPerson(Person person) |
java.util.Collection<Provider> |
ProviderServiceImpl.getProvidersByPerson(Person person,
boolean includeRetired) |
java.util.List<Relationship> |
PersonServiceImpl.getRelationships(Person p)
Deprecated.
|
java.util.List<Relationship> |
PersonServiceImpl.getRelationships(Person p,
boolean showVoided)
Deprecated.
|
java.util.List<Relationship> |
PersonServiceImpl.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType) |
java.util.List<Relationship> |
PersonServiceImpl.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType,
java.util.Date effectiveDate) |
java.util.List<Relationship> |
PersonServiceImpl.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType,
java.util.Date startEffectiveDate,
java.util.Date endEffectiveDate) |
java.util.List<Relationship> |
PersonServiceImpl.getRelationshipsByPerson(Person p) |
java.util.List<Relationship> |
PersonServiceImpl.getRelationshipsByPerson(Person p,
java.util.Date effectiveDate) |
java.util.List<Relationship> |
PersonServiceImpl.getRelationshipsTo(Person toPerson,
RelationshipType relType)
|
java.util.List<User> |
UserServiceImpl.getUsersByPerson(Person person,
boolean includeRetired) |
java.util.List<PersonMergeLog> |
PersonServiceImpl.getWinningPersonMergeLogs(Person person,
boolean deserialize) |
void |
PersonServiceImpl.purgePerson(Person person) |
Person |
PersonServiceImpl.savePerson(Person person) |
Person |
PersonServiceImpl.unvoidPerson(Person person) |
void |
PersonServiceImpl.updatePerson(Person person)
Deprecated.
|
Person |
PersonServiceImpl.voidPerson(Person person,
java.lang.String reason) |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
ObsServiceImpl.getObservationCount(java.util.List<Person> whom,
java.util.List<Encounter> encounters,
java.util.List<Concept> questions,
java.util.List<Concept> answers,
java.util.List<OpenmrsConstants.PERSON_TYPE> personTypes,
java.util.List<Location> locations,
java.lang.Integer obsGroupId,
java.util.Date fromDate,
java.util.Date toDate,
boolean includeVoidedObs) |
java.util.List<Obs> |
ObsServiceImpl.getObservations(java.util.List<Person> whom,
java.util.List<Encounter> encounters,
java.util.List<Concept> questions,
java.util.List<Concept> answers,
java.util.List<OpenmrsConstants.PERSON_TYPE> personTypes,
java.util.List<Location> locations,
java.util.List<java.lang.String> sort,
java.lang.Integer mostRecentN,
java.lang.Integer obsGroupId,
java.util.Date fromDate,
java.util.Date toDate,
boolean includeVoidedObs) |
Modifier and Type | Method and Description |
---|---|
Person |
HL7Service.createPersonFromNK1(ca.uhn.hl7v2.model.v25.segment.NK1 nk1)
creates a Person from information held in an NK1 segment; if valid PatientIdentifiers exist,
a Patient will be created and returned
|
Person |
HL7Service.resolvePersonFromIdentifiers(ca.uhn.hl7v2.model.v25.datatype.CX[] identifiers)
determines a person (or patient) based on identifiers from a CX array, as found in a PID or
NK1 segment; the first resolving identifier in the list wins
|
Modifier and Type | Method and Description |
---|---|
Person |
HL7ServiceImpl.createPersonFromNK1(ca.uhn.hl7v2.model.v25.segment.NK1 nk1) |
Person |
HL7ServiceImpl.resolvePersonFromIdentifiers(ca.uhn.hl7v2.model.v25.datatype.CX[] identifiers) |
Modifier and Type | Method and Description |
---|---|
Person |
FormEntryContext.getPerson() |
Modifier and Type | Method and Description |
---|---|
void |
FormEntryContext.setPerson(Person person) |
Constructor and Description |
---|
FormEntryContext(Person person) |
Modifier and Type | Method and Description |
---|---|
Person |
PersonMergeLog.getLoser() |
Person |
PersonMergeLog.getWinner() |
Modifier and Type | Method and Description |
---|---|
void |
PersonMergeLog.setLoser(Person loser) |
void |
PersonMergeLog.setWinner(Person winner) |
Modifier and Type | Method and Description |
---|---|
Person |
RelationshipPatientFilter.getPerson() |
Modifier and Type | Method and Description |
---|---|
void |
RelationshipPatientFilter.setPerson(Person person) |
Modifier and Type | Method and Description |
---|---|
int |
PersonByNameComparator.compare(Person person1,
Person person2) |
static int |
PersonByNameComparator.comparePersonsByName(Person person1,
Person person2)
Compares two person objects by name
|
Modifier and Type | Method and Description |
---|---|
Person |
PersonObsFormController.CommandObject.getPerson() |
Modifier and Type | Method and Description |
---|---|
void |
PersonObsFormController.CommandObject.setPerson(Person person) |
Constructor and Description |
---|
CommandObject(Person person,
Concept concept,
java.util.List<Obs> observations) |
Modifier and Type | Method and Description |
---|---|
static <P extends Person> |
PersonFormController.getMiniPerson(P person,
java.lang.String name,
java.lang.String gender,
java.lang.String date,
java.lang.String age)
Add the given name, gender, and birthdate/age to the given Person
|
Modifier and Type | Method and Description |
---|---|
protected Person |
PersonFormController.setupFormBackingObject(Person person)
Setup the person object.
|
Modifier and Type | Method and Description |
---|---|
protected Person |
PersonFormController.setupFormBackingObject(Person person)
Setup the person object.
|
protected java.util.Map |
PersonFormController.setupReferenceData(java.util.Map map,
Person person)
Setup the reference map object.
|
protected void |
PersonFormController.updatePersonAddresses(javax.servlet.http.HttpServletRequest request,
Person person)
Updates person addresses based on request parameters
|
protected void |
PersonFormController.updatePersonAttributes(javax.servlet.http.HttpServletRequest request,
org.springframework.validation.BindException errors,
Person person)
Updates person attributes based on request parameters
|
protected void |
PersonFormController.updatePersonNames(javax.servlet.http.HttpServletRequest request,
Person person)
Updates person names based on request parameters
|
Modifier and Type | Method and Description |
---|---|
static PersonListItem |
PersonListItem.createBestMatch(Person person)
Creates an instance of a subclass of PersonListItem which is best suited for the parameter.
|
Constructor and Description |
---|
PersonListItem(Person person)
Convenience constructor that creates a PersonListItem from the given Person.
|
PersonListItem(Person person,
java.lang.String searchName)
Convenience constructor that creates a PersonListItem from the given Person.
|
Modifier and Type | Method and Description |
---|---|
Person |
FormatTag.getPerson() |
Modifier and Type | Method and Description |
---|---|
void |
FormatTag.setPerson(Person person) |
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.