Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion api/src/main/resources/messages_es.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
${project.parent.artifactId}.title=Módulo Básico
${project.parent.artifactId}.title=Módulo Básico
3 changes: 2 additions & 1 deletion omod/src/main/resources/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,12 @@
<point>org.openmrs.gutter.tools</point>
<class>${project.parent.groupId}.santedb.mpiclient.extension.html.MpiClientLink</class>
</extension>

<!-- AOP
<advice>
<point>org.openmrs.api.PatientService</point>
<class>${project.parent.groupId}.santedb.mpiclient.aop.PatientSynchronizationAdvice</class>
</advice>
/AOP -->
<advice>
<point>org.openmrs.api.EncounterService</point>
<class>${project.parent.groupId}.santedb.mpiclient.aop.EncounterSynchronizationAdvice</class>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
<repository>
<id>marc-te</id>
<name>TECH EXCHANGE</name>
<url>http://te.marc-hi.ca/mvn</url>
<url>https://oscarmcmaster.sourceforge.net/m2/</url>
</repository>
<repository>
<id>santesute-main</id>
Expand Down
Loading