It is formed as follows: Let's assume a patient is in the respiratory therapy department, in the pulmonology division, in Building H, on the 3rd floor. Each entrance to the complex has a QR code, just like each node in the complex (each office, etc.). Internally, that location would be identified with a code like 'HP3NEUTR' which stands for Building H, 3rd Floor, Pulmonology, Respiratory Therapy. There is a code like at that specific place.
By scanning the code, the application already knows which node the patient is at. Then, in the application, the department and subdepartment are selected. The application calculates the route from that node to the selected node