Skip to content

Commit

Permalink
fix(cohortCreation): correct encounterstatus key for docs (#1034)
Browse files Browse the repository at this point in the history
  • Loading branch information
pl-buiquang authored Aug 22, 2024
1 parent 00a618a commit ca26dc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/cohortCreation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ const buildDocumentFilter = (criterion: DocumentDataType): string[] => {
})
)
),
filtersBuilders(DocumentsParamsKeys.DOC_STATUSES, buildLabelObjectFilter(criterion.encounterStatus)),
filtersBuilders(DocumentsParamsKeys.ENCOUNTER_STATUS, buildLabelObjectFilter(criterion.encounterStatus)),
filtersBuilders(DocumentsParamsKeys.DATE, buildDateFilter(criterion.startOccurrence[0], 'ge')),
filtersBuilders(DocumentsParamsKeys.DATE, buildDateFilter(criterion.startOccurrence[1], 'le')),
buildEncounterDateFilter(
Expand Down

0 comments on commit ca26dc9

Please sign in to comment.