Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.21
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.