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

  What is the difference between arin, ripe, iana

What is the difference between ARIN, RIPE, IANA?

  In what ways do the experts foresee the use

Review the literature and analyze the strengths and weaknesses of both virtualization and cloud computing in providing secure and trusted systems.

  Determine last element of a list using prolog

Using Prolog as programming language for LOGIC, create relevant command to do following tasks:-Determine the last element of a list. Find K'th element of list. (K=5)

  Why are organizations important to continual learning

Why are professional organizations important to continual learning? What professional organizations benefit both the employee and the employer.

  A network application for accessing a dial-up database

Wworking for a company that has a network application for accessing a dial-up database of corporate profiles. From your computer workstation, a request for a profile travels over corporate local area network to a modem. The modem, using a conventiona..

  Examining the possible impact of such technologies

Discuss the overarching purpose and mission of information systems at your organization. Does your organization support the "factory IT" approach to information technology or the "enabling IT" approach? Why?

  Apriori algorithm makes use of prior knowledge of subset

1.The Apriori algorithm makes use of prior knowledge of subset support properties:  a. Prove that all nonempty subsets of frequent itemsets must also be frequent?  b. Prove that the support of any nonempty subset s' of itemset s must be at least as g..

  Intentional and unintentional plagiarism

What is the difference between intentional and unintentional plagiarism

  How many time is the loop body of the while statement

Assume that all variables are of type int. z = 0; g = 0; s = 0; i = 0; while (i = 0) g = g + 1; else z = z + 1; i = i + 1; } 1.How many time is the loop body of the while statement executed?

  What are influences of politics and culture on dss design

What are the influences of politics and culture on DSS design?

  Describe an algorithm to find the largest

Describe an algorithm to find the largest 1 million numbers in 1 billion numbers  Assume that the computer memory can hold all one billion numbers

  Design a prototype for a standalone desktop

Design a prototype for a standalone desktop OR mobile/tablet application called EILA

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