Documentation / Viewer

A resource: Preview (imaging and documents)

Look at DICOM studies in 3D, X-ray images and documents that ImagingStudy and DocumentReference resources refer to.

Preview tab of a CT study: 3D view and side view
Preview tab of a CT study: 3D view and side view
  1. Preview tab – Shown for ImagingStudy and DocumentReference resources.
  2. Legend – Orange: marked in the FHIR® resource. Blue: marked in the DICOM key object. Magenta: both. Green: selected by you.
  3. 3D view – Drag to rotate in any direction, wheel to zoom. Marked slices show as coloured sheets.
  4. Side view – The active slice in 2D with zoom, pan, flip and window.
  5. Slice bar – One stripe per slice; coloured stripes are marked. Click or drag to move.
  6. Selected slices – Every marked or selected slice side by side.

ImagingStudy and DocumentReference resources have a Preview tab. The files themselves are not in the vault: they are read from the documents folder on the server, which an administrator sets in Administration: users, profiles and code systems (Settings). A DICOM study is found by its Study Instance UID in the folder dicom/<uid>.

DICOM series: 3D view and side view

  • 3D view: the slices are combined into a volume. Drag to rotate in any direction, Alt or right-drag to roll, Shift or middle-drag to pan, wheel or pinch to zoom, arrow keys to rotate. The buttons rotate in steps, jump to Front, Side, Top or 3D views, flip horizontally and vertically, zoom and reset. Tissue (bone, soft tissue, all, dense), Mode (volume or maximum intensity) and Opacity change what is visible.
  • Highlights: slices marked in the FHIR resource (an ImagingSelection that refers to the study, with instance numbers or frames) are orange; slices marked in the DICOM data (a Key Object Selection file) are blue; both is magenta; slices you select yourself are green. The marks show as coloured sheets in the 3D view, as stripes on the slice bar and as a coloured frame around the 2D image.
  • Slice side view: the active slice in 2D, plus a card for every selected slice (all marked slices start selected). Click or drag on the slice bar to move; Add / remove toggles a slice; Select all marked and the ◀◀ ▶▶ buttons go to marked slices. Zoom, flip (horizontal, vertical), invert and window presets apply to all 2D images; the wheel zooms and dragging pans each image.
Preview of a chest X-ray
Preview of a chest X-ray
  1. Zoom – Zoom in and out, fit the window or show actual size.
  2. Flip – Flip the image horizontally or vertically.
  3. Image – Wheel to zoom, drag to pan, double-click to fit.

X-ray images

A single radiograph (DICOM, PNG or JPEG) opens in a 2D viewer: zoom in and out (buttons or wheel), flip horizontally and vertically, pan, fit or 100%, invert, and for DICOM brightness and contrast.

Other documents

PDF files, text, Markdown, CSV tables and HTML (shown in a sandbox without scripts) are previewed in the page. Documents stored inside the resource (attachment.data) are previewed too. Documents hosted elsewhere show their link; a missing file shows where the server looked. Other types (for example Word) offer a download.

NoteNeeds the permission viewer:documents and access to the resource type. DICOM transfer syntaxes other than uncompressed and baseline JPEG are not decoded; such images are listed as not displayable. The sample data is synthetic.