get_parent_codes | R Documentation |
Get parent codes from the supplied clinical dictionary
get_parent_codes(dict, code, immediate_parents = F, active_only = T)
dict |
Clinical dictionary object |
code |
Clinical code to get parent codes for |
immediate_parents |
T/F flag to return only parents from only the level above (default FALSE) |
active_only |
T/F flag to return only active codes (default TRUE) |
## Not run: config_file<-paste0(system.file("clinconcept"),"/extdata/dictconfig.json") dict<-cc_from_file("NHSReadV3",config_file) h3_parent_codes<-get_parent_codes(dict,"H3...",immediate_parents=F) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.