A Computational Model for The Access to Medical Service in a Basic Prototype of a Healthcare System