home *** CD-ROM | disk | FTP | other *** search
/ Softdisk G-S 83 / SGDS 83.2mg / SDGS.83 / SDB83 / B / ER.ROUNDS (.txt) < prev    next >
Encoding:
Applesoft BASIC Source Code  |  1988-06-29  |  5.1 KB  |  59 lines  |  [FC] Applesoft BASIC Program (0x0801)

  1. 1  REM <CTRL-0x0a>ER.ROUNDS<CTRL-0x0a>
  2. 2  PRINT  CHR$(20);
  3. 5  LOMEM: 31750
  4. 10  HOME : HGR2 
  5. 40  PRINT  CHR$(4)"BLOAD ER.ROUNDS.LNK,A$6400": POKE 0,0: POKE 1,100: POKE 2,16: POKE 3,2: POKE 4,0: POKE 5,1: CALL 24576
  6. 45  VTAB (1): PRINT " %& %& %& %& %& %& %& %& %& %& %& %& %& ": VTAB (24): PRINT " %& %& %& %& %& %& %& %& %& %& %& %& %& "
  7. 50  GET A$
  8. 180  FOR N = 24 TO 1  STEP  -1: VTAB (N): HTAB (1): PRINT " %& %& %& %& %& %& %& %& %& %& %& %& %& ": NEXT 
  9. 200  FOR N = 24 TO 1  STEP  -1: VTAB (N): HTAB (1): PRINT "                                        "
  10. 210  NEXT 
  11. 212 :
  12. 250  PRINT  CHR$(12): VTAB (2): PRINT "The following patients are available for": VTAB (3): HTAB (15): PRINT "discussion": PRINT 
  13. 260  HTAB (3): PRINT "1.) Petey M., age 6--fell from a swingand hurt his arm.": PRINT 
  14. 270  HTAB (3): PRINT "2.) Mr. L., age 58--had a fainting ":: PRINT "spell.  Now complains of nausea and":: PRINT "chest pain.": PRINT 
  15. 280  HTAB (3): PRINT "3.) Mrs. H., age 26--has a sore throatand fever.  Occasional dry cough.": PRINT 
  16. 290  HTAB (3): PRINT "4.) Walter R., age 17--abdominal pain,fever, and vomiting.": PRINT 
  17. 300  HTAB (2): PRINT : PRINT "<press patient's number (1-4) to select>"
  18. 305  PRINT " <press (Q) to return to Softdisk menu>": PRINT : PRINT "   <press (R) to restart ER program>": GET A$
  19. 310  IF  ASC(A$) = 49  THEN  GOTO 420: REM  PETEY
  20. 320  IF  ASC(A$) = 51  THEN  GOTO 500: REM  MRS. H.
  21. 330  IF  ASC(A$) = 50  THEN  GOTO 350: REM  MR. L.
  22. 340  IF  ASC(A$) = 52  THEN  GOTO 540: REM  WALTER
  23. 342  IF A$ = "Q"  OR A$ = "q"  THEN  GOTO 61060
  24. 343  IF A$ = "R"  OR A$ = "r"  THEN  GOTO 62000
  25. 345  GOTO 250
  26. 350  PRINT  CHR$(12): PRINT "  Dizziness or fainting can be related": PRINT : PRINT "to heart disease.  In Mr. L's case, it ": PRINT : PRINT "was related to a 'heart attack' ": PRINT : PRINT "(myocardial infarction--death of heart": PRINT 
  27. 352  PRINT "tissue)  with associated dysrhythmia": PRINT : PRINT "(abnormal rhythm), which interferes with": PRINT "normal stimulus to heart pumping action.": PRINT "This causes subsequent decreased flow of ": PRINT 
  28. 353  VTAB (18): PRINT "blood and oxygen to the brain.": GOSUB 495
  29. 355  PRINT  CHR$(12): PRINT "  Sudden death with heart attacks is": PRINT : PRINT "usually due to ventricular dysrhythmias,": PRINT "like the frequent 'premature ventricular": PRINT "complexes' (seen on Mr. L's monitor), ": PRINT 
  30. 357  PRINT "that, unless rapidly treated, can lead ": PRINT : PRINT "to fatal disruption in the heart's ": PRINT : PRINT "electrical-mechanical system.": PRINT : PRINT "  Mr. L. has several cardiac risk fac-": PRINT 
  31. 358  PRINT "tors identified: male sex, age, smoking": PRINT : PRINT "history, and elevated serum cholesterol.": GOSUB 495: GOTO 250
  32. 420  PRINT  CHR$(12): PRINT "  It's a common, but erroneous belief of": PRINT "many people that 'if it can move--it's ": PRINT : PRINT "not broken'.  Petey's arm could have ": PRINT : PRINT "been broken in several places and yet": PRINT 
  33. 422  PRINT "still have full movement, as long as the": PRINT "tendons are intact.  In a real ER ": PRINT : PRINT "setting, careful attention is given to": PRINT : PRINT "insure that tendons are intact, liga-": PRINT 
  34. 423  PRINT "ments are stable, and that blood supply": PRINT : PRINT "to the injured part has not been": PRINT : PRINT "impeded.": GOSUB 495
  35. 424  PRINT  CHR$(12): PRINT "  The 'point tenderness' of Petey's ": PRINT : PRINT "wrist raises the suspicion of fracture.": PRINT : PRINT "  Petey's X-ray is that of a typical ": PRINT : PRINT "6 year-old, who is still growing.  His": PRINT 
  36. 425  PRINT "growth plates between bones are not yet": PRINT : PRINT "fused, giving the appearance of what": PRINT : PRINT "might--to the untrained eye--seem like": PRINT : PRINT "many fractures.": GOSUB 495: GOTO 250
  37. 495  VTAB (23): HTAB (13): PRINT "<press any key>": GET A$
  38. 496  RETURN 
  39. 500  PRINT  CHR$(12): PRINT "  Mrs. H. represents what is referred to": PRINT "in the medical community as the ": PRINT : PRINT "'difficult patient'--one who is irri-": PRINT : PRINT "table, demanding, and manipulative.": PRINT 
  40. 505  PRINT "  No matter that another patient may be": PRINT : PRINT "near death's door--woe unto the unlucky": PRINT : PRINT "doctor that keeps her waiting...": PRINT : PRINT "but the true professional will avoid": PRINT 
  41. 508  PRINT "a confrontation if he can, and go on to": PRINT : PRINT "attend to Mrs. H.'s medical problem.": GOSUB 495
  42. 510  PRINT  CHR$(12): PRINT "  Mrs. H. has the classic symptoms of": PRINT : PRINT "streptococcal pharyngitic (strep": PRINT : PRINT "throat):  fever, enlarged anterioe cer-": PRINT : PRINT "cical lymph nodes, and swollen red, ": PRINT 
  43. 511  PRINT "exudative (pus-covered) tonsils.  Anti-": PRINT : PRINT "bitoics would be indicated in such a ": PRINT : PRINT "patient, if the doctor thought that ": PRINT : PRINT "strep throat was likely.  If unsure, the"
  44. 512  PRINT "physician could await culture results": PRINT : PRINT "before initiating therapy, the object of": GOSUB 495
  45. 513  PRINT  CHR$(12): PRINT "which is aimed at preventing rheumatic  ": PRINT "heart disease caused by streptococcal   ": PRINT "bacteria.  The sore throat itself will  "
  46. 514  PRINT "resolve with or without treatment, even ": PRINT "if strep is present.": GOSUB 495: GOTO 250
  47. 540  PRINT  CHR$(12): PRINT "  Despite Walter's evident appendicitis,": PRINT "it will be only after surgery that any  ": PRINT "certainty can be made regarding the     "
  48. 541  PRINT "diagnosis.  He could just as easily have": PRINT "had a bad case of viral gastroenteritis.": PRINT 
  49. 545  PRINT "  No mention was made of lab tests or   ": PRINT "X-rays, though you can bet that a       ": PRINT "surgeon would expect to have them avail-": PRINT "able.  A normal urine would help to ": GOSUB 495
  50. 560  PRINT  CHR$(12): PRINT "rule out a urinary infection.  An ele-  ": PRINT "vated white blood count and certain     ": PRINT "changes on abdominal X-rays may help    ": PRINT "make the diagnosis, but it will be      ": PRINT 
  51. 570  VTAB (10): PRINT "only the surgeon's clinical judgment    ": PRINT "that decides the issue:  operate, or    ": PRINT "wait-and-see.": GOSUB 495: GOTO 250
  52. 1500  END 
  53. 61060  PRINT  CHR$(12): VTAB (12): PRINT "        RETURNING TO SOFTDISK": PRINT  CHR$(4)"BYE": END 
  54. 62000  PRINT  CHR$(12): VTAB (12): PRINT "        Hang on--en route to ER!": PRINT  CHR$(4)"PR#0": PRINT  CHR$(4)"RUN ER.INTRO": NEW 
  55. 62040  REM    ER COPYRIGHT 1988    BY HOWARD CLARKE             
  56. 17999 TDISK--"
  57. 61030  GET A$
  58. 61040  IF A$ = "T"  OR A$ = "t"  THEN  GOTO 62000
  59. 61050  IF A$ = "G"  OR A$ = "g"  THEN  PRINT  CHR$(12): VTAB (12): PRINT "       STAND BY FOR GRAND ROUNDS": PRINT  CHR$(4)"RUN E