Namespaces
Questionnaires
ovok.questionnaires prepares a Questionnaire for the user to fill in. Read Questionnaires
- Stable unknown
- Release candidate since 0.1.0-rc.3
- Development since 0.1.0-dev.21+c43ebba
ovok.questionnaires prepares a Questionnaire for the user to fill in. Read Questionnaires
with ovok.patient.questionnaires and submit answers with
ovok.questionnaire_responses.
Pre-fill a questionnaire
populate runs FHIR $populate and returns a draft QuestionnaireResponse with the answers
the server already knows.
from ovok_sdk import Ovok
ovok = Ovok("https://api.sandbox.ovok.com", "your-tenant")
ovok.auth.login(profile_type="Patient", email="patient@example.com", password="password")
result = ovok.questionnaires.populate("questionnaire-id")Pass populate parameters
Pass a FHIR Parameters resource to choose the subject or other context:
ovok.questionnaires.populate("questionnaire-id", {
"resourceType": "Parameters",
"parameter": [{"name": "subject", "valueReference": {"reference": "Patient/patient-id"}}],
})API reference
See ovok_sdk.resources.questionnaires
for every method, parameter and error.
Last updated on