File

src/app/core/models/anatomical-structure-tag.ts

Description

A tag

Index

Properties

Properties

id
id: TagId
Type : TagId

Unique identifier

label
label: string
Type : string

Display label

type
type: "assigned" | "added" | "removed"
Type : "assigned" | "added" | "removed"

How the tag was added

export type TagId = string | number;

/**
 * A tag
 */
export interface Tag {
  /** Unique identifier */
  id: TagId;
  /** Display label */
  label: string;
  /** How the tag was added */
  type: 'assigned' | 'added' | 'removed';
}

/**
 * Search result
 */
export interface TagSearchResult {
  /** Total number of possible results */
  totalCount: number;
  /** Partial results up to a limit */
  results: Tag[];
}

results matching ""

    No results matching ""