PatientThresholdsResource
Reads and sets one patient's vital thresholds.
- Stable unknown
- Release candidate since 0.1.0-rc.4
- Development since 0.1.0-dev.24+fa54770
public final class PatientThresholdsResourceReads and sets one patient's vital thresholds. Get it from PatientsResource.thresholds().
Methods
retrieve
public JsonNode retrieve(
String patientId,
RequestOptions options) throws IOException, InterruptedExceptionGets a patient's thresholds (GET /v2/slim/threshold/patient/{patientId}).
Parameters:
patientId: the patient IDoptions: per-request options, such as the timeout
Returns: the response body
Throws:
IOException: if the request cannot be sent or the response cannot be readInterruptedException: if the thread is interrupted while waiting for the response
update
public JsonNode update(
String patientId,
Object body,
RequestOptions options) throws IOException, InterruptedExceptionReplaces a patient's thresholds (PUT /v2/slim/threshold/patient/{patientId}). Not retried on network errors.
Parameters:
patientId: the patient IDbody: the thresholdsoptions: per-request options, such as the timeout
Returns: the response body
Throws:
IOException: if the request cannot be sent or the response cannot be readInterruptedException: if the thread is interrupted while waiting for the response
Last updated on