I am making program for hospital, every patient examination needs to have protocol number, who will increase for each examination, how can i make that part dynamic, for example i want to have like this in firebase index:'1/2018', next examination index:'2/2018'.
I am using angular 5 framework. Ty.