24 lines
516 B
TypeScript
24 lines
516 B
TypeScript
import { Types } from '@ohif/core';
|
|
|
|
type MatchingRule = Types.HangingProtocol.MatchingRule;
|
|
|
|
export const seriesWithImages: MatchingRule[] = [
|
|
{
|
|
attribute: 'numImageFrames',
|
|
constraint: {
|
|
greaterThan: { value: 0 },
|
|
},
|
|
weight: 1,
|
|
required: true,
|
|
},
|
|
// This display set will select the specified items by preference
|
|
// It has no affect if nothing is specified in the URL.
|
|
{
|
|
attribute: 'isDisplaySetFromUrl',
|
|
weight: 20,
|
|
constraint: {
|
|
equals: true,
|
|
},
|
|
},
|
|
];
|