Ejemplo n.º 1
0
        public FhirResponse Transaction(Bundle bundle)
        {
            var interactions = localhost.GetEntries(bundle);

            transfer.Internalize(interactions);

            fhirStore.Add(interactions);
            fhirIndex.Process(interactions);
            transfer.Externalize(interactions);

            bundle = localhost.CreateBundle(Bundle.BundleType.TransactionResponse).Append(interactions);

            return(Respond.WithBundle(bundle));
        }