=== modified file 'local/in/dhis-mobile/dhis-service-mobile/pom.xml'
--- local/in/dhis-mobile/dhis-service-mobile/pom.xml 2013-03-06 07:11:59 +0000
+++ local/in/dhis-mobile/dhis-service-mobile/pom.xml 2013-03-14 08:01:14 +0000
@@ -33,6 +33,10 @@
org.hisp.dhis
dhis-service-core
+
+ org.hisp.dhis
+ dhis-service-patient
+
=== modified file 'local/in/dhis-mobile/dhis-service-mobile/src/main/java/org/hisp/dhis/mobile/api/DefaultMobileImportService.java'
--- local/in/dhis-mobile/dhis-service-mobile/src/main/java/org/hisp/dhis/mobile/api/DefaultMobileImportService.java 2013-03-14 06:48:31 +0000
+++ local/in/dhis-mobile/dhis-service-mobile/src/main/java/org/hisp/dhis/mobile/api/DefaultMobileImportService.java 2013-03-14 08:01:14 +0000
@@ -109,7 +109,7 @@
private static final Log LOG = LogFactory.getLog( DefaultMobileImportService.class );
-
+ public static final String ORGUNITAUTOFORMAT = "ORGUNITAUTOFORMAT";
// -------------------------------------------------------------------------
// Dependencies
@@ -1414,7 +1414,7 @@
}
- PatientIdentifierType patientIdentifierType = patientIdentifierTypeService.getPatientIdentifierType( PatientIdentifierType.ORGUNITAUTOFORMAT );
+ PatientIdentifierType patientIdentifierType = patientIdentifierTypeService.getPatientIdentifierType( ORGUNITAUTOFORMAT );
int fourDigitRunningNo = 1;
String fourDigitRunningNumber = "0001";
@@ -1590,7 +1590,7 @@
String[] elementIds = mappingString.split("\\,");
- PatientIdentifierType patientIdentifierType = patientIdentifierTypeService.getPatientIdentifierType( PatientIdentifierType.ORGUNITAUTOFORMAT );
+ PatientIdentifierType patientIdentifierType = patientIdentifierTypeService.getPatientIdentifierType( ORGUNITAUTOFORMAT );
Patient patient = patientIdentifierService.getPatient(patientIdentifierType, UID.trim());
=== modified file 'local/in/dhis-mobile/dhis-service-mobile/src/main/resources/META-INF/dhis/beans.xml'
--- local/in/dhis-mobile/dhis-service-mobile/src/main/resources/META-INF/dhis/beans.xml 2013-03-14 06:48:31 +0000
+++ local/in/dhis-mobile/dhis-service-mobile/src/main/resources/META-INF/dhis/beans.xml 2013-03-14 08:01:14 +0000
@@ -27,8 +27,8 @@
-
-
+
jar
-
+
+ org.hisp.dhis
+ dhis-service-core
+
+
+ org.hisp.dhis
+ dhis-service-patient
+
+
+
commons-fileupload
commons-fileupload
=== modified file 'local/in/dhis-mobile/dhis-web-mobile/src/main/resources/META-INF/dhis/beans.xml'
--- local/in/dhis-mobile/dhis-web-mobile/src/main/resources/META-INF/dhis/beans.xml 2013-03-14 06:48:31 +0000
+++ local/in/dhis-mobile/dhis-web-mobile/src/main/resources/META-INF/dhis/beans.xml 2013-03-14 08:01:14 +0000
@@ -79,11 +79,11 @@
scope="prototype">
-
+