extract_relations_from_hierarchy: Internal function used to get relations from a hierarchical...

View source: R/hierarchy.R

extract_relations_from_hierarchyR Documentation

Internal function used to get relations from a hierarchical dictionary such as READ v2 or ICD10

Description

Internal function used to get relations from a hierarchical dictionary such as READ v2 or ICD10

Usage

extract_relations_from_hierarchy(dict, code, immediate_relations = F,
  children = T)

Arguments

dict

Clinical dictionary object

code

Code to use a basis for relationship extraction

immediate_relations

T/F flag to return just immediate relations or all relations

children

T/F flag to return children (T) or parents (F)


rcfgroup/clinconcept documentation built on Nov. 12, 2022, 2:40 a.m.