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