openmrs-core icon indicating copy to clipboard operation
openmrs-core copied to clipboard

TRUNK-5466: Add supportsVisits attribute to Location

Open Akshat-coder2106 opened this issue 2 weeks ago • 0 comments

Description

I have implemented the changes requested in TRUNK-5466 to support the "Visit Location" feature in the core domain model.

Changes:

  1. Java Domain: Added private Boolean supportsVisits field to Location.java with Getter/Setter methods.
  2. Database: Added a Liquibase changeset to create the supports_visits column in the location table (default: false).

Ticket

https://issues.openmrs.org/browse/TRUNK-5466

Testing

  • Ran mvn clean install -DskipTests to verify build.
  • Ran mvn test -Dtest="Location*" to verify unit tests for the modified class.
  • Verified that the Liquibase changeset is valid xml.

Akshat-coder2106 avatar Dec 11 '25 23:12 Akshat-coder2106