export default { 'viewportOverlay.topLeft': [ { id: 'StudyDate', inheritsFrom: 'ohif.overlayItem', label: '', title: 'Study date', condition: ({ referenceInstance }) => referenceInstance?.StudyDate, contentF: ({ referenceInstance, formatters: { formatDate } }) => formatDate(referenceInstance.StudyDate), }, { id: 'SeriesDescription', inheritsFrom: 'ohif.overlayItem', label: '', title: 'Series description', condition: ({ referenceInstance }) => { return referenceInstance && referenceInstance.SeriesDescription; }, contentF: ({ referenceInstance }) => referenceInstance.SeriesDescription, }, ], 'viewportOverlay.topRight': [], 'viewportOverlay.bottomLeft': [ { id: 'WindowLevel', inheritsFrom: 'ohif.overlayItem.windowLevel', }, { id: 'ZoomLevel', inheritsFrom: 'ohif.overlayItem.zoomLevel', condition: props => { const activeToolName = props.toolGroupService.getActiveToolForViewport(props.viewportId); return activeToolName === 'Zoom'; }, }, ], 'viewportOverlay.bottomRight': [ { id: 'InstanceNumber', inheritsFrom: 'ohif.overlayItem.instanceNumber', }, ], };