Class CadSrSeriesContext

description

CadSrSeriesContext contains graphic annotation sequence of the loaded CAD SR file All graphic information are fetched from the root tag (0040,A730) Content Sequence those process happend in native side.

Hierarchy

Index

Constructors

constructor

Properties

attendingPhysicanName

attendingPhysicanName: string

contentCreatorName

contentCreatorName: string

contentDescription

contentDescription: string

contentLabel

contentLabel: string

Private ellipseAnnotations

ellipseAnnotations: Array<EllipseGraphicAnnotation> = []

Private graphicAnnotationContext

graphicAnnotationContext: GraphicAnnotationContext = null

instanceNumber

instanceNumber: number

institutionName

institutionName: string

Private lineAnnotations

lineAnnotations: Array<PolylineGraphicAnnotation> = []

manufacturer

manufacturer: string

modality

modality: string

Private name

name: string = "CadSrSeriesContext"

nonImageDataList

nonImageDataList: Array<NonImageData> = []

patientAge

patientAge: string

patientBirthDate

patientBirthDate: string

patientID

patientID: string

patientName

patientName: string

patientSex

patientSex: string

Private pointAnnotations

pointAnnotations: Array<PointGraphicAnnotation> = []

presentationCreationDate

presentationCreationDate: string

presentationCreationTime

presentationCreationTime: string

referencedSeriesSequence

referencedSeriesSequence: Array<ReferencedSeries> = []

referringPhysicianName

referringPhysicianName: string

seriesDate

seriesDate: string

seriesDescription

seriesDescription: string

seriesFolderPath

seriesFolderPath: string

seriesInstanceUID

seriesInstanceUID: string

seriesNumber

seriesNumber: number

seriesTime

seriesTime: string

Private showFindingThreshold

showFindingThreshold: number = 0

sopInstanceUid

sopInstanceUid: string

studyAccessionNumber

studyAccessionNumber: string

studyDate

studyDate: string

studyDescription

studyDescription: string

studyInstanceUID

studyInstanceUID: string

studyTime

studyTime: string

Private textAnnotations

textAnnotations: Array<TextGraphicAnnotation> = []

type

Methods

addNonImageData

addReferencedSeries

  • addReferencedSeries(referencedSeries: ReferencedSeries, isMultiFrame: boolean): void
  • Add referencedSeries to this object's referneced series sequence. If the series already exists, merges the referenced image sequence

    Parameters

    • referencedSeries: ReferencedSeries

      Fovia.ReferencedSeries object to be added to the sequence

    • isMultiFrame: boolean

      States whether the series is multi-frame

    Returns void

adjustPixelSpacing

  • adjustPixelSpacing(pixelSpacing: Point, patientOrientation: string, graphicAnnotation: GraphicAnnotation, spatialLocationPreserved: any): void
  • description

    Modify the graphic data values depends on the given pixel spacing

    Parameters

    • pixelSpacing: Point

      Specifies the pixel spacing to be applied

    • patientOrientation: string

      Specifies the Patient orientation to be applied

    • graphicAnnotation: GraphicAnnotation

      Specifies the graphic annotation that holds graphic object that to be updated

    • spatialLocationPreserved: any

      Specifies the spatial location preserved flag

    Returns void

constructCadMarkings

  • description

    Create all type of annotations from the list of GraphicAnnotation

    Parameters

    • graphicAnnotationSequence: Array<GraphicAnnotation>

      Specifies GraphicAnnotation list from that type specific annotations to be created

    Returns void

deleteNonImageData

  • deleteNonImageData(id: string): void

getDICOMNonImageSeries

getEllipseAnnotations

  • description

    Get the ellipse annotation for the given DICOMImageTag

    Parameters

    • imageTags: DICOMImageTags

      Specifies DICOMImageTag for that Ellipse Annotation to be fetch

    Returns Array<EllipseGraphicAnnotation>

    This is a synchronous method and returns Ellipse Graphic Annotation list on success, empty list will be returned in failure case

getFindingThreshold

  • getFindingThreshold(): number
  • description

    Get the threshold value

    Returns number

    This is a synchronous method and returns threshold value

getGraphicAnnotationContext

  • description

    Get GraphicAnnotationContext object it holds

    Returns GraphicAnnotationContext

    Returns GraphicAnnotationContext on success, null will be returned in failure case

getGraphicDataSequence

  • description

    Get the GraphicAnnotation list for the given image

    Parameters

    • imageTag: DICOMImageTags

      Specifies the DICOMImageTag for that GraphicAnnotation list to be fetch

    • Default value cadFindingsInfo: CADFindingsInfo = null

      Specifies the reference to hold findings info if exists

    Returns Array<GraphicAnnotation>

    Returns List of GraphicAnnotation in success case, empty list will be returned in failure case

getGraphicLayerSequence

  • description

    Get the GraphicLayer list for the given image

    Parameters

    • imageTag: DICOMImageTags

      Specifies the DICOMImageTag for that GraphicLayer list to be fetch

    Returns Array<GraphicLayer>

    This is a synchronous method and returns List of GraphicLayer in success case, empty list will be returned in failure case

getLineAnnotations

  • description

    Get the line annotation for the given DICOMImageTag

    Parameters

    • imageTags: DICOMImageTags

      Specifies DICOMImageTag for that line Graphic Annotation to be fetch

    Returns Array<PolylineGraphicAnnotation>

    This is a synchronous method and returns line Graphic Annotation list on success, empty list will be returned in failure case

getNonImageData

  • Get non image data list for given non-image type, referenced image instance

    Parameters

    • theSopInstanceUID: string

      Referenced SOP Instance UID

    • supportedNonImageModelType: SupportedNonImageModelType

      enum of Fovia.SupportedNonImageModelType

    • theFramenumber: number

      Referenced frame number

    Returns Array<NonImageData>

    Array of NonImageData

getNonImageDataList

  • getNonImageDataList(referencedSeriesInstanceUid: string): Array<NonImageData>

getPatientData

getPointAnnotations

  • description

    Get the point annotation for the given DICOMImageTag

    Parameters

    • imageTags: DICOMImageTags

      Specifies DICOMImageTag for that PointGraphicAnnotation to be fetch

    Returns Array<PointGraphicAnnotation>

    This is a synchronous method and returns PointGraphicAnnotation list on success, empty list will be returned in failure case

getReferencedImageSequence

Protected getReferencedSeries

Private getShowFindingThreshold

  • description

    Get the threshold value to render findings from the given GraphicAnnotation

    Parameters

    • graphicAnnotation: GraphicAnnotation

      Specifies the annotation from which threshold value to be fetch

    Returns number

    This is a synchronous method and returns threshold on success, zero will be returned in failure case

getStudyData

getTextAnnotations

  • description

    Get the text annotation for the given DICOMImageTag

    Parameters

    • imageTags: DICOMImageTags

      Specifies DICOMImageTag for that text Annotation to be fetch

    Returns Array<TextGraphicAnnotation>

    This is a synchronous method and returns text Graphic Annotation list on success, empty list will be returned in failure case

isReferencedSeriesExists

  • isReferencedSeriesExists(referencedSeriesInstanceUid: string): boolean
  • description

    Check whether the given sop instance uid referenced by this CadSrSeriesContext

    Parameters

    • referencedSeriesInstanceUid: string

      Specifies the sop instance uid to be check

    Returns boolean

    This is a synchronous method and returns True on success False will be returned on failure case

merge

  • Update patient, study and series details from given series data context to this

    Parameters

    • abstractSeriesDataContext: AbstractSeriesDataContext

      Fovia.AbstractSeriesDataContext object having patient, study, series details

    Returns void

mergePresentation

  • description

    merge the presentation information with this cad sr instance

    Parameters

    Returns void

mergePresentationData

mergePresentationInfo

  • description

    Update the presentation info from the given NonImageData

    Parameters

    Returns void

setFindingThreshold

  • setFindingThreshold(showFindingThreshold: any): void
  • description

    Set the threshold value to render findings

    Parameters

    • showFindingThreshold: any

      Specifies the threshold value

    Returns void

setGraphicAnnotationContext

  • description

    Set the GraphicAnnotationContext object

    Parameters

    Returns void