Skip to contents

Convert PS3.18 DICOM JSON Model to a Tidy Header Tibble

Usage

from_dicom_json(dj)

Arguments

dj

A named list (one DICOM JSON dataset) from as_dicom_json() or a QIDO-RS/WADO-RS metadata response.

Value

A tibble::tibble with columns tag, vr, and value.

Examples

dj <- list("00080060" = list(vr = "CS", Value = list("CT")))
from_dicom_json(dj)
#> # A tibble: 1 × 3
#>   tag         vr    value
#>   <chr>       <chr> <chr>
#> 1 (0008,0060) CS    CT