diff --git a/api/src/main/java/org/openmrs/module/santedb/mpiclient/aop/PatientSynchronizationAdvice.java b/api/src/main/java/org/openmrs/module/santedb/mpiclient/aop/PatientSynchronizationAdvice.java index 4605ab7..f41a78e 100644 --- a/api/src/main/java/org/openmrs/module/santedb/mpiclient/aop/PatientSynchronizationAdvice.java +++ b/api/src/main/java/org/openmrs/module/santedb/mpiclient/aop/PatientSynchronizationAdvice.java @@ -52,12 +52,12 @@ public void afterReturning(Object returnValue, Method method, Object[] args, Obj PatientUpdateWorker worker = new PatientUpdateWorker(patientExport, Context.getUserContext()); worker.start(); } - else if(method.getName().equals("getPatient")) - { - PatientSyncWorker worker = new PatientSyncWorker(((Patient)returnValue), Context.getUserContext()); - worker.start(); - } - else if(method.getName().equals("saveGlobalProperty")) + //else if(method.getName().equals("getPatient")) + //{ + //PatientSyncWorker worker = new PatientSyncWorker(((Patient)returnValue), Context.getUserContext()); + //worker.start(); + //} + if(method.getName().equals("saveGlobalProperty")) MpiClientConfiguration.getInstance().clearCache(); else if(method.getName().equals("mergePatients") && target instanceof PatientService) { // TODO: diff --git a/api/src/main/resources/messages_es.properties b/api/src/main/resources/messages_es.properties index 81fcd4f..edbae42 100644 --- a/api/src/main/resources/messages_es.properties +++ b/api/src/main/resources/messages_es.properties @@ -1 +1 @@ -${project.parent.artifactId}.title=Módulo Básico +${project.parent.artifactId}.title=Módulo Básico diff --git a/omod/src/main/resources/config.xml b/omod/src/main/resources/config.xml index 3d22388..83f6b45 100644 --- a/omod/src/main/resources/config.xml +++ b/omod/src/main/resources/config.xml @@ -29,11 +29,12 @@ org.openmrs.gutter.tools ${project.parent.groupId}.santedb.mpiclient.extension.html.MpiClientLink - + org.openmrs.api.EncounterService ${project.parent.groupId}.santedb.mpiclient.aop.EncounterSynchronizationAdvice diff --git a/pom.xml b/pom.xml index 1c0b396..1c68ee5 100644 --- a/pom.xml +++ b/pom.xml @@ -173,7 +173,7 @@ marc-te TECH EXCHANGE - http://te.marc-hi.ca/mvn + https://oscarmcmaster.sourceforge.net/m2/ santesute-main