/* Used for getting jstl code into the javascript files */
var omsgs = new Array();
var gp = new Array();//array to hold only global properties
var gp = new Array();//array to hold only global properties
var userProperties = new Array();//Array to hold userProperties
omsgs.minSearchCharactersGP="3";
omsgs.datePattern="dd/mm/yyyy";
omsgs.name="Nombre";
omsgs.addNewPatient="Agregar Nuevo Paciente";
omsgs.addNewPersonMsg="Si no hay resultados, cree un nueva persona.";
omsgs.addNewPerson="Crear Nueva Persona";
omsgs.age="Edad";
omsgs.birthdate="Fecha de nacimiento";
omsgs.birthdateRequired="Por favor seleccione una fecha de nacimiento o edad válida ";
omsgs.cancel="Cancelar";
omsgs.change="Cambiar";
omsgs.familyName="Apellido";
omsgs.format="Formato";
omsgs.gender="Genero";
omsgs.genderRequired="Por Favor Seleccione un Genero";
omsgs.givenName="Nombre";
omsgs.identifier="Identificador";
omsgs.includeDisabled="Desactivación Incluida";
omsgs.includeRetired="Retiro Incluido";
omsgs.includeVoided="Anulación Incluida";
omsgs.includeVerbose="Detalle Incluido";
omsgs.minCharactersPhrase1="Usted debe tener por lo menos ";
omsgs.minCharactersPhrase2=" caracteres de búsqueda";
omsgs.middleName="Segundo Nombre";
omsgs.nameRequired="Por favor seleccione un nombre";
omsgs.noObsFound="Ninguna Observacion encontrada.";
omsgs.noPatientsFound="Ningún paciente encontrado.";
omsgs.or="o Edad";
omsgs.personCreate="Crear Persona";
omsgs.resultsFor="Resultados para";
omsgs.resultsNotDisplayed="No se muestran más resultados";
omsgs.searchResultsViewing="Visualización";
omsgs.searchResultsOf="de";
omsgs.searchOnName="Buscar por favor en el nombre del paciente.";
omsgs.select="Seleccionar";
omsgs.systemId="Id del Sistema ";
omsgs.userRoles="Roles";
omsgs.username="Nombre de Usuario";
omsgs.yearsOld="yo";
omsgs.tabLabelPrefix="paciente";
omsgs.conceptSource="Fuente";
omsgs.conceptReferenceTermCode="código";
omsgs.referencTermSearchPlaceholder="Introduzca el código o nombre";
omsgs.genderArray=new Array();
var rec=new Array();
rec["key"]="M";
rec["value"]="male";
rec["msg"]="Masculino";
omsgs.genderArray.push(rec);
var rec=new Array();
rec["key"]="F";
rec["value"]="female";
rec["msg"]="Femenino";
omsgs.genderArray.push(rec);
omsgs.patientListingAttrs=new Array();
omsgs.patientListingAttrs.push("Agencia");
omsgs.patientListingHeaders=new Array();
omsgs.patientListingHeaders.push('Agencia');
omsgs.personListingAttrs=new Array();
omsgs.personListingAttrs.push("Agencia");
omsgs.personListingHeaders=new Array();
omsgs.personListingHeaders.push('Agencia');
omsgs.userListingAttrs=new Array();
omsgs.userListingHeaders=new Array();
/* Global properties to be used in search widgets */
gp.maxSearchResults=200;
gp.searchRunInSerialMode=false;
gp.searchDelay=400;
gp.maximumResults=2000;
/* General Labels and text to be used on SEARCH WIDGET */
omsgs.encounterType="Tipo de Encuentro";
omsgs.encounterForm="Formulario";
omsgs.encounterProvider="Proveedor";
omsgs.encounterLocation="Localidad";
omsgs.encounterDate="Fecha de Encuentro";
omsgs.last="Último";
omsgs.first="Primero";
omsgs.minCharRequired="Ingrese al menos _REQUIRED_NUMBER_ caracteres";
omsgs.next="Próximo";
omsgs.noMatchesFound="Nose encontraron registros coincidentes";
omsgs.page="searchWidget.page";
omsgs.pages="searchWidget.pages";
omsgs.patientName="Nombre del Paciente";
omsgs.previous="Anterior";
omsgs.pagesWithPlaceHolder="_NUMBER_OF_PAGES_ páginas";
omsgs.of="de";
omsgs.onePage="1 página";
omsgs.sInfoLabel="Mostrando _START_ a _END_ de _TOTAL_ entradas";
omsgs.to="a";
omsgs.viewingResultsFor="Visualizando resultados para _SEARCH_TEXT_";
omsgs.loadingWithArgument="Cargando _NUMBER_OF_PAGES_ resultados";
omsgs.showVerbose="Mostrar detalles";
omsgs.viewingAll="Ver todo";
omsgs.showNumberofEntries="Mostrar _MENU_ entradas";
/* User Properties*/
userProperties.showRetired=false;
userProperties.showVerbose=false;
omsgs.providerName="Nombre del Proveedor";
omsgs.providerIdentifier="Identificador";