Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Indexed patient's Appointments and returned them to the client side
- Loading branch information
Showing
12 changed files
with
474 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
106 changes: 106 additions & 0 deletions
106
api/src/main/java/org/openmrs/module/chartsearch/AppointmentItem.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
/** | ||
* This Source Code Form is subject to the terms of the Mozilla Public License, | ||
* v. 2.0. If a copy of the MPL was not distributed with this file, You can | ||
* obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under | ||
* the terms of the Healthcare Disclaimer located at http://openmrs.org/license. | ||
* | ||
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS | ||
* graphic logo is a trademark of OpenMRS Inc. | ||
*/ | ||
package org.openmrs.module.chartsearch; | ||
|
||
import java.util.Date; | ||
|
||
public class AppointmentItem extends ChartListItem { | ||
|
||
private String reason; | ||
|
||
private Integer appointmentId; | ||
|
||
private String status; | ||
|
||
private Date start; | ||
|
||
private Date end; | ||
|
||
private String type; | ||
|
||
private String typeDesc; | ||
|
||
private String cancelReason; | ||
|
||
private String provider; | ||
|
||
public String getReason() { | ||
return reason; | ||
} | ||
|
||
public void setReason(String reason) { | ||
this.reason = reason; | ||
} | ||
|
||
public Integer getAppointmentId() { | ||
return appointmentId; | ||
} | ||
|
||
public void setAppointmentId(Integer appointmentId) { | ||
this.appointmentId = appointmentId; | ||
} | ||
|
||
public String getStatus() { | ||
return status; | ||
} | ||
|
||
public void setStatus(String status) { | ||
this.status = status; | ||
} | ||
|
||
public Date getStart() { | ||
return start; | ||
} | ||
|
||
public void setStart(Date start) { | ||
this.start = start; | ||
} | ||
|
||
public Date getEnd() { | ||
return end; | ||
} | ||
|
||
public void setEnd(Date end) { | ||
this.end = end; | ||
} | ||
|
||
public String getType() { | ||
return type; | ||
} | ||
|
||
public void setType(String type) { | ||
this.type = type; | ||
} | ||
|
||
public String getTypeDesc() { | ||
return typeDesc; | ||
} | ||
|
||
public void setTypeDesc(String typeDesc) { | ||
this.typeDesc = typeDesc; | ||
} | ||
|
||
public String getCancelReason() { | ||
return cancelReason; | ||
} | ||
|
||
public void setCancelReason(String cancelReason) { | ||
this.cancelReason = cancelReason; | ||
} | ||
|
||
public String getProvider() { | ||
return provider; | ||
} | ||
|
||
public void setProvider(String provider) { | ||
this.provider = provider; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.