Skip to content

High level (e.g., organization) data filtering #157

@MahmoodEtedadi

Description

@MahmoodEtedadi

Is your feature request related to a problem? Please describe

It would be helpful to limit data to a specific organization/department at a higher level when Seismogram is initialized (i.e., in sg.dataframe).
We should also support dynamic widgets to provide better UI when there are meaningful hierarchies among certain subset of columns. E.g., facility->department->specialty where widget options for later columns is determined by the values selected for the earlier columns.

Describe the solution you'd like

Add a new item to usage_config of the form:

  cohorts:
    - source: org   # column name in the dataframe
      values: ["org1"]  # list of associated values to keep
    - source: dep
      values: ["dep1", "dep2"]

we could also support:

    - source: patient_number
      lower_bound: 0
      upper_bound: 100000

to filter numeric data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions