Vital signs of hospital patients are monitored and reported automatically. While each monitor has alarms which go off when a reading is out of range, combinations of readings are also important. Common vital signs and normal range is given below.

computer science

Description

Vital signs of hospital patients are monitored and reported automatically. While each monitor has alarms which go off when a reading is out of range, combinations of readings are also important. Common vital signs and normal range is given below. Pulse 60-100 Respiration 12-20 Oxygen Level 92-100 Write a program to read a series of patient records from the file PATIENTS.TXT. Each record contains the following fields delimited by a space: first name, lastname, pulse, respiration, oxygen, room. The file contains and unknown number of records. A sample file might resemble the following Buster Leggs 88 44 88 120 Charlie Horse 56 15 95 011 Wilma Moneylast 132 18 98 200 Willie Makit 75 30 94 121 Betty Wont 50 10 90 000 Eaton Buggs 79 16 97 111 Freda Spirit 110 23 90 220 Categoize each reading as Low, Normal or High. Print the result in the report detailed below. Tag each record as according to the following and print any needed messages in the report for each record CHECK – one indicator out of range ALERT – two indicators out of range CRITICAL – three indicators out of range


Related Questions in computer science category


Disclaimer
The ready solutions purchased from Library are already used solutions. Please do not submit them directly as it may lead to plagiarism. Once paid, the solution file download link will be sent to your provided email. Please either use them for learning purpose or re-write them in your own language. In case if you haven't get the email, do let us know via chat support.