code_exists_in_hierarchy: Check if code exists in hierarchy
Description
Helper function to check if a code already exists anywhere in the code hierarchy
Usage
code_exists_in_hierarchy(node, code_name)
Value
Logical indicating whether the code exists in the hierarchy
Arguments
- node
Root node of the hierarchy tree
- code_name
Character string of the code name to search for