/// <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);
        }
        /// <summary>
        /// Sends the specified patients.
        /// </summary>
        /// <param name="patients">The patients.</param>
        public void Send(IEnumerable <Patient> patients)
        {
            var messages = patients.Select(patient => FhirUtility.GenerateCandidateRegistry(patient, new Core.Model.Metadata
            {
                AssigningAuthority   = "1.3.6.1.4.1.33349.3.1.5.102.4.20",
                ReceivingApplication = "OpenIZ",
                ReceivingFacility    = "OpenIZ",
                SendingApplication   = "Test",
                SendingFacility      = "Test"
            }))
                           .ToList();

            messages.Select(FhirUtility.SendFhirMessages);
        }
        /// <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);
        }