Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

1

On the Cohort Query main page (see Step 1 of Building a Period Indicator Report), add a new 'In Program Query' cohort by clicking the plus sign next to the link.

 Image Added

2

Under 'Name', enter 'InProgramOnDate'. You can enter a more detailed description under 'Description'. Under 'Properties', add a program as a parameter. This will allow us to choose which program to select for every time we run the report. Under 'Or specifically', enter effectiveDate as the label and also set it to a parameter, so that we can select the date each time the report is run as well. Save the cohort.

 Image Added

 You are now ready to create an Indicator.

...

1

Under 'Indicator Definitions' from the toolbar above, select create new Cohort Indicator (see Step 2 of Building a Period Indicator Report).

 Image Added

2

Under 'Name', input 'In HIV Program Indicator', and select the type to Count, as the aggregate function will be counting the number of patients in the HIV Program. Also, include the standard parameter 'endDate', since we want to know how many patients are in this particular program on this particular date, to be set each time the report is run. Click 'Submit'.

 Image Added

3

Under 'Parameters', add the parameter 'endDate' so that it can be passed in. Under 'Cohort Definition', click 'Edit Mappings' to add in the InProgramOnDate Cohort.

 Image Added

4

In the Cohort Definition dialog, choose 'InProgramOnDate' as the Cohort Definition. Add 'Adult HIV Program' as the program, which is then passed in to the InProgramOnDate program parameter. Set the effectiveDate parameter to an 'Expression' – endDate – 1m, to represent one month before the endDate that will be entered when the program is run.

 Image Added

You are now ready to build your dataset definition.

...