Skip to content

Commit

Permalink
Update actions.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenreup committed Jul 16, 2024
1 parent eb0ae3a commit 8e77543
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/app/(dashboard)/stats/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,24 @@ export async function fetchData(formData: FormData) {
createPatientFilters(["newly-diagnosed-client"], rawDate, baseFilter),
createPatientFilters(["client-already-on-art"], rawDate, baseFilter),
createPatientFilters(["exposed-infant"], rawDate, baseFilter),
// createPatientFilters(["exposed-infant", "newly-diagnosed-client", "client-already-on-art"], baseFilter),
createQuestionnaireResponseFilters(
"exposed-infant-milestone-hiv-test",
rawDate,
baseFilter
),
createQuestionnaireResponseFilters(
"art-client-viral-load-collection",
rawDate,
baseFilter
),
]);
const summary: string[] = [
"Total visits",
"Newly diagnosed clients (created)",
"Already on Art (created)",
"Exposed infant (created)",
"Milestone answered",
"VL collected answered",
];
console.log(JSON.stringify(bundle));

Expand Down

0 comments on commit 8e77543

Please sign in to comment.