pub struct StructuredReportDocument { /* private fields */ }Implementations§
Source§impl StructuredReportDocument
impl StructuredReportDocument
pub fn from_linear_measurements( source: DicomAnnotationContext, semantics: &MeasurementReportSemantics, measurements: &[LinearMeasurementSpec], ) -> Result<Self>
Sourcepub fn with_producer(self, producer: DerivedObjectProducer) -> Self
pub fn with_producer(self, producer: DerivedObjectProducer) -> Self
Replaces the neutral library identity with caller-owned producer metadata.
pub fn producer(&self) -> &DerivedObjectProducer
pub fn source(&self) -> &DicomAnnotationContext
pub fn read_sr( path: impl AsRef<Path>, source: &DicomAnnotationContext, segmentation: Option<&SegmentationDocument>, ) -> Result<Self>
pub fn write_sr(&self, path: impl AsRef<Path>) -> Result<()>
pub fn sop_instance_uid(&self) -> &str
pub fn series_instance_uid(&self) -> &str
pub fn groups(&self) -> &[StructuredReportMeasurementGroup]
pub fn report_title(&self) -> &DicomCode
pub fn procedures_reported(&self) -> &[DicomCode]
pub fn completion_flag(&self) -> &str
pub fn verification_flag(&self) -> &str
pub fn preliminary_flag(&self) -> &str
Trait Implementations§
Source§impl Clone for StructuredReportDocument
impl Clone for StructuredReportDocument
Source§impl Debug for StructuredReportDocument
impl Debug for StructuredReportDocument
Source§impl PartialEq for StructuredReportDocument
impl PartialEq for StructuredReportDocument
impl StructuralPartialEq for StructuredReportDocument
Auto Trait Implementations§
impl Freeze for StructuredReportDocument
impl RefUnwindSafe for StructuredReportDocument
impl Send for StructuredReportDocument
impl Sync for StructuredReportDocument
impl Unpin for StructuredReportDocument
impl UnsafeUnpin for StructuredReportDocument
impl UnwindSafe for StructuredReportDocument
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more