public interface PatientResource
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
deletePatient(String id)
Delete a patient record, identified by its internal PhenoTips identifier.
|
javax.ws.rs.core.Response |
getPatient(String id)
Retrieve a patient record, identified by its internal PhenoTips identifier, in its JSON representation.
|
javax.ws.rs.core.Response |
updatePatient(String json,
String id)
Update a patient record, identified by its internal PhenoTips identifier, from its JSON representation.
|
javax.ws.rs.core.Response getPatient(String id)
id
- the patient's internal identifier, see Patient.getId()
javax.ws.rs.core.Response updatePatient(String json, String id)
json
- the JSON representation of the new patient to addid
- the patient's internal identifier, see Patient.getId()
javax.ws.rs.core.Response deletePatient(String id)
id
- the patient's internal identifier, see Patient.getId()
Copyright © 2011–2017 University of Toronto, Computational Biology Lab. All rights reserved.