Versions Compared

Key

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

...

Below are some screenshots showing examples of these different Aggregation methods using 2 columns of data:

  1. Patient ID

...

  1. Medication Code: numeric codes that represent Medications that the patient has indicated they are taking over the course of the study

...

Aggregation Method

Result

List All: for each Patient ID, all Medication Codes, including duplicates, are listed in a single row separated by a semi colon.

Agg-ListAll.png

List Distinct: for each Patient ID, distinct Medication Codes are listed in a single row separated by a semi colon. Unlike with List All, each patient’s duplicate codes have been removed.

Agg-ListDistinct.png

Stack: Each Medication code is listed one per row. If a patient has more than one Medication Code, their Patient ID can be seen listed multiple times in the Patient ID column.

Agg-Stack.png

Count Distinct: Instead of displaying the Medication Code values for a patient, show the count of unique codes for each patient.

Agg-CountDistinct.png

Count All: Instead of displaying the Medication Code values for a patient, show the count of all codes (including duplicates) for each patient.

Agg-CountAll.png

Most Frequent Value: Display only the most frequent Medication Code that is associated with each patient.

Agg-MostFreq.png

...