Pinnacle 21 rule identifiers are namespaced by the artefact they police: SD#### SDTM data, AD#### ADaM data, CT#### controlled terminology, DD#### Define-XML and OD#### ODM / define metadata. Anything that does not match that shape is reported as "Other" rather than guessed at.

rule_class(rule_id)

Arguments

rule_id

Character vector of rule identifiers.

Value

A character vector of rule classes, the same length as rule_id.

Examples

rule_class(c("SD0002", "CT2002", "DD0011", "XX9999"))
#> [1] "SDTM data"              "Controlled terminology" "Define-XML"            
#> [4] "Other"