ICD codes for this disease: S22 S27 J94 J93 Find out here how to help a person affected by a rib fracture, how the doctor can diagnose and treat the rib fracture ( Source) and how long the healing process takes ( Source). Due to its anatomical position, the fourth to ninth rib is most frequently affected ( Source). A rib fracture is a bony injury to the ribs ( Source), which is usually very painful ( Source).