Built with go-dicom
What go-dicom is used for in practice: projects built on it, and which parts of the library each one leans on. Each has its own repository, license and state of readiness.
NoPACs: a medical imaging archive
NoPACs is a medical imaging archive in one Go module, built as two static binaries: a server and a command line. It receives DICOM, de-identifies it, routes it to a storage, catalogs it as patient, study and series, and serves it to other systems through an API with keys, as a core that research and clinical platforms are built on.
Important
NoPACs is in early development and has no release yet. It is not a cleared medical device: a site that uses it in clinical care is responsible for its own validation and regulatory obligations. Until a de-identification profile has been checked on test data, send it only synthetic or public test data. See its README.
What it does
- Receives DICOM over the network, per tenant, from callers it lists, and over STOW-RS for the keys it lists.
- De-identifies what it receives by profile, and checks the result again.
- Archives each study to a directory or an S3 bucket as patient / study / series, with a manifest and checksums verified against what was sent, and a quarantine (with its reason) for what cannot be archived.
- Serves the archive back: a catalog, each instance's header as JSON, and DICOMweb (QIDO-RS, WADO-RS, STOW-RS); C-FIND, C-MOVE and C-GET for viewers and workstations.
- Speaks to scanners the way they expect an archive to: storage commitment, a modality worklist with MPPS.
- Sends on archived studies to other systems over DIMSE and STOW-RS, and queries other archives to pull studies in.
How it uses go-dicom
| go-dicom part | What NoPACs does with it |
|---|---|
network | Its DICOM receivers (C‑STORE, C‑FIND, C‑MOVE, C‑GET, storage commitment, worklist, MPPS) and its sending and pulling (SCU) |
dicomweb | STOW‑RS receiving and sending on |
dataset, tag, dataelem | Every header it reads, indexes, corrects or answers with |
filereader, filewriter | Reading what arrives, with bounded reads for untrusted input, and writing what it archives |
anonymize | Its de-identification profiles and the check after them |
compress, encaps | Pixel data: frames, transcoding, rendered images |
matching | Answering C‑FIND and QIDO‑RS queries |
charset, validate, uid | Text in its declared character set, instance checks, new UIDs |
NoPACs is also how much of go-dicom gets checked against real use: what it needs from the library is asked for, built here, and pinned there before a release.
Your project here
Built something on go-dicom? Open a discussion with a link and a line on what it does, and it can be listed here.
See also
Examples: the common jobs
Previous Page
Reading and writing files
How go-dicom reads a DICOM file, what you get back, how to query and change its attributes, and how to write it again, in Go and on the command line. It is for anyone who handles files with the library, and above all for code that reads files it did not make.