Esempio n. 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      = requestDocuments;
     this.desiredDocuments = requestDocuments;
     resultDataset         = new DataSet();
     status.Code           = RequestStatus.StatusCode.InProgress;
     status.Message        = "";
 }
Esempio n. 2
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        = "";
 }
Esempio n. 3
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);
            }
        }
Esempio n. 4
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    = "";
 }
Esempio n. 5
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();
 }