logo Use SA10RAM to get 10%* Discount.
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Bryan ThomsonPsychology
(5/5)

845 Answers

Hire Me
expert
Patricia GloverrStatistics
(5/5)

823 Answers

Hire Me
expert
Dolll JuttLaw
(4/5)

901 Answers

Hire Me
expert
Jane SimaaLaw
(5/5)

652 Answers

Hire Me
Android Programming

Create a mobile application that calculates the total cost of a hospital stay. The daily base charge is GHC 500. The hospital also charges for medication, surgical fees, lab fees, and physical rehab.

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

SET UP INSTRUCTIONS:

  • Let the name of the application start with “FE-” followed by your ID (e.g. FE- 208IT01002674)
  • Let the package name be your LAST NAME and the LAST FOUR DIGIT of your ID (e.g. com)
  • Create a Text Icon with the initials “HC” as the app icon
  • Provide comments in your XML layout file and the java code (the main class file) before the package name indicating your Full Name and ID

MARKS ALLOCATION

Programming and implementation of Logic       

User Interface Design             

Functionality (the app running as expected) 

Creativity        

QUESTION

Hospital Charges

Create a mobile application that calculates the total cost of a hospital stay. The daily base charge is GHC 500. The hospital also charges for medication, surgical fees, lab fees, and physical rehab.

The application should accept the following input:

 

  • The details of patient (name, age, gender, address)
  • The number of days spent in the hospital
  • The amount of medication charges
  • The amount of surgical charges
  • The amount of lab fees
  • The amount of physical rehabilitation charges

 

Create an application that will generate the receipt for the customer based on the services rendered to the customer. This should be sent to the customer via an email with the subject “HOSPITAL BILL”.

 

User Interface

Let the user interface be divided into the following sections with their respective components. (You can use multiple user interface if necessary)

 

Section Name ComponentsInputs Description
Details [EditText]editName [EditText]editAddress [EditText]editAge[RadioGroup] radioGender Name of the Patient Address of the Patient Age of the PatientGender of the patient
Services [EditText]editDays [EditText]editMedication [EditText]editSurgical [EditText]editLab [EditText]editRehab The number of days spent in the hospital The amount of medication chargesThe amount of surgical charges The amount of lab feesThe amount of physical rehabilitation charges
  Outputs  
Summary [TextView]viewReport Displays all services rendered with their respective cost and the total cost in a receiptformat.
  Operations  
  [Button]btnCalculate A button when click will display the outputs in the summary section
  [Button]btnClear A button when click will clear everything in all sections
  [Button]btnSend A button when click will send the receipt asan email to the customer.

PROGRAMMING STRUCTURE OF THE APPLICATION

The codes should have comments at the beginning bearing your full Name and ID, and date.

The application should have the following value-returning methods:

•   CalcStayCharges—Calculates and returns the base charges for the hospital stay. This is computed as GHC500 times the number of days in the hospital.

  • CalcMiscCharges—Calculates and returns the total of the medication, surgical, lab, and physical rehabilitation
  • CalcTotalCharges—Calculates and returns the total charges.

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme

Get Free Quote!

278 Experts Online