openmrs-core
openmrs-core copied to clipboard
TRUNK-5466: Add supportsVisits attribute to Location
Description
I have implemented the changes requested in TRUNK-5466 to support the "Visit Location" feature in the core domain model.
Changes:
- Java Domain: Added
private Boolean supportsVisitsfield toLocation.javawith Getter/Setter methods. - Database: Added a Liquibase changeset to create the
supports_visitscolumn in thelocationtable (default: false).
Ticket
https://issues.openmrs.org/browse/TRUNK-5466
Testing
- Ran
mvn clean install -DskipTeststo verify build. - Ran
mvn test -Dtest="Location*"to verify unit tests for the modified class. - Verified that the Liquibase changeset is valid xml.