public interface PatientsResource
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
addPatient(String json)
Import a new patient from its JSON representation.
|
Patients |
listPatients(Integer start,
Integer number,
String orderField,
String order) |
javax.ws.rs.core.Response addPatient(String json)
json
- the JSON representation of the new patient to addPatients listPatients(Integer start, Integer number, String orderField, String order)
start
- for large result set paging, the index of the first patient to display in the returned pagenumber
- for large result set paging, how many patients to display in the returned pageorderField
- field used for ordering the patients, can be one of id
(default) or eid
order
- the sorting order, can be one of asc
(default) or desc
Copyright © 2011–2016 University of Toronto, Computational Biology Lab. All rights reserved.