protected override void AdditionalMembers(DcmDataset dataset) { dataset.AddElement(DicomTags.Modality, DicomVR.CS); dataset.AddElement(DicomTags.PatientsBirthDate, DicomVR.DA); dataset.AddElement(DicomTags.PatientsSex, DicomVR.CS); //dataset.AddElement(DicomTags.SpecificCharacterSet, DicomVR.CS); dataset.AddElement(DicomTags.NumberOfStudyRelatedSeries, DicomVR.IS); dataset.AddElement(DicomTags.NumberOfStudyRelatedInstances, DicomVR.IS); }
protected override void AdditionalMembers(DcmDataset dataset) { dataset.AddElement(DicomTags.PatientsBirthDate); dataset.AddElement(DicomTags.PatientsSex); dataset.AddElement(DicomTags.PatientsAge); dataset.AddElement(DicomTags.PatientsSize); dataset.AddElement(DicomTags.PatientsWeight); dataset.AddElement(DicomTags.MedicalAlerts); dataset.AddElement(DicomTags.PregnancyStatus); dataset.AddElement(DicomTags.Allergies); //*Contrast allergies?? dataset.AddElement(DicomTags.PatientComments); dataset.AddElement(DicomTags.SpecialNeeds); //* dataset.AddElement(DicomTags.PatientState); //* dataset.AddElement(DicomTags.CurrentPatientLocation); //* dataset.AddElement(DicomTags.InstitutionName); dataset.AddElement(DicomTags.AdmissionID); dataset.AddElement(DicomTags.AccessionNumber); dataset.AddElement(DicomTags.ReferringPhysiciansName); dataset.AddElement(DicomTags.AdmittingDiagnosesDescription); dataset.AddElement(DicomTags.RequestingPhysician); dataset.AddElement(DicomTags.StudyInstanceUID); dataset.AddElement(DicomTags.RequestedProcedureDescription); dataset.AddElement(DicomTags.RequestedProcedureID); dataset.AddElement(DicomTags.ReasonForTheRequestedProcedure); dataset.AddElement(DicomTags.RequestedProcedurePriority); dataset.AddElement(DicomTags.StudyDate); //* dataset.AddElement(DicomTags.StudyTime); //* //DicomTags.RequestedProcedureCodeSequence //DicomTags.ScheduledProtocolCodeSequence DcmItemSequenceItem sps = new DcmItemSequenceItem(); sps.Dataset.AddElementWithValue(DicomTags.ScheduledStationAETitle, ScheduledStationAE); sps.Dataset.AddElement(DicomTags.ScheduledProcedureStepStartDate); sps.Dataset.GetDA(DicomTags.ScheduledProcedureStepStartDate).SetDateTimeRange(ScheduledProcedureStepStartDate); sps.Dataset.AddElement(DicomTags.ScheduledProcedureStepStartTime); sps.Dataset.GetTM(DicomTags.ScheduledProcedureStepStartTime).SetDateTimeRange(ScheduledProcedureStepStartTime); sps.Dataset.AddElementWithValue(DicomTags.Modality, Modality); sps.Dataset.AddElement(DicomTags.ScheduledPerformingPhysiciansName); sps.Dataset.AddElement(DicomTags.ScheduledProcedureStepDescription); sps.Dataset.AddElement(DicomTags.ScheduledProcedureStepLocation); sps.Dataset.AddElement(DicomTags.ScheduledProcedureStepID); DcmItemSequence sq = new DcmItemSequence(DicomTags.ScheduledProcedureStepSequence); sq.AddSequenceItem(sps); dataset.AddItem(sq); }