Package | Description |
---|---|
org.openmrs |
These classes represent the core domain objects for the OpenMRS project.
|
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.validator | |
org.openmrs.web | |
org.openmrs.web.controller.patient |
Modifier and Type | Method and Description |
---|---|
PersonName |
User.getPersonName() |
PersonName |
Person.getPersonName()
Convenience method to get the "preferred" name for the person.
|
static PersonName |
PersonName.newInstance(PersonName pn)
bitwise copy of the personName object.
|
Modifier and Type | Method and Description |
---|---|
Set<PersonName> |
User.getNames() |
Set<PersonName> |
Person.getNames() |
Modifier and Type | Method and Description |
---|---|
void |
User.addName(PersonName name) |
void |
Person.addName(PersonName name)
Convenience method to add the
name to this person's name list if the name
doesn't exist already. |
int |
PersonName.compareTo(PersonName other)
TODO: the behavior of this method needs to be controlled by some sort of global property
because an implementation can define how they want their names to look (which fields to
show/hide)
|
boolean |
PersonName.equalsContent(PersonName otherName)
Compares this PersonName object to the given otherName.
|
static PersonName |
PersonName.newInstance(PersonName pn)
bitwise copy of the personName object.
|
void |
Person.removeName(PersonName name)
Convenience method remove the
name from this person's name list if the name
exists already. |
Modifier and Type | Method and Description |
---|---|
void |
Person.setNames(Set<PersonName> names) |
Modifier and Type | Method and Description |
---|---|
PersonName |
PersonService.getPersonNameByUuid(String uuid)
Get PersonName by its UUID
|
PersonName |
PersonService.parsePersonName(String name)
Parses a name into a PersonName (separate Given, Middle, and Family names)
|
PersonName |
PersonService.splitPersonName(String name)
Deprecated.
replaced by parsePersonName(String)
|
Modifier and Type | Method and Description |
---|---|
PersonName |
PersonDAO.getPersonNameByUuid(String uuid) |
Modifier and Type | Method and Description |
---|---|
PersonName |
HibernatePersonDAO.getPersonNameByUuid(String uuid) |
Modifier and Type | Method and Description |
---|---|
void |
PersonNameSaveHandler.handle(PersonName personName,
User creator,
Date dateCreated,
String other) |
Modifier and Type | Method and Description |
---|---|
PersonName |
PersonServiceImpl.getPersonNameByUuid(String uuid) |
PersonName |
PersonServiceImpl.parsePersonName(String name) |
PersonName |
PersonServiceImpl.splitPersonName(String name)
Deprecated.
see #parsePersonName(String)
|
Modifier and Type | Method and Description |
---|---|
void |
PersonNameValidator.validatePersonName(PersonName personName,
org.springframework.validation.Errors errors,
boolean arrayInd,
boolean testInd)
Checks that the given
PersonName is valid |
Modifier and Type | Method and Description |
---|---|
PersonName |
OptionsForm.getPersonName() |
Modifier and Type | Method and Description |
---|---|
void |
OptionsForm.setPersonName(PersonName personName) |
Modifier and Type | Method and Description |
---|---|
PersonName |
ShortPatientModel.getPersonName() |
Modifier and Type | Method and Description |
---|---|
static String |
ShortPatientFormController.getPersonNameString(PersonName name)
Convenience method that transforms a person name to a string while ignoring null and blank
values, the returned string only contains the givenName, middleName and familyName
|
String |
ShortPatientFormController.saveShortPatient(org.springframework.web.context.request.WebRequest request,
PersonName personNameCache,
PersonAddress personAddressCache,
ShortPatientModel patientModel,
org.springframework.validation.BindingResult result)
Handles the form submission by validating the form fields and saving it to the DB
|
void |
ShortPatientModel.setPersonName(PersonName personName) |
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.