Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Production #718

Merged
merged 28 commits into from
Mar 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
35643c2
Merge pull request #669 from palladiumkenya/feat/new-reporting-layer
cbrianbet Dec 7, 2023
8991a71
Merge pull request #671 from palladiumkenya/feat/new-reporting-layer
cbrianbet Dec 7, 2023
502bd2c
Merge pull request #673 from palladiumkenya/feat/new-reporting-layer
cbrianbet Dec 7, 2023
8056b74
Merge pull request #675 from palladiumkenya/feat/new-reporting-layer
cbrianbet Dec 8, 2023
2956fda
Merge pull request #677 from cbrianbet/feat/new-reporting-layer
cbrianbet Dec 13, 2023
5e741ed
Merge pull request #678 from cbrianbet/feat/new-reporting-layer
cbrianbet Dec 13, 2023
ec2dceb
Merge pull request #683 from palladiumkenya/feat/new-reporting-layer
cbrianbet Dec 19, 2023
521ee48
Merge pull request #685 from palladiumkenya/feat/new-reporting-layer
cbrianbet Dec 20, 2023
f61f190
Merge pull request #687 from palladiumkenya/feat/new-reporting-layer
cbrianbet Jan 15, 2024
f926826
Merge pull request #689 from palladiumkenya/feat/new-reporting-layer
cbrianbet Jan 18, 2024
c6ae211
Merge pull request #691 from palladiumkenya/feat/new-reporting-layer
cbrianbet Jan 18, 2024
2881c7e
Merge pull request #694 from cbrianbet/feat/new-reporting-layer
cbrianbet Jan 18, 2024
ddafa93
Merge pull request #697 from palladiumkenya/feat/new-reporting-layer
cbrianbet Jan 23, 2024
59d2d10
Merge pull request #700 from cbrianbet/feat/new-reporting-layer
cbrianbet Feb 19, 2024
64cf4a0
Merge pull request #702 from palladiumkenya/feat/new-reporting-layer
cbrianbet Mar 6, 2024
c27969b
Merge pull request #707 from palladiumkenya/feat/new-reporting-layer
cbrianbet Mar 18, 2024
bc7e83c
Fixed arithmetic bug on date calculations
cbrianbet Mar 18, 2024
08cfeda
Merge pull request #708 from cbrianbet/feat/new-reporting-layer
cbrianbet Mar 18, 2024
95e03e4
Merge pull request #709 from palladiumkenya/feat/new-reporting-layer
cbrianbet Mar 18, 2024
35eeecf
code clean up for typescript upgrade
cbrianbet Mar 18, 2024
0a1bed3
added service to clear cache
cbrianbet Mar 18, 2024
8e92c29
Merge pull request #710 from cbrianbet/feat/new-reporting-layer
cbrianbet Mar 18, 2024
3853581
added extra filter for pbfw u=u
cbrianbet Mar 21, 2024
6adcadc
Merge pull request #713 from cbrianbet/feat/new-reporting-layer
cbrianbet Mar 21, 2024
278e90a
Fixed prep dashboards bug
cbrianbet Mar 28, 2024
637bf05
Merge pull request #715 from cbrianbet/feat/new-reporting-layer
cbrianbet Mar 28, 2024
8ee6a78
Fixed prep dashboards bug
cbrianbet Mar 28, 2024
e398c27
Merge pull request #716 from cbrianbet/feat/new-reporting-layer
cbrianbet Mar 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
952 changes: 881 additions & 71 deletions package-lock.json

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"fast-glob": "^3.2.2",
"fs": "^0.0.1-security",
"helmet": "^3.22.0",
"joi": "^17.12.2",
"lodash": "^4.17.21",
"moment": "^2.27.0",
"mssql": "^10.0.2",
Expand All @@ -53,7 +54,7 @@
},
"devDependencies": {
"@nestjs/cli": "^7.0.0",
"@nestjs/schematics": "^7.0.0",
"@nestjs/schematics": "^10.1.1",
"@nestjs/testing": "^10.3.3",
"@types/express": "^4.17.3",
"@types/jest": "25.1.4",
Expand All @@ -73,7 +74,7 @@
"ts-loader": "^6.2.1",
"ts-node": "^10.7.0",
"tsconfig-paths": "^3.9.0",
"typescript": "^3.7.4"
"typescript": "^5.4.2"
},
"jest": {
"moduleFileExtensions": [
Expand Down
6 changes: 6 additions & 0 deletions src/app.service.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
import { Injectable } from '@nestjs/common';
import { CacheService } from './cache/cache.service';

@Injectable()
export class AppService {
// constructor(private readonly cacheService: CacheService) {
// }
getHello(): string {
return 'Hello World!';
}
// deleteCaches(): boolean {
// return this.cacheService.clearAll();
// }
}
17 changes: 17 additions & 0 deletions src/cache/cache.controller.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { Controller, Get, Inject } from '@nestjs/common';
import { CacheService } from './cache.service';

@Controller('cache')
export class CacheController {
constructor(
@Inject(CacheService) private readonly cacheService: CacheService
) { }

@Get('invalidate-cache')
invalidateAllCaches(): { success: boolean } {
// Clear all caches
this.cacheService.clearAll();

return { success: true };
}
}
14 changes: 14 additions & 0 deletions src/cache/cache.service.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { Injectable } from '@nestjs/common';
import { Cache } from 'cache-manager';

@Injectable()
export class CacheService {
constructor(
private readonly cacheManager: Cache
) {}

clearAll(): boolean {
this.cacheManager.reset();
return true;
}
}
14 changes: 14 additions & 0 deletions src/cache/caches.module.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { Module } from '@nestjs/common';
import { CacheService } from './cache.service';
import { CacheController } from './cache.controller';

@Module({
providers: [
CacheService,
],
exports: [CacheService],
})

export class CachesModule {

}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class GetArtVerificationPendingSurveysByCountyHandler
coalesce(EMRs.SDP, Allsites.SDIP) As SDIP,
coalesce(EMRs.[SDP Agency], Allsites.Agency) as Agency
from HIS_Implementation.dbo.EMRandNonEMRSites as Allsites
left join HIS_Implementation.dbo.All_EMRSites EMRs on EMRs.MFL_Code=Allsites.MFLCode
left join ODS.dbo.All_EMRSites EMRs on EMRs.MFL_Code=Allsites.MFLCode
),
--Pick Only the EMR Sites
EMRSites as (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { IQueryHandler, QueryHandler } from '@nestjs/cqrs';
import { GetCovidAdultPLHIVCurrentOnTreatmentQuery } from '../impl/get-covid-adult-plhiv-current-on-treatment.query';
import { InjectRepository } from '@nestjs/typeorm';
import { Repository } from 'typeorm';
import { LinelistFACTART } from 'src/care-treatment/common/entities/linelist-fact-art.model';
import { LinelistFACTART } from '../../../common/entities/linelist-fact-art.model';

@QueryHandler(GetCovidAdultPLHIVCurrentOnTreatmentQuery)
export class GetCovidAdultPLHIVCurrentOnTreatmentHandler
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import { IQueryHandler, QueryHandler } from '@nestjs/cqrs';
import { GetCtTxCurrDistributionByCountyQuery } from '../impl/get-ct-tx-curr-distribution-by-county.query';
import { InjectRepository } from '@nestjs/typeorm';
import { Repository } from 'typeorm';
import { FactTransNewCohort } from 'src/care-treatment/new-on-art/entities/fact-trans-new-cohort.model';
import { AggregateTXCurr } from './../../entities/aggregate-txcurr.model';
import { AggregateTXCurr } from '../../entities/aggregate-txcurr.model';

@QueryHandler(GetCtTxCurrDistributionByCountyQuery)
export class GetCtTxCurrDistributionByCountyHandler
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ import { GetCtTxCurrDistributionByPartnerQuery } from '../impl/get-ct-tx-curr-di
import { InjectRepository } from '@nestjs/typeorm';
import { FactTransHmisStatsTxcurr } from '../../entities/fact-trans-hmis-stats-txcurr.model';
import { Repository } from 'typeorm';
import { DimAgeGroups } from '../../../common/entities/dim-age-groups.model';
import { FactTransNewCohort } from 'src/care-treatment/new-on-art/entities/fact-trans-new-cohort.model';
import { AggregateTXCurr } from './../../entities/aggregate-txcurr.model';
import { AggregateTXCurr } from '../../entities/aggregate-txcurr.model';

@QueryHandler(GetCtTxCurrDistributionByPartnerQuery)
export class GetCtTxCurrDistributionByPartnerHandler
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ import { IQueryHandler, QueryHandler } from '@nestjs/cqrs';
import { InjectRepository } from '@nestjs/typeorm';
import { Repository } from 'typeorm';
import { GetCtTxCurrQuery } from '../impl/get-ct-tx-curr.query';
import { FactTransHmisStatsTxcurr } from '../../entities/fact-trans-hmis-stats-txcurr.model';
import { FactTransNewCohort } from '../../../new-on-art/entities/fact-trans-new-cohort.model';
import { AggregateTXCurr } from './../../entities/aggregate-txcurr.model';
import { AggregateTXCurr } from '../../entities/aggregate-txcurr.model';

@QueryHandler(GetCtTxCurrQuery)
export class GetCtTxCurrHandler implements IQueryHandler<GetCtTxCurrQuery> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { IQueryHandler, QueryHandler } from '@nestjs/cqrs';
import { GetCtViralLoadCascadeActiveArtClientsQuery } from '../impl/get-ct-viral-load-cascade-active-art-clients.query';
import { InjectRepository } from '@nestjs/typeorm';
import { Repository } from 'typeorm';
import { LinelistFACTART } from 'src/care-treatment/common/entities/linelist-fact-art.model';
import { LinelistFACTART } from '../../../common/entities/linelist-fact-art.model';

@QueryHandler(GetCtViralLoadCascadeActiveArtClientsQuery)
export class GetCtViralLoadCascadeActiveArtClientsHandler implements IQueryHandler<GetCtViralLoadCascadeActiveArtClientsQuery> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { GetCtViralLoadSuppressionPercentageQuery } from '../impl/get-ct-viral-l
import { InjectRepository } from '@nestjs/typeorm';
import { FactTransHmisStatsTxcurr } from '../../entities/fact-trans-hmis-stats-txcurr.model';
import { Repository } from 'typeorm';
import { LinelistFACTART } from 'src/care-treatment/common/entities/linelist-fact-art.model';
import { LinelistFACTART } from '../../../common/entities/linelist-fact-art.model';

@QueryHandler(GetCtViralLoadSuppressionPercentageQuery)
export class GetCtViralLoadSuppressionPercentageHandler
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,26 @@ export class GetVlCategorizationUToUHandler
}

if (query.pbfw) {
let pbfw = []
let ispreg = []
query.pbfw.forEach(cat => {
let splitCategories = cat.split('|');
pbfw.push(splitCategories[0])
ispreg.push(splitCategories[1])
})

vlUptake.andWhere('f.PBFWCategory IN (:...pbfws)', {
pbfws: query.pbfw,
pbfws: pbfw,
});
if (ispreg.includes("Yes") && ispreg.includes("No")) {
vlUptake.andWhere(`f.Pregnant = 'Yes' OR f.Breastfeeding = 'Yes'`);
}
else if (ispreg.includes("Yes")) {
vlUptake.andWhere(`f.Pregnant = 'Yes'`);
}
else if (ispreg.includes("No")) {
vlUptake.andWhere(`f.Breastfeeding = 'Yes'`);
}
}

return await vlUptake
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { InjectRepository } from '@nestjs/typeorm';
import { IQueryHandler, QueryHandler } from '@nestjs/cqrs';
import { Repository } from 'typeorm';
import { GetVlOutcomesBySexQuery } from '../impl/get-vl-outcomes-by-sex.query';
import { LinelistFACTART } from 'src/care-treatment/common/entities/linelist-fact-art.model';
import { LinelistFACTART } from '../../../common/entities/linelist-fact-art.model';

@QueryHandler(GetVlOutcomesBySexQuery)
export class GetVlOutcomesBySexHandler
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { IQueryHandler, QueryHandler } from '@nestjs/cqrs';
import { GetVlOutcomesByYearAndSuppressionCategoryQuery } from '../impl/get-vl-outcomes-by-year-and-suppression-category.query';
import { InjectRepository } from '@nestjs/typeorm';
import { Repository } from 'typeorm';
import { LinelistFACTART } from 'src/care-treatment/common/entities/linelist-fact-art.model';
import { LinelistFACTART } from '../../../common/entities/linelist-fact-art.model';


@QueryHandler(GetVlOutcomesByYearAndSuppressionCategoryQuery)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { InjectRepository } from '@nestjs/typeorm';
import { IQueryHandler, QueryHandler } from '@nestjs/cqrs';
import { Repository } from 'typeorm';
import { FactTransVLOutcome } from '../../entities/fact-trans-vl-outcome.model';
import { GetVlOutcomesHvlByFacilityQuery } from '../impl/get-vl-outcomes-hvl-by-facility.query';
import { AggregateVLUptakeOutcome } from './../../entities/aggregate-vl-uptake-outcome.model';
import { AggregateVLUptakeOutcome } from '../../entities/aggregate-vl-uptake-outcome.model';

@QueryHandler(GetVlOutcomesHvlByFacilityQuery)
export class GetVlOutcomesHvlByFacilityHandler implements IQueryHandler<GetVlOutcomesHvlByFacilityQuery> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { InjectRepository } from '@nestjs/typeorm';
import { IQueryHandler, QueryHandler } from '@nestjs/cqrs';
import { Repository } from 'typeorm';
import { FactTransVLOutcome } from '../../entities/fact-trans-vl-outcome.model';
import { GetVlOutcomesOverallQuery } from '../impl/get-vl-outcomes-overall.query';
import { AggregateVLUptakeOutcome } from '../../entities/aggregate-vl-uptake-outcome.model';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { InjectRepository } from '@nestjs/typeorm';
import { IQueryHandler, QueryHandler } from '@nestjs/cqrs';
import { Repository } from 'typeorm';
import { GetVlOverallUptakeGt1000CopiesReceivedEacQuery } from '../impl/get-vl-overall-uptake-gt-1000-copies-received-eac.query';
import { LinelistFACTART } from 'src/care-treatment/common/entities/linelist-fact-art.model';
import { LinelistFACTART } from '../../../common/entities/linelist-fact-art.model';

@QueryHandler(GetVlOverallUptakeGt1000CopiesReceivedEacQuery)
export class GetVlOverallGt1000CopiesReceivedEacHandler
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { InjectRepository } from '@nestjs/typeorm';
import { IQueryHandler, QueryHandler } from '@nestjs/cqrs';
import { Repository } from 'typeorm';
import { GetVlOverallUptakeGt1000CopiesQuery } from '../impl/get-vl-overall-uptake-gt-1000-copies.query';
import { LinelistFACTART } from './../../../common/entities/linelist-fact-art.model';
import { LinelistFACTART } from '../../../common/entities/linelist-fact-art.model';

@QueryHandler(GetVlOverallUptakeGt1000CopiesQuery)
export class GetVlOverallGt1000CopiesHandler
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import {InjectRepository} from '@nestjs/typeorm';
import {IQueryHandler, QueryHandler} from '@nestjs/cqrs';
import {Repository} from 'typeorm';
import {FactTransNewCohort} from "../../../new-on-art/entities/fact-trans-new-cohort.model";
import { LinelistFACTART } from 'src/care-treatment/common/entities/linelist-fact-art.model';
import {
GetVlOverallNumberWithFollowTestsAtGt1000CopiesSecondlineRegimentQuery
} from "../impl/get-vl-overall-number-with-follow-tests-at-gt1000-copies-secondline-regiment.query";
import { LinelistFACTART } from '../../../common/entities/linelist-fact-art.model';

@QueryHandler(GetVlOverallNumberWithFollowTestsAtGt1000CopiesSecondlineRegimentQuery)
export class GetVlOverallNumberWithFollowVlTestsAtGt1000CopiesSecondLineRegimentHandler implements IQueryHandler<GetVlOverallNumberWithFollowTestsAtGt1000CopiesSecondlineRegimentQuery> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { InjectRepository } from '@nestjs/typeorm';
import { IQueryHandler, QueryHandler } from '@nestjs/cqrs';
import { Repository } from 'typeorm';
import { FactTransNewCohort } from '../../../new-on-art/entities/fact-trans-new-cohort.model';
import { GetVlOverallUptakeAndSuppressionReferredLessIntenseQuery } from '../impl/get-vl-overall-uptake-and-suppression-referred-less-intense.query';
import { LinelistFACTART } from './../../../common/entities/linelist-fact-art.model';
import { LinelistFACTART } from '../../../common/entities/linelist-fact-art.model';

@QueryHandler(GetVlOverallUptakeAndSuppressionReferredLessIntenseQuery)
export class GetVlOverallUptakeAndSuppressionReferedLessIntenseHandler
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import {InjectRepository} from '@nestjs/typeorm';
import {IQueryHandler, QueryHandler} from '@nestjs/cqrs';
import {Repository} from 'typeorm';
import {FactTransNewCohort} from "../../../new-on-art/entities/fact-trans-new-cohort.model";
import { GetVlOverallUptakeReceivedFollowTestsAllQuery} from "../impl/get-vl-overall-uptake-received-follow-tests-all.query";
import { LinelistFACTART } from 'src/care-treatment/common/entities/linelist-fact-art.model';
import { LinelistFACTART } from '../../../common/entities/linelist-fact-art.model';

@QueryHandler(GetVlOverallUptakeReceivedFollowTestsAllQuery)
export class GetVlOverallUptakeReceivedFollowTestsAllHandler implements IQueryHandler<GetVlOverallUptakeReceivedFollowTestsAllQuery> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {IQueryHandler, QueryHandler} from '@nestjs/cqrs';
import {Repository} from 'typeorm';
import {FactTransNewCohort} from "../../../new-on-art/entities/fact-trans-new-cohort.model";
import {GetVlOverallUptakeReceivedFollowTestsQuery} from "../impl/get-vl-overall-uptake-received-follow-tests.query";
import { LinelistFACTART } from './../../../common/entities/linelist-fact-art.model';
import { LinelistFACTART } from '../../../common/entities/linelist-fact-art.model';

@QueryHandler(GetVlOverallUptakeReceivedFollowTestsQuery)
export class GetVlOverallUptakeReceivedFollowTestsHandler implements IQueryHandler<GetVlOverallUptakeReceivedFollowTestsQuery> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import { InjectRepository } from '@nestjs/typeorm';
import { IQueryHandler, QueryHandler } from '@nestjs/cqrs';
import { Repository } from 'typeorm';
import { GetVlSuppressionByAgeQuery } from '../impl/get-vl-suppression-by-age.query';
import { AggregateVLUptakeOutcome } from './../../entities/aggregate-vl-uptake-outcome.model';
import { LinelistFACTART } from 'src/care-treatment/common/entities/linelist-fact-art.model';
import { LinelistFACTART } from '../../../common/entities/linelist-fact-art.model';

@QueryHandler(GetVlSuppressionByAgeQuery)
export class GetVlSuppressionByAgeHandler
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { InjectRepository } from '@nestjs/typeorm';
import { IQueryHandler, QueryHandler } from '@nestjs/cqrs';
import { Repository } from 'typeorm';
import { GetVlUptakeUToUQuery } from '../impl/get-vl-uptake-U-to-U.query';
import { AggregateVLDurable } from './../../entities/aggregate-vl-durable.model';
import { AggregateVLDurable } from '../../entities/aggregate-vl-durable.model';

@QueryHandler(GetVlUptakeUToUQuery)
export class GetVlUptakeUToUHandler
Expand All @@ -27,7 +27,7 @@ export class GetVlUptakeUToUHandler
if (query.county) {
vlUptake.andWhere('f.County IN (:...counties)', {
counties: query.county,

});
}

Expand Down Expand Up @@ -68,9 +68,26 @@ export class GetVlUptakeUToUHandler
}

if (query.pbfw) {
let pbfw = []
let ispreg = []
query.pbfw.forEach(cat => {
let splitCategories = cat.split('|');
pbfw.push(splitCategories[0])
ispreg.push(splitCategories[1])
})

vlUptake.andWhere('f.PBFWCategory IN (:...pbfws)', {
pbfws: query.pbfw,
pbfws: pbfw,
});
if (ispreg.includes("Yes") && ispreg.includes("No")) {
vlUptake.andWhere(`(f.Pregnant = 'Yes' OR f.Breastfeeding = 'Yes')`);
}
else if (ispreg.includes("Yes")) {
vlUptake.andWhere(`f.Pregnant = 'Yes'`);
}
else if (ispreg.includes("No")) {
vlUptake.andWhere(`f.Breastfeeding = 'Yes'`);
}
}

return await vlUptake.getRawOne();
Expand Down
2 changes: 1 addition & 1 deletion src/common/common.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { GetPartnersHandler } from './queries/handlers/get-partners.handler';
import { GetAgenciesHandler } from './queries/handlers/get-agencies.handler';
import { GetSitesHandler } from './queries/handlers/get-sites.handler';
import { CommonController } from './common.controller';
import { AllEmrSites } from 'src/care-treatment/common/entities/all-emr-sites.model';
import { AllEmrSites } from '../care-treatment/common/entities/all-emr-sites.model';

@Module({
imports: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { GetHtsPartnersQuery } from '../impl/get-hts-partners.query';
import { InjectRepository } from '@nestjs/typeorm';
import { FactHtsUptake } from '../../entities/fact-htsuptake.entity';
import { Repository } from 'typeorm';
import { AllEmrSites } from 'src/care-treatment/common/entities/all-emr-sites.model';
import { AllEmrSites } from '../../../../care-treatment/common/entities/all-emr-sites.model';

@QueryHandler(GetHtsPartnersQuery)
export class GetHtsPartnersHandler
Expand Down
2 changes: 1 addition & 1 deletion src/hts/hts.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { AggregateHTSUptake } from './uptake/entities/aggregate-hts-uptake.model
import { FactHTSClientTests } from './linkage/entities/fact-hts-client-tests.model';
import { FactHTSClientLinkages } from './linkage/entities/fact-hts-client-linkages.model';
import { FactHTSClientTracing } from './linkage/entities/fact-hts-client-tracing.model';
import { AllEmrSites } from 'src/care-treatment/common/entities/all-emr-sites.model';
import { AllEmrSites } from '../care-treatment/common/entities/all-emr-sites.model';

import { GetHtsCountiesHandler } from './common/queries/handlers/get-hts-counties.handler';
import { GetHtsSubCountiesHandler } from './common/queries/handlers/get-hts-sub-counties.handler';
Expand Down
Loading