Class FilmSession
Basic film session
Inherited Members
Namespace: Dicom.Printing
Assembly: cs.temp.dll.dll
Syntax
public class FilmSession : DicomDataset, IEnumerable<DicomItem>, IEnumerable
Constructors
FilmSession(DicomUID, DicomUID, DicomDataset, Boolean)
Construct new film session for specified SOP instance UID
Declaration
public FilmSession(DicomUID sopClassUID, DicomUID sopInstance, DicomDataset dataset, bool isColor = false)
Parameters
| Type | Name | Description |
|---|---|---|
| DicomUID | sopClassUID | Film session SOP Class UID |
| DicomUID | sopInstance | Film session SOP instance UID |
| DicomDataset | dataset | Film session dataset |
| Boolean | isColor | Color images? |
FilmSession(DicomUID, DicomUID, Boolean)
Construct new film session from scratch
Declaration
public FilmSession(DicomUID sopClassUID, DicomUID sopInstance = null, bool isColor = false)
Parameters
| Type | Name | Description |
|---|---|---|
| DicomUID | sopClassUID | Film session SOP Class UID |
| DicomUID | sopInstance | Film session SOP instance UID |
| Boolean | isColor | Color images? |
Properties
BasicFilmBoxes
Basic Film Boxes list
Declaration
public IList<FilmBox> BasicFilmBoxes { get; }
Property Value
| Type | Description |
|---|---|
| IList<FilmBox> |
FilmDestination
Film destination.
Declaration
public string FilmDestination { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
Remarks
Defined Terms:
- MAGAZINEthe exposed film is stored in film magazine
- PROCESSORthe exposed film is developed in film processor
- BIN_i The exposed film is deposited in a sorter bin where “I” represents the bin number. Film sorter BINs shall be numbered sequentially starting from one and no maxium is placed on the number of BINs. The encoding of the BIN number shall not contain leading zeros.
FilmSessionLabel
Declaration
public string FilmSessionLabel { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
IsColor
Declaration
public bool IsColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
MediumType
Type of medium on which the print job will be printed.
Declaration
public string MediumType { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
Remarks
Defined Terms:
- PAPER
- CLEAR FILM
- BLUE FILM
- MAMMO CLEAR FILM
- MAMMO BLUE FILM
MemoryAllocation
Human readable label that identifies the film session.
Declaration
public int MemoryAllocation { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
NumberOfCopies
Number of copies to be printed for each film of the film session.
Declaration
public int NumberOfCopies { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
PresentationLuts
Declaration
public IList<PresentationLut> PresentationLuts { get; }
Property Value
| Type | Description |
|---|---|
| IList<PresentationLut> |
PrintPriority
Specifies the priority of the print job.
Declaration
public string PrintPriority { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
Remarks
Enumerated values:
- HIGH
- MED
- LOW
SOPClassUID
Basic film session SOP class UID
Declaration
public DicomUID SOPClassUID { get; }
Property Value
| Type | Description |
|---|---|
| DicomUID |
SOPInstanceUID
Basic film session SOP instance uID
Declaration
public DicomUID SOPInstanceUID { get; }
Property Value
| Type | Description |
|---|---|
| DicomUID |
Methods
CloneFilmSession()
Create a cloned film session of this film session instance
Declaration
public FilmSession CloneFilmSession()
Returns
| Type | Description |
|---|---|
| FilmSession | Cloned film session instance |
CreateFilmBox(DicomUID, DicomDataset)
Create new basic film box and add it to the film session
Declaration
public FilmBox CreateFilmBox(DicomUID sopInstance, DicomDataset dataset)
Parameters
| Type | Name | Description |
|---|---|---|
| DicomUID | sopInstance | The new film box SOP instance UID |
| DicomDataset | dataset | The new film box dataset |
Returns
| Type | Description |
|---|---|
| FilmBox | The created film box instance |
CreatePresentationLut(DicomUID, DicomDataset)
Declaration
public PresentationLut CreatePresentationLut(DicomUID sopInstance, DicomDataset dataset)
Parameters
| Type | Name | Description |
|---|---|---|
| DicomUID | sopInstance | |
| DicomDataset | dataset |
Returns
| Type | Description |
|---|---|
| PresentationLut |
DeleteFilmBox(DicomUID)
Delete film box with specified SOP instance UID
Declaration
public bool DeleteFilmBox(DicomUID sopInstance)
Parameters
| Type | Name | Description |
|---|---|---|
| DicomUID | sopInstance | Target film box SOP instance UID |
Returns
| Type | Description |
|---|---|
| Boolean |
DeletePresentationLut(DicomUID)
Declaration
public void DeletePresentationLut(DicomUID sopInstance)
Parameters
| Type | Name | Description |
|---|---|---|
| DicomUID | sopInstance |
FindFilmBox(DicomUID)
Find film box instance with specified SOP instance UID
Declaration
public FilmBox FindFilmBox(DicomUID sopInstance)
Parameters
| Type | Name | Description |
|---|---|---|
| DicomUID | sopInstance | Target film box SOP instance UID |
Returns
| Type | Description |
|---|---|
| FilmBox | Target film box instance or null if no matching found |
FindImageBox(DicomUID)
Find image box instance with specified SOP instance UID
Declaration
public ImageBox FindImageBox(DicomUID sopInstnace)
Parameters
| Type | Name | Description |
|---|---|---|
| DicomUID | sopInstnace | Target image box SOP instance UID |
Returns
| Type | Description |
|---|---|
| ImageBox | Target image box instance or null if no matching found |
FindPresentationLut(DicomUID)
Declaration
public PresentationLut FindPresentationLut(DicomUID sopInstance)
Parameters
| Type | Name | Description |
|---|---|---|
| DicomUID | sopInstance |
Returns
| Type | Description |
|---|---|
| PresentationLut |
Load(String)
Declaration
public static FilmSession Load(string filmSessionFile)
Parameters
| Type | Name | Description |
|---|---|---|
| String | filmSessionFile |
Returns
| Type | Description |
|---|---|
| FilmSession |