# Vaccination Tracking

**URL:** <https://community.dhis2.org/t/vaccination-tracking/43323>\
**Category:** Immunization\
**Created:** [23 June 2021 07:10 UTC](https://community.dhis2.org/t/vaccination-tracking/43323 "2021-06-23T07:10:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dina.mazloum](https://dhis2.b-cdn.net/letter_avatar_proxy/v4/letter/d/e9bcb4/32.png) [@dina.mazloum](https://community.dhis2.org/u/dina.mazloum)\
**Post date:** [23 June 2021 07:10 UTC](https://community.dhis2.org/t/vaccination-tracking/43323/1 "2021-06-23T07:10:32Z")

</div>

Hello all,

This is to ask you about how can I create a vaccination tracking stage that allow me to know what are the done vaccines in the previous completed stage.  
For example I have a list of vaccines  
vaccine 1  
vaccine 2  
vaccine 3

1st visit for patient:  
I opened a stage and checked that I did vaccine 1 then make the stage complete.

2nd visit for patient:  
I open a new vaccination stage but I need to show the vaccines done in the previous one.  
Can I download COVID toolkit and then change the labels and the rules ?!  
Any advice ?  
Thank you

@jaime.bosque @marta

---

<div class="post-metadata">

**Author:** ![Gassim](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/gassim/32/35347_2.png) [@Gassim](https://community.dhis2.org/u/Gassim)\
**Post date:** [28 June 2021 09:20 UTC](https://community.dhis2.org/t/vaccination-tracking/43323/2 "2021-06-28T09:20:48Z")

</div>

@dina.mazloum I see that you have tagged Marta and Jamie from the #android team but I think this is more of an implementation question! I also think this post should be in the #Immunization sub-category because you aren’t facing a technical issue, right?

> **[Immunization](https://community.dhis2.org/c/implementation/immunization/35)**
>
> We have added this category “Immunization” to make it easier to find posts related to Immunization data in the DHIS2 community of practice. We encourage implementation stories and questions to be shared here to bring together implementers, public health experts and developers involved with nutrition data.

---

<div class="post-metadata">

**Author:** ![Enzo](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/enzo/32/29993_2.png) [@Enzo](https://community.dhis2.org/u/Enzo)\
**Post date:** [28 June 2021 11:03 UTC](https://community.dhis2.org/t/vaccination-tracking/43323/3 "2021-06-28T11:03:55Z")

</div>

Hello Dina!

Yes, you certainly can. This is already implemented in the existing Covid vaccination package.

There is a rule that shows the previous vaccine in the indicator panel:

**Name of rule:** “Show vaccine type from previous vaccination event”

**Expression:** d2:hasValue( ‘Vaccine\_type\_previous’ )

where the variable ‘Vaccine\_type\_previous’ points to a Data Element from the previous event where the vaccine name is recorded.

**Action** : “Display key/value pair” where the expression to display is the variable “#{Vaccine\_type\_previous\_no\_code}” Which is the same variable but the box “use code for option set” is not checked in order to show the vaccine full name.

Hope this helps!
