pydicom.fileset.FileInstance#
- class pydicom.fileset.FileInstance(node: RecordNode)[source]#
- Representation of a File in the File-set. - node#
- The leaf record that references this instance. 
 - __init__(node: RecordNode) None[source]#
- Create a new FileInstance. - Parameters:
- node (pydicom.fileset.RecordNode) – The record that references this instance. 
 
 - Methods - Attributes - Return the File ID of the referenced instance. - Return the SOP Class UID of the referenced instance. - Return the SOP Instance UID of the referenced instance. - Return the Transfer Syntax UID of the referenced instance. - Return the - FileSetthis instance belongs to.- Return - Trueif the instance has been staged for addition to the File-set.- Return - Trueif the instance will be moved to a new location within the File-set.- Return - Trueif the instance has been staged for removal from the File-set.- Return - Trueif the instance is privately defined.- Return - Trueif the instance is staged for moving, addition or removal- Return the path to the corresponding instance as - str.- property for_addition: bool#
- Return - Trueif the instance has been staged for addition to the File-set.
 - property for_moving: bool#
- Return - Trueif the instance will be moved to a new location within the File-set.
 
