print("\t*-*-*-*VACCINATION GRADE FOR NEW BORN BABIES-*-*-*-*")
name=str(input("Enter Child name:"))
print("\n\tEnter the age in months:")
print("\tNEWborn baby\n\t1-month\n\t2-month\n\t4-month\n\t6-month\n\tone year=12\n\tone and half year= 18\n\ttwo year =24\n\tsix year=72\n\tseven year=84\n\teight year=96\n\tnine year=108\n\tthirteen year=156")
A=int(input("\tEnter the Age limit of children:"))
b=["Hepatitis B", "Polio","Haemophilus influenzae B", "Pneumococcus", "Rota-virus",
"Measles Mumps Rubella Varicella", "Hepatitis A", "Papilloma_virus", "Influenza"]
AGE=[0, 1, 2, 4, 6, 12, 18, 24, 72, 84, 96, 108, 156]
a=A
for x in AGE:
if a==0 and x==a:
print("\n\tAge limit for",a,"month children")
print("\tName of the vaccine:",b[0])
doses=1
print("\tDoses:",doses)
break
elif a==1 and x==a:
print("\n\tAge limit for",a,"month children")
print("\tName of the vaccine:",b[0])
doses=2
print("\tDoses:",doses)
break
elif a==2 and x==a:
print("\n\tAge limit for",a,"month children")
print("\tName of the vaccine:",b[1:5])
doses=1
print("\tDoses:",doses)
break
elif a==4 and x==a:
print("\n\tAge limit for",a,"month children")
print("\tName of the vaccine:",b[1:5])
doses=2
print("\tDoses:",doses)
break
elif a==6 and x==a:
print("\n\tAge limit for",a,"month children")
print("\tName of the vaccine:",b[0:3])
doses=3
print("\tDoses:",doses)
print("\tName of the vaccine:",b[-5])
print("\tDoses:",doses)
break
elif a==12 and x==a:
print("\n\tAge limit for",a,"month children")
print("\tName of the vaccine:",b[1:3])
doses=4
print("\tDoses:",doses)
print("\n\tName of the vaccine:",b[3])
doses1=3
print("\tDoses:",doses1)
print("\n\tName of the vaccine:",b[-4])
doses2=1
print("\tDoses:",doses2)
break
elif a==18 and x==a:
print("\n\tAge limit for",a,"month children")
print("\tName of the vaccine:",b[1])
doses="bOPV Polio vaccine"
print("\tDoses:",doses)
print("\n\tName of the vaccine:",b[-3])
doses1=1
print("\tDoses:",doses1)
break
elif a==24 and x==a:
print("\n\tAge limit for",a,"month children")
print("\tName of the vaccine:",b[-3])
doses=2
print("\tDoses:",doses)
break
elif a==72 and x==a:
years=6
print("\n\tAge limit for",years,"years children")
print("\tName of the vaccine:",b[-4])
doses=2
print("\tDoses:",doses)
break
elif a==84 and x==a:
years=7
print("\n\tAge limit for",years,"years children")
print("\tName of the vaccine:",b[1])
doses="Booster"
print("\tDoses:",doses)
print("\n\tName of the vaccine:",b[-1])
doses1=1
print("\tDoses:",doses1)
break
elif a==96 and x==a:
years=8
print("\n\tAge limit for",years,"years children")
print("\tName of the vaccine:",b[-1])
doses=1
print("\tDoses:",doses)
break
elif a==108 and x==a:
years=9
print("\n\tAge limit for",years,"years children")
print("\tName of the vaccine:",b[-1])
doses=1
print("\tDoses:",doses)
break
elif a==156 and x==a:
years=156
print("\n\tAge limit for",years,"years children")
print("\tName of the vaccine:",b[-2])
doses=2
print("\tDoses:",doses)
break
y=str(input("\n\tIf any missing grade(YES OR NO):")) #if any missing vaccine grade in past months.
if y=="yes":
n=int(input("\tEnter missing month:"))
for x in AGE:
print("\n\tThe missing vaccine for past grade:",n,"month")
m=n
if m==4:
print("\tAge limit for fourth month children")
print("\tName of the vaccine:",b[1:5])
doses=2
print("\tDoses:",doses)
break
elif m==2:
print("\tAge limit for second month children")
print("\tName of the vaccine:",b[1:5])
doses=1
print("\tDoses:",doses)
break
elif m==1:
print("\tAge limit for first month children")
print("\tName of the vaccine:",b[0])
doses=2
print("\tDoses:",doses)
break
elif m==6:
print("\tAge limit for",m,"month children")
print("\tName of the vaccine:",b[0:3])
doses=3
print("\tDoses:",doses)
print("\n\tName of the vaccine:",b[-5])
print("\tDoses:",doses)
break
elif m==12:
print("\tAge limit for",m,"month children")
print("\tName of the vaccine:",b[1:3])
doses=4
print("\n\tName of the vaccine:",b[3])
doses1=3
print("\tDoses:",doses1)
print("\n\tName of the vaccine:",b[-4])
doses2=1
print("\tDoses:",doses2)
break
elif m==18:
years=1.5
print("\tAge limit for",years,"month children")
print("\tName of the vaccine:",b[1])
doses="bOPV Polio vaccine"
print("\tDoses:",doses)
print("\n\tName of the vaccine:",b[-3])
doses1=1
print("\tDoses:",doses1)
break
elif m==24 :
years=2
print("\tAge limit for",years,"month children")
print("\tName of the vaccine:",b[-3])
doses=2
print("\tDoses:",doses)
break
elif m==72:
years=6
print("\tAge limit for",years,"years children")
print("\tName of the vaccine:",b[-4])
doses=2
print("\tDoses:",doses)
break
elif m==84:
years=7
print("\tAge limit for",years,"years children")
print("\tName of the vaccine:",b[1])
doses="Booster"
print("\tDoses:",doses)
print("\n\tName of the vaccine:",b[-1])
doses1=1
print("\tDoses:",doses1)
break
elif m==96:
years=8
print("\tAge limit for",years,"years children")
print("\tName of the vaccine:",b[-1])
doses=1
print("\tDoses:",doses)
break
elif m==108:
years=9
print("\tAge limit for",years,"years children")
print("\tName of the vaccine:",b[-1])
doses=1
print("\tDoses:",doses)
break
elif m==156:
years=13
print("\tAge limit for",years,"years children")
print("\tName of the vaccine:",b[-2])
doses=2
break
elif m==0:
print("\n\tAge limit for",m,"month children")
print("\tName of the vaccine:",b[0])
doses=1
print("\tDoses:",doses)
break
print("\t****SEND THE REPORT TO PATIENTS****") # sending report the patients.
elif y== "noon "or"no":
print("\t****SEND THE REPORT TO PATIENTS****")
print("\n\tNext Grade")
n1=int(input("\tEnter present Grade:"))
if n1>0:
n=n1
for x in AGE:
if n==1:
print("\tNext vaccine after one month")
break
elif n==2:
print("\tNext vaccine after two month")
break
elif n==4:
print("\tNext vaccine after two month")
break
elif n==6:
print("\tNext vaccine after six month")
break
elif n==12:
print("\tNext vaccine after six month")
break
elif n==18:
print("\tNext vaccine after six month")
break
elif n==24:
print("\tNext vaccine after four year")
break
elif n==72:
print("\tNext vaccine after one year")
break
elif n==84:
print("\tNext vaccine after one year")
break
elif n==96:
print("\tNext vaccine after one year")
break
elif n==108:
print("\tNext vaccine after four year")
break
feedbacks=input("\n\tEnter your Effect's about past vaccine:") #feedbacks from patients about past vaccination effect.
mobile=int(input("\tSend SMS to mobile N.o:"))
print("\tfeedbacks:",feedbacks)