Exemplo n.º 1
0
        public async Task <Stream> RetrieveDatasetRendered(RemoteQueryServiceConfig serviceConfig, QueryOptions query, Size?size)
        {
            var config = WadoServiceConfig.From(serviceConfig);
            var rs     = new WadoRSClient(config);
            var wquery = WadoDataSetAdapter.ReadQueryOptions(query);

            var result = await rs.RetrieveDatasetRendered(wquery, size);

            return(result);
        }
Exemplo n.º 2
0
      public async Task<InstanceData[]> FindInstances(RemoteQueryServiceConfig serviceConfig, QueryOptions query)
      {
         var config = WadoServiceConfig.From(serviceConfig);
         var qido = new QidoRSClient(config);
         var wquery = WadoDataSetAdapter.ReadQueryOptions(query);

         var results = await qido.InstanceLevel(wquery);
         var instanceResults = new List<InstanceData>();
         foreach (var result in results)
         {
            instanceResults.Add(WadoDataSetAdapter.ReadInstanceData(result));
         }
         return instanceResults.ToArray();
      }
Exemplo n.º 3
0
      public async Task<PatientData[]> FindPatients(RemoteQueryServiceConfig serviceConfig, QueryOptions query)
      {
         var config = WadoServiceConfig.From(serviceConfig);
         var qido = new QidoRSClient(config);
         var wquery = WadoDataSetAdapter.ReadQueryOptions(query);

         var results = await qido.PatientLevel(wquery);
         var patientResults = new List<PatientData>();
         foreach (var result in results)
         {
            patientResults.Add(WadoDataSetAdapter.ReadPatientData(result));
         }
         return patientResults.ToArray();
      }
Exemplo n.º 4
0
 internal WadoRSClient(WadoServiceConfig config)
 {
     ServiceConfig = config;
 }