1619: Watson Medical Algorithm

Explain xkcd: It's 'cause you're dumb.
Revision as of 22:28, 19 July 2024 by 172.69.22.220 (talk) (Explanation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Watson Medical Algorithm
Due to a minor glitch, 'discharge patient' does not cause the algorithm to exit, but instead leads back to 'hunt down and capture patient'.
Title text: Due to a minor glitch, 'discharge patient' does not cause the algorithm to exit, but instead leads back to 'hunt down and capture patient'.

Explanation[edit]

IBM's Watson is a natural language system designed to answer questions posed by humans. Recently, IBM has extended Watson to act as a clinical decision support system, using image analytics to aid physicians in medical decision making.

In this comic, Randall uses a flowchart (as he often does) to represent a guide to the algorithm used by Watson, including bizarre and horrifying techniques including surgical alteration of a patient to match a height and weight chart or squeezing the patient to make sure fluids come out of them. Like 416: Zealous Autoconfig, this comic pokes fun at a rigid, poorly-designed setup that ends up potentially doing more harm than good.

Modern medicine involves both standard processes and clinical judgment based around years of advanced training. An algorithm like this would have to be incredibly complicated in order to simulate the clinical judgment of a good doctor. However, some procedures are not normally used, and some would obviously cause damage.[citation needed] Below is a detailed description of each step, but here is a list of some of the more strange steps:

  • The algorithm depicted treats a patient as more of a machine or mechanical system than a living being, especially through decisions such as:
    • Injecting oxygen into patients with low oxygen saturation, rather than administering an oxygen mask or treating the root cause.
    • Removing and inspecting a skeleton, then diagnosing the patient's condition with a bone count. This is likely a reference to A Serious Case Of Spookiness from the Buttersafe web-comic, a comic Randall links to from below the comics on xkcd .
      • In the book Thing Explainer there is an explanation Colors of light for the electromagnetic spectrum, where Ponytail as a doctor looks at a full body x-ray of Cueball and exclaims that ... It looks like your body is full of bones to which Cueball replies Oh no! Is there any cure? Well if he meets Watson he might have them all removed... This comic came out about a month after the book so it may be viewed as a kind of reference to the problem with too many bones.
    • Dissecting a doctor "for parts" after consulting them for advice.
    • Removing extra limbs from a patient if the count is 100 or more (This might be a reference to different number systems used in computers, as 100 is read in binary as four.)
    • Determining whether the "build environment" of the patient is sane. This is most probably a reference to the configure script used in the GNU build system, which emits "checking whether build environment is sane" as one of its status messages. This is also referenced in 371: Compiler Complaint.
    • Rinsing the whole patient with a saline solution.
    • Removing organs from a patient regardless of response to an organ donation request.
  • Other decisions appear to be entirely unrelated to the conditions upon which they are predicated:
    • If the patient doesn't rate their pain on a scale from 0-10, sequence their genome, apply a tourniquet, and perform an autopsy
    • If the patient's phone's battery is low, defibrillate until the battery is charged, sync photos, then administer general anesthesia
    • If the patient is successfully comforted after an oxygen injection, check their medical history and apply skin grafts
    • If green fluid is released from the patient, begin to cauterize
    • If the patient has less than 100 limbs, check their Vitamin D level

Although there are two options where the patient is discharged the patient should be very lucky to make it to one alive. The only survivable route requires the patient to be injecting with oxygen, which is typically lethal. The patient would also experience multiple unnecessary operations, which hopefully do not last long enough for their vitamin D levels or their phone battery to decrease significantly.

The option at the bottom left is only reached after your skeleton is removed (and nothing is mentioned about putting it back, even if that would help).

The other discharge option is to the right, three boxes down, and can only be reached if you survive having an oxygen saturation of less than 50 % (less than 80-90 % can be a serious problem, see table below), and a very dangerous oxygen injection. Then you have to have a skin graft and a good D vitamin level. It is also best that you have a fully charged phone else you will be subject to defibrillation (which may very likely kill you, if it will continue until your phone is charged to above "low" level - which is probably not even possible).

You can also reach this discharge option another way, but that would only be after your organs were removed... But if you get through this you could reach the discharged option alive. Sadly there is a little glitch mentioned in the title text:

The title text implies that, if the patient is so lucky to ever reach one of the two places with the option "discharge patient", a minor glitch will cause the program to go back to the hunt down and capture patient option which thus force the patient and the program to repeat the process again in an infinite cycle, that will only end once the patient give another rating than 0-10 of their pain level on the 0-10 scale. Then the program will start to sequence their genome, then apply a tourniquet and finally perform an autopsy on what will, in the end, for certain be a deceased patient; but maybe the patient was still alive when the autopsy began. This will finally cause the patient to leave the cycle as a corpse. If the patient dies before giving a different option, the machine could get stuck, as it will never receive any answer to the pain level question. It could also get stuck trying to charge the patients phone battery by defibrillation.

One potential way to survive is to keep answering “nine” on the pain level question. Another possible exit would be spitting, drooling or sweating enough to register in the "fluid coming out of patient" stage while not bleeding or having snot fall out, causing the algorithm to freeze due to not having a response for clear liquids. This is the second comic in a row about health issues with the last comic being 1618: Cold Medicine.

Explanation of steps[edit]

Step Medically valid? Conditions and following step

Draw Blood

Phlebotomy is a normal early step in the diagnostic process, but not as first and unconditional step

Record patient’s name

Record patient’s name

Ideally done before a robot is involved, but not an abnormal step

Measure Patient’s height and Weight

Measure Patient’s height and Weight

OK

Consult Standard height/weight chart

Consult Standard height/weight chart

OK

Surgically adjust patient to match

Surgically adjust patient to match

May be considered ethically dubious unless there are sound medical reasons for doing so. Could be an allusion to Procrustes.

Is patient coughing up blood?

Is patient coughing up blood?

OK, coughing up blood is generally a sign that there is something wrong. Typical causes are respiratory tract infections (e.g. tuberculosis), lung trauma or pulmonary embolism.

Yes: Gather blood and return it to body

No: Is patient still here?

Is patient still here?

Not usually considered a step, but missing patients are a problem in some fields, psychiatry or intensive care for example.

Yes: Record pulse rate

No: Hunt down and capture patient

Hunt down and capture patient

Valid if patient should not have left the bed/unit, but the wording is possibly dubious.

Is patient still here?

Gather blood and return it to body

Dangerous idea in this case due to likelihood of contamination, although if safely done autotransfusion is an accepted medical technique to ensure a matching blood supply prior to a major operation, or to enhance stamina (blood doping)

Record pulse rate

Record pulse rate

OK, but maybe a little late.

Is patient screaming?

Is patient screaming?

Very important question, indicating patient is conscious, in pain, and aware pain is bad. First attenders can use it in classifying priorities (quiet patients may be more severely injured). Generally useful in assessing nerve damage, pain relief, etc.

Yes: Ignore

No: Check blood O2 saturation

Ignore

Ignoring that a patient is screaming might not be a good idea, as it indicates that the patient is in severe pain, but could be indicated in mass casualty situations or other dire emergency.

Check blood O2 saturation

Check blood O2 saturation

Only really indicated if the patient is in danger of hypoxia. Generally normal people should have a SpO2 of 98-100%, but in chronic lung disease this can fall as low to 80%, and in premature babies a SpO2 of 90% is usually targeted to avoid problems with retinopathy. If the SpO2 were to fall as low as 50%, the patient would definitely be dead or unconscious.

>50%: Remove and inspect skeleton

<50%: Inject oxygen

Remove and inspect skeleton

Fatal if patient is still alive when beginning. Also not a valid medical procedure in any way as it is impossible to remove most of the long bones of the body without destroying all surrounding tissue.

Too many bones: Is fluid coming out of patient?

Too few bones: Request consult with human doctor

Request consult with human doctor

Medically valid in the context of obtaining an opinion from a doctor in a different speciality who is better suited to treating the patient.

Dissect doctor for parts

Dissect doctor for parts

This may be considered ethically dubious.[citation needed] Possible reference to the Doctor Who episode “The Girl in the Fireplace

Discharge patient (left)

Discharge patient (left)

Acceptable, but patient would generally be dead by then.

END STATE (before you read the title text)

Is fluid coming out of patient

Unintended fluid release is always a problem. How significant a problem depends on where the fluid came from and if it is supposed to be coming from there. Red generally is due to blood, yellow is due to pus/tissue fluid/lymph and green signifies bacterial infection or bile salts (biliverdin). Could also relate to normal fluids being lost (e.g. urine, saliva, sweat)

No: Squeeze patient

Yes: What color?

Squeeze patient

Could be in the medical context is in providing external ventilation (see iron lung) or other means of removing fluid (e.g. squeezing pus from a boil).

Is fluid coming out of patient

What color?

Never underestimate the number of different types of fluid the body can produce. This may also be a refence to 1148: Nothing to Offer.

Yellow: Squeeze Patient

Black: Activate Sprinklers

Red: Ask patient to rate pain level

Green: Cauterize

Activate sprinklers

Not medically valid. Presumably a reference to how much cleaning up will be required by this stage. Or, since this occurs when fluids are black, the black fluids might indicate that there are ashes or charred tissue, indicate that the patient has caught on fire and sprinklers are needed to extinguish the fire.

Subdue patient

Subdue patient

Potentially very important if patient is behaving dangerously to themselves and others around them (due to mental health issues e.g. psychosis or drugs) and/or is moving too much to be given treatment. This would be likely due to what happened earlier.

Apply cream

Apply cream

Medically valid as a form of barrier dressing to improve wound healing.

Ask patient to rate pain level

Ask patient to rate pain level

Useful in the sense that it provides the doctor with the means to ensure that the patient is receiving adequate analgesia during conditions of chronic and acute pain.

0-8: Massage scalp

9: Admit for observation

10: Laser eye removal

Other response: Sequence genome

Massage scalp

This would belong more to the domain of palliative care and reflexology rather than being an accepted medical treatment.

Patient is healthy

Patient is healthy

A subjective assessment of the health patient is often helpful in ruling out certain diagnoses. For example, one is less likely to suspect cancer in a fit, healthy 30 year old than a thin, lethargic 50 year old.

Admit for observation

Admit for observation

Useful in the context of 'watchful waiting', in which the doctor may be unsure if the patient actually has a condition that they suspect that the patient has. By keeping the patient on the ward for a few days, the clinician can monitor the progression of symptoms and rapidly initiate adequate treatment if medically warranted.

Ask patient to rate pain level

Laser eye removal

This is not a standard medical procedure, and not a good idea. This is a reference to 1681: Laser Products. At least in animal surgery, however, laser eye removal does exist.

Admit for observation

Sequence genome

Useful in the association of extremely rare point mutations with an organic illness. See for instance the Genome 10K Project or the Cancer Genome Atlas. Or in diagnosing extremely rare mutations that are not picked up by most commercial DNA screening tests (e.g. kidney failure due to INF2 mutation).

Apply tourniquet

Apply tourniquet

Useful to stop acute bleeding from an injured extremity, but if it is drawn too tightly it can cause neuromuscular damage.

Perform autopsy

Perform autopsy

The patient has died, and Watson is being ordered to determine the cause of death. Note that the only way to reach this state is from "apply tourniquet", implying the cause of death is strangulation via tourniquet. END STATE (taking the title text into account, the only possible one)

Cauterize

Cauterizing is done with a heated instrument or a chemical to burn the skin or flesh of (a wound), typically to stop bleeding or prevent the wound from becoming infected. This could be useful if there is an open wound, but can cause tissue damage and other complications.

Ask patient to rate pain level

Inject oxygen

May be fatal as injecting gases directly to the blood vessels can cause a serious embolism if it blocks blood flow to the brain or coronary arteries. However, if the oxygen is injected slowly into the venous circulation, it may be survivable as the bubbles may simply collect in the lungs where the oxygen is then slowly reabsorbed into the blood.

Comfort patient

Comfort patient

Psychological support to the patient and relatives is often useful after breaking news of a poor prognosis. It may also be useful in subduing the agitated or psychotic patient.

Comforting successful: Review medical history

Comforting unsuccessful: Subdue patient

Review medical history

Important early step, rather too late and conditional.

Skin grafts

Skin grafts

Only indicated if massive areas of the skin are damaged (typically due to burns)

Count number of limbs

Count number of limbs

Not really relevant in medicine, but may be of use to know the reason behind any missing or extra limbs on seeing the patient though a through review of the medical history will render this point moot. Probably a little late to be noticing this now.

Fewer than 100: Measure Vitamin D

100+: Remove extra limbs

Remove extra limbs

Medically indicated in cases of polymelia either due to cosmetic purposes or because the extra limbs pose a direct threat to the health of the baby.

Subdue patient

Measure vitamin D

Valid in diagnosis of bone related issues, for example if multiple or comminuted fractures were being counted as additional limbs/bones.

Good: Check whether build environment is sane

Bad: Blood loss?

Check whether build environment is sane

Could be technical reference to the installation of the algorithm in the robot, or could relate to the sanity of:

  • The robot doctor
  • The patient undergoing this procedure (before or after reaching this part of the process)
  • The person who programmed the robot to perform this flowchart
  • The person who allowed this state of affairs to occur

This could also be a reference to the title text for 371: Compiler Complaint.

NB: Whether the build environment is sane is irrelevant to the flowchart.

Rinse patient with saline solution

Rinse patient with saline solution

Tepid sponging may be indicated if the patient has a high fever. Could also refer to internally rinsing patient with saline solution i.e. providing intravenous sodium chloride to boost circulating volume or to perform peritoneal dialysis.

Is patient phone battery low?

Is patient phone battery low?

Invalid in medical terminology, could be a technological metaphor for the patient's consciousness or stamina. "Your life-force is running out"

Yes: Defibrillate

No: Sync photos from camera

Defibrillate

Indicated in cases where there is ventricular fibrillation, and to a lesser extent in other heart rhythm disorders, but would not help with a phone.

Is patient phone battery low?

Sync photos from camera

Definitely invalid. Could refer to the robot attempting to backup photos from a camera before attempting to repair it/attempting to back-up patient's consciousness.

Administer general anesthesia

Administer general anesthesia

Valid, but not at this stage. Only used when the procedure will invoke unnecessary distress or pain to the patient if they were to be awake beforehand. This also has the implication that no anesthesia has been applied beforehand. This implication means the patient has likely been subject to unnecessary pain which is ethically dubious.

Discharge patient (right)

Discharge patient (right)

Acceptable in general, but the patient would most likely be dead in both cases as life is not possible without organs, and general anesthesia often requires mechanical ventilation to support breathing.

END STATE (before you read the title text)

Blood loss?

Useful. Patient may die if this clinical sign is missed. However, it should be noted that there is no option for "No blood loss".

Minor: Patient address changed?

Substantial: Apply cream

Patient address changed?

Useful to ensure that the organization has current contact details for the patient in the event that they may need to contact the patient (e.g. to arrange further appointments)

Yes: Request organ donation

No: Patient is healthy

Request organ donation

Generally done prior to registering an individual for a driving license or to a medical practice, or to the relatives of the deceased if consent had not been acquired beforehand.

Remove organs

Remove organs

The only organs which can be safely removed from a living person without resulting in serious, chronic medical issues are the kidneys/lungs (only one can be removed), spleen, gonads (ovaries/testes), thyroid gland, part of the liver (as long as one lobe is left it can regrow to its original size) and colon (usually consisting of the appendix only). With some serious lifestyle modifications, the pancreas, pituitary gland, frontal lobe of brain, half of the brain, second kidney, adrenal glands, bladder, and most of the gut can be removed. The heart can be removed from the body and replaced with an artificial pump for a few months at the most. However, such organ removals are only indicated if there is a genuine clinical need to do so due to the non-negligible risk of death associated with these operations.

Discharge patient (right)

Title text

The glitch in the algorithm causes it to continue in spite of having just discharged the patient

Hunt down and capture patient.

Transcript[edit]

Heading: A guide to the medical diagnostic and treatment system used by IBM's Watson system
[A flowchart with the following steps is shown, starting from "start":]
Step Following step

Start

Draw Blood

Draw Blood

Record patient’s name

Record patient’s name

Measure Patient’s height and Weight

Measure Patient’s height and Weight

Consult Standard height/weight chart

Consult Standard height/weight chart

Surgically adjust patient to match

Surgically adjust patient to match

Is patient coughing up blood?

Is patient coughing up blood?

Yes: Gather blood and return it to body

No: Is patient still here?

Is patient still here?

Yes: Record pulse rate

No: Hunt down and capture patient

Hunt down and capture patient

Is patient still here?

Gather blood and return it to body

Record pulse rate

Record pulse rate

Is patient screaming?

Is patient screaming?

Yes: Ignore

No: Check blood O2 saturation

Check blood O2 saturation

>50%: Remove and inspect skeleton

<50%: Inject oxygen

Remove and inspect skeleton

Too many bones: Is fluid coming out of patient?

Too few bones: Request consult with human doctor

Request consult with human doctor

Dissect doctor for parts

Dissect doctor for parts

Discharge patient

Discharge patient

END STATE (before you read the title text)

Is fluid coming out of patient

No: Squeeze patient

Yes: What color?

Squeeze patient

Is fluid coming out of patient

What color?

Yellow: Squeeze Patient

Black: Activate Sprinklers

Red: Ask patient to rate pain level

Green: Cauterize

Activate sprinklers

Subdue patient

Subdue patient

Apply cream

Apply cream

Ask patient to rate pain level

Ask patient to rate pain level

0-8: Massage scalp

9: Admit for observation

10: Laser eye removal

Other response: Sequence genome

Massage scalp

Patient is healthy

Patient is healthy

Admit for observation

Admit for observation

Ask patient to rate pain level

Laser eye removal

Admit for observation

Sequence genome

Apply tourniquet

Apply tourniquet

Perform autopsy

Perform autopsy

[End state, and if taking the title text into account, the only possible one]

Cauterize

Ask patient to rate pain level

Inject oxygen

Comfort patient

Comfort patient

Comforting successful: Review medical history

Comforting unsuccessful: Subdue patient

Review medical history

Skin grafts

Skin grafts

Count number of limbs

Count number of limbs

Fewer than 100: Measure Vitamin D

100+: Remove extra limbs

Remove extra limbs

Subdue patient

Measure vitamin D

Good: Check whether build environment is sane

Bad: Blood loss?

Check whether build environment is sane

Rinse patient with saline solution

Rinse patient with saline solution

Is patient phone battery low?

Is patient phone battery low?

Yes: Defibrillate

No: Sync photos from camera

Defibrillate

Is patient phone battery low?

Sync photos from camera

Administer general anesthesia

Administer general anesthesia

Discharge patient

Blood loss?

Minor: Patient address changed?

Substantial: Apply cream

Patient address changed?

Yes: Request organ donation

No: Patient is healthy

Request organ donation

Remove organs

Remove organs

Discharge patient

Discharge patient

[End State: See title text]

Trivia[edit]

  • The original comic was updated after it was first posted.
    • The decisions for number of limbs were swapped so it made sense.
    • In the corrected version it was only if you had more than 100 limbs that Watson would remove the extra limbs.
    • Before it removed limbs if you had less than 100 (i.e. always, and now never.)
    • This actually opened up (a slim) chance to survive to the right discharge patient box. Although it would not matter according to the title text...


comment.png add a comment! ⋅ comment.png add a topic (use sparingly)! ⋅ Icons-mini-action refresh blue.gif refresh comments!

Discussion

"but can close tissue damage" - I think this is a typo and "close" is supposed to be "cause"

Fixed. I haven't bothered doing the research, but I would guess fixed about five years later. Nitpicking (talk) 19:58, 19 January 2022 (UTC)

Build environment is still insane since comic #371. 162.158.2.139 (talk) (please sign your comments with ~~~~)

(Above poster please sign comments with four tildes)

I'm trying to picture Baymax using this algorithm. -- International Space Station (talk) (please sign your comments with ~~~~)

"OK, who swapped out Baymax's programming card with a Doomba AI?" VectorLightning (talk) 08:02, 21 December 2015 (UTC)
I hope it's ok that I deleted the part of the explanation saying that Watson's behaviour in this comic is comparable to Baymax, since it's really... not. :P Berets (talk) 22:45, 1 August 2017 (UTC)

Well, at least the autoconfig isn't as threatening as #416. 108.162.245.179 07:00, 21 December 2015 (UTC)

I suspect that the extra limbs should be removed when there are 100+ and Vitamin D levels checked when the nmbr of limbs is in an acceptable range... does IBM use a ticketing system? 162.158.91.194 08:39, 21 December 2015 (UTC)

Unfortunately the algorithm as shown in the cartoon has the conditions for those two steps exactly the other way around, making even less sense medically. --Svenman (talk) 14:30, 21 December 2015 (UTC)

It seems a normal patient would end up mostly unscathed and in an infinite loop in the lower right corner. Benjaminikuta (talk) 09:01, 21 December 2015 (UTC)

Uhm no. You would normally have an oxygen level above 50% of what is expected. (It should be close to 100% if I understand this correctly, which I may not...). This means you have had your skeleton removed. If you survived this you are squeezed until fluid comes out. (Probably not necessary after the skelerectomy). But then you end up in the lower right corner. Of course you can also get there after just getting an oxygen injection, but only directly if you are not comforted when the program tries. If you where comforted you will lose some limbs. And then end up in the lower right corner. No matter what if you are still OK (could be possible) when reaching here, you will be asked about your pain level. And even if you start by saying 0-8 many many times, getting as many scalp massages, you will just get the same question, until you say 10 then your eyes will be removed. But no matter what, if you are asked such a stupid question enough times you will surely at some point say something else than 0-10, and then you will die, as this answer will take you down the last path of the program (and only exit of the cycle according the to glitch mentioned in the title text), and this will end up with the program performing an autopsy on you, thus cutting you up and removing all organs etc. So no you will not be able to go unscathed infinitely, and even if you kept saying 0-8 you would eventually die from thirst. ;) --Kynde (talk) 09:24, 21 December 2015 (UTC)
Yes, normal oxygen saturation is 98-100% in air. If it drops below 95% you will be in trouble, if it drops below 85% you're likely dead. Kev (talk) 09:54, 21 December 2015 (UTC)
Actually you can go a lot lower than 85% and still recover. You lose consciousness at about 55% on average, so you could dip below 50% for maybe a minute and still recover with appropriate treatment. It is unclear exactly what "inject oxygen" means, it could mean intubate and actively ventilate with oxygen (appropriate) or it might mean use a syringe & needle to literally inject an oxygen embolus (which would do more harm than good). It could even mean a blood transfusion, because there is oxygen carried by the red blood cells (appropriate). Martin (talk) 22:28, 21 December 2015 (UTC)

This might also partially be a reference to machine learning, which Watson apparently uses: badly designed ML systems often build models which produce the expected results for the training data, but do something unexpected or wrong with real data. See [1]. That said ... 'dissect doctor for parts' doesn't seem like a reasonable response to any training input ;) 162.158.39.208 10:41, 21 December 2015 (UTC)

The noted "unrelated actions" aren't all entirely unrelated. The coughing blood one is interpreting backwards (so "is patient not coughing up blood because the patient is not here to do so?"), the vitamin D one is somewhat logical (vit D is part of the chain that converts calcium to bone, low vit D can cause bone loss, but high vit D is basically harmless), and the green fluid is slightly sane but too vague (logic appears to be that green fluid indicates severely infected and/or necrotic tissue, for which cauterizing might be a valid treatment step in extreme situations). Weirdly specific might be a better header? 141.101.106.197 11:57, 21 December 2015 (UTC)

So what happens if the skeleton has exactly the right number of bones? --162.158.153.71 12:32, 21 December 2015 (UTC)

Indeed this case is not covered, thus making the algorithm faulty even on an abstract logical level. --Svenman (talk) 14:33, 21 December 2015 (UTC)
What is the "right" number anyway? The number of bones in a normal human is not constant: it changes from 270 at birth to 206 as an adult. Martin (talk) 22:35, 21 December 2015 (UTC)
Human_skeleton : "It is composed of 270 bones at birth – this total decreases to 206 bones by adulthood after some bones have fused together" 162.158.255.46 22:32, 22 December 2015 (UTC)

the Request organ donation/Remove organs part reminds me of Live Organ Transplants segment in Monty Python's The Meaning of Life. --valepert (talk) 12:53, 21 December 2015 (UTC)

100 could be a reference to 4 in binary (4+ limbs / less than 4 limbs) 141.101.99.39 12:59, 21 December 2015 (UTC)

I believe you're correct. Mikemk (talk) 15:17, 21 December 2015 (UTC)
The binary explanation does make more sense than a human centipede. Although, given the general grossness of the comic, I'm not going to completely rule out the human centipede idea. Martin (talk) 22:40, 21 December 2015 (UTC)


I think GlaDOS is a descendent from this Watson. Mikemk (talk) 15:17, 21 December 2015 (UTC)


The part about squeezing and looking for the color of the ooze seems to reference Humorism. The colors match the four humors. 162.158.91.188 15:31, 21 December 2015 (UTC)

No it does not match -- the colors would be red-black-yellow-blue (not green) -- the blue is for water like in this diagram --162.158.255.46 14:55, 24 December 2015 (UTC)
The red-black-yellow-green matches the Rastafarian colors 162.158.255.46 15:43, 24 December 2015 (UTC)

I'm surprised he didn't make a Dr Watson joke/reference.--R0hrshach (talk) 17:33, 21 December 2015 (UTC)

This algorithm certainly does not exit without the death of the patient, however, such a death can result from old age as long as the patient can make it to the bottom right infinite loop and continuously reports a number from 0-9 for pain. It IS possible to make it to that loop alive. Extremely low blood oxygen levels have been recorded in healthy Everest climbers, but the article I read gave the results in kilopascals, not in % so I don't know how that converts. However, repeatedly reporting a pain level of 0-8 would result in continuous scalp massages, which may actually be considered pleasant. Kashim (talk) 20:11, 21 December 2015 (UTC)

I get the feeling that even if people can survive at low oxygen levels at a decent level for a time, it's not going to be either healthy or prolonged. -Pennpenn 108.162.250.162 04:36, 23 December 2015 (UTC)
I think I found a major fault in the diagram -- The algo will loop indefinitely removing eyes with laser surgery as long as the pain-level is 10 -- since most people only have two eyes, the algo may seg-fault after the second eye is removed and the paitent may leave alive at that point 162.158.255.46 15:48, 24 December 2015 (UTC)

I think this may be the least undesirable path through the flowchart: START > Draw blood (enough to lower oxygen saturation to 49%) > Record name > Measure height and weight > Measured height/weight happens to match standard chart exactly > No surgery needed > Not coughing up blood > Still here > Record pulse rate > No screaming (unconscious due to low O2 saturation) > O2 saturation below 50% > Inject oxygen > Comforting succesful > Review medical history > Skin grafts > Fewer than 100 limbs > Good vitamin D > Check build environment > Rinse with saline > Phone battery level is high > Sync photos > General anesthesia > Discharge Martin (talk) 22:51, 21 December 2015 (UTC)

Nope, that path doesn't work. First, injecting oxygen may do more harm than good, as previously mentioned. Second, you'll be unconscious, so comforting will be unsuccessful. Third, having fewer than 100 limbs actually leads to the path where some are removed (possibly an error in the chart?). Fourth, due to the bug, discharge leads to hunting you down and capturing you again. 108.162.249.161 01:32, 22 December 2015 (UTC)
First, it may or it may not... I'm hoping not! (see above for discussion of possible ways to "inject" oxygen) Second, I'll be conscious again because my oxygen saturation has now been restored, so comforting is possible. Third, please look at the updated version of the flowchart, fewer than 100 leads to measuring Vitamin D. Fourth, there is no pathway shown from discharge to hunting down and capturing: I assume that START is admission to the hospital, therefore once discharged from hospital I have escaped Watson's clutches. Martin (talk) 04:04, 22 December 2015 (UTC)
Yes, Randall fixed the bone count decision, but perhaps you missed the 'minor glitch' described in the mouseover text... 108.162.249.161 04:50, 22 December 2015 (UTC)
Dammit. Yes I missed that. I have doomed myself to infinite skin grafts. The glitch means the only end point is autopsy. Which is less undesirable, infinite skin grafts or autopsy? Martin (talk) 05:22, 22 December 2015 (UTC)
No luck on getting infinite skin grafts, I'm afraid. Watson won't draw blood again, so you won't be able to keep failing the oxygen saturation test. Besides, keeping oxygen perpetually under 50% would be fatal in itself. Maybe that's the best way to go: blacking out from oxygen deprivation. 108.162.249.161 23:13, 22 December 2015 (UTC)

ALERT!!! The comic has been updated since this explanation was first posted: the decisions for number of limbs have been swapped. Martin (talk) 04:14, 22 December 2015 (UTC)

I wonder whether Randall took some inspiration from Buttersafe? 108.162.249.161 04:48, 22 December 2015 (UTC)

entirely possible, Randall does list Buttersafe as a web comic he enjoys. Martin (talk) 05:17, 22 December 2015 (UTC)

Man I liked the original limb count decision better.... Schiffy (Speak to me|What I've done) 04:59, 22 December 2015 (UTC)

Yes, there was a delicious craziness about it. Martin (talk) 05:12, 22 December 2015 (UTC)
Ah, so it did change. (SFAICT, usually when the comic changes between publication and the present, the changes are noted somewhere in the explanation. It seems the explanation has been made to match the current version but doesn't have any reference to the original.) IMO, also, the original was funnier for the 'bad AI' (i.e. either evil or just incompetent) quality to that section. 162.158.152.227 09:52, 23 December 2015 (UTC)

Another infinite loop is in the upper right; if the patient's phone battery is low, defibrillate, then check phone battery condition again. Since defibrillating the patient is not going to improve teh patient's phone battery charge level, this will repeat infinitely, unless the battery is being charged by some external force (or, perhaps, by the electric charge from the defibrillator?) Swordsmith (talk) 12:18, 22 December 2015 (UTC)

I can't help feeling some of the information on this page are meant as jokes, like "disect the doctor for parts" being "may be considered ethically dubious". Is there someone who can clarify these? 162.158.72.191 19:49, 22 December 2015 (UTC)

I believe the author of the information is giving the robot the benefit of the doubt. After all, some of these may very well be acceptable under the right circumstances, and you know what they say about those who assume! 108.162.221.11 02:05, 4 February 2016 (UTC)

What could happen if I rate my pain level as 10 three times? There is no more eye left to remove, so would the algorithm crash? 162.158.83.18 00:17, 18 May 2016 (UTC)

Squeezing the patient again if yellow liquid comes out until another color comes out could be popping a pimple or other pustule until it instead starts bleeding (if red is what then comes out). 108.162.215.7 22:59, 23 May 2016 (UTC)

"comforting unsuccesful" Dammit, Randall, how did you mess that up? And how did no one else spot that? 162.158.79.71 02:52, 17 September 2017 (UTC)