Пример #1
0
        public void should_Generate_Manifest()
        {
            var manifests = _packager.Generate(TestInitializer.IqEmrDto).ToList();

            Assert.True(manifests.Any());
            Assert.True(manifests.Count == 1);
            var m = manifests.First();

            Assert.True(m.PatientPks.Any());
            Log.Debug($"{m}");
        }
Пример #2
0
        public void should_Generate_Manifest()
        {
            var manfiests = _packager.Generate().ToList();

            Assert.True(manfiests.Any());
            var m = manfiests.First();

            Assert.True(m.PatientPks.Any());
            Console.WriteLine($"{m}");
        }
Пример #3
0
 public Task <List <SendDhwManifestResponse> > SendManifestAsync(SendManifestPackageDTO sendTo)
 {
     return(SendManifestAsync(sendTo, DwhManifestMessageBag.Create(_packager.Generate().ToList())));
 }