Factors influencing the treatment of osteoporosis following fragility fracture