Skip to content

Commit

Permalink
feat: add measure filter, TPH auth group
Browse files Browse the repository at this point in the history
  • Loading branch information
wvxcheung committed Aug 29, 2024
1 parent 18e7a0c commit 5bc315b
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion graphql/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,28 @@ export const groups: { readonly [authGroup: string]: AuthFilters } = {
whereNot: ['datasetID', 'NML-WWMPOX'],
},
},
pho: {
pho: { // MOH is using this as well
sites:{
whereIn: ['healthReg', ['Dryden', 'Kenora', 'Toronto']]
},
datasets: {
whereNotIn: ['datasetID', ['NML-WWMPOX', 'OMECP']],
},
measures: {
whereIn: ['measure', ["covN2", "covN200U", "fluA", "fluB", "rsvA", "rsvB"]]
}
},
omecp: { // as OMECP conditions TBD, use OMECP group as TPH group and rename afterwards
// TPH conditions
sites:{
whereIn: ['healthReg', ['Toronto']]
},
datasets: {
whereNotIn: ['datasetID', ['NML-WWMPOX', 'OMECP']],
},
measures: {
whereIn: ['measure', ["covN2", "covN200U", "fluA", "fluB", "rsvA", "rsvB"]]
},
},
open: {
sites: {
Expand Down

0 comments on commit 5bc315b

Please sign in to comment.