Description
REQUIREMENTS DOCUMENT
Application Title: Medical Weight Conversion Calculator
Purpose: This Windows Desktop application converts a patient's weight into pounds or kilograms for medication purposes.
Program Procedures: The medical staff enters the patient's weight and selects either Pounds or Kilograms or Kilograms to Pounds. The application will determine the user's weight in pounds or kilograms. Many medications are prescribed based on patient weight in kilograms.
Algorithms, Processing and Conditions: 1. The medical staff must be able to enter the patient's weight and indicate whether it should be converted from pounds to kilograms or kilograms to pounds. 2. To convert pounds to kilograms - divide the number of pounds by 2.2046. To convert kilograms to pounds - multiply the number of kilograms by 2.2046. 3. The medical staff must be able to initiate the calculation and display the converted weight.
4. The medical staff must be able to clear their input and the results.
Notes and Restrictions: 1. If the patient's weight entry is blank or nonnumeric, the medical staff should be advised and asked for a valid entry.
2. The results should be displayed three places past the decimal point.
Comments: The image in this application is named Scale and is a picture of a scale with someone's feet on it.
USE CASE DEFINITION
1. The Windows Desktop application window opens.
2. The medical staff enters the weight for the patient and select Pounds to Kilograms or Kilograms to Pounds.
3. The user taps or clicks the Display Weight button.
4. The program displays the converted weight with the appropriate units to three decimal places.
5. A MsgBox appears and displays a warning if the user enters a negative number for the weight value.
6. A MsgBox appears and displays a warning if the user enters a nonnumeric value for the weight value or does not enter a value.
7. The user can clear the input and the results by tapping or clicking the Clear button.
Unformatted Attachment Preview
Purchase answer to see full attachment
Explanation & Answer
Hi! Here is your Wi...
Review
Review
24/7 Homework Help
Stuck on a homework question? Our verified tutors can answer all questions, from basic math to advanced rocket science!
Similar Content
Related Tags
The Adventures of Huckleberry Finn
by Mark Twain
The Fault in Our Stars
by John Green
A Passage to India
by E. M. Forster
Big Little Lies
by Liane Moriarty
The King Must Die
by Mary Renault
Communist Manifesto
by Karl Marx
The Calcutta Chromosome
by Amitav Ghosh
The Girl With The Dragon Tattoo
by Stieg Larsson
Team of Vipers
by Cliff Sims