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

docs: :sparkles: initial draft of functions to classify diabetes type #75

Closed signekb closed 3 months ago

signekb commented 5 months ago

Description

This PR describes the functions for classifying the diabetes type from the diabetes population using the osdc package. This is a stacked PR (meaning that it builds upon the PR that describes how the diabetes population is extracted, #71).

Closes #26.

As we have discussed, this is an initial draft meant to help us specify exactly what we want to build.

So, as with the other PR, please chime in with questions, suggestions, and corrections :)))

signekb commented 5 months ago

Based on update meeting: I will add the final data.frame: PNR, inclusion date (two columns: stable and raw), and type

signekb commented 5 months ago

@Aastedet @lwjohnst86 ready for another review 🎉

@Aastedet rather than creating an "extended" version of the flow chart for classifying the diabetes type, I have added a section elaborating on the "hierarchy" or "ordering" of primary diagnosis from endocrinological and medical specialties. What do you think? Is that sufficient?