QuestionnairesResource
Runs FHIR Questionnaire operations.
- Stable unknown
- Release candidate since 0.1.0-rc.4
- Development since 0.1.0-dev.24+fa54770
public final class QuestionnairesResourceRuns FHIR Questionnaire operations. Get it from Ovok.questionnaires().
Methods
populate
public JsonNode populate(String questionnaireId) throws IOException, InterruptedExceptionPrefills a QuestionnaireResponse with no extra parameters (POST /fhir/Questionnaire/{id}/$populate).
Parameters:
questionnaireId: the Questionnaire ID
Returns: the populate result
Throws:
IOException: if the request cannot be sent or the response cannot be readInterruptedException: if the thread is interrupted while waiting for the response
public JsonNode populate(
String questionnaireId,
JsonNode parameters) throws IOException, InterruptedExceptionPrefills a QuestionnaireResponse (POST /fhir/Questionnaire/{id}/$populate).
Parameters:
questionnaireId: the Questionnaire IDparameters: a FHIR Parameters resource, ornullfor none
Returns: the populate result
Throws:
IOException: if the request cannot be sent or the response cannot be readInterruptedException: if the thread is interrupted while waiting for the response
public JsonNode populate(
String questionnaireId,
JsonNode parameters,
RequestOptions options) throws IOException, InterruptedExceptionPrefills a QuestionnaireResponse (POST /fhir/Questionnaire/{id}/$populate).
Parameters:
questionnaireId: the Questionnaire IDparameters: a FHIR Parameters resource, ornullfor noneoptions: per-request options, such as the timeout
Returns: the populate result
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