SET UP INSTRUCTIONS:
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:
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.
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
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
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme