Based on Age
- All (if all vaccine upto the age is taken)
- Partial (if any vaccines are missing as per his age)
- Unvaccinated (not a single vaccine is taken as per his age)
- Potential Zero Dose (if only Penta vaccine is missing)
output should be only one option.
For example under UIP schedule, 10 weeks
The vaccine should be taken:
OPV0
HEPB
BCG
OPV1
PENTA1
RVV1
PCV1
IPV1
OPV2
PENTA2
RVV2
The problem is Partial vaccination is not getting executed its overlap with other options.
if(${Age} < 6, if(${calculation_002} = 1 and selected(${Vaccination_Age}, 'All'), 'All', if(${calculation_002} = 0 and selected(${Vaccination_Age}, 'Unvaccinated'), 'Unvaccinated', '') ), if(${Age} >= 6 and ${Age} < 10, if(${calculation_002} = 1 and ${calculation_003} = 1 and ${calculation_004} = 1 and ${calculation_005} = 1 and ${calculation_006} = 1 and ${calculation_007} = 1 and selected(${Vaccination_Age}, 'All'), 'All', if(${calculation_002} = 0 and ${calculation_003} = 0 and ${calculation_004} = 0 and ${calculation_005} = 0 and ${calculation_006} = 0 and ${calculation_007} = 0 and selected(${Vaccination_Age}, 'Unvaccinated'), 'Unvaccinated', if(${calculation_002} + ${calculation_003} + ${calculation_004} + ${calculation_005} + ${calculation_006} + ${calculation_007} < 6 and ${calculation_002} + ${calculation_003} + ${calculation_004} + ${calculation_005} + ${calculation_006} + ${calculation_007} >= 1 and selected(${Vaccination_Age}, 'Partial'), 'Partial', '') ) ) ) )
this one not executed