extract_risk_inputs function

Extract Risk Inputs