Here is the military info if you want it - you can think you can just 'opt out' if you want, but if you read closely, you will see that it is not really optional or solely up to the service member:
What are the different types of military exemptions?
Medical
Temporary Exemptions may be granted for up to 365 days based on:
Temporary contraindications to vaccines (e.g., pregnancy, acute illness, treatments causing immune suppression)
Pending completion of an ongoing medical evaluation
Medical Supply exemption: lack of vaccine supply
Permanent Exemptions may be granted indefinitely based on one of the following**:
HIV infection, prolonged or permanent immune suppression
Determination by a medical provider that further vaccination will seriously endanger patient's health
Medical, Reactive exemption: Previously severe reaction after specific vaccine (e.g., anaphylaxis)
Medical, Immune exemption: Evidence of existing immunity (e.g., by serologic antibody test, documentation of previous infection or natural infection presumed)
**Indefinite or permanent exemptions may be reversed if an alternate form of prophylaxis is not available, if a medical condition or vaccination guideline changes, or if a provider experienced in vaccine adverse-event management determines that the risk of acquiring the disease is greater than the risk of vaccine exposure.
Administrative
Separation or retirement within 180 days provided the following conditions are met:
Service member is not assigned, deployed or scheduled to perform duties in an area where specific immunization is indicated
The commander has not directed immunization because of overriding mission requirements
Separation of civilian employees and contractor personnel within 30 days
Religious:
Granted according to Service-specific policies
Command decision made with medical and chaplain consultation