This open label comparison study examines the hypothesis that teriparatide given immediately following repair of an atypical subtrochanteric or diaphyseal femoral shaft fracture will enhance healing and improve bone mineral density compared to delayed treatment (after six months) with teriparatide or no treatment with teriparatide (patients who refuse therapy or for whom teriparatide is contraindicated). Patients with up-front teriparatide in addition will have greater quality of life measures and less pain compared to those with delayed or no therapy.