Skip to content

Commit

Permalink
questionnaire query
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacobjeevan committed Mar 7, 2025
1 parent 96f04f8 commit 2b589b5
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ function ResponseCard({
}

export default function QuestionnaireResponsesList({
encounter,
patientId,
isPrintPreview = false,
onlyUnstructured,
Expand All @@ -310,8 +311,9 @@ export default function QuestionnaireResponsesList({
limit: RESULTS_PER_PAGE_LIMIT,
offset: ((qParams.page ?? 1) - 1) * RESULTS_PER_PAGE_LIMIT,
}),
encounter: encounter?.id,
only_unstructured: onlyUnstructured,
subject_type: "patient",
subject_type: encounter ? "encounter" : "patient",
},
maxPages: isPrintPreview ? undefined : 1,
pageSize: isPrintPreview ? 100 : RESULTS_PER_PAGE_LIMIT,
Expand Down

0 comments on commit 2b589b5

Please sign in to comment.