private void UpdatePatientDemographics(ServerEntityKey patientEntityKey, PatientInfo patientInfo)
{
Platform.Log(LogLevel.Info, "Update patient record...");
var patientUpdateBroker = UpdateContext.GetBroker<IPatientEntityBroker>();
var columns = new PatientUpdateColumns();
columns.IssuerOfPatientId = patientInfo.IssuerOfPatientId;
columns.PatientId = patientInfo.PatientId;
columns.PatientsName = patientInfo.PatientsName;
if (atLeastOneFileUpdatedToUTF8)
columns.SpecificCharacterSet = UTF8;
patientUpdateBroker.Update(patientEntityKey, columns);
}