Skip to content

Ectopic pregnancy

The embryo implants outside the uterine cavity, almost always in a uterine tube. It cannot survive there, and a tube that ruptures bleeds into the abdomen.

ICD-10 O00.1On the uterus2 stages

Installation

bunx shadcn@4.22.1 add @organui/ectopic-pregnancy

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

View registry item JSON

Usage

import { EctopicPregnancy } from "@/components/ectopic-pregnancy"

export function EctopicPregnancyDemo() {
  return <EctopicPregnancy />
}

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. Unruptured "unruptured"

    Six weeks of amenorrhoea, light bleeding and one-sided pain. A small, stable ectopic can be treated with methotrexate; otherwise the tube is removed.

    Affects 1 structure of the uterus and tubes.

  2. Ruptured "ruptured"

    The tube bursts, usually at six to eight weeks: sudden severe pain, shoulder-tip pain from blood under the diaphragm, and collapse. Emergency surgery saves her.

    Affects 2 structures of the uterus and tubes.

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 EctopicPregnancyProps from the same file as EctopicPregnancy.

EctopicPregnancy props
PropTypeDefaultDescription
scale"uterus"—Control the scale shown.
defaultScale"uterus""uterus"Choose the scale shown first.
onScaleChange(scale: string) => void—Receive the scale a reader chooses.
stage"unruptured" | "ruptured"—Control the stage shown.
defaultStage"unruptured" | "ruptured""unruptured"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.

  • Uterus and tubes: HuBMAP Human Reference Atlas 3D Reference Object Library (Kristen Browne, Heidi Schlehlein et al.), CC BY 4.0. Adapted by OrganUI., CC BY 4.0.

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