Hi doctor, Is coughing up blood a sysptom of hairline fractured ribs Not like big amounts just on flemmy cough (green thick)?

No. Coughing up blood can be a sign of infection or pulmonary embolus or heart valve condition. If severely short of breath or chest pain or lightheaded go to emergency room. Otherwise see primary care doctor for specific diagnosis and treatment this is a serious symptom needs a evaluation.