1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Allushta [10]
3 years ago
6

Write a Python program to keep track of data for the following information in a medical clinic: doctors, patients, and patient_v

isits
Patients and Doctors have an ID, first name, and last name as common attributes. Doctors have these additional attributes: specialty (e.g. heart surgeon, ear-nose-throat specialist, or dermatologist), total hours worked, and hourly pay. Further, doctors keep track of the patient_visits. A patient_visit has the following attributes, number_of_visits to the clinic, the patient who is visiting, the doctor requested to be visited, and the number of hours needed for consultation. Based on the number of consultation hours, the doctor will get paid.


The following functions are required:

1. addVisit: this function adds a patient_visit to the doctor. A new visit will NOT be added if the doctor has already completed 40 hours or more of consultation. If this happens, an error is thrown mentioning that the doctor cannot have more visits this week.

2. calculatePay: this function calculates the payment for the doctor using the following logic: Each hour is worth AED 150 for the first two visits of the patient and all further visits are billed at AED 50.


3. calculateBill: this function calculates the bill for the patient, which displays the doctor's details, patient details, and payment details. An additional 5% of the total is added as VAT.


The student is required to identify classes, related attributes, and behaviors. Students are free to add as many attributes as required. The appropriate access modifiers (private, public, or protected) must be used while implementing class relationships. Proper documentation of code is mandatory. The student must also test the code, by creating at-least three objects. All classes must have a display function, and the program must have the functionality to print the current state of the objects.
Computers and Technology
1 answer:
miv72 [106K]3 years ago
5 0
This is too much to understand what you need the answer too. In my opinion I can’t answer this question
You might be interested in
ONLY ANSWER IF YOU KNOW HOW TO WRITE THIS CODE
denis-greek [22]

Answer:

WRITE THIS CODE

WRITE

WRITE

8 0
3 years ago
Read 2 more answers
Can You Get Commission Shortcut For FREE?
ANEK [815]

Answer:

Yeah if you look it up it says you can get it for free

6 0
3 years ago
Write a short note on Computer<br>impact on<br> our society?​
Vesna [10]

well not a note but here are some few points

Explanation:

1 Computers can have the huge impact on employment of people like job and other stuff.

2 lots of human can be jobless or unemployed

3 it can cuz impact on the health of peoples

4 it also can make us lazy and and lack of self knowledge

8 0
3 years ago
Read 2 more answers
You are an administrator for the Contoso Corporation. You have client software that receives its configuration from a shared fol
bija089 [108]
In order to make sure that the shared folder is accessible and the performance is high at all times, it would be best to house it on a secure file sharing/storage services, such as Box or Dropbox.
4 0
3 years ago
Internet privacy refers to the level of information sharing on the web collected through web cookies, caches, and browsing histo
Zanzabum

The level of information sharing on the web that are mainly collected through web cookies, caches, and browsing history of a web browser is referred to as Internet privacy: True.

A web browser can be defined as a software program that is typically designed and developed for viewing a HTML document or browsing the Internet.

An Internet privacy refers to the level of privacy protection an end user has while browsing the Internet, especially with reference to the vast range of protocols, technologies, and frameworks (concepts) that are deployed.

This ultimately implies that, Internet privacy relates to the level of information sharing on the web that are mainly collected on a web browser through the following means:

  • Web cookies
  • Caches
  • Browsing history

Read more: brainly.com/question/3840341

6 0
2 years ago
Other questions:
  • Each frame is composed of a number of colors recorded in digital format; we call these pixels. What information does the number
    15·1 answer
  • You can increase your efficiency by using your e-mail program's spell checker because it eliminates the need for you to proofrea
    11·1 answer
  • Presentation software allows business professionals to _____.
    14·2 answers
  • To display the entire entry for a calculated field, select the column in the Field row, right-click to display the shortcut menu
    15·1 answer
  • This refers to the people involved in the data processing operation.
    14·1 answer
  • Horizontal scaling of a client/server architecture means _____.
    12·1 answer
  • List the steps you took to configure SERVERC and take a screen shot of the Connect to DNS Server dialog box by pressing Alt+Prt
    11·1 answer
  • Why do we say that IP provides ""best-effort"" service?
    11·1 answer
  • Please help! In your own words explain the difference between a problem and an algorithm.
    13·2 answers
  • Digital rights include the right to
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!