Skip to content

Feature request: Adding other types of features than code-based to the Phenotype class #45

@strayMat

Description

@strayMat

Feature type

A new method for Phenotype Class:

def add_inclusion_criteria(self, inclusion_criteria: pd.DataFrame, level="patient", threshold=1):

Description

In order to improve the Phenotype class and make it more universal, I would very much be able to add inclusion other than purely code based.

examples of such non-code features I would need to use this class for my study:

  • include patient having at least a minimum number of hospitalization.
  • include patient only being adult at a given date

The feature would make a filtering of the data based on the provided inclusion criteria.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions