public void Print() { Console.WriteLine("StudyData.Date: " + Date.ToStringNull()); Console.WriteLine("StudyData.InstanceUID: " + InstanceUID.ToStringNull()); Console.WriteLine("StudyData.Id: " + Id.ToStringNull()); Console.WriteLine("StudyData.accessionNumber: " + AccessionNumber.ToStringNull()); Console.WriteLine("StudyData.referringPhysiciansName: " + ReferringPhysiciansName.ToStringNull()); Console.WriteLine("StudyData.ModalitiesInStudy: " + ModalitiesInStudy); if (ModalitiesInStudy != null) { foreach (string m in ModalitiesInStudy) { Console.WriteLine("\t" + m); } } Console.WriteLine("StudyData.NumberOfRelatedSeries: " + NumberOfRelatedSeries); Console.WriteLine("StudyData.NumberOfRelatedInstances: " + NumberOfRelatedInstances); Console.WriteLine("StudyData.Description: " + Description.ToStringNull()); Console.WriteLine("StudyData.NameOfDoctorsReading: " + NameOfDoctorsReading); Console.WriteLine("StudyData.AdmittingDiagnosesDescription: " + AdmittingDiagnosesDescription.ToStringNull()); Console.WriteLine("StudyData.Age: " + Age.ToStringNull()); Console.WriteLine("StudyData.Size: " + Size.ToStringNull()); Console.WriteLine("StudyData.Weight: " + Weight.ToStringNull()); Console.WriteLine("StudyData.AdditionalPatientHistory: " + AdditionalPatientHistory.ToStringNull()); Console.WriteLine(); Patient.Print(); }
public void Print() { Console.WriteLine("SeriesData.Modality: " + Modality.ToStringNull()); Console.WriteLine("SeriesData.Number: " + Number.ToStringNull()); Console.WriteLine("SeriesData.InstanceUID: " + InstanceUID.ToStringNull()); Console.WriteLine("SeriesData.NumberOfRelatedInstances: " + NumberOfRelatedInstances.ToStringNull()); Console.WriteLine("SeriesData.Description: " + Description.ToStringNull()); Console.WriteLine("SeriesData.Date: " + Date.ToStringNull()); Console.WriteLine("SeriesData.StudyInstanceUID: " + StudyInstanceUID.ToStringNull()); Console.WriteLine(); Patient.Print(); }