
Description of the different non-cases included in non_cases()
Source: R/non-cases.R
non_cases_metadata.RdAll cases, aside from what would exclude them from being classified as described in the metadata here, would otherwise be classified as having diabetes.
Value
A named list of character strings, where each name corresponds to a
non-case PNR in the dataset generated by non_cases().
Examples
non_cases_metadata()
#> $nc_pcos_1
#> [1] "Woman taking metformin, older than 40, and has an indication code. No other purchases of metformin."
#>
#> $nc_pcos_2
#> [1] "Woman taking metformin, younger than 40, and doesn't have the indication code. No other purchases of metformin."
#>
#> $nc_pcos_3
#> [1] "Woman taking metformin, younger than 40, and has an indication code. No other purchases of metformin."
#>
#> $nc_preg_1
#> [1] "Woman with high HbA1c measured <40 weeks before giving birth or having a miscarriage (from LPR2)."
#>
#> $nc_preg_2
#> [1] "Woman with high HbA1c measured <12 weeks after giving birth or having a miscarriage (from LPR2)."
#>
#> $nc_preg_3
#> [1] "Woman with high HbA1c measured <40 weeks before giving birth or having a miscarriage (from LPR3)."
#>
#> $nc_preg_4
#> [1] "Woman with high HbA1c measured <12 weeks after giving birth or having a miscarriage (from LPR3)."
#>