Learn R Programming

cleanEHR (version 0.1)

demographic.patient.spell: Assign unique spell ID to the demographic table

Description

Assign unique spell ID to the demographic table

Usage

demographic.patient.spell(rec, duration = 2)

Arguments

rec

ccRecord

duration

the maximum hours of transition period

Value

data.table demographic table with spell ID in column spell