
A list of the algorithmic logic for each criteria underlying osdc.
Source:R/algorithm.R
algorithm.Rd
This nested list contains the logic details of the algorithm for specific inclusion and exclusion criteria.
Format
Is a list with nested lists that have these named elements:
- register
Optional. The register used for this criteria.
- name
The inclusion or exclusion criteria name.
- title
The title to use when displaying the algorithmic logic in tables.
- logic
The logic for the criteria.
- comments
Some additional comments on the criteria.
Value
A nested list with the algorithmic logic for each criteria. Contains
fields register
, title
, logic
, and comments
.
See also
See the vignette("algorithm")
for the logic used to filter these
patients.
Examples
algorithm()$hba1c
#> $register
#> [1] "lab_forsker"
#>
#> $title
#> [1] "HbA1c inclusion"
#>
#> $logic
#> [1] "(analysiscode == 'NPU27300' AND value >= 48) OR (analysiscode == 'NPU03835' AND value >= 6.5)"
#>
#> $comments
#> [1] "Is the IFCC units for NPU27300 and DCCT units for NPU03835."
#>
algorithm()$gld$logic
#> [1] "atc =~ '^A10' AND NOT (atc =~ '^(A10BJ|A10BK01|A10BK03)')"