예제 #1
0
        /// <summary>
        /// Sends the specified patient.
        /// </summary>
        /// <param name="patient">The patient.</param>
        public void Send(Patient patient)
        {
            var message = FhirUtility.GenerateCandidateRegistry(patient, new Core.Model.Metadata
            {
                AssigningAuthority   = "1.3.6.1.4.1.33349.3.1.5.9.2.10000",
                ReceivingApplication = "OpenIZ",
                ReceivingFacility    = "OpenIZ",
                SendingApplication   = "Test",
                SendingFacility      = "Test"
            });

            FhirUtility.SendFhirMessages(message);
        }
예제 #2
0
        /// <summary>
        /// Sends the specified options.
        /// </summary>
        /// <param name="options">The options.</param>
        public void Send(Demographic options)
        {
            var patient = FhirUtility.GenerateCandidateRegistry(options);

            FhirUtility.SendFhirMessages(patient);
        }