Package | Description |
---|---|
org.openmrs |
These classes represent the core domain objects for the OpenMRS project.
|
org.openmrs.api.db.hibernate |
Resources for Hibernate ORM.
|
org.openmrs.attribute | |
org.openmrs.customdatatype | |
org.openmrs.validator | |
org.openmrs.web.attribute |
Modifier and Type | Class and Description |
---|---|
class |
BaseCustomizableData<A extends Attribute>
Extension of
BaseOpenmrsData for classes that support customization via user-defined attributes. |
class |
BaseCustomizableMetadata<A extends Attribute>
Extension of
BaseOpenmrsMetadata for classes that support customization via user-defined attributes. |
class |
Location
A Location is a physical place, such as a hospital, a room, a clinic, or a district.
|
class |
Provider
Represents a person who may provide care to a patient during an encounter
|
class |
Visit
A 'visit' is a contiguous time period where encounters occur between patients and healthcare
providers.
|
Modifier and Type | Class and Description |
---|---|
class |
AttributeMatcherPredicate<T extends Customizable,AT extends AttributeType>
Used in conjunction with commons-collections filter to find attributes with values in the given map.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Attribute<AT extends AttributeType,OT extends Customizable<?>>
Common interface for user-defined attribute that is are added to a base class.
|
interface |
AttributeType<OwningType extends Customizable<?>>
Common interface for user-defined extensions to core domain objects, which would be handled by adding
custom database columns in a less generic system.
|
class |
BaseAttribute<AT extends AttributeType,OwningType extends Customizable<?>>
Abstract base implementation of
Attribute . |
class |
BaseAttributeType<OwningType extends Customizable<?>>
Abstract base implementation of
AttributeType . |
Modifier and Type | Method and Description |
---|---|
static void |
CustomDatatypeUtil.saveAttributesIfNecessary(Customizable<?> customizable)
To be called by service save methods for customizable implementations.
|
Modifier and Type | Method and Description |
---|---|
<T extends AttributeType,A extends Attribute> |
BaseCustomizableValidator.validateAttributes(Customizable<A> customizable,
org.springframework.validation.Errors errors,
java.util.Collection<T> attributeTypes)
Validate the attributes of the given Customizable, given the list of relevant attribute types
|
Modifier and Type | Method and Description |
---|---|
static <AttributeClass extends BaseAttribute,CustomizableClass extends Customizable<AttributeClass>,AttributeTypeClass extends AttributeType<CustomizableClass>> |
WebAttributeUtil.handleSubmittedAttributesForType(CustomizableClass owner,
org.springframework.validation.BindingResult errors,
java.lang.Class<AttributeClass> attributeClass,
javax.servlet.http.HttpServletRequest request,
java.util.List<AttributeTypeClass> attributeTypes)
Handles attributes submitted on a form that uses the "attributesForType" tag
|
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.