Skip to content

Commit

Permalink
Update get-ahd-screening.handler.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrianbet committed Oct 2, 2024
1 parent 0c33306 commit 984209e
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,16 @@ export class GetAhdScreeningHandler implements IQueryHandler<GetAhdScreeningQuer
const ahdScreening = this.repository
.createQueryBuilder('f')
.select([`
SUM(NewPatient) as NewPatient,
SUM(NewRTTSTF) as NewPatient,
-- ahd screened
COUNT(WhoStage) AS AHDScreened,
SUM(AHD) AS AHD,
SUM(DoneCD4Test) AS DoneCD4Test,
SUM(CD4Lessthan200) AS less200CD4,
SUM(DoneTBLamTest) AS DoneTBLamTest,
SUM(TBLamPositive) AS TBLamPositive,
-- tb treatment initiated
SUM(OntbTreatment) AS tbInitiated,
--SUM(OntbTreatment) AS tbInitiated,
0 AS tbInitiated,
SUM(DoneCrAgTest) AS DoneCrAgTest,
SUM(CrAgPositive) AS CrAgPositive,
SUM(CSFCrAg) AS CSFCrAg,
Expand Down

0 comments on commit 984209e

Please sign in to comment.