snake_cased dicom tags

This commit is contained in:
Masroor Ehsan 2025-01-27 17:52:22 +06:00
parent b2726911e7
commit 9d13f0570c

View File

@ -4,62 +4,62 @@
enum RawDicomTags: string enum RawDicomTags: string
{ {
case PatientName = '0010,0010'; // Patient's Name case patient_name = '0010,0010'; // Patient's Name
case PatientID = '0010,0020'; // Patient ID case patient_id = '0010,0020'; // Patient ID
case PatientBirthDate = '0010,0030'; // Patient's Birth Date case patient_birth_date = '0010,0030'; // Patient's Birth Date
case PatientSex = '0010,0040'; // Patient's Sex case patient_sex = '0010,0040'; // Patient's Sex
case StudyInstanceUID = '0020,000D'; // Study Instance UID case study_instance_uid = '0020,000D'; // Study Instance UID
case SeriesInstanceUID = '0020,000E'; // Series Instance UID case series_instance_uid = '0020,000E'; // Series Instance UID
case StudyID = '0020,0010'; // Study ID case study_id = '0020,0010'; // Study ID
case SeriesNumber = '0020,0011'; // Series Number case series_number = '0020,0011'; // Series Number
case InstanceNumber = '0020,0013'; // Instance Number case instance_number = '0020,0013'; // Instance Number
case SOPClassUID = '0008,0016'; // SOP Class UID case sop_class_uid = '0008,0016'; // SOP Class UID
case SOPInstanceUID = '0008,0018'; // SOP Instance UID case sop_instance_uid = '0008,0018'; // SOP Instance UID
case StudyDate = '0008,0020'; // Study Date case study_date = '0008,0020'; // Study Date
case StudyTime = '0008,0030'; // Study Time case study_time = '0008,0030'; // Study Time
case AccessionNumber = '0008,0050'; // Accession Number case accession_number = '0008,0050'; // Accession Number
case Modality = '0008,0060'; // Modality case modality = '0008,0060'; // Modality
case Manufacturer = '0008,0070'; // Manufacturer case manufacturer = '0008,0070'; // Manufacturer
case InstitutionName = '0008,0080'; // Institution Name case institution_name = '0008,0080'; // Institution Name
case ReferringPhysicianName = '0008,0090'; // Referring Physician's Name case referring_physician_name = '0008,0090'; // Referring Physician's Name
case StationName = '0008,1010'; // Station Name case station_name = '0008,1010'; // Station Name
case SeriesDescription = '0008,103E'; // Series Description case series_description = '0008,103E'; // Series Description
case ManufacturerModelName = '0008,1090'; // Manufacturer's Model Name case manufacturer_model_name = '0008,1090'; // Manufacturer's Model Name
case PatientAge = '0010,1010'; // Patient's Age case patient_age = '0010,1010'; // Patient's Age
case PatientWeight = '0010,1030'; // Patient's Weight case patient_weight = '0010,1030'; // Patient's Weight
case BodyPartExamined = '0018,0015'; // Body Part Examined case body_part_examined = '0018,0015'; // Body Part Examined
case ProtocolName = '0018,1030'; // Protocol Name case protocol_name = '0018,1030'; // Protocol Name
case SoftwareVersions = '0018,1020'; // Software Versions case software_versions = '0018,1020'; // Software Versions
case AcquisitionDate = '0008,0022'; // Acquisition Date case acquisition_date = '0008,0022'; // Acquisition Date
case AcquisitionTime = '0008,0032'; // Acquisition Time case acquisition_time = '0008,0032'; // Acquisition Time
case ContentDate = '0008,0023'; // Content Date case content_date = '0008,0023'; // Content Date
case ContentTime = '0008,0033'; // Content Time case content_time = '0008,0033'; // Content Time
case AcquisitionDeviceProcessingDescription = '0018,1400'; // Acquisition Device Processing Description case acquisition_device_processing_description = '0018,1400'; // Acquisition Device Processing Description
case InstitutionAddress = '0008,0081'; // Institution Address case institution_address = '0008,0081'; // Institution Address
case StudyDescription = '0008,1030'; // Study Description case study_description = '0008,1030'; // Study Description
case OperatorsName = '0008,1070'; // Operator's Name case operators_name = '0008,1070'; // Operator's Name
case Private10 = '0029,0010'; // Private Tag 10 case private_10 = '0029,0010'; // Private Tag 10
case IW_Private = '0009,0010'; // IW Private Tag case iw_private = '0009,0010'; // IW Private Tag
case ImageType = '0008,0008'; // Image Type case image_type = '0008,0008'; // Image Type
case PatientOrientation = '0020,0020'; // Patient Orientation case patient_orientation = '0020,0020'; // Patient Orientation
case ImagePositionPatient = '0020,0032'; // Image Position (Patient) case image_position_patient = '0020,0032'; // Image Position (Patient)
case ImageOrientationPatient = '0020,0037'; // Image Orientation (Patient) case image_orientation_patient = '0020,0037'; // Image Orientation (Patient)
case FrameOfReferenceUID = '0020,0052'; // Frame of Reference UID case frame_of_reference_uid = '0020,0052'; // Frame of Reference UID
case PositionReferenceIndicator = '0020,1040'; // Position Reference Indicator case position_reference_indicator = '0020,1040'; // Position Reference Indicator
case SliceLocation = '0020,1041'; // Slice Location case slice_location = '0020,1041'; // Slice Location
case SamplesPerPixel = '0028,0002'; // Samples per Pixel case samples_per_pixel = '0028,0002'; // Samples per Pixel
case PhotometricInterpretation = '0028,0004'; // Photometric Interpretation case photometric_interpretation = '0028,0004'; // Photometric Interpretation
case Rows = '0028,0010'; // Rows case rows = '0028,0010'; // Rows
case Columns = '0028,0011'; // Columns case columns = '0028,0011'; // Columns
case PixelSpacing = '0028,0030'; // Pixel Spacing case pixel_spacing = '0028,0030'; // Pixel Spacing
case BitsAllocated = '0028,0100'; // Bits Allocated case bits_allocated = '0028,0100'; // Bits Allocated
case BitsStored = '0028,0101'; // Bits Stored case bits_stored = '0028,0101'; // Bits Stored
case HighBit = '0028,0102'; // High Bit case high_bit = '0028,0102'; // High Bit
case PixelRepresentation = '0028,0103'; // Pixel Representation case pixel_representation = '0028,0103'; // Pixel Representation
case WindowCenter = '0028,1050'; // Window Center case window_center = '0028,1050'; // Window Center
case WindowWidth = '0028,1051'; // Window Width case window_width = '0028,1051'; // Window Width
case RescaleIntercept = '0028,1052'; // Rescale Intercept case rescale_intercept = '0028,1052'; // Rescale Intercept
case RescaleSlope = '0028,1053'; // Rescale Slope case rescale_slope = '0028,1053'; // Rescale Slope
case InoWave_Private = '0011,1060'; case ino_wave_private = '0011,1060';
case RadFusion_SenderId = '1971,1020'; case rad_fusion_sender_id = '1971,1020';
} }