-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add support for Support FHIR Pagination when Pulling results (#38)
- Loading branch information
Showing
7 changed files
with
192 additions
and
38 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
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
42 changes: 42 additions & 0 deletions
42
api/src/main/java/org/openmrs/module/labonfhir/api/model/TaskRequest.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,42 @@ | ||
package org.openmrs.module.labonfhir.api.model; | ||
|
||
import java.util.Date; | ||
|
||
import javax.persistence.Column; | ||
import javax.persistence.Entity; | ||
import javax.persistence.GeneratedValue; | ||
import javax.persistence.Id; | ||
import javax.persistence.Table; | ||
|
||
import org.openmrs.BaseOpenmrsData; | ||
|
||
@Entity | ||
@Table(name = "task_request") | ||
public class TaskRequest extends BaseOpenmrsData { | ||
|
||
@Id | ||
@GeneratedValue | ||
@Column(name = "id") | ||
private Integer id; | ||
|
||
@Column(name = "request_date") | ||
private Date requestDate; | ||
|
||
@Override | ||
public Integer getId() { | ||
return id; | ||
} | ||
|
||
@Override | ||
public void setId(Integer id) { | ||
this.id = id; | ||
} | ||
|
||
public Date getRequestDate() { | ||
return requestDate; | ||
} | ||
|
||
public void setRequestDate(Date requestDate) { | ||
this.requestDate = requestDate; | ||
} | ||
} |
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
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
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
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