/// <summary> /// Send an N-SET MPPS IN-PROGRESS message from the given mppsInProgressDcmFilename. /// Use the modalityWorklistItem to overwrite the appropriate attribute values. /// NOTE: This call should only be made after the SendModalityProcedureStepInProgress() (using default N-CREATE) /// has been made. /// </summary> /// <param name="mppsInProgressDcmFilename">DCM Filename - contains MPPS IN-PROGRESS dataset.</param> /// <param name="modalityWorklistItem">Modality Worklist Item used to update MPPS IN-PROGRESS dataset.</param> /// <returns>Boolean indicating success or failure.</returns> public bool SendNSetModalityProcedureStepInProgress(System.String mppsInProgressDcmFilename, DicomQueryItem modalityWorklistItem) { // Initialize the N-SET MPPS IN-PROGRESS InitializeModalityProcedureStepInProgress(DvtkData.Dimse.DimseCommand.NSETRQ); // Generate the N-SET MPPS IN-PROGRESS from the DCM file contents (default values) GenerateTriggers.MakeMppsInProgress(mppsInProgressDcmFilename, DefaultValueManager, _nCreateSetMppsInProgress, _mppsInstanceUid); return(TriggerModalityProcedureStepInProgress(modalityWorklistItem)); }
/// <summary> /// Send an N-CREATE MPPS IN-PROGRESS message by using the Default Value Manager. /// Use the modalityWorklistItem to overwrite the appropriate attribute values. /// </summary> /// <param name="modalityWorklistItem">Modality Worklist Item used to update MPPS IN-PROGRESS dataset.</param> /// <returns>Boolean indicating success or failure.</returns> public bool SendNCreateModalityProcedureStepInProgress(DicomQueryItem modalityWorklistItem) { // Initialize the N-CREATE MPPS IN-PROGRESS InitializeModalityProcedureStepInProgress(DvtkData.Dimse.DimseCommand.NCREATERQ); // Generate the N-CREATE MPPS IN-PROGRESS from the Default Value Manager GenerateTriggers.MakeMppsInProgress(DefaultValueManager, _nCreateSetMppsInProgress, _mppsInstanceUid); return(TriggerModalityProcedureStepInProgress(modalityWorklistItem)); }