HMCLIP / scripts /traversal_concepts.txt
SteveZeyuZhang's picture
Add source files and streaming backup restore instructions
b91f38a
Raw History Blame Contribute Delete
8.29 kB
# MERU-style multi-granularity CXR concept pool for image traversals.
#
# Construction (see scripts/build_traversal_concepts.py):
# - Curated coarse→fine hierarchy (modality → organ → anatomy → finding).
# - Plus short phrases mined from dataset/train.jsonl + valid.jsonl
# (freq filter, clinical keep-list, reject long multi-finding templates).
# - Plus short concepts grounded in current traversal query reports.
#
# Regenerate: python scripts/build_traversal_concepts.py
# --- L0 modality / study (most abstract) ---
radiograph
x-ray
imaging study
chest radiograph
chest x-ray
chest imaging
thoracic imaging
radiographic examination
frontal chest radiograph
lateral chest radiograph
PA chest radiograph
AP chest radiograph
portable chest radiograph
# --- L1 organ system / region ---
chest
thorax
thoracic cavity
chest wall
lungs
pulmonary system
cardiopulmonary system
cardiovascular structures
cardiomediastinal structures
pleural space
pleural spaces
mediastinum
central airways
bony thorax
upper abdomen
neck base
# --- L2 anatomy ---
right lung
left lung
both lungs
lung
lung parenchyma
lung bases
lung apex
lung apices
upper lobes
lower lobes
middle lobe
lingula
right upper lobe
right middle lobe
right lower lobe
left upper lobe
left lower lobe
right lung base
left lung base
bilateral lung bases
perihilar region
perihilar regions
peripheral lung
central lung
hilum
hila
right hilum
left hilum
hilar structures
trachea
carina
airways
main bronchi
bronchi
heart
cardiac silhouette
heart border
left heart border
right heart border
cardiomediastinal silhouette
mediastinal contours
mediastinal silhouette
hilar contours
aorta
aortic arch
descending aorta
ascending aorta
pulmonary artery
pulmonary vasculature
pulmonary vessels
superior vena cava
pleura
pleural surface
costophrenic angle
costophrenic angles
right costophrenic angle
left costophrenic angle
hemidiaphragm
right hemidiaphragm
left hemidiaphragm
diaphragm
diaphragmatic contour
ribs
rib
clavicle
clavicles
scapula
sternum
spine
thoracic spine
vertebral bodies
soft tissues
breast shadows
shoulder girdle
# --- L3 findings (CheXpert-aligned, short phrases) ---
pneumothorax
pulmonary edema
edema
pneumonia
pleural effusion
effusion
cardiomegaly
atelectasis
consolidation
focal consolidation
patchy consolidation
lung opacity
airspace opacity
airspace disease
enlarged cardiomediastinum
widened mediastinum
lung lesion
pulmonary nodule
nodule
mass
fracture
rib fracture
support devices
bibasilar atelectasis
basilar atelectasis
left lower lobe atelectasis
right lower lobe atelectasis
right upper lobe atelectasis
left upper lobe atelectasis
platelike atelectasis
compressive atelectasis
left pleural effusion
right pleural effusion
bilateral pleural effusion
small pleural effusion
large pleural effusion
layering pleural effusion
left pneumothorax
right pneumothorax
small pneumothorax
large pneumothorax
apical pneumothorax
mild pulmonary edema
pulmonary vascular congestion
vascular congestion
cephalization
interstitial edema
interstitial markings
increased interstitial markings
kerley b lines
infiltrate
opacity
basilar opacity
bibasilar opacities
right lower lobe opacity
left lower lobe opacity
perihilar opacity
emphysema
hyperinflation
fibrosis
scarring
pleural scarring
calcified granuloma
granuloma
calcification
hilar calcification
scoliosis
kyphosis
low lung volumes
elevated hemidiaphragm
elevated right hemidiaphragm
elevated left hemidiaphragm
blunted costophrenic angle
blunted costophrenic angles
hilar lymphadenopathy
lymphadenopathy
bronchiectasis
cavity
cavitation
pleural thickening
subcutaneous emphysema
# --- L3 normal / negation status (short) ---
no finding
normal study
normal chest
unremarkable chest
unremarkable study
clear lungs
lungs are clear
lungs remain clear
clear lung fields
no focal opacity
no focal airspace opacity
no pneumothorax
no pleural effusion
no effusion
no pulmonary edema
no edema
no pneumonia
no consolidation
no focal consolidation
no atelectasis
no cardiomegaly
no fracture
normal heart size
normal cardiac silhouette
normal cardiomediastinal silhouette
normal mediastinal contours
normal hilar contours
normal pulmonary vasculature
no vascular congestion
costophrenic angles are clear
costophrenic angles are sharp
sharp costophrenic angles
no acute cardiopulmonary process
no acute abnormality
no acute disease
stable chest
unchanged chest
# --- L4 attributes / severity ---
mild cardiomegaly
moderate cardiomegaly
severe cardiomegaly
top normal heart size
borderline cardiomegaly
moderate pulmonary edema
severe pulmonary edema
moderate pleural effusion
trace pleural effusion
tiny pleural effusion
bilateral atelectasis
mild atelectasis
mild bibasilar atelectasis
stable cardiomegaly
stable pleural effusion
stable atelectasis
stable opacity
chronic opacity
acute opacity
improving edema
worsening edema
improving effusion
worsening effusion
# --- devices / support ---
endotracheal tube
tracheostomy tube
chest tube
right chest tube
left chest tube
nasogastric tube
orogastric tube
PICC line
central venous catheter
internal jugular catheter
subclavian catheter
swan ganz catheter
pacemaker
defibrillator
icd lead
sternal wires
prosthetic valve
aortic valve prosthesis
mitral valve prosthesis
postoperative changes
median sternotomy
# --- L3 mined from train+valid reports (short, freq>=40, de-templated) ---
no pleural effusion or pneumothorax
heart size is normal
cardiomediastinal silhouette is normal
cardiomediastinal silhouette is within normal limits
pulmonary vasculature is normal
mediastinal and hilar contours are normal
normal cardiac and mediastinal silhouettes
lungs are clear without focal consolidation
no pneumothorax or pleural effusion
lung volumes are low
mediastinal and hilar contours are unremarkable
lungs are well expanded and clear
stable cardiac and mediastinal silhouettes
cardiomediastinal silhouette is stable
pulmonary vasculature is not engorged
lungs are otherwise clear
pulmonary vascularity is normal
no large effusion or pneumothorax
no evidence of pneumothorax
no pleural effusions or pneumothorax
no overt pulmonary edema
cardiomediastinal and hilar contours are unremarkable
heart size is top normal
cardiomediastinal and hilar contours are normal
mediastinal contours are normal
cardiac, mediastinal and hilar contours are normal
no effusion or pneumothorax
left lung is clear
no large pleural effusion or pneumothorax
heart is mildly enlarged
aorta is tortuous
normal size of the cardiac silhouette
right lung is clear
cardiac and mediastinal contours are normal
no definite focal consolidation
lungs are hyperinflated
heart size is mildly enlarged
cardiac, mediastinal and hilar contours appear stable
cardiomediastinal contours are normal
no focal consolidation or pneumothorax
cardiac silhouette size is normal
cardiac silhouette is normal in size
lung volumes are normal
no large pleural effusion
mediastinal contours are unremarkable
hilar and mediastinal contours are normal
lungs are well expanded
small bilateral pleural effusions
no evidence of pneumonia
no pulmonary vascular congestion
cardiomediastinal silhouette appears normal
cardiac silhouette is mildly enlarged
mediastinal contour is normal
mediastinal and hilar contours are stable
hilar and mediastinal silhouettes are unremarkable
heart size and cardiomediastinal contours are normal
cardiomediastinal and hilar contours are stable
lungs are clear without consolidation or edema
heart and mediastinal contours are normal
mild pulmonary vascular congestion
borderline size of the cardiac silhouette
pulmonary vasculature is not congested
hilar and cardiomediastinal contours are normal
no new focal consolidation
cardiac silhouette is top-normal
no evidence of pulmonary edema
aorta is calcified and tortuous
lung volumes remain low
heart is not enlarged
no focal lung consolidation
hilar contours are unremarkable
lungs are fully expanded and clear
heart size is top-normal
relatively low lung volumes
cardiac silhouette is not enlarged
mediastinum is not widened
hilar contours are normal
no pleural abnormality
# --- L3 grounded in current traversal query Findings ---
blunted left costophrenic angle
no definite pleural effusion
calcified nodule
granulomatous disease
stable cardiac and mediastinal contours