
Include diabetes-specific podiatrist services.
Source:R/include-podiatrist-services.R
include_podiatrist_services.Rd
Uses the sysi
or sssy
registers as input to extract the dates of all
diabetes-specific podiatrist services. Removes duplicate services on the
same date. Only the two earliest dates per individual are kept.
Value
The same type as the input data, default as a tibble::tibble()
,
with two columns and up to two rows for each individual:
pnr
: Identifier variabledate
: The dates of the first and second diabetes-specific podiatrist recordhas_podiatrist_services
: A logical variable that acts as a helper indicator for use in later functions.