The file viewer — one patient document

Clicking a row in the Files widget opens that document on its own page: the file on the left, everything known about it on the right.

You reach it from either side of the record — the front-desk patient card or the doctor's medical chart. ← Back to Patient Files returns you where you came from.

The file viewer — preview on the left, File Details on the right

(the document itself is blurred in this screenshot — a real patient file would show through)

The preview

What you see on the left depends on the kind of file:

Working with a 3D model

The hint Drag to rotate · scroll to zoom · right-drag to move sits in the bottom-left corner. Under the viewer, a bar shows 3D model with the file type, and a Download button.

An OBJ model is always shown in plain grey — its colours live in a separate .mtl file, which the viewer does not read. If the model cannot be opened at all, a red message appears in its place.

When the preview does not load

If the file cannot be fetched, you get a crossed-out camera icon where the preview should be, and no download link — reload the page, and if it keeps happening, upload the document again. A card reading No PDF file available to display means the record has no file attached at all. If the page shows Error loading file instead, the document's details could not be loaded; Try Again repeats the request.

File Details

Renaming and describing

The pencil icon turns the card into a form:

File Details in edit mode

Change the File Name, write a Description, then Save Changes — which stays greyed out until you have actually changed something — or Cancel to drop the edits. A description is worth writing: "insurance card, front" saves the next person opening five files to find the right one.

Deleting

The red bin removes the document from the patient's record on the first click, with no "are you sure?", and then takes you back to the patient. Check you have the right file first — the name and the ID are both on screen.

It is not quite gone: an administrator can bring it back from the Deleted Files report.

Related