Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
DICOM File Comments

When reading or updating DICOM file comments, you must specify the comment type using one of the following constants:

ValueMeaning
RasterCommentMetadataType.PatientNamePatient name
RasterCommentMetadataType.PatientIdPatient ID
RasterCommentMetadataType.PatientBirthdatePatient birth date
RasterCommentMetadataType.PatientSexPatient sex
RasterCommentMetadataType.StudyInstanceStudy instance ID
RasterCommentMetadataType.StudyDateStudy date
RasterCommentMetadataType.StudyTimeStudy time
RasterCommentMetadataType.StudyReferringPhysicianReferring physician
RasterCommentMetadataType.SeriesModalitySeries modality
RasterCommentMetadataType.SeriesIdSeries ID
RasterCommentMetadataType.SeriesNumberSeries number

For more information about file comments, refer to RasterCodecs.ReadComment and RasterCodecs.WriteComment.