The green spot is a bit concerning because fish TB also leaves a mark but it's a brown mark in the gut area. Wild caught cardinals are less likely to have fish TB than farm raised ones are. The good news is that fish TB is not transferrable by just being in the same tank but through consumption of a diseased fish or physical contact with an infected fish. To my knowledge, there is no disease that shows a green mark in the gut so this may be a case of the female being eggbound and the eggs rotting inside her causing an internal infection.
As for the similar symptoms in a Platy, is this a male or female? Female Platies when about to deliver their fry will breath heavily and hide in the plants for the safety of the fry. So I don't want to jump to any conclusions just yet.
One of the major issues these days with our fishy friends is that farmed fish and wild caught fish carry different pathogens so they really shouldn't be mixed in the same tank because they need to be treated medicinally with different meds. Most platies today are farm bred but Cardinals are a major product responsible fish collectors in S. America carefully harvest so you should ask your fish store whether they carry wild caught ones or farmed ones and you should not mix the two in the same tank. What's recommended currently is to quarantine any new fish for at least 60 days to ensure the fish are healthy, can get used to your regular maintenance and feeding schedules and foods without the stress of established fish being food " hogs" or faster eaters.
Lastly, you have a combination of fish that really do not do well together. Platies like a harder and more alkaline water parameter while Cardinals prefer a soft, neutral to acidic water. The Gourami is most likely farmed so can handle a harder water parameter but different shrimps like different parameters so it will depend on the type you have whether they will do well long term. With your water parameters you listed, the cardinals will probably not do well long term. It's best to get fish that not only are compatible but also prefer the same water parameters re: pH, General Hardness, TDS and such which match your water's parameters.