Skip to main content

bind_variables

Function bind_variables 

Source
pub fn bind_variables(expression: &str, variables: &HashSet<String>) -> String
Expand description

Rewrites the map’s variables to FHIRPath environment variables: in a StructureMap, a name that is a variable refers to it (the reference engine resolves such names before the focus), so item.answer with a variable item becomes %item.answer.