Skip to content

Commit

Permalink
WD| Exctract locations using Name of village #4
Browse files Browse the repository at this point in the history
  • Loading branch information
baksosapi committed Nov 14, 2017
1 parent ee97bcd commit 645aeb0
Show file tree
Hide file tree
Showing 70 changed files with 7,744 additions and 33 deletions.
12 changes: 6 additions & 6 deletions opensrp-bidan/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,12 @@ dependencies {
exclude group: 'com.github.bmelnychuk', module: 'atv'
}

compile('org.smartregister:opensrp-client-immunization:1.1.4-SNAPSHOT@aar') {
transitive = true
}
compile('org.smartregister:opensrp-client-growth-monitoring:1.0.3-SNAPSHOT@aar') {
transitive = true
}
// compile('org.smartregister:opensrp-client-immunization:1.1.4-SNAPSHOT@aar') {
// transitive = true
// }
// compile('org.smartregister:opensrp-client-growth-monitoring:1.0.3-SNAPSHOT@aar') {
// transitive = true
// }

compile('com.android.support:design:22.2.1') {
exclude group: 'com.android.support', module: 'recyclerview-v7'
Expand Down
20 changes: 10 additions & 10 deletions opensrp-bidan/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.smartregister.bidan2">
package="org.smartregister.bidan">

<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Expand Down Expand Up @@ -44,13 +44,13 @@
<!--android:theme="@style/AppTheme.NoActionBar"-->
<!--android:windowSoftInputMode="stateAlwaysHidden|adjustResize" />-->
<!--<activity-->
<!--android:name=".activity.PathJsonFormActivity"-->
<!--android:name=".activity.BidanJsonFormActivity"-->
<!--android:screenOrientation="portrait"-->
<!--android:theme="@style/AppTheme.NoActionBar"-->
<!--android:windowSoftInputMode="stateAlwaysHidden|adjustResize" />-->

<!--&lt;!&ndash;<receiver android:name=".receiver.Hia2ServiceBroadcastReceiver" />&ndash;&gt;-->
<!--<receiver android:name=".receiver.BidanSyncBroadcastReceiver" />-->
<receiver android:name=".receiver.BidanSyncBroadcastReceiver" />
<!--<receiver android:name=".receiver.VaccinatorAlarmReceiver" />-->
<!--<receiver android:name=".receiver.OnBootReceiver">-->
<!--<intent-filter>-->
Expand All @@ -59,9 +59,9 @@
<!--</receiver>-->

<!--<activity android:name=".activity.ProviderProfileActivity" />-->
<!--<activity-->
<!--android:name=".activity.SettingsActivity"-->
<!--android:screenOrientation="portrait" />-->
<activity
android:name=".activity.SettingsActivity"
android:screenOrientation="landscape" />
<!--<activity-->
<!--android:name=".activity.ChildImmunizationActivity"-->
<!--android:screenOrientation="portrait"-->
Expand Down Expand Up @@ -94,10 +94,10 @@
<!--<service android:name=".service.intent.ValidateIntentService" />-->
<!--<service android:name=".service.intent.PullUniqueIdsIntentService" />-->

<service android:name="org.smartregister.growthmonitoring.service.intent.WeightIntentService" />
<service android:name="org.smartregister.immunization.service.intent.VaccineIntentService" />
<service android:name="org.smartregister.growthmonitoring.service.intent.ZScoreRefreshIntentService" />
<service android:name="org.smartregister.immunization.service.intent.RecurringIntentService" />
<!--<service android:name="org.smartregister.growthmonitoring.service.intent.WeightIntentService" />-->
<!--<service android:name="org.smartregister.immunization.service.intent.VaccineIntentService" />-->
<!--<service android:name="org.smartregister.growthmonitoring.service.intent.ZScoreRefreshIntentService" />-->
<!--<service android:name="org.smartregister.immunization.service.intent.RecurringIntentService" />-->
<!--<service android:name="org.smartregister.bidan.service.intent.HIA2IntentService" />-->

<!--<provider-->
Expand Down

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions opensrp-bidan/src/main/assets/app.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
DRISHTI_BASE_URL=
PORT=-1
SHOULD_VERIFY_CERTIFICATE=false
SYNC_DOWNLOAD_BATCH_SIZE=100
2 changes: 2 additions & 0 deletions opensrp-bidan/src/main/assets/config.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
uname:demo1
pwd:Satu2345
34 changes: 34 additions & 0 deletions opensrp-bidan/src/main/assets/ec_client_alerts.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"name": "alerts",
"columns": [{
"column_name": "caseID",
"json_mapping": {
"field": "baseEntityId"
}
}, {
"column_name": "scheduleName",
"json_mapping": {
"field": "data.scheduleName"
}
}, {
"column_name": "visitCode",
"json_mapping": {
"field": "data.visitCode"
}
}, {
"column_name": "status",
"json_mapping": {
"field": "data.alertStatus"
}
}, {
"column_name": "startDate",
"json_mapping": {
"field": "data.startDate"
}
}, {
"column_name": "expiryDate",
"json_mapping": {
"field": "data.expiryDate"
}
}]
}
33 changes: 33 additions & 0 deletions opensrp-bidan/src/main/assets/ec_client_classification.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"case_classification_rules": [
{
"comment": "Child: This rule checks whether a given case belongs to Child register",
"rule": {
"type": "event",
"fields": [
{
"field": "eventType",
"field_value": "New Woman Registration",
"creates_case": [
"ec_mother"
]
},
{
"field": "eventType",
"field_value": "Birth Registration",
"creates_case": [
"ec_child"
]
},
{
"field": "eventType",
"field_value": "Update Birth Registration",
"creates_case": [
"ec_child"
]
}
]
}
}
]
}
Loading

0 comments on commit 645aeb0

Please sign in to comment.