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