Who wants to do my easy assignment!! i will give many dukes for that =))

you will define the first classes for a hospital information system. The system includes four classes Doctor, Patient, PatientRecord and Diagnosis. Each doctor has a name, id and department. A patient has an id, name, address and date of birth. A patient record includes -a reference to- the patient, their blood pressure, heart rate, the identified disease, their current condition (critical, stable, recovering, ready to leave), -a reference to- their doctor and additional comments from their doctor.
An E-Diagnosis consists of first obtaining the information necessary to construct a patient record (including details of the doctor and the patient themselves) and then constructing the corresponding objects. Finally, this patient record object is used to generate and display a summary of the diagnosis.
Begin by drawing a diagram showing the classes and their relationship to each other, then do the following,
(1) Class Doctor
Implement the Doctor class. Declare instance variables as private and methods as public. Define one constructor method which initialises doctor with name and id. Compile and test the class to make sure it is correct.
(2) Class Patient
Implement the Patient class. Provide all the necessary instance variables and the methods. In addition define two constructors for initialising patient objects.
(3) Class PatientRecord
Implement the PatientRecord class. Declare all the required instance variables together with their set and get methods. Also implement a method that provides a summary of the whole record in textual form. Note that this summary should include details of the doctor and the patient themselves.
(4) Class EDiagnosis
Implement class EDiagnosis. This class provides a main method that implements a dialog for the diagnosis. The dialog should (a) obtain -from the user- details of the doctor and the patient and then create the corresponding doctor and patient objects, (b) get information related to the diagnosis itself in order to (c) create the patient record, before (d) calling its summary method in order to the produce the desired output.

I stand correct. You are the second best. This one comes tops:
http://forum.java.sun.com/thread.jsp?forum=31&thread=33823
That link is dead ...but I went to the Forum Conduct link that I found there ...what the hell is this I find.
Please Note: Cross-posting a question to different, relevant Java Technology Forums is permitted.
Ah, well that explains everything... ???

Similar Messages

  • Who can decode this who ever can I will give 4 dukes cause thats all i have

    who ever is the first to decode this and tell me what it says I will give you 4 duke dollars since that is all I have here it is
    vs.vo.~

    seeing something
    vszz}.vss

  • Hi guru's i want to dovelope smart form how can we give form name for sales

    hi guru's i want to dovelope smart form how can we give form name for sales order  plz help me  ...

    Hi,
    If u want to assign the form to Standard sales order, The, this form in the NACE.
    and the, Run from va02/03.
    Reward Points,
    Vamsi.

  • My iphone is at tech service and since it is in guarantee period most probably they will give a new one.Thats why I want to deactivate or sign out my apple ID from that Iphone. Please help me, what shoud I do?

    My iphone is at tech service and since it is in guarantee period most probably they will give a new one.Thats why I want to deactivate or sign out my apple ID from that Iphone. Please help me, what shoud I do?

    Wow... you seriously over paid for an iPhone.
    That probably explains why you have/had no clue you were purchasing a locked device and think it's an Apple problem to get it unlocked.

  • I am deleting all my old versions of  Lightroom and want to install the newest version , I don't pay extra for that right? It's still part of doing  the creative cloud monthly  cost right?

    I am deleting all my old versions of  Lightroom and want to install the newest version , I don't pay extra for that right? It's still part of doing  the creative cloud monthly  cost right?

    Correct, if you've got the Photography Plan or the Cloud Complete Plan.

  • Hi, i have a macbook pro and i want to update my iPhoto and iMovie will i be charged for the update and if i will how do i know if the update is free or I'm paying for it please help

    Hi, i have a macbook pro and i want to update my iPhoto and iMovie will i be charged for the update and if i will how do i know if the update is free or I'm paying for it please help

    Thank you soo much

  • I am trying to prevent an automatic download starting of Itunes file I purchased and no longer want. Itunes keeps wanting to download them onto a machine which has no space for that much video.

    I purchased several episodes of a TV show. I don't want the HD version. It takes up too much space. So I have the regular version. For the last two years I tunes has been trying to download the HD version. I get so frustrated with this, I barely use Itunes at all.

    Once an item enters your download queue, you can't delete it.  You can let the download complete and then delete the unwanted item. Or, contact the iTunes Store Support Team to have them remove the item from your download queue. Contact the here:  https://expresslane.apple.com/Issues.action

  • This is for people who wants to mirror all they apple devices when they travel.

    this is for people who wants to mirror all they apple devices when they travel and don't want to unplug everything from the apple tv and take it with them, you can get the amazon fire tv stick and download an app called airplay upnp or the reflector app and mirror all of your apple devices to it, it is great for traveling easy to setup and move around, for example if your traveling and want to use it in the conference room and then want to take with you back to the hotel for the night and plug it in and keep on doing that routine.
    it will be great to use hopeful until apple comes out apple with their own apple tv stick 

    The Verizon DVR is admittedly not the sharpest box on the market. I admit to giving up on the multi-room DVR product, it just never worked satisfactorily for me.
    Hopefully features/functions issues  will improve in the near term with the Cisco/Scientific Atlanta box that obviously isn't going to make Q1. I admit I have ceased  holding my breath. Something does have to happen fairly soon because 160gb drives are literally going out of production.
    You do however make two statements that incorrect. Current TiVO's only need 1 cable card, since the standard cable card today in Verizon's stock  is the M-Card. You also have the option with TiVO of paying either an annual fee, or a one time fee, both of which are lower in the long term than the month to month fee. Alternatively you can by the Moxi DVR, and it includes lifetime service in the purchase price.
    While in theory a truck roll costs $79, in practice if it is for a Cable Card install, it is free (I think  FCC regulations preclude the charge).
    Apparently there is nothing in Verizon's order processing system that tells reps that there is no charge for Cable Card installations, so they often quote the $79 fee because that is the standard charge for technician to come out. As far as I can tell (and there have been lots of posts about cable card installs), no one has in fact been charged the $79 fee..

  • Who wants to help the rookie? MY FIRST SERVELT

    Okay here'm my problem
    Number one I've only seen a few functioning servlets and am feeling totally out of my depth here trying to write one. This is what I need to do:
    I am creating a web site that has the following basic structure:
    html code
    html code
    html code
    java GUI
    html code
    html code
    java GUI
    I need to take information from the two GUI's and pass them to a separate class where the logic of the web site can work on them. I was thinking of declaring a variable in the servlet and passing it into the GUI to assign it variables but I realized I had absolutely no clue whether or not you could even declare variables in a servlet. If someone could offer me some advice? Maybe tell me the basics of sefvlet writing? I'm in a real bind here!

    Ok, rookie :)
    Imagine a servlet as just a regular java class that happens to be able to be called from a webpage using Jakarta-Tomcat or one of the other JSP/Servlet engines out there. If you are familiar with server-side programming then passing information from a Servlet to your GUI should be easy. As for passing info from a GUI to a servlet, I'm not too sure how, but that's just because I haven't written many applets in Java yet. I suggest highly "Using Java Server Pages and Servlets Special Edition" from Que as a good reference book for a technically minded programmer starting in Servlets. Now, enough of the rookie-speak, and on to the problem. If you want to pass information from a servlet to an applet, there are probably many ways to do this, but the first way I can think of is to:
    a) create a servlet from scratch.
    b) In the doGet() or doPost() methods, instantiate any variables you need to pass.
    c) Attach these variables to the datastream using the method .setAttribute() in the HttpServletRequest object
    d) Redirect your page to the page containing the <APPLET> tag using the following line:
    getServletContext().getRequestDispatcher(URL).forward(request,response);     
    e) Inside your page with the <APPLET>, use <% String blah = (String) request.getAttribute("Whatever"); %>
    f) To reference the passed variable, use <%=blah%> and it will output a string in that place.
    g) MAKE SURE YOU RENAME THAT PAGE FROM *.html to *.jsp IF IT HAS <% %> tags.
    Thats about all the help I can give online.....if I've totally confused you, try looking in that book. It's really helpful....
    Dan from Canada

  • Who wants to be a millionaire - uploading onto website

    Hi everyone,
    I'm very new to Adobe Captivate. I've created a Who wants to be a Millionaire game on Captivate 8 and would like to know exactly how I would upload it onto my webpage. I've configured it and created an HTML5 folder but am stuck on what next to do. Any help would be really appreciated.
    Many thanks in advance
    Dan

    For this interactive interaction the value of the score will be stored in the associated variable (do not forget to create it, will label it v_mil).
    Failure means that you don't get the total score, right? And since you only want to retake at the end, I suppose that is on another slide? Then it is easy, you just have to make a 'button' visible on that slide if the score is lower than the total score. That can be done On Enter for that slide:
    IF v_mil is less than v_total    you can put the exact total score here, or store that score in another user variable v_total
       Show Bt_Retake                 where that is the button that is initially invisible
    ELSE
       Continue
    The button has to trigger a simple action 'Jump to ...' to get back to the slide with the game, it will be automatically reset.

  • Looking for software that allows you to make "who wants to be a millionaire".  Must be able to put in your own questions and HAS to be for the Mac.  Help!

    I am a teacher who would love to create the game "who wants to be a millionaire" with my own questions.  I would use this for test reviews.  I can't not find something for the mac.  It is out there for the PC, but my class room is mac based.  I can't use anything that will allow me to run the mac in windows, either.  Anyone know of a software that will allow me to input my own questions?  Thank you very much for your time and consideration.

    You may possibly find something here:
    http://www.oneonlinegames.com/who-wants-to-be-a-millionaire-games
    but in any case beware of copyright.

  • Who wants to be a billionaire ?

    Im busy desinging a game...Who Wants To Be A Billionaire...but
    could someone explain why the following won't draw the Round Rectangles that i ask to be drawn...
    // Main Application Class
    import java.awt.*;
    import BuildCanvas.*;
    public class User
    public static void main (String [] args)
    MakeWindow userInterface = new MakeWindow ();
    userInterface.setSize (800, 600);
    userInterface.setLocation (100, 100);
    // The MakeWindow Class
    import java.awt.*;
    import java.lang.*;
    class MakeWindow extends Frame
    Button finalButton, fiftyButton, phoneButton, askButton, retireButton;
    MenuItem quitItem, newGameItem, helpItem, aboutItem, greenItem, blueItem;
    public MakeWindow ()
    super ("Who Wants To Be A Billionaire");
    // Create the menu items.
    newGameItem = new MenuItem ("New Game");
    quitItem = new MenuItem ("Quit Billionaire");
    helpItem = new MenuItem ("Help");
    aboutItem = new MenuItem ("About");
    // Create the menus.
    Menu mainMenu = new Menu ("File");
    Menu helpMenu = new Menu ("Help");
    // Place the menu items in the menus.
    mainMenu.add (newGameItem);
    mainMenu.add (quitItem);
    helpMenu.add (helpItem);
    helpMenu.add (aboutItem);
    // Place the menus into the menu bar.
    MenuBar myMenus = new MenuBar ();
    myMenus.add (mainMenu);
    myMenus.add (helpMenu);
    setMenuBar (myMenus);
    setBackground (Color.blue);
    pack ();
    show ();
    // Call button method.
    makeButton (finalButton, 180, 550, "Final Answer");
    makeButton (fiftyButton, 270, 550, "50 / 50");
    makeButton (phoneButton, 360, 550, "Phone Friend");
    makeButton (askButton, 450, 550, "Audience");
    makeButton (retireButton, 540, 550, "Retire");
    remainingButtons ();
    } // MakeWindow constructor.
    private void remainingButtons ()
    // Creates windows for Money Ladder and Answer Boxes.
    Graphics g = getGraphics ();
    g.setColor (Color.black);
    g.fillRoundRect (200, 200, 300, 300, 7, 7);                    //**** This Code doesnt work
    g.fillRoundRect (100, 300, 50, 100, 7, 7);                    //**** This Code doesnt work
    g.fillRoundRect (100, 200, 50, 200, 7, 7);                    //**** This Code doesnt work
    // Creates, positions + sets size of buttons.
    private void makeButton (Button currentButton, int posx, int posy, String buttonText)
    currentButton = new Button (buttonText);
    add (currentButton);
    currentButton.setSize (80, 20);
    currentButton.setLocation (posx, posy);
    } // makeButton method.
    have i forgotten to call something ?
    please help me asap.
    thanks
    andrew.

    I took the liberty to make some change, (the black rectangles overlaps)
    import java.awt.*;
    import java.awt.event.*;
    class MakeWindow extends Frame
         Button   finalButton, fiftyButton, phoneButton, askButton, retireButton;
         MenuItem quitItem, newGameItem, helpItem, aboutItem, greenItem, blueItem;
    public MakeWindow ()
         super ("Who Wants To Be A Billionaire");
         setLayout(null);
         addWindowListener(new WindowAdapter()
        {     public void windowClosing(WindowEvent ev)
              {     dispose();
                   System.exit(0);
    // Create the menu items.
         newGameItem = new MenuItem ("New Game");
         quitItem    = new MenuItem ("Quit Billionaire");
         helpItem    = new MenuItem ("Help");
         aboutItem   = new MenuItem ("About");
    // Create the menus.
         Menu mainMenu = new Menu ("File");
         Menu helpMenu = new Menu ("Help");
    // Place the menu items in the menus.
         mainMenu.add (newGameItem);
         mainMenu.add (quitItem);
         helpMenu.add (helpItem);
         helpMenu.add (aboutItem);
    // Place the menus into the menu bar.
         MenuBar myMenus = new MenuBar ();
         myMenus.add (mainMenu);
         myMenus.add (helpMenu);
         setMenuBar (myMenus);
         setBackground (Color.blue);
    // Call button method.
         makeButton(finalButton,180,550,"Final Answer");
         makeButton(fiftyButton,270,550,"50 / 50");
         makeButton(phoneButton,360,550,"Phone Friend");
         makeButton(askButton,450, 550,"Audience");
         makeButton(retireButton,540,550,"Retire");
         setVisible(true);
    // Creates, positions + sets size of buttons.
    private void makeButton(Button currentButton, int posx, int posy, String buttonText)
         currentButton = new Button(buttonText);
         add(currentButton);
         currentButton.setSize (80, 20);
         currentButton.setLocation(posx, posy);
    public void paint(Graphics g)
         g.setColor (Color.black);
         g.fillRoundRect (200, 200, 300, 300, 7, 7); //**** This Code doesnt work
         g.fillRoundRect (100, 300, 50, 100, 7, 7); //**** This Code doesnt work
         g.fillRoundRect (100, 200, 50, 200, 7, 7); //**** This Code doesnt work
    public static void main (String [] args)
         MakeWindow userInterface = new MakeWindow ();
         userInterface.setSize (700, 600);
         userInterface.setLocation (10, 10);
    }

  • Who wants to earn some dukes in the swing forum?

    just take a look at my riddle:
    http://forum.java.sun.com/thread.jspa?threadID=5117753&tstart=0
    Cheers!
    Annette

    Ok, rookie :)
    Imagine a servlet as just a regular java class that happens to be able to be called from a webpage using Jakarta-Tomcat or one of the other JSP/Servlet engines out there. If you are familiar with server-side programming then passing information from a Servlet to your GUI should be easy. As for passing info from a GUI to a servlet, I'm not too sure how, but that's just because I haven't written many applets in Java yet. I suggest highly "Using Java Server Pages and Servlets Special Edition" from Que as a good reference book for a technically minded programmer starting in Servlets. Now, enough of the rookie-speak, and on to the problem. If you want to pass information from a servlet to an applet, there are probably many ways to do this, but the first way I can think of is to:
    a) create a servlet from scratch.
    b) In the doGet() or doPost() methods, instantiate any variables you need to pass.
    c) Attach these variables to the datastream using the method .setAttribute() in the HttpServletRequest object
    d) Redirect your page to the page containing the <APPLET> tag using the following line:
    getServletContext().getRequestDispatcher(URL).forward(request,response);     
    e) Inside your page with the <APPLET>, use <% String blah = (String) request.getAttribute("Whatever"); %>
    f) To reference the passed variable, use <%=blah%> and it will output a string in that place.
    g) MAKE SURE YOU RENAME THAT PAGE FROM *.html to *.jsp IF IT HAS <% %> tags.
    Thats about all the help I can give online.....if I've totally confused you, try looking in that book. It's really helpful....
    Dan from Canada

  • BUG in iOS7: Post iOS7 upgrade, search option does not work for "Messages". If you want to search a contact name in Messages who is way below the list, the search will not yield any result.

    BUG in iOS7: Post iOS7 upgrade, search option does not work for "Messages". If you want to search a contact name in Messages who is way below the list, the search will not yield any result.

    These are user forums. You are not speaking to Apple here. Report your problem at Apple Feedback.

  • I am a sole proprietor business owner (work from home graphic designer) and I have a customer who wants to pay me via Apple pay. Can I accept her transaction? How do I get that rolling?

    I am a sole proprietor business owner (work from home graphic designer) and I have a customer who wants to pay me via Apple pay. Can I accept her transaction? How do I get that rolling?

    Apple Pay: Merchants FAQ - Apple Support

Maybe you are looking for