Skip to main content

Function: copyStudyTags()

copyStudyTags(src): object

Copies study (and patient) tags from src into a new object. This prevents copying series and instance tags from the src when creating a new object in the same study, but for a different/new series.

Usage: const newStudyInstance = copyStudyTags(exampleInstance) Then fill out the newStudyInstance with series and instance level data appropriate for whatever you are creating.

Parameters

src: any

Returns

object

_meta

_meta: any = src._meta

_vrMap

_vrMap: any = src._vrMap

Defined in

adapters/src/adapters/helpers/copyStudyTags.ts:42