steno-aarhus / osdc

Open-Source Diabetes Classifier: an R package to classify diabetes status in Danish registers
https://steno-aarhus.github.io/osdc/
Other
1 stars 1 forks source link

Create function: include_hba1c() #93

Closed signekb closed 5 months ago

signekb commented 6 months ago

Based on the functionality flow, this function filters diagnostic hemoglobin-a1c values from biomarker data.

https://github.com/steno-aarhus/osdc/blob/375e652fa27810feddb9e9cf53bc8673e2b43baa/vignettes/function-flow.Rmd#L78-L83

From @Aastedet 's original issue #8 :

If it doesn't already, the nationwide Register of Laboratory Results for Research should cover Central Denmark Region in the future, so we should design the function around that data structure (users supplementing with data from LABKA should preprocess it to match this structure).