Vital signs of hospital patients are monitored

Assignment Help Basic Computer Science
Reference no: EM131034376

Programming Project 3B

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

Categorize 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

 
Room Name                   Pulse    Respir   Oxygen
-----------------------------------------------------
120  Leggs, Buster          88       High=44   Low=88  ALERT***
011  Horse, Charlie         Low=56   15       95      CHECK
200  Moneylast, Wilma       High=132 18       98      CHECK
111  Makit, Willie          75       20       94     
000  Wont, Betty            Low=50   Low=10   Low=90  CRITICAL****
111  Buggs, Eaton           79       16       97
220  Spirit, Freda          High=110 High=23  Low=90  CRITICAL**** 
Totals
  2 Normal
  1 ALERT
  2 CHECK
  1 CRITICAL

Reference no: EM131034376

Questions Cloud

Compare and contrast a split db with a non split db. : Compare and contrast a split DB with a non split DB.
Explain the role and function of the performance : Explain the role and function of the performance monitor?Explain the role and function of the performance monitr.
Windows server 2008 security three features : Windows Server 2008 security three features?Windows Server 2008 security three features?
Launch a new innovative idea : Describe this innovative idea - Which segmentation technique you would be using to segment the market? And why?
Vital signs of hospital patients are monitored : 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.
What is a front end/back end db : What is a front end/back end DB?.
Is there anything else that needs to be done during time : You are a responding psychologist/counselor to a school crisis in which several students were injured through a violent act committed by an offender who was taken into custody by the police. What is your first step when you arrive at the school?
The structure and operation of the fx market : The aim of this assignment is encourage student to search for articles and/or material which will show theory of finance in action. Topic 1: Modern financial system, Topic 6: Foreign Exchange: the structure and operation of the FX market and Topic 7..
Determine the gravimetric analysis of air and its molar mass : Air has the following composition on a mole basis: 21 percent O2, 78 percent N2, and 1 percent Ar.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Distinguish among vulnerability-threat and control

Distinguish among vulnerability, threat, and control. Describe two examples of vulnerabilities in automobiles for which auto manufacturers have instituted controls. Tell why you think these controls are effective, somewhat effective, or ineffective..

  Algorithm to solve version of the problem

Suppose that walls in the maze can be knocked down, with a penalty of P squares. P is speci?ed as a parameter to the algorithm. (If the penalty is 0, then the problem is trivial.) Describe an algorithm to solve this version of the problem. What is..

  One or two most challenging issues in identifying

Discussion Question 2-1. What are the one or two most challenging issues in identifying and documenting IT acquisition requirements (i.e., the requirements for solving the problem that was defined)? Explain your reason(s) and how the issue(s) can be ..

  How often are network standards reviewed

How often are network standards reviewed? What category of UTP cabling is the minimum for a telephone cable?

  Prepare and submit a proposal to bill to business plan

prepare and submit a proposal to bill that gives your suggested solution to his business plan. provide bill with the details of what he needs to purchase in order to have what he needs to conduct his business using today's technology

  Is the intersection of these languages context free

is the intersection of these languages context free? Why or why not?

  Include a main routine that asks the user for input values

Your code should include a main routine that asks the user for input values of m and n and displays the result of the function call. The main routine should loop until the value that the function returns is zero.

  Types of pre-created objects that can be used on web sites

Types of pre-created objects that can be used on Web sites. Describe the objects you find and what they are used for. Include links to the sites you used in your research.

  Discuss how the business requirements drove the system

Discuss how the business requirements drove the system's initial development. Describe the type and basic uses of the system, how the system has helped the organization, and any likely future development plans.

  Navigation bar is fully functional and connects all pages

Update your website that you started in Week 2 to at least 3 complete webpages, with extra placeholder pages as needed. Include multimedia (e.g. images, audio, video) appropriate to the site. Use CSS to control the look of the site. Make sure your..

  Prepare grade stars

Only single grade letters, upper or lower case, are considered valid. Input exceeding a single character is invalid and should cause an Error JOptionPane dialog, complete with the appropriate icon and title of "Error" at the top of the window. (No..

  Write a program using linkedlist and listiterator

Write a program using LinkedList and ListIterator to obtain the following statements:1. Create a linked list named "number" with these elements: "one", "four" and "three".2. Create a List Iterator named "it1" related to "number".

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd