private static void CARD(VoicingParameters voicingParameters)
        {
            string theGreeting = string.Empty;
            string thePatientName = string.Empty;
            string theProvider = string.Empty;
            string theDayDateTime = string.Empty;
            string theLocation = string.Empty;
            string theOfficeMessage = string.Empty;
            string theReturnMessage = string.Empty;
            string theRespondMessage = string.Empty;
            string theCallOfficeMessage = string.Empty;
            string theEndMessage = string.Empty;
            string theCode = string.Empty;
            string toBeVoiced = string.Empty;

            PatientRecords patientRecords = new PatientRecords();
            List<WhatToVoice> whatToVoice = patientRecords.GetVoicing("CARD");

            for (int i = 0; i < whatToVoice.Count; i++)
            {
                if (whatToVoice[i].MessageType == "PATIENTNAME")
                {
                    toBeVoiced = toBeVoiced + " " + voicingParameters.FirstName + " ";
                }
                else if (whatToVoice[i].MessageType == "PROVIDER")
                {
                    toBeVoiced = toBeVoiced + ", I am calling to confirm an appointment with, " + GetProviderName(voicingParameters.Provider) + ", on,";
                }
                else if (whatToVoice[i].MessageType == "DAYDATETIME")
                {
                    toBeVoiced = toBeVoiced + " " + "on, " + voicingParameters.DayOfAppointment + ", " + voicingParameters.DateOfAppointment1 + " , " + voicingParameters.DateOfAppointment2 + ", at " + voicingParameters.TimeOfAppointment + " ";
                }
                else if (whatToVoice[i].MessageType == "LOCATION")
                {
                    toBeVoiced = toBeVoiced + " " + GetLocationString(voicingParameters.Location) + " ";
                }
                else
                {
                    toBeVoiced = toBeVoiced + whatToVoice[i].Message;
                }
            }
                
            /*
            
            string toBeVoiced = string.Empty;
            //string theLocation = string.Empty;
            string theCallUs = string.Empty;
            string newOfficelocation = string.Empty;

            theLocation = GetLocationString(voicingParameters.Location);

            theCallUs = ", if you have any questions regarding your appointment please call or office at 8,6,0,2,2,3,0,2,2,0";
            //theLocation = "  located at 185 East Street in Plianville";
            //if you are unable to keep your appointment please call the office at 8,6,0,3,4,8,4,2,4,2 to reschedule as soon as possible
            toBeVoiced = "Hello, this is an automated message from the grove hill medical center department of cardiology, for "
                + " " + voicingParameters.FirstName + " "
                + ", I am calling to confirm an appointment with, " + GetProviderName(voicingParameters.Provider) + ", on,"
                + voicingParameters.DayOfAppointment + ", " + voicingParameters.DateOfAppointment1 + " , " + voicingParameters.DateOfAppointment2 + ", at " + voicingParameters.TimeOfAppointment
                + " " + theLocation
                + newOfficelocation
                + " , Please arrive fifteen minutes before your scheduled appointment time in order to complete the registration process.  Please be sure to bring your insurance cards and any co-pay if applicable"
                + theCallUs
                + ", to repeat this message press 2, thank you and have a great day";
             */
            CreateVoiceFile(voicingParameters, toBeVoiced, voicingParameters.DateOfAppointment1, voicingParameters.TimeOfAppointment);
        }