Commit 7e88854f authored by R.W.Majeed's avatar R.W.Majeed
Browse files

allow to change location for visit

parent 9a8f0818
......@@ -40,6 +40,7 @@ public interface Visit extends IdExtensionType,ExternalSourceType {
void setStatus(Status status);
String getLocationId();
void setLocationId(String locationId);
public enum Status{
Inpatient, Outpatient, Emergency
......
......@@ -76,6 +76,7 @@ public class VisitImpl extends StoredExtensionType implements Visit {
return locationId;
}
@Override
public void setLocationId(String locationId){
this.locationId = locationId;
markDirty(true);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment