Skip to contents

Converts a dicom_index_build() index, DICOM directory path, or header tibble into a standard OHDSI Medical Imaging CDM (MI-CDM) image_occurrence table using the bundled omop_imaging_concepts crosswalk.

Usage

to_omop_image_occurrence(source, person_map = NULL, wadors_base = NULL)

Arguments

source

A dicom_archive_index, DICOM directory path, or header data frame from read_dicom().

person_map

Optional named integer vector mapping PatientID strings to integer OMOP person_id values.

wadors_base

Optional base DICOMweb WADO-RS URL for constructing wadors_uri values.

Value

A tibble::tibble conforming to OHDSI image_occurrence.