PARSIPPANY, N.J. — Lowering health costs will require a greater understanding of differences between two distinct groups of patients, according to a new study, which also noted a growing availability of specialty drugs for complex and chronic conditions outside the hospital.