MONITORING RESPIRATORY MECHANICS USING ARTIFICIAL NEURAL NETWORKS