Yellow or greenish chest mucus is generally a symptom of infection and is often a sign that you should go to your doctor. Chest mucus that contains blood is often a symptom of a more serious infection such as pneumonia or TB, and large amounts of blood in the chest mucus should be seen as a medical emergency.
In California, your residency depends on how long you live in California, what ties you have to the state and local government and whether you are financially self-sufficient. You must be physically present in California for 366 days to become a state resident, except for brief absences such as vacations.
Your status will run out in two years (as shown on your green card). Somewhere within the 90 days prior to that expiration date, you will need to submit Form I-751, issued by U.S. Citizenship and Immigration Services (USCIS) in order to remove the conditions on your residency and switch to permanent resident status.