I can't imagine your GP is happy about it either.
I do attendance in a primary school. I'm sometimes embarrassed at what I'm asked to do now. One of my own children always picked up any illness going in Reception and Year 1, so I get it. It was bad enough needing to take time away from work to look after him when he was ill but if I'd had to take further time away from work to attend meetings about his (genuine) absences I would have been quite annoyed. Parents risk getting pulled up by their employers about their OWN absences so most want their children in school.
However, since COVID, attendance rates have really dropped and as a result the Department for Education and Ofsted are now really cracking down. Cost of living rises certainly add to the issue - many KS1 parents think nothing of taking their child on holiday in term time, particularly at the beginning and end of the academic year or terms. I can't say I blame them, quite honestly.
OP, I always advise our parents who get upset or uppity about the school following up attendance to calmly work with the school without getting defensive, attend the meetings with the head and chat through the reasons for absence. Ask them to clarify what evidence they would like you to provide for viral symptoms, for which it isn't always appropriate to visit a GP. Sign the contract as it will probably say something about about ensuring that your child attends school each day that they are well enough etc, which I'm sure no parent would disagree with.
Regarding your child's specific illnesses, some children do develop post-viral wheeze or bad cough after a virus. It's worth consulting a GP to see if they mgiht suggest an inhaler temporarily for such occasions. You should be able to send a screenshot to school of the dates you had telephone consultations or in person appointments as "medical evidence". Send school a copy of any prescriptions for antibiotics eg for the perforated eardrum. You're just covering your back in case it gets to a level of asking for the educational welfare officer to review it all.
Sickness and diarrhoea is a difficult one. Policy is probably that you shouldn't send them back to school until they are 48 hours clear from vomiting or diarrhoea in the case of a stomach bug. If you're in that situation again call school and ask what they would like you to do - to send your child in before the 48 hour period due to their low attendance or to keep them at home as per school policy. Let THEM decide what they want you to do. I suspect that many parents who need to get back to work send their child back to school before the 48 hour period anyway (I've done it myself in the past ). It obviously risks spreading the infection but that's on the school. As long as your child is well enough in themselves to be in school, send them in. Put it on the school.
If you're not sure whether to send your child in in the morning if they say they don't feel well, but don't have a temp or anything obvious, send them in to school, letting the teacher know and asking them to keep an eye on them. The teacher won't want a genuinely sick child in their class any more than you want them to be there. So they will phone you to collect them if genuinely ill.
Same if they seem to have a slight temp but dont seem TOO bad. Give them calpol, send them into school, let the teacher know, and standby for a phone call.
If it's the school calling you to collect them when they are ill then they can't question the absences.
When they ARE off, phone in every day and give an update. It's tiresome, but it takes 2 minutes and shows that you're working with the school.
Oh and don't book any holidays for the beginning of September. You will IMMEDIATELY be on the radar for attendance levels for months to come, discussed at the regular attendance meetings etc. Basically, try to avoid booking ANY term time holiday at any time but if you do be aware of the situations when you would be liable to get an automatic fixed penalty notice and email the school with full details of dates for absence, reason for the term time holiday (they still won't be able to authorise but you've got it on record) and don't be tempted to pretend your child is ill as kids always spill the beans no matter what you tell them.