Ejemplo n.º 1
0
        public DcmHandler(AcceptorPolicy policy, DcmServiceRegistry services)
        {
            if (policy == null)
                throw new System.NullReferenceException();

            if (services == null)
                throw new System.NullReferenceException();

            this.policy = policy;
            this.services = services;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="assoc"></param>
        /// <param name="services"></param>
        public ActiveAssociation(Association assoc, DcmServiceRegistry services)
        {
            if (assoc.State != Association.ASSOCIATION_ESTABLISHED)
                throw new SystemException("Association not esrablished - " + assoc.State);

            m_threadPool = new LF_ThreadPool( this );

            this.assoc = assoc;
            this.services = services;
            this.assoc.ActiveAssociation = this;
            this.assoc.SetThreadPool( m_threadPool );
        }
Ejemplo n.º 3
0
 public virtual ActiveAssociation NewActiveAssociation(Association assoc, DcmServiceRegistry services)
 {
     return new ActiveAssociation(assoc, services);
 }
Ejemplo n.º 4
0
        public DcmSrv()
        {
            services = assocFact.NewDcmServiceRegistry();
            storeSCP = new StoreSCP();
            STORAGE_AS = new System.String[]{	UIDs.Verification,
                                                UIDs.BasicStudyContentNotificationRetired,
                                                UIDs.StorageCommitmentPushModel,
                                                UIDs.ProceduralEventLogging,
                                                UIDs.SubstanceAdministrationLogging,
                                                UIDs.DetachedPatientManagementRetired,
                                                UIDs.DetachedVisitManagementRetired,
                                                UIDs.DetachedStudyManagementRetired,
                                                UIDs.StudyComponentManagementRetired,
                                                UIDs.ModalityPerformedProcedureStep,
                                                UIDs.ModalityPerformedProcedureStepRetrieve,
                                                UIDs.ModalityPerformedProcedureStepNotification,
                                                UIDs.DetachedResultsManagementRetired,
                                                UIDs.DetachedInterpretationManagementRetired,
                                                UIDs.BasicFilmSession,
                                                UIDs.BasicFilmBoxSOP,
                                                UIDs.BasicGrayscaleImageBox,
                                                UIDs.BasicColorImageBox,
                                                UIDs.ReferencedImageBoxRetired,
                                                UIDs.PrintJob,
                                                UIDs.BasicAnnotationBox,
                                                UIDs.Printer,
                                                UIDs.PrinterConfigurationRetrieval,
                                                UIDs.VOILUTBox,
                                                UIDs.PresentationLUT,
                                                UIDs.ImageOverlayBoxRetired,
                                                UIDs.BasicPrintImageOverlayBoxRetired,
                                                UIDs.PrintQueueManagementRetired,
                                                UIDs.StoredPrintStorageRetired,
                                                UIDs.HardcopyGrayscaleImageStorageRetired,
                                                UIDs.HardcopyColorImageStorageRetired,
                                                UIDs.PullPrintRequestRetired,
                                                UIDs.MediaCreationManagement,
                                                UIDs.ComputedRadiographyImageStorage,
                                                UIDs.DigitalXRayImageStorageForPresentation,
                                                UIDs.DigitalXRayImageStorageForProcessing,
                                                UIDs.DigitalMammographyXRayImageStorageForPresentation,
                                                UIDs.DigitalMammographyXRayImageStorageForProcessing,
                                                UIDs.DigitalIntraoralXRayImageStorageForPresentation,
                                                UIDs.DigitalIntraoralXRayImageStorageForProcessing,
                                                UIDs.CTImageStorage,
                                                UIDs.EnhancedCTImageStorage,
                                                UIDs.UltrasoundMultiframeImageStorageRetired,
                                                UIDs.UltrasoundMultiframeImageStorage,
                                                UIDs.MRImageStorage,
                                                UIDs.EnhancedMRImageStorage,
                                                UIDs.MRSpectroscopyStorage,
                                                UIDs.NuclearMedicineImageStorageRetired,
                                                UIDs.UltrasoundImageStorageRetired,
                                                UIDs.UltrasoundImageStorage,
                                                UIDs.SecondaryCaptureImageStorage,
                                                UIDs.MultiframeSingleBitSecondaryCaptureImageStorage,
                                                UIDs.MultiframeGrayscaleByteSecondaryCaptureImageStorage,
                                                UIDs.MultiframeGrayscaleWordSecondaryCaptureImageStorage,
                                                UIDs.MultiframeTrueColorSecondaryCaptureImageStorage,
                                                UIDs.StandaloneOverlayStorageRetired,
                                                UIDs.StandaloneCurveStorageRetired,
                                                UIDs.WaveformStorageTrialRetired,
                                                UIDs.TwelveLeadECGWaveformStorage,
                                                UIDs.GeneralECGWaveformStorage,
                                                UIDs.AmbulatoryECGWaveformStorage,
                                                UIDs.HemodynamicWaveformStorage,
                                                UIDs.CardiacElectrophysiologyWaveformStorage,
                                                UIDs.BasicVoiceAudioWaveformStorage,
                                                UIDs.StandaloneModalityLUTStorageRetired,
                                                UIDs.StandaloneVOILUTStorageRetired,
                                                UIDs.GrayscaleSoftcopyPresentationStateStorage,
                                                UIDs.ColorSoftcopyPresentationStateStorage,
                                                UIDs.PseudoColorSoftcopyPresentationStateStorage,
                                                UIDs.BlendingSoftcopyPresentationStateStorage,
                                                UIDs.XRayAngiographicImageStorage,
                                                UIDs.EnhancedXAImageStorage,
                                                UIDs.XRayRadiofluoroscopicImageStorage,
                                                UIDs.EnhancedXRFImageStorage,
                                                UIDs.XRay3DAngiographicImageStorage,
                                                UIDs.XRay3DCraniofacialImageStorage,
                                                UIDs.XRayAngiographicBiPlaneImageStorageRetired,
                                                UIDs.NuclearMedicineImageStorage,
                                                UIDs.RawDataStorage,
                                                UIDs.SpatialRegistrationStorage,
                                                UIDs.SpatialFiducialsStorage,
                                                UIDs.DeformableSpatialRegistrationStorage,
                                                UIDs.SegmentationStorage,
                                                UIDs.RealWorldValueMappingStorage,
                                                UIDs.VLImageStorageRetired,
                                                UIDs.VLMultiframeImageStorageRetired,
                                                UIDs.VLEndoscopicImageStorage,
                                                UIDs.VideoEndoscopicImageStorage,
                                                UIDs.VLMicroscopicImageStorage,
                                                UIDs.VideoMicroscopicImageStorage,
                                                UIDs.VLSlideCoordinatesMicroscopicImageStorage,
                                                UIDs.VLPhotographicImageStorage,
                                                UIDs.VideoPhotographicImageStorage,
                                                UIDs.OphthalmicPhotography8BitImageStorage,
                                                UIDs.OphthalmicPhotography16BitImageStorage,
                                                UIDs.StereometricRelationshipStorage,
                                                UIDs.OphthalmicTomographyImageStorage,
                                                UIDs.TextSRStorageTrialRetired,
                                                UIDs.AudioSRStorageTrialRetired,
                                                UIDs.DetailSRStorageTrialRetired,
                                                UIDs.ComprehensiveSRStorageRetired,
                                                UIDs.ProcedureLogStorage,
                                                UIDs.MammographyCADSRStorage,
                                                UIDs.KeyObjectSelectionDocumentStorage,
                                                UIDs.ChestCADSRStorage,
                                                UIDs.XRayRadiationDoseSR,
                                                UIDs.EncapsulatedPDFStorage,
                                                UIDs.EncapsulatedCDAStorage,
                                                UIDs.PositronEmissionTomographyImageStorage,
                                                UIDs.StandalonePETCurveStorageRetired,
                                                UIDs.RTImageStorage,
                                                UIDs.RTDoseStorage,
                                                UIDs.RTStructureSetStorage,
                                                UIDs.RTBeamsTreatmentRecordStorage,
                                                UIDs.RTPlanStorage,
                                                UIDs.RTBrachyTreatmentRecordStorage,
                                                UIDs.RTTreatmentSummaryRecordStorage,
                                                UIDs.RTIonPlanStorage,
                                                UIDs.RTIonBeamsTreatmentRecordStorage,
                                                UIDs.PatientRootQueryRetrieveInformationModelFIND,
                                                UIDs.PatientRootQueryRetrieveInformationModelMOVE,
                                                UIDs.PatientRootQueryRetrieveInformationModelGET,
                                                UIDs.StudyRootQueryRetrieveInformationModelFIND,
                                                UIDs.StudyRootQueryRetrieveInformationModelMOVE,
                                                UIDs.StudyRootQueryRetrieveInformationModelGET,
                                                UIDs.PatientStudyOnlyQueryRetrieveInformationModelFINDRetired,
                                                UIDs.PatientStudyOnlyQueryRetrieveInformationModelMOVERetired,
                                                UIDs.PatientStudyOnlyQueryRetrieveInformationModelGETRetired,
                                                UIDs.ModalityWorklistInformationModelFIND,
                                                UIDs.GeneralPurposeWorklistInformationModelFIND,
                                                UIDs.GeneralPurposeScheduledProcedureStep,
                                                UIDs.GeneralPurposePerformedProcedureStep,
                                                UIDs.InstanceAvailabilityNotification,
                                                UIDs.RTBeamsDeliveryInstructionDraft74,
                                                UIDs.RTConventionalMachineVerificationDraft74,
                                                UIDs.RTIonMachineVerificationDraft74,
                                                UIDs.UnifiedProcedureStepPush,
                                                UIDs.UnifiedProcedureStepWatch,
                                                UIDs.UnifiedProcedureStepPull,
                                                UIDs.UnifiedProcedureStepEvent,
                                                UIDs.GeneralReleventPatientInformationQuery,
                                                UIDs.BreastImagingReleventPatientInformationQuery,
                                                UIDs.CardiacReleventPatientInformationQuery,
                                                UIDs.HangingProtocolStorage,
                                                UIDs.HangingProtocolInformationModelFIND,
                                                UIDs.HangingProtocolInformationModelMOVE,
                                                UIDs.ProductCharacteristicsQuery,
                                                UIDs.SubstanceApprovalQuery};

            InitServices();
        }
Ejemplo n.º 5
0
 public virtual DcmHandlerI newDcmHandler(AcceptorPolicy policy, DcmServiceRegistry services)
 {
     return new DcmHandler(policy, services);
 }