What role does a lean method operation processes play in achieving an optimum utilization of electronic medical records or other technological tools?

What if the patient uses more than one pharmacy
Would it not be easier and more efficient if the entire territory has an operational process that ensures that all medical information are collated in one pool and can be disseminated at will when required?
What role does a lean method operation processes play in achieving an optimum utilization of electronic medical records or other technological tools?
How do we identify the bottlenecks in this operation’s process flow?
What can be done to relieve the pressure or overload at these bottle necks?
Technology tools? How do they play a role in optimizing the system process?