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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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