示例#1
0
 public void Request(string requestId, NetworkConnectionMetadata network, RequestMetadata md, Document[] requestDocuments, out IDictionary <string, string> requestProperties, out Document[] desiredDocuments)
 {
     this.requestTypeId = md.RequestTypeId;
     requestProperties  = null;
     desiredDocuments   = Array.Empty <Document>();
     status.Code        = RequestStatus.StatusCode.InProgress;
     status.Message     = "";
 }
 public void Request(string requestId, NetworkConnectionMetadata network, RequestMetadata md,
                     Document[] requestDocuments, out IDictionary <string, string> requestProperties, out Document[] desiredDocuments)
 {
     this.requestMetadata = md;
     this.requestId       = requestId;
     this.documents       = requestDocuments;
     requestProperties    = null;
     desiredDocuments     = requestDocuments;
     status.Code          = RequestStatus.StatusCode.InProgress;
     sasAutoExec          = Settings.GetAsString("AutoExecLocation", "");
 }
示例#3
0
 public void Request(string requestId, NetworkConnectionMetadata network, RequestMetadata md,
                     Document[] requestDocuments, out IDictionary <string, string> requestProperties, out Document[] desiredDocuments)
 {
     datasets              = new List <DataSet>();
     this.requestTypeId    = new Guid(md.RequestTypeId);
     IsMetadataRequest     = md.IsMetadataRequest;
     requestProperties     = null;
     desiredDocuments      = requestDocuments;
     this.desiredDocuments = requestDocuments;
     status.Code           = RequestStatus.StatusCode.InProgress;
     status.Message        = "";
 }
示例#4
0
 public void Request(string requestId, NetworkConnectionMetadata network, RequestMetadata md,
                     Document[] requestDocuments, out IDictionary <string, string> requestProperties, out Document[] desiredDocuments)
 {
     this.requestTypeId    = md.RequestTypeId;
     requestProperties     = null;
     desiredDocuments      = requestDocuments;
     this.desiredDocuments = requestDocuments;
     resultDataset         = new DataSet();
     resultDemoDataset     = new DataSet();
     status.Code           = RequestStatus.StatusCode.InProgress;
     status.Message        = "";
 }
示例#5
0
 public void Request(string requestId, NetworkConnectionMetadata network, RequestMetadata md, Document[] requestDocuments, out IDictionary <string, string> requestProperties, out Document[] desiredDocuments)
 {
     _requestMetadata   = md;
     this.requestTypeId = md.RequestTypeId;
     if (Settings.ContainsKey("MSRequestID"))
     {
         Settings["MSRequestID"] = md.MSRequestID;
     }
     else
     {
         Settings.Add("MSRequestID", md.MSRequestID);
     }
     requestProperties = null;
     desiredDocuments  = Array.Empty <Document>();
     status.Code       = RequestStatus.StatusCode.InProgress;
     status.Message    = "";
 }
示例#6
0
        public void Request(string requestId, NetworkConnectionMetadata network, RequestMetadata md,
                            Document[] requestDocuments, out IDictionary <string, string> requestProperties, out Document[] desiredDocuments)
        {
            try
            {
                viewableResultDataset = new DataSet();

                this.requestTypeId    = new Guid(md.RequestTypeId);
                requestProperties     = null;
                desiredDocuments      = requestDocuments;
                this.desiredDocuments = requestDocuments;
                status.Code           = RequestStatus.StatusCode.InProgress;
                status.Message        = "";
            }
            catch (Exception ex)
            {
                log.Debug(ex);
                throw new ModelProcessorError(ex.Message, ex);
            }
        }
 public void Request(string requestId, NetworkConnectionMetadata network, RequestMetadata md,
                     Document[] requestDocuments, out IDictionary <string, string> requestProperties, out Document[] desiredDocuments)
 {
     throw new NotImplementedException();
 }
示例#8
0
        void IPatientIdentifierProcessor.GenerateLists(Guid requestID, NetworkConnectionMetadata network, RequestMetadata md, IDictionary <Guid, string> outputPaths, string format)
        {
            using (QueryComposer.IModelAdapter adapter = GetModelAdapter(_request.Queries.First(), true))
            {
                if (Settings.ContainsKey("MSRequestID"))
                {
                    Settings["MSRequestID"] = md.MSRequestID;
                }
                else
                {
                    Settings.Add("MSRequestID", md.MSRequestID);
                }

                adapter.Initialize(Settings, requestID.ToString());
                adapter.GeneratePatientIdentifierLists(_request, outputPaths, format);
            }
        }