HealthInformaticsUT / Cohort2Trajectory

R-package Cohort2Trajectory creates patient orientated treatment trajectories from cohorts defined in OHDSI ATLAS. The package can be used with access to OMOP CDM database. The package creates discrete and continuous time trajectories (and outputs them as .csv file) which describe patients' treatment through time.
Apache License 2.0
3 stars 0 forks source link

Column for indicating the sequential passing of the same state #10

Closed haugmarkus closed 2 years ago

haugmarkus commented 2 years ago

Add a column to the output which indicates the ordinal number of the sequential passing of the same state. If there are two states of S1 in a row then the output should be: state, ... , seq_ordinal, S1, ..., 1, S1, ...,2

haugmarkus commented 2 years ago

Completed, waiting for merge with main branch.