Skip to content

Peptic ulcer disease

Helicobacter pylori or anti-inflammatory drugs weaken the stomach's mucosal barrier, and acid digests a crater into the wall. Treating the cause heals it.

ICD-10 K25On the stomach3 stages

Installation

bunx shadcn@4.22.1 add @organui/peptic-ulcer-disease

This adds peptic-ulcer-disease.tsx, the disease's data and component, to your components directory. It is built on the disease viewer and reuses the models of the stomach, which install with it.

View registry item JSON

Usage

import { PepticUlcerDisease } from "@/components/peptic-ulcer-disease"

export function PepticUlcerDiseaseDemo() {
  return <PepticUlcerDisease />
}

Every structure is a finding: affected structures are amber and spared ones muted. Select one, in 3D or in the panel, to read what the disease does there.

Course

Set stage or defaultStage to one of these. Each stage changes which structures are affected and the investigations to expect.

  1. Ulcer "ulcer"

    Pain and indigestion. Eradicating H. pylori, stopping NSAIDs and a proton pump inhibitor heal most ulcers in eight weeks.

    Affects 1 structure of the stomach.

  2. Bleeding "bleeding"

    The ulcer erodes a vessel: vomiting blood or black, tarry stools. Resuscitate, then endoscopy within 24 hours stops it.

    Affects 2 structures of the stomach.

  3. Perforation "perforation"

    The ulcer goes through the whole wall. Acid and air escape into the peritoneum: sudden, severe pain and a rigid abdomen. Surgery closes it.

    Affects 1 structure of the stomach.

Without Panel

Hide the panel to place the model in your own layout, and choose the scale and stage with props.

Controlled

Drive the stage, scale and selection from your own state, such as a patient's timeline.

API Reference

Import PepticUlcerDiseaseProps from the same file as PepticUlcerDisease.

PepticUlcerDisease props
PropTypeDefaultDescription
scale"stomach"—Control the scale shown.
defaultScale"stomach""stomach"Choose the scale shown first.
onScaleChange(scale: string) => void—Receive the scale a reader chooses.
stage"ulcer" | "bleeding" | "perforation"—Control the stage shown.
defaultStage"ulcer" | "bleeding" | "perforation""ulcer"Choose the stage shown first.
onStageChange(stage: string) => void—Receive the stage a reader chooses.
selectedIdstring | nullnullControl the selected structure ID.
onSelectionChange(id: string | null) => void—Receive selections from the model and the panel.
panelbooleantrueShow the stages, scales, findings and investigations beside the model.
classNamestring—Set the layout of the model and the panel.

Other props, such as visibility, controls, defaultView and ref, go to the organ viewer.

Models and licences

The component code is MIT. Each model keeps its own licence, and the viewer shows its credit; see Licences before hiding it.

  • Stomach: BodyParts3D, © The Database Center for Life Science licensed under CC Attribution-Share Alike 2.1 Japan, CC BY-SA 2.1 JP.

Educational, not for diagnosis or clinical decisions. The findings summarise typical disease; individual patients differ.