diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a4a400a77a..ea30c95aba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,9 +24,11 @@ jobs: run: echo "y" | sudo ${ANDROID_HOME}/tools/bin/sdkmanager --install "ndk;21.0.6113669" --sdk_root=${ANDROID_SDK_ROOT} - name: Grant execute permission for gradlew run: chmod +x gradlew - - name: Run unit tests with Gradle - run: ./gradlew :opensrp-chw:clean :opensrp-chw:jacocoTestReport --stacktrace - - name: Upload coverage to Coveralls with Gradle - run: ./gradlew coveralls --stacktrace + - name: Decode google-services.json + env: + FIREBASE_CONFIG: ${{ secrets.FIREBASE_CONFIG }} + run: echo $FIREBASE_CONFIG > opensrp-chw/google-services.json + - name: Run unit tests with Gradle and upload to coveralls + run: ./gradlew :opensrp-chw:clean :opensrp-chw:jacocoTestReport coveralls --stacktrace env: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_TOKEN }} diff --git a/.gitignore b/.gitignore index c16ed227ef..6c8eab2274 100644 --- a/.gitignore +++ b/.gitignore @@ -15,9 +15,17 @@ local.properties classes/ tmp/ project.properties +github.properties /github.properties .DS_Store .settings build/ jacoco.exec -opensrp-chw/ba/ \ No newline at end of file +opensrp-chw/ba/ +opensrp-chw/chad/ +opensrp-chw/drc/ +opensrp-chw/guinea/ +opensrp-chw/togo/ +opensrp-chw/liberia/ +opensrp-chw/lmh/ +*google-services.json \ No newline at end of file diff --git a/build.gradle b/build.gradle index fcb10e3502..f38fd9b309 100644 --- a/build.gradle +++ b/build.gradle @@ -12,7 +12,6 @@ buildscript { jcenter() mavenLocal() maven { url 'https://maven.fabric.io/public' } - maven { url "http://dl.bintray.com/ona/kujaku" } maven { url "https://plugins.gradle.org/m2/" } } dependencies { @@ -54,6 +53,9 @@ allprojects { maven { url "https://cloudant.github.io/cloudant-sync-eap/repository" } maven { url 'https://maven.fabric.io/public' } maven { url "https://s3.amazonaws.com/repo.commonsware.com" } + maven { url "https://dl.bintray.com/ona/rdt-capture" } + maven { url 'https://dl.bintray.com/ibm-watson-health/ibm-fhir-server-releases' } + maven { url "https://dl.bintray.com/ona/kujaku" } } } diff --git a/opensrp-chw/build.gradle b/opensrp-chw/build.gradle index 71e12e462c..3f1c8454a0 100644 --- a/opensrp-chw/build.gradle +++ b/opensrp-chw/build.gradle @@ -6,8 +6,9 @@ buildscript { } dependencies { classpath 'org.apache.commons:commons-lang3:3.10' - classpath 'io.fabric.tools:gradle:1.31.2' - classpath 'com.android.tools.build:gradle:4.0.1' + classpath 'com.android.tools.build:gradle:4.0.2' + classpath 'com.google.gms:google-services:4.3.4' + classpath 'com.google.firebase:firebase-crashlytics-gradle:2.4.1' } } @@ -15,6 +16,24 @@ allprojects { repositories { maven { url 'https://maven.google.com' } maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' } + maven { + def githubProperties = new Properties() + if (rootProject.file("github.properties").exists()) { + githubProperties.load(new FileInputStream(rootProject.file("github.properties"))) + } + + name = "GitHubPackages" + /* Configure path to the library hosted on GitHub Package Registry + * Replace UserID with package owner userID and REPOSITORY with the repository name + * e.g. ""https://maven.pkg.github.com/opensrp/opensrp-client-reporting"" + */ + url = uri("https://maven.pkg.github.com/onaio/kujaku") + credentials { + username = githubProperties['gpr.usr'] ?: System.getenv("GPR_USER") + password = githubProperties['gpr.key'] ?: System.getenv("GPR_API_KEY") + } + + } maven { url 'https://maven.fabric.io/public' } mavenLocal() } @@ -23,7 +42,8 @@ allprojects { apply plugin: 'com.android.application' apply plugin: 'jacoco' apply plugin: 'com.github.kt3k.coveralls' -apply plugin: 'io.fabric' +apply plugin: 'com.google.gms.google-services' +apply plugin: 'com.google.firebase.crashlytics' apply from: "jacoco.gradle" apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' @@ -60,6 +80,8 @@ android { buildConfigField "int", "MAX_SYNC_RETRIES", '3' buildConfigField "long", "BUILD_TIMESTAMP", System.currentTimeMillis() + "L" buildConfigField "boolean", "IS_SYNC_SETTINGS", "false" + buildConfigField "String", "THINKMD_BASE_URL", '"https://app.africa.thinkmd.tech"' + buildConfigField "String", "THINKMD_END_POINT", '"/#/start"' testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" javaCompileOptions { annotationProcessorOptions { @@ -68,8 +90,29 @@ android { } if (project.rootProject.file("local.properties").exists()) { + Properties properties = new Properties() properties.load(project.rootProject.file("local.properties").newDataInputStream()) + + if (properties != null && properties.containsKey("oauth.client.id")) { + + buildConfigField "String", "OAUTH_CLIENT_ID", properties["oauth.client.id"] + + } else { + project.logger.error("oauth.client.id variable is not set in your local.properties") + buildConfigField "String", "OAUTH_CLIENT_ID", "\"sample_client_id\"" + } + + + if (properties != null && properties.containsKey("oauth.client.secret")) { + + buildConfigField "String", "OAUTH_CLIENT_SECRET", properties["oauth.client.secret"] + + } else { + project.logger.error("oauth.client.secret variable is not set in your local.properties") + buildConfigField "String", "OAUTH_CLIENT_SECRET", "\"sample_client_secret\"" + } + if (properties != null && properties.containsKey("mapbox.sdk.token")) { buildConfigField "String", "MAPBOX_SDK_ACCESS_TOKEN", properties["mapbox.sdk.token"] @@ -80,6 +123,8 @@ android { } else { println("local.properties does not exist") + buildConfigField "String", "OAUTH_CLIENT_ID", "\"sample_client_id\"" + buildConfigField "String", "OAUTH_CLIENT_SECRET", "\"sample_client_secret\"" buildConfigField "String", "MAPBOX_SDK_ACCESS_TOKEN", "\"sample_key\"" } } @@ -174,8 +219,8 @@ android { ba { dimension = 'baseDimension' applicationIdSuffix ".ba" - versionCode 9 - versionName "1.0.9" + versionCode 10 + versionName "1.1.0" buildConfigField "String", 'opensrp_url', '"https://boresha-afya.smartregister.org/opensrp/"' buildConfigField "String", 'guidebooks_url', '"https://opensrp.s3.amazonaws.com/media/ba/"' buildConfigField "String", 'opensrp_url_debug', '"https://boresha-afya-stage.smartregister.org/opensrp/"' @@ -188,37 +233,39 @@ android { // Kujaku variables buildConfigField "long", "MAPBOX_DOWNLOAD_TILE_LIMIT", "6001" - buildConfigField "int", "DATABASE_VERSION", '23' + buildConfigField "int", "DATABASE_VERSION", '25' } chad { dimension = 'baseDimension' applicationIdSuffix ".chad" versionCode 1 - versionName "0.0.1" - buildConfigField "String", 'opensrp_url', '"https://unicefwcaro.smartregister.org/opensrp/"' + versionName "1.0.1" + buildConfigField "String", 'opensrp_url', '"https://wcaro-td.smartregister.org/opensrp/"' buildConfigField "String", 'guidebooks_url', '"https://opensrp.s3.amazonaws.com/media/chad/"' - buildConfigField "String", 'opensrp_url_debug', '"https://unicefwcaro-stage.smartregister.org/opensrp/"' - buildConfigField "String[]", "LOCATION_HIERACHY", '{"Clinic" , "CHSS" , "CHA"}' - buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS", '{"Clinic" , "CHSS" , "CHA"}' + buildConfigField "String", 'opensrp_url_debug', '"https://wcaro-stage.smartregister.org/opensrp/"' + buildConfigField "String[]", "LOCATION_HIERACHY", '{"Country" , "Province" , "Health District","Health Facility","Village","Clinic" , "CHSS" , "CHA"}' + buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS", '{"Health District","Health Facility","Village"}' buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS_DEBUG", '{"Clinic" , "CHSS" , "CHA"}' - buildConfigField "String", 'DEFAULT_LOCATION', '"CHA"' + buildConfigField "String", 'DEFAULT_LOCATION', '"Village"' buildConfigField "String", 'DEFAULT_LOCATION_DEBUG', '"CHA"' - buildConfigField "int", "DATABASE_VERSION", '10' + buildConfigField "int", "DATABASE_VERSION", '14' } drc { + resConfigs "en", "fr" dimension = 'baseDimension' applicationIdSuffix ".drc" - versionCode 1 - versionName "0.0.1" - buildConfigField "String", 'opensrp_url', '"https://unicefwcaro.smartregister.org/opensrp/"' + versionCode 6 + versionName "1.0.11" + buildConfigField "String", 'opensrp_url', '"https://wcaro-cd.smartregister.org/opensrp/"' buildConfigField "String", 'guidebooks_url', '"https://opensrp.s3.amazonaws.com/media/drc/"' - buildConfigField "String", 'opensrp_url_debug', '"https://unicefwcaro-stage.smartregister.org/opensrp/"' - buildConfigField "String[]", "LOCATION_HIERACHY", '{"Clinic" , "CHSS" , "CHA"}' - buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS", '{"Clinic" , "CHSS" , "CHA"}' - buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS_DEBUG", '{"Clinic" , "CHSS" , "CHA"}' - buildConfigField "String", 'DEFAULT_LOCATION_DEBUG', '"CHA"' - buildConfigField "String", 'DEFAULT_LOCATION', '"CHA"' - buildConfigField "int", "DATABASE_VERSION", '9' + buildConfigField "String", 'opensrp_url_preview', '"https://wcaro-cd-preview.smartregister.org/opensrp/"' + buildConfigField "String", 'opensrp_url_debug', '"https://wcaro-stage.smartregister.org/opensrp/"' + buildConfigField "String[]", "LOCATION_HIERACHY", '{"Pays" , "Province(DPS)" , "Zone de Sante","Aire de Sante", "CAC" ,"VILLAGE/COMMUNAUTE"}' + buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS", '{"Pays" , "Province(DPS)" , "Zone de Sante","Aire de Sante" , "CAC" ,"VILLAGE/COMMUNAUTE"}' + buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS_DEBUG", '{"Pays" , "Province(DPS)" , "Zone de Sante","Aire de Sante" , "CAC" ,"VILLAGE/COMMUNAUTE"}' + buildConfigField "String", 'DEFAULT_LOCATION_DEBUG', '"VILLAGE/COMMUNAUTE"' + buildConfigField "String", 'DEFAULT_LOCATION', '"VILLAGE/COMMUNAUTE"' + buildConfigField "int", "DATABASE_VERSION", '11' } guinea { dimension = 'baseDimension' @@ -230,7 +277,7 @@ android { buildConfigField "String", 'opensrp_url', '"https://wcaro-guinea.smartregister.org/opensrp/"' buildConfigField "String", 'guidebooks_url', '"https://opensrp.s3.amazonaws.com/media/guinea/"' buildConfigField "String", 'opensrp_url_preview', '"https://wcaro-guinea-preview.smartregister.org/opensrp/"' - buildConfigField "String", 'opensrp_url_debug', '"https://unicefwcaro-stage.smartregister.org/opensrp/"' + buildConfigField "String", 'opensrp_url_debug', '"https://wcaro-stage.smartregister.org/opensrp/"' buildConfigField "String[]", "LOCATION_HIERACHY", '{"Country" , "Region" , "Prefecture" , "Commune" , "Health Facility" , "Village"}' buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS_PREVIEW", '{"Health Facility" , "Village"}' buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS_DEBUG", '{"Country", "Clinic" , "CHSS" , "CHA", "Supervisor", "CHW"}' @@ -238,24 +285,24 @@ android { buildConfigField "String", 'DEFAULT_LOCATION_PREVIEW', '"Village"' buildConfigField "String", 'DEFAULT_LOCATION_DEBUG', '"CHW"' buildConfigField "String", 'DEFAULT_LOCATION', '"Village"' - buildConfigField "int", "DATABASE_VERSION", '5' + buildConfigField "int", "DATABASE_VERSION", '8' } togo { dimension = 'baseDimension' applicationIdSuffix ".togo" - versionCode 13 - versionName "1.0.13" + versionCode 22 + versionName "1.2.4" buildConfigField "int", "OPENMRS_UNIQUE_ID_INITIAL_BATCH_SIZE", '1000' buildConfigField "int", "OPENMRS_UNIQUE_ID_BATCH_SIZE", '500' - buildConfigField "String", 'opensrp_url', '"https://wcaro-togo.smartregister.org/opensrp/"' + buildConfigField "String", 'opensrp_url', '"https://wcaro-tg.smartregister.org/opensrp/"' buildConfigField "String", 'guidebooks_url', '"https://opensrp.s3.amazonaws.com/media/togo/"' - buildConfigField "String", 'opensrp_url_debug', '"https://unicefwcaro-stage.smartregister.org/opensrp/"' - buildConfigField "String[]", "LOCATION_HIERACHY", '{"Country", "Clinic" , "CHSS" , "CHA", "Supervisor", "CHW"}' - buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS_DEBUG", '{"Country", "Clinic" , "CHSS" , "CHA", "Supervisor", "CHW"}' + buildConfigField "String", 'opensrp_url_debug', '"https://wcaro-togo-preview.smartregister.org/opensrp/"' + buildConfigField "String[]", "LOCATION_HIERACHY", '{"National", "Regional" , "District" , "Formation sanitaire", "Supervisor", "Village" }' + buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS_DEBUG", '{"National", "Regional" , "District" , "Formation sanitaire", "Supervisor", "Village"}' buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS", '{"National", "Regional" , "District" , "Formation sanitaire", "Supervisor", "Village"}' - buildConfigField "String", 'DEFAULT_LOCATION_DEBUG', '"CHW"' + buildConfigField "String", 'DEFAULT_LOCATION_DEBUG', '"Village"' buildConfigField "String", 'DEFAULT_LOCATION', '"Village"' - buildConfigField "int", "DATABASE_VERSION", '16' + buildConfigField "int", "DATABASE_VERSION", '20' } liberia { dimension = 'baseDimension' @@ -263,19 +310,19 @@ android { versionName "0.1.12" buildConfigField "String", 'opensrp_url', '"https://wcaro-liberia.smartregister.org/opensrp/"' buildConfigField "String", 'guidebooks_url', '"https://opensrp.s3.amazonaws.com/media/liberia/"' - buildConfigField "String", 'opensrp_url_debug', '"https://unicefwcaro-stage.smartregister.org/opensrp/"' + buildConfigField "String", 'opensrp_url_debug', '"https://wcaro-stage.smartregister.org/opensrp/"' buildConfigField "String[]", "LOCATION_HIERACHY", '{"Clinic" , "CHSS" , "CHA"}' buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS", '{"Country" , "County" , "District", "Clinics", "CHSS", "Village"}' buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS_DEBUG", '{"Clinic" , "CHSS" , "CHA"}' buildConfigField "String", 'DEFAULT_LOCATION', '"Village"' buildConfigField "String", 'DEFAULT_LOCATION_DEBUG', '"CHA"' - buildConfigField "int", "DATABASE_VERSION", '4' + buildConfigField "int", "DATABASE_VERSION", '7' } lmh { dimension = 'baseDimension' applicationIdSuffix ".lmh" versionCode 2 - versionName "0.1.6" + versionName "0.1.7" buildConfigField "String", 'opensrp_url', '"https://lmh-liberia.smartregister.org/opensrp/"' buildConfigField "String", 'guidebooks_url', '"https://opensrp.s3.amazonaws.com/media/lmh/"' buildConfigField "String", 'opensrp_url_debug', '"https://lmh-stage.smartregister.org/opensrp/"' @@ -294,7 +341,7 @@ android { } dependencies { - implementation('org.smartregister:opensrp-client-chw-core:1.5.27-SNAPSHOT@aar') { + implementation('org.smartregister:opensrp-client-chw-core:2.0.32-SNAPSHOT@aar') { transitive = true exclude group: 'com.android.support', module: 'appcompat-v7' exclude group: 'androidx.legacy', module: 'legacy-support-v4' @@ -302,7 +349,9 @@ dependencies { exclude group: 'androidx.constraintlayout', module: 'constraintlayout' exclude group: 'com.google.guava', module: 'guava' exclude group: 'com.rengwuxian.materialedittext', module: 'library' + exclude group: 'stax', module: 'stax-api' } + implementation 'com.mapbox.mapboxsdk:mapbox-sdk-turf:5.1.0' implementation('io.ona.kujaku:library:0.9.0') { exclude group: 'com.android.volley', module: 'volley' @@ -315,7 +364,7 @@ dependencies { implementation 'androidx.legacy:legacy-support-v4:1.0.0' //Do not upgrade to 1.1.0 due to compatibility issues implementation 'androidx.recyclerview:recyclerview:1.1.0' - implementation 'androidx.constraintlayout:constraintlayout:2.0.1' + implementation 'androidx.constraintlayout:constraintlayout:2.0.4' implementation 'com.android.support:multidex:1.0.3' //Do not upgrade to 24.jre-1 due to compatibility issues implementation 'com.google.guava:guava:20.0' @@ -325,6 +374,9 @@ dependencies { implementation 'com.github.lecho:hellocharts-android:v1.5.8' + //For viewing PDFs in the app + implementation 'com.github.barteksc:android-pdf-viewer:3.2.0-beta.1' + testImplementation "org.koin:koin-test:2.0.1" testImplementation 'junit:junit:4.13' testImplementation 'org.mockito:mockito-core:3.1.0' diff --git a/opensrp-chw/src/ba/assets/ec_client_classification.json b/opensrp-chw/src/ba/assets/ec_client_classification.json index 9fb59c265c..f62d438d06 100644 --- a/opensrp-chw/src/ba/assets/ec_client_classification.json +++ b/opensrp-chw/src/ba/assets/ec_client_classification.json @@ -297,6 +297,85 @@ "creates_case": [ "ec_not_yet_done_referral" ] + }, + { + "field": "eventType", + "field_value": "Hiv Registration", + "creates_case": [ + "ec_hiv_register" + ] + }, + { + "field": "eventType", + "field_value": "Tb Registration", + "creates_case": [ + "ec_tb_register" + ] + }, + { + "field": "eventType", + "field_value": "TB Case Closure", + "creates_case": [ + "ec_tb_register" + ] + }, + { + "field": "eventType", + "field_value": "HIV Community Followup", + "creates_case": [ + "ec_hiv_community_followup" + ] + }, + { + "field": "eventType", + "field_value": "TB Community Followup", + "creates_case": [ + "ec_tb_community_followup" + ] + }, + { + "field": "eventType", + "field_value": "HIV Community Followup Feedback", + "creates_case": [ + "ec_hiv_community_feedback" + ] + }, + { + "field": "eventType", + "field_value": "TB Community Followup Feedback", + "creates_case": [ + "ec_tb_community_feedback" + ] + }, + { + "field": "eventType", + "field_value": "HIV Outcome", + "creates_case": [ + "ec_hiv_outcome", + "ec_hiv_register" + ] + }, + { + "field": "eventType", + "field_value": "TB Outcome", + "creates_case": [ + "ec_tb_outcome", + "ec_tb_register" + ] + }, + { + "field": "eventType", + "field_value": "HIV Notification Dismissal", + "creates_case": [ + "ec_hiv_outcome" + ] + }, + { + "field": "eventType", + "field_value": "TB Notification Dismissal", + "creates_case": [ + "ec_tb_outcome" + ] } ] } diff --git a/opensrp-chw/src/ba/assets/ec_client_fields.json b/opensrp-chw/src/ba/assets/ec_client_fields.json index 312a6bd13d..b11fec3387 100644 --- a/opensrp-chw/src/ba/assets/ec_client_fields.json +++ b/opensrp-chw/src/ba/assets/ec_client_fields.json @@ -2454,6 +2454,591 @@ } } ] + }, + { + "name": "ec_hiv_register", + "columns": [ + { + "column_name": "base_entity_id", + "type": "Event", + "json_mapping": { + "field": "baseEntityId" + } + }, + { + "column_name": "relational_id", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "relational_id" + } + }, + { + "column_name": "last_interacted_with", + "type": "Event", + "json_mapping": { + "field": "version" + } + }, + { + "column_name": "ctc_number", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "ctc_number" + } + }, + { + "column_name": "cbhs_number", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "cbhs_number" + } + }, + { + "column_name": "client_hiv_status_during_registration", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "client_hiv_status_during_registration" + } + }, + { + "column_name": "client_hiv_status_after_testing", + "type": "Event", + "json_mapping": { + "field": "obs.formSubmissionField", + "concept": "test_results" + } + }, + { + "column_name": "hiv_registration_date", + "type": "Event", + "data_type": "date", + "json_mapping": { + "field": "obs.formSubmissionField", + "concept": "hiv_registration_date" + } + } + ] + }, + { + "name": "ec_hiv_community_followup", + "columns": [ + { + "column_name": "entity_id", + "type": "Event", + "json_mapping": { + "field": "baseEntityId" + } + }, + { + "column_name": "base_entity_id", + "type": "Event", + "json_mapping": { + "field": "formSubmissionId" + } + }, + { + "column_name": "relational_id", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "relational_id" + } + }, + { + "column_name": "last_interacted_with", + "type": "Event", + "json_mapping": { + "field": "version" + } + }, + { + "column_name": "last_client_visit_date", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "last_client_visit_date" + } + }, + { + "column_name": "hiv_community_referral_date", + "type": "Event", + "json_mapping": { + "field": "obs.formSubmissionField", + "concept": "hiv_community_referral_date" + } + }, + { + "column_name": "comment", + "type": "Event", + "json_mapping": { + "field": "obs.formSubmissionField", + "concept": "comment_hiv_community_followup" + } + }, + { + "column_name": "reasons_for_issuing_community_referral", + "type": "Event", + "json_mapping": { + "field": "obs.formSubmissionField", + "concept": "reasons_for_issuing_community_referral" + } + } + ] + }, + { + "name": "ec_hiv_community_feedback", + "columns": [ + { + "column_name": "entity_id", + "type": "Event", + "json_mapping": { + "field": "baseEntityId" + } + }, + { + "column_name": "base_entity_id", + "type": "Event", + "json_mapping": { + "field": "formSubmissionId" + } + }, + { + "column_name": "relational_id", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "relational_id" + } + }, + { + "column_name": "last_interacted_with", + "type": "Event", + "json_mapping": { + "field": "version" + } + }, + { + "column_name": "hiv_community_followup_visit_date", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "hiv_community_followup_visit_date" + } + }, + { + "column_name": "followup_status", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "followup_status" + } + }, + { + "column_name": "community_referral_form_id", + "type": "Event", + "json_mapping": { + "field": "obs.formSubmissionField", + "concept": "community_referral_form_id" + } + } + ] + }, + { + "name": "ec_tb_register", + "columns": [ + { + "column_name": "base_entity_id", + "type": "Event", + "json_mapping": { + "field": "baseEntityId" + } + }, + { + "column_name": "relational_id", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "relational_id" + } + }, + { + "column_name": "last_interacted_with", + "type": "Event", + "json_mapping": { + "field": "version" + } + }, + { + "column_name": "community_client_tb_registration_number", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "community_client_tb_registration_number" + } + }, + { + "column_name": "client_tb_status_during_registration", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "client_tb_status_during_registration" + } + }, + { + "column_name": "client_tb_status_after_testing", + "type": "Event", + "json_mapping": { + "field": "obs.formSubmissionField", + "concept": "test_results" + } + }, + { + "column_name": "place_of_domicile", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "place_of_domicile" + } + }, + { + "column_name": "client_tb_screening_results", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "client_tb_screening_results" + } + }, + { + "column_name": "tb_registration_date", + "type": "Event", + "data_type": "date", + "json_mapping": { + "field": "obs.formSubmissionField", + "concept": "tb_registration_date" + } + }, + { + "column_name": "tb_case_closure_date", + "type": "Event", + "data_type": "date", + "json_mapping": { + "field": "obs.formSubmissionField", + "concept": "tb_case_closure_date" + } + } + ] + }, + { + "name": "ec_tb_community_followup", + "columns": [ + { + "column_name": "entity_id", + "type": "Event", + "json_mapping": { + "field": "baseEntityId" + } + }, + { + "column_name": "base_entity_id", + "type": "Event", + "json_mapping": { + "field": "formSubmissionId" + } + }, + { + "column_name": "relational_id", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "relational_id" + } + }, + { + "column_name": "last_interacted_with", + "type": "Event", + "json_mapping": { + "field": "version" + } + }, + { + "column_name": "last_client_visit_date", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "last_client_visit_date" + } + }, + { + "column_name": "tb_community_referral_date", + "type": "Event", + "json_mapping": { + "field": "obs.formSubmissionField", + "concept": "tb_community_referral_date" + } + }, + { + "column_name": "comment", + "type": "Event", + "json_mapping": { + "field": "obs.formSubmissionField", + "concept": "comment_tb_community_followup" + } + }, + { + "column_name": "reasons_for_issuing_community_referral", + "type": "Event", + "json_mapping": { + "field": "obs.formSubmissionField", + "concept": "reasons_for_issuing_community_referral" + } + } + ] + }, + { + "name": "ec_tb_community_feedback", + "columns": [ + { + "column_name": "entity_id", + "type": "Event", + "json_mapping": { + "field": "baseEntityId" + } + }, + { + "column_name": "base_entity_id", + "type": "Event", + "json_mapping": { + "field": "formSubmissionId" + } + }, + { + "column_name": "relational_id", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "relational_id" + } + }, + { + "column_name": "last_interacted_with", + "type": "Event", + "json_mapping": { + "field": "version" + } + }, + { + "column_name": "tb_community_followup_visit_date", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "tb_community_followup_visit_date" + } + }, + { + "column_name": "followup_status", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "followup_status" + } + }, + { + "column_name": "community_referral_form_id", + "type": "Event", + "json_mapping": { + "field": "obs.formSubmissionField", + "concept": "community_referral_form_id" + } + } + ] + }, + { + "name": "ec_hiv_outcome", + "columns": [ + { + "column_name": "entity_id", + "type": "Event", + "json_mapping": { + "field": "baseEntityId" + } + }, + { + "column_name": "base_entity_id", + "type": "Event", + "json_mapping": { + "field": "formSubmissionId" + } + }, + { + "column_name": "visit_date", + "type": "Event", + "json_mapping": { + "field": "obs.formSubmissionField", + "concept": "hiv_facility_visit_date" + } + }, + { + "column_name": "problem", + "type": "Event", + "save_format": "json_array", + "json_mapping": { + "field": "obs.fieldCode", + "formSubmissionField": "problem" + } + }, + { + "column_name": "problem_other", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "problem_other" + } + }, + { + "column_name": "action_taken", + "type": "Event", + "json_mapping": { + "field": "obs.formSubmissionField", + "concept": "action_taken_hiv_problems" + } + }, + { + "column_name": "test_results", + "type": "Event", + "json_mapping": { + "field": "obs.formSubmissionField", + "concept": "test_results" + } + }, + { + "column_name": "enrolled_to_clinic", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "enrolled_to_clinic" + } + }, + { + "column_name": "ctc_number", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "ctc_number" + } + }, + { + "column_name": "comment", + "type": "Event", + "json_mapping": { + "field": "obs.formSubmissionField", + "concept": "comment_hiv_problems" + } + }, + { + "column_name": "date_marked_as_done", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "date_marked_as_done" + } + } + ] + }, + { + "name": "ec_tb_outcome", + "columns": [ + { + "column_name": "entity_id", + "type": "Event", + "json_mapping": { + "field": "baseEntityId" + } + }, + { + "column_name": "base_entity_id", + "type": "Event", + "json_mapping": { + "field": "formSubmissionId" + } + }, + { + "column_name": "visit_date", + "type": "Event", + "json_mapping": { + "field": "obs.formSubmissionField", + "concept": "tb_facility_visit_date" + } + }, + { + "column_name": "problem", + "type": "Event", + "save_format": "json_array", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "problem" + } + }, + { + "column_name": "problem_other", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "problem_other" + } + }, + { + "column_name": "action_taken", + "type": "Event", + "json_mapping": { + "field": "obs.formSubmissionField", + "concept": "action_taken_tb_problems" + } + }, + { + "column_name": "test_results", + "type": "Event", + "json_mapping": { + "field": "obs.formSubmissionField", + "concept": "test_results" + } + }, + { + "column_name": "enrolled_to_clinic", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "enrolled_to_clinic" + } + }, + { + "column_name": "tb_clinic_number", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "tb_clinic_number" + } + }, + { + "column_name": "comment", + "type": "Event", + "json_mapping": { + "field": "obs.formSubmissionField", + "concept": "comment_tb_problems" + } + }, + { + "column_name": "date_marked_as_done", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "date_marked_as_done" + } + } + ] } ] } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/all_clients_registration_form.json b/opensrp-chw/src/ba/assets/json.form-sw/all_clients_update_registration_info_form.json similarity index 88% rename from opensrp-chw/src/ba/assets/json.form-sw/all_clients_registration_form.json rename to opensrp-chw/src/ba/assets/json.form-sw/all_clients_update_registration_info_form.json index 959a9ce086..5d32e51e3e 100644 --- a/opensrp-chw/src/ba/assets/json.form-sw/all_clients_registration_form.json +++ b/opensrp-chw/src/ba/assets/json.form-sw/all_clients_update_registration_info_form.json @@ -1,7 +1,7 @@ { "validate_on_submit": true, "show_errors_on_submit": false, - "count": "2", + "count": "1", "encounter_type": "Family Registration", "entity_id": "", "relational_id": "", @@ -54,104 +54,6 @@ } }, "step1": { - "title": "Taarifa ya eneo", - "next": "step2", - "fields": [ - { - "key": "fam_name", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "first_name", - "type": "edit_text", - "hint": "Jina la mwisho (Ukoo)", - "edit_type": "name", - "v_required": { - "value": "true", - "err": "Tafadhali ingiza jina la ukoo" - }, - "v_regex": { - "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Tafadhali ingiza jina la ukoo" - } - }, - { - "key": "unique_id", - "openmrs_entity_parent": "", - "openmrs_entity": "person_identifier", - "openmrs_entity_id": "opensrp_id", - "hidden": "true", - "type": "barcode", - "barcode_type": "qrcode", - "hint": "ID", - "scanButtonText": "Chukua QR code", - "v_numeric": { - "value": "true", - "err": "Tafadhali ingiza namba halali" - } - }, - { - "key": "fam_village", - "openmrs_entity_parent": "", - "openmrs_entity": "person_address", - "openmrs_entity_id": "cityVillage", - "type": "edit_text", - "edit_type": "name", - "hint": "Kijiji / mtaa", - "v_required": { - "value": "true", - "err": "Tafadhali ingiza kijiji au jiji" - }, - "v_regex": { - "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Tafadhali ingiza jina halali la kijiji" - } - }, - { - "key": "landmark", - "openmrs_entity_parent": "", - "openmrs_entity": "person_address", - "openmrs_entity_id": "landmark", - "type": "edit_text", - "edit_type": "name", - "hint": "Alama ya eneo la makazi", - "v_required": { - "value": true, - "err": "Tafadhali ingiza maelezo ya alama au eneo la makazi" - } - }, - { - "key": "gps", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "163277AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "text", - "type": "gps" - }, - { - "key": "spacer", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "spacer", - "spacer_height": "15dp" - }, - { - "key": "nearest_facility", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "162724AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "text", - "type": "tree", - "hint": "Kituo cha karibu cha kutolea huduma za afya", - "tree": [], - "v_required": { - "value": true, - "err": "Tafadhali ingiza kituo cha afya kilicho karibu" - } - } - ] - }, - "step2": { "title": "Taarifa ya mteja", "fields": [ { @@ -200,7 +102,7 @@ "calculation": { "rules-engine": { "ex-rules": { - "rules-file": "all_clients_member_calculation.yml" + "rules-file": "all_clients_member_update_calculation.yml" } } } @@ -259,7 +161,7 @@ "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "all_clients_member_relevance.yml" + "rules-file": "all_clients_member_update_relevance.yml" } } } @@ -273,7 +175,7 @@ "calculation": { "rules-engine": { "ex-rules": { - "rules-file": "all_clients_member_calculation.yml" + "rules-file": "all_clients_member_update_calculation.yml" } } } @@ -320,7 +222,7 @@ "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "all_clients_member_relevance.yml" + "rules-file": "all_clients_member_update_relevance.yml" } } }, @@ -381,7 +283,7 @@ "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "all_clients_member_relevance.yml" + "rules-file": "all_clients_member_update_relevance.yml" } } } @@ -395,7 +297,7 @@ "hint": "Namba ya kitambulisho cha taifa", "edit_type": "name", "relevance": { - "step2:id_avail": { + "step1:id_avail": { "ex-checkbox": [ { "or": [ @@ -415,7 +317,7 @@ "hint": "Namba ya kitambulisho cha mpiga kura", "edit_type": "name", "relevance": { - "step2:id_avail": { + "step1:id_avail": { "ex-checkbox": [ { "or": [ @@ -435,7 +337,7 @@ "hint": "Namba ya leseni ya udereva", "edit_type": "name", "relevance": { - "step2:id_avail": { + "step1:id_avail": { "ex-checkbox": [ { "or": [ @@ -455,7 +357,7 @@ "hint": "Namba ya hati ya kusafiria", "edit_type": "name", "relevance": { - "step2:id_avail": { + "step1:id_avail": { "ex-checkbox": [ { "or": [ @@ -537,7 +439,7 @@ "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "all_clients_member_relevance.yml" + "rules-file": "all_clients_member_update_relevance.yml" } } } @@ -556,7 +458,7 @@ "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "all_clients_member_relevance.yml" + "rules-file": "all_clients_member_update_relevance.yml" } } } @@ -590,7 +492,7 @@ "calculation": { "rules-engine": { "ex-rules": { - "rules-file": "all_clients_member_calculation.yml" + "rules-file": "all_clients_member_update_calculation.yml" } } } @@ -604,7 +506,7 @@ "calculation": { "rules-engine": { "ex-rules": { - "rules-file": "all_clients_member_calculation.yml" + "rules-file": "all_clients_member_update_calculation.yml" } } } @@ -635,7 +537,7 @@ "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "all_clients_member_relevance.yml" + "rules-file": "all_clients_member_update_relevance.yml" } } } @@ -678,7 +580,7 @@ "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "all_clients_member_relevance.yml" + "rules-file": "all_clients_member_update_relevance.yml" } } } @@ -741,7 +643,7 @@ "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "all_clients_member_relevance.yml" + "rules-file": "all_clients_member_update_relevance.yml" } } } @@ -768,7 +670,7 @@ "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "all_clients_member_relevance.yml" + "rules-file": "all_clients_member_update_relevance.yml" } } } @@ -957,7 +859,7 @@ "err": "Tafadhali taja jukumu" }, "relevance": { - "step2:leader": { + "step1:leader": { "ex-checkbox": [ { "or": [ diff --git a/opensrp-chw/src/ba/assets/json.form-sw/anc_hv_counselling.json b/opensrp-chw/src/ba/assets/json.form-sw/anc_hv_counselling.json deleted file mode 100644 index d3245f8b91..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/anc_hv_counselling.json +++ /dev/null @@ -1,192 +0,0 @@ -{ - "count": "1", - "encounter_type": "ANC Counselling", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Ushauri", - "fields": [ - { - "key": "counselling_given", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1379AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "check_box", - "label": "Ushauri nasaa uliotolewa kwa mama na wanafamilia", - "label_text_style": "normal", - "text_color": "#C0C0C0", - "exclusive": [ - "chk_none" - ], - "options": [ - { - "key": "chk_attended_anc_contacts", - "text": "1. Kuhudhuria kliniki ya wajawazito mapema", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "161013AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_anc_danger_signs", - "text": "2. Dalili za hatari wakati wa ujauzito", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "161050AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_maternal_nutrition", - "text": "3. Lishe kwa mama wakati wa ujauzito na kunyonyesha", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1380AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_personal_delivery", - "text": "4. Mpango binafsi wa kujifungua", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "5630AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_hiv_aids", - "text": "5. Umuhimu wa kupata ushauri nasaha na kupima VVU", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1914AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_pmtct_for_mother", - "text": "6. Kuzuia mambukizi ya VVU kutoka kwa mama kwenda kwa mtoto", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "160538AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_preventing_malaria", - "text": "7. Kuzuia malaria kwa wajawazito", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "164884AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_physical_changes", - "text": "8. Mabadiliko ya kimwili kwa mama aliyejifungua", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "162093AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_pnc_danger_signs", - "text": "10. Dalili za hatari mara baada ya kujifungua hadi arobaini ya uzazi", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "161541AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_care_of_infant", - "text": "11. Huduma kwa mtoto mchanga mara baada ya kuzaliwa", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "160413AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_infant_danger_signs", - "text": "14. Dalili za hatari kwa mtoto mchanga", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "161071AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_hiv_exposed_infant", - "text": "15. Ufuatiliaji wa mtoto aliyezaliwa na mama mwenye VVU", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "164818AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_breastfeeding", - "text": "16. Unyonyeshaji wa maziwa ya mama", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1910AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_exclusive_breast_feeding ", - "text": "17. Njia ya uzazi wa mpango ya unyonyeshaji maziwa ya mama pekee kwa kipindi cha miezi sita baada ya kujifungua (LAM)", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "161096AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_family_planning", - "text": "18. Uzazi wa mpango", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1382AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_infection_prevention", - "text": "24. Kuzuia maambukizi katika jamii", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1906AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_none", - "text": "Hajatoa ushauri", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua angalau moja" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/anc_hv_danger_signs.json b/opensrp-chw/src/ba/assets/json.form-sw/anc_hv_danger_signs.json deleted file mode 100644 index 13ee312fc9..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/anc_hv_danger_signs.json +++ /dev/null @@ -1,223 +0,0 @@ -{ - "count": "1", - "encounter_type": "Home Visit - Danger signs", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Dalili za hatari", - "fields": [ - { - "key": "danger_signs_present", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "160939AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "check_box", - "label": "Je, mama ana dalili zozote za hatari wakati wa ujauzito?", - "label_text_style": "normal", - "text_color": "#C0C0C0", - "exclusive": [ - "chk_none" - ], - "options": [ - { - "key": "chk_fever", - "text": "Homa", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "140238AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_bleeding_vaginally", - "text": "Damu kutoka ukeni", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "150802AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_server_headache", - "text": "Maumivu ya kichwa", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "139081AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_blurred_vision", - "text": "Kutoona vizuri", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "147104AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_convulsions", - "text": "Degedege/Mtukutiko wa mwili", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "164483AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_difficulty_breathing", - "text": "Kushindwa kupumua", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "142373AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_severe_abdominal_pain", - "text": "Maumivu makali ya tumbo", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "165271AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_loss_consciousness", - "text": "Kupoteza fahamu", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "135592AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_swelling", - "text": "Kuvimba uso na / au mikonos", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "460AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_early_labour", - "text": "Kupata uchungu mapema kabla ya miezi tisa", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "151687AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_vaginal_discharge", - "text": "Kutoka uchafu / majimaji ukeni yenye harufu mbaya", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "123395AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_unusual_movement", - "text": "Kutocheza / kucheza kusiko kwa kawaida kwa mtoto aliye tumboni", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "113377AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_none", - "text": "Hakuna", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua angalau moja" - } - }, - { - "key": "danger_signs_present_toaster", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "toaster_notes", - "text": "Dalili za hatari! \nToa rufaa haraka kwenda kituo cha kutolea huduma za afya.", - "text_color": "#CF0800", - "toaster_type": "problem", - "relevance": { - "step1:danger_signs_present": { - "ex-checkbox": [ - { - "or": [ - "chk_fever", - "chk_bleeding_vaginally", - "chk_server_headache", - "chk_blurred_vision", - "chk_convulsions", - "chk_difficulty_breathing", - "chk_severe_abdominal_pain", - "chk_loss_consciousness", - "chk_swelling", - "chk_early_labour", - "chk_vaginal_discharge", - "chk_unusual_movement" - ] - } - ] - } - } - }, - { - "key": "danger_signs_counseling", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "165310AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "label_info_title": "Je, mama alipewa ushauri kuhusu dalili za hatari wakati wa ujauzito kwenye kituo cha kutolea huduma za afya?", - "label_info_text": "Je, mama alipewa ushauri kuhusu dalili za hatari wakati wa ujauzito kwenye kituo cha kutolea huduma za afya?", - "hint": "Je, mama alipewa ushauri kuhusu dalili za hatari wakati wa ujauzito kwenye kituo cha kutolea huduma za afya?", - "values": [ - "Ndiyo", - "Hapana" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1267AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1118AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/anc_hv_family_planning.json b/opensrp-chw/src/ba/assets/json.form-sw/anc_hv_family_planning.json deleted file mode 100644 index 29e3070127..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/anc_hv_family_planning.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "count": "1", - "encounter_type": "Home Visit - Family Planning", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Uzazi wa mpango", - "fields": [ - { - "key": "fam_planning", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1382AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Je, mama ameshauriwa kuhusu uzazi wa mpango alipohudhuria kituoni?", - "values": [ - "Ndiyo", - "Hapana" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/anc_hv_health_facility_visit.json b/opensrp-chw/src/ba/assets/json.form-sw/anc_hv_health_facility_visit.json deleted file mode 100644 index 3b776cae3d..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/anc_hv_health_facility_visit.json +++ /dev/null @@ -1,338 +0,0 @@ -{ - "count": "1", - "encounter_type": "Home Visit - Facility Visit", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Hudhurio la kliniki ya wajawazito {0} katika kituo cha kutolea huduma za afya", - "fields": [ - { - "key": "anc_hf_visit", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1889AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "label_info_title": "Je, mama amehudhuria kliniki ya wajawazito hudhurio la {0} katika kituo cha kutolea huduma za afya?", - "label_info_text": "Je, mama amehudhuria kliniki ya wajawazito hudhurio la katika kituo cha kutolea huduma za afya?", - "type": "spinner", - "hint": "Je, mama amehudhuria kliniki ya wajawazito hudhurio la {0} katika kituo cha kutolea huduma za afya?\n\nTarehe ya hudhurio lingine: {1}", - "values": [ - "Ndiyo", - "Hapana" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - } - }, - { - "key": "anc_hf_visit_date", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "159590AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "text", - "type": "date_picker", - "label": "Tarehe ya hudhurio la kliniki ya wajawazito", - "hint": "Tarehe ya hudhurio la kliniki ya wajawazito", - "expanded": false, - "min_date": "today-10y", - "max_date": "today", - "v_required": { - "value": "true", - "err": "Ingiza tarehe ambayo mwanamke alienda kwenye kituo cha afya" - }, - "relevance": { - "step1:anc_hf_visit": { - "type": "string", - "ex": "equalTo(., \"Yes\")" - } - } - }, - { - "key": "anc_hf_next_visit_date", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "anc_hf_next_visit_date", - "type": "spacer" - }, - { - "key": "tests_done", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1271AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "check_box", - "label": "Vipimo vilivyofanyika", - "label_text_style": "normal", - "text_color": "#C0C0C0", - "exclusive": [ - "chk_none" - ], - "options": [ - { - "key": "chk_haemoglobin", - "text": "Wingi wa damu", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "21AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_urine_analysis_uti", - "text": "Kipimo cha maambukizi kwenye njia ya mkojo", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "302AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_urine_analysis_protein", - "text": "Kipimo cha kuangalia uwepo wa protini na sukari kwenye mkojo", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1875AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_hiv", - "text": "Kipimo cha VVU", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1356AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_syphilis", - "text": "Kipimo cha kaswende", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "299AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_malaria", - "text": "Kipimo cha malaria", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1643AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_tb", - "text": "Uchunguzi wa kifua kikuu", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "164800AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_other", - "text": "Vipimo vingine", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_none", - "text": "Vipimo havijafanyika", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua angalau chaguo moja" - }, - "relevance": { - "step1:anc_hf_visit": { - "type": "string", - "ex": "equalTo(., \"Yes\")" - } - } - }, - { - "key": "imm_medicine_given", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1767AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "check_box", - "label": "Chanjo na dawa alizopata", - "label_text_style": "normal", - "text_color": "#C0C0C0", - "exclusive": [ - "chk_none" - ], - "options": [ - { - "key": "chk_tetanus", - "text": "Chanjo ya pepopunda", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "84879AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_malaria", - "text": "Tiba kinga ya malaria wakati wa ujauzito (IPTp-SP)", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "105232AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_iron", - "text": "Dawa za kuongeza damu (FEFO)", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "773AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_albendazole", - "text": "Albendazole / Medandozle", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "159922AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_calcuim", - "text": "Calcium supplement", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "72650AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_other", - "text": "Dawa nyingine au chanjo nyingine", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_none", - "text": "Hajapewa dawa au chanjo yoyote", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua angalau chaguo moja" - }, - "relevance": { - "step1:anc_hf_visit": { - "type": "string", - "ex": "equalTo(., \"Yes\")" - } - } - }, - { - "key": "other_imm_medicine_given", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "edit_text", - "hint": "Dawa au chanjo nyingine", - "v_required": { - "value": "true", - "err": "Tafadhali ingiza chanjo au dawa nyingine" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_hv_health_facility_visit.yml" - } - } - } - }, - { - "key": "llin_given", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "159855AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Je, mama alipata chandarua chenye viuwatilifu katika hudhurio la kwanza katika kituo cha kutolea huduma za afya?", - "values": [ - "Ndiyo", - "Hapana" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo angalau moja" - }, - "relevance": { - "step1:anc_hf_visit": { - "type": "string", - "ex": "equalTo(., \"Yes\")" - }, - "rules-engine": { - "ex-rules": { - "rules-file": "anc_hv_health_facility_visit.yml" - } - } - } - }, - { - "key": "confirmed_visits", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "confirmed_visits", - "type": "spacer", - "read_only": "true", - "hidden": "true", - "value": "0" - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/anc_hv_malaria.json b/opensrp-chw/src/ba/assets/json.form-sw/anc_hv_malaria.json deleted file mode 100644 index 0c06e1a88d..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/anc_hv_malaria.json +++ /dev/null @@ -1,141 +0,0 @@ -{ - "count": "1", - "encounter_type": "Home Visit - Malaria", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Kinga dhidi ya malaria", - "fields": [ - { - "key": "fam_llin", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Ana chandarua chenye viuwatilifu vya muda mrefu?", - "values": [ - "Ndiyo", - "Hapana" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo angalau moja" - } - }, - { - "key": "llin_2days", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Je, amelala kwenye chandarua chenye viuwatilifu vya muda mrefu usiku uliopita?", - "values": [ - "Ndiyo", - "Hapana" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo angalau moja" - }, - "relevance": { - "step1:fam_llin": { - "type": "string", - "ex": "equalTo(., \"Yes\")" - } - } - }, - { - "key": "llin_condition", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Hali ya chandarua chenye viuwatilifu vya muda mrefu kinachotumika", - "values": [ - "Nzima", - "Mbovu" - ], - "keys": [ - "Okay", - "Bad" - ], - "openmrs_choice_ids": { - "Okay": "159405AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Bad": "159407AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo angalau moja" - }, - "relevance": { - "step1:fam_llin": { - "type": "string", - "ex": "equalTo(., \"Yes\")" - } - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/anc_hv_nutrition_status.json b/opensrp-chw/src/ba/assets/json.form-sw/anc_hv_nutrition_status.json deleted file mode 100644 index 19cf849fc7..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/anc_hv_nutrition_status.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "count": "1", - "encounter_type": "Home Visit - Nutrition Status", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Hali ya lishe", - "fields": [ - { - "key": "nutrition_status", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "163300AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Je, hali ya lishe ya mama ikoje?", - "values": [ - "Nzuri/Kijani", - "Kadri/Njano", - "Dhaifu/Nyekundu" - ], - "keys": [ - "Normal", - "Moderate", - "Severe" - ], - "openmrs_choice_ids": { - "Normal": "1115AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Moderate": "1499AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Severe": "1500AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo angalau moja" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/anc_hv_observations.json b/opensrp-chw/src/ba/assets/json.form-sw/anc_hv_observations.json deleted file mode 100644 index 3d710b6d9d..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/anc_hv_observations.json +++ /dev/null @@ -1,157 +0,0 @@ -{ - "count": "1", - "encounter_type": "Home Visit - Obs and Illness", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Uchunguzi na ugonjwa", - "fields": [ - { - "key": "date_of_illness", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1730AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "date_picker", - "hint": "Tarehe", - "expanded": false, - "min_date": "today-1y", - "max_date": "today", - "v_required": { - "value": "true", - "err": "Tafadhali ingiza tarehe ya ugonjwa" - } - }, - { - "key": "illness_description", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1390AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "edit_text", - "hint": "Maelezo", - "v_required": { - "value": "true", - "err": "Tafadhali ingiza maelezo" - } - }, - { - "key": "action_taken", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "164378AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "check_box", - "label": "Hatua zilizochukuliwa", - "label_text_style": "normal", - "text_color": "#C0C0C0", - "exclusive": [ - "chk_none" - ], - "options": [ - { - "key": "chk_ors", - "text": "ORS 5", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "351AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_zinc", - "text": "Zinc 10", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "86672AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_paracetamol", - "text": "Panadol", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "70116AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_referred", - "text": "Amepewa rufaa", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "163762AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_other_treatment", - "text": "Matibabu mengine", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_none", - "text": "Hajapewa matibabu yoyote", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - ] - }, - { - "key": "other_treatment_illness", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "edit_text", - "hint": "Matibabu mengine", - "v_required": { - "value": "true", - "err": "Tafadhali ingiza maelezo ya ugonjwa" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_hv_observations.yml" - } - } - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/anc_hv_pregnancy_risk_form.json b/opensrp-chw/src/ba/assets/json.form-sw/anc_hv_pregnancy_risk_form.json deleted file mode 100644 index aa16f2a6d2..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/anc_hv_pregnancy_risk_form.json +++ /dev/null @@ -1,97 +0,0 @@ -{ - "count": "1", - "encounter_type": "Pregnancy risk", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Hatari ya ujazito", - "fields": [ - { - "key": "preg_risk", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "preg_risk", - "type": "check_box", - "label": "Hatari ya ujazito", - "label_text_style": "normal", - "text_color": "#C0C0C0", - "saveObsAsArray": true, - "exclusive": [ - "Low", - "Medium", - "High" - ], - "options": [ - { - "key": "Low", - "text": "Kidogo", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "Low" - }, - { - "key": "Medium", - "text": "Kati kati", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "Medium" - }, - { - "key": "High", - "text": "Kubwa", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "High" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua angalau moja" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/anc_hv_remarks_and_comments.json b/opensrp-chw/src/ba/assets/json.form-sw/anc_hv_remarks_and_comments.json deleted file mode 100644 index f21ae1b0a2..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/anc_hv_remarks_and_comments.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "count": "1", - "encounter_type": "Home Visit - Remarks and comment", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Maoni", - "fields": [ - { - "key": "chw_comment_anc", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "161011AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "edit_text", - "hint": "Toa maoni", - "v_required": { - "value": "false", - "err": "Tafadhali ingiza maoni na maoni yako" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/anc_member_registration.json b/opensrp-chw/src/ba/assets/json.form-sw/anc_member_registration.json deleted file mode 100644 index b85e072582..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/anc_member_registration.json +++ /dev/null @@ -1,457 +0,0 @@ -{ - "count": "1", - "encounter_type": "ANC Registration", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Usajili wa ANC", - "fields": [ - { - "key": "relational_id", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "relational_id", - "type": "hidden" - }, - { - "key": "last_menstrual_period", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1427AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "date_picker", - "hint": "Tarehe ya kwanza ya hedhi ya kawaida ya mwisho (LNMP)", - "label_info_title": "LMP", - "label_info_text": "LNMP = Siku ya kwanza ya mwisho ya hedhi (LNMP). Kama tarehe halisi haijulikani, lakini kipindi cha mwezi kinajulikana; \n ∙ tumia tarehe 5 kwa mwanzo wa mwezi \n ∙ tumia tarehe 15 kwa katikati ya mwezi \n ∙ tumia tarehe 25 kwa mwisho wa mwezi.", - "expanded": false, - "max_date": "today", - "min_date": "today-50w", - "v_required": { - "value": "true", - "err": "LNMP inahitajika" - }, - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_member_registration_calculation.yml" - } - } - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_member_registration_relevance.yml" - } - } - } - }, - { - "key": "last_menstrual_period_unknown", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "last_menstrual_period_unknown", - "openmrs_data_type": "text", - "type": "check_box", - "options": [ - { - "key": "lmp_unknown", - "text": "Tarehe ya kwanza ya hedhi ya kawaida ya mwisho (LNMP) haijulikani?", - "text_size": "18px", - "value": "false" - } - ] - }, - { - "key": "edd", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "5596AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "date_picker", - "hint": "Tarehe ya kutarijia kujifungua (EDD)", - "max_date": "today+50w", - "min_date": "today", - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_member_registration_calculation.yml" - } - } - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_member_registration_relevance.yml" - } - } - }, - "v_required": { - "value": "true", - "err": "Required" - } - }, - { - "key": "gest_age_note", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "edit_text", - "hint": "Umri wa mimba (GA)", - "read_only": true, - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_member_registration_calculation.yml" - } - } - } - }, - { - "key": "edd_note", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "edit_text", - "hint": "Tarehe ya kutarijia kujifungua (EDD)", - "read_only": true, - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_member_registration_calculation.yml" - } - } - } - }, - { - "key": "gest_age", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1438AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "hidden", - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_member_registration_calculation.yml" - } - } - } - }, - { - "key": "no_prev_preg", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "no_prev_preg", - "type": "edit_text", - "edit_type": "number", - "hint": "Idadi ya mimba zilizotangulia", - "v_required": { - "value": "true", - "err": "Ingiza thamani sawa au kubwa kuliko 0" - }, - "v_numeric_integer": { - "value": "true", - "err": "Ingiza thamani sawa au kubwa kuliko 0" - }, - "v_min": { - "value": "0", - "err": "Nambari lazima iwe chini ya au sawa na Idadi ya Mimba za awali" - } - }, - { - "key": "gravida", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "5624AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "hidden", - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_member_registration_calculation.yml" - } - } - } - }, - { - "key": "delivery_method", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "5630AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "check_box", - "label": "Je, umejifungua mtoto/watoto kwa njia ya kawaida au kwa njia ya upasuaji?", - "label_text_style": "normal", - "text_color": "#C0C0C0", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_member_registration_relevance.yml" - } - } - }, - "options": [ - { - "key": "chk_vaginally", - "text": "Njia ya kawaida", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1170AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_cesarean_section", - "text": "Njia ya upasuaji", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1171AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_miscarriage", - "text": "Mimba kuharibika", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1171AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo" - } - }, - { - "key": "delivery_method_one", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "5630AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "native_radio", - "label": "Je, umejifungua mtoto/watoto kwa njia ya kawaida au kwa njia ya upasuaji?", - "label_text_style": "normal", - "text_color": "#C0C0C0", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_member_registration_relevance.yml" - } - } - }, - "options": [ - { - "key": "chk_vaginally", - "text": "Njia ya kawaida", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1170AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_cesarean_section", - "text": "Njia ya upasuaji", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1171AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_miscarriage", - "text": "Mimba kuharibika", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1171AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo angalau moja" - } - }, - { - "key": "no_surv_children", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "164894AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "edit_text", - "edit_type": "number", - "hint": "Idadi ya watoto walio hai", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_member_registration_relevance.yml" - } - } - }, - "v_required": { - "value": "true", - "err": "Required" - }, - "v_numeric_integer": { - "value": "true", - "err": "Ingiza thamani sawa au kubwa kuliko 0" - }, - "v_min": { - "value": "0", - "err": "Idadi ya watoto lazima iwe sawa au kubwa kuliko 0" - } - }, - { - "key": "marital_status", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Hali ya ndoa", - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - }, - "values": [ - "Ameolewa", - "Anaishi na mwenza", - "Hajaolewa", - "Ameachika", - "Mjane" - ], - "keys": [ - "Married", - "Co-habiting", - "Single", - "Divorced", - "Widowed" - ], - "openmrs_choice_ids": { - "Married": "5555AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Co-habiting": "1060AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Single": "5615AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Divorced": "1058AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Widowed": "1059AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - }, - { - "key": "phone_number", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "159635AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "edit_text", - "hint": "Namba ya simu", - "v_required": { - "value": false - }, - "v_numeric": { - "value": "true", - "err": "Nambari lazima iwe jumla ya nambari 10 kwa urefu" - }, - "v_regex": { - "value": "(0[0-9]{9})|\\s*", - "err": "Nambari lazima iwe na nambari 10 na lazima ianze na 0." - } - }, - { - "key": "person_assist", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "159771AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Je, mama ana mwenza/ndugu wa karibu wa umri kuanzia miaka 18 na zaidi ambae ataweza kumsaidia wakati wa ujauzito?", - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - }, - "values": [ - "Ndiyo", - "Hapana" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - }, - { - "key": "name_person_assist", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "160638AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "edit_text", - "hint": "Jina la mwenza/ndugu wa karibu anayeishi naye mwenye umri kuanzia miaka 18 na zaidi", - "edit_type": "name", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_member_registration_relevance.yml" - } - } - }, - "v_required": { - "value": "true", - "err": "Tafadhali ingiza jina la mtu huyo" - } - }, - { - "key": "phone_person_assist", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "160642AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "edit_text", - "hint": "Phone number", - "v_required": { - "value": false - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_member_registration_relevance.yml" - } - } - }, - "v_numeric": { - "value": "true", - "err": "Nambari lazima iwe jumla ya nambari 10 kwa urefu" - }, - "v_regex": { - "value": "(0[0-9]{9})|\\s*", - "err": "Nambari lazima iwe na nambari 10 na lazima ianze na 0." - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/anc_pregnancy_outcome.json b/opensrp-chw/src/ba/assets/json.form-sw/anc_pregnancy_outcome.json deleted file mode 100644 index 07419e2190..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/anc_pregnancy_outcome.json +++ /dev/null @@ -1,564 +0,0 @@ -{ - "validate_on_submit": true, - "show_errors_on_submit": false, - "count": "1", - "encounter_type": "Pregnancy Outcome", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Matokeo ya ujauzito", - "fields": [ - { - "key": "relational_id", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "relational_id", - "type": "hidden" - }, - { - "key": "preg_outcome", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "161033AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "native_radio", - "label": "Matokeo ya ujauzito", - "label_text_style": "bold", - "text_color": "#000000", - "options": [ - { - "key": "born_alive", - "text": "Mtoto amezaliwa hai", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "151849AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "born_alive_died", - "text": "Mtoto amezaliwa hai, lakini akafariki", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "164816AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "still_born", - "text": "Mtoto amezaliwa mfu", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "125872AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "alive_with_problem", - "text": "Mtoto amezaliwa hai, lakini ana shida (mf. ulemavu, kupumua kwa shida, nk.)", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "161599AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "miscarriage", - "text": "Mimba kuharibika", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "48AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua matokeo ya ujauzito" - } - }, - { - "key": "miscarriage_date", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "165248AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "date_picker", - "hint": "Tarehe ya kuharibika mimba", - "expanded": false, - "max_date": "today", - "v_required": { - "value": "true", - "err": "Tafadhali ingiza tarehe mwanamke ameharibika mimba." - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_pregnancy_outcome_relevance.yml" - } - } - } - }, - { - "key": "delivery_date", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "5599AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "date_picker", - "hint": "Tarehe ya kujifungua", - "expanded": false, - "max_date": "today", - "v_required": { - "value": "true", - "err": "Tafadhali ingiza tarehe mwanamke aliyejifungua" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_pregnancy_outcome_relevance.yml" - } - } - } - }, - { - "key": "no_children", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "164894AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "hidden" - }, - { - "key": "delivery_place", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1572AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Mahali alipojifungulia mama", - "values": [ - "Nyumbani", - "Kituo cha kutolea huduma za afya", - "Njiani kabla ya kufika kituoni", - "Mahali pengine" - ], - "keys": [ - "At home", - "At a health facility", - "On the way to the health facility", - "Other" - ], - "openmrs_choice_ids": { - "At Home": "1536AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "At a health facility": "1588AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "On the way to the health facility": "1601AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Other": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_pregnancy_outcome_relevance.yml" - } - } - } - }, - { - "key": "delivery_home", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1573AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "native_radio", - "label": "Je, nani amemsaidia kujifungulia nyumbani?", - "label_text_style": "bold", - "text_color": "#C0C0C0", - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_pregnancy_outcome_relevance.yml" - } - } - }, - "options": [ - { - "key": "gave_birth_alone", - "text": "Amejifungulia nyumbani pekee yake/bila mtu", - "value": false, - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "gave_birth_with_help", - "text": "Amejifungulia nyumbani akisaidiwa na mtu wa familia/rafiki/jirani", - "value": false, - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1575AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "midwife_help", - "text": "Amejifungulia nyumbani akisaidiwa na mkunga wa jadi", - "value": false, - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "125872AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - ] - }, - { - "key": "delivery_hf", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "159771AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "native_radio", - "label": "Amejifungua kwenye kituo cha kutolea huduma ya afya. Je, amesindikizwa na nani?", - "label_text_style": "bold", - "text_color": "#C0C0C0", - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_pregnancy_outcome_relevance.yml" - } - } - }, - "options": [ - { - "key": "facility_family_member", - "text": "Amejifungulia  katika kituo cha kutolea huduma za afya, na amesindikizwa na mwanafamilia.", - "value": false, - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "969AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "facility_midwife", - "text": "Amejifungulia katika kituo cha kutolea huduma za afya, na amesindikizwa na mkunga wa jadi", - "value": false, - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1575AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "alone", - "text": "Amejifungulia katika kituo cha kutolea huduma za afya, na amekuja pekee yake", - "value": false, - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "other_pple", - "text": "Amejifungulia katika kituo cha kutolea huduma ya afya, na amesindikizwa na watu wengine", - "value": false, - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1582AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "other_chw", - "text": "Amejifungulia katika kituo cha kutolea huduma ya afya, na amesindikizwa na CHW", - "value": false, - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1555AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - ] - }, - { - "key": "baby_label", - "type": "label", - "text": "MAELEZO YA MTOTO", - "has_bg": true, - "left_padding": "20dp", - "right_padding": "20dp", - "text_size": "8sp", - "text_color": "#000000", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_pregnancy_outcome_relevance.yml" - } - } - } - }, - { - "key": "fam_name", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "fam_name", - "type": "hidden" - }, - { - "key": "no_children_no", - "type": "repeating_group", - "reference_edit_text_hint": "Idadi ya watoto waliozaliwa hai", - "repeating_group_label": "Maelezo ya mtoto #", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "repeating_group_max": "10", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_pregnancy_outcome_relevance.yml" - } - } - }, - "v_required": { - "value": true, - "err": "Please specify the # of babies" - }, - "value": [ - { - "key": "surname", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "edit_text", - "hint": "Jina la mwisho (ukoo)", - "edit_type": "name", - "v_regex": { - "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Tafadhali ingiza jina halali" - }, - "v_required": { - "value": "true", - "err": "Tafadhali ingiza jina la ukoo" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-dynamic": "anc_pregnancy_outcome_relevance.yml" - } - } - } - - }, - { - "key": "same_as_fam_name_chk", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "openmrs_data_type": "text", - "type": "check_box", - "options": [ - { - "key": "same_as_fam_name", - "text": "Surname sawa na jina la ukoo", - "text_size": "18px", - "value": "false" - } - ] - }, - { - "key": "first_name", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "first_name", - "type": "edit_text", - "hint": "Jina la kwanza", - "edit_type": "name", - "v_required": { - "value": "true", - "err": "Tafadhali ingiza jina la kwanza" - }, - "v_regex": { - "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid name" - } - }, - { - "key": "middle_name", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "middle_name", - "type": "edit_text", - "hint": "Jina la kati", - "edit_type": "name", - "v_regex": { - "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Tafadhali ingiza jina halali" - } - }, - { - "key": "dob", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "birthdate", - "type": "hidden" - }, - { - "key": "gender", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "gender", - "type": "spinner", - "hint": "Jinsi", - "values": [ - "Me", - "Ke" - ], - "keys": [ - "Male", - "Female" - ], - "v_required": { - "value": "true", - "err": "Tafadhali ingiza jinsia" - } - }, - { - "key": "disabilities", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "159522AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "spinner", - "hint": "Ulemavu", - "values": [ - "Ndiyo", - "Hapana" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Tafadhali ingiza ulemavu" - } - }, - { - "key": "type_of_disability", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "edit_text", - "hint": "Aina ya ulemavu", - "edit_type": "name", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-dynamic": "anc_pregnancy_outcome_relevance.yml" - } - } - } - }, - { - "key": "early_bf_1hr", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "164819AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "spinner", - "hint": "Unyonyeshaji wa mtoto ndani ya saa moja baada ya kujifungua?", - "values": [ - "Ndiyo", - "Hapana" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - }, - { - "key": "vacc_birth", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "984AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "check_box", - "label": "Chanjo gani alizopata mtoto?", - "label_text_style": "normal", - "text_color": "#C0C0C0", - "exclusive": [ - "chk_none" - ], - "options": [ - { - "key": "chk_none", - "text": "Hajapata chanjo", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_opv_0", - "text": "OPV 0", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "783AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_bcg", - "text": "BCG", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "886AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo angalau moja" - } - } - ] - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/anc_referral_form.json b/opensrp-chw/src/ba/assets/json.form-sw/anc_referral_form.json deleted file mode 100644 index 0d8bdc5e23..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/anc_referral_form.json +++ /dev/null @@ -1,421 +0,0 @@ -{ - "count": "1", - "encounter_type": "ANC Referral", - "entity_id": "", - "relational_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "", - "look_up": { - "entity_id": "", - "value": "" - } - }, - "step1": { - "title": "Rufaa ya mama mjamzito", - "fields": [ - { - "key": "chw_referral_hf_anc", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1759AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "hidden", - "is_problem": false, - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_referral_calculation.yml" - } - } - } - }, - { - "key": "problem_hf_anc", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "163182AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "check_box", - "label": "Tatizo / hali ya afya ya mteja", - "label_text_style": "bold", - "options": [ - { - "key": "Vaginal_bleeding", - "text": "Kutoka damu ukeni", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "147232AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Discoloured_or_watery_liquid_vaginal_discharge_with_a_bad_smell", - "text": "Kutoka uchafu / majimaji ukeni yenye harufu mbaya", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "123396AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "High_blood_pressure", - "text": "Shinikizo la damu", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "113088AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Severe_abdominal_pain", - "text": "Maumivu makali ya tumbo", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "165271AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Severe_anaemia", - "text": "Upungufu mkubwa wa damu", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "162044AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Convulsions", - "text": "Degedege / Mtukutiko wa mwili", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "113054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "No_movement_unusual_movement_for_a_child_in_the_womb", - "text": "Kutocheza / kucheza kusiko kwa kawaida kwa mtoto aliye tumboni", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "113377AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Pregnancy_pains_before_9_months", - "text": "Uchungu kuanza mapema kabla ya mimba kufikia miezi 9", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "153316AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Early_age_pregnancy_below_18_years", - "text": "Kupata mimba katika umri mdogo (chini ya umri wa miaka 18)", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "163119AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "A_severe_headache_dizziness", - "text": "Maumivu makali ya kichwa / kizunguzungu", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "139081AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Swelling_of_the_face_andor_hands", - "text": "Kuvimba uso na / au mikono", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "460AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Fever", - "text": "Homa", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "140238AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Shivering_trembling", - "text": "Kutetemeka", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "158359AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Nausea_and_Vomiting", - "text": "Kichefuchefu na kutapika", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "133473AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Water_sack_broke_before_contractions", - "text": "Chupa kupasuka mapema kabla ya uchungu", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "129211AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Cord_prolapse", - "text": "Kutangulia kitovu cha mtoto", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "128419AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "HIV_care_and_support_services", - "text": "Huduma za wateja / wagonjwa wanaoishi na VVU", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "159811AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Family_planning_services", - "text": "Huduma za uzazi wa mpango", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "5271AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "PMTCT_for_mothers", - "text": "Huduma ya kuzuia maambukizi ya VVU toka kwa mama kwenda kwa mtoto", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "160538AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Fistula", - "text": "Fistula", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "160854AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Difficultly_breathing", - "text": "Kupumua kwa shida", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "142373AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Breast_engorgement", - "text": "Kujaa au maumivu ya matiti, chuchu na kushindwa kunyonyesha", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "118620AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Blurred_vision", - "text": "Kuona kwa shida", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "147104AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Perineum_tear", - "text": "Kuchanika msamba", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "136938AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Pregnancy_confirmation", - "text": "Kuhakiki uja-uzito", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "152305AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Other_symptoms", - "text": "Dalili nyingine", - "value": false, - "ignore": true, - "openmrs_entity": "", - "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - } - ], - "v_required": { - "value": true, - "err": "Tafadhali taja sababu ya rufaa ya mama mjamzito" - } - }, - { - "key": "problem_hf_anc_other", - "type": "edit_text", - "openmrs_entity": "", - "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "edit_type": "name", - "hint": "Dalili nyingine", - "v_required": { - "value": "true", - "err": "Tafadhali taja dalili zingine" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_referral_relevance.yml" - } - } - } - }, - { - "key": "service_before_anc", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "164378AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "check_box", - "is_problem": false, - "label": "Huduma aliyopewa kabla ya rufaa", - "label_text_style": "bold", - "exclusive": [ - "None" - ], - "options": [ - { - "key": "ORS", - "text": "ORS", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "351AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Panadol", - "text": "Panadol", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "70116AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Other_treatment", - "text": "Matibabu mengine", - "value": false, - "ignore": true, - "openmrs_entity": "", - "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "None", - "text": "Hakuna huduma aliyopewa", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - } - ], - "v_required": { - "value": "true", - "err": "Huduma aliyopewa kabla ya rufaa ni lazima" - } - }, - { - "key": "service_before_anc_other", - "type": "edit_text", - "openmrs_entity": "", - "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "is_problem": false, - "edit_type": "name", - "hint": "Matibabu mengine", - "v_required": { - "value": "true", - "err": "Tafadhali taja matibabu mengine" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_referral_relevance.yml" - } - } - } - }, - { - "key": "referral_date_anc", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "163181AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "hidden", - "is_problem": false, - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_referral_calculation.yml" - } - } - } - }, - { - "key": "referral_time_anc", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "referral_time_anc", - "type": "hidden", - "is_problem": false, - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_referral_calculation.yml" - } - } - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/child_enrollment.json b/opensrp-chw/src/ba/assets/json.form-sw/child_enrollment.json deleted file mode 100644 index 2e834e9ac7..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/child_enrollment.json +++ /dev/null @@ -1,511 +0,0 @@ -{ - "count": "1", - "encounter_type": "Child Registration", - "entity_id": "", - "relational_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "", - "look_up": { - "entity_id": "", - "value": "" - } - }, - "step1": { - "title": "Ongeza mtoto chini ya miaki 5", - "fields": [ - { - "key": "photo", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "choose_image", - "uploadButtonText": "Chukua picha ya muhusika" - }, - { - "key": "unique_id", - "openmrs_entity_parent": "", - "openmrs_entity": "person_identifier", - "openmrs_entity_id": "opensrp_id", - "type": "barcode", - "barcode_type": "qrcode", - "hint": "Boresha Afya ID", - "scanButtonText": "Chukua QR code", - "v_numeric": { - "value": "true", - "err": "Tafadhali ingiza namba halali" - }, - "v_required": { - "value": "true", - "err": "Tafadhali ingiza namba ya kipekee" - } - }, - { - "key": "surname", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "edit_text", - "hint": "Jina la mwisho (ukoo)", - "edit_type": "name", - "v_regex": { - "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Tafadhali ingiza jina halali" - }, - "v_required": { - "value": "true", - "err": "Tafadhali ingiza jina la ukoo" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family-child-relevance.yml" - } - } - } - }, - { - "key": "same_as_fam_name", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "openmrs_data_type": "text", - "type": "check_box", - "label": "", - "exclusive": [ - "none" - ], - "options": [ - { - "key": "same_as_fam_name", - "text": "Jina la ukoo ni sawa na jina la familia", - "text_size": "18px", - "value": "false" - } - ] - }, - { - "key": "fam_name", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "label", - "hidden": "true" - }, - { - "key": "surname_calculation", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "last_name", - "type": "hidden", - "hint": "Jina la ukoo ni sawa na jina la famili", - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "family-child-calculation.yml" - } - } - } - }, - { - "key": "first_name", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "first_name", - "openmrs_data_type": "text", - "type": "edit_text", - "hint": "Jina la kwanza", - "expanded": false, - "edit_type": "name", - "v_required": { - "value": "true", - "err": "Tafadhali ingiza jina la kwanza" - }, - "v_regex": { - "value": "[A-Za-z\\s\\-]*", - "err": "Tafadhali ingiza jina halali" - } - }, - { - "key": "middle_name", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "middle_name", - "openmrs_data_type": "text", - "type": "edit_text", - "hint": "Jina la kati", - "expanded": false, - "edit_type": "name", - "v_required": { - "value": "true", - "err": "Tafadhali ingiza jina la kati" - }, - "v_regex": { - "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Tafadhali ingiza jina halali" - } - }, - { - "key": "dob", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "birthdate", - "type": "date_picker", - "hint": "Tarehe ya kuzaliwa", - "expanded": false, - "duration": { - "label": "Age" - }, - "min_date": "today-5y", - "max_date": "today", - "v_required": { - "value": "true", - "err": "Tafadhali ingiza tarehe ya kuzaliwa" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family-child-relevance.yml" - } - } - } - }, - { - "key": "dob_unknown", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "birthdateApprox", - "hidden": "false", - "type": "check_box", - "label": "", - "options": [ - { - "key": "dob_unknown", - "text": "Tarehe ya kuzaliwa haijulikani?", - "text_size": "18px", - "value": "false" - } - ] - }, - { - "key": "age", - "openmrs_entity_parent": "", - "openmrs_entity": "person_attribute", - "openmrs_entity_id": "age", - "type": "edit_text", - "hint": "Umri", - "v_numeric": { - "value": "true", - "err": "Nambari lazima ianze na 0 na lazima iwe jumla ya nambari 10 kwa urefu" - }, - "v_min": { - "value": "0", - "err": "Umri lazima uwe sawa au mkubwa kuliko 0" - }, - "v_max": { - "value": "5", - "err": "Umri lazima uwe sawa au chini ya 5" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family-child-relevance.yml" - } - } - }, - "v_required": { - "value": true, - "err": "Tafadhali ingiza umri" - } - }, - { - "key": "insurance_provider", - "openmrs_entity_parent": "", - "openmrs_entity": "person_attribute", - "openmrs_entity_id": "insurance_provider", - "type": "spinner", - "hint": "Bima ya afya unaotumia", - "values": [ - "Bima ya afya ya jamii (CHF)", - "Bima ya afya ya jamii ulioboreshwa (iCHF)", - "National Social Security Fund - Social Health Insurance Benefit (SHIB)", - "Tiba Kwa Kadi (TIKA)", - "AAR Healthcare", - "Strategies Insurance", - "Milvik Tanzania Ltd (BIMA Mkononi)", - "Britam Insurance Tanzania", - "Jubilee Insurance", - "Resolutions Insurance", - "Reliance Insurance", - "Bima ya afya nyingezo", - "Hakuna" - ], - "keys": [ - "Community Health Fund (CHF)", - "iCHF", - "National Social Security Fund - Social Health Insurance Benefit (SHIB)", - "Tiba Kwa Kadi (TIKA)", - "AAR Healthcare", - "Strategies Insurance", - "Milvik Tanzania Ltd (BIMA Mkononi)", - "Britam Insurance Tanzania", - "Jubilee Insurance", - "Resolutions Insurance", - "Reliance Insurance", - "Other", - "None" - ], - "openmrs_choice_ids": { - "Community Health Fund (CHF)": "Community_Health_Fund", - "iCHF": "iCHF", - "National Social Security Fund - Social Health Insurance Benefit (SHIB)": "National_Social_Security_Fund", - "Tiba Kwa Kadi (TIKA)": "Tiba_kwa_Kadi", - "AAR Healthcare": "AAR_Healthcare", - "AAR Strategies Insurance": "Strategies_Insurance", - "Milvik Tanzania Ltd (BIMA Mkononi)": "BIMA_Mkononi", - "Britam Insurance Tanzania": "Britam_Insurance_Tanzania", - "Jubilee Insurance": "Jubilee_Insurance", - "Resolutions Insurance": "Resolutions_Insurance", - "Reliance Insurance": "Reliance_Insurance", - "Other": "Other_Health_Insurance_Type", - "None": "No_Health_Insurance" - }, - "v_required": { - "value": "true", - "err": "Tafadhali ingiza bima" - } - }, - { - "key": "insurance_provider_other", - "openmrs_entity_parent": "", - "openmrs_entity": "person_attribute", - "openmrs_entity_id": "Other_Health_Insurance_Type", - "type": "edit_text", - "hint": "Bima ya afya mwingine unaotumia", - "v_required": { - "value": "true", - "err": "Tafadhali taja bima" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_register_relevance.yml" - } - } - } - }, - { - "key": "insurance_provider_number", - "openmrs_entity_parent": "", - "openmrs_entity": "person_attribute", - "openmrs_entity_id": "Health_Insurance_Number", - "type": "edit_text", - "hint": "Namba ya bima ya afya umaotumia", - "v_required": { - "value": "true", - "err": "Tafadhali ongeza nambari ya bima ya afya" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_register_relevance.yml" - } - } - } - }, - { - "key": "gender", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "gender", - "type": "spinner", - "hint": "Jinsi", - "values": [ - "Me", - "Ke" - ], - "keys": [ - "Male", - "Female" - ], - "v_required": { - "value": "true", - "err": "Tafadhali ingiza jinsi" - } - }, - { - "key": "disabilities", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "162558AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "spinner", - "hint": "Hali ya ulemavu", - "values": [ - "Ndiyo", - "Hapana" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Tafadhali chagua moja" - } - }, - { - "key": "type_of_disability", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "edit_text", - "edit_type": "name", - "hint": "Aina ya ulemavu", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family-child-relevance.yml" - } - } - }, - "v_required": { - "value": true, - "err": "Tafadhali ingiza aina ya ulemavu wa mwili" - } - }, - { - "key": "birth_cert_available", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "165406AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "spinner", - "hint": "Cheti cha kuzaliwa", - "values": [ - "Ndiyo", - "Hapana" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - }, - { - "key": "birth_regist_number", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "162052AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "edit_text", - "hint": "Namba ya cheti cha kuzaliwa", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family-child-relevance.yml" - } - } - } - }, - { - "key": "rhc_card", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "164147AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "spinner", - "hint": "Je, mtoto ana RCH kadi namba moja/kitabu cha ukuaji wa mtoto?", - "values": [ - "Ndiyo", - "Hapana" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - }, - { - "key": "nutrition_status", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "163301AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "spinner", - "hint": "Hali ya lishe ya mtoto", - "values": [ - "Kijani", - "Kijivu/Njano", - "Nyekundu" - ], - "keys": [ - "Green", - "Grey", - "Red" - ], - "openmrs_choice_ids": { - "Green": "160909AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Grey": "163639AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Red": "127778AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Tafadhali toa hali ya lishe ya watoto" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family-child-relevance.yml" - } - } - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/child_hv_deworming.json b/opensrp-chw/src/ba/assets/json.form-sw/child_hv_deworming.json deleted file mode 100644 index cb75ecc92d..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/child_hv_deworming.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "count": "1", - "encounter_type": "De-worming", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Dozi ya {0} ya dawa ya minyoo", - "fields": [ - { - "key": "deworming{0}_date", - "openmrs_entity_parent": "84879AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity": "concept", - "openmrs_entity_id": "1418AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "date_picker", - "image": "ic_form_deworming", - "hint": "Dawa ya minyoo ya {0} lilifanyika lini?", - "min_date": "today-120y", - "max_date": "today", - "v_required": { - "value": "true", - "err": "Tafadhali ingiza tarehe ya dozi ya dawa ya minyoo" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/child_hv_malaria_prevention.json b/opensrp-chw/src/ba/assets/json.form-sw/child_hv_malaria_prevention.json deleted file mode 100644 index 410d200e26..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/child_hv_malaria_prevention.json +++ /dev/null @@ -1,141 +0,0 @@ -{ - "count": "1", - "encounter_type": "Malaria Prevention", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Kinga dhidi ya Malaria", - "fields": [ - { - "key": "fam_llin_1m5yr", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Ana chandarua chenye viuwatilifu vya muda mrefu?", - "values": [ - "Ndiyo", - "Hapana" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - } - }, - { - "key": "llin_2days_1m5yr", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Je, amelala kwenye chandarua chenye viuwatilifu vya muda mrefu usiku uliopita?", - "values": [ - "Ndiyo", - "Hapana" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - }, - "relevance": { - "step1:fam_llin_1m5yr": { - "type": "string", - "ex": "equalTo(., \"Yes\")" - } - } - }, - { - "key": "llin_condition_1m5yr", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Hali ya chandarua chenye viuwatilifu vya muda mrefu kinachotumika", - "values": [ - "Nzima", - "Mbovu" - ], - "keys": [ - "Okay", - "Bad" - ], - "openmrs_choice_ids": { - "Okay": "159405AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Bad": "159407AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - }, - "relevance": { - "step1:fam_llin_1m5yr": { - "type": "string", - "ex": "equalTo(., \"Yes\")" - } - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/child_hv_nutrition_status.json b/opensrp-chw/src/ba/assets/json.form-sw/child_hv_nutrition_status.json deleted file mode 100644 index 7ec85d9d72..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/child_hv_nutrition_status.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "count": "1", - "encounter_type": "Home Visit - Nutrition Status", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Hali ya lishe", - "fields": [ - { - "key": "nutrition_status_1m5yr", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "163301AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Hali ya lishe", - "values": [ - "Kawaida", - "Dhaifu", - "Dhaifu sana" - ], - "keys": [ - "Normal", - "Moderate", - "Severe" - ], - "openmrs_choice_ids": { - "Normal": "1115AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Moderate": "1499AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Severe": "1500AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo angalau moja" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/child_hv_vitamin_a.json b/opensrp-chw/src/ba/assets/json.form-sw/child_hv_vitamin_a.json deleted file mode 100644 index ec026e47a1..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/child_hv_vitamin_a.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "count": "1", - "encounter_type": "Vitamin A", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Vitamin A {0} dose", - "fields": [ - { - "key": "vitamin_a{0}_date", - "openmrs_entity_parent": "84879AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity": "concept", - "openmrs_entity_id": "1418AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "date_picker", - "image": "ic_form_vitamin", - "hint": "Dozi ya Vitamini A ya {0} ilifanyika lini?", - "min_date": "today-120y", - "max_date": "today", - "v_required": { - "value": "true", - "err": "Tafadhali ingiza tarehe ya dozi ya Vitamini A" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/child_referral_form.json b/opensrp-chw/src/ba/assets/json.form-sw/child_referral_form.json deleted file mode 100644 index fb3678ab8d..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/child_referral_form.json +++ /dev/null @@ -1,378 +0,0 @@ -{ - "count": "1", - "encounter_type": "Sick Child Referral", - "entity_id": "", - "relational_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "", - "look_up": { - "entity_id": "", - "value": "" - } - }, - "step1": { - "title": "Fomu ya wagonjwa wa mtoto", - "fields": [ - { - "key": "chw_referral_hf_child", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1759AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "hidden", - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "child_referral_calculation.yml" - } - } - } - }, - { - "key": "referral_problem_child", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "163182AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "check_box", - "label": "Tatizo / hali ya afya ya mteja", - "label_text_style": "bold", - "options": [ - { - "key": "Fast_breathing_and_difficulty_with_breathing", - "text": "Kupumua kwa haraka na kushindwa kupumua", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "142373AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Umbilical_cord_navel_bleeding", - "text": "Kutoka damu kwenye kitovu cha mtoto", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "123844AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Excessive_crying", - "text": "Kulia sana kwa Mtoto", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "140944AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Convulsions", - "text": "Degedege", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "113054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Unable_to_breastfeed_or_swallow", - "text": "Kushindwa kunyonya au kumeza", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "159861AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Neck_stiffness", - "text": "Shingo kukakamaa", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "112721AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Fever", - "text": "Homa", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "140238AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Bloating", - "text": "Tumbo kujaa", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "147132AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Redness_around_the_umbilical_cord_foul_smelling_discharge_from_the_umbilical_cord", - "text": "Uambukizo kwenye kitovu", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "132407AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Bacterial_conjunctivitis", - "text": "Macho kutoa uchafu / usaa", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "148026AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Severe_anaemia", - "text": "Upungufu mkubwa wa damu", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "162044AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Severe_abdominal_pain", - "text": "Maumivu makali ya tumbo", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "165271AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Pale_or_jaundiced", - "text": "Mwili kuwa njano", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "136443AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Cyanosis_blueness_of_lips", - "text": "Kubadilika kwa sababu ya kukosa hewa (midomo kuwa bluu, ulimi au viganja)", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "143050AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Skin_rash_pustules", - "text": "Vipele mwilini", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "512AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Diarrhea", - "text": "Kuharisha", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "142412AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Vomiting", - "text": "Kutapika", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "122983AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Disabilities", - "text": "Kuzaliwa na ulemavu", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "162558AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Premature_baby", - "text": "Mtoto aliyezaliwa na uzito pungufu / njiti", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "159908AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Care_of_HIV_exposed_infant", - "text": "Huduma za kumsaidia mtoto aliyezaliwa na mama mwenye VVU", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "164818AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Immunisation", - "text": "Huduma za chanjo", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "1914AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Other_symptom", - "text": "Dalili nyingine", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - } - ], - "v_required": { - "value": true, - "err": "Tafadhali taja shida ya kiafya" - } - }, - { - "key": "referral_problem_child_other", - "type": "edit_text", - "openmrs_entity": "", - "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "edit_type": "name", - "hint": "Dalili nyingine", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "child_referral_relevance.yml" - } - } - } - }, - { - "key": "service_before_child", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "164378AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "check_box", - "label": "Huduma aliyopewa kabla ya rufaa", - "label_text_style": "bold", - "exclusive": [ - "None" - ], - "options": [ - { - "key": "ORS", - "text": "ORS", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "351AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Panadol", - "text": "Panadol", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "70116AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Other_treatment", - "text": "Matibabu mengine", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "None", - "text": "Hajapewa matibabu yoyote", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - } - ], - "v_required": { - "value": "true", - "err": "Huduma aliyopewa kabla ya rufaa ni lazima" - } - }, - { - "key": "service_before_child_other", - "type": "edit_text", - "openmrs_entity": "", - "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "edit_type": "name", - "hint": "Matibabu mengine", - "v_required": { - "value": "true", - "err": "Tafadhali taja matibabu mengine" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "child_referral_relevance.yml" - } - } - } - }, - { - "key": "referral_date_child", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "163181AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "hidden", - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "child_referral_calculation.yml" - } - } - } - }, - { - "key": "referral_time_child", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "hidden", - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "child_referral_calculation.yml" - } - } - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/family_details_register.json b/opensrp-chw/src/ba/assets/json.form-sw/family_details_register.json deleted file mode 100644 index f220cf0520..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/family_details_register.json +++ /dev/null @@ -1,133 +0,0 @@ -{ - "count": "1", - "encounter_type": "Family Details", - "entity_id": "", - "relational_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "", - "look_up": { - "entity_id": "", - "value": "" - } - }, - "step1": { - "title": "Taarifa ya familia", - "fields": [ - { - "key": "fam_name", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "first_name", - "type": "edit_text", - "hint": "Jina la familia (ukoo)", - "edit_type": "name", - "v_required": { - "value": "true", - "err": "Tafadhali ingiza jina la familia (ukoo)" - }, - "v_regex": { - "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Tafadhali ingiza jina halali" - } - }, - { - "key": "unique_id", - "openmrs_entity_parent": "", - "openmrs_entity": "person_identifier", - "openmrs_entity_id": "opensrp_id", - "hidden": "true", - "type": "barcode", - "barcode_type": "qrcode", - "hint": "ID *", - "scanButtonText": "Scan QR Code", - "v_numeric": { - "value": "true", - "err": "Tafadhali ingiza namba halali" - } - }, - { - "key": "village_town", - "openmrs_entity_parent": "", - "openmrs_entity": "person_address", - "openmrs_entity_id": "cityVillage", - "type": "edit_text", - "hint": "Kijiji / mtaa", - "v_required": { - "value": "true", - "err": "Tafadhali ingiza kijiji au jiji" - } - }, - { - "key": "landmark", - "openmrs_entity_parent": "", - "openmrs_entity": "person_address", - "openmrs_entity_id": "landmark", - "type": "edit_text", - "hint": "Alama ya eneo la makazi" - }, - { - "key": "gps", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "163277AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "text", - "type": "gps" - }, - { - "key": "nearest_facility", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "162724AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "text", - "type": "tree", - "hint": "Kituo cha karibu cha kutolea huduma za afya", - "tree": [], - "v_required": { - "value": true, - "err": "Tafadhali ingiza kituo cha afya kilicho karibu" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/family_details_remove_child.json b/opensrp-chw/src/ba/assets/json.form-sw/family_details_remove_child.json deleted file mode 100644 index 47d0728d2a..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/family_details_remove_child.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "count": "1", - "encounter_type": "Remove Child Under 5", - "entity_id": "", - "relational_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "", - "look_up": { - "entity_id": "", - "value": "" - } - }, - "step1": { - "title": "Ondoa mtoto chini ya miaki 5", - "fields": [ - { - "key": "spacer", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "spacer", - "spacer_height": "10sp" - }, - { - "key": "details", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "label", - "text": "", - "text_size": "25px" - }, - { - "key": "divider1", - "type": "h_line", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "" - }, - { - "key": "spacer", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "spacer", - "spacer_height": "15dp" - }, - { - "key": "remove_reason", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "160417AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Sababu ya kuiondoa", - "values": [ - "Kifo", - "Amehama", - "Sababu nyingine" - ], - "keys": [ - "Died", - "Moved away", - "Other" - ], - "v_required": { - "value": "true", - "err": "Chagua sababu ya kuondoa rekodi ya mtoto." - }, - "openmrs_choice_ids": { - "Died": "160034AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Moved away": "160415AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Other": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - }, - { - "key": "dob", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "spacer", - "expanded": false, - "read_only": "true", - "hidden": "false" - }, - { - "key": "date_moved", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "164133AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "text", - "type": "date_picker", - "label": "Tarehe aliyohama", - "hint": "Tarehe aliyohama", - "expanded": false, - "min_date": "", - "max_date": "today", - "v_required": { - "value": "true", - "err": "Ingiza tarehe ambayo mwanachama alihama" - }, - "constraints": [ - { - "type": "date", - "ex": "greaterThanEqualTo(., step1:dob)", - "err": "Tarehe ya kuhamishwa haiwezi kuwa kabla ya tarehe ya kuzaliwa" - } - ], - "relevance": { - "step1:remove_reason": { - "type": "string", - "ex": "equalTo(., \"Moved away\")" - } - } - }, - { - "key": "date_died", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1543AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "text", - "type": "date_picker", - "label": "Tarehe ya kifo", - "hint": "Tarehe ya kifo", - "expanded": false, - "min_date": "", - "max_date": "today", - "v_required": { - "value": "true", - "err": "Ingiza tarehe ya kifo" - }, - "constraints": [ - { - "type": "date", - "ex": "greaterThanEqualTo(., step1:dob)", - "err": "Tarehe ya kifo haiwezi kutokea kabla ya tarehe ya kuzaliwa" - } - ], - "relevance": { - "step1:remove_reason": { - "type": "string", - "ex": "equalTo(., \"Died\")" - } - } - }, - { - "key": "age_at_death", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "label": "Umri wakati anafariki", - "hint": "Umri wakati anafariki", - "type": "edit_text", - "read_only": "true", - "relevance": { - "step1:remove_reason": { - "type": "string", - "ex": "equalTo(., \"Died\")" - } - }, - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "child_remove_calculation.yml" - } - } - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/family_details_remove_family.json b/opensrp-chw/src/ba/assets/json.form-sw/family_details_remove_family.json deleted file mode 100644 index 84b8a4047e..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/family_details_remove_family.json +++ /dev/null @@ -1,171 +0,0 @@ -{ - "count": "1", - "encounter_type": "Remove Family", - "entity_id": "", - "relational_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "", - "look_up": { - "entity_id": "", - "value": "" - } - }, - "step1": { - "title": "Ondoa familia", - "fields": [ - { - "key": "spacer", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "spacer", - "spacer_height": "30sp" - }, - { - "key": "fam_name", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "label", - "text": "", - "text_size": "25px" - }, - { - "key": "details", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "label", - "text": "", - "text_size": "25px" - }, - { - "key": "divider1", - "type": "h_line", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "" - }, - { - "key": "spacer", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "spacer", - "spacer_height": "20sp" - }, - { - "key": "closure_reason_fam", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "160417AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Sababu ya kufungwa", - "values": [ - "Kaya imehama", - "Nyingine" - ], - "keys": [ - "Relocation", - "Other" - ], - "v_required": { - "value": "true", - "err": "Chagua sababu ya kuondoa rekodi ya familia." - }, - "openmrs_choice_ids": { - "Relocation": "160415AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Other": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - }, - { - "key": "closure_reason_other_fam", - "openmrs_entity_parent": "160417AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity": "concept", - "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "text", - "type": "edit_text", - "hint": "Sababu nyingine", - "v_required": { - "value": "true", - "err": "Ingiza sababu ya kufungwa" - }, - "relevance": { - "step1:closure_reason_fam": { - "type": "string", - "ex": "equalTo(., \"Other\")" - } - } - }, - { - "key": "closure_reason_relocation_fam", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Kaya imehama", - "values": [ - "Ndani ya wilaya", - "Nje ya wilaya" - ], - "keys": [ - "Within the district", - "Outside the district" - ], - "v_required": { - "value": "true", - "err": "Ingiza sababu ya kufungwa" - }, - "relevance": { - "step1:closure_reason_fam": { - "type": "string", - "ex": "equalTo(., \"Relocation\")" - } - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/family_details_remove_member.json b/opensrp-chw/src/ba/assets/json.form-sw/family_details_remove_member.json deleted file mode 100644 index a95ae42246..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/family_details_remove_member.json +++ /dev/null @@ -1,214 +0,0 @@ -{ - "count": "1", - "encounter_type": "Remove Family Member", - "entity_id": "", - "relational_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "", - "look_up": { - "entity_id": "", - "value": "" - } - }, - "step1": { - "title": "Ondoa mwanafamilia", - "fields": [ - { - "key": "spacer", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "spacer", - "spacer_height": "10sp" - }, - { - "key": "details", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "label", - "text": "", - "text_size": "25px" - }, - { - "key": "divider1", - "type": "h_line", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "" - }, - { - "key": "spacer", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "spacer", - "spacer_height": "15dp" - }, - { - "key": "remove_reason", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "160417AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Sababu ya kuiondoa", - "v_required": { - "value": "true", - "err": "Chagua sababu ya kuondoa rekodi ya familia" - }, - "values": [ - "Kifo", - "Amehama", - "Sababu nyingine" - ], - "keys": [ - "Death", - "Moved away", - "Other" - ], - "openmrs_choice_ids": { - "Died": "160034AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Moved away": "160415AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Other": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - }, - { - "key": "dob", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "spacer", - "expanded": false, - "read_only": "true", - "hidden": "false" - }, - { - "key": "date_moved", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "164133AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "text", - "type": "date_picker", - "label": "Tarehe aliyohama", - "hint": "Tarehe aliyohama", - "expanded": false, - "min_date": "", - "max_date": "today", - "v_required": { - "value": "true", - "err": "Ingiza tarehe ambayo mwanachama alihama" - }, - "constraints": [ - { - "type": "date", - "ex": "greaterThanEqualTo(., step1:dob)", - "err": "Tarehe iliyohamishwa imetokea kabla ya tarehe ya kuzaliwa" - } - ], - "relevance": { - "step1:remove_reason": { - "type": "string", - "ex": "equalTo(., \"Moved away\")" - } - } - }, - { - "key": "date_died", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1543AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "text", - "type": "date_picker", - "label": "Tarehe ya kifo", - "hint": "Tarehe ya kifo", - "expanded": false, - "min_date": "today-80y", - "max_date": "today", - "v_required": { - "value": "true", - "err": "Ingiza tarehe ya kifo" - }, - "constraints": [ - { - "type": "date", - "ex": "greaterThanEqualTo(., step1:dob)", - "err": "Tarehe ya kifo haiwezi kutokea kabla ya tarehe ya kuzaliwa" - } - ], - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_remove_relevance.yml" - } - } - } - }, - { - "key": "age_at_death", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "label": "Umri wakati anafariki", - "hint": "Umri wakati anafariki", - "type": "edit_text", - "read_only": "true", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_remove_relevance.yml" - } - } - }, - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_remove_calculation.yml" - } - } - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/family_register.json b/opensrp-chw/src/ba/assets/json.form-sw/family_register.json deleted file mode 100644 index c71efc9518..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/family_register.json +++ /dev/null @@ -1,898 +0,0 @@ -{ - "validate_on_submit": true, - "show_errors_on_submit": false, - "count": "2", - "encounter_type": "Family Registration", - "entity_id": "", - "relational_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "", - "look_up": { - "entity_id": "", - "value": "" - } - }, - "step1": { - "title": "Taarifa ya familia", - "next": "step2", - "fields": [ - { - "key": "fam_name", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "first_name", - "type": "edit_text", - "hint": "Taarifa ya familia", - "edit_type": "name", - "v_required": { - "value": "true", - "err": "Tafadhali ingiza jina la ukoo" - }, - "v_regex": { - "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Tafadhali ingiza jina la ukoo" - } - }, - { - "key": "unique_id", - "openmrs_entity_parent": "", - "openmrs_entity": "person_identifier", - "openmrs_entity_id": "opensrp_id", - "hidden": "true", - "type": "barcode", - "barcode_type": "qrcode", - "hint": "ID", - "scanButtonText": "Chukua QR code", - "v_numeric": { - "value": "true", - "err": "Tafadhali ingiza namba halali" - } - }, - { - "key": "fam_village", - "openmrs_entity_parent": "", - "openmrs_entity": "person_address", - "openmrs_entity_id": "cityVillage", - "type": "edit_text", - "edit_type": "name", - "hint": "Kijiji / mtaa", - "v_required": { - "value": "true", - "err": "Tafadhali ingiza kijiji au jiji" - }, - "v_regex": { - "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Tafadhali ingiza jina halali la kijiji" - } - }, - { - "key": "landmark", - "openmrs_entity_parent": "", - "openmrs_entity": "person_address", - "openmrs_entity_id": "landmark", - "type": "edit_text", - "edit_type": "name", - "hint": "Alama ya eneo la makazi", - "v_required": { - "value": true, - "err": "Tafadhali ingiza maelezo ya alama au eneo la makazi" - } - }, - { - "key": "gps", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "163277AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "text", - "type": "gps" - }, - { - "key": "spacer", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "spacer", - "spacer_height": "15dp" - }, - { - "key": "nearest_facility", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "162724AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "text", - "type": "tree", - "hint": "Kituo cha karibu cha kutolea huduma za afya", - "tree": [], - "v_required": { - "value": true, - "err": "Tafadhali ingiza kituo cha afya kilicho karibu" - } - } - ] - }, - "step2": { - "title": "Mkuu wa kaya", - "fields": [ - { - "key": "photo", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "choose_image", - "uploadButtonText": "Chukua picha ya muhusika / kiongozi wa familia" - }, - { - "key": "unique_id", - "openmrs_entity_parent": "", - "openmrs_entity": "person_identifier", - "openmrs_entity_id": "opensrp_id", - "type": "edit_text", - "hint": "ID", - "value": "0", - "read_only": "true", - "v_numeric": { - "value": "true", - "err": "Tafadhali ingiza namba halali" - }, - "v_required": { - "value": "true", - "err": "Tafadhali ingiza namba" - } - }, - { - "key": "first_name", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "first_name", - "type": "edit_text", - "hint": "Jina la kwanza", - "edit_type": "name", - "v_required": { - "value": "true", - "err": "Tafadhali ingiza jina la kwanza" - }, - "v_regex": { - "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Tafadhali ingiza jina halali" - } - }, - { - "key": "middle_name", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "middle_name", - "type": "edit_text", - "hint": "Jina la kati", - "edit_type": "name", - "v_required": { - "value": "true", - "err": "Tafadhali ingiza jina la kati" - }, - "v_regex": { - "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Tafadhali ingiza jina halali" - } - }, - { - "key": "surname", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "edit_text", - "hint": "Jina la familia (ukoo)", - "edit_type": "name", - "read_only": "true", - "v_regex": { - "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Tafadhali ingiza jina halali" - }, - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_register_calculation.yml" - } - } - } - }, - { - "key": "dob", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "birthdate", - "type": "date_picker", - "hint": "Tarehe ya kuzaliwa", - "expanded": false, - "duration": { - "label": "Age" - }, - "min_date": "today-120y", - "max_date": "today-15y", - "v_required": { - "value": "true", - "err": "Tafadhali ingiza tarehe ya kuzaliwa" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_register_relevance.yml" - } - } - } - }, - { - "key": "age_calculated", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "hidden", - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_register_calculation.yml" - } - } - } - }, - { - "key": "dob_unknown", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "birthdateApprox", - "type": "check_box", - "label": "", - "options": [ - { - "key": "dob_unknown", - "text": "Tarehe ya kuzaliwa haijulikani?", - "text_size": "18px", - "value": "false" - } - ] - }, - { - "key": "age", - "openmrs_entity_parent": "", - "openmrs_entity": "person_attribute", - "openmrs_entity_id": "age_entered", - "type": "edit_text", - "hint": "Umri", - "v_numeric_integer": { - "value": "true", - "err": "Must be a rounded number" - }, - "v_numeric": { - "value": "true", - "err": "Nambari lazima ianze na 0 na lazima iwe jumla ya nambari 10 kwa urefu" - }, - "v_min": { - "value": "15", - "err": "Umri lazima uwe sawa au mkubwa kuliko 15" - }, - "v_max": { - "value": "120", - "err": "Umri lazima uwe sawa au chini ya 120" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_register_relevance.yml" - } - } - }, - "v_required": { - "value": true, - "err": "Tafadhali ingiza umri" - } - }, - { - "key": "id_avail", - "openmrs_entity_parent": "", - "openmrs_entity": "person_attribute", - "openmrs_entity_id": "id_avail", - "type": "check_box", - "label": "Je, ana kitambulisho chochote kati ya hivi?", - "label_text_style": "normal", - "text_color": "#C0C0C0", - "exclusive": [ - "chk_none" - ], - "options": [ - { - "key": "chk_national_id", - "text": "Kitambulisho cha taifa", - "value": false, - "openmrs_entity": "person_attribute", - "openmrs_entity_id": "chk_national_id" - }, - { - "key": "chk_voters_id", - "text": "Kitambulisho cha mpiga kura", - "value": false, - "openmrs_entity": "person_attribute", - "openmrs_entity_id": "chk_voters_id" - }, - { - "key": "chk_drivers_license", - "text": "Leseni ya dereva", - "value": false, - "openmrs_entity": "person_attribute", - "openmrs_entity_id": "chk_drivers_license" - }, - { - "key": "chk_passport", - "text": "Hati ya kusafiria", - "value": false, - "openmrs_entity": "person_attribute", - "openmrs_entity_id": "chk_passport" - }, - { - "key": "chk_none", - "text": "Hakuna", - "value": false, - "openmrs_entity": "person_attribute", - "openmrs_entity_id": "chk_none" - } - ] - }, - { - "key": "national_id", - "openmrs_entity_parent": "", - "openmrs_entity": "person_attribute", - "openmrs_entity_id": "National_ID", - "type": "edit_text", - "hint": "Namba ya kitambulisho cha taifa", - "edit_type": "name", - "relevance": { - "step2:id_avail": { - "ex-checkbox": [ - { - "or": [ - "chk_national_id" - ] - } - ] - } - } - }, - { - "key": "voter_id", - "openmrs_entity_parent": "", - "openmrs_entity": "person_attribute", - "openmrs_entity_id": "Voter_Registration_Number", - "type": "edit_text", - "hint": "Namba ya kitambulisho cha mpiga kura", - "edit_type": "name", - "relevance": { - "step2:id_avail": { - "ex-checkbox": [ - { - "or": [ - "chk_voters_id" - ] - } - ] - } - } - }, - { - "key": "driver_license", - "openmrs_entity_parent": "", - "openmrs_entity": "person_attribute", - "openmrs_entity_id": "Driver_License_Number", - "type": "edit_text", - "hint": "Namba ya leseni ya udereva", - "edit_type": "name", - "relevance": { - "step2:id_avail": { - "ex-checkbox": [ - { - "or": [ - "chk_drivers_license" - ] - } - ] - } - } - }, - { - "key": "passport", - "openmrs_entity_parent": "", - "openmrs_entity": "person_attribute", - "openmrs_entity_id": "Passport_Number", - "type": "edit_text", - "hint": "Namba ya hati ya kusafiria", - "edit_type": "name", - "relevance": { - "step2:id_avail": { - "ex-checkbox": [ - { - "or": [ - "chk_passport" - ] - } - ] - } - } - }, - { - "key": "insurance_provider", - "openmrs_entity_parent": "", - "openmrs_entity": "person_attribute", - "openmrs_entity_id": "Health_Insurance_Type", - "type": "spinner", - "hint": "Bima ya afya unaotumia", - "values": [ - "Bima ya afya ya jamii (CHF)", - "Bima ya afya ya jamii ulioboreshwa (iCHF)", - "National Social Security Fund - Social Health Insurance Benefit (SHIB)", - "Tiba Kwa Kadi (TIKA)", - "AAR Healthcare", - "Strategies Insurance", - "Milvik Tanzania Ltd (BIMA Mkononi)", - "Britam Insurance Tanzania", - "Jubilee Insurance", - "Resolutions Insurance", - "Reliance Insurance", - "Bima ya afya nyingezo", - "Hakuna" - ], - "keys": [ - "Community Health Fund (CHF)", - "iCHF", - "National Social Security Fund - Social Health Insurance Benefit (SHIB)", - "Tiba Kwa Kadi (TIKA)", - "AAR Healthcare", - "Strategies Insurance", - "Milvik Tanzania Ltd (BIMA Mkononi)", - "Britam Insurance Tanzania", - "Jubilee Insurance", - "Resolutions Insurance", - "Reliance Insurance", - "Other", - "None" - ], - "openmrs_choice_ids": { - "Community Health Fund (CHF)": "Community_Health_Fund", - "iCHF": "iCHF", - "National Social Security Fund - Social Health Insurance Benefit (SHIB)": "National_Social_Security_Fund", - "Tiba Kwa Kadi (TIKA)": "Tiba_kwa_Kadi", - "AAR Healthcare": "AAR_Healthcare", - "AAR Strategies Insurance": "Strategies_Insurance", - "Milvik Tanzania Ltd (BIMA Mkononi)": "BIMA_Mkononi", - "Britam Insurance Tanzania": "Britam_Insurance_Tanzania", - "Jubilee Insurance": "Jubilee_Insurance", - "Resolutions Insurance": "Resolutions_Insurance", - "Reliance Insurance": "Reliance_Insurance", - "Other": "Other_Health_Insurance_Type", - "None": "No_Health_Insurance" - }, - "v_required": { - "value": "true", - "err": "Tafadhali ingiza mfuko wa bima" - } - }, - { - "key": "insurance_provider_other", - "openmrs_entity_parent": "", - "openmrs_entity": "person_attribute", - "openmrs_entity_id": "Other_Health_Insurance_Type", - "type": "edit_text", - "hint": "Bima ya afya mwingine unaotumia", - "v_required": { - "value": "true", - "err": "Tafadhali taja bima" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_register_relevance.yml" - } - } - } - }, - { - "key": "insurance_provider_number", - "openmrs_entity_parent": "", - "openmrs_entity": "person_attribute", - "openmrs_entity_id": "Health_Insurance_Number", - "type": "edit_text", - "hint": "Namba ya bima ya afya unaotumia", - "v_required": { - "value": "true", - "err": "Tafadhali ongeza nambari ya bima ya afya" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_register_relevance.yml" - } - } - } - }, - { - "key": "sex", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "gender", - "type": "spinner", - "hint": "Jinsi", - "values": [ - "Me", - "Ke" - ], - "keys": [ - "Male", - "Female" - ], - "v_required": { - "value": "true", - "err": "Please enter the sex" - } - }, - { - "key": "wra", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "hidden", - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_register_calculation.yml" - } - } - } - }, - { - "key": "mra", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "hidden", - "values": "" - }, - { - "key": "preg_1yr", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "160692AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "spinner", - "hint": "Je, amejifungua ndani ya mwaka 1?", - "values": [ - "Ndiyo", - "Hapana" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Tafadhali chagua ikiwa mwanamke amejifungua katika mwaka 1 uliopita" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_register_relevance.yml" - } - } - } - }, - { - "key": "disabilities", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "162558AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "spinner", - "hint": "Hali ya ulemavu", - "values": [ - "Ndiyo", - "Hapana" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Tafadhali chagua moja" - } - }, - { - "key": "type_of_disability", - "openmrs_entity_parent": "162558AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity": "concept", - "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "edit_text", - "hint": "Aina ya ulemavu", - "v_required": { - "value": "true", - "err": "Tafadhali ingiza aina ya ulemavu" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_register_relevance.yml" - } - } - } - }, - { - "key": "phone_number", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "159635AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "edit_text", - "hint": "Namba ya simu", - "v_numeric": { - "value": "true", - "err": "Nambari lazima iwe jumla ya nambari 10 kwa urefu" - }, - "v_regex": { - "value": "(0[0-9]{9})|\\s*", - "err": "Nambari lazima iwe na nambari 10 na lazima ianze na 0." - } - }, - { - "key": "other_phone_number", - "openmrs_entity_parent": "159635AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity": "concept", - "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "edit_text", - "hint": "Namba za simu nyingine", - "v_numeric": { - "value": "true", - "err": "Nambari lazima iwe jumla ya nambari 10 kwa urefu" - }, - "v_regex": { - "value": "(0[0-9]{9})|\\s*", - "err": "Nambari lazima iwe na nambari 10 na lazima ianze na 0." - } - }, - { - "key": "service_provider", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1542AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "check_box", - "label": "Aina ya kazi anayojishughulisha", - "label_text_style": "normal", - "text_color": "#C0C0C0", - "exclusive": [ - "chk_none" - ], - "options": [ - { - "key": "chk_farmer", - "text": "Mkulima", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1538AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_cs", - "text": "Mtumishi wa serikali", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "162944AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_nurse", - "text": "Muuguzi", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1577AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_teacher", - "text": "Mwalimu", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "162946AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_th", - "text": "Waganga wa tiba asilia (THs)", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1821AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_chw", - "text": "Wahudumu wa afya ngazi ya jamii–WAJA", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1555AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_tba", - "text": "Wakunga wa jadi (TBAs)", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1575AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_chmis", - "text": "Wakusanyaji takwimu za afya katika jamii (cHIMS)", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "163334AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_cbd", - "text": "Wasambazaji wa dawa na vifaa vya uzazi wa mpango katika jamii (CBD)", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1744AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_hbc", - "text": "Watoa huduma kwa wagonjwa majumbani (HBC)", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "161359AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_cimmci", - "text": "Watoa huduma za udhibiti wa magonjwa ya watoto kwa uwiano katika jamii (cIMCI)", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "163096AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_other", - "text": "Nyingine", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_none", - "text": "Hakuna", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua angalau moja" - } - }, - { - "key": "leader", - "openmrs_entity_parent": "", - "openmrs_entity": "person_attribute", - "openmrs_entity_id": "Community_Leader", - "type": "check_box", - "label": "Una jukumu lolote la uongozi kwenye ngazi ya jamii?", - "label_text_style": "normal", - "text_color": "#C0C0C0", - "exclusive": [ - "chk_none" - ], - "options": [ - { - "key": "chk_religious", - "text": "Kiongozi wa dini", - "value": false, - "openmrs_entity": "person_attribute", - "openmrs_entity_id": "Religious_Leader" - }, - { - "key": "chk_traditional", - "text": "Kiongozi wa kimila", - "value": false, - "openmrs_entity": "person_attribute", - "openmrs_entity_id": "Traditional_leader" - }, - { - "key": "chk_political", - "text": "Kiongozi wa kisiasa", - "value": false, - "openmrs_entity": "person_attribute", - "openmrs_entity_id": "Political_leader" - }, - { - "key": "chk_influential", - "text": "Mtu mwenye ushawishi kwenye jamii", - "value": false, - "openmrs_entity": "person_attribute", - "openmrs_entity_id": "Influential_Leader" - }, - { - "key": "chk_other", - "text": "Nyinginezo", - "value": false, - "openmrs_entity": "person_attribute", - "openmrs_entity_id": "Other_Community_Leader_Type" - }, - { - "key": "chk_none", - "text": "Hakuna", - "value": false, - "openmrs_entity": "person_attribute", - "openmrs_entity_id": "Not_a_Community_Leader" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua angalau moja" - } - }, - { - "key": "leader_other", - "openmrs_entity_parent": "", - "openmrs_entity": "person_attribute", - "openmrs_entity_id": "Other_Community_Leader_Type_Name", - "type": "edit_text", - "hint": "Taja hayo majukumu mengine", - "edit_type": "name", - "v_required": { - "value": "true", - "err": "Tafadhali taja jukumu" - }, - "relevance": { - "step2:leader": { - "ex-checkbox": [ - { - "or": [ - "chk_other" - ] - } - ] - } - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/female_family_planning_change_method.json b/opensrp-chw/src/ba/assets/json.form-sw/female_family_planning_change_method.json deleted file mode 100644 index 80cd54b07c..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/female_family_planning_change_method.json +++ /dev/null @@ -1,1018 +0,0 @@ -{ - "validate_on_submit": false, - "show_errors_on_submit": false, - "skip_blank_steps": true, - "count": "3", - "encounter_type": "Family Planning Change Method", - "entity_id": "", - "relational_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Change or Stop FP form", - "next": "step2", - "fields": [ - { - "key": "fp_change_or_stop_date", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "fp_change_or_stop_date", - "type": "hidden", - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_calculation.yml" - } - } - } - }, - { - "key": "age", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "age", - "type": "hidden" - }, - { - "key": "reason_stop_fp_chw", - "type": "native_radio", - "openmrs_entity": "concept", - "openmrs_entity_id": "164901AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "label": "Sababu za kuacha kutumia njia za uzazi wa mpango ya sasa", - "options": [ - { - "key": "side_effects", - "openmrs_entity": "concept", - "openmrs_entity_id": "164154AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Madhara" - }, - { - "key": "wants_to_conceive", - "openmrs_entity": "concept", - "openmrs_entity_id": "160571AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Anataka mimba" - }, - { - "key": "doesnt_want_to_use_anymore", - "openmrs_entity": "concept", - "openmrs_entity_id": "164260AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Hataki kutumia sasa" - }, - { - "key": "menopause", - "openmrs_entity": "concept", - "openmrs_entity_id": "134346AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Kukoma kwa uzazi" - }, - { - "key": "decided_to_change_method", - "openmrs_entity": "concept", - "openmrs_entity_id": "163494AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "value": false, - "text": "Aliamua kubadilisha mpango wa uzazi" - }, - { - "key": "others", - "openmrs_entity": "concept", - "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Nyingine" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - } - }, - { - "key": "other_reason_fp_chw", - "type": "edit_text", - "openmrs_entity": "concept", - "openmrs_entity_id": "other_reason_fp_chw", - "openmrs_entity_parent": "164901AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "edit_type": "name", - "hint": "Sababu nyingine", - "v_required": { - "value": "true", - "err": "Required" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - } - }, - { - "key": "side_effects_fp", - "type": "edit_text", - "openmrs_entity": "concept", - "openmrs_entity_id": "side_effects_fp", - "openmrs_entity_parent": "164154AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "edit_type": "name", - "hint": "Madhara", - "v_required": { - "value": "true", - "err": "Required" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - } - } - ] - }, - "step2": { - "title": "Njia ya uzazi wa mpango", - "next": "step3", - "fields": [ - { - "key": "pill", - "type": "native_radio", - "openmrs_entity": "concept", - "openmrs_entity_id": "pill", - "openmrs_entity_parent": "", - "label": "Je, anataka kutumia vidonge kwa njia za uzazi wa mpango?", - "options": [ - { - "key": "yes", - "openmrs_entity": "concept", - "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Ndiyo" - }, - { - "key": "no", - "openmrs_entity": "concept", - "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Hapana" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - } - }, - { - "key": "user_toaster_info", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "toaster_notes", - "text": "Oral Contraception check List", - "toaster_info_text": "Orodha hakiki ya kutoa vidonge vya kumeza vyenye vichocheo kimoja au viwili", - "toaster_type": "info", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - } - }, - { - "key": "breast_lump", - "type": "native_radio", - "openmrs_entity": "concept", - "openmrs_entity_id": "breast_lump", - "openmrs_entity_parent": "", - "label": "Je, ana uvimbe wowote kwenye matiti?", - "options": [ - { - "key": "yes", - "openmrs_entity": "concept", - "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Ndiyo" - }, - { - "key": "no", - "openmrs_entity": "concept", - "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Hapana" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - } - }, - { - "key": "abnormal_vaginal", - "type": "native_radio", - "openmrs_entity": "concept", - "openmrs_entity_id": "abnormal_vaginal", - "openmrs_entity_parent": "", - "label": "Je, anatokwa na majimaji yasiyo ya kawaida kama damu au usaha ukeni?", - "options": [ - { - "key": "yes", - "openmrs_entity": "concept", - "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Ndiyo" - }, - { - "key": "no", - "openmrs_entity": "concept", - "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Hapana" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - } - }, - { - "key": "pregnant", - "type": "native_radio", - "openmrs_entity": "concept", - "openmrs_entity_id": "pregnant", - "openmrs_entity_parent": "", - "label": "Je, yeye ni mjauzito?", - "options": [ - { - "key": "yes", - "openmrs_entity": "concept", - "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Ndiyo" - }, - { - "key": "no", - "openmrs_entity": "concept", - "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Hapana" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - } - }, - { - "key": "difficultly_breathing", - "type": "native_radio", - "openmrs_entity": "concept", - "openmrs_entity_id": "difficultly_breathing", - "openmrs_entity_parent": "", - "label": "Je, anapata maumivu makali ya kifua na kushindwa kupumua?", - "options": [ - { - "key": "yes", - "openmrs_entity": "concept", - "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Ndiyo" - }, - { - "key": "no", - "openmrs_entity": "concept", - "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Hapana" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - } - }, - { - "key": "headaches", - "type": "native_radio", - "openmrs_entity": "concept", - "openmrs_entity_id": "headaches", - "openmrs_entity_parent": "", - "label": "Je, ana kawaida ya kuumwa kichwa sana kikiambatana na kichefuchefu, kutapika au kutokuona vizuri?", - "options": [ - { - "key": "yes", - "openmrs_entity": "concept", - "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Ndiyo" - }, - { - "key": "no", - "openmrs_entity": "concept", - "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Hapana" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - } - }, - { - "key": "frequent_urge", - "type": "native_radio", - "openmrs_entity": "concept", - "openmrs_entity_id": "frequent_urge", - "openmrs_entity_parent": "", - "label": "Je, anasikia kiu mara kwa mara, kukojoa mara mara na kusikia uchovu?", - "options": [ - { - "key": "yes", - "openmrs_entity": "concept", - "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Ndiyo" - }, - { - "key": "no", - "openmrs_entity": "concept", - "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Hapana" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - } - }, - { - "key": "falling_loss_unconsciousness", - "type": "native_radio", - "openmrs_entity": "concept", - "openmrs_entity_id": "falling_loss_unconsciousness", - "openmrs_entity_parent": "", - "label": "Je, ana matatizo ya kuanguka/kuzimia na kupoteza fahamu?", - "options": [ - { - "key": "yes", - "openmrs_entity": "concept", - "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Ndiyo" - }, - { - "key": "no", - "openmrs_entity": "concept", - "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Hapana" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - } - }, - { - "key": "breastfeed", - "type": "native_radio", - "openmrs_entity": "concept", - "openmrs_entity_id": "breastfeed", - "openmrs_entity_parent": "", - "label": "Je, ananyonyesha mtoto chini ya miezi 6, na ana upungufu wowote katika utoaji wa maziwa?", - "options": [ - { - "key": "yes", - "openmrs_entity": "concept", - "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Ndiyo" - }, - { - "key": "no", - "openmrs_entity": "concept", - "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Hapana" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - } - }, - { - "key": "COC_POP", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "COC_POP", - "type": "hidden", - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_calculation.yml" - } - } - } - }, - { - "key": "POP", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "POP", - "type": "hidden", - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_calculation.yml" - } - } - } - }, - { - "key": "no_pill", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "no_pill", - "type": "hidden", - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_calculation.yml" - } - } - } - }, - { - "key": "COC_POP_note", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "toaster_notes", - "text": "Mteja anaweza kumeza vidonge vya kumeza vyenye vichocheo kimoja au viwili", - "toaster_info_text": "COC au POP:\nMteja anaweza kumeza vidonge vya kumeza vyenye vichocheo kimoja au viwili", - "toaster_type": "info", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - } - }, - { - "key": "POP_note", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "toaster_notes", - "text": "Mteja anaweza kumeza vidonge vya kumeza vyenye vichocheo kimoja", - "toaster_info_text": "POP tu:\nMteja anaweza kumeza vidonge vya kumeza vyenye vichocheo kimoja", - "toaster_type": "info", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - } - }, - { - "key": "no_pill_note", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "toaster_notes", - "text": "Mteja haiweza kumeza vidonge vya kumeza vyenye vichocheo kimoja au viwili. Mshauri mteja kutumia kondomu, na mpe rufaa kwenda kuonana na mtoa huduma za afya katika kituo cha huduma.", - "toaster_info_text": "Haiweza:\nMteja haiweza kumeza vidonge vya kumeza vyenye vichocheo kimoja au viwili. Mshauri mteja kutumia kondomu, na mpe rufaa kwenda kuonana na mtoa huduma za afya katika kituo cha huduma.", - "toaster_type": "info", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - } - }, - { - "key": "fp_method_chosen", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "374AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Njia za uzazi wa mpango selected", - "values": [ - "Kondomu ya kiume", - "Kondomu ya kike", - "Vidonge vya kumeza vyenye vichocheo viwili", - "Vidonge vya kumeza vyenye vichocheo kimoja", - "Shanga", - "Sindano", - "Kitanzi", - "Kipandikizi cha miaka 3", - "Kipandikizi cha miaka 5", - "Kufunga kizazi mwanamke", - "Kufunga kizazi mwanamme" - ], - "keys": [ - "Male condom", - "Female condom", - "COC", - "POP", - "Standard day method", - "Injectable", - "IUCD", - "Implanon - NXT", - "Jadelle", - "Female sterilization", - "Male sterilization" - ], - "openmrs_choice_ids": { - "Male condom": "164813AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Female condom": "164814AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "COC": "159783AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "POP": "159784AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Standard day method": "5277AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Injectable": "5279AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "IUCD": "5275AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Implanon - NXT": "76022AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Jadelle": "1873AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Female sterilization": "5276AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Male sterilization": "1489AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - } - }, - { - "key": "fp_method_accepted", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "fp_method_accepted", - "type": "hidden", - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_calculation.yml" - } - } - } - } - ] - }, - "step3": { - "title": "Taarifa ya njia ya uzazi wa mpango", - "fields": [ - { - "key": "no_condoms", - "openmrs_entity_parent": "190AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity": "concept", - "openmrs_entity_id": "no_condoms", - "type": "edit_text", - "edit_type": "number", - "hint": "Amepata vipande vya kondpmu vingapi?", - "v_required": { - "value": "true", - "err": "Equal or greater than 0" - }, - "v_numeric_integer": { - "value": "true", - "err": "Must be a rounded number" - }, - "v_min": { - "value": "0", - "err": "Number must be equal or greater than 0" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - } - }, - { - "key": "fp_start_condom", - "openmrs_entity_parent": "190AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity": "concept", - "openmrs_entity_id": "163171AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "hidden", - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_calculation.yml" - } - } - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - } - }, - { - "key": "no_pillcycles", - "openmrs_entity_parent": "5274AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity": "concept", - "openmrs_entity_id": "163171AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "edit_text", - "edit_type": "number", - "hint": "Amepata saiko ngapi?", - "v_required": { - "value": "true", - "err": "Equal or greater than 0" - }, - "v_numeric_integer": { - "value": "true", - "err": "Must be a rounded number" - }, - "v_min": { - "value": "0", - "err": "Number must be equal or greater than 0" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - } - }, - { - "key": "fp_start_cocpop", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "fp_start_cocpop", - "type": "date_picker", - "hint": "Je, alianza au anapanga kuanza vidonge vya kumeza vyenye vichocheo viwili au kimoja lini?", - "max_date": "today", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - }, - "v_required": { - "value": "true", - "err": "Required" - } - }, - { - "key": "counselling_use", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "counselling_use", - "type": "spinner", - "hint": "Je, mteja ameshauri jinsi ya kutumia njia za uzazi wa mpango?", - "values": [ - "Ndiyo", - "Hapana" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Please select one choice" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - } - }, - { - "key": "fp_start_injectable", - "openmrs_entity_parent": "5279AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity": "concept", - "openmrs_entity_id": "162881AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "date_picker", - "hint": "Tarehe ya sindano iliopita", - "max_date": "today", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - }, - "v_required": { - "value": "true", - "err": "Required" - } - }, - { - "key": "next_injection_due_date", - "openmrs_entity_parent": "5279AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity": "5096AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_id": "next_injection_due_date", - "type": "edit_text", - "hint": "Tarehe ya sindano ijayo:", - "read_only": "true", - "value": "0", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - }, - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_calculation.yml" - } - } - } - }, - { - "key": "fp_start_iucd", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "fp_start_iucd", - "type": "date_picker", - "hint": "Tarehe ya kuweka kitanzi", - "max_date": "today", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - }, - "v_required": { - "value": "true", - "err": "Required" - } - }, - { - "key": "fp_start_implant_nxt", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "fp_start_implant_nxt", - "type": "date_picker", - "hint": "Tarehe ya kuweka kipandikizi cha miaka 3", - "max_date": "today", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - }, - "v_required": { - "value": "true", - "err": "Required" - } - }, - { - "key": "fp_start_implant_jad", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "fp_start_implant_jad", - "type": "date_picker", - "hint": "Tarehe ya kuweka vipandikizi vya miaka 5", - "max_date": "today", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - }, - "v_required": { - "value": "true", - "err": "Required" - } - }, - { - "key": "fp_start_female_ster", - "openmrs_entity_parent": "5276AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity": "concept", - "openmrs_entity_id": "fp_start_female_ster", - "type": "date_picker", - "hint": "Tarehe y kufunga kizazi mwanmke", - "max_date": "today", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - }, - "v_required": { - "value": "true", - "err": "Required" - } - }, - { - "key": "fp_start_male_ster", - "openmrs_entity_parent": "1489AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity": "concept", - "openmrs_entity_id": "fp_start_male_ster", - "type": "date_picker", - "hint": "Tarehe ya kufunga kizazi mwanamume ya mume wake", - "max_date": "today", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - }, - "v_required": { - "value": "true", - "err": "Required" - } - }, - { - "key": "fp_male_ster_note", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "toaster_notes", - "text": "Tumia kondomu kwa miezi mitatu kuzuia ujazito", - "toaster_info_text": "Tumia kondomu kwa miezi mitatu kuzuia ujazito", - "toaster_type": "info", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - } - }, - { - "key": "referral_given", - "type": "native_radio", - "openmrs_entity": "concept", - "openmrs_entity_id": "referral_given", - "openmrs_entity_parent": "", - "label": "Rufaa iliyotolewa", - "options": [ - { - "key": "yes", - "openmrs_entity": "concept", - "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Ndiyo" - }, - { - "key": "no", - "openmrs_entity": "concept", - "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Hapana" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - } - }, - { - "key": "fp_start_date", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "163526AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "edit_text", - "hidden": "true", - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_calculation.yml" - } - } - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/female_fp_referral_form.json b/opensrp-chw/src/ba/assets/json.form-sw/female_fp_referral_form.json deleted file mode 100644 index 4d1da72bf7..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/female_fp_referral_form.json +++ /dev/null @@ -1,535 +0,0 @@ -{ - "count": "1", - "encounter_type": "Family Planning Referral", - "entity_id": "", - "relational_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "", - "look_up": { - "entity_id": "", - "value": "" - } - }, - "step1": { - "title": "Family Planning Referral", - "fields": [ - { - "key": "fp_method_accepted_referral", - "type": "native_radio", - "openmrs_entity": "concept", - "openmrs_entity_id": "374AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "label": "Njia ya uzazi wa mpango aliyochagua na anaohitaji rufaa", - "label_text_style": "bold", - "options": [ - { - "key": "Male_condom", - "openmrs_entity": "", - "openmrs_entity_id": "164813AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Kondomu ya kiume" - }, - { - "key": "Female_condom", - "openmrs_entity": "", - "openmrs_entity_id": "164814AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Kondomu ya kike" - }, - { - "key": "COC", - "openmrs_entity": "", - "openmrs_entity_id": "159783AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Vidonge vya kumeza vyenye vichocheo viwili" - }, - { - "key": "POP", - "openmrs_entity": "", - "openmrs_entity_id": "159784AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Vidonge vya kumeza vyenye vichocheo kimoja" - }, - { - "key": "Standard_day_method", - "openmrs_entity": "", - "openmrs_entity_id": "5277AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Shanga" - }, - { - "key": "Emergency_contraceptive", - "openmrs_entity": "", - "openmrs_entity_id": "160570AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Uzazi wa dharura" - }, - { - "key": "Injectable", - "openmrs_entity": "", - "openmrs_entity_id": "5279AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Sindano" - }, - { - "key": "IUCD", - "openmrs_entity": "", - "openmrs_entity_id": "5275AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Kitanzi" - }, - { - "key": "Implanon_NXT", - "openmrs_entity": "", - "openmrs_entity_id": "76022AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Kipandikizi cha miaka 3" - }, - { - "key": "Jadelle", - "openmrs_entity": "", - "openmrs_entity_id": "1873AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Kipandikizi cha miaka 5" - }, - { - "key": "Female_sterilization", - "openmrs_entity": "", - "openmrs_entity_id": "5276AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Kufunga kizazi mwanamke" - }, - { - "key": "Male_sterilization", - "openmrs_entity": "", - "openmrs_entity_id": "1489AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Kufunga kizazi mwanamme" - }, - { - "key": "None", - "openmrs_entity": "", - "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Hakuna" - }, - { - "key": "Not_applicable", - "openmrs_entity": "", - "openmrs_entity_id": "1175AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Si husika" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - } - }, - { - "key": "side_effects_sterialization", - "type": "check_box", - "openmrs_entity": "", - "openmrs_entity_id": "", - "openmrs_entity_parent": "", - "label": "Madhara/maudhi yatokanayo na njia za uzazi wa mpango", - "label_text_style": "bold", - "exclusive": [ - "None", - "Not_applicable" - ], - "options": [ - { - "key": "Incisional_bleeding", - "text": "Kutokwa damu", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "147241AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Pus_Discharge_from_incision", - "text": "Kutokwa usaha", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "164495AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Swollen_around_the_incision", - "text": "Kuvimba kwenye kidonda", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "159012AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Others", - "text": "Madhara mengineyo", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "None", - "text": "Hakuna", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Not_applicable", - "text": "Si husika", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "1175AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "fp_referral_relevance.yml" - } - } - } - }, - { - "key": "side_effects_iucd", - "type": "check_box", - "openmrs_entity": "", - "openmrs_entity_id": "", - "openmrs_entity_parent": "", - "label": "Madhara/maudhi yatokanayo na njia za uzazi wa mpango", - "label_text_style": "bold", - "options": [ - { - "key": "Severe_pain_inside_the_vagina_after_IUD_was_put_in", - "text": "Maumivu makali ndani ya uke baada kuwekewa kitanzi", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "123385AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Cramping_or_backaches_for_a_few_days_after_the_IUD_is_put_in", - "text": "Maumivu ya tumbo au kiuno siku chache baada ya kuwekewa kitanzi", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "148031AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Spotting_between_periods_and_or_irregular_periods", - "text": "Hedhi kutofuata mzunguko wa kawaida", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "116616AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Heavier_periods_and_worse_menstrual_cramps", - "text": "Kutokwa damu nyingi na maumivu makali wakati wa hedhi", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "156197AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "IUCD_explusion", - "text": "Kufukuzwa kwa kitanzi", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "157401AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Others", - "text": "Madhara mengineyo", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "None", - "text": "Hakuna", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Not_applicable", - "text": "Si husika", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "1175AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "fp_referral_relevance.yml" - } - } - } - }, - { - "key": "side_effects_implant", - "type": "check_box", - "openmrs_entity": "", - "openmrs_entity_id": "", - "openmrs_entity_parent": "", - "label": "Madhara/maudhi yatokanayo na njia za uzazi wa mpango ", - "label_text_style": "bold", - "options": [ - { - "key": "Insertion_site_infected_pus_discharge", - "text": "Kutokwa usaha sehemu alipowekewa kipandikizi", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "164495AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Insertion_site_swollen", - "text": "Imevimba sehemu alipowekewa kipandikizi", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "159012AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Implant_expulsion", - "text": "Kipandikizi kimetoka", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "144458AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Heavy_bleeding", - "text": "Kutokwa damu nyingi wakati wa hedhi", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "136756AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Others", - "text": "Madhara mengineyo", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "None", - "text": "Hakuna", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Not_applicable", - "text": "Si husika", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "1175AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "fp_referral_relevance.yml" - } - } - } - }, - { - "key": "side_effects_inject_pills", - "type": "check_box", - "openmrs_entity": "", - "openmrs_entity_id": "", - "openmrs_entity_parent": "", - "label": "Madhara/maudhi yatokanayo na njia za uzazi wa mpango", - "label_text_style": "bold", - "options": [ - { - "key": "Heavy_bleeding_", - "text": "Kutokwa damu nyingi wakati wa hedhi", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "136756AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Irregular_periods", - "text": "Kutopangiliwa kwa mzunguko wa hedhi", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "116616AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Others", - "text": "Madhara mengineyo", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "None", - "text": "Hakuna", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Not_applicable", - "text": "Si husika", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "1175AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "fp_referral_relevance.yml" - } - } - } - }, - { - "key": "fp_side_effects", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "165273AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "hidden", - "is_problem": false, - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "fp_referral_calculation.yml" - } - } - } - }, - { - "key": "fp_side_effects_other", - "type": "edit_text", - "openmrs_entity": "concept", - "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "hint": "Madhara mengineyo", - "v_required": { - "value": "true", - "err": "Tafadhali andika aadhara mengineyo" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "fp_referral_relevance.yml" - } - } - } - },{ - "key": "referral_date_fp", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "163181AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "hidden", - "is_problem": false, - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "fp_referral_calculation.yml" - } - } - } - }, - { - "key": "referral_time_fp", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "hidden", - "is_problem": false, - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "fp_referral_calculation.yml" - } - } - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/fp_followup_counsel.json b/opensrp-chw/src/ba/assets/json.form-sw/fp_followup_counsel.json deleted file mode 100644 index 1b89ff52eb..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/fp_followup_counsel.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "count": "1", - "encounter_type": "FP Follow up visit Counselling", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Ushauri", - "fields": [ - { - "key": "fp_counselling", - "type": "native_radio", - "openmrs_entity": "concept", - "openmrs_entity_id": "1382AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "label": "Je, anapata ushauri wowote wa uzazi wa mpango?", - "options": [ - { - "key": "yes", - "openmrs_entity": "concept", - "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Yes" - }, - { - "key": "no", - "openmrs_entity": "concept", - "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "No" - } - ], - "v_required": { - "value": "true", - "err": "Thamani hii haiwezi kuwa laini" - } - } - - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/fp_followup_resupply.json b/opensrp-chw/src/ba/assets/json.form-sw/fp_followup_resupply.json deleted file mode 100644 index 5216d41f12..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/fp_followup_resupply.json +++ /dev/null @@ -1,159 +0,0 @@ -{ - "count": "1", - "encounter_type": "FP Follow up Visit Resupply", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Kujaza tena au mara ya kwenda kituo cha afya tena", - "fields": [ - { - "key": "fp_method", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "spacer", - "read_only": "true" - }, - { - "key": "no_condoms", - "type": "edit_text", - "openmrs_entity": "concept", - "openmrs_entity_id": "163171AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "190AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "edit_type": "number", - "hint": "Amepata vipande vya kondpmu vingapi?", - "v_required": { - "value": "true", - "err": "this value cannot be null" - }, - "v_numeric_integer": { - "value": "true", - "err": "Must be a rounded number" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "fp_followup_resupply.yml" - } - } - } - }, - { - "key": "no_pillcycles", - "type": "edit_text", - "openmrs_entity": "concept", - "openmrs_entity_id": "163171AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "5274AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "edit_type": "number", - "hint": "Amepata saiko ngapi?", - "v_required": { - "value": "true", - "err": "this value cannot be null" - }, - "v_numeric_integer": { - "value": "true", - "err": "Must be a rounded number" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "fp_followup_resupply.yml" - } - } - } - }, - { - "key": "fp_refill_injectable", - "openmrs_entity_parent": "5279AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity": "concept", - "openmrs_entity_id": "162881AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "date_picker", - "hint": "Tarehe ya sindano iliyopita", - "expanded": false, - "duration": { - "label": "last injection" - }, - "min_date": "today-120y", - "max_date": "today", - "v_required": { - "value": "true", - "err": "Tarehe ya sindano iliyopita" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "fp_followup_resupply.yml" - } - } - } - }, - { - "key": "next_injection_date", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "toaster_notes", - "text": "Tarehe ya sindano ijayo: {fp_refill_injectable}", - "text_color": "#1199F9", - "toaster_type": "info", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "fp_followup_resupply.yml" - } - } - }, - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "fp_followup_resupply_calculation.yml" - } - } - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/fp_followup_side_effects.json b/opensrp-chw/src/ba/assets/json.form-sw/fp_followup_side_effects.json deleted file mode 100644 index 84571faecc..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/fp_followup_side_effects.json +++ /dev/null @@ -1,399 +0,0 @@ -{ - "count": "1", - "encounter_type": "FP Follow-up Visit Side-effects", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Madhara", - "fields": [ - { - "key": "fp_method", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "spacer", - "read_only": "true" - }, - { - "key": "condom_side_effects", - "type": "spinner", - "openmrs_entity": "concept", - "openmrs_entity_id": "165273AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "190AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "values": [ - "Athari za mzio", - "Madhara mengineyo", - "Hakuna" - ], - "keys": [ - "Allergic_reactions", - "Others", - "None" - ], - "openmrs_choice_ids": { - "Allergic_reactions": "149086AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Others": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "None": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "hint": "Je, ni madhara gani ambayo yeye amepata tangu kutumia kondom?", - "v_required": { - "value": "true", - "err": "Thamani hii haiwezi kuwa laini" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "fp_followup_side_effects.yml" - } - } - } - }, - { - "key": "condom_side_effects_other", - "type": "edit_text", - "openmrs_entity": "concept", - "openmrs_entity_id": "164377AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "190AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "edit_type": "name", - "hint": "Madhara mengineyo:", - "v_required": { - "value": "true", - "err": "Thamani hii haiwezi kuwa laini" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "fp_followup_side_effects.yml" - } - } - } - }, - { - "key": "cocpop_side_effects", - "type": "spinner", - "openmrs_entity": "concept", - "openmrs_entity_id": "165273AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "5274AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "values": [ - "Kutokwa damu nyingi wakati wa hedhi", - "Kutopangiliwa kwa mzunguko wa hedhi", - "Madhara mengineyo", - "Hakuna" - ], - "keys": [ - "Heavy_bleeding_", - "Irregular_periods", - "Others", - "None" - ], - "openmrs_choice_ids": { - "Heavy_bleeding_": "136756AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Irregular_periods": "116616AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Others": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "None": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "hint": "Je, ni madhara gani ambayo yeye amepata tangu kutumia vidonge vya kumeza vyenye vichocheo viwili/kimoja?", - "v_required": { - "value": "true", - "err": "Thamani hii haiwezi kuwa laini" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "fp_followup_side_effects.yml" - } - } - } - }, - { - "key": "cocpop_side_effects_other", - "type": "edit_text", - "openmrs_entity": "concept", - "openmrs_entity_id": "164377AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "5274AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "edit_type": "name", - "hint": "Madhara mengineyo:", - "v_required": { - "value": "true", - "err": "Thamani hii haiwezi kuwa laini" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "fp_followup_side_effects.yml" - } - } - } - }, - { - "key": "inject_side_effects", - "type": "spinner", - "openmrs_entity": "concept", - "openmrs_entity_id": "165273AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "5279AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "values": [ - "Kutokwa damu nyingi wakati wa hedhi", - "Kutopangiliwa kwa mzunguko wa hedhi", - "Madhara mengineyo", - "Hakuna" - ], - "keys": [ - "Heavy_bleeding_", - "Irregular_periods", - "Others", - "None" - ], - "openmrs_choice_ids": { - "Heavy_bleeding_": "136756AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Irregular_periods": "116616AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Others": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "None": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "hint": "Je, ni madhara gani ambayo yeye amepata tangu kutumia sindano?", - "v_required": { - "value": "true", - "err": "Thamani hii haiwezi kuwa laini" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "fp_followup_side_effects.yml" - } - } - } - }, - { - "key": "inject_side_effects_other", - "type": "edit_text", - "openmrs_entity": "concept", - "openmrs_entity_id": "164377AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "5279AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "edit_type": "name", - "hint": "Madhara mengineyo:", - "v_required": { - "value": "true", - "err": "Thamani hii haiwezi kuwa laini" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "fp_followup_side_effects.yml" - } - } - } - }, - { - "key": "IUCD_side_effects", - "type": "spinner", - "openmrs_entity": "concept", - "openmrs_entity_id": "165273AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "5275AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "values": [ - "Maumivu makali ndani ya uke baada kuwekewa kitanzi", - "Maumivu ya tumbo au kiuno siku chache baada ya kuwekewa kitanzi", - "Hedhi kutofuata mzunguko wa kawaida", - "Kutokwa damu nyingi na maumivu makali wakati wa hedhi", - "Kufukuzwa kwa kitanzi", - "Madhara mengineyo", - "Hakuna" - ], - "keys": [ - "Severe_pain_inside_the_vagina_after_IUD_was_put_in", - "Cramping_or_backaches_for_a_few_days_after_the_IUD_is_put_in", - "Spotting_between_periods_and_or_irregular_periods", - "Heavier_periods_and_worse_menstrual_cramps", - "IUCD_explusion", - "Others", - "None" - ], - "openmrs_choice_ids": { - "Severe_pain_inside_the_vagina_after_IUD_was_put_in": "123385AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Cramping_or_backaches_for_a_few_days_after_the_IUD_is_put_in": "148031AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Spotting_between_periods_and_or_irregular_periods": "116616AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Heavier_periods_and_worse_menstrual_cramps": "156197AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "IUCD_explusion": "157401AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Others": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "None": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "hint": "Je, ni madhara gani ambayo yeye amepata tangu kutumia kitanzi?", - "v_required": { - "value": "true", - "err": "Thamani hii haiwezi kuwa laini" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "fp_followup_side_effects.yml" - } - } - } - }, - { - "key": "IUCD_side_effects_other", - "type": "edit_text", - "openmrs_entity": "concept", - "openmrs_entity_id": "164377AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "5275AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "edit_type": "name", - "hint": "Madhara mengineyo:", - "v_required": { - "value": "true", - "err": "Thamani hii haiwezi kuwa laini" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "fp_followup_side_effects.yml" - } - } - } - }, - { - "key": "sterilization_side_effects", - "type": "spinner", - "openmrs_entity": "concept", - "openmrs_entity_id": "165273AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "5276AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "values": [ - "Kutokwa damu", - "Kutokwa usaha", - "Kuvimba kwenye kidonda", - "Madhara mengineyo", - "Hakuna" - ], - "keys": [ - "Incisional_bleeding", - "Pus_Discharge_from_incision", - "Swollen_around_the_incision", - "Others", - "None" - ], - "openmrs_choice_ids": { - "Incisional_bleeding": "147241AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Pus_Discharge_from_incision": "164495AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Swollen_around_the_incision": "159012AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Others": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "None": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "hint": "Je, ni madhara gani ya yeye ambayo mteja amepata kufunga kizazi?", - "v_required": { - "value": "true", - "err": "Thamani hii haiwezi kuwa laini" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "fp_followup_side_effects.yml" - } - } - } - }, - { - "key": "sterilization_side_effects_other", - "type": "edit_text", - "openmrs_entity": "concept", - "openmrs_entity_id": "164377AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "5276AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "edit_type": "name", - "hint": "Madhara mengineyo:", - "v_required": { - "value": "true", - "err": "Thamani hii haiwezi kuwa laini" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "fp_followup_side_effects.yml" - } - } - } - }, - { - "key": "action_taken", - "type": "native_radio", - "openmrs_entity": "concept", - "openmrs_entity_id": "164378AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "label": "Hatua zilizochukuliwa", - "options": [ - { - "key": "managed", - "openmrs_entity": "concept", - "openmrs_entity_id": "140959AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Alisimamia" - }, - { - "key": "referred", - "openmrs_entity": "concept", - "openmrs_entity_id": "1648AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Alimkupata rufaa" - }, - { - "key": "no_action_taken", - "openmrs_entity": "concept", - "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Hajafanya chochote" - } - ], - "v_required": { - "value": "true", - "err": "Thamani hii haiwezi kuwa laini" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "fp_followup_side_effects.yml" - } - } - } - - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/hiv_community_followup_feedback.json b/opensrp-chw/src/ba/assets/json.form-sw/hiv_community_followup_feedback.json new file mode 100644 index 0000000000..aa1469bd6b --- /dev/null +++ b/opensrp-chw/src/ba/assets/json.form-sw/hiv_community_followup_feedback.json @@ -0,0 +1,144 @@ +{ + "form": "HIV Community Followup Feedback", + "count": "1", + "encounter_type": "HIV Community Followup Feedback", + "entity_id": "", + "relational_id": "", + "rules_file": "rule/hiv_community_followup_feedback_rules.yml", + "metadata": { + "start": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "start", + "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "end": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "end", + "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "today": { + "openmrs_entity_parent": "", + "openmrs_entity": "encounter", + "openmrs_entity_id": "encounter_date" + }, + "deviceid": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "deviceid", + "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "subscriberid": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "subscriberid", + "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "simserial": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "simserial", + "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "phonenumber": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "phonenumber", + "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "encounter_location": "", + "look_up": { + "entity_id": "", + "value": "" + } + }, + "steps": [ + { + "title": "Fomu ya mrejesho wa ufwatiliaji wa mteja wenye HIV", + "fields": [ + { + "name": "followup_status", + "type": "spinner", + "properties": { + "text": "Followup Feedback" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "followup_status", + "openmrs_entity_parent": "" + }, + "options": [ + { + "name": "continuing_with_services", + "text": "Anaendelea na Huduma.", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "continuing_with_services", + "openmrs_entity_parent": "" + } + }, + { + "name": "deceased", + "text": "Amefariki", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "deceased", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_not_found", + "text": "Hapatikani", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_not_found", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_relocated_to_another_location", + "text": "Amehamishiwa mahali pengine", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_relocated_to_another_location", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_has_moved", + "text": "Amehama", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_has_moved", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_has_absconded", + "text": "Amejitoa", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_has_absconded", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_continues_with_clinic_from_elsewhere", + "text": "Anaendelea na huduma akitokea mahali pengine", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_continues_with_clinic_from_elsewhere", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Please select followup feedback", + "dependent_calculations": [ + "hiv_community_followup_visit_date" + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/hiv_followup_visit.json b/opensrp-chw/src/ba/assets/json.form-sw/hiv_followup_visit.json new file mode 100644 index 0000000000..b4120bf254 --- /dev/null +++ b/opensrp-chw/src/ba/assets/json.form-sw/hiv_followup_visit.json @@ -0,0 +1,522 @@ +{ + "form": "HIV Followup form", + "count": "1", + "encounter_type": "HIV Followup", + "entity_id": "", + "relational_id": "", + "rules_file": "rule/hiv_followup_form_rules.yml", + "metadata": { + "start": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "start", + "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "end": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "end", + "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "today": { + "openmrs_entity_parent": "", + "openmrs_entity": "encounter", + "openmrs_entity_id": "encounter_date" + }, + "deviceid": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "deviceid", + "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "subscriberid": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "subscriberid", + "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "simserial": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "simserial", + "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "phonenumber": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "phonenumber", + "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "encounter_location": "", + "look_up": { + "entity_id": "", + "value": "" + } + }, + "steps": [ + { + "title": "Fomu ya kumtembelea mgonjwa wa VVU", + "fields": [ + { + "name": "registration_or_followup_status", + "type": "spinner", + "properties": { + "text": "Hali ya usajili/ ufuatiliaji" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "registration_or_followup_status", + "openmrs_entity_parent": "" + }, + "options": [ + { + "name": "new_client", + "text": "Mpya", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "new_client", + "openmrs_entity_parent": "" + } + }, + { + "name": "continuing_with_services", + "text": "Anaendelea na Huduma.", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "continuing_with_services", + "openmrs_entity_parent": "" + } + }, + { + "name": "deceased", + "text": "Amefariki", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "deceased", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_not_found", + "text": "Hapatikani", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_not_found", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_relocated_to_another_location", + "text": "Amehamishiwa mahali pengine", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_relocated_to_another_location", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_has_moved", + "text": "Amehama", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_has_moved", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_has_absconded", + "text": "Amejitoa", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_has_absconded", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_continues_with_clinic_from_elsewhere", + "text": "Anaendelea na huduma akitokea mahali pengine", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_continues_with_clinic_from_elsewhere", + "openmrs_entity_parent": "" + } + }, + { + "name": "completed_and_qualified_from_the_services ", + "text": "Amefuzu huduma", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "completed_and_qualified_from_the_services", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Tafadhali chagua hali ya ufwatiliaji", + "dependent_calculations": [ + "hiv_followup_visit_date" + ] + }, + { + "name": "client_condition", + "type": "spinner", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_condition", + "openmrs_entity_parent": "" + }, + "properties": { + "text": "Hali ya mteja" + }, + "options": [ + { + "name": "client_does_her_daily_activities", + "text": "Anaweza kufanya shughuli zake za kila siku", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_does_her_daily_activities", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_takes_care_of_himself", + "text": "Anajimudu mwenyewe (kuoga, kula, kuvaa) ", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_takes_care_of_himself", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_is_unable_to_take_care_of_himself", + "text": "Hajimudu", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_is_unable_to_take_care_of_himself", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Tafadhali chagua hali ya mteja", + "subjects": "registration_or_followup_status:text" + }, + { + "name": "problem", + "type": "multi_choice_checkbox", + "properties": { + "text": "Matatizo ya kijamii/kitabibu ya Mteja" + }, + "meta_data": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_entity_id": "problem" + }, + "options": [ + { + "name": "other_problems", + "text": "Matatizo mengine", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "other_problems", + "openmrs_entity_parent": "" + } + }, + { + "name": "none", + "text": "hana tatizo", + "is_exclusive": true, + "meta_data": { + "openmrs_entity": "", + "openmrs_entity_id": "", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Tafadhali chagua matatizo ya kijamii/kitabibu ya Mteja", + "subjects": "registration_or_followup_status:text" + }, + { + "name": "problem_other", + "type": "text_input_edit_text", + "properties": { + "hint": "Matatizo mengine ya kijamii/kitabibu ya Mteja", + "type": "name" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "problem_other", + "openmrs_entity_parent": "problem" + }, + "required_status": "true:Tafadhali jaza matatizo mengine", + "subjects": "problem:map" + }, + { + "name": "client_behaviour_and_environmental_risk", + "type": "spinner", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_behaviour_and_environmental_risk", + "openmrs_entity_parent": "" + }, + "properties": { + "text": "Tabia na mazingira hatarishi ya mteja" + }, + "options": [ + { + "name": "none", + "text": "Haihusiki", + "meta_data": { + "openmrs_entity": "", + "openmrs_entity_id": "", + "openmrs_entity_parent": "" + } + }, + { + "name": "alcoholism", + "text": "Mlevi", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "alcoholism", + "openmrs_entity_parent": "" + } + }, + { + "name": "has_multiple_sexual_partners", + "text": "Ana wapenzi wengi", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "has_multiple_sexual_partners", + "openmrs_entity_parent": "" + } + }, + { + "name": "has_sexual_relations_with_different_peers", + "text": "Mahusiano ya kingono na rika tofauti (Ngono mtambuka rika", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "has_sexual_relations_with_different_peers", + "openmrs_entity_parent": "" + } + }, + { + "name": "fisherman", + "text": "Wavuvi", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "fisherman", + "openmrs_entity_parent": "" + } + }, + { + "name": "women_having_sex_with_other_women", + "text": "Wanawake wanaofanya ngono na wanawake wenzao", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "women_having_sex_with_other_women", + "openmrs_entity_parent": "" + } + }, + { + "name": "sex_workers", + "text": "Wanaofanya biashara ya ngono", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "sex_workers", + "openmrs_entity_parent": "" + } + }, + { + "name": "wood_workers", + "text": "Wapasua mbao", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "wood_workers", + "openmrs_entity_parent": "" + } + }, + { + "name": "mining_workers", + "text": "Wachimba madini", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "mining_workers", + "openmrs_entity_parent": "" + } + }, + { + "name": "men_having_sex_with_other_men ", + "text": "Wanaume wanaofanya ngono na wanaume wenzao", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "men_having_sex_with_other_men", + "openmrs_entity_parent": "" + } + }, + { + "name": "truck_drivers ", + "text": "Madreva wa masafa marefu", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "truck_drivers", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Tafadhali chagua tabia na mazingira hatarishi ya mteja", + "subjects": "registration_or_followup_status:text" + }, + { + "name": "supplies_provided", + "type": "multi_choice_checkbox", + "properties": { + "text": "Vifaa na dawa zilizotolewa" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "supplies_provided", + "openmrs_entity_parent": "" + }, + "options": [ + { + "name": "other_medicine", + "text": "Vifaa na dawa nyingine", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "other_medicine", + "openmrs_entity_parent": "" + } + }, + { + "name": "none", + "text": "Hamna kilichotolewa", + "is_exclusive": true, + "meta_data": { + "openmrs_entity": "", + "openmrs_entity_id": "", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Tafadhali jaza vifaa na dawa zilizotolewa", + "subjects": "registration_or_followup_status:text" + }, + { + "name": "supplies_provided_other", + "type": "text_input_edit_text", + "properties": { + "hint": "Vifaa na dawa nyingine vilivyotolewa", + "type": "name" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "supplies_provided_other", + "openmrs_entity_parent": "supplies_provided" + }, + "required_status": "true:Tafadhali jaza vifaa na dawa nyingine", + "subjects": "supplies_provided:map" + }, + { + "name": "hiv_services_provided", + "type": "multi_choice_checkbox", + "properties": { + "text": "Huduma zilizotolewa (Huduma za UKIMWI katika jamii ikiwemo ACUK) " + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "hiv_services_provided", + "openmrs_entity_parent": "" + }, + "options": [ + { + "name": "other_hiv_services", + "text": "Huduma nyingnie za UKIMWI katika jamii", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "other_hiv_services", + "openmrs_entity_parent": "" + } + }, + { + "name": "none", + "text": "Hamna huduma iliyotolewa", + "is_exclusive": true, + "meta_data": { + "openmrs_entity": "", + "openmrs_entity_id": "", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Tafadhali jaza huduma nyingnie za UKIMWI katika jamii", + "subjects": "registration_or_followup_status:text" + }, + { + "name": "hiv_services_provided_other", + "type": "text_input_edit_text", + "properties": { + "hint": "Huduma nyingnie za UKIMWI katika jamii zilizotolewa", + "type": "name" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "hiv_services_provided_other", + "openmrs_entity_parent": "hiv_services_provided" + }, + "required_status": "true:Tafadhali jaza huduma nyingnie za UKIMWI katika jamii zilizotolewa", + "subjects": "hiv_services_provided:map" + }, + { + "name": "state_of_therapy", + "type": "spinner", + "properties": { + "text": "Hali ya Tiba na Matunzo (CTC)" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "state_of_therapy", + "openmrs_entity_parent": "" + }, + "options": [ + { + "name": "registered_but_not_began_medication", + "text": "Ameandikishwa CTC/PMTCT lakini hajaanza ARV", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "registered_but_not_began_medication", + "openmrs_entity_parent": "" + } + }, + { + "name": "registered_and_uses_medication", + "text": "Ameandikishwa CTC/PMTCT na anatumia ARV", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "registered_and_uses_medication", + "openmrs_entity_parent": "" + } + }, + { + "name": "not_registered_in_ctc_clinic", + "text": "Hajaandikishwa CTC/PMTCT", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "not_registered_in_ctc_clinic", + "openmrs_entity_parent": "" + } + }, + { + "name": "none", + "text": "Haihusiki", + "meta_data": { + "openmrs_entity": "", + "openmrs_entity_id": "", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Tafadhali jaza hali ya Tiba na Matunzo (CTC)", + "subjects": "registration_or_followup_status:text" + } + ] + } + ] +} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/hiv_registration.json b/opensrp-chw/src/ba/assets/json.form-sw/hiv_registration.json new file mode 100644 index 0000000000..bd0ba56043 --- /dev/null +++ b/opensrp-chw/src/ba/assets/json.form-sw/hiv_registration.json @@ -0,0 +1,136 @@ +{ + "form": "HIV Registration form", + "count": "1", + "encounter_type": "HIV Registration", + "entity_id": "", + "relational_id": "", + "rules_file": "rule/hiv_registration_form_rules.yml", + "metadata": { + "start": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "start", + "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "end": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "end", + "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "today": { + "openmrs_entity_parent": "", + "openmrs_entity": "encounter", + "openmrs_entity_id": "encounter_date" + }, + "deviceid": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "deviceid", + "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "subscriberid": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "subscriberid", + "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "simserial": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "simserial", + "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "phonenumber": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "phonenumber", + "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "encounter_location": "", + "look_up": { + "entity_id": "", + "value": "" + } + }, + "steps": [ + { + "title": "Usajili wa wateja wa VVU", + "fields": [ + { + "name": "ctc_number", + "type": "text_input_edit_text", + "properties": { + "hint": "Namba ya CTC", + "type": "Namba ya CTC" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "ctc_number", + "openmrs_entity_parent": "" + }, + "required_status": "false" + }, + { + "name": "cbhs_number", + "type": "text_input_edit_text", + "properties": { + "hint": "Namba ya HUWANYU", + "type": "Namba ya HUWANYU" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "cbhs_number", + "openmrs_entity_parent": "" + }, + "required_status": "false" + }, + { + "name": "client_hiv_status_during_registration", + "type": "spinner", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_hiv_status_during_registration", + "openmrs_entity_parent": "" + }, + "properties": { + "text": "Hali ya maambukizo ya VVU wakati wa kuandikishwa" + }, + "options": [ + { + "name": "unknown", + "text": "Haihusiki", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "unknown", + "openmrs_entity_parent": "" + } + }, + { + "name": "positive", + "text": "Ana maambukizi ", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "positive", + "openmrs_entity_parent": "" + } + }, + { + "name": "negative", + "text": "Hana maambukizi ", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "negative", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Tafadhali jaza hali ya maabukizo ya vvu wakati wa kuandikisha", + "dependent_calculations": [ + "hiv_registration_date" + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/in_app_monthly_tallies_report.json b/opensrp-chw/src/ba/assets/json.form-sw/in_app_monthly_tallies_report.json deleted file mode 100644 index a364f4417d..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/in_app_monthly_tallies_report.json +++ /dev/null @@ -1,108 +0,0 @@ -{ - "count": "1", - "encounter_type": "CHW Monthly tallies Report", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Misaada ya kila mwezi", - "fields": [ - { - "key": "indicator_code", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "indicator_code", - "type": "edit_text", - "hint": "Nambari ya kiashiria", - "value": "" - }, - { - "key": "month", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "month", - "type": "edit_text", - "hint": "Mwezi", - "value": "" - }, - { - "key": "edited", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "edited", - "type": "edit_text", - "hint": "imehaririwa", - "value": "" - }, - { - "key": "date_sent", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "date_sent", - "type": "edit_text", - "hint": "Tarehe iliyotumwa", - "value": "" - }, - { - "key": "created_at", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "created_at", - "type": "edit_text", - "hint": "Imeundwa kwa", - "value": "" - }, - { - "key": "value", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "value", - "type": "edit_text", - "hint": "Imesasishwa kwa", - "value": "" - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/malaria_confirmation.json b/opensrp-chw/src/ba/assets/json.form-sw/malaria_confirmation.json deleted file mode 100644 index ca1637737a..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/malaria_confirmation.json +++ /dev/null @@ -1,469 +0,0 @@ -{ - "validate_on_submit": true, - "show_errors_on_submit": false, - "count": "2", - "encounter_type": "Malaria Confirmation", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "", - "look_up": { - "entity_id": "", - "value": "" - } - }, - "step1": { - "title": "Uhakiki wa Malaria", - "next": "step2", - "fields": [ - { - "key": "date_chw_malaria_test", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "162869AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "hidden": "true", - "type": "edit_text", - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "malaria_confirmation_calculation.yml" - } - } - } - }, - { - "key": "relational_id", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "relational_id", - "hidden": "true", - "type": "edit_text" - }, - { - "key": "fever_malaria_chw", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "fever_malaria_chw", - "type": "native_radio", - "label": "Je, mteja ana homa au aligunduliwa kuwa na malaria ndani ya siku 14 katika kituo cha afya?", - "label_text_style": "bold", - "text_color": "#000000", - "options": [ - { - "key": "has_fever", - "text": "Ana homa", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "has_fever", - "openmrs_entity_parent": "" - }, - { - "key": "tested_positive_last_14_days", - "text": "Alikuwa na malaria ndani ya siku 14", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "tested_positive_last_14_days", - "openmrs_entity_parent": "" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - } - }, - { - "key": "fever_duration", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1731AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "spinner", - "hint": "Umekuwa na homa kwa muda gani?", - "values": [ - "Ndani ya saa 24", - "Zaidi ya saa 24" - ], - "keys": [ - "Less than 24 hrs", - "More than 24 hrs" - ], - "openmrs_choice_ids": { - "Less than 24 hrs": "164449AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "More than 24 hrs": "164449AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "malaria_confirmation_relevance.yml" - } - } - } - }, - { - "key": "malaria_test_done", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "malaria_test_done", - "type": "spinner", - "hint": "Kipimo cha malaria kimefanyika?", - "values": [ - "Hapana", - "Ndiyo, kwa WAJA" - ], - "keys": [ - "No", - "Yes, by the CHW" - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "malaria_confirmation_relevance.yml" - } - } - } - }, - { - "key": "malaria_results", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1643AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "spinner", - "hint": "Majibu ya mRDT", - "values": [ - "Chanya", - "Hasi" - ], - "keys": [ - "Positive", - "Negative" - ], - "openmrs_choice_ids": { - "Positive": "703AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Negative": "664AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "malaria_confirmation_relevance.yml" - } - } - } - }, - { - "key": "date_hf_malaria_test", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "date_hf_malaria_test", - "type": "date_picker", - "hint": "Tarehe ya kipimo cha malaria katika kituo cha afya", - "expanded": false, - "max_date": "today", - "v_required": { - "value": "true", - "err": "Tafadhali ingiza tarehe ya majaribio ya ugonjwa wa malaria katika kituo cha afya" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "malaria_confirmation_relevance.yml" - } - } - } - }, - { - "key": "malaria_test_date", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "163724AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "hidden": "true", - "type": "edit_text", - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "malaria_confirmation_calculation.yml" - } - } - } - }, - { - "key": "malaria", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "163725AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "hidden": "true", - "type": "edit_text", - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "malaria_confirmation_calculation.yml" - } - } - } - }, - { - "key": "malaria_treat", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "malaria_treat", - "type": "spinner", - "hint": "Matibabu aliyopewa", - "values": [ - "ALU 6", - "ALU 12", - "ALU 18", - "ALU 24", - "Hajapewa", - "Matibabu mengine" - ], - "keys": [ - "ALU 6", - "ALU 12", - "ALU 18", - "ALU 24", - "Not given", - "Other treatment" - ], - "openmrs_choice_ids": { - "ALU 6": "1072AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "ALU 12": "1072AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "ALU 18": "1072AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "ALU 24": "1072AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Not given": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Other treatment": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "malaria_confirmation_relevance.yml" - } - } - } - }, - { - "key": "referral_note", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "toaster_notes", - "text": "Tafadhali mpe rufaa kwa kipimo cha malaria", - "toaster_info_text": "Tafadhali mpe rufaa kwa kipimo cha malaria", - "toaster_type": "info", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "malaria_confirmation_relevance.yml" - } - } - } - } - ] - }, - "step2": { - "title": "Kuzuia Malaria", - "fields": [ - { - "key": "fam_llin", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "fam_llin", - "type": "spinner", - "hint": "Ana chandarua chenye viuwatilifu?", - "values": [ - "Ndiyo", - "Hapana" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - } - }, - { - "key": "llin_2days", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "llin_2days", - "type": "spinner", - "hint": "Je, amelala kwenye chandarua chenye viuwatilifu usiku uliopita?", - "values": [ - "Ndiyo", - "Hapana" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "malaria_confirmation_relevance.yml" - } - } - } - }, - { - "key": "llin_condition", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "llin_condition", - "type": "spinner", - "hint": "Hali ya chandarua chenye viuwatilifu kinachotumika", - "values": [ - "Nzima", - "Mbovu" - ], - "keys": [ - "Okay", - "Bad" - ], - "openmrs_choice_ids": { - "Okay": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Bad": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "malaria_confirmation_relevance.yml" - } - } - } - }, - { - "key": "malaria_edu_chw", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "malaria_edu_chw", - "type": "check_box", - "label": "Mada juu ya ugonjwa wa Malaria zilizofundishwa", - "label_text_style": "normal", - "text_color": "#C0C0C0", - "combine_checkbox_option_values": "true", - "exclusive": [ - "chk_none" - ], - "options": [ - { - "key": "overview_on_malaria", - "text": "Muktasari kuhusu ugonjwa wa malaria", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1379AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "malaria_prevention", - "text": "Kuzuia malaria", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "164884AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "uncomplicated_malaria", - "text": "Malaria isiyokali", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "159950AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "Severe_malaria", - "text": "Malaria kali", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "160155AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "malaria_in_pregnancy", - "text": "Malaria kwa mama mjamzito", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "135361AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_none", - "text": "Hajafanya", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "chk_none" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/malaria_follow_up_visit.json b/opensrp-chw/src/ba/assets/json.form-sw/malaria_follow_up_visit.json deleted file mode 100644 index e0f2b312b4..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/malaria_follow_up_visit.json +++ /dev/null @@ -1,264 +0,0 @@ -{ - "count": "1", - "encounter_type": "Malaria Follow-up Visit", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Follow-up Visit", - "fields": [ - { - "key": "date_chw_mfollowup", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "162869AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "hidden" - }, - { - "key": "hf_chw_mfollowup", - "type": "native_radio", - "openmrs_entity": "", - "openmrs_entity_id": "1889AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "label": "Je, ulienda hospitali kwa ajili ya kipimo na matibabu ya malaria?", - "options": [ - { - "key": "Yes", - "openmrs_entity": "", - "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Ndiyo" - }, - { - "key": "No", - "openmrs_entity": "", - "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Hapana" - } - ], - "v_required": { - "value": "true", - "err": null - } - }, - { - "key": "treat_given_chw_mfollowup", - "type": "native_radio", - "openmrs_entity": "", - "openmrs_entity_id": "162686AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "label": "Matibabu uliyopewa", - "options": [ - { - "key": "ALU_6", - "openmrs_entity": "", - "openmrs_entity_id": "1072AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "ALU 6" - }, - { - "key": "ALU_12", - "openmrs_entity": "", - "openmrs_entity_id": "1072AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "ALU 12" - }, - { - "key": "ALU_18", - "openmrs_entity": "", - "openmrs_entity_id": "1072AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "ALU 18" - }, - { - "key": "ALU_24", - "openmrs_entity": "", - "openmrs_entity_id": "1072AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "ALU 24" - }, - { - "key": "Other_treatment", - "openmrs_entity": "", - "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Matibabu mengine" - }, - { - "key": "Received_treatment_but_dont_remember_which_treatment", - "openmrs_entity": "", - "openmrs_entity_id": "1767AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Amepewa matibabu, lakini hakumbuki aina gani" - }, - { - "key": "Not_given_treatment", - "openmrs_entity": "", - "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Hajapewa matibabu" - } - ], - "v_required": { - "value": "true", - "err": null - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "malaria_followup_relevance.yml" - } - } - } - }, - { - "key": "reason_no_treat", - "type": "native_radio", - "openmrs_entity": "", - "openmrs_entity_id": "1743AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "label": "Sababu ya kutopata matibabu", - "options": [ - { - "key": "Referral_unsuccessful", - "openmrs_entity": "", - "openmrs_entity_id": "160068AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Rufaa haikufanikiwa" - }, - { - "key": "Drugs_stock_out", - "openmrs_entity": "", - "openmrs_entity_id": "1754AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Dawa zimeisha" - }, - { - "key": "Other_reason", - "openmrs_entity": "", - "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Sababu nyingine" - } - ], - "v_required": { - "value": "true", - "err": null - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "malaria_followup_relevance.yml" - } - } - } - }, - { - "key": "fever_still", - "type": "native_radio", - "openmrs_entity": "", - "openmrs_entity_id": "140238AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "label": "Je, bado ana homa?", - "options": [ - { - "key": "Yes", - "openmrs_entity": "", - "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Ndiyo" - }, - { - "key": "No", - "openmrs_entity": "", - "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Hapana" - } - ], - "v_required": { - "value": "true", - "err": null - } - }, - { - "key": "fever_duration", - "type": "native_radio", - "openmrs_entity": "", - "openmrs_entity_id": "1731AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "label": "Umekuwa na homa kwa muda gani?", - "options": [ - { - "key": "Less_than_24hrs", - "openmrs_entity": "", - "openmrs_entity_id": "164449AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Ndani ya saa 24" - }, - { - "key": "More_than_24hrs", - "openmrs_entity": "", - "openmrs_entity_id": "NA", - "openmrs_entity_parent": "", - "text": "Zaidi ya saa 24" - } - ], - "v_required": { - "value": "true", - "err": null - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "malaria_followup_relevance.yml" - } - } - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/malaria_referral_form.json b/opensrp-chw/src/ba/assets/json.form-sw/malaria_referral_form.json deleted file mode 100644 index 693ed7b144..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/malaria_referral_form.json +++ /dev/null @@ -1,339 +0,0 @@ -{ - "count": "1", - "encounter_type": "Malaria Referral", - "entity_id": "", - "relational_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "", - "look_up": { - "entity_id": "", - "value": "" - } - }, - "step1": { - "title": "Malaria Referral", - "fields": [ - { - "key": "referral_problem_malaria", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "referral_problem_malaria", - "type": "check_box", - "label": "Maelezo ya tatizo la mgonjwa", - "label_text_style": "bold", - "options": [ - { - "key": "Fever", - "text": "Homa", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "140238AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Diarrhea", - "text": "Kuharisha", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "142412AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Vomiting", - "text": "Kutapika", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "122983AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Nausea", - "text": "Kutetemeka", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "5978AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Trembling", - "text": "Kutetemeka", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "158359AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "A_severe_headache_dizziness", - "text": "Maumivu makali ya kichwa / kizunguzungu", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "139081AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Sweating", - "text": "Kutoka jasho", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "140941AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Severe_abdominal_pain", - "text": "Maumivu makali ya tumbo", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "165271AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Muscle_pain", - "text": "Maumivu ya misuli", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "133632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Sweling_of_the_face_and_or_hands", - "text": "Kuvimba uso na / au mikono", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "163894AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Difficult_in_breathing_fast_and_laboured_breathing", - "text": "Kushindwa kupumua", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "142373AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Convulsions", - "text": "Degedege/ Mtukutiko wa mwili", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "113054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Very_weak", - "text": "Kulegea", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "5226AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Irritable_easily_disturbed", - "text": "Kukereka kirahisi", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "118296AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Unconcious", - "text": "Kukosa fahamu", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "123818AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Unusually_sleepy", - "text": "Kulala kusiko kwa kawaida", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "117417AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Neck_stiffness", - "text": "Shingo kukakamaa", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "112721AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Unable_to_sit_without_support", - "text": "Kushindwa kukaa bila msaada", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "123833AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Abnormal_bleeding_or_passing_of_urine_with_blood", - "text": "Kutokwa na damu au mkojo wenye damu", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "147241AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Severe_anaemia_pale_palms_and_inner_eyelids", - "text": "Upungufu mkubwa wa damu", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "162044AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Yellowing_of_the_eyes_jaundice", - "text": "Macho kuwa ya njano", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "136443AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Severe_malnutrition", - "text": "Utapiamlo mkali", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "163302AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Bloating", - "text": "Tumbo kujaa", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "147132AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - } - ], - "v_required": { - "value": true, - "err": "Tafadhali taja shida inayohusiana na mteja" - } - }, - { - "key": "service_before_malaria", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "service_before_malaria", - "type": "check_box", - "label": "Matibabu aliyopewa kabla ya rufaa", - "label_text_style": "bold", - "is_problem": false, - "exclusive": [ - "None" - ], - "options": [ - { - "key": "Rectal_artesunate", - "text": "Rectal artesunate", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "71561AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Panadol", - "text": "Panadol", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "70116AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "ORS", - "text": "ORS", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "351AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Other_treatment", - "text": "Matibabu mengine", - "value": false, - "ignore": true, - "openmrs_entity": "", - "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "None", - "text": "Hakuna", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - } - ], - "v_required": { - "value": "true", - "err": "Matibabu iliyopewa kabla ya rufaa inahitajika" - } - }, - { - "key": "service_before_malaria_other", - "type": "edit_text", - "openmrs_entity": "", - "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "edit_type": "name", - "hint": "Matibabu mengine", - "is_problem": false, - "v_required": { - "value": "true", - "err": "Tafadhali taja matibabu mengine" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "malaria_referral_relevance.yml" - } - } - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/male_family_planning_change_method.json b/opensrp-chw/src/ba/assets/json.form-sw/male_family_planning_change_method.json deleted file mode 100644 index abc85c9130..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/male_family_planning_change_method.json +++ /dev/null @@ -1,383 +0,0 @@ -{ - "validate_on_submit": false, - "show_errors_on_submit": false, - "skip_blank_steps": true, - "count": "3", - "encounter_type": "Family Planning Change Method", - "entity_id": "", - "relational_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Change or Stop FP form", - "next": "step2", - "fields": [ - { - "key": "fp_change_or_stop_date", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "fp_change_or_stop_date", - "type": "hidden", - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_calculation.yml" - } - } - } - }, - { - "key": "reason_stop_fp_chw", - "type": "native_radio", - "openmrs_entity": "concept", - "openmrs_entity_id": "164901AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "label": "Sababu za kuacha kutumia njia za uzazi wa mpango ya sasa", - "options": [ - { - "key": "side_effects", - "openmrs_entity": "concept", - "openmrs_entity_id": "164154AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Madhara" - }, - { - "key": "wants_to_conceive", - "openmrs_entity": "concept", - "openmrs_entity_id": "160571AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Anataka mimba" - }, - { - "key": "doesnt_want_to_use_anymore", - "openmrs_entity": "concept", - "openmrs_entity_id": "164260AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Hataki kutumia sasa" - }, - { - "key": "decided_to_change_method", - "openmrs_entity": "concept", - "openmrs_entity_id": "163494AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "value": false, - "text": "Aliamua kubadilisha mpango wa uzazi" - }, - { - "key": "others", - "openmrs_entity": "concept", - "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Nyingine" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - } - }, - { - "key": "other_reason_fp_chw", - "type": "edit_text", - "openmrs_entity": "concept", - "openmrs_entity_id": "other_reason_fp_chw", - "openmrs_entity_parent": "164901AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "edit_type": "name", - "hint": "Sababu nyingine", - "v_required": { - "value": "true", - "err": "Required" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - } - }, - { - "key": "side_effects_fp", - "type": "edit_text", - "openmrs_entity": "concept", - "openmrs_entity_id": "side_effects_fp", - "openmrs_entity_parent": "164154AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "edit_type": "name", - "hint": "Madhara", - "v_required": { - "value": "true", - "err": "Required" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - } - } - ] - }, - "step2": { - "title": "Njia ya uzazi wa mpango", - "next": "step3", - "fields": [ - { - "key": "fp_method_chosen", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "374AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Njia za uzazi wa mpango selected", - "values": [ - "Kondomu ya kiume", - "Kondomu ya kike", - "Kufunga kizazi mwanammen" - ], - "keys": [ - "Male condom", - "Female condom", - "Male sterilization" - ], - "openmrs_choice_ids": { - "Male condom": "164813AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Female condom": "164814AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Male sterilization": "1489AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - } - }, - { - "key": "fp_method_accepted", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "fp_method_accepted", - "type": "hidden", - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_calculation.yml" - } - } - } - } - ] - }, - "step3": { - "title": "Taarifa ya njia ya uzazi wa mpango", - "fields": [ - { - "key": "no_condoms", - "openmrs_entity_parent": "190AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity": "concept", - "openmrs_entity_id": "no_condoms", - "type": "edit_text", - "edit_type": "number", - "hint": "Amepata vipande vya kondpmu vingapi?", - "v_required": { - "value": "true", - "err": "Equal or greater than 0" - }, - "v_numeric_integer": { - "value": "true", - "err": "Must be a rounded number" - }, - "v_min": { - "value": "0", - "err": "Number must be equal or greater than 0" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - } - }, - { - "key": "fp_start_condom", - "openmrs_entity_parent": "190AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity": "concept", - "openmrs_entity_id": "163171AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "hidden", - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_calculation.yml" - } - } - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - } - }, - { - "key": "counselling_use", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "counselling_use", - "type": "spinner", - "hint": "Je, mteja ameshauri jinsi ya kutumia njia za uzazi wa mpango?", - "values": [ - "Ndiyo", - "Hapana" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - } - }, - { - "key": "fp_start_male_ster", - "openmrs_entity_parent": "1489AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity": "concept", - "openmrs_entity_id": "fp_start_male_ster", - "type": "date_picker", - "hint": "Tarehe ya kufunga kizazi mwanamume", - "max_date": "today", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - }, - "v_required": { - "value": "true", - "err": "Required" - } - }, - { - "key": "fp_male_ster_note", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "toaster_notes", - "text": "Shauri yeye kutumia kondomu kwa miezi mitatu kuzuia ujazito", - "toaster_info_text": "Shauri yeye kutumia kondomu kwa miezi mitatu kuzuia ujazito", - "toaster_type": "info", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_relevance.yml" - } - } - } - }, - { - "key": "referral_given", - "type": "native_radio", - "openmrs_entity": "concept", - "openmrs_entity_id": "referral_given", - "openmrs_entity_parent": "", - "label": "Rufaa iliyotolewa", - "options": [ - { - "key": "yes", - "openmrs_entity": "concept", - "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Ndiyo" - }, - { - "key": "no", - "openmrs_entity": "concept", - "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Hapana" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - } - }, - { - "key": "fp_start_date", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "163526AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "edit_text", - "hidden": "true", - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_planning_change_method_calculation.yml" - } - } - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/male_fp_referral_form.json b/opensrp-chw/src/ba/assets/json.form-sw/male_fp_referral_form.json deleted file mode 100644 index c805d20568..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/male_fp_referral_form.json +++ /dev/null @@ -1,247 +0,0 @@ -{ - "count": "1", - "encounter_type": "Family Planning Referral", - "entity_id": "", - "relational_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "", - "look_up": { - "entity_id": "", - "value": "" - } - }, - "step1": { - "title": "Family Planning Referral", - "fields": [ - { - "key": "fp_method_accepted_referral", - "type": "native_radio", - "openmrs_entity": "concept", - "openmrs_entity_id": "374AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "label": "Njia ya uzazi wa mpango aliyochagua na anaohitaji rufaa", - "label_text_style": "bold", - "options": [ - { - "key": "Male_condom", - "openmrs_entity": "", - "openmrs_entity_id": "164813AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Kondomu ya kiume" - }, - { - "key": "Female_condom", - "openmrs_entity": "", - "openmrs_entity_id": "164814AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Kondomu ya kike" - }, - { - "key": "Male_sterilization", - "openmrs_entity": "", - "openmrs_entity_id": "1489AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Kufunga kizazi mwanamume" - }, - { - "key": "None", - "openmrs_entity": "", - "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Hakuna" - }, - { - "key": "Not_applicable", - "openmrs_entity": "", - "openmrs_entity_id": "1175AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Si husika" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - } - }, - { - "key": "side_effects_sterialization", - "type": "check_box", - "openmrs_entity": "", - "openmrs_entity_id": "", - "openmrs_entity_parent": "", - "label": "Madhara/maudhi yatokanayo na njia za uzazi wa mpango ", - "label_text_style": "bold", - "exclusive": [ - "None", - "Not_applicable" - ], - "options": [ - { - "key": "Incisional_bleeding", - "text": "Kutokwa damu", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "147241AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Pus_Discharge_from_incision", - "text": "Kutokwa usaha", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "164495AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Swollen_around_the_incision", - "text": "Kuvimba kwenye kidonda", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "159012AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Others", - "text": "Madhara mengineyo", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "None", - "text": "Hakuna", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Not_applicable", - "text": "Si husika", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "1175AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "male_fp_referral_relevance.yml" - } - } - } - }, - { - "key": "fp_side_effects", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "165273AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "hidden", - "is_problem": false, - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "fp_referral_calculation.yml" - } - } - } - }, - { - "key": "fp_side_effects_other", - "type": "edit_text", - "openmrs_entity": "concept", - "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "hint": "Madhara mengineyo", - "v_required": { - "value": "true", - "err": "Tafadhali taja madhara mengineyo" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "male_fp_referral_relevance.yml" - } - } - } - }, - { - "key": "referral_date_fp", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "163181AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "hidden", - "is_problem": false, - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "fp_referral_calculation.yml" - } - } - } - }, - { - "key": "referral_time_fp", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "hidden", - "is_problem": false, - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "fp_referral_calculation.yml" - } - } - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/monthly_report.json b/opensrp-chw/src/ba/assets/json.form-sw/monthly_report.json deleted file mode 100644 index 29e29808c9..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/monthly_report.json +++ /dev/null @@ -1,113 +0,0 @@ -{ - "count": "12", - "encounter_type": "HIA2 Monthly Report", - "entity_id": "", - "relational_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "", - "look_up": { - "entity_id": "", - "value": "" - } - }, - "step1": { - "title": "Wateja wanawake (1 ya 12)", - "next": "step2", - "fields": [] - }, - "step2": { - "title": "Wateja watoto na watoto wachanga (2 ya 12)", - "next": "step3", - "fields": [] - }, - "step3": { - "title": "Kaya (3 ya 12)", - "next": "step4", - "fields": [] - }, - "step4": { - "title": "Rufaa zilizotolewa (4 ya 12)", - "next": "step5", - "fields": [] - }, - "step5": { - "title": "Mikutano ya elimu ya afya (5 ya 12)", - "next": "step6", - "fields": [] - }, - "step6": { - "title": "Taarifa ya vizazi na vifo (6 ya 12)", - "next": "step7", - "fields": [] - }, - "step7": { - "title": "Uzazi wa mpango (7 ya 12)", - "next": "step8", - "fields": [] - }, - "step8": { - "title": "Vidonge (8 ya 12)", - "next": "step9", - "fields": [] - }, - "step9": { - "title": "Kondomu (9 ya 12)", - "next": "step10", - "fields": [] - }, - "step10": { - "title": "Kalenda (10 ya 12)", - "next": "step11", - "fields": [] - }, - "step11": { - "title": "Ushauri (11 ya 12)", - "next": "step12", - "fields": [] - }, - "step12": { - "title": "Rufaa (12 ya 12)", - "fields": [] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/observation_illness.json b/opensrp-chw/src/ba/assets/json.form-sw/observation_illness.json deleted file mode 100644 index e2409d44b1..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/observation_illness.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "count": "1", - "encounter_type": "Observations Illness", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Uangulifu na muda ya ugonjwa", - "fields": [ - { - "key": "date_of_illness", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1730AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "date_picker", - "hint": "Tarehe", - "expanded": false, - "max_date": "today", - "min_date": "", - "v_required": { - "value": "true", - "err": "Tafadhali ingiza tarehe ya ugonjwa" - } - }, - { - "key": "illness_description", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1390AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "text", - "type": "edit_text", - "hint": "Maelezo", - "v_required": { - "value": "true", - "err": "Tafadhali ingiza maelezo" - } - }, - { - "key": "action_taken_1m5yr", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "164378AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Hatua zilizochukuliwa", - "v_required": { - "value": "true", - "err": "Please select action" - }, - "values": [ - "ORS 5", - "Zinc 10", - "Panadol", - "Matibabu mengine" - ], - "keys": [ - "ORS 5", - "Zinc 10", - "Paracetamol", - "Other treatment" - ] - }, - { - "key": "other_treat_1m5yr", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "edit_text", - "hint": "Matibabu mengine", - "v_required": { - "value": "true", - "err": "Tafadhali taja matibabu mengine" - }, - "relevance": { - "step1:action_taken_1m5yr": { - "type": "string", - "ex": "equalTo(., \"Other treatment\")" - } - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/pnc_counselling.json b/opensrp-chw/src/ba/assets/json.form-sw/pnc_counselling.json deleted file mode 100644 index 4cbc54c7be..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/pnc_counselling.json +++ /dev/null @@ -1,206 +0,0 @@ -{ - "count": "1", - "encounter_type": "Child Home Visit Counselling", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Ushauri", - "fields": [ - { - "key": "couselling_pnc", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1379AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "check_box", - "label": "Ushauri uliotolewa", - "label_text_style": "normal", - "text_color": "#C0C0C0", - "exclusive": [ - "chk_none" - ], - "options": [ - { - "key": "chk_maternal_nutrition", - "text": "3. Lishe kwa mama wakati wa kunyonyesha", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1380AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_hiv_aids", - "text": "5. Umuhimu wa kupata ushauri nasaha na kupima VVU", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1914AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_pmtct", - "text": "6. Kuzuia mambukizi ya VVU kutoka kwa mama kwenda kwa mtoto", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "160538AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_malaria_prevention", - "text": "7. Kuzuia malaria kwa watoto wenye umri chini ya miaka mitano", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "164884AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_pnc_care_for_mother", - "text": "9. Huduma kwa mama baada ya kujifungua", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1623AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_pnc_danger_signs", - "text": "10. Dalili za hatari mara baada ya kujifungua hadi siku arobaini na mbili ya uzazi", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "161541AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_care_of_infant_after_birth", - "text": "11. Huduma kwa mtoto mchanga mara baada ya kuzaliwa", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "159839AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_care_of_premature_baby", - "text": "12. Huduma kwa mtoto aliyezaliwa kabla ya muda wake / njiti au mtoto mwenye uzito pungufu", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "" - }, - { - "key": "chk_care_of_new_born", - "text": "13. Kumhudumia mtoto mchanga", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "160413AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_new_born_danger_signs", - "text": "14. Dalili za hatari kwa mtoto mchanga", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "161071AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_hiv_exposed_infant", - "text": "15. Ufuatiliaji wa mtoto aliyezaliwa na mama mwenye VVU", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "164818AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_breastfeeding", - "text": "16. Unyonyeshaji wa mazima wa mama", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1910AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_lam", - "text": "17. Njia ya uzazi wa mpango ya unyonyeshaji maziwa ya mama pekee kwa kipindi cha miezi sita baada ya kujifungua (LAM)", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "161096AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_family_planning", - "text": "18. Uzazi wa mpango", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1382AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_birth_registration", - "text": "19. Usajili wa vizazi", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "165406AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_immunisation", - "text": "22. Chanjo", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1914AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_infection_prevention", - "text": "24. Kuzuia maambukizi katika jamii", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1906AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_gender_issues", - "text": "26. Jinsia", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "" - }, - { - "key": "chk_none", - "text": "Hakushauriwa", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua angalau moja" - } - } - ] - } -} diff --git a/opensrp-chw/src/ba/assets/json.form-sw/pnc_danger_signs_baby.json b/opensrp-chw/src/ba/assets/json.form-sw/pnc_danger_signs_baby.json deleted file mode 100644 index f514213eaf..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/pnc_danger_signs_baby.json +++ /dev/null @@ -1,204 +0,0 @@ -{ - "count": "1", - "encounter_type": "Danger signs - Baby", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Dalili za hatari kwa mtoto", - "fields": [ - { - "key": "danger_signs_present_child", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "159860AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "check_box", - "label": "Je, mtoto mchanga ana dalili zozote za hatari?", - "label_text_style": "normal", - "text_color": "#C0C0C0", - "exclusive": [ - "chk_none" - ], - "options": [ - { - "key": "chk_fever", - "text": "Homa", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "140238AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_excessive_crying", - "text": "Mtoto kulia sana", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "110540AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_fast_breathing", - "text": "Kupumua kwa haraka", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "125061AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_difficult_breathing", - "text": "Kushindwa kupumua", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "142373AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_unable_to_suck", - "text": "Kushindwa kunyonya au kumeza", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "159861AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_umbilical_discharge", - "text": "Kutoka damu kwenye kitovu au usaha", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "123843AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_no_movement", - "text": "Hakuna harakati", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "164455AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_convulsions", - "text": "Degedege / Mtukutiko wa mwili", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "164483AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_skin_rashes", - "text": "Vipele mwilini", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "512AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_pale", - "text": "Mwili kuwa njano", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "136443AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_eye_discharge", - "text": "Macho kutoa uchafu / usaha", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "142246AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_severe_abdominal_pain", - "text": "Maumivu makali ya tumbo", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "165271AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_lethargy", - "text": "Uchovu / Kulegea mwili", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "116334AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_none", - "text": "Hakuna", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua angalau moja" - } - }, - { - "key": "danger_signs_present_toaster", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "toaster_notes", - "text": "Dalili za hatari! \nToa rufaa haraka kwenda kituo cha kutolea huduma za afya.", - "text_color": "#CF0800", - "toaster_type": "problem", - "relevance": { - "step1:danger_signs_present_child": { - "ex-checkbox": [ - { - "or": [ - "chk_fever", - "chk_excessive_crying", - "chk_fast_breathing", - "chk_difficult_breathing", - "chk_unable_to_suck", - "chk_umbilical_discharge", - "chk_no_movement", - "chk_convulsions", - "chk_skin_rashes", - "chk_pale", - "chk_eye_discharge", - "chk_severe_abdominal_pain", - "chk_lethargy" - ] - } - ] - } - } - } - ] - } -} diff --git a/opensrp-chw/src/ba/assets/json.form-sw/pnc_danger_signs_mother.json b/opensrp-chw/src/ba/assets/json.form-sw/pnc_danger_signs_mother.json deleted file mode 100644 index f980cd8d6a..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/pnc_danger_signs_mother.json +++ /dev/null @@ -1,204 +0,0 @@ -{ - "count": "1", - "encounter_type": "Danger signs - Mother", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Dalili za hatari kwa mama", - "fields": [ - { - "key": "danger_signs_present_mama", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "160939AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "check_box", - "label": "Je, mama ana dalili zozote za hatari?", - "label_text_style": "normal", - "text_color": "#C0C0C0", - "exclusive": [ - "chk_none" - ], - "options": [ - { - "key": "chk_fever", - "text": "Homa", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "140238AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_bleeding_vaginally", - "text": "Damu kutoka ukeni", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "150802AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_server_headache", - "text": "Maumivu ya kichwa", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "139081AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_convulsions", - "text": "Degedege / Mtukutiko wa mwili", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "164483AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_difficulty_breathing", - "text": "Kupumua kwa shida", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "142373AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_severe_leg_pain", - "text": "Maumivu makali kwenye misuli ya miguu", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "114395AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_unusual_behaviour", - "text": "Tabia isiyo ya kawaida (msongo wa mawazo, kuchanganyikiwa)", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "152376AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_swelling of breast", - "text": "Kuvimba kwa matiti na chuchu zilizo chanika", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "125212AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_severe_abdominal_pain", - "text": "Maumivu makali ya tumbo", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "165271AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_vaginal_discharge", - "text": "Kutoka uchafu / majimaji ukeni yenye harufu mbaya", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "123395AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_blurred_vision", - "text": "Kutoona vizuri", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "147104AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_loss_conscioueness", - "text": "Kupoteza fahamu", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "135592AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_urination", - "text": "Kupata mkojo kidogo au kuvuja mkojo mfululizo", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "118982AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_none", - "text": "Hakuna", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua angalau moja" - } - }, - { - "key": "danger_signs_present_toaster", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "toaster_notes", - "text": "Dalili za hatari! \nMpe rufaa haraka kwenda kituo cha afya.", - "text_color": "#CF0800", - "toaster_type": "problem", - "relevance": { - "step1:danger_signs_present_mama": { - "ex-checkbox": [ - { - "or": [ - "chk_fever", - "chk_bleeding_vaginally", - "chk_server_headache", - "chk_convulsions", - "chk_difficulty_breathing", - "chk_severe_leg_pain", - "chk_unusual_behaviour", - "chk_swelling of breast", - "chk_severe_abdominal_pain", - "chk_vaginal_discharge", - "chk_blurred_vision", - "chk_loss_conscioueness", - "chk_urination" - ] - } - ] - } - } - } - ] - } -} diff --git a/opensrp-chw/src/ba/assets/json.form-sw/pnc_exclusive_breastfeeding.json b/opensrp-chw/src/ba/assets/json.form-sw/pnc_exclusive_breastfeeding.json deleted file mode 100644 index 65785a6034..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/pnc_exclusive_breastfeeding.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "count": "1", - "encounter_type": "Exclusive breast feeding", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Kunyonyeshwa maziwa ya mama pekee mwezi 0", - "fields": [ - { - "key": "exclusive_breast_feeding", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "openmrs_data_type": "exclusive_breast_feeding", - "type": "spinner", - "image": "ic_form_bf", - "hint": "Je, mtoto amenyonyeshwa maziwa ya mama pekee?", - "values": [ - "Ndiyo", - "Hapana" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/pnc_family_planning.json b/opensrp-chw/src/ba/assets/json.form-sw/pnc_family_planning.json deleted file mode 100644 index 6b50c5c84b..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/pnc_family_planning.json +++ /dev/null @@ -1,197 +0,0 @@ -{ - "count": "1", - "encounter_type": "Family Planning", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Uzazi wa mpango", - "fields": [ - { - "key": "fp_counseling", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1382AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Je, mama amepata ushauri juu ya uzazi wa mpango katika kituo cha kutolea huduma za afya hivi karibuni?", - "values": [ - "Ndiyo", - "Hapana" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - } - }, - { - "key": "fp_period_received", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "159860AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "check_box", - "label": "Je, alipewa ushauri katika kipindi gani?", - "label_text_style": "normal", - "text_color": "#C0C0C0", - "options": [ - { - "key": "chk_during_anc", - "text": "Wakati wa kliniki ya wajawazito", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "chk_during_anc" - }, - { - "key": "chk_during_labour_and_delivery", - "text": "Wakati wa uchungu na kujifungua", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "chk_during_labour_and_delivery" - }, - { - "key": "chk_during_pnc", - "text": "Wakati wa huduma ya mama na mtoto wa baada ya kujifungua", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "chk_during_pnc" - } - ], - "v_required": { - "value": "true", - "err": "Tafadhali chagua angalau moja" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "pnc_family_planning_relevance.yml" - } - } - } - }, - { - "key": "fp_method", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "374AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Njia ya uzazi wa mpango uliyochagua?", - "values": [ - "Kitanzi", - "Vidonge vya kumeza (POP)", - "Kipandikizi", - "Kondomu", - "Njia ya uzazi wa mpango kwa unyonyeshaji (LAM)", - "Shanga", - "Kufunga kizazi mwanamke", - "Kufunga kizazi mwanamme", - "Hakuchagua njia yoyote" - ], - "keys": [ - "PPIUCD", - "Pills", - "Implant", - "Condoms", - "LAM", - "Bead Counting", - "Permanent (BTL)", - "Permanent (Vascemtomy)", - "None" - ], - "openmrs_choice_ids": { - "PPIUCD": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Pills": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Implant": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Condoms": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "LAM": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Bead Counting": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Permanent (BTL)": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Permanent (Vascemtomy)": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "None": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Tafadhali chagua moja" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "pnc_family_planning_relevance.yml" - } - } - } - }, - { - "key": "fp_start_date", - "openmrs_entity_parent": "163757AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity": "", - "openmrs_entity_id": "1418AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "date_picker", - "hint": "Tarehe ya kuanza njia ya uzazi wa mpango", - "min_date": "today-120y", - "max_date": "today", - "v_required": { - "value": "true", - "err": "Tafadhali ingiza tarehe" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "pnc_family_planning_relevance.yml" - } - } - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/pnc_health_facility_visit.json b/opensrp-chw/src/ba/assets/json.form-sw/pnc_health_facility_visit.json deleted file mode 100644 index 6c84cf240d..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/pnc_health_facility_visit.json +++ /dev/null @@ -1,180 +0,0 @@ -{ - "count": "1", - "encounter_type": "Health Facility Visit", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Hudhurio katika kituo cha kutolea huduma za afya ya mama na mtoto baada ya kujifungua", - "fields": [ - { - "key": "pnc_visit_{0}", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "164378AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Je, mama alihudhuria hudhurio la {0} la huduma ya mama na mtoto baada ya kujifungua katika kituo cha kutolea huduma za afya? \n\nTarehe ya hudhurio lingine: {1}", - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo" - }, - "values": [ - "Ndiyo", - "Hapana" - ], - "keys": [ - "Yes", - "No" - ] - }, - { - "key": "pnc_hf_visit{0}_date", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "164093AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "date_picker", - "hint": "Tarehe ya hudhurio la {0} la huduma ya mama na mtoto baada ya kujifungua", - "expanded": false, - "max_date": "today", - "v_required": { - "value": "true", - "err": "Tafadhali ingiza tarehe" - }, - "relevance": { - "step1:pnc_visit_{0}": { - "type": "string", - "ex": "equalTo(., \"Yes\")" - } - } - }, - { - "key": "vit_a_mother", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "164378AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Je, mama alipewa Vitamini A ndani ya masaa 24 baada ya kujifungua?", - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo" - }, - "values": [ - "Ndiyo", - "Hapana" - ], - "keys": [ - "Yes", - "No" - ], - "relevance": { - "step1:pnc_visit_{0}": { - "type": "string", - "ex": "equalTo(., \"Yes\")" - } - } - }, - { - "key": "ifa_mother", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "104677AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Je, mama alipewa dawa za kuongeza damu (FEFO) ndani ya masaa 24 baada ya kujifungua?", - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo" - }, - "values": [ - "Ndiyo", - "Hapana" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "relevance": { - "step1:pnc_visit_{0}": { - "type": "string", - "ex": "equalTo(., \"Yes\")" - } - } - }, - { - "key": "confirmed_health_facility_visits", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "confirmed_health_facility_visits", - "type": "spacer", - "read_only": "true", - "hidden": "true", - "value": "0" - }, - { - "key": "last_health_facility_visit_date", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "last_health_facility_visit_date", - "type": "spacer", - "read_only": "true", - "hidden": "true", - "value": "0" - }, - { - "key": "pnc_hf_next_visit_date", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "pnc_hf_next_visit_date", - "type": "spacer" - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/pnc_health_facility_visit_one.json b/opensrp-chw/src/ba/assets/json.form-sw/pnc_health_facility_visit_one.json deleted file mode 100644 index b1bb2e36be..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/pnc_health_facility_visit_one.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "encounter_type": "PNC Health Facility Visit - Within 48 Hrs", - "pnc_hf_visit_48hrs": { - "title": "PNC HF Visit 48 hrs", - "fields": [ - { - "key": "pnc_visit_1", - "type": "native_radio", - "openmrs_entity": "", - "openmrs_entity_id": "", - "openmrs_entity_parent": "", - "label": "Je, mama alihudhuria hudhurio la kwanza la huduma ya mama na mtoto baada ya kujifungua (ndani ya masaa 48) katika kituo cha kutolea huduma za afya?\n\nTarehe ya hudhurio lingine: : [due date of visit]", - "options": [ - { - "key": "Yes", - "openmrs_entity": "", - "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Ndiyo" - }, - { - "key": "No", - "openmrs_entity": "", - "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Hapana" - } - ], - "v_required": { - "value": "true", - "err": null - } - }, - { - "key": "vit_a_mother", - "type": "native_radio", - "openmrs_entity": "", - "openmrs_entity_id": "", - "openmrs_entity_parent": "", - "label": "Je, mama alipewa Vitamini A ndani ya masaa 24 baada ya kujifungua?", - "options": [ - { - "key": "Yes", - "openmrs_entity": "", - "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Ndiyo" - }, - { - "key": "No", - "openmrs_entity": "", - "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Hapana" - } - ], - "v_required": { - "value": "true", - "err": null - } - }, - { - "key": "ifa_mother", - "type": "native_radio", - "openmrs_entity": "", - "openmrs_entity_id": "", - "openmrs_entity_parent": "", - "label": "Je, mama alipewa dawa za kuongeza damu (FEFO) ndani ya masaa 24 baada ya kujifungua?", - "options": [ - { - "key": "Yes", - "openmrs_entity": "", - "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Ndiyo" - }, - { - "key": "No", - "openmrs_entity": "", - "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "text": "Hapana" - } - ], - "v_required": { - "value": "true", - "err": null - } - } - ] - } -} diff --git a/opensrp-chw/src/ba/assets/json.form-sw/pnc_health_facility_visit_two.json b/opensrp-chw/src/ba/assets/json.form-sw/pnc_health_facility_visit_two.json deleted file mode 100644 index 238f82418a..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/pnc_health_facility_visit_two.json +++ /dev/null @@ -1,114 +0,0 @@ -{ - "count": "1", - "encounter_type": "Health Facility Visit", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Hudhurio katika kituo cha kutolea huduma za afya ya mama na mtoto baada ya kujifungua", - "fields": [ - { - "key": "pnc_visit_{0}", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "164378AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Je, mama alihudhuria hudhurio la {0} la huduma ya mama na mtoto baada ya kujifungua katika kituo cha kutolea huduma za afya?\n\nTarehe ya hudhurio lingine: {1}", - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo" - }, - "values": [ - "Ndiyo", - "Hapana" - ], - "keys": [ - "Yes", - "No" - ] - }, - { - "key": "pnc_hf_visit{0}_date", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "164093AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "date_picker", - "hint": "Tarehe ya hudhurio la {0} la huduma ya mama na mtoto baada ya kujifungua", - "expanded": false, - "max_date": "today", - "v_required": { - "value": "true", - "err": "Tafadhali ingiza tarehe" - }, - "relevance": { - "step1:pnc_visit_{0}": { - "type": "string", - "ex": "equalTo(., \"Yes\")" - } - } - }, - { - "key": "confirmed_health_facility_visits", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "confirmed_health_facility_visits", - "type": "spacer", - "read_only": "true", - "hidden": "true", - "value": "0" - }, - { - "key": "last_health_facility_visit_date", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "last_health_facility_visit_date", - "type": "spacer", - "read_only": "true", - "hidden": "true", - "value": "0" - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/pnc_hv_observations_infant.json b/opensrp-chw/src/ba/assets/json.form-sw/pnc_hv_observations_infant.json deleted file mode 100644 index 538dfe38a9..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/pnc_hv_observations_infant.json +++ /dev/null @@ -1,157 +0,0 @@ -{ - "count": "1", - "encounter_type": "ANC Registration", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Uchunguzi na ugonjwa kwa mtoto", - "fields": [ - { - "key": "date_of_illness_child", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1730AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "date_picker", - "hint": "Tarehe", - "expanded": false, - "min_date": "today-1y", - "max_date": "today", - "v_required": { - "value": "true", - "err": "Tafadhali ingiza tarehe ya shida" - } - }, - { - "key": "illness_description_child", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1390AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "edit_text", - "hint": "Maelezo", - "v_required": { - "value": "true", - "err": "Tafadhali ingiza maelezo" - } - }, - { - "key": "action_taken_child", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "164378AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "check_box", - "label": "Hatua zilizochukuliwa", - "label_text_style": "normal", - "text_color": "#C0C0C0", - "exclusive": [ - "chk_none" - ], - "options": [ - { - "key": "chk_ors", - "text": "ORS 5", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "351AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_zinc", - "text": "Zinc 10", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "86672AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_paracetamol", - "text": "Panadol", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "70116AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_referred", - "text": "Amepewa rufaa", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "163762AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_other_treatment", - "text": "Matibabu mengine", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_none", - "text": "Hajapata matibabu", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - ] - }, - { - "key": "other_treatment_illness_child", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "edit_text", - "hint": "Matibabu mengine", - "v_required": { - "value": "true", - "err": "Tafadhali ingiza maelezo ya ugonjwa" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_hv_observations.yml" - } - } - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/pnc_hv_observations_mother.json b/opensrp-chw/src/ba/assets/json.form-sw/pnc_hv_observations_mother.json deleted file mode 100644 index fb1daa076d..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/pnc_hv_observations_mother.json +++ /dev/null @@ -1,157 +0,0 @@ -{ - "count": "1", - "encounter_type": "ANC Registration", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Uchunguzi na ugonjwa kwa mama", - "fields": [ - { - "key": "date_of_illness_mama", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1730AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "date_picker", - "hint": "Tarehe", - "expanded": false, - "min_date": "today-1y", - "max_date": "today", - "v_required": { - "value": "true", - "err": "Tafadhali ingiza tarehe ya ugonjwa" - } - }, - { - "key": "illness_description_mama", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1390AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "edit_text", - "hint": "Maelezo", - "v_required": { - "value": "true", - "err": "Tafadhali ingiza maelezo" - } - }, - { - "key": "action_taken_mama", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "164378AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "check_box", - "label": "Hatua zilizochukuliwa", - "label_text_style": "normal", - "text_color": "#C0C0C0", - "exclusive": [ - "chk_none" - ], - "options": [ - { - "key": "chk_ors", - "text": "ORS 5", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "351AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_zinc", - "text": "Zinc 10", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "86672AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_paracetamol", - "text": "Panadol", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "70116AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_referred", - "text": "Amepewa rufaa", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "163762AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_other_treatment", - "text": "Matibabu mengine", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_none", - "text": "Hajapata matibabu", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - ] - }, - { - "key": "other_treatment_illness_mama", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "edit_text", - "hint": "Matibabu mengine", - "v_required": { - "value": "true", - "err": "Tafadhali ingiza maelezo ya ugonjwa" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_hv_observations.yml" - } - } - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/pnc_malaria_prevention.json b/opensrp-chw/src/ba/assets/json.form-sw/pnc_malaria_prevention.json deleted file mode 100644 index 1d49806701..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/pnc_malaria_prevention.json +++ /dev/null @@ -1,141 +0,0 @@ -{ - "count": "1", - "encounter_type": "Malaria Prevention", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Kuzuia malaria", - "fields": [ - { - "key": "fam_llin", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Je, ana chandarua chenye viuwatilifu vya muda mrefu?", - "values": [ - "Ndiyo", - "Hapana" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - } - }, - { - "key": "llin_2days", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Je, amelala kwenye chandarua chenye viuwatilifu vya muda mrefu usiku uliopita?", - "values": [ - "Ndiyo", - "Hapana" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - }, - "relevance": { - "step1:fam_llin": { - "type": "string", - "ex": "equalTo(., \"Yes\")" - } - } - }, - { - "key": "llin_condition", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Hali ya chandarua chenye viuwatilifu vya muda mrefu kinachotumika", - "values": [ - "Nzima", - "Mbovu" - ], - "keys": [ - "Okay", - "Bad" - ], - "openmrs_choice_ids": { - "Okay": "159405AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Bad": "159407AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - }, - "relevance": { - "step1:fam_llin": { - "type": "string", - "ex": "equalTo(., \"Yes\")" - } - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/pnc_nutrition_status_infant.json b/opensrp-chw/src/ba/assets/json.form-sw/pnc_nutrition_status_infant.json deleted file mode 100644 index 703d9af91c..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/pnc_nutrition_status_infant.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "count": "1", - "encounter_type": "Nutrition Status - Baby", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Hali ya lishe ya mtoto", - "fields": [ - { - "key": "nutrition_status_1m", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "163300AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Hali ya lishe ya mtoto mchanga", - "values": [ - "Nzuri/Kijani", - "Kadri/Njano", - "Dhaifu/Nyekundu" - ], - "keys": [ - "Normal", - "Moderate", - "Severe" - ], - "openmrs_choice_ids": { - "Yes": "1115AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1500AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Severe": "1500AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/pnc_nutrition_status_mother.json b/opensrp-chw/src/ba/assets/json.form-sw/pnc_nutrition_status_mother.json deleted file mode 100644 index cb8b44470e..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/pnc_nutrition_status_mother.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "count": "1", - "encounter_type": "Nutrition Status - Mother", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Hali ya lishe ya mama", - "fields": [ - { - "key": "nutrition_status_mama", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "163300AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Hali ya lishe ya mama", - "values": [ - "Nzuri/Kijani", - "Kadri/Njano", - "Dhaifu/Nyekundu" - ], - "keys": [ - "Normal", - "Moderate", - "Severe" - ], - "openmrs_choice_ids": { - "Yes": "1115AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1500AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Severe": "1500AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Tafadhali chagua chaguo moja" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/pnc_referral_form.json b/opensrp-chw/src/ba/assets/json.form-sw/pnc_referral_form.json deleted file mode 100644 index a304b199d6..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/pnc_referral_form.json +++ /dev/null @@ -1,497 +0,0 @@ -{ - "count": "1", - "encounter_type": "PNC Referral", - "entity_id": "", - "relational_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "", - "look_up": { - "entity_id": "", - "value": "" - } - }, - "step1": { - "title": "Rufaa kwa mama na mtoto baada ya kujifungua", - "fields": [ - { - "key": "chw_referral_hf_pnc", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1759AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "hidden", - "is_problem": false, - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "pnc_referral_calculation.yml" - } - } - } - }, - { - "key": "problem_hf_pnc", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "check_box", - "label": "Tatizo / hali ya afya ya mteja", - "label_text_style": "bold", - "options": [ - { - "key": "Vaginal_bleeding", - "text": "Kutoka damu ukenig", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "147232AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Discoloured_or_watery_liquid_vaginal_discharge", - "text": "Kutoka uchafu / majimaji ukeni yenye harufu mbaya", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "123396AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Severe_abdominal_pain", - "text": "Maumivu makali ya tumboni", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "165271AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Severe_anaemia", - "text": "Upungufu mkubwa wa damu (weupe wa kiganja)", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "162044AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Convulsions", - "text": "Degedege / mtukutiko wa mwili", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "113054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "A_severe_headache_dizziness", - "text": "Maumivu makali ya kichwa / kizunguzungu", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "139081AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Swelling_of_the_face_and_or_hands", - "text": "Kuvimba uso na / au mikono", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "460AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Fever", - "text": "Homa", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "140238AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Shivering_trembling", - "text": "Kutetemeka", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "158359AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Nausea", - "text": "Kichefuchefu", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "5978AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Vomiting", - "text": "Kutapika", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "122983AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Cord_prolapse", - "text": "Kutangulia kitovu cha mtoto", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "113617AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Perineum_bleeding", - "text": "Kuchanika msamba", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "136938AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Fullness_or_pain_of_the_breasts", - "text": "Kujaa au maumivu ya matiti, chuchu, na kushindwa kunyonyesha", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "118620AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "HIV_care_and_support_services", - "text": "Huduma za wateja / wagonjwa wanaoishi na VVU", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "159811AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Family_planning_services", - "text": "Huduma za uzazi wa mpango", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "5271AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "PMTCT_for_mothers", - "text": "Huduma ya kuzuia maambukizi ya VVU toka kwa mama kwenda kwa mtoto", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "160538AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Fistula", - "text": "Fistula", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "160854AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Fast_breathing_and_difficulty_with_breathing", - "text": "Kushindwa kupumua", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "142373AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Umbilical_cord", - "text": "Kutoka damu kwenye kitovu cha mtoto", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "123844AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Excessive_crying", - "text": "Mtoto kulia sana", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "140944AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Unable_to_breastfeed_or_swallow", - "text": "Kushindwa kunyonya au kumeza", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "159861AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Neck_stiffness", - "text": "Shingo kukakamaa", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "112721AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Bloating", - "text": "Tumbo kujaa", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "147132AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Redness_around_the_umbilical_cord_foul", - "text": "Uambukizo kwenye kitovu", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "132407AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Bacterial_conjunctivitis", - "text": "Macho kutoa uchafu / usaa", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "148026AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Pale_or_jaundiced", - "text": "Mwili kuwa njano", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "136443AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Cyanosis_blueness_of_lips", - "text": "Kubadilika kwa sababu ya kukosa hewa(midomo kuwa bluu,ulimi au viganja)", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "143050AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Skin_rash_pustules", - "text": "Vipele mwilini", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "512AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Diarrhea", - "text": "Kuharisha", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "142412AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Disabilities", - "text": "Kuzaliwa na ulemavu", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "162558AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Premature_baby", - "text": "Mtoto aliyezaliwa na Uzito pungufu/ njiti", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "159908AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Failure_to_pass_urine_or_stool", - "text": "Kushindwa kukojoa au kutopata haja kubwa kwa muda wa saa 24 baada ya kuzaliwa", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "", - "openmrs_entity_parent": "" - }, - { - "key": "Care_of_HIV_exposed_infant", - "text": "Huduma za kumsaidia mtoto aliyezaliwa na mama mwenye VVU", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "164818AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Immunisation", - "text": "Huduma za chanjo", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "1914AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Other_symptom", - "text": "Dalili nyingine", - "value": false, - "ignore": true, - "openmrs_entity": "", - "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - } - ], - "v_required": { - "value": true, - "err": "Tafadhali taja hali ya mteja / shida" - } - }, - { - "key": "problem_hf_pnc_other", - "type": "edit_text", - "openmrs_entity": "", - "openmrs_entity_id": "", - "openmrs_entity_parent": "", - "edit_type": "name", - "hint": "Dalili nyingine", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "pnc_referral_relevance.yml" - } - } - } - }, - { - "key": "service_before_pnc", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "164378AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "check_box", - "label": "Huduma aliyopewa kabla ya rufaa", - "label_text_style": "bold", - "is_problem": false, - "exclusive": [ - "None" - ], - "options": [ - { - "key": "ORS", - "text": "ORS", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "351AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Panadol", - "text": "Panadol", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "70116AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "Other_treatment", - "text": "Matibabu mengine", - "value": false, - "ignore": true, - "openmrs_entity": "", - "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - }, - { - "key": "None", - "text": "Hajapata matibabu", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "" - } - ], - "v_required": { - "value": "true", - "err": "Pre-referral management field is required" - } - }, - { - "key": "service_before_pnc_other", - "type": "edit_text", - "openmrs_entity": "", - "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "", - "edit_type": "name", - "hint": "Matibabu mengine", - "is_problem": false, - "v_required": { - "value": "true", - "err": "Tafadhali taja matibabu mengine" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "pnc_referral_relevance.yml" - } - } - } - }, - { - "key": "referral_date_pnc", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "163181AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "hidden", - "is_problem": false, - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "pnc_referral_calculation.yml" - } - } - } - }, - { - "key": "referral_time_pnc", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "hidden", - "is_problem": false, - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "pnc_referral_calculation.yml" - } - } - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/routine_home_visit.json b/opensrp-chw/src/ba/assets/json.form-sw/routine_home_visit.json deleted file mode 100644 index e803f95059..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/routine_home_visit.json +++ /dev/null @@ -1,185 +0,0 @@ -{ - "validate_on_submit": true, - "show_errors_on_submit": false, - "count": "1", - "encounter_type": "Counseling", - "entity_id": "", - "relational_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "", - "look_up": { - "entity_id": "", - "value": "" - } - }, - "step1": { - "title": "Ushauri", - "fields": [ - { - "key": "counselling_1m5yrs", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "counselling", - "type": "check_box", - "label": "Ushauri uliotolewa", - "label_text_style": "normal", - "text_color": "#C0C0C0", - "exclusive": [ - "chk_none" - ], - "options": [ - { - "key": "chk_maternal_nutrition", - "text": "3. Lishe kwa mama wakati wa kunyonyesha", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "" - }, - { - "key": "chk_hiv_aids", - "text": "5. Umuhimu wa kupata ushauri nasaha na kupima VVU", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "" - }, - { - "key": "chk_pmtc_for_mother", - "text": "6. Kuzuia mambukizi ya VVU kutoka kwa mama kwenda kwa mtoto", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "" - }, - { - "key": "chk_malaria_prevention", - "text": "7. Kuzuia malaria kwa watoto wenye umri chini ya miaka mitano", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "" - }, - { - "key": "chk_hiv_exposed_infant", - "text": "15. Ufuatiliaji wa mtoto aliyezaliwa na mama mwenye VVU", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "" - }, - { - "key": "chk_breast_feeding", - "text": "16. Unyonyeshaji wa maziwa ya mama", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "" - }, - { - "key": "chk_birth_registration", - "text": "19. Usajili wa vizazi", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "" - }, - { - "key": "chk_complementary_feeding", - "text": "20. Kumlisha mtoto vyakula vya nyongeza", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "" - }, - { - "key": "chk_growth_and_dev", - "text": "21. Makuzi na maendeleo ya awali ya mtoto", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "" - }, - { - "key": "chk_immunization", - "text": "22. Chanjo", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "" - }, - { - "key": "chk_newborn_danger", - "text": "23. Dalili za hatari kwa mtoto mchanga", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "" - }, - { - "key": "chk_infection", - "text": "24. Kuzuia maambukizi katika jamii", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "" - }, - { - "key": "chk_prevention_of_accidents", - "text": "25. Kuzuia ajali kwa watoto chini ya miaka Mitano", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "" - }, - { - "key": "chk_gender_issues", - "text": "26. Jinsia", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "" - }, - { - "key": "chk_none", - "text": "Hajafanya", - "value": false, - "openmrs_entity": "", - "openmrs_entity_id": "" - } - ], - "v_required": { - "value": true, - "err": "Tafadhali taja dalili zingine zozote au uchague hajafanya" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/stock_usage_report.json b/opensrp-chw/src/ba/assets/json.form-sw/stock_usage_report.json deleted file mode 100644 index f12804ba0e..0000000000 --- a/opensrp-chw/src/ba/assets/json.form-sw/stock_usage_report.json +++ /dev/null @@ -1,99 +0,0 @@ -{ - "count": "1", - "encounter_type": "Stock Usage Report", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Ripoti ya Hisa", - "fields": [ - { - "key": "stock_name", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "stock_name", - "type": "edit_text", - "hint": "Jina la Hisa", - "value": "" - }, - { - "key": "stock_year", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "stock_year", - "type": "edit_text", - "hint": "Mwaka wa Hisa", - "value": "" - }, - { - "key": "stock_month", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "stock_month", - "type": "edit_text", - "hint": "Mwezi wa Hisa", - "value": "" - }, - { - "key": "stock_usage", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "stock_usage", - "type": "edit_text", - "hint": "Matumizi ya Hisa", - "value": "" - }, - { - "key": "stock_provider", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "stock_provider", - "type": "edit_text", - "hint": "Mtoaji wa Hisa", - "value": "" - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/tb_case_closure.json b/opensrp-chw/src/ba/assets/json.form-sw/tb_case_closure.json new file mode 100644 index 0000000000..9384561eb2 --- /dev/null +++ b/opensrp-chw/src/ba/assets/json.form-sw/tb_case_closure.json @@ -0,0 +1,141 @@ +{ + "form": "TB Case Closure form", + "count": "1", + "encounter_type": "TB Case Closure", + "entity_id": "", + "relational_id": "", + "rules_file": "rule/tb_case_closure_form_rules.yml", + "metadata": { + "start": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "start", + "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "end": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "end", + "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "today": { + "openmrs_entity_parent": "", + "openmrs_entity": "encounter", + "openmrs_entity_id": "encounter_date" + }, + "deviceid": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "deviceid", + "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "subscriberid": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "subscriberid", + "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "simserial": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "simserial", + "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "phonenumber": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "phonenumber", + "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "encounter_location": "", + "look_up": { + "entity_id": "", + "value": "" + } + }, + "steps": [ + { + "title": "Fuzu huduma za TB", + "fields": [ + { + "name": "client_condition", + "type": "spinner", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_condition", + "openmrs_entity_parent": "" + }, + "properties": { + "text": "Hali ya mteja wakati wakumtembelea" + }, + "options": [ + { + "name": "client_does_her_daily_activities", + "text": "Anaweza kufanya shughuli zake za kila siku", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_does_her_daily_activities", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_takes_care_of_himself", + "text": "Anajimudu mwenyewe (kuoga, kula, kuvaa)", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_takes_care_of_himself", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_is_unable_to_take_care_of_himself", + "text": "Hajimudu", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_is_unable_to_take_care_of_himself", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Tafadhali jaza hali ya mteja wakati wa kumtembelea", + "dependent_calculations": [ + "tb_case_closure_date" + ] + }, + { + "name": "completed_medication_as_required", + "type": "spinner", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "completed_medication_as_required", + "openmrs_entity_parent": "" + }, + "properties": { + "text": "Mteja ametumia dawa kwa usahihi" + }, + "options": [ + { + "name": "yes", + "text": "Ndio", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "yes", + "openmrs_entity_parent": "" + } + }, + { + "name": "no", + "text": "Hapana", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "no", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Tafadhali jibu swali hili" + } + ] + } + ] +} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/tb_community_followup_feedback.json b/opensrp-chw/src/ba/assets/json.form-sw/tb_community_followup_feedback.json new file mode 100644 index 0000000000..3b09543ff8 --- /dev/null +++ b/opensrp-chw/src/ba/assets/json.form-sw/tb_community_followup_feedback.json @@ -0,0 +1,144 @@ +{ + "form": "TB Community Followup Feedback", + "count": "1", + "encounter_type": "TB Community Followup Feedback", + "entity_id": "", + "relational_id": "", + "rules_file": "rule/tb_community_followup_feedback_rules.yml", + "metadata": { + "start": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "start", + "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "end": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "end", + "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "today": { + "openmrs_entity_parent": "", + "openmrs_entity": "encounter", + "openmrs_entity_id": "encounter_date" + }, + "deviceid": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "deviceid", + "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "subscriberid": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "subscriberid", + "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "simserial": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "simserial", + "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "phonenumber": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "phonenumber", + "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "encounter_location": "", + "look_up": { + "entity_id": "", + "value": "" + } + }, + "steps": [ + { + "title": "Fomu ya mrejesho wa ufwatiliaji wa mteja wenye Kifua Kikuu", + "fields": [ + { + "name": "followup_status", + "type": "spinner", + "properties": { + "text": "Followup Feedback" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "followup_status", + "openmrs_entity_parent": "" + }, + "options": [ + { + "name": "continuing_with_services", + "text": "Anaendelea na Huduma.", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "continuing_with_services", + "openmrs_entity_parent": "" + } + }, + { + "name": "deceased", + "text": "Amefariki", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "deceased", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_not_found", + "text": "Hapatikani", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_not_found", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_relocated_to_another_location", + "text": "Amehamishiwa mahali pengine", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_relocated_to_another_location", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_has_moved", + "text": "Amehama", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_has_moved", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_has_absconded", + "text": "Amejitoa", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_has_absconded", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_continues_with_clinic_from_elsewhere", + "text": "Anaendelea na huduma akitokea mahali pengine", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_continues_with_clinic_from_elsewhere", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Please select the followup feedback", + "dependent_calculations": [ + "tb_community_followup_visit_date" + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/tb_followup_visit.json b/opensrp-chw/src/ba/assets/json.form-sw/tb_followup_visit.json new file mode 100644 index 0000000000..2cca8cd092 --- /dev/null +++ b/opensrp-chw/src/ba/assets/json.form-sw/tb_followup_visit.json @@ -0,0 +1,458 @@ +{ + "form": "TB Followup form", + "count": "1", + "encounter_type": "TB Followup", + "entity_id": "", + "relational_id": "", + "rules_file": "rule/tb_followup_form_rules.yml", + "metadata": { + "start": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "start", + "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "end": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "end", + "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "today": { + "openmrs_entity_parent": "", + "openmrs_entity": "encounter", + "openmrs_entity_id": "encounter_date" + }, + "deviceid": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "deviceid", + "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "subscriberid": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "subscriberid", + "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "simserial": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "simserial", + "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "phonenumber": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "phonenumber", + "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "encounter_location": "", + "look_up": { + "entity_id": "", + "value": "" + } + }, + "steps": [ + { + "title": "Fomu ya kumtembelea mgonjwa wa TB", + "fields": [ + { + "name": "registration_or_followup_status", + "type": "spinner", + "properties": { + "text": "Hali ya usajili/ ufuatiliaji" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "registration_or_followup_status", + "openmrs_entity_parent": "" + }, + "options": [ + { + "name": "new_client", + "text": "Mpya", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "new_client", + "openmrs_entity_parent": "" + } + }, + { + "name": "continuing_with_services", + "text": "Anaendelea na Huduma.", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "continuing_with_services", + "openmrs_entity_parent": "" + } + }, + { + "name": "deceased", + "text": "Amefariki", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "deceased", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_not_found", + "text": "Hapatikani", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_not_found", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_relocated_to_another_location", + "text": "Amehamishiwa mahali pengine", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_relocated_to_another_location", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_has_moved", + "text": "Amehama", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_has_moved", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_has_absconded", + "text": "Amejitoa", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_has_absconded", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_continues_with_clinic_from_elsewhere", + "text": "Anaendelea na huduma akitokea mahali pengine", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_continues_with_clinic_from_elsewhere", + "openmrs_entity_parent": "" + } + }, + { + "name": "completed_and_qualified_from_the_services ", + "text": "Amefuzu huduma", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "completed_and_qualified_from_the_services", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Tafadhali jaza hali ya usajili/ ufuatiliaji", + "dependent_calculations": [ + "tb_followup_visit_date" + ] + }, + { + "name": "client_condition", + "type": "spinner", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_condition", + "openmrs_entity_parent": "" + }, + "properties": { + "text": "Hali ya mteja" + }, + "options": [ + { + "name": "client_does_her_daily_activities", + "text": "Anaweza kufanya shughuli zake za kila siku", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_does_her_daily_activities", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_takes_care_of_himself", + "text": "Anajimudu mwenyewe (kuoga, kula, kuvaa)", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_takes_care_of_himself", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_is_unable_to_take_care_of_himself", + "text": "Hajimudu", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_is_unable_to_take_care_of_himself", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Tafadhali jaza hali ya mteja", + "subjects": "registration_or_followup_status:text" + }, + { + "name": "problem", + "type": "multi_choice_checkbox", + "properties": { + "text": "Matatizo ya kijamii/kitabibu ya Mteja" + }, + "meta_data": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_entity_id": "problem" + }, + "options": [ + { + "name": "other_problems", + "text": "Matatizo mengine", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "other_problems", + "openmrs_entity_parent": "" + } + }, + { + "name": "none", + "text": "Hana tatizo", + "is_exclusive": true, + "meta_data": { + "openmrs_entity": "", + "openmrs_entity_id": "", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Tafadhali chagua matatizo ya kijamii/kitabibu ya Mteja", + "subjects": "registration_or_followup_status:text" + }, + { + "name": "problem_other", + "type": "text_input_edit_text", + "properties": { + "hint": "Matatizo mengine ya kijamii/kitabibu ya Mteja", + "type": "name" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "problem_other", + "openmrs_entity_parent": "problem" + }, + "required_status": "Tafadhali jaza matatizo mengine", + "subjects": "problem:map" + }, + { + "name": "client_behaviour_and_environmental_risk", + "type": "spinner", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_behaviour_and_environmental_risk", + "openmrs_entity_parent": "" + }, + "properties": { + "text": "Tabia na mazingira hatarishi ya mteja" + }, + "options": [ + { + "name": "na", + "text": "Haihusiki", + "meta_data": { + "openmrs_entity": "", + "openmrs_entity_id": "", + "openmrs_entity_parent": "" + } + }, + { + "name": "alcoholism", + "text": "Mlevi", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "alcoholism", + "openmrs_entity_parent": "" + } + }, + { + "name": "vulnerable_environment", + "text": "Anaishi kwenye mazingira hatarishi", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "vulnerable_environment", + "openmrs_entity_parent": "" + } + }, + { + "name": "hiv_positive", + "text": "Anamambukizi ya VVU", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "hiv_positive", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Tafadhali jaza tabia na mazingira hatarishi ya mteja", + "subjects": "registration_or_followup_status:text" + }, + { + "name": "supplies_provided", + "type": "multi_choice_checkbox", + "properties": { + "text": "Vifaa na dawa zilizotolewa" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "supplies_provided", + "openmrs_entity_parent": "" + }, + "options": [ + { + "name": "other_medicine", + "text": "Vifaa na dawa nyingine", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "other_medicine", + "openmrs_entity_parent": "" + } + }, + { + "name": "none", + "text": "Hamna kilichotolewa", + "is_exclusive": true, + "meta_data": { + "openmrs_entity": "", + "openmrs_entity_id": "", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Tafadhali jaza vifaa na dawa zilizotolewa", + "subjects": "registration_or_followup_status:text" + }, + { + "name": "supplies_provided_other", + "type": "text_input_edit_text", + "properties": { + "hint": "Vifaa na dawa nyingine vilivyotolewa" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "supplies_provided_other", + "openmrs_entity_parent": "supplies_provided" + }, + "required_status": "true:Tafadhali jaza vifaa na dawa nyingine", + "subjects": "supplies_provided:map" + }, + { + "name": "tb_services_provided", + "type": "multi_choice_checkbox", + "properties": { + "text": "Huduma zilizotolewa (Huduma za TB/DR-TB katika Jamii ikiwemo TB/DR-TB) " + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "tb_services_provided", + "openmrs_entity_parent": "" + }, + "options": [ + { + "name": "other_services", + "text": "Huduma nyingnie za TB katika jamii", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "other_tb_services", + "openmrs_entity_parent": "" + } + }, + { + "name": "none", + "text": "Hamna huduma iliyotolewa", + "is_exclusive": true, + "meta_data": { + "openmrs_entity": "", + "openmrs_entity_id": "", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Please TB services provided", + "subjects": "registration_or_followup_status:text" + }, + { + "name": "tb_services_provided_other", + "type": "text_input_edit_text", + "properties": { + "hint": "Huduma nyingnie za TB katika jamii zilizotolewa", + "type": "name" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "tb_services_provided_other", + "openmrs_entity_parent": "tb_services_provided" + }, + "required_status": "true:Tafadhali jaza huduma nyingnie za TB katika jamii zilizotolewa", + "subjects": "tb_services_provided:map" + }, + { + "name": "state_of_therapy", + "type": "spinner", + "properties": { + "text": "Hali ya Tiba na Matunzo (TB/DR-TB)" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "state_of_therapy", + "openmrs_entity_parent": "" + }, + "options": [ + { + "name": "registered_but_not_began_medication", + "text": "Ameandikishwa TB klinik lakini hajaanza TB/ DR TB", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "registered_but_not_began_medication", + "openmrs_entity_parent": "" + } + }, + { + "name": "registered_and_uses_medication", + "text": "Ameandikishwa TB klinik na anatumia TB/ DR TB", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "registered_and_uses_medication", + "openmrs_entity_parent": "" + } + }, + { + "name": "not_registered_in_tb_clinic", + "text": "Hajaandikishwa TB klinik", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "not_registered_in_tb_clinic", + "openmrs_entity_parent": "" + } + }, + { + "name": "na", + "text": "Haihusiki", + "meta_data": { + "openmrs_entity": "", + "openmrs_entity_id": "", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Tafadhali jaza hali ya Tiba na Matunzo ", + "subjects": "registration_or_followup_status:text" + } + ] + } + ] +} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/tb_registration.json b/opensrp-chw/src/ba/assets/json.form-sw/tb_registration.json new file mode 100644 index 0000000000..2376bfbc58 --- /dev/null +++ b/opensrp-chw/src/ba/assets/json.form-sw/tb_registration.json @@ -0,0 +1,339 @@ +{ + "form": "TB Registration form", + "count": "1", + "encounter_type": "TB Registration", + "entity_id": "", + "relational_id": "", + "rules_file": "rule/tb_registration_form_rules.yml", + "metadata": { + "start": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "start", + "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "end": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "end", + "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "today": { + "openmrs_entity_parent": "", + "openmrs_entity": "encounter", + "openmrs_entity_id": "encounter_date" + }, + "deviceid": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "deviceid", + "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "subscriberid": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "subscriberid", + "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "simserial": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "simserial", + "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "phonenumber": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "phonenumber", + "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "encounter_location": "", + "look_up": { + "entity_id": "", + "value": "" + } + }, + "steps": [ + { + "title": "Usajili wa wateja wa TB", + "fields": [ + { + "name": "community_client_tb_registration_number", + "type": "text_input_edit_text", + "properties": { + "hint": "Namba ya Kliniki ya TB" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "community_client_tb_registration_number", + "openmrs_entity_parent": "" + }, + "required_status": "no" + }, + { + "name": "client_tb_status_during_registration", + "type": "spinner", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_tb_status_during_registration", + "openmrs_entity_parent": "" + }, + "properties": { + "text": "Hali ya maambukizo ya TB wakati wa kuandikishwa" + }, + "options": [ + { + "name": "unknown", + "text": "Haijulikani", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "unknown", + "openmrs_entity_parent": "" + } + }, + { + "name": "positive", + "text": "Ana maambukizi", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "positive", + "openmrs_entity_parent": "" + } + }, + { + "name": "negative", + "text": "Hana maambukizi", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "negative", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Tafadhali jaza hali ya maambukizo ya TB wakati wa kuandikishwa", + "dependent_calculations": [ + "tb_registration_date" + ] + }, + { + "name": "place_of_domicile", + "type": "spinner", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "place_of_domicile", + "openmrs_entity_parent": "" + }, + "properties": { + "text": "Mahali alipotokea mteja/alipohojiwa" + }, + "options": [ + { + "name": "a_family_with_tb_patient", + "text": "Familia yenye mgonjwa wa TB (Andika namba ya wilaya ya mgonjwa wa TB)", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "a_family_with_tb_patient", + "openmrs_entity_parent": "" + } + }, + { + "name": "a_family_without_tb_patient", + "text": "Familia isiyo na mgonjwa wa TB/DR-TB", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "a_family_without_tb_patient", + "openmrs_entity_parent": "" + } + }, + { + "name": "community_gathering", + "text": "Mkusanyiko wa watu/sehemu nyingine", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "community_gathering", + "openmrs_entity_parent": "" + } + }, + { + "name": "pharmacy", + "text": "Duka la dawa", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "pharmacy", + "openmrs_entity_parent": "" + } + }, + { + "name": "traditional_doctors", + "text": "Mganga wa jadi", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "traditional_doctors", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Tafadhali jaza mahali alipotokea mteja/alipohojiwa" + }, + { + "name": "district_council_number_of_current_tb_client", + "type": "text_input_edit_text", + "properties": { + "hint": "Jaza namba ya wilaya ya mgonjwa wa TB" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "district_council_number_of_current_tb_client", + "openmrs_entity_parent": "" + }, + "required_status": "yes:Tafadhali jaza jaza namba ya wilaya ya mgonjwa wa TB", + "subjects": "place_of_domicile:text" + }, + { + "name": "community_gathering", + "type": "spinner", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "community_gathering", + "openmrs_entity_parent": "" + }, + "properties": { + "text": "Mkusanyiko wa watu/sehemu nyingine" + }, + "options": [ + { + "name": "school", + "text": "Shule", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "school", + "openmrs_entity_parent": "" + } + }, + { + "name": "worship_houses", + "text": "Nyumba za Ibada", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "worship_houses", + "openmrs_entity_parent": "" + } + }, + { + "name": "mining", + "text": "Machimbo", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "mining", + "openmrs_entity_parent": "" + } + }, + { + "name": "public_meetings", + "text": "Mikutano ya hadhara", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "public_meetings", + "openmrs_entity_parent": "" + } + }, + { + "name": "prison", + "text": "Magereza", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "prison", + "openmrs_entity_parent": "" + } + }, + { + "name": "others", + "text": "Kwingineko", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "others", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Tafadhali jaza mkusanyiko wa watu/sehemu nyingine", + "subjects": "place_of_domicile:text" + }, + { + "name": "other_community_gathering", + "type": "text_input_edit_text", + "properties": { + "hint": "Taja kwingineko" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "other_community_gathering", + "openmrs_entity_parent": "" + }, + "required_status": "yes:Tafadhali jaza kwingineko", + "subjects": "community_gathering:text" + }, + { + "name": "client_screening_results", + "type": "spinner", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_screening_results", + "openmrs_entity_parent": "" + }, + "properties": { + "text": "Matokeo ya mahojiano (*Dalili alizonazo)" + }, + "options": [ + { + "name": "coughing", + "text": "Kikihozi", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "coughing", + "openmrs_entity_parent": "" + } + }, + { + "name": "hemoptysis", + "text": "Makohozi yaliyochanganyika na Damu", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "hemoptysis", + "openmrs_entity_parent": "" + } + }, + { + "name": "fever", + "text": "Homa", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "fever", + "openmrs_entity_parent": "" + } + }, + { + "name": "weight_lose", + "text": "Kupungua uzito", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "weight_lose", + "openmrs_entity_parent": "" + } + }, + { + "name": "night_sweats", + "text": "Kutokwa jasho jingi kuliko kawaida hasa nyakati za usiku", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "night_sweats", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Tafadhali jaza matokeo ya mahojiano (*Dalili alizonazo)" + } + ] + } + ] +} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/all_clients_registration_form.json b/opensrp-chw/src/ba/assets/json.form/all_clients_registration_form.json index 6e2fba578b..fe8152fe37 100644 --- a/opensrp-chw/src/ba/assets/json.form/all_clients_registration_form.json +++ b/opensrp-chw/src/ba/assets/json.form/all_clients_registration_form.json @@ -54,7 +54,7 @@ } }, "step1": { - "title": "Location details", + "title": "{{all_clients_registration_form.step1.title}}", "next": "step2", "fields": [ { @@ -63,15 +63,15 @@ "openmrs_entity": "person", "openmrs_entity_id": "first_name", "type": "edit_text", - "hint": "Surname", + "hint": "{{all_clients_registration_form.step1.fam_name.hint}}", "edit_type": "name", "v_required": { "value": "true", - "err": "Please enter the surname" + "err": "{{all_clients_registration_form.step1.fam_name.v_required.err}}" }, "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter surname" + "err": "{{all_clients_registration_form.step1.fam_name.v_regex.err}}" } }, { @@ -82,11 +82,11 @@ "hidden": "true", "type": "barcode", "barcode_type": "qrcode", - "hint": "ID", - "scanButtonText": "Scan QR Code", + "hint": "{{all_clients_registration_form.step1.unique_id.hint}}", + "scanButtonText": "{{all_clients_registration_form.step1.unique_id.scanButtonText}}", "v_numeric": { "value": "true", - "err": "Please enter a valid ID" + "err": "{{all_clients_registration_form.step1.unique_id.v_numeric.err}}" } }, { @@ -96,14 +96,14 @@ "openmrs_entity_id": "cityVillage", "type": "edit_text", "edit_type": "name", - "hint": "Village", + "hint": "{{all_clients_registration_form.step1.fam_village.hint}}", "v_required": { "value": "true", - "err": "Please enter the village or town" + "err": "{{all_clients_registration_form.step1.fam_village.v_required.err}}" }, "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid village name" + "err": "{{all_clients_registration_form.step1.fam_village.v_regex.err}}" } }, { @@ -113,10 +113,10 @@ "openmrs_entity_id": "landmark", "type": "edit_text", "edit_type": "name", - "hint": "Landmark/ description of house location", + "hint": "{{all_clients_registration_form.step1.landmark.hint}}", "v_required": { "value": true, - "err": "Please enter the landmark/description of location." + "err": "{{all_clients_registration_form.step1.landmark.v_required.err}}" } }, { @@ -142,17 +142,17 @@ "openmrs_entity_id": "162724AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "text", "type": "tree", - "hint": "Nearest health facility", + "hint": "{{all_clients_registration_form.step1.nearest_facility.hint}}", "tree": [], "v_required": { "value": true, - "err": "Please enter the nearest health facility" + "err": "{{all_clients_registration_form.step1.nearest_facility.v_required.err}}" } } ] }, "step2": { - "title": "Client details", + "title": "{{all_clients_registration_form.step2.title}}", "fields": [ { "key": "photo", @@ -160,7 +160,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "choose_image", - "uploadButtonText": "Take a picture of the person" + "uploadButtonText": "{{all_clients_registration_form.step2.photo.uploadButtonText}}" }, { "key": "unique_id", @@ -169,15 +169,15 @@ "openmrs_entity_id": "opensrp_id", "type": "barcode", "barcode_type": "qrcode", - "hint": "Boresha Afya ID", - "scanButtonText": "Scan QR Code", + "hint": "{{all_clients_registration_form.step2.unique_id.hint}}", + "scanButtonText": "{{all_clients_registration_form.step2.unique_id.scanButtonText}}", "v_numeric": { "value": "true", - "err": "Please enter a valid ID" + "err": "{{all_clients_registration_form.step2.unique_id.v_numeric.err}}" }, "v_required": { "value": "true", - "err": "Please enter the UNIQUE ID" + "err": "{{all_clients_registration_form.step2.unique_id.v_required.err}}" } }, { @@ -186,16 +186,16 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "edit_text", - "hint": "Surname", + "hint": "{{all_clients_registration_form.step2.surname.hint}}", "edit_type": "name", "read_only": true, "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid name" + "err": "{{all_clients_registration_form.step2.surname.v_regex.err}}" }, "v_required": { "value": "true", - "err": "Please enter the surname" + "err": "{{all_clients_registration_form.step2.surname.v_required.err}}" }, "calculation": { "rules-engine": { @@ -211,15 +211,15 @@ "openmrs_entity": "person", "openmrs_entity_id": "first_name", "type": "edit_text", - "hint": "First name", + "hint": "{{all_clients_registration_form.step2.first_name.hint}}", "edit_type": "name", "v_required": { "value": "true", - "err": "Please enter the first name" + "err": "{{all_clients_registration_form.step2.first_name.v_required.err}}" }, "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid name" + "err": "{{all_clients_registration_form.step2.first_name.v_regex.err}}" } }, { @@ -228,15 +228,15 @@ "openmrs_entity": "person", "openmrs_entity_id": "middle_name", "type": "edit_text", - "hint": "Middle name", + "hint": "{{all_clients_registration_form.step2.middle_name.hint}}", "edit_type": "name", "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid name" + "err": "{{all_clients_registration_form.step2.middle_name.v_regex.err}}" }, "v_required": { "value": "true", - "err": "Please enter the middle name" + "err": "{{all_clients_registration_form.step2.middle_name.v_required.err}}" } }, { @@ -245,16 +245,16 @@ "openmrs_entity": "person", "openmrs_entity_id": "birthdate", "type": "date_picker", - "hint": "Date of birth (DOB)", + "hint": "{{all_clients_registration_form.step2.dob.hint}}", "expanded": false, "duration": { - "label": "Age" + "label": "{{all_clients_registration_form.step2.dob.duration.label}}" }, "min_date": "today-120y", "max_date": "today-5y", "v_required": { "value": "true", - "err": "Please enter the date of birth" + "err": "{{all_clients_registration_form.step2.dob.v_required.err}}" }, "relevance": { "rules-engine": { @@ -284,11 +284,11 @@ "openmrs_entity": "person", "openmrs_entity_id": "birthdateApprox", "type": "check_box", - "label": "", + "label": "{{all_clients_registration_form.step2.dob_unknown.label}}", "options": [ { "key": "dob_unknown", - "text": "DOB unknown?", + "text": "{{all_clients_registration_form.step2.dob_unknown.options.dob_unknown.text}}", "text_size": "18px", "value": "false" } @@ -300,22 +300,22 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "age", "type": "edit_text", - "hint": "Age", + "hint": "{{all_clients_registration_form.step2.age.hint}}", "v_numeric_integer": { "value": "true", - "err": "Must be a rounded number" + "err": "{{all_clients_registration_form.step2.age.v_numeric_integer.err}}" }, "v_numeric": { "value": "true", - "err": "Number must begin with 0 and must be a total of 10 digits in length" + "err": "{{all_clients_registration_form.step2.age.v_numeric.err}}" }, "v_min": { "value": "5", - "err": "Age must be equal or greater than 5" + "err": "{{all_clients_registration_form.step2.age.v_min.err}}" }, "v_max": { "value": "120", - "err": "Age must be equal or less than 120" + "err": "{{all_clients_registration_form.step2.age.v_max.err}}" }, "relevance": { "rules-engine": { @@ -326,7 +326,7 @@ }, "v_required": { "value": true, - "err": "Please enter the age" + "err": "{{all_clients_registration_form.step2.age.v_required.err}}" } }, { @@ -335,7 +335,7 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "id_avail", "type": "check_box", - "label": "Do have any of the following IDs?", + "label": "{{all_clients_registration_form.step2.id_avail.label}}", "label_text_style": "normal", "text_color": "#C0C0C0", "exclusive": [ @@ -344,35 +344,35 @@ "options": [ { "key": "chk_national_id", - "text": "National ID", + "text": "{{all_clients_registration_form.step2.id_avail.options.chk_national_id.text}}", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "chk_national_id" }, { "key": "chk_voters_id", - "text": "Voter's registration ID", + "text": "{{all_clients_registration_form.step2.id_avail.options.chk_voters_id.text}}", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "chk_voters_id" }, { "key": "chk_drivers_license", - "text": "Driver's license", + "text": "{{all_clients_registration_form.step2.id_avail.options.chk_drivers_license.text}}", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "chk_drivers_license" }, { "key": "chk_passport", - "text": "Passport", + "text": "{{all_clients_registration_form.step2.id_avail.options.chk_passport.text}}", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "chk_passport" }, { "key": "chk_none", - "text": "None", + "text": "{{all_clients_registration_form.step2.id_avail.options.chk_none.text}}", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "chk_none" @@ -392,7 +392,7 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "National_ID", "type": "edit_text", - "hint": "National ID number", + "hint": "{{all_clients_registration_form.step2.national_id.hint}}", "edit_type": "name", "relevance": { "step2:id_avail": { @@ -412,7 +412,7 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Voter_Registration_Number", "type": "edit_text", - "hint": "Voter's registration number", + "hint": "{{all_clients_registration_form.step2.voter_id.hint}}", "edit_type": "name", "relevance": { "step2:id_avail": { @@ -432,7 +432,7 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Driver_License_Number", "type": "edit_text", - "hint": "Driver's license number", + "hint": "{{all_clients_registration_form.step2.driver_license.hint}}", "edit_type": "name", "relevance": { "step2:id_avail": { @@ -452,7 +452,7 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Passport_Number", "type": "edit_text", - "hint": "Passport number", + "hint": "{{all_clients_registration_form.step2.passport.hint}}", "edit_type": "name", "relevance": { "step2:id_avail": { @@ -472,21 +472,21 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Health_Insurance_Type", "type": "spinner", - "hint": "Health insurance provider", + "hint": "{{all_clients_registration_form.step2.insurance_provider.hint}}", "values": [ - "Community Health Fund (CHF)", - "iCHF", - "National Social Security Fund - Social Health Insurance Benefit (SHIB)", - "Tiba Kwa Kadi (TIKA)", - "AAR Healthcare", - "Strategies Insurance", - "Milvik Tanzania Ltd (BIMA Mkononi)", - "Britam Insurance Tanzania", - "Jubilee Insurance", - "Resolutions Insurance", - "Reliance Insurance", - "Other", - "None" + "{{all_clients_registration_form.step2.insurance_provider.values[0]}}", + "{{all_clients_registration_form.step2.insurance_provider.values[1]}}", + "{{all_clients_registration_form.step2.insurance_provider.values[2]}}", + "{{all_clients_registration_form.step2.insurance_provider.values[3]}}", + "{{all_clients_registration_form.step2.insurance_provider.values[4]}}", + "{{all_clients_registration_form.step2.insurance_provider.values[5]}}", + "{{all_clients_registration_form.step2.insurance_provider.values[6]}}", + "{{all_clients_registration_form.step2.insurance_provider.values[7]}}", + "{{all_clients_registration_form.step2.insurance_provider.values[8]}}", + "{{all_clients_registration_form.step2.insurance_provider.values[9]}}", + "{{all_clients_registration_form.step2.insurance_provider.values[10]}}", + "{{all_clients_registration_form.step2.insurance_provider.values[11]}}", + "{{all_clients_registration_form.step2.insurance_provider.values[12]}}" ], "keys": [ "Community Health Fund (CHF)", @@ -520,7 +520,7 @@ }, "v_required": { "value": "true", - "err": "Please enter the insurance provider" + "err": "{{all_clients_registration_form.step2.insurance_provider.v_required.err}}" } }, { @@ -529,10 +529,10 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Other_Health_Insurance_Type", "type": "edit_text", - "hint": "Other health insurance provider", + "hint": "{{all_clients_registration_form.step2.insurance_provider_other.hint}}", "v_required": { "value": "true", - "err": "Please specify the insurance provider" + "err": "{{all_clients_registration_form.step2.insurance_provider_other.v_required.err}}" }, "relevance": { "rules-engine": { @@ -548,10 +548,10 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Health_Insurance_Number", "type": "edit_text", - "hint": "Health insurance provider number", + "hint": "{{all_clients_registration_form.step2.insurance_provider_number.hint}}", "v_required": { "value": "true", - "err": "Please add the health insurance provider iD Number" + "err": "{{all_clients_registration_form.step2.insurance_provider_number.v_required.err}}" }, "relevance": { "rules-engine": { @@ -567,10 +567,10 @@ "openmrs_entity": "person", "openmrs_entity_id": "gender", "type": "spinner", - "hint": "Sex", + "hint": "{{all_clients_registration_form.step2.sex.hint}}", "values": [ - "Male", - "Female" + "{{all_clients_registration_form.step2.sex.values[0]}}", + "{{all_clients_registration_form.step2.sex.values[1]}}" ], "keys": [ "Male", @@ -578,7 +578,7 @@ ], "v_required": { "value": "true", - "err": "Please enter the sex" + "err": "{{all_clients_registration_form.step2.sex.v_required.err}}" } }, { @@ -615,10 +615,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "160692AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "spinner", - "hint": "Has the woman delivered in the last 1 year?", + "hint": "{{all_clients_registration_form.step2.preg_1yr.hint}}", "values": [ - "Yes", - "No" + "{{all_clients_registration_form.step2.preg_1yr.values[0]}}", + "{{all_clients_registration_form.step2.preg_1yr.values[1]}}" ], "keys": [ "Yes", @@ -630,7 +630,7 @@ }, "v_required": { "value": "true", - "err": "Please select if the woman has delivered in the last 1 year" + "err": "{{all_clients_registration_form.step2.preg_1yr.v_required.err}}" }, "relevance": { "rules-engine": { @@ -646,10 +646,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "162558AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "spinner", - "hint": "Physical disabilities", + "hint": "{{all_clients_registration_form.step2.disabilities.hint}}", "values": [ - "Yes", - "No" + "{{all_clients_registration_form.step2.disabilities.values[0]}}", + "{{all_clients_registration_form.step2.disabilities.values[1]}}" ], "keys": [ "Yes", @@ -661,7 +661,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{all_clients_registration_form.step2.disabilities.v_required.err}}" } }, { @@ -670,10 +670,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", - "hint": "Type of disability", + "hint": "{{all_clients_registration_form.step2.type_of_disability.hint}}", "v_required": { "value": "true", - "err": "Please enter type of disability" + "err": "{{all_clients_registration_form.step2.type_of_disability.v_required.err}}" }, "relevance": { "rules-engine": { @@ -689,18 +689,18 @@ "openmrs_entity": "concept", "openmrs_entity_id": "159635AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", - "hint": "Client phone number", + "hint": "{{all_clients_registration_form.step2.phone_number.hint}}", "v_numeric": { "value": "true", - "err": "Number must be a total of 10 digits in length" + "err": "{{all_clients_registration_form.step2.phone_number.v_numeric.err}}" }, "v_regex": { "value": "(0[0-9]{9})|\\s*", - "err": "Number must be 10 digits and must start with 0." + "err": "{{all_clients_registration_form.step2.phone_number.v_regex.err}}" }, "v_required": { "value": false, - "err": "Please specify the phone number" + "err": "{{all_clients_registration_form.step2.phone_number.v_required.err}}" } }, { @@ -709,10 +709,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "Has_Primary_Caregiver", "type": "spinner", - "hint": " Do you have a primary caregiver/Treatment supporter?", + "hint": "{{all_clients_registration_form.step2.has_primary_caregiver.hint}}", "values": [ - "Yes", - "No" + "{{all_clients_registration_form.step2.has_primary_caregiver.values[0]}}", + "{{all_clients_registration_form.step2.has_primary_caregiver.values[1]}}" ], "keys": [ "Yes", @@ -724,7 +724,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{all_clients_registration_form.step2.has_primary_caregiver.v_required.err}}" } }, { @@ -733,10 +733,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "Primary_Caregiver_Name", "type": "edit_text", - "hint": "Name of caregiver", + "hint": "{{all_clients_registration_form.step2.primary_caregiver_name.hint}}", "v_required": { "value": "true", - "err": "Please specify the name of the caregiver." + "err": "{{all_clients_registration_form.step2.primary_caregiver_name.v_required.err}}" }, "relevance": { "rules-engine": { @@ -752,18 +752,18 @@ "openmrs_entity": "concept", "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", - "hint": "Primary caregiver phone number", + "hint": "{{all_clients_registration_form.step2.other_phone_number.hint}}", "v_numeric": { "value": "true", - "err": "Number must be a total of 10 digits in length" + "err": "{{all_clients_registration_form.step2.other_phone_number.v_numeric.err}}" }, "v_regex": { "value": "(0[0-9]{9})|\\s*", - "err": "Number must be 10 digits and must start with 0." + "err": "{{all_clients_registration_form.step2.other_phone_number.v_regex.err}}" }, "v_required": { "value": "true", - "err": "Please caregiver contact." + "err": "{{all_clients_registration_form.step2.other_phone_number.v_required.err}}" }, "relevance": { "rules-engine": { @@ -779,7 +779,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1542AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "check_box", - "label": "Occupation of the family member", + "label": "{{all_clients_registration_form.step2.service_provider.label}}", "label_text_style": "normal", "text_color": "#C0C0C0", "exclusive": [ @@ -788,91 +788,91 @@ "options": [ { "key": "chk_farmer", - "text": "Farmer", + "text": "{{all_clients_registration_form.step2.service_provider.options.chk_farmer.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1538AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_cs", - "text": "Civil Servant", + "text": "{{all_clients_registration_form.step2.service_provider.options.chk_cs.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "162944AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_nurse", - "text": "Nurse", + "text": "{{all_clients_registration_form.step2.service_provider.options.chk_nurse.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1577AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_teacher", - "text": "Teacher", + "text": "{{all_clients_registration_form.step2.service_provider.options.chk_teacher.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "162946AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_th", - "text": "Traditional Healer", + "text": "{{all_clients_registration_form.step2.service_provider.options.chk_th.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1821AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_chw", - "text": "Community Health Worker (CHW)", + "text": "{{all_clients_registration_form.step2.service_provider.options.chk_chw.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1555AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_tba", - "text": "Traditional Birth Attendant", + "text": "{{all_clients_registration_form.step2.service_provider.options.chk_tba.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1575AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_chmis", - "text": "Community HMIS (cHMIS)", + "text": "{{all_clients_registration_form.step2.service_provider.options.chk_chmis.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "163334AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_cbd", - "text": "Community Based Distributor", + "text": "{{all_clients_registration_form.step2.service_provider.options.chk_cbd.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1744AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_hbc", - "text": "Home Based Care (HBC)", + "text": "{{all_clients_registration_form.step2.service_provider.options.chk_hbc.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "161359AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_cimmci", - "text": "Community IMCI", + "text": "{{all_clients_registration_form.step2.service_provider.options.chk_cimmci.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "163096AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_other", - "text": "Other", + "text": "{{all_clients_registration_form.step2.service_provider.options.chk_other.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_none", - "text": "None", + "text": "{{all_clients_registration_form.step2.service_provider.options.chk_none.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" @@ -880,7 +880,7 @@ ], "v_required": { "value": "true", - "err": "Please pick at least one" + "err": "{{all_clients_registration_form.step2.service_provider.v_required.err}}" } }, { @@ -889,7 +889,7 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Community_Leader", "type": "check_box", - "label": "Any leadership role in the community?", + "label": "{{all_clients_registration_form.step2.leader.label}}", "label_text_style": "normal", "text_color": "#C0C0C0", "exclusive": [ @@ -898,42 +898,42 @@ "options": [ { "key": "chk_religious", - "text": "Religious leader", + "text": "{{all_clients_registration_form.step2.leader.options.chk_religious.text}}", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "Religious_Leader" }, { "key": "chk_traditional", - "text": "Traditional leader", + "text": "{{all_clients_registration_form.step2.leader.options.chk_traditional.text}}", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "Traditional_leader" }, { "key": "chk_political", - "text": "Political leader", + "text": "{{all_clients_registration_form.step2.leader.options.chk_political.text}}", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "Political_leader" }, { "key": "chk_influential", - "text": "Influential leader", + "text": "{{all_clients_registration_form.step2.leader.options.chk_influential.text}}", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "Influential_Leader" }, { "key": "chk_other", - "text": "Other", + "text": "{{all_clients_registration_form.step2.leader.options.chk_other.text}}", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "Other_Community_Leader_Type" }, { "key": "chk_none", - "text": "None", + "text": "{{all_clients_registration_form.step2.leader.options.chk_none.text}}", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "Not_a_Community_Leader" @@ -941,7 +941,7 @@ ], "v_required": { "value": "true", - "err": "Please pick at least one" + "err": "{{all_clients_registration_form.step2.leader.v_required.err}}" } }, { @@ -950,11 +950,11 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Other_Community_Leader_Type_Name", "type": "edit_text", - "hint": "Mention other role in the community", + "hint": "{{all_clients_registration_form.step2.leader_other.hint}}", "edit_type": "name", "v_required": { "value": "true", - "err": "Please specify role" + "err": "{{all_clients_registration_form.step2.leader_other.v_required.err}}" }, "relevance": { "step2:leader": { @@ -974,139 +974,139 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Registration_Reason", "type": "native_radio", - "label": "Reasons for Registration", + "label": "{{all_clients_registration_form.step2.reasons_for_registration.label}}", "label_text_style": "normal", "text_color": "#C0C0C0", "options": [ { "key": "hiv_aids_transmission", - "text": "HIV/AIDs transimission", + "text": "{{all_clients_registration_form.step2.reasons_for_registration.options.hiv_aids_transmission.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "" }, { "key": "sickle_cell_disease", - "text": "Sickle cell disease", + "text": "{{all_clients_registration_form.step2.reasons_for_registration.options.sickle_cell_disease.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "" }, { "key": "heart_disease", - "text": "Heart diseases", + "text": "{{all_clients_registration_form.step2.reasons_for_registration.options.heart_disease.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "" }, { "key": "diabetes", - "text": "Diabetes", + "text": "{{all_clients_registration_form.step2.reasons_for_registration.options.diabetes.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "" }, { "key": "cerebral_palsy", - "text": "Cerebral palsy", + "text": "{{all_clients_registration_form.step2.reasons_for_registration.options.cerebral_palsy.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "" }, { "key": "cancer", - "text": "Cancer", + "text": "{{all_clients_registration_form.step2.reasons_for_registration.options.cancer.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "" }, { "key": "tuberculosis", - "text": "Tuberculosis", + "text": "{{all_clients_registration_form.step2.reasons_for_registration.options.tuberculosis.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "" }, { "key": "homosexual", - "text": "Man who has sex with a man", + "text": "{{all_clients_registration_form.step2.reasons_for_registration.options.homosexual.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "" }, { "key": "sex_worker_woman", - "text": "Woman who sell sex", + "text": "{{all_clients_registration_form.step2.reasons_for_registration.options.sex_worker_woman.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "" }, { "key": "hiv_infected_child", - "text": "A child born from a mother with HIV/AIDs", + "text": "{{all_clients_registration_form.step2.reasons_for_registration.options.hiv_infected_child.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "" }, { "key": "untested_hiv_infected_child", - "text": "Untested HIV/AIDs child", + "text": "{{all_clients_registration_form.step2.reasons_for_registration.options.untested_hiv_infected_child.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "" }, { "key": "weight_stagnation_child", - "text": "A child with stagnation in weight", + "text": "{{all_clients_registration_form.step2.reasons_for_registration.options.weight_stagnation_child.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "" }, { "key": "child_with_fever", - "text": "A child with frequent fevers", + "text": "{{all_clients_registration_form.step2.reasons_for_registration.options.child_with_fever.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "" }, { "key": "abused_child", - "text": "Abused child", + "text": "{{all_clients_registration_form.step2.reasons_for_registration.options.abused_child.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "" }, { "key": "gender_violence", - "text": "Gender violence", + "text": "{{all_clients_registration_form.step2.reasons_for_registration.options.gender_violence.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "" }, { "key": "drug_abuse", - "text": "Drug abuse", + "text": "{{all_clients_registration_form.step2.reasons_for_registration.options.drug_abuse.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "" }, { "key": "pregnant_mother", - "text": "Pregnant mother", + "text": "{{all_clients_registration_form.step2.reasons_for_registration.options.pregnant_mother.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "" }, { "key": "breastfeeding_mother", - "text": "Breastfeeding mother", + "text": "{{all_clients_registration_form.step2.reasons_for_registration.options.breastfeeding_mother.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "" }, { "key": "child_in_risky_environment", - "text": "Child living in a risky environment", + "text": "{{all_clients_registration_form.step2.reasons_for_registration.options.child_in_risky_environment.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "" @@ -1114,9 +1114,10 @@ ], "v_required": { "value": "true", - "err": "Reason for registration is required" + "err": "{{all_clients_registration_form.step2.reasons_for_registration.v_required.err}}" } } ] - } + }, + "properties_file_name": "all_clients_registration_form" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form-sw/family_member_register.json b/opensrp-chw/src/ba/assets/json.form/all_clients_update_registration_info_form.json similarity index 66% rename from opensrp-chw/src/ba/assets/json.form-sw/family_member_register.json rename to opensrp-chw/src/ba/assets/json.form/all_clients_update_registration_info_form.json index ee01348364..a0f8cd7de7 100644 --- a/opensrp-chw/src/ba/assets/json.form-sw/family_member_register.json +++ b/opensrp-chw/src/ba/assets/json.form/all_clients_update_registration_info_form.json @@ -1,6 +1,8 @@ { + "validate_on_submit": true, + "show_errors_on_submit": false, "count": "1", - "encounter_type": "Family Member Registration", + "encounter_type": "Family Registration", "entity_id": "", "relational_id": "", "metadata": { @@ -52,15 +54,15 @@ } }, "step1": { - "title": "Ongeza Mwanachama wa Familia", + "title": "Client details", "fields": [ { "key": "photo", "openmrs_entity_parent": "", - "openmrs_entity": "", + "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "choose_image", - "uploadButtonText": "Chukua picha ya muhusika" + "uploadButtonText": "Take a picture of the person" }, { "key": "unique_id", @@ -70,79 +72,37 @@ "type": "barcode", "barcode_type": "qrcode", "hint": "Boresha Afya ID", - "scanButtonText": "Chukua QR code", + "scanButtonText": "Scan QR Code", "v_numeric": { "value": "true", - "err": "Tafadhali ingiza namba halali" + "err": "Please enter a valid ID" }, "v_required": { "value": "true", - "err": "Tafadhali ingiza namba ya kipekee" + "err": "Please enter the UNIQUE ID" } }, { "key": "surname", "openmrs_entity_parent": "", - "openmrs_entity": "", + "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "edit_text", - "hint": "Jina la mwisho (ukoo)", + "hint": "Surname", "edit_type": "name", + "read_only": true, "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Tafadhali ingiza jina halali" + "err": "Please enter a valid name" }, "v_required": { "value": "true", - "err": "Tafadhali ingiza jina la ukoo" + "err": "Please enter the surname" }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_member_relevance.yml" - } - } - } - }, - { - "key": "same_as_fam_name", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "openmrs_data_type": "text", - "type": "check_box", - "label": "", - "exclusive": [ - "none" - ], - "options": [ - { - "key": "same_as_fam_name", - "text": "Jina la ukoo ni sawa na jina la familia", - "text_size": "18px", - "value": "false" - } - ] - }, - { - "key": "fam_name", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "label", - "hidden": "true" - }, - { - "key": "surname_calculation", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "last_name", - "type": "hidden", - "hint": "Jina la ukoo ni sawa na jina la familia", "calculation": { "rules-engine": { "ex-rules": { - "rules-file": "family-member-calculation.yml" + "rules-file": "all_clients_member_update_calculation.yml" } } } @@ -153,15 +113,15 @@ "openmrs_entity": "person", "openmrs_entity_id": "first_name", "type": "edit_text", - "hint": "Jina la kwanza", + "hint": "First name", "edit_type": "name", "v_required": { "value": "true", - "err": "Tafadhali ingiza jina la kwanza" + "err": "Please enter the first name" }, "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Tafadhali ingiza jina halali" + "err": "Please enter a valid name" } }, { @@ -170,15 +130,15 @@ "openmrs_entity": "person", "openmrs_entity_id": "middle_name", "type": "edit_text", - "hint": "Jina la kati", + "hint": "Middle name", "edit_type": "name", "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Tafadhali ingiza jina halali" + "err": "Please enter a valid name" }, "v_required": { "value": "true", - "err": "Tafadhali ingiza jina la kati" + "err": "Please enter the middle name" } }, { @@ -187,7 +147,7 @@ "openmrs_entity": "person", "openmrs_entity_id": "birthdate", "type": "date_picker", - "hint": "Tarehe ya kuzaliwa", + "hint": "Date of birth (DOB)", "expanded": false, "duration": { "label": "Age" @@ -196,12 +156,12 @@ "max_date": "today-5y", "v_required": { "value": "true", - "err": "Tafadhali ingiza tarehe ya kuzaliwa" + "err": "Please enter the date of birth" }, "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "family_member_relevance.yml" + "rules-file": "all_clients_member_update_relevance.yml" } } } @@ -209,13 +169,13 @@ { "key": "age_calculated", "openmrs_entity_parent": "", - "openmrs_entity": "", + "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "hidden", "calculation": { "rules-engine": { "ex-rules": { - "rules-file": "family_member_register_calculation.yml" + "rules-file": "all_clients_member_update_calculation.yml" } } } @@ -230,7 +190,7 @@ "options": [ { "key": "dob_unknown", - "text": "Tarehe ya kuzaliwa haijulikani?", + "text": "DOB unknown?", "text_size": "18px", "value": "false" } @@ -242,33 +202,33 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "age", "type": "edit_text", - "hint": "Umri", + "hint": "Age", "v_numeric_integer": { "value": "true", "err": "Must be a rounded number" }, "v_numeric": { "value": "true", - "err": "Tafadhali ingiza umri" + "err": "Number must begin with 0 and must be a total of 10 digits in length" }, "v_min": { "value": "5", - "err": "Umri lazima uwe sawa au mkubwa kuliko 5" + "err": "Age must be equal or greater than 5" }, "v_max": { "value": "120", - "err": "Umri lazima uwe sawa au chini ya 120" + "err": "Age must be equal or less than 120" }, "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "family_member_relevance.yml" + "rules-file": "all_clients_member_update_relevance.yml" } } }, "v_required": { "value": true, - "err": "Tafadhali ingiza umri" + "err": "Please enter the age" } }, { @@ -277,7 +237,7 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "id_avail", "type": "check_box", - "label": "Je, ana kitambulisho chochote kati ya hivi??", + "label": "Do have any of the following IDs?", "label_text_style": "normal", "text_color": "#C0C0C0", "exclusive": [ @@ -286,35 +246,35 @@ "options": [ { "key": "chk_national_id", - "text": "Kitambulisho cha taifa", + "text": "National ID", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "chk_national_id" }, { "key": "chk_voters_id", - "text": "Kitambulisho cha mpiga kura", + "text": "Voter's registration ID", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "chk_voters_id" }, { "key": "chk_drivers_license", - "text": "Leseni ya dereva", + "text": "Driver's license", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "chk_drivers_license" }, { "key": "chk_passport", - "text": "Hati ya kusafiria", + "text": "Passport", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "chk_passport" }, { "key": "chk_none", - "text": "Hakuna", + "text": "None", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "chk_none" @@ -323,7 +283,7 @@ "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "family_member_relevance.yml" + "rules-file": "all_clients_member_update_relevance.yml" } } } @@ -334,7 +294,7 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "National_ID", "type": "edit_text", - "hint": "Namba ya kitambulisho cha taifa", + "hint": "National ID number", "edit_type": "name", "relevance": { "step1:id_avail": { @@ -354,7 +314,7 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Voter_Registration_Number", "type": "edit_text", - "hint": "Namba ya kitambulisho cha mpiga kura", + "hint": "Voter's registration number", "edit_type": "name", "relevance": { "step1:id_avail": { @@ -374,7 +334,7 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Driver_License_Number", "type": "edit_text", - "hint": "Namba ya leseni ya udereva", + "hint": "Driver's license number", "edit_type": "name", "relevance": { "step1:id_avail": { @@ -394,7 +354,7 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Passport_Number", "type": "edit_text", - "hint": "Namba ya hati ya kusafiria", + "hint": "Passport number", "edit_type": "name", "relevance": { "step1:id_avail": { @@ -414,10 +374,10 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Health_Insurance_Type", "type": "spinner", - "hint": "Bima ya afya unaotumia", + "hint": "Health insurance provider", "values": [ - "Bima ya afya ya jamii (CHF)", - "Bima ya afya ya jamii ulioboreshwa (iCHF)", + "Community Health Fund (CHF)", + "iCHF", "National Social Security Fund - Social Health Insurance Benefit (SHIB)", "Tiba Kwa Kadi (TIKA)", "AAR Healthcare", @@ -427,8 +387,8 @@ "Jubilee Insurance", "Resolutions Insurance", "Reliance Insurance", - "Bima ya afya nyingezo", - "Hakuna" + "Other", + "None" ], "keys": [ "Community Health Fund (CHF)", @@ -462,7 +422,7 @@ }, "v_required": { "value": "true", - "err": "Tafadhali ingiza bima" + "err": "Please enter the insurance provider" } }, { @@ -471,15 +431,15 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Other_Health_Insurance_Type", "type": "edit_text", - "hint": "Bima ya afya mwingine unaotumia", + "hint": "Other health insurance provider", "v_required": { "value": "true", - "err": "Tafadhali ingiza bima" + "err": "Please specify the insurance provider" }, "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "family_member_relevance.yml" + "rules-file": "all_clients_member_update_relevance.yml" } } } @@ -490,15 +450,15 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Health_Insurance_Number", "type": "edit_text", - "hint": "Namba ya bima ya afya umaotumia", + "hint": "Health insurance provider number", "v_required": { "value": "true", - "err": "Tafadhali ingiza namba ya mfuko wa bima ya afya umaotumia" + "err": "Please add the health insurance provider iD Number" }, "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "family_member_relevance.yml" + "rules-file": "all_clients_member_update_relevance.yml" } } } @@ -509,10 +469,10 @@ "openmrs_entity": "person", "openmrs_entity_id": "gender", "type": "spinner", - "hint": "Jinsi", + "hint": "Sex", "values": [ - "Me", - "Ke" + "Male", + "Female" ], "keys": [ "Male", @@ -520,19 +480,19 @@ ], "v_required": { "value": "true", - "err": "Tafadhali ingiza jinsi" + "err": "Please enter the sex" } }, { "key": "wra", "openmrs_entity_parent": "", - "openmrs_entity": "", + "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "hidden", "calculation": { "rules-engine": { "ex-rules": { - "rules-file": "family_member_register_calculation.yml" + "rules-file": "all_clients_member_update_calculation.yml" } } } @@ -540,13 +500,13 @@ { "key": "mra", "openmrs_entity_parent": "", - "openmrs_entity": "", + "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "hidden", "calculation": { "rules-engine": { "ex-rules": { - "rules-file": "family_member_register_calculation.yml" + "rules-file": "all_clients_member_update_calculation.yml" } } } @@ -557,10 +517,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "160692AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "spinner", - "hint": "Je, amejifungua ndani ya mwaka 1?", + "hint": "Has the woman delivered in the last 1 year?", "values": [ - "Ndiyo", - "Hapana" + "Yes", + "No" ], "keys": [ "Yes", @@ -572,12 +532,12 @@ }, "v_required": { "value": "true", - "err": "Tafadhali chagua ikiwa mwanamke amejifungua katika mwaka 1 uliopita" + "err": "Please select if the woman has delivered in the last 1 year" }, "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "family_member_relevance.yml" + "rules-file": "all_clients_member_update_relevance.yml" } } } @@ -588,10 +548,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "162558AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "spinner", - "hint": "Hali ya ulemavu", + "hint": "Physical disabilities", "values": [ - "Ndiyo", - "Hapana" + "Yes", + "No" ], "keys": [ "Yes", @@ -603,7 +563,7 @@ }, "v_required": { "value": "true", - "err": "Tafadhali chagua moja" + "err": "Please select one" } }, { @@ -612,57 +572,80 @@ "openmrs_entity": "concept", "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", - "hint": "Aina ya ulemavu", + "hint": "Type of disability", "v_required": { "value": "true", - "err": "Tafadhali ingiza aina ya ulemavu" + "err": "Please enter type of disability" }, "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "family_member_relevance.yml" + "rules-file": "all_clients_member_update_relevance.yml" } } } }, { - "key": "is_primary_caregiver", + "key": "phone_number", "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", + "openmrs_entity": "concept", + "openmrs_entity_id": "159635AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "type": "edit_text", + "hint": "Client phone number", + "v_numeric": { + "value": "true", + "err": "Number must be a total of 10 digits in length" + }, + "v_regex": { + "value": "(0[0-9]{9})|\\s*", + "err": "Number must be 10 digits and must start with 0." + }, + "v_required": { + "value": false, + "err": "Please specify the phone number" + } + }, + { + "key": "has_primary_caregiver", + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_entity_id": "Has_Primary_Caregiver", "type": "spinner", - "hint": "Ni mlezi mkuu wa familia?", + "hint": " Do you have a primary caregiver/Treatment supporter?", "values": [ - "Ndiyo", - "Hapana" + "Yes", + "No" ], "keys": [ "Yes", "No" ], + "openmrs_choice_ids": { + "Yes": "Yes", + "No": "No" + }, "v_required": { "value": "true", - "err": "Tafadhali chagua moja" + "err": "Please select one" } }, { - "key": "phone_number", + "key": "primary_caregiver_name", "openmrs_entity_parent": "", "openmrs_entity": "concept", - "openmrs_entity_id": "159635AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "openmrs_entity_id": "Primary_Caregiver_Name", "type": "edit_text", - "hint": "Namba ya simu", - "v_numeric": { + "hint": "Name of caregiver", + "v_required": { "value": "true", - "err": "Nambari lazima iwe jumla ya nambari 10 kwa urefu" + "err": "Please specify the name of the caregiver." }, - "v_regex": { - "value": "(0[0-9]{9})|\\s*", - "err": "Nambari lazima iwe na nambari 10 na lazima ianze na 0." - }, - "v_required": { - "value": false, - "err": "Tafadhali taja numbe ya simu" + "relevance": { + "rules-engine": { + "ex-rules": { + "rules-file": "all_clients_member_update_relevance.yml" + } + } } }, { @@ -671,14 +654,25 @@ "openmrs_entity": "concept", "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", - "hint": "Namba za simu nyingine", + "hint": "Primary caregiver phone number", "v_numeric": { "value": "true", - "err": "Nambari lazima iwe jumla ya nambari 10 kwa urefu" + "err": "Number must be a total of 10 digits in length" }, "v_regex": { "value": "(0[0-9]{9})|\\s*", - "err": "Nambari lazima iwe na nambari 10 na lazima ianze na 0." + "err": "Number must be 10 digits and must start with 0." + }, + "v_required": { + "value": "true", + "err": "Please caregiver contact." + }, + "relevance": { + "rules-engine": { + "ex-rules": { + "rules-file": "all_clients_member_update_relevance.yml" + } + } } }, { @@ -687,7 +681,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1542AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "check_box", - "label": "Aina ya kazi anayojishughulisha", + "label": "Occupation of the family member", "label_text_style": "normal", "text_color": "#C0C0C0", "exclusive": [ @@ -696,91 +690,91 @@ "options": [ { "key": "chk_farmer", - "text": "Mkulima", + "text": "Farmer", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1538AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_cs", - "text": "Mtumishi wa serikali", + "text": "Civil Servant", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "162944AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_nurse", - "text": "Muuguzi", + "text": "Nurse", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1577AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_teacher", - "text": "Mwalimu", + "text": "Teacher", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "162946AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_th", - "text": "Waganga wa tiba asilia (THs)", + "text": "Traditional Healer", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1821AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_chw", - "text": "Wahudumu wa afya ngazi ya jamii–WAJA", + "text": "Community Health Worker (CHW)", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1555AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_tba", - "text": "Wakunga wa jadi (TBAs)", + "text": "Traditional Birth Attendant", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1575AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_chmis", - "text": "Wakusanyaji takwimu za afya katika jamii (cHIMS)", + "text": "Community HMIS (cHMIS)", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "163334AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_cbd", - "text": "Wasambazaji wa dawa na vifaa vya uzazi wa mpango katika jamii (CBD)", + "text": "Community Based Distributor", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1744AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_hbc", - "text": "Watoa huduma kwa wagonjwa majumbani (HBC)", + "text": "Home Based Care (HBC)", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "161359AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_cimmci", - "text": "Watoa huduma za udhibiti wa magonjwa ya watoto kwa uwiano katika jamii (cIMCI)", + "text": "Community IMCI", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "163096AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_other", - "text": "Nyingine", + "text": "Other", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_none", - "text": "Hakuna", + "text": "None", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" @@ -788,7 +782,7 @@ ], "v_required": { "value": "true", - "err": "Tafadhali chagua angalau moja" + "err": "Please pick at least one" } }, { @@ -797,7 +791,7 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Community_Leader", "type": "check_box", - "label": "Una jukumu lolote la uongozi kwenye ngazi ya jamii?", + "label": "Any leadership role in the community?", "label_text_style": "normal", "text_color": "#C0C0C0", "exclusive": [ @@ -806,42 +800,42 @@ "options": [ { "key": "chk_religious", - "text": "Kiongozi wa dini", + "text": "Religious leader", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "Religious_Leader" }, { "key": "chk_traditional", - "text": "Kiongozi wa kimila", + "text": "Traditional leader", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "Traditional_leader" }, { "key": "chk_political", - "text": "Kiongozi wa kisiasa", + "text": "Political leader", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "Political_leader" }, { "key": "chk_influential", - "text": "Mtu mwenye ushawishi kwenye jamii", + "text": "Influential leader", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "Influential_Leader" }, { "key": "chk_other", - "text": "Nyinginezo", + "text": "Other", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "Other_Community_Leader_Type" }, { "key": "chk_none", - "text": "Hakuna", + "text": "None", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "Not_a_Community_Leader" @@ -849,7 +843,7 @@ ], "v_required": { "value": "true", - "err": "Tafadhali chagua angalau moja" + "err": "Please pick at least one" } }, { @@ -858,11 +852,11 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Other_Community_Leader_Type_Name", "type": "edit_text", - "hint": "Taja hayo majukumu mengine", + "hint": "Mention other role in the community", "edit_type": "name", "v_required": { "value": "true", - "err": "Tafadhali taja jukumu" + "err": "Please specify role" }, "relevance": { "step1:leader": { @@ -875,6 +869,155 @@ ] } } + }, + { + "key": "reasons_for_registration", + "openmrs_entity_parent": "", + "openmrs_entity": "person_attribute", + "openmrs_entity_id": "Registration_Reason", + "type": "native_radio", + "label": "Reasons for Registration", + "label_text_style": "normal", + "text_color": "#C0C0C0", + "options": [ + { + "key": "hiv_aids_transmission", + "text": "HIV/AIDs transimission", + "value": false, + "openmrs_entity": "concept", + "openmrs_entity_id": "" + }, + { + "key": "sickle_cell_disease", + "text": "Sickle cell disease", + "value": false, + "openmrs_entity": "concept", + "openmrs_entity_id": "" + }, + { + "key": "heart_disease", + "text": "Heart diseases", + "value": false, + "openmrs_entity": "concept", + "openmrs_entity_id": "" + }, + { + "key": "diabetes", + "text": "Diabetes", + "value": false, + "openmrs_entity": "concept", + "openmrs_entity_id": "" + }, + { + "key": "cerebral_palsy", + "text": "Cerebral palsy", + "value": false, + "openmrs_entity": "concept", + "openmrs_entity_id": "" + }, + { + "key": "cancer", + "text": "Cancer", + "value": false, + "openmrs_entity": "concept", + "openmrs_entity_id": "" + }, + { + "key": "tuberculosis", + "text": "Tuberculosis", + "value": false, + "openmrs_entity": "concept", + "openmrs_entity_id": "" + }, + { + "key": "homosexual", + "text": "Man who has sex with a man", + "value": false, + "openmrs_entity": "concept", + "openmrs_entity_id": "" + }, + { + "key": "sex_worker_woman", + "text": "Woman who sell sex", + "value": false, + "openmrs_entity": "concept", + "openmrs_entity_id": "" + }, + { + "key": "hiv_infected_child", + "text": "A child born from a mother with HIV/AIDs", + "value": false, + "openmrs_entity": "concept", + "openmrs_entity_id": "" + }, + { + "key": "untested_hiv_infected_child", + "text": "Untested HIV/AIDs child", + "value": false, + "openmrs_entity": "concept", + "openmrs_entity_id": "" + }, + { + "key": "weight_stagnation_child", + "text": "A child with stagnation in weight", + "value": false, + "openmrs_entity": "concept", + "openmrs_entity_id": "" + }, + { + "key": "child_with_fever", + "text": "A child with frequent fevers", + "value": false, + "openmrs_entity": "concept", + "openmrs_entity_id": "" + }, + { + "key": "abused_child", + "text": "Abused child", + "value": false, + "openmrs_entity": "concept", + "openmrs_entity_id": "" + }, + { + "key": "gender_violence", + "text": "Gender violence", + "value": false, + "openmrs_entity": "concept", + "openmrs_entity_id": "" + }, + { + "key": "drug_abuse", + "text": "Drug abuse", + "value": false, + "openmrs_entity": "concept", + "openmrs_entity_id": "" + }, + { + "key": "pregnant_mother", + "text": "Pregnant mother", + "value": false, + "openmrs_entity": "concept", + "openmrs_entity_id": "" + }, + { + "key": "breastfeeding_mother", + "text": "Breastfeeding mother", + "value": false, + "openmrs_entity": "concept", + "openmrs_entity_id": "" + }, + { + "key": "child_in_risky_environment", + "text": "Child living in a risky environment", + "value": false, + "openmrs_entity": "concept", + "openmrs_entity_id": "" + } + ], + "v_required": { + "value": "true", + "err": "Reason for registration is required" + } } ] } diff --git a/opensrp-chw/src/ba/assets/json.form/anc_hv_counselling.json b/opensrp-chw/src/ba/assets/json.form/anc_hv_counselling.json index e85a438b25..d2f1a60253 100644 --- a/opensrp-chw/src/ba/assets/json.form/anc_hv_counselling.json +++ b/opensrp-chw/src/ba/assets/json.form/anc_hv_counselling.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Counselling", + "title": "{{anc_hv_counselling.step1.title}}", "fields": [ { "key": "counselling_given", @@ -55,7 +55,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1379AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "check_box", - "label": "Counselling provided to the mother and family members ", + "label": "{{anc_hv_counselling.step1.counselling_given.label}}", "label_text_style": "normal", "text_color": "#C0C0C0", "exclusive": [ @@ -64,119 +64,119 @@ "options": [ { "key": "chk_attended_anc_contacts", - "text": "1. Attend ANC contacts early", + "text": "{{anc_hv_counselling.step1.counselling_given.options.chk_attended_anc_contacts.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "161013AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_anc_danger_signs", - "text": "2. Pregnancy danger signs", + "text": "{{anc_hv_counselling.step1.counselling_given.options.chk_anc_danger_signs.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "161050AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_maternal_nutrition", - "text": "3. Maternal nutrition during pregnancy and breast feeding", + "text": "{{anc_hv_counselling.step1.counselling_given.options.chk_maternal_nutrition.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1380AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_personal_delivery", - "text": "4. Personal delivery plan", + "text": "{{anc_hv_counselling.step1.counselling_given.options.chk_personal_delivery.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "5630AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_hiv_aids", - "text": "5. HIV/AIDS general information", + "text": "{{anc_hv_counselling.step1.counselling_given.options.chk_hiv_aids.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1914AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_pmtct_for_mother", - "text": "6. PMTCT for the mother", + "text": "{{anc_hv_counselling.step1.counselling_given.options.chk_pmtct_for_mother.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "160538AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_preventing_malaria", - "text": "7. Preventing malaria for pregnant mothers", + "text": "{{anc_hv_counselling.step1.counselling_given.options.chk_preventing_malaria.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "164884AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_physical_changes", - "text": "8. Physical changes for a mother after giving birth", + "text": "{{anc_hv_counselling.step1.counselling_given.options.chk_physical_changes.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "162093AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_pnc_danger_signs", - "text": "10. PNC danger signs", + "text": "{{anc_hv_counselling.step1.counselling_given.options.chk_pnc_danger_signs.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "161541AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_care_of_infant", - "text": "11. Care of infant after birth", + "text": "{{anc_hv_counselling.step1.counselling_given.options.chk_care_of_infant.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "160413AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_infant_danger_signs", - "text": "14. Infant danger signs", + "text": "{{anc_hv_counselling.step1.counselling_given.options.chk_infant_danger_signs.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "161071AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_hiv_exposed_infant", - "text": "15. Follow-up for the HIV-exposed infant", + "text": "{{anc_hv_counselling.step1.counselling_given.options.chk_hiv_exposed_infant.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "164818AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_breastfeeding", - "text": "16. Breastfeeding", + "text": "{{anc_hv_counselling.step1.counselling_given.options.chk_breastfeeding.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1910AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_exclusive_breast_feeding ", - "text": "17. Plan for family planning using exclusive breast feeding for 6 months after birth", + "text": "{{anc_hv_counselling.step1.counselling_given.options.chk_exclusive_breast_feeding_.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "161096AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_family_planning", - "text": "18. Family planning", + "text": "{{anc_hv_counselling.step1.counselling_given.options.chk_family_planning.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1382AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_infection_prevention", - "text": "24. Infection prevention and control", + "text": "{{anc_hv_counselling.step1.counselling_given.options.chk_infection_prevention.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1906AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_none", - "text": "None", + "text": "{{anc_hv_counselling.step1.counselling_given.options.chk_none.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" @@ -184,9 +184,10 @@ ], "v_required": { "value": "true", - "err": "Please pick at least one" + "err": "{{anc_hv_counselling.step1.counselling_given.v_required.err}}" } } ] - } + }, + "properties_file_name": "anc_hv_counselling" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/anc_hv_danger_signs.json b/opensrp-chw/src/ba/assets/json.form/anc_hv_danger_signs.json index d6e16db770..b69155a5f1 100644 --- a/opensrp-chw/src/ba/assets/json.form/anc_hv_danger_signs.json +++ b/opensrp-chw/src/ba/assets/json.form/anc_hv_danger_signs.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "ANC Registration", + "title": "{{anc_hv_danger_signs.step1.title}}", "fields": [ { "key": "danger_signs_present", @@ -55,7 +55,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "160939AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "check_box", - "label": "Does the mother have any danger signs?", + "label": "{{anc_hv_danger_signs.step1.danger_signs_present.label}}", "label_text_style": "normal", "text_color": "#C0C0C0", "exclusive": [ @@ -64,91 +64,91 @@ "options": [ { "key": "chk_fever", - "text": "Fever", + "text": "{{anc_hv_danger_signs.step1.danger_signs_present.options.chk_fever.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "140238AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_bleeding_vaginally", - "text": "Bleeding vaginally", + "text": "{{anc_hv_danger_signs.step1.danger_signs_present.options.chk_bleeding_vaginally.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "150802AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_server_headache", - "text": "Severe headache", + "text": "{{anc_hv_danger_signs.step1.danger_signs_present.options.chk_server_headache.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "139081AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_blurred_vision", - "text": "Blurred vision", + "text": "{{anc_hv_danger_signs.step1.danger_signs_present.options.chk_blurred_vision.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "147104AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_convulsions", - "text": "Convulsions", + "text": "{{anc_hv_danger_signs.step1.danger_signs_present.options.chk_convulsions.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "164483AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_difficulty_breathing", - "text": "Difficulty breathing", + "text": "{{anc_hv_danger_signs.step1.danger_signs_present.options.chk_difficulty_breathing.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "142373AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_severe_abdominal_pain", - "text": "Severe abdominal pain", + "text": "{{anc_hv_danger_signs.step1.danger_signs_present.options.chk_severe_abdominal_pain.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "165271AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_loss_consciousness", - "text": "Loss of consciousness", + "text": "{{anc_hv_danger_signs.step1.danger_signs_present.options.chk_loss_consciousness.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "135592AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_swelling", - "text": "Swelling of the face and/or hands", + "text": "{{anc_hv_danger_signs.step1.danger_signs_present.options.chk_swelling.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "460AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_early_labour", - "text": "Early labour pains before 9 months", + "text": "{{anc_hv_danger_signs.step1.danger_signs_present.options.chk_early_labour.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "151687AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_vaginal_discharge", - "text": "Discoloured or watery, liquid vaginal discharge with a bad smell", + "text": "{{anc_hv_danger_signs.step1.danger_signs_present.options.chk_vaginal_discharge.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "123395AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_unusual_movement", - "text": "No movement / unusual movement for a child in the womb", + "text": "{{anc_hv_danger_signs.step1.danger_signs_present.options.chk_unusual_movement.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "113377AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_none", - "text": "None", + "text": "{{anc_hv_danger_signs.step1.danger_signs_present.options.chk_none.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" @@ -156,16 +156,16 @@ ], "v_required": { "value": "true", - "err": "Please pick at least one" + "err": "{{anc_hv_danger_signs.step1.danger_signs_present.v_required.err}}" } }, { "key": "danger_signs_present_toaster", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Danger sign! \nRefer immediately to health facility.", + "text": "{{anc_hv_danger_signs.step1.danger_signs_present_toaster.text}}", "text_color": "#CF0800", "toaster_type": "problem", "relevance": { @@ -198,12 +198,12 @@ "openmrs_entity_id": "165310AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "label_info_title": "Did the mother receive counselling", - "label_info_text": "Did the mother receive counselling on danger signs at the health facility recently?", - "hint": "Did the mother receive counselling on danger signs at the health facility recently?", + "label_info_title": "{{anc_hv_danger_signs.step1.danger_signs_counseling.label_info_title}}", + "label_info_text": "{{anc_hv_danger_signs.step1.danger_signs_counseling.label_info_text}}", + "hint": "{{anc_hv_danger_signs.step1.danger_signs_counseling.hint}}", "values": [ - "Yes", - "No" + "{{anc_hv_danger_signs.step1.danger_signs_counseling.values[0]}}", + "{{anc_hv_danger_signs.step1.danger_signs_counseling.values[1]}}" ], "keys": [ "Yes", @@ -215,9 +215,10 @@ }, "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{anc_hv_danger_signs.step1.danger_signs_counseling.v_required.err}}" } } ] - } + }, + "properties_file_name": "anc_hv_danger_signs" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/anc_hv_family_planning.json b/opensrp-chw/src/ba/assets/json.form/anc_hv_family_planning.json index 0fbda7e7e1..cc59aeebe0 100644 --- a/opensrp-chw/src/ba/assets/json.form/anc_hv_family_planning.json +++ b/opensrp-chw/src/ba/assets/json.form/anc_hv_family_planning.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Family planning", + "title": "{{anc_hv_family_planning.step1.title}}", "fields": [ { "key": "fam_planning", @@ -56,10 +56,10 @@ "openmrs_entity_id": "1382AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Was the mother advised on family planning when you visited the health visit?", + "hint": "{{anc_hv_family_planning.step1.fam_planning.hint}}", "values": [ - "Yes", - "No" + "{{anc_hv_family_planning.step1.fam_planning.values[0]}}", + "{{anc_hv_family_planning.step1.fam_planning.values[1]}}" ], "keys": [ "Yes", @@ -71,9 +71,10 @@ }, "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{anc_hv_family_planning.step1.fam_planning.v_required.err}}" } } ] - } + }, + "properties_file_name": "anc_hv_family_planning" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/anc_hv_health_facility_visit.json b/opensrp-chw/src/ba/assets/json.form/anc_hv_health_facility_visit.json index 8754fc0572..27fb9e9f95 100644 --- a/opensrp-chw/src/ba/assets/json.form/anc_hv_health_facility_visit.json +++ b/opensrp-chw/src/ba/assets/json.form/anc_hv_health_facility_visit.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "ANC {0} health facility visit", + "title": "{{anc_hv_health_facility_visit.step1.title}}", "fields": [ { "key": "anc_hf_visit", @@ -55,11 +55,15 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1889AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", - "label_info_title": "Did the woman attend her ANC {0} visit at the health facility?", - "label_info_text": "Did the woman attend her ANC visit at the health facility?", + "label_info_title": "{{anc_hv_health_facility_visit.step1.anc_hf_visit.label_info_title}}", + "label_info_text": "{{anc_hv_health_facility_visit.step1.anc_hf_visit.label_info_text}}", "type": "spinner", - "hint": "Did the woman attend her ANC {0} visit at the health facility?\n\nVisit due date: {1}", + "hint": "{{anc_hv_health_facility_visit.step1.anc_hf_visit.hint}}", "values": [ + "{{anc_hv_health_facility_visit.step1.anc_hf_visit.values[0]}}", + "{{anc_hv_health_facility_visit.step1.anc_hf_visit.values[1]}}" + ], + "keys": [ "Yes", "No" ], @@ -69,7 +73,7 @@ }, "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{anc_hv_health_facility_visit.step1.anc_hf_visit.v_required.err}}" } }, { @@ -79,14 +83,14 @@ "openmrs_entity_id": "159590AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "text", "type": "date_picker", - "label": "ANC visit date", - "hint": "ANC visit date", + "label": "{{anc_hv_health_facility_visit.step1.anc_hf_visit_date.label}}", + "hint": "{{anc_hv_health_facility_visit.step1.anc_hf_visit_date.hint}}", "expanded": false, "min_date": "today-10y", "max_date": "today", "v_required": { "value": "true", - "err": "Enter the date that the member moved away" + "err": "{{anc_hv_health_facility_visit.step1.anc_hf_visit_date.v_required.err}}" }, "relevance": { "step1:anc_hf_visit": { @@ -108,7 +112,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1271AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "check_box", - "label": "Tests done", + "label": "{{anc_hv_health_facility_visit.step1.tests_done.label}}", "label_text_style": "normal", "text_color": "#C0C0C0", "exclusive": [ @@ -117,63 +121,63 @@ "options": [ { "key": "chk_haemoglobin", - "text": "Haemoglobin level", + "text": "{{anc_hv_health_facility_visit.step1.tests_done.options.chk_haemoglobin.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "21AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_urine_analysis_uti", - "text": "Urine analysis for UTI", + "text": "{{anc_hv_health_facility_visit.step1.tests_done.options.chk_urine_analysis_uti.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "302AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_urine_analysis_protein", - "text": "Urine analysis for protein and sugar", + "text": "{{anc_hv_health_facility_visit.step1.tests_done.options.chk_urine_analysis_protein.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1875AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_hiv", - "text": "HIV test", + "text": "{{anc_hv_health_facility_visit.step1.tests_done.options.chk_hiv.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1356AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_syphilis", - "text": "Syphilis test", + "text": "{{anc_hv_health_facility_visit.step1.tests_done.options.chk_syphilis.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "299AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_malaria", - "text": "Malaria test", + "text": "{{anc_hv_health_facility_visit.step1.tests_done.options.chk_malaria.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1643AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_tb", - "text": "TB screening", + "text": "{{anc_hv_health_facility_visit.step1.tests_done.options.chk_tb.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "164800AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_other", - "text": "Other test", + "text": "{{anc_hv_health_facility_visit.step1.tests_done.options.chk_other.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_none", - "text": "None", + "text": "{{anc_hv_health_facility_visit.step1.tests_done.options.chk_none.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" @@ -181,7 +185,7 @@ ], "v_required": { "value": "true", - "err": "Please pick at least one" + "err": "{{anc_hv_health_facility_visit.step1.tests_done.v_required.err}}" }, "relevance": { "step1:anc_hf_visit": { @@ -196,7 +200,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1767AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "check_box", - "label": "Immunisations and medicine provided", + "label": "{{anc_hv_health_facility_visit.step1.imm_medicine_given.label}}", "label_text_style": "normal", "text_color": "#C0C0C0", "exclusive": [ @@ -205,49 +209,49 @@ "options": [ { "key": "chk_tetanus", - "text": "Tetanus toxoid (TT)", + "text": "{{anc_hv_health_facility_visit.step1.imm_medicine_given.options.chk_tetanus.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "84879AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_malaria", - "text": "Malaria prevention (IPTp-SP)", + "text": "{{anc_hv_health_facility_visit.step1.imm_medicine_given.options.chk_malaria.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "105232AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_iron", - "text": "Iron and Folic acid (FEFO) tablets", + "text": "{{anc_hv_health_facility_visit.step1.imm_medicine_given.options.chk_iron.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "773AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_albendazole", - "text": "Albendazole / Medandozle", + "text": "{{anc_hv_health_facility_visit.step1.imm_medicine_given.options.chk_albendazole.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "159922AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_calcuim", - "text": "Calcium supplement", + "text": "{{anc_hv_health_facility_visit.step1.imm_medicine_given.options.chk_calcuim.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "72650AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_other", - "text": "Other immunisation or medicine", + "text": "{{anc_hv_health_facility_visit.step1.imm_medicine_given.options.chk_other.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_none", - "text": "None", + "text": "{{anc_hv_health_facility_visit.step1.imm_medicine_given.options.chk_none.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" @@ -255,7 +259,7 @@ ], "v_required": { "value": "true", - "err": "Please pick at least one" + "err": "{{anc_hv_health_facility_visit.step1.imm_medicine_given.v_required.err}}" }, "relevance": { "step1:anc_hf_visit": { @@ -270,10 +274,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", - "hint": "Other immunisation or medicine", + "hint": "{{anc_hv_health_facility_visit.step1.other_imm_medicine_given.hint}}", "v_required": { "value": "true", - "err": "Please enter the immunisation or medicine details" + "err": "{{anc_hv_health_facility_visit.step1.other_imm_medicine_given.v_required.err}}" }, "relevance": { "rules-engine": { @@ -290,8 +294,12 @@ "openmrs_entity_id": "159855AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Did mother receive a LLIN in her first ANC contact at the health facility?", + "hint": "{{anc_hv_health_facility_visit.step1.llin_given.hint}}", "values": [ + "{{anc_hv_health_facility_visit.step1.llin_given.values[0]}}", + "{{anc_hv_health_facility_visit.step1.llin_given.values[1]}}" + ], + "keys": [ "Yes", "No" ], @@ -301,7 +309,7 @@ }, "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{anc_hv_health_facility_visit.step1.llin_given.v_required.err}}" }, "relevance": { "step1:anc_hf_visit": { @@ -326,5 +334,6 @@ "value": "0" } ] - } + }, + "properties_file_name": "anc_hv_health_facility_visit" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/anc_hv_malaria.json b/opensrp-chw/src/ba/assets/json.form/anc_hv_malaria.json index 57407020a2..e8c61b189f 100644 --- a/opensrp-chw/src/ba/assets/json.form/anc_hv_malaria.json +++ b/opensrp-chw/src/ba/assets/json.form/anc_hv_malaria.json @@ -47,19 +47,19 @@ "encounter_location": "" }, "step1": { - "title": "Malaria prevention", + "title": "{{anc_hv_malaria.step1.title}}", "fields": [ { "key": "fam_llin", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Does the woman have a long lasting insecticide net (LLIN)?", + "hint": "{{anc_hv_malaria.step1.fam_llin.hint}}", "values": [ - "Yes", - "No" + "{{anc_hv_malaria.step1.fam_llin.values[0]}}", + "{{anc_hv_malaria.step1.fam_llin.values[1]}}" ], "keys": [ "Yes", @@ -71,20 +71,20 @@ }, "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{anc_hv_malaria.step1.fam_llin.v_required.err}}" } }, { "key": "llin_2days", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Did she sleep under the LLIN last night?", + "hint": "{{anc_hv_malaria.step1.llin_2days.hint}}", "values": [ - "Yes", - "No" + "{{anc_hv_malaria.step1.llin_2days.values[0]}}", + "{{anc_hv_malaria.step1.llin_2days.values[1]}}" ], "keys": [ "Yes", @@ -96,7 +96,7 @@ }, "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{anc_hv_malaria.step1.llin_2days.v_required.err}}" }, "relevance": { "step1:fam_llin": { @@ -108,14 +108,14 @@ { "key": "llin_condition", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "openmrs_data_type": "select one", "type": "spinner", - "hint": "LLIN condition", + "hint": "{{anc_hv_malaria.step1.llin_condition.hint}}", "values": [ - "Okay", - "Bad" + "{{anc_hv_malaria.step1.llin_condition.values[0]}}", + "{{anc_hv_malaria.step1.llin_condition.values[1]}}" ], "keys": [ "Okay", @@ -127,7 +127,7 @@ }, "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{anc_hv_malaria.step1.llin_condition.v_required.err}}" }, "relevance": { "step1:fam_llin": { @@ -137,5 +137,6 @@ } } ] - } + }, + "properties_file_name": "anc_hv_malaria" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/anc_hv_nutrition_status.json b/opensrp-chw/src/ba/assets/json.form/anc_hv_nutrition_status.json index 5bead34fb4..18cb82af58 100644 --- a/opensrp-chw/src/ba/assets/json.form/anc_hv_nutrition_status.json +++ b/opensrp-chw/src/ba/assets/json.form/anc_hv_nutrition_status.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Nutrition status", + "title": "{{anc_hv_nutrition_status.step1.title}}", "fields": [ { "key": "nutrition_status", @@ -56,11 +56,11 @@ "openmrs_entity_id": "163300AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "What is the nutrition status of the mother?", + "hint": "{{anc_hv_nutrition_status.step1.nutrition_status.hint}}", "values": [ - "Normal/Green", - "Moderate/Yellow", - "Severe/Red" + "{{anc_hv_nutrition_status.step1.nutrition_status.values[0]}}", + "{{anc_hv_nutrition_status.step1.nutrition_status.values[1]}}", + "{{anc_hv_nutrition_status.step1.nutrition_status.values[2]}}" ], "keys": [ "Normal", @@ -74,9 +74,10 @@ }, "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{anc_hv_nutrition_status.step1.nutrition_status.v_required.err}}" } } ] - } + }, + "properties_file_name": "anc_hv_nutrition_status" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/anc_hv_observations.json b/opensrp-chw/src/ba/assets/json.form/anc_hv_observations.json index a3850ba64d..e068c2a53d 100644 --- a/opensrp-chw/src/ba/assets/json.form/anc_hv_observations.json +++ b/opensrp-chw/src/ba/assets/json.form/anc_hv_observations.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Observations & Illness", + "title": "{{anc_hv_observations.step1.title}}", "fields": [ { "key": "date_of_illness", @@ -55,13 +55,13 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1730AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "date_picker", - "hint": "Date ", + "hint": "{{anc_hv_observations.step1.date_of_illness.hint}}", "expanded": false, "min_date": "today-1y", "max_date": "today", "v_required": { "value": "true", - "err": "Please enter the date of illness" + "err": "{{anc_hv_observations.step1.date_of_illness.v_required.err}}" } }, { @@ -70,10 +70,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1390AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", - "hint": "Description", + "hint": "{{anc_hv_observations.step1.illness_description.hint}}", "v_required": { "value": "true", - "err": "Please enter the description" + "err": "{{anc_hv_observations.step1.illness_description.v_required.err}}" } }, { @@ -82,7 +82,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "164378AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "check_box", - "label": "Action taken", + "label": "{{anc_hv_observations.step1.action_taken.label}}", "label_text_style": "normal", "text_color": "#C0C0C0", "exclusive": [ @@ -91,42 +91,42 @@ "options": [ { "key": "chk_ors", - "text": "ORS 5", + "text": "{{anc_hv_observations.step1.action_taken.options.chk_ors.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "351AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_zinc", - "text": "Zinc 10", + "text": "{{anc_hv_observations.step1.action_taken.options.chk_zinc.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "86672AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_paracetamol", - "text": "Panadol", + "text": "{{anc_hv_observations.step1.action_taken.options.chk_paracetamol.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "70116AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_referred", - "text": "Referred", + "text": "{{anc_hv_observations.step1.action_taken.options.chk_referred.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "163762AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_other_treatment", - "text": "Other treatment", + "text": "{{anc_hv_observations.step1.action_taken.options.chk_other_treatment.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_none", - "text": "No treatment given", + "text": "{{anc_hv_observations.step1.action_taken.options.chk_none.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" @@ -139,10 +139,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", - "hint": "Other treatment", + "hint": "{{anc_hv_observations.step1.other_treatment_illness.hint}}", "v_required": { "value": "true", - "err": "Please enter the illness details" + "err": "{{anc_hv_observations.step1.other_treatment_illness.v_required.err}}" }, "relevance": { "rules-engine": { @@ -153,5 +153,6 @@ } } ] - } + }, + "properties_file_name": "anc_hv_observations" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/anc_hv_pregnancy_risk_form.json b/opensrp-chw/src/ba/assets/json.form/anc_hv_pregnancy_risk_form.json index fac30c092b..3c5d8b2256 100644 --- a/opensrp-chw/src/ba/assets/json.form/anc_hv_pregnancy_risk_form.json +++ b/opensrp-chw/src/ba/assets/json.form/anc_hv_pregnancy_risk_form.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Pregnancy risk", + "title": "{{anc_hv_pregnancy_risk_form.step1.title}}", "fields": [ { "key": "preg_risk", @@ -55,7 +55,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "preg_risk", "type": "check_box", - "label": "Pregnancy risk for the woman ", + "label": "{{anc_hv_pregnancy_risk_form.step1.preg_risk.label}}", "label_text_style": "normal", "text_color": "#C0C0C0", "saveObsAsArray": true, @@ -67,21 +67,21 @@ "options": [ { "key": "Low", - "text": "Low", + "text": "{{anc_hv_pregnancy_risk_form.step1.preg_risk.options.Low.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "Low" }, { "key": "Medium", - "text": "Medium", + "text": "{{anc_hv_pregnancy_risk_form.step1.preg_risk.options.Medium.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "Medium" }, { "key": "High", - "text": "High", + "text": "{{anc_hv_pregnancy_risk_form.step1.preg_risk.options.High.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "High" @@ -89,9 +89,10 @@ ], "v_required": { "value": "true", - "err": "Please pick at least one" + "err": "{{anc_hv_pregnancy_risk_form.step1.preg_risk.v_required.err}}" } } ] - } + }, + "properties_file_name": "anc_hv_pregnancy_risk_form" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/anc_hv_remarks_and_comments.json b/opensrp-chw/src/ba/assets/json.form/anc_hv_remarks_and_comments.json index 035eb693eb..faba98931c 100644 --- a/opensrp-chw/src/ba/assets/json.form/anc_hv_remarks_and_comments.json +++ b/opensrp-chw/src/ba/assets/json.form/anc_hv_remarks_and_comments.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Remarks/Comments", + "title": "{{anc_hv_remarks_and_comments.step1.title}}", "fields": [ { "key": "chw_comment_anc", @@ -55,12 +55,13 @@ "openmrs_entity": "concept", "openmrs_entity_id": "161011AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", - "hint": "Remarks/Comments", + "hint": "{{anc_hv_remarks_and_comments.step1.chw_comment_anc.hint}}", "v_required": { "value": "false", - "err": "Please enter the your remarks/comments" + "err": "{{anc_hv_remarks_and_comments.step1.chw_comment_anc.v_required.err}}" } } ] - } + }, + "properties_file_name": "anc_hv_remarks_and_comments" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/anc_member_registration.json b/opensrp-chw/src/ba/assets/json.form/anc_member_registration.json index 7b10f4ac2e..62bdc073a8 100644 --- a/opensrp-chw/src/ba/assets/json.form/anc_member_registration.json +++ b/opensrp-chw/src/ba/assets/json.form/anc_member_registration.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "ANC Registration", + "title": "{{anc_member_registration.step1.title}}", "fields": [ { "key": "relational_id", @@ -62,15 +62,15 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1427AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "date_picker", - "hint": "Last Menstrual Period (LMP)", - "label_info_title": "LMP", - "label_info_text": "LMP = first day of Last Menstrual Period. If the exact date is unknown, but the period of the month is known, use day 5 for beginning of the month, day 15 for middle of the month and day 25 for end of the month.", + "hint": "{{anc_member_registration.step1.last_menstrual_period.hint}}", + "label_info_title": "{{anc_member_registration.step1.last_menstrual_period.label_info_title}}", + "label_info_text": "{{anc_member_registration.step1.last_menstrual_period.label_info_text}}", "expanded": false, "max_date": "today", "min_date": "today-50w", "v_required": { "value": "true", - "err": "LMP required" + "err": "{{anc_member_registration.step1.last_menstrual_period.v_required.err}}" }, "calculation": { "rules-engine": { @@ -97,7 +97,7 @@ "options": [ { "key": "lmp_unknown", - "text": "LMP unknown?", + "text": "{{anc_member_registration.step1.last_menstrual_period_unknown.options.lmp_unknown.text}}", "text_size": "18px", "value": "false" } @@ -109,7 +109,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "5596AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "date_picker", - "hint": "Expected Date of Delivery (EDD)", + "hint": "{{anc_member_registration.step1.edd.hint}}", "max_date": "today+50w", "min_date": "today", "calculation": { @@ -128,16 +128,16 @@ }, "v_required": { "value": "true", - "err": "Required" + "err": "{{anc_member_registration.step1.edd.v_required.err}}" } }, { "key": "gest_age_note", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "type": "edit_text", - "hint": "Gestational Age (GA)", + "hint": "{{anc_member_registration.step1.gest_age_note.hint}}", "read_only": true, "calculation": { "rules-engine": { @@ -153,7 +153,7 @@ "openmrs_entity": "", "openmrs_entity_id": "", "type": "edit_text", - "hint": "Expected Date of Delivery (EDD)", + "hint": "{{anc_member_registration.step1.edd_note.hint}}", "read_only": true, "calculation": { "rules-engine": { @@ -184,18 +184,18 @@ "openmrs_entity_id": "no_prev_preg", "type": "edit_text", "edit_type": "number", - "hint": "No. of previous pregnancies", + "hint": "{{anc_member_registration.step1.no_prev_preg.hint}}", "v_required": { "value": "true", - "err": "Equal or greater than 0" + "err": "{{anc_member_registration.step1.no_prev_preg.v_required.err}}" }, "v_numeric_integer": { "value": "true", - "err": "Must be a rounded number" + "err": "{{anc_member_registration.step1.no_prev_preg.v_numeric_integer.err}}" }, "v_min": { "value": "0", - "err": "Number must be equal or greater than 0" + "err": "{{anc_member_registration.step1.no_prev_preg.v_min.err}}" } }, { @@ -218,7 +218,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "5630AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "check_box", - "label": "Have you delivered your child(ren) vaginally or by cesarean section?", + "label": "{{anc_member_registration.step1.delivery_method.label}}", "label_text_style": "normal", "text_color": "#C0C0C0", "relevance": { @@ -231,21 +231,21 @@ "options": [ { "key": "chk_vaginally", - "text": "Vaginally", + "text": "{{anc_member_registration.step1.delivery_method.options.chk_vaginally.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1170AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_cesarean_section", - "text": "Cesarean section", + "text": "{{anc_member_registration.step1.delivery_method.options.chk_cesarean_section.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1171AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_miscarriage", - "text": "Miscarriage", + "text": "{{anc_member_registration.step1.delivery_method.options.chk_miscarriage.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1171AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" @@ -253,7 +253,7 @@ ], "v_required": { "value": "true", - "err": "Please select one" + "err": "{{anc_member_registration.step1.delivery_method.v_required.err}}" } }, { @@ -262,7 +262,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "5630AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "native_radio", - "label": "Have you delivered your child(ren) vaginally or by cesarean section?", + "label": "{{anc_member_registration.step1.delivery_method_one.label}}", "label_text_style": "normal", "text_color": "#C0C0C0", "relevance": { @@ -275,21 +275,21 @@ "options": [ { "key": "chk_vaginally", - "text": "Vaginally", + "text": "{{anc_member_registration.step1.delivery_method_one.options.chk_vaginally.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1170AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_cesarean_section", - "text": "Cesarean section", + "text": "{{anc_member_registration.step1.delivery_method_one.options.chk_cesarean_section.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1171AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_miscarriage", - "text": "Miscarriage", + "text": "{{anc_member_registration.step1.delivery_method_one.options.chk_miscarriage.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1171AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" @@ -297,7 +297,7 @@ ], "v_required": { "value": "true", - "err": "Please select all that apply" + "err": "{{anc_member_registration.step1.delivery_method_one.v_required.err}}" } }, { @@ -307,7 +307,7 @@ "openmrs_entity_id": "164894AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", "edit_type": "number", - "hint": "No. of surviving children", + "hint": "{{anc_member_registration.step1.no_surv_children.hint}}", "relevance": { "rules-engine": { "ex-rules": { @@ -317,15 +317,15 @@ }, "v_required": { "value": "true", - "err": "Required" + "err": "{{anc_member_registration.step1.no_surv_children.v_required.err}}" }, "v_numeric_integer": { "value": "true", - "err": "Must be a rounded number" + "err": "{{anc_member_registration.step1.no_surv_children.v_numeric_integer.err}}" }, - "v_relative_max": { - "value": "no_prev_preg", - "err": "Number must be less than or equal to Number of Previous Pregnancies" + "v_min": { + "value": "0", + "err": "{{anc_member_registration.step1.no_surv_children.v_min.err}}" } }, { @@ -335,17 +335,17 @@ "openmrs_entity_id": "1054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Marital status", + "hint": "{{anc_member_registration.step1.marital_status.hint}}", "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{anc_member_registration.step1.marital_status.v_required.err}}" }, "values": [ - "Married", - "Co-habiting", - "Single", - "Divorced", - "Widowed" + "{{anc_member_registration.step1.marital_status.values[0]}}", + "{{anc_member_registration.step1.marital_status.values[1]}}", + "{{anc_member_registration.step1.marital_status.values[2]}}", + "{{anc_member_registration.step1.marital_status.values[3]}}", + "{{anc_member_registration.step1.marital_status.values[4]}}" ], "keys": [ "Married", @@ -368,17 +368,17 @@ "openmrs_entity": "concept", "openmrs_entity_id": "159635AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", - "hint": "Phone number", + "hint": "{{anc_member_registration.step1.phone_number.hint}}", + "v_required": { + "value": false + }, "v_numeric": { "value": "true", - "err": "Number must be a total of 10 digits in length" + "err": "{{anc_member_registration.step1.phone_number.v_numeric.err}}" }, "v_regex": { "value": "(0[0-9]{9})|\\s*", - "err": "Number must be 10 digits and must start with 0." - }, - "v_required": { - "value": false + "err": "{{anc_member_registration.step1.phone_number.v_regex.err}}" } }, { @@ -388,14 +388,14 @@ "openmrs_entity_id": "159771AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Does the mother have anyone, 18 years or older, who would be able to assist her during her pregnancy?", + "hint": "{{anc_member_registration.step1.person_assist.hint}}", "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{anc_member_registration.step1.person_assist.v_required.err}}" }, "values": [ - "Yes", - "No" + "{{anc_member_registration.step1.person_assist.values[0]}}", + "{{anc_member_registration.step1.person_assist.values[1]}}" ], "keys": [ "Yes", @@ -412,7 +412,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "160638AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", - "hint": "Name of close person/relative who lives with her and is 18 years or olders", + "hint": "{{anc_member_registration.step1.name_person_assist.hint}}", "edit_type": "name", "relevance": { "rules-engine": { @@ -423,7 +423,7 @@ }, "v_required": { "value": "true", - "err": "Please enter the person's name" + "err": "{{anc_member_registration.step1.name_person_assist.v_required.err}}" } }, { @@ -432,7 +432,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "160642AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", - "hint": "Phone number", + "hint": "{{anc_member_registration.step1.phone_person_assist.hint}}", "v_required": { "value": false }, @@ -445,13 +445,14 @@ }, "v_numeric": { "value": "true", - "err": "Number must be a total of 10 digits in length" + "err": "{{anc_member_registration.step1.phone_person_assist.v_numeric.err}}" }, "v_regex": { "value": "(0[0-9]{9})|\\s*", - "err": "Number must be 10 digits and must start with 0." + "err": "{{anc_member_registration.step1.phone_person_assist.v_regex.err}}" } } ] - } + }, + "properties_file_name": "anc_member_registration" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/anc_pregnancy_outcome.json b/opensrp-chw/src/ba/assets/json.form/anc_pregnancy_outcome.json index 66d77989f6..740f9c74f9 100644 --- a/opensrp-chw/src/ba/assets/json.form/anc_pregnancy_outcome.json +++ b/opensrp-chw/src/ba/assets/json.form/anc_pregnancy_outcome.json @@ -49,7 +49,7 @@ "encounter_location": "" }, "step1": { - "title": "Pregnancy Outcome", + "title": "{{anc_pregnancy_outcome.step1.title}}", "fields": [ { "key": "relational_id", @@ -64,13 +64,13 @@ "openmrs_entity": "concept", "openmrs_entity_id": "161033AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "native_radio", - "label": "Pregnancy outcome", + "label": "{{anc_pregnancy_outcome.step1.preg_outcome.label}}", "label_text_style": "bold", "text_color": "#000000", "options": [ { "key": "born_alive", - "text": "Child was born alive", + "text": "{{anc_pregnancy_outcome.step1.preg_outcome.options.born_alive.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "151849AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -78,7 +78,7 @@ }, { "key": "born_alive_died", - "text": "Child was born alive, but died", + "text": "{{anc_pregnancy_outcome.step1.preg_outcome.options.born_alive_died.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "164816AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -86,7 +86,7 @@ }, { "key": "still_born", - "text": "Child was stillborn", + "text": "{{anc_pregnancy_outcome.step1.preg_outcome.options.still_born.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "125872AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -94,7 +94,7 @@ }, { "key": "alive_with_problem", - "text": "Child was born alive, but they have a problem (i.e. disability, respiratory issues, etc.)", + "text": "{{anc_pregnancy_outcome.step1.preg_outcome.options.alive_with_problem.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "161599AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -102,7 +102,7 @@ }, { "key": "miscarriage", - "text": "Miscarriage", + "text": "{{anc_pregnancy_outcome.step1.preg_outcome.options.miscarriage.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "48AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -111,7 +111,7 @@ ], "v_required": { "value": "true", - "err": "Please select pregnancy outcome" + "err": "{{anc_pregnancy_outcome.step1.preg_outcome.v_required.err}}" } }, { @@ -120,12 +120,12 @@ "openmrs_entity": "concept", "openmrs_entity_id": "165248AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "date_picker", - "hint": "Date of miscarriage", + "hint": "{{anc_pregnancy_outcome.step1.miscarriage_date.hint}}", "expanded": false, "max_date": "today", "v_required": { "value": "true", - "err": "Please enter date the woman miscarried." + "err": "{{anc_pregnancy_outcome.step1.miscarriage_date.v_required.err}}" }, "relevance": { "rules-engine": { @@ -141,12 +141,12 @@ "openmrs_entity": "concept", "openmrs_entity_id": "5599AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "date_picker", - "hint": "Delivery date", + "hint": "{{anc_pregnancy_outcome.step1.delivery_date.hint}}", "expanded": false, "max_date": "today", "v_required": { "value": "true", - "err": "Please enter date the woman delivered" + "err": "{{anc_pregnancy_outcome.step1.delivery_date.v_required.err}}" }, "relevance": { "rules-engine": { @@ -170,12 +170,12 @@ "openmrs_entity_id": "1572AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "The place the mother gave birth", + "hint": "{{anc_pregnancy_outcome.step1.delivery_place.hint}}", "values": [ - "At home", - "At a health facility", - "On the way to the health facility", - "Other" + "{{anc_pregnancy_outcome.step1.delivery_place.values[0]}}", + "{{anc_pregnancy_outcome.step1.delivery_place.values[1]}}", + "{{anc_pregnancy_outcome.step1.delivery_place.values[2]}}", + "{{anc_pregnancy_outcome.step1.delivery_place.values[3]}}" ], "keys": [ "At home", @@ -184,14 +184,14 @@ "Other" ], "openmrs_choice_ids": { - "At home": "1536AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "At Home": "1536AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "At a health facility": "1588AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "On the way to the health facility": "1601AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "Other": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{anc_pregnancy_outcome.step1.delivery_place.v_required.err}}" }, "relevance": { "rules-engine": { @@ -207,12 +207,12 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1573AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "native_radio", - "label": "Who helped the mother with a home delivery?", + "label": "{{anc_pregnancy_outcome.step1.delivery_home.label}}", "label_text_style": "bold", "text_color": "#C0C0C0", "v_required": { "value": "true", - "err": "Please select" + "err": "{{anc_pregnancy_outcome.step1.delivery_home.v_required.err}}" }, "relevance": { "rules-engine": { @@ -224,7 +224,7 @@ "options": [ { "key": "gave_birth_alone", - "text": "She gave birth at home alone", + "text": "{{anc_pregnancy_outcome.step1.delivery_home.options.gave_birth_alone.text}}", "value": false, "openmrs_entity_parent": "", "openmrs_entity": "concept", @@ -232,7 +232,7 @@ }, { "key": "gave_birth_with_help", - "text": "She gave birth at home with the help of a family member/friend/neighbor", + "text": "{{anc_pregnancy_outcome.step1.delivery_home.options.gave_birth_with_help.text}}", "value": false, "openmrs_entity_parent": "", "openmrs_entity": "concept", @@ -240,7 +240,7 @@ }, { "key": "midwife_help", - "text": "She gave birth at home with the help of a traditional midwife", + "text": "{{anc_pregnancy_outcome.step1.delivery_home.options.midwife_help.text}}", "value": false, "openmrs_entity_parent": "", "openmrs_entity": "concept", @@ -254,12 +254,12 @@ "openmrs_entity": "concept", "openmrs_entity_id": "159771AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "native_radio", - "label": "The mother gave birth in a health facility. Who accompanied the mother to the health facility?", + "label": "{{anc_pregnancy_outcome.step1.delivery_hf.label}}", "label_text_style": "bold", "text_color": "#C0C0C0", "v_required": { "value": "true", - "err": "Please select" + "err": "{{anc_pregnancy_outcome.step1.delivery_hf.v_required.err}}" }, "relevance": { "rules-engine": { @@ -271,7 +271,7 @@ "options": [ { "key": "facility_family_member", - "text": "She gave birth in a health facility, and she was accompanied by family member(s)", + "text": "{{anc_pregnancy_outcome.step1.delivery_hf.options.facility_family_member.text}}", "value": false, "openmrs_entity_parent": "", "openmrs_entity": "concept", @@ -279,7 +279,7 @@ }, { "key": "facility_midwife", - "text": "She gave birth in a health facility, and she was accompanied by a traditional midwife", + "text": "{{anc_pregnancy_outcome.step1.delivery_hf.options.facility_midwife.text}}", "value": false, "openmrs_entity_parent": "", "openmrs_entity": "concept", @@ -287,7 +287,7 @@ }, { "key": "alone", - "text": "She gave birth in a health facility, and she came by herself", + "text": "{{anc_pregnancy_outcome.step1.delivery_hf.options.alone.text}}", "value": false, "openmrs_entity_parent": "", "openmrs_entity": "concept", @@ -295,7 +295,7 @@ }, { "key": "other_pple", - "text": "She gave birth in a health facility, and she was accompanied by other people", + "text": "{{anc_pregnancy_outcome.step1.delivery_hf.options.other_pple.text}}", "value": false, "openmrs_entity_parent": "", "openmrs_entity": "concept", @@ -303,7 +303,7 @@ }, { "key": "other_chw", - "text": "She gave birth in a health facility, and she was accompanied by the CHW", + "text": "{{anc_pregnancy_outcome.step1.delivery_hf.options.other_chw.text}}", "value": false, "openmrs_entity_parent": "", "openmrs_entity": "concept", @@ -314,15 +314,15 @@ { "key": "baby_label", "type": "label", - "text": "BABY DETAILS", + "text": "{{anc_pregnancy_outcome.step1.baby_label.text}}", + "has_bg": true, "left_padding": "20dp", "right_padding": "20dp", - "text_size": "7sp", + "text_size": "8sp", "text_color": "#000000", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", - "relevance": { "rules-engine": { "ex-rules": { @@ -341,8 +341,8 @@ { "key": "no_children_no", "type": "repeating_group", - "reference_edit_text_hint": "Number of children born alive", - "repeating_group_label": "Baby Details #", + "reference_edit_text_hint": "{{anc_pregnancy_outcome.step1.no_children_no.reference_edit_text_hint}}", + "repeating_group_label": "Maelezo ya mtoto #", "openmrs_entity_parent": "", "openmrs_entity": "", "openmrs_entity_id": "", @@ -356,24 +356,24 @@ }, "v_required": { "value": true, - "err": "Please specify the # of babies" + "err": "{{anc_pregnancy_outcome.step1.no_children_no.v_required.err}}" }, "value": [ { "key": "surname", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "type": "edit_text", - "hint": "Surname", + "hint": "Jina la mwisho (ukoo)", "edit_type": "name", "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid name" + "err": "Tafadhali ingiza jina halali" }, "v_required": { "value": "true", - "err": "Please enter the surname" + "err": "Tafadhali ingiza jina la ukoo" }, "relevance": { "rules-engine": { @@ -382,7 +382,6 @@ } } } - }, { "key": "same_as_fam_name_chk", @@ -394,7 +393,7 @@ "options": [ { "key": "same_as_fam_name", - "text": "Surname same as family name", + "text": "Surname sawa na jina la ukoo", "text_size": "18px", "value": "false" } @@ -406,11 +405,11 @@ "openmrs_entity": "person", "openmrs_entity_id": "first_name", "type": "edit_text", - "hint": "First name", + "hint": "Jina la kwanza", "edit_type": "name", "v_required": { "value": "true", - "err": "Please enter the first name" + "err": "Tafadhali ingiza jina la kwanza" }, "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", @@ -423,11 +422,11 @@ "openmrs_entity": "person", "openmrs_entity_id": "middle_name", "type": "edit_text", - "hint": "Middle name", + "hint": "Jina la kati", "edit_type": "name", "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid name" + "err": "Tafadhali ingiza jina halali" } }, { @@ -443,10 +442,10 @@ "openmrs_entity": "person", "openmrs_entity_id": "gender", "type": "spinner", - "hint": "Sex", + "hint": "Jinsi", "values": [ - "Male", - "Female" + "Me", + "Ke" ], "keys": [ "Male", @@ -454,7 +453,7 @@ ], "v_required": { "value": "true", - "err": "Gender required" + "err": "Tafadhali ingiza jinsia" } }, { @@ -463,10 +462,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "159522AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "spinner", - "hint": "Physical disabilities", + "hint": "Ulemavu", "values": [ - "Yes", - "No" + "Ndiyo", + "Hapana" ], "keys": [ "Yes", @@ -478,7 +477,7 @@ }, "v_required": { "value": "true", - "err": "Required" + "err": "Tafadhali ingiza ulemavu" } }, { @@ -487,7 +486,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", - "hint": "Type of physical disabilities", + "hint": "Aina ya ulemavu", "edit_type": "name", "relevance": { "rules-engine": { @@ -503,10 +502,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "164819AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "spinner", - "hint": "Early initiation of breastfeeding (1 hr)?", + "hint": "Unyonyeshaji wa mtoto ndani ya saa moja baada ya kujifungua?", "values": [ - "Yes", - "No" + "Ndiyo", + "Hapana" ], "keys": [ "Yes", @@ -523,7 +522,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "984AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "check_box", - "label": "Which vaccinations were given?", + "label": "Chanjo gani alizopata mtoto?", "label_text_style": "normal", "text_color": "#C0C0C0", "exclusive": [ @@ -532,7 +531,7 @@ "options": [ { "key": "chk_none", - "text": "None", + "text": "Hajapata chanjo", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" @@ -554,11 +553,12 @@ ], "v_required": { "value": "true", - "err": "vaccinations given required" + "err": "Tafadhali chagua chaguo angalau moja" } } ] } ] - } + }, + "properties_file_name": "anc_pregnancy_outcome" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/anc_referral_form.json b/opensrp-chw/src/ba/assets/json.form/anc_referral_form.json index 505fa036fe..b647fcbf7b 100644 --- a/opensrp-chw/src/ba/assets/json.form/anc_referral_form.json +++ b/opensrp-chw/src/ba/assets/json.form/anc_referral_form.json @@ -52,7 +52,7 @@ } }, "step1": { - "title": "ANC referral form", + "title": "{{anc_referral_form.step1.title}}", "fields": [ { "key": "chw_referral_hf_anc", @@ -75,12 +75,12 @@ "openmrs_entity": "", "openmrs_entity_id": "163182AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "check_box", - "label": "Client condition / problem", + "label": "{{anc_referral_form.step1.problem_hf_anc.label}}", "label_text_style": "bold", "options": [ { "key": "Vaginal_bleeding", - "text": "Vaginal bleeding", + "text": "{{anc_referral_form.step1.problem_hf_anc.options.Vaginal_bleeding.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "147232AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -88,7 +88,7 @@ }, { "key": "Discoloured_or_watery_liquid_vaginal_discharge_with_a_bad_smell", - "text": "Discoloured or watery, liquid vaginal discharge with a bad smell", + "text": "{{anc_referral_form.step1.problem_hf_anc.options.Discoloured_or_watery_liquid_vaginal_discharge_with_a_bad_smell.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "123396AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -96,7 +96,7 @@ }, { "key": "High_blood_pressure", - "text": "High blood pressure", + "text": "{{anc_referral_form.step1.problem_hf_anc.options.High_blood_pressure.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "113088AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -104,7 +104,7 @@ }, { "key": "Severe_abdominal_pain", - "text": "Severe abdominal pain", + "text": "{{anc_referral_form.step1.problem_hf_anc.options.Severe_abdominal_pain.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "165271AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -112,7 +112,7 @@ }, { "key": "Severe_anaemia", - "text": "Severe anaemia", + "text": "{{anc_referral_form.step1.problem_hf_anc.options.Severe_anaemia.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "162044AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -120,7 +120,7 @@ }, { "key": "Convulsions", - "text": "Convulsions", + "text": "{{anc_referral_form.step1.problem_hf_anc.options.Convulsions.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "113054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -128,7 +128,7 @@ }, { "key": "No_movement_unusual_movement_for_a_child_in_the_womb", - "text": "No movement / unusual movement for a child in the womb", + "text": "{{anc_referral_form.step1.problem_hf_anc.options.No_movement_unusual_movement_for_a_child_in_the_womb.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "113377AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -136,7 +136,7 @@ }, { "key": "Pregnancy_pains_before_9_months", - "text": "Pregnancy pains before 9 months", + "text": "{{anc_referral_form.step1.problem_hf_anc.options.Pregnancy_pains_before_9_months.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "153316AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -144,7 +144,7 @@ }, { "key": "Early_age_pregnancy_below_18_years", - "text": "Early age pregnancy (below 18 years)", + "text": "{{anc_referral_form.step1.problem_hf_anc.options.Early_age_pregnancy_below_18_years.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "163119AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -152,7 +152,7 @@ }, { "key": "A_severe_headache_dizziness", - "text": "A severe headache / dizziness", + "text": "{{anc_referral_form.step1.problem_hf_anc.options.A_severe_headache_dizziness.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "139081AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -160,7 +160,7 @@ }, { "key": "Swelling_of_the_face_andor_hands", - "text": "Swelling of the face and/or hands", + "text": "{{anc_referral_form.step1.problem_hf_anc.options.Swelling_of_the_face_andor_hands.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "460AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -168,7 +168,7 @@ }, { "key": "Fever", - "text": "Fever", + "text": "{{anc_referral_form.step1.problem_hf_anc.options.Fever.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "140238AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -176,7 +176,7 @@ }, { "key": "Shivering_trembling", - "text": "Shivering/trembling", + "text": "{{anc_referral_form.step1.problem_hf_anc.options.Shivering_trembling.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "158359AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -184,7 +184,7 @@ }, { "key": "Nausea_and_Vomiting", - "text": "Nausea and vomiting", + "text": "{{anc_referral_form.step1.problem_hf_anc.options.Nausea_and_Vomiting.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "133473AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -192,7 +192,7 @@ }, { "key": "Water_sack_broke_before_contractions", - "text": "Water sack broke before contractions", + "text": "{{anc_referral_form.step1.problem_hf_anc.options.Water_sack_broke_before_contractions.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "129211AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -200,7 +200,7 @@ }, { "key": "Cord_prolapse", - "text": "Cord prolapse", + "text": "{{anc_referral_form.step1.problem_hf_anc.options.Cord_prolapse.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "128419AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -208,7 +208,7 @@ }, { "key": "HIV_care_and_support_services", - "text": "HIV care and support services", + "text": "{{anc_referral_form.step1.problem_hf_anc.options.HIV_care_and_support_services.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "159811AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -216,7 +216,7 @@ }, { "key": "Family_planning_services", - "text": "Family planning services", + "text": "{{anc_referral_form.step1.problem_hf_anc.options.Family_planning_services.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "5271AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -224,7 +224,7 @@ }, { "key": "PMTCT_for_mothers", - "text": "PMTCT for mothers", + "text": "{{anc_referral_form.step1.problem_hf_anc.options.PMTCT_for_mothers.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "160538AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -232,7 +232,7 @@ }, { "key": "Fistula", - "text": "Fistula", + "text": "{{anc_referral_form.step1.problem_hf_anc.options.Fistula.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "160854AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -240,7 +240,7 @@ }, { "key": "Difficultly_breathing", - "text": "Difficultly breathing", + "text": "{{anc_referral_form.step1.problem_hf_anc.options.Difficultly_breathing.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "142373AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -248,7 +248,7 @@ }, { "key": "Breast_engorgement", - "text": "Breast engorgement", + "text": "{{anc_referral_form.step1.problem_hf_anc.options.Breast_engorgement.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "118620AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -256,7 +256,7 @@ }, { "key": "Blurred_vision", - "text": "Blurred vision", + "text": "{{anc_referral_form.step1.problem_hf_anc.options.Blurred_vision.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "147104AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -264,7 +264,7 @@ }, { "key": "Perineum_tear", - "text": "Perineum tear", + "text": "{{anc_referral_form.step1.problem_hf_anc.options.Perineum_tear.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "136938AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -272,7 +272,7 @@ }, { "key": "Pregnancy_confirmation", - "text": "Pregnancy confirmation", + "text": "{{anc_referral_form.step1.problem_hf_anc.options.Pregnancy_confirmation.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "152305AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -280,7 +280,7 @@ }, { "key": "Other_symptoms", - "text": "Other symptoms", + "text": "{{anc_referral_form.step1.problem_hf_anc.options.Other_symptoms.text}}", "value": false, "ignore": true, "openmrs_entity": "", @@ -290,7 +290,7 @@ ], "v_required": { "value": true, - "err": "Please specify reason for ANC referral" + "err": "{{anc_referral_form.step1.problem_hf_anc.v_required.err}}" } }, { @@ -300,10 +300,10 @@ "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", "edit_type": "name", - "hint": "Other symptom", + "hint": "{{anc_referral_form.step1.problem_hf_anc_other.hint}}", "v_required": { "value": "true", - "err": "Please specify other symptom" + "err": "{{anc_referral_form.step1.problem_hf_anc_other.v_required.err}}" }, "relevance": { "rules-engine": { @@ -320,7 +320,7 @@ "openmrs_entity_id": "164378AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "check_box", "is_problem": false, - "label": "Pre-referral management given", + "label": "{{anc_referral_form.step1.service_before_anc.label}}", "label_text_style": "bold", "exclusive": [ "None" @@ -328,7 +328,7 @@ "options": [ { "key": "ORS", - "text": "ORS", + "text": "{{anc_referral_form.step1.service_before_anc.options.ORS.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "351AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -336,7 +336,7 @@ }, { "key": "Panadol", - "text": "Panadol", + "text": "{{anc_referral_form.step1.service_before_anc.options.Panadol.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "70116AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -344,7 +344,7 @@ }, { "key": "Other_treatment", - "text": "Other treatment", + "text": "{{anc_referral_form.step1.service_before_anc.options.Other_treatment.text}}", "value": false, "ignore": true, "openmrs_entity": "", @@ -353,7 +353,7 @@ }, { "key": "None", - "text": "None", + "text": "{{anc_referral_form.step1.service_before_anc.options.None.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -362,7 +362,7 @@ ], "v_required": { "value": "true", - "err": "Pre-referral management field is required" + "err": "{{anc_referral_form.step1.service_before_anc.v_required.err}}" } }, { @@ -373,10 +373,10 @@ "openmrs_entity_parent": "", "is_problem": false, "edit_type": "name", - "hint": "Other treatment", + "hint": "{{anc_referral_form.step1.service_before_anc_other.hint}}", "v_required": { "value": "true", - "err": "Please specify other treatment" + "err": "{{anc_referral_form.step1.service_before_anc_other.v_required.err}}" }, "relevance": { "rules-engine": { @@ -405,7 +405,7 @@ "key": "referral_time_anc", "openmrs_entity_parent": "", "openmrs_entity": "", - "openmrs_entity_id": "", + "openmrs_entity_id": "referral_time_anc", "type": "hidden", "is_problem": false, "calculation": { @@ -417,5 +417,6 @@ } } ] - } + }, + "properties_file_name": "anc_referral_form" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/birth_certification.json b/opensrp-chw/src/ba/assets/json.form/birth_certification.json index 7ec9b260de..757fa5c604 100644 --- a/opensrp-chw/src/ba/assets/json.form/birth_certification.json +++ b/opensrp-chw/src/ba/assets/json.form/birth_certification.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Birth Certification", + "title": "{{birth_certification.step1.title}}", "fields": [ { "key": "birth_cert", @@ -56,10 +56,10 @@ "openmrs_entity_id": "165406AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Does the child have a birth certificate?", + "hint": "{{birth_certification.step1.birth_cert.hint}}", "values": [ - "Yes", - "No" + "{{birth_certification.step1.birth_cert.values[0]}}", + "{{birth_certification.step1.birth_cert.values[1]}}" ], "openmrs_choice_ids": { "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -67,7 +67,7 @@ }, "v_required": { "value": true, - "err": "Please select option" + "err": "{{birth_certification.step1.birth_cert.v_required.err}}" } }, { @@ -76,13 +76,13 @@ "openmrs_entity": "concept", "openmrs_entity_id": "164129AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "date_picker", - "hint": "Birth certificate issuance date", + "hint": "{{birth_certification.step1.birth_cert_issue_date.hint}}", "expanded": false, "max_date": "today", "min_date": "", "v_required": { "value": "true", - "err": "Please enter Birth certificate issuance date" + "err": "{{birth_certification.step1.birth_cert_issue_date.v_required.err}}" }, "relevance": { "rules-engine": { @@ -99,18 +99,18 @@ "openmrs_entity_id": "162052AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "text", "type": "edit_text", - "hint": "Birth certificate number", + "hint": "{{birth_certification.step1.birth_cert_num.hint}}", "v_required": { "value": "true", - "err": "Please enter number" + "err": "{{birth_certification.step1.birth_cert_num.v_required.err}}" }, "v_numeric": { "value": "true", - "err": "Number must be 15 digits or Less." + "err": "{{birth_certification.step1.birth_cert_num.v_numeric.err}}" }, "v_regex": { "value": "([0-9]{1,15})|\\s*", - "err": "Number must be 15 digits or Less." + "err": "{{birth_certification.step1.birth_cert_num.v_regex.err}}" }, "relevance": { "rules-engine": { @@ -127,10 +127,10 @@ "openmrs_entity_id": "165405AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Was the birth notification done?", + "hint": "{{birth_certification.step1.birth_notification.hint}}", "values": [ - "Yes", - "No" + "{{birth_certification.step1.birth_notification.values[0]}}", + "{{birth_certification.step1.birth_notification.values[1]}}" ], "openmrs_choice_ids": { "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -138,7 +138,7 @@ }, "v_required": { "value": false, - "err": "Please select option" + "err": "{{birth_certification.step1.birth_notification.v_required.err}}" }, "relevance": { "rules-engine": { @@ -154,7 +154,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "label", - "text": "Ask to see the birth notification and instruct the caregiver to register the birth at County Health.", + "text": "{{birth_certification.step1.birthinstroductions.text}}", "relevance": { "rules-engine": { "ex-rules": { @@ -169,7 +169,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "label", - "text": "Instruct the caregiver to have the birth registered at County Health.", + "text": "{{birth_certification.step1.caregiverinstroductions.text}}", "relevance": { "rules-engine": { "ex-rules": { @@ -179,5 +179,6 @@ } } ] - } + }, + "properties_file_name": "birth_certification" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/child_enrollment.json b/opensrp-chw/src/ba/assets/json.form/child_enrollment.json index 1f2632772f..bf5f694ecd 100644 --- a/opensrp-chw/src/ba/assets/json.form/child_enrollment.json +++ b/opensrp-chw/src/ba/assets/json.form/child_enrollment.json @@ -52,15 +52,15 @@ } }, "step1": { - "title": "Add Child Under 5", + "title": "{{child_enrollment.step1.title}}", "fields": [ { "key": "photo", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "type": "choose_image", - "uploadButtonText": "Take a picture of the person" + "uploadButtonText": "{{child_enrollment.step1.photo.uploadButtonText}}" }, { "key": "unique_id", @@ -69,32 +69,32 @@ "openmrs_entity_id": "opensrp_id", "type": "barcode", "barcode_type": "qrcode", - "hint": "Boresha Afya ID", - "scanButtonText": "Scan QR Code", + "hint": "{{child_enrollment.step1.unique_id.hint}}", + "scanButtonText": "{{child_enrollment.step1.unique_id.scanButtonText}}", "v_numeric": { "value": "true", - "err": "Please enter a valid ID" + "err": "{{child_enrollment.step1.unique_id.v_numeric.err}}" }, "v_required": { "value": "true", - "err": "Please enter the UNIQUE ID" + "err": "{{child_enrollment.step1.unique_id.v_required.err}}" } }, { "key": "surname", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "type": "edit_text", - "hint": "Surname", + "hint": "{{child_enrollment.step1.surname.hint}}", "edit_type": "name", "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid name" + "err": "{{child_enrollment.step1.surname.v_regex.err}}" }, "v_required": { "value": "true", - "err": "Please enter the surname" + "err": "{{child_enrollment.step1.surname.v_required.err}}" }, "relevance": { "rules-engine": { @@ -107,18 +107,18 @@ { "key": "same_as_fam_name", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "openmrs_data_type": "text", "type": "check_box", - "label": "", + "label": "{{child_enrollment.step1.same_as_fam_name.label}}", "exclusive": [ "none" ], "options": [ { "key": "same_as_fam_name", - "text": "Surname same as family name", + "text": "{{child_enrollment.step1.same_as_fam_name.options.same_as_fam_name.text}}", "text_size": "18px", "value": "false" } @@ -127,7 +127,7 @@ { "key": "fam_name", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "type": "label", "hidden": "true" @@ -138,7 +138,7 @@ "openmrs_entity": "person", "openmrs_entity_id": "last_name", "type": "hidden", - "hint": "Surname as Family name", + "hint": "{{child_enrollment.step1.surname_calculation.hint}}", "calculation": { "rules-engine": { "ex-rules": { @@ -154,16 +154,16 @@ "openmrs_entity_id": "first_name", "openmrs_data_type": "text", "type": "edit_text", - "hint": "First name", + "hint": "{{child_enrollment.step1.first_name.hint}}", "expanded": false, "edit_type": "name", "v_required": { "value": "true", - "err": "Please enter first name" + "err": "{{child_enrollment.step1.first_name.v_required.err}}" }, "v_regex": { "value": "[A-Za-z\\s\\-]*", - "err": "Please enter a valid name" + "err": "{{child_enrollment.step1.first_name.v_regex.err}}" } }, { @@ -173,16 +173,16 @@ "openmrs_entity_id": "middle_name", "openmrs_data_type": "text", "type": "edit_text", - "hint": "Middle name", + "hint": "{{child_enrollment.step1.middle_name.hint}}", "expanded": false, "edit_type": "name", "v_required": { "value": "true", - "err": "Please enter middle name" + "err": "{{child_enrollment.step1.middle_name.v_required.err}}" }, "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please Enter a Valid Name" + "err": "{{child_enrollment.step1.middle_name.v_regex.err}}" } }, { @@ -191,16 +191,16 @@ "openmrs_entity": "person", "openmrs_entity_id": "birthdate", "type": "date_picker", - "hint": "Date of birth (DOB)", + "hint": "{{child_enrollment.step1.dob.hint}}", "expanded": false, "duration": { - "label": "Age" + "label": "{{child_enrollment.step1.dob.duration.label}}" }, "min_date": "today-5y", "max_date": "today", "v_required": { "value": "true", - "err": "Please enter the date of birth" + "err": "{{child_enrollment.step1.dob.v_required.err}}" }, "relevance": { "rules-engine": { @@ -217,11 +217,11 @@ "openmrs_entity_id": "birthdateApprox", "hidden": "false", "type": "check_box", - "label": "", + "label": "{{child_enrollment.step1.dob_unknown.label}}", "options": [ { "key": "dob_unknown", - "text": "DOB unknown?", + "text": "{{child_enrollment.step1.dob_unknown.options.dob_unknown.text}}", "text_size": "18px", "value": "false" } @@ -233,18 +233,18 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "age", "type": "edit_text", - "hint": "Age", + "hint": "{{child_enrollment.step1.age.hint}}", "v_numeric": { "value": "true", - "err": "Number must begin with 0 and must be a total of 10 digits in length" + "err": "{{child_enrollment.step1.age.v_numeric.err}}" }, "v_min": { "value": "0", - "err": "Age must be equal or greater than 0" + "err": "{{child_enrollment.step1.age.v_min.err}}" }, "v_max": { "value": "5", - "err": "Age must be equal or less than 5" + "err": "{{child_enrollment.step1.age.v_max.err}}" }, "relevance": { "rules-engine": { @@ -255,7 +255,7 @@ }, "v_required": { "value": true, - "err": "Please enter the age" + "err": "{{child_enrollment.step1.age.v_required.err}}" } }, { @@ -264,21 +264,21 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "insurance_provider", "type": "spinner", - "hint": "Health insurance provider", + "hint": "{{child_enrollment.step1.insurance_provider.hint}}", "values": [ - "Community Health Fund (CHF)", - "iCHF", - "National Social Security Fund - Social Health Insurance Benefit (SHIB)", - "Tiba Kwa Kadi (TIKA)", - "AAR Healthcare", - "Strategies Insurance", - "Milvik Tanzania Ltd (BIMA Mkononi)", - "Britam Insurance Tanzania", - "Jubilee Insurance", - "Resolutions Insurance", - "Reliance Insurance", - "Other", - "None" + "{{child_enrollment.step1.insurance_provider.values[0]}}", + "{{child_enrollment.step1.insurance_provider.values[1]}}", + "{{child_enrollment.step1.insurance_provider.values[2]}}", + "{{child_enrollment.step1.insurance_provider.values[3]}}", + "{{child_enrollment.step1.insurance_provider.values[4]}}", + "{{child_enrollment.step1.insurance_provider.values[5]}}", + "{{child_enrollment.step1.insurance_provider.values[6]}}", + "{{child_enrollment.step1.insurance_provider.values[7]}}", + "{{child_enrollment.step1.insurance_provider.values[8]}}", + "{{child_enrollment.step1.insurance_provider.values[9]}}", + "{{child_enrollment.step1.insurance_provider.values[10]}}", + "{{child_enrollment.step1.insurance_provider.values[11]}}", + "{{child_enrollment.step1.insurance_provider.values[12]}}" ], "keys": [ "Community Health Fund (CHF)", @@ -312,7 +312,7 @@ }, "v_required": { "value": "true", - "err": "Please enter the insurance provider" + "err": "{{child_enrollment.step1.insurance_provider.v_required.err}}" } }, { @@ -321,10 +321,10 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Other_Health_Insurance_Type", "type": "edit_text", - "hint": "Other health insurance provider", + "hint": "{{child_enrollment.step1.insurance_provider_other.hint}}", "v_required": { "value": "true", - "err": "Please specify the insurance provider" + "err": "{{child_enrollment.step1.insurance_provider_other.v_required.err}}" }, "relevance": { "rules-engine": { @@ -340,10 +340,10 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Health_Insurance_Number", "type": "edit_text", - "hint": "Health insurance provider number", + "hint": "{{child_enrollment.step1.insurance_provider_number.hint}}", "v_required": { "value": "true", - "err": "Please add the health insurance provider iD Number" + "err": "{{child_enrollment.step1.insurance_provider_number.v_required.err}}" }, "relevance": { "rules-engine": { @@ -359,10 +359,10 @@ "openmrs_entity": "person", "openmrs_entity_id": "gender", "type": "spinner", - "hint": "Sex", + "hint": "{{child_enrollment.step1.gender.hint}}", "values": [ - "Male", - "Female" + "{{child_enrollment.step1.gender.values[0]}}", + "{{child_enrollment.step1.gender.values[1]}}" ], "keys": [ "Male", @@ -370,7 +370,7 @@ ], "v_required": { "value": "true", - "err": "Please enter the sex" + "err": "{{child_enrollment.step1.gender.v_required.err}}" } }, { @@ -379,10 +379,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "162558AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "spinner", - "hint": "Physical disabilities", + "hint": "{{child_enrollment.step1.disabilities.hint}}", "values": [ - "Yes", - "No" + "{{child_enrollment.step1.disabilities.values[0]}}", + "{{child_enrollment.step1.disabilities.values[1]}}" ], "keys": [ "Yes", @@ -394,7 +394,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_enrollment.step1.disabilities.v_required.err}}" } }, { @@ -404,7 +404,7 @@ "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", "edit_type": "name", - "hint": "Type of physical disabilities", + "hint": "{{child_enrollment.step1.type_of_disability.hint}}", "relevance": { "rules-engine": { "ex-rules": { @@ -414,7 +414,7 @@ }, "v_required": { "value": true, - "err": "Please enter type of physical disabilities" + "err": "{{child_enrollment.step1.type_of_disability.v_required.err}}" } }, { @@ -423,10 +423,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "165406AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "spinner", - "hint": "Birth registration/certificate", + "hint": "{{child_enrollment.step1.birth_cert_available.hint}}", "values": [ - "Yes", - "No" + "{{child_enrollment.step1.birth_cert_available.values[0]}}", + "{{child_enrollment.step1.birth_cert_available.values[1]}}" ], "keys": [ "Yes", @@ -443,7 +443,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "162052AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", - "hint": "Birth registration number", + "hint": "{{child_enrollment.step1.birth_regist_number.hint}}", "relevance": { "rules-engine": { "ex-rules": { @@ -458,10 +458,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "164147AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "spinner", - "hint": "Does the child have RCH card 1/child growth booklet?", + "hint": "{{child_enrollment.step1.rhc_card.hint}}", "values": [ - "Yes", - "No" + "{{child_enrollment.step1.rhc_card.values[0]}}", + "{{child_enrollment.step1.rhc_card.values[1]}}" ], "keys": [ "Yes", @@ -478,11 +478,11 @@ "openmrs_entity": "concept", "openmrs_entity_id": "163301AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "spinner", - "hint": "Nutrition status", + "hint": "{{child_enrollment.step1.nutrition_status.hint}}", "values": [ - "Green", - "Grey/Yellow", - "Red" + "{{child_enrollment.step1.nutrition_status.values[0]}}", + "{{child_enrollment.step1.nutrition_status.values[1]}}", + "{{child_enrollment.step1.nutrition_status.values[2]}}" ], "keys": [ "Green", @@ -496,7 +496,7 @@ }, "v_required": { "value": "true", - "err": "Please provide child nutrition status" + "err": "{{child_enrollment.step1.nutrition_status.v_required.err}}" }, "relevance": { "rules-engine": { @@ -507,5 +507,6 @@ } } ] - } + }, + "properties_file_name": "child_enrollment" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/child_hv_deworming.json b/opensrp-chw/src/ba/assets/json.form/child_hv_deworming.json index d9b992c422..1270393d64 100644 --- a/opensrp-chw/src/ba/assets/json.form/child_hv_deworming.json +++ b/opensrp-chw/src/ba/assets/json.form/child_hv_deworming.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Deworming {0} dose", + "title": "{{child_hv_deworming.step1.title}}", "fields": [ { "key": "deworming{0}_date", @@ -56,14 +56,15 @@ "openmrs_entity_id": "1418AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "date_picker", "image": "ic_form_deworming", - "hint": "When was deworming {0} dose given?", + "hint": "{{child_hv_deworming.step1.deworming{0}_date.hint}}", "min_date": "today-120y", "max_date": "today", "v_required": { "value": "true", - "err": "Please enter the date deworming was given" + "err": "{{child_hv_deworming.step1.deworming{0}_date.v_required.err}}" } } ] - } + }, + "properties_file_name": "child_hv_deworming" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/child_hv_malaria_prevention.json b/opensrp-chw/src/ba/assets/json.form/child_hv_malaria_prevention.json index ea255457fd..c0738f6381 100644 --- a/opensrp-chw/src/ba/assets/json.form/child_hv_malaria_prevention.json +++ b/opensrp-chw/src/ba/assets/json.form/child_hv_malaria_prevention.json @@ -47,19 +47,19 @@ "encounter_location": "" }, "step1": { - "title": "Malaria Prevention", + "title": "{{child_hv_malaria_prevention.step1.title}}", "fields": [ { "key": "fam_llin_1m5yr", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Does the child have a long lasting insecticide net (LLIN)?", + "hint": "{{child_hv_malaria_prevention.step1.fam_llin_1m5yr.hint}}", "values": [ - "Yes", - "No" + "{{child_hv_malaria_prevention.step1.fam_llin_1m5yr.values[0]}}", + "{{child_hv_malaria_prevention.step1.fam_llin_1m5yr.values[1]}}" ], "keys": [ "Yes", @@ -71,20 +71,20 @@ }, "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{child_hv_malaria_prevention.step1.fam_llin_1m5yr.v_required.err}}" } }, { "key": "llin_2days_1m5yr", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Did the child sleep under the LLIN last night?", + "hint": "{{child_hv_malaria_prevention.step1.llin_2days_1m5yr.hint}}", "values": [ - "Yes", - "No" + "{{child_hv_malaria_prevention.step1.llin_2days_1m5yr.values[0]}}", + "{{child_hv_malaria_prevention.step1.llin_2days_1m5yr.values[1]}}" ], "keys": [ "Yes", @@ -96,7 +96,7 @@ }, "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{child_hv_malaria_prevention.step1.llin_2days_1m5yr.v_required.err}}" }, "relevance": { "step1:fam_llin_1m5yr": { @@ -108,14 +108,14 @@ { "key": "llin_condition_1m5yr", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "openmrs_data_type": "select one", "type": "spinner", - "hint": "LLIN condition", + "hint": "{{child_hv_malaria_prevention.step1.llin_condition_1m5yr.hint}}", "values": [ - "Okay", - "Bad" + "{{child_hv_malaria_prevention.step1.llin_condition_1m5yr.values[0]}}", + "{{child_hv_malaria_prevention.step1.llin_condition_1m5yr.values[1]}}" ], "keys": [ "Okay", @@ -127,7 +127,7 @@ }, "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{child_hv_malaria_prevention.step1.llin_condition_1m5yr.v_required.err}}" }, "relevance": { "step1:fam_llin_1m5yr": { @@ -137,5 +137,6 @@ } } ] - } + }, + "properties_file_name": "child_hv_malaria_prevention" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/child_hv_nutrition_status.json b/opensrp-chw/src/ba/assets/json.form/child_hv_nutrition_status.json index 2eb6067625..df15abbef6 100644 --- a/opensrp-chw/src/ba/assets/json.form/child_hv_nutrition_status.json +++ b/opensrp-chw/src/ba/assets/json.form/child_hv_nutrition_status.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Nutrition status", + "title": "{{child_hv_nutrition_status.step1.title}}", "fields": [ { "key": "nutrition_status_1m5yr", @@ -56,11 +56,11 @@ "openmrs_entity_id": "163301AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Nutrition status", + "hint": "{{child_hv_nutrition_status.step1.nutrition_status_1m5yr.hint}}", "values": [ - "Normal", - "Moderate", - "Severe" + "{{child_hv_nutrition_status.step1.nutrition_status_1m5yr.values[0]}}", + "{{child_hv_nutrition_status.step1.nutrition_status_1m5yr.values[1]}}", + "{{child_hv_nutrition_status.step1.nutrition_status_1m5yr.values[2]}}" ], "keys": [ "Normal", @@ -74,9 +74,10 @@ }, "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{child_hv_nutrition_status.step1.nutrition_status_1m5yr.v_required.err}}" } } ] - } + }, + "properties_file_name": "child_hv_nutrition_status" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/child_hv_vaccine_card_received.json b/opensrp-chw/src/ba/assets/json.form/child_hv_vaccine_card_received.json index d919375b1f..53ffcfcfdd 100644 --- a/opensrp-chw/src/ba/assets/json.form/child_hv_vaccine_card_received.json +++ b/opensrp-chw/src/ba/assets/json.form/child_hv_vaccine_card_received.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Child vaccine card received", + "title": "{{child_hv_vaccine_card_received.step1.title}}", "fields": [ { "key": "child_vaccine_card", @@ -57,10 +57,10 @@ "openmrs_data_type": "select one", "type": "spinner", "image": "form_received_card", - "hint": "Did the child receive their vaccine card?", + "hint": "{{child_hv_vaccine_card_received.step1.child_vaccine_card.hint}}", "values": [ - "Yes", - "No" + "{{child_hv_vaccine_card_received.step1.child_vaccine_card.values[0]}}", + "{{child_hv_vaccine_card_received.step1.child_vaccine_card.values[1]}}" ], "openmrs_choice_ids": { "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -68,5 +68,6 @@ } } ] - } + }, + "properties_file_name": "child_hv_vaccine_card_received" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/child_hv_vitamin_a.json b/opensrp-chw/src/ba/assets/json.form/child_hv_vitamin_a.json index 589d441713..aeb257f2e7 100644 --- a/opensrp-chw/src/ba/assets/json.form/child_hv_vitamin_a.json +++ b/opensrp-chw/src/ba/assets/json.form/child_hv_vitamin_a.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Vitamin A {0} dose", + "title": "{{child_hv_vitamin_a.step1.title}}", "fields": [ { "key": "vitamin_a{0}_date", @@ -56,14 +56,15 @@ "openmrs_entity_id": "1418AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "date_picker", "image": "ic_form_vitamin", - "hint": "When was Vitamin A {0} dose done?", + "hint": "{{child_hv_vitamin_a.step1.vitamin_a{0}_date.hint}}", "min_date": "today-120y", "max_date": "today", "v_required": { "value": "true", - "err": "Please enter the date vitamin a was given" + "err": "{{child_hv_vitamin_a.step1.vitamin_a{0}_date.v_required.err}}" } } ] - } + }, + "properties_file_name": "child_hv_vitamin_a" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/child_referral_form.json b/opensrp-chw/src/ba/assets/json.form/child_referral_form.json index ff4e943290..0ef68c1353 100644 --- a/opensrp-chw/src/ba/assets/json.form/child_referral_form.json +++ b/opensrp-chw/src/ba/assets/json.form/child_referral_form.json @@ -52,7 +52,7 @@ } }, "step1": { - "title": "Sick child form", + "title": "{{child_referral_form.step1.title}}", "fields": [ { "key": "chw_referral_hf_child", @@ -60,7 +60,6 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1759AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "hidden", - "is_problem": false, "calculation": { "rules-engine": { "ex-rules": { @@ -72,203 +71,202 @@ { "key": "referral_problem_child", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "163182AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "check_box", - "label": "Health problem / condition", + "label": "{{child_referral_form.step1.referral_problem_child.label}}", "label_text_style": "bold", "options": [ { "key": "Fast_breathing_and_difficulty_with_breathing", - "text": "Fast breathing and difficulty with breathing", + "text": "{{child_referral_form.step1.referral_problem_child.options.Fast_breathing_and_difficulty_with_breathing.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "142373AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "" }, { "key": "Umbilical_cord_navel_bleeding", - "text": "Umbilical cord/navel bleeding", + "text": "{{child_referral_form.step1.referral_problem_child.options.Umbilical_cord_navel_bleeding.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "123844AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "" }, { "key": "Excessive_crying", - "text": "Excessive crying", + "text": "{{child_referral_form.step1.referral_problem_child.options.Excessive_crying.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "140944AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "" }, { "key": "Convulsions", - "text": "Convulsions", + "text": "{{child_referral_form.step1.referral_problem_child.options.Convulsions.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "113054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "" }, { "key": "Unable_to_breastfeed_or_swallow", - "text": "Unable to breastfeed or swallow", + "text": "{{child_referral_form.step1.referral_problem_child.options.Unable_to_breastfeed_or_swallow.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "159861AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "" }, { "key": "Neck_stiffness", - "text": "Neck stiffness", + "text": "{{child_referral_form.step1.referral_problem_child.options.Neck_stiffness.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "112721AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "" }, { "key": "Fever", - "text": "Fever", + "text": "{{child_referral_form.step1.referral_problem_child.options.Fever.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "140238AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "" }, { "key": "Bloating", - "text": "Bloating", + "text": "{{child_referral_form.step1.referral_problem_child.options.Bloating.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "147132AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "" }, { "key": "Redness_around_the_umbilical_cord_foul_smelling_discharge_from_the_umbilical_cord", - "text": "Redness around the umbilical cord, foul-smelling discharge from the umbilical cord", + "text": "{{child_referral_form.step1.referral_problem_child.options.Redness_around_the_umbilical_cord_foul_smelling_discharge_from_the_umbilical_cord.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "132407AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "" }, { "key": "Bacterial_conjunctivitis", - "text": "Bacterial conjunctivitis", + "text": "{{child_referral_form.step1.referral_problem_child.options.Bacterial_conjunctivitis.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "148026AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "" }, { "key": "Severe_anaemia", - "text": "Severe anaemia", + "text": "{{child_referral_form.step1.referral_problem_child.options.Severe_anaemia.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "162044AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "" }, { "key": "Severe_abdominal_pain", - "text": "Severe abdominal pain", + "text": "{{child_referral_form.step1.referral_problem_child.options.Severe_abdominal_pain.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "165271AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "" }, { "key": "Pale_or_jaundiced", - "text": "Pale or jaundiced", + "text": "{{child_referral_form.step1.referral_problem_child.options.Pale_or_jaundiced.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "136443AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "" }, { "key": "Cyanosis_blueness_of_lips", - "text": "Cyanosis (blueness of lips)", + "text": "{{child_referral_form.step1.referral_problem_child.options.Cyanosis_blueness_of_lips.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "143050AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "" }, { "key": "Skin_rash_pustules", - "text": "Skin rash / pustules", + "text": "{{child_referral_form.step1.referral_problem_child.options.Skin_rash_pustules.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "512AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "" }, { "key": "Diarrhea", - "text": "Diarrhea", + "text": "{{child_referral_form.step1.referral_problem_child.options.Diarrhea.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "142412AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "" }, { "key": "Vomiting", - "text": "Vomiting", + "text": "{{child_referral_form.step1.referral_problem_child.options.Vomiting.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "122983AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "" }, { "key": "Disabilities", - "text": "Disabilities", + "text": "{{child_referral_form.step1.referral_problem_child.options.Disabilities.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "162558AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "" }, { "key": "Premature_baby", - "text": "Premature baby", + "text": "{{child_referral_form.step1.referral_problem_child.options.Premature_baby.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "159908AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "" }, { "key": "Care_of_HIV_exposed_infant", - "text": "Care of HIV-exposed infant", + "text": "{{child_referral_form.step1.referral_problem_child.options.Care_of_HIV_exposed_infant.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "164818AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "" }, { "key": "Immunisation", - "text": "Immunisation", + "text": "{{child_referral_form.step1.referral_problem_child.options.Immunisation.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "1914AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "" }, { "key": "Other_symptom", - "text": "Other symptom", + "text": "{{child_referral_form.step1.referral_problem_child.options.Other_symptom.text}}", "value": false, - "ignore": true, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "" } ], "v_required": { "value": true, - "err": "Please specify health problem" + "err": "{{child_referral_form.step1.referral_problem_child.v_required.err}}" } }, { "key": "referral_problem_child_other", "type": "edit_text", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "163182AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "openmrs_entity_parent": "", "edit_type": "name", - "hint": "Other symptom", + "hint": "{{child_referral_form.step1.referral_problem_child_other.hint}}", "relevance": { "rules-engine": { "ex-rules": { @@ -280,67 +278,64 @@ { "key": "service_before_child", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "164378AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "check_box", - "label": "Pre-referral management given", + "label": "{{child_referral_form.step1.service_before_child.label}}", "label_text_style": "bold", - "is_problem": false, "exclusive": [ "None" ], "options": [ { "key": "ORS", - "text": "ORS", + "text": "{{child_referral_form.step1.service_before_child.options.ORS.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "351AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "" }, { "key": "Panadol", - "text": "Panadol", + "text": "{{child_referral_form.step1.service_before_child.options.Panadol.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "70116AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "" }, { "key": "Other_treatment", - "text": "Other treatment", + "text": "{{child_referral_form.step1.service_before_child.options.Other_treatment.text}}", "value": false, - "ignore": true, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "" }, { "key": "None", - "text": "None", + "text": "{{child_referral_form.step1.service_before_child.options.None.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "" } ], "v_required": { "value": "true", - "err": "Pre-referral management field is required" + "err": "{{child_referral_form.step1.service_before_child.v_required.err}}" } }, { "key": "service_before_child_other", "type": "edit_text", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity_parent": "164378AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "openmrs_entity_parent": "", "edit_type": "name", - "hint": "Other treatment", - "is_problem": false, + "hint": "{{child_referral_form.step1.service_before_child_other.hint}}", "v_required": { "value": "true", - "err": "Please specify other treatment" + "err": "{{child_referral_form.step1.service_before_child_other.v_required.err}}" }, "relevance": { "rules-engine": { @@ -356,7 +351,6 @@ "openmrs_entity": "concept", "openmrs_entity_id": "163181AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "hidden", - "is_problem": false, "calculation": { "rules-engine": { "ex-rules": { @@ -368,10 +362,9 @@ { "key": "referral_time_child", "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "referral_time_child", + "openmrs_entity": "", + "openmrs_entity_id": "", "type": "hidden", - "is_problem": false, "calculation": { "rules-engine": { "ex-rules": { @@ -381,5 +374,6 @@ } } ] - } + }, + "properties_file_name": "child_referral_form" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/community_responder_registration.json b/opensrp-chw/src/ba/assets/json.form/community_responder_registration.json old mode 100755 new mode 100644 index c284289f5a..e880e46d19 --- a/opensrp-chw/src/ba/assets/json.form/community_responder_registration.json +++ b/opensrp-chw/src/ba/assets/json.form/community_responder_registration.json @@ -50,12 +50,12 @@ "encounter_location": "" }, "step1": { - "title": "Community Responder details", + "title": "{{community_responder_registration.step1.title}}", "fields": [ { "key": "responder_label", "type": "label", - "text": "Add community responder Details", + "text": "{{community_responder_registration.step1.responder_label.text}}", "left_padding": "20dp", "right_padding": "20dp", "text_size": "7sp", @@ -67,15 +67,15 @@ "openmrs_entity": "concept", "openmrs_entity_id": "responder_name", "type": "edit_text", - "hint": "Full name", + "hint": "{{community_responder_registration.step1.responder_name.hint}}", "edit_type": "name", "v_required": { "value": "true", - "err": "Please enter responder's full name" + "err": "{{community_responder_registration.step1.responder_name.v_required.err}}" }, "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid name" + "err": "{{community_responder_registration.step1.responder_name.v_regex.err}}" } }, { @@ -84,18 +84,18 @@ "openmrs_entity": "concept", "openmrs_entity_id": "responder_phone_number", "type": "edit_text", - "hint": "Phone number", + "hint": "{{community_responder_registration.step1.responder_phone_number.hint}}", "v_numeric": { "value": "true", - "err": "Number must be a total of 10 digits in length" + "err": "{{community_responder_registration.step1.responder_phone_number.v_numeric.err}}" }, "v_regex": { "value": "(0[0-9]{9})|\\s*", - "err": "Number must be 10 digits and must start with 0." + "err": "{{community_responder_registration.step1.responder_phone_number.v_regex.err}}" }, "v_required": { "value": "true", - "err": "Please enter responder's phone number" + "err": "{{community_responder_registration.step1.responder_phone_number.v_required.err}}" } }, { @@ -104,9 +104,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "responder_gps", "openmrs_data_type": "text", - "hint": "normal location", + "hint": "{{community_responder_registration.step1.responder_gps.hint}}", "type": "gps" } ] - } + }, + "properties_file_name": "community_responder_registration" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/family_details_register.json b/opensrp-chw/src/ba/assets/json.form/family_details_register.json index cf37fb39e1..47e01c489f 100644 --- a/opensrp-chw/src/ba/assets/json.form/family_details_register.json +++ b/opensrp-chw/src/ba/assets/json.form/family_details_register.json @@ -52,7 +52,7 @@ } }, "step1": { - "title": "Family Details", + "title": "{{family_details_register.step1.title}}", "fields": [ { "key": "fam_name", @@ -60,15 +60,15 @@ "openmrs_entity": "person", "openmrs_entity_id": "first_name", "type": "edit_text", - "hint": "Family name", + "hint": "{{family_details_register.step1.fam_name.hint}}", "edit_type": "name", "v_required": { "value": "true", - "err": "Please enter the family name" + "err": "{{family_details_register.step1.fam_name.v_required.err}}" }, "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid name" + "err": "{{family_details_register.step1.fam_name.v_regex.err}}" } }, { @@ -79,11 +79,11 @@ "hidden": "true", "type": "barcode", "barcode_type": "qrcode", - "hint": "ID *", - "scanButtonText": "Scan QR Code", + "hint": "{{family_details_register.step1.unique_id.hint}}", + "scanButtonText": "{{family_details_register.step1.unique_id.scanButtonText}}", "v_numeric": { "value": "true", - "err": "Please enter a valid ID" + "err": "{{family_details_register.step1.unique_id.v_numeric.err}}" } }, { @@ -92,10 +92,10 @@ "openmrs_entity": "person_address", "openmrs_entity_id": "cityVillage", "type": "edit_text", - "hint": "Village/Town", + "hint": "{{family_details_register.step1.village_town.hint}}", "v_required": { "value": "true", - "err": "Please enter the village or town" + "err": "{{family_details_register.step1.village_town.v_required.err}}" } }, { @@ -104,7 +104,7 @@ "openmrs_entity": "person_address", "openmrs_entity_id": "landmark", "type": "edit_text", - "hint": "Landmark" + "hint": "{{family_details_register.step1.landmark.hint}}" }, { "key": "gps", @@ -121,13 +121,14 @@ "openmrs_entity_id": "162724AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "text", "type": "tree", - "hint": "Nearest health facility", + "hint": "{{family_details_register.step1.nearest_facility.hint}}", "tree": [], "v_required": { "value": true, - "err": "Please enter the nearest health facility" + "err": "{{family_details_register.step1.nearest_facility.v_required.err}}" } } ] - } + }, + "properties_file_name": "family_details_register" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/family_details_remove_child.json b/opensrp-chw/src/ba/assets/json.form/family_details_remove_child.json index 2aa281f5f1..cad4d7e0c5 100644 --- a/opensrp-chw/src/ba/assets/json.form/family_details_remove_child.json +++ b/opensrp-chw/src/ba/assets/json.form/family_details_remove_child.json @@ -52,12 +52,12 @@ } }, "step1": { - "title": "Remove Child Under 5", + "title": "{{family_details_remove_child.step1.title}}", "fields": [ { "key": "spacer", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "type": "spacer", "spacer_height": "10sp" @@ -65,23 +65,23 @@ { "key": "details", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "type": "label", - "text": "", + "text": "{{family_details_remove_child.step1.details.text}}", "text_size": "25px" }, { "key": "divider1", "type": "h_line", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "" }, { "key": "spacer", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "type": "spacer", "spacer_height": "15dp" @@ -93,11 +93,11 @@ "openmrs_entity_id": "160417AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Reason", + "hint": "{{family_details_remove_child.step1.remove_reason.hint}}", "values": [ - "Died", - "Moved away", - "Other" + "{{family_details_remove_child.step1.remove_reason.values[0]}}", + "{{family_details_remove_child.step1.remove_reason.values[1]}}", + "{{family_details_remove_child.step1.remove_reason.values[2]}}" ], "keys": [ "Died", @@ -106,7 +106,7 @@ ], "v_required": { "value": "true", - "err": "Select the reason for removing the child's record." + "err": "{{family_details_remove_child.step1.remove_reason.v_required.err}}" }, "openmrs_choice_ids": { "Died": "160034AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -117,7 +117,7 @@ { "key": "dob", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "type": "spacer", "expanded": false, @@ -131,20 +131,20 @@ "openmrs_entity_id": "164133AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "text", "type": "date_picker", - "label": "Date moved away", - "hint": "Date moved away", + "label": "{{family_details_remove_child.step1.date_moved.label}}", + "hint": "{{family_details_remove_child.step1.date_moved.hint}}", "expanded": false, "min_date": "", "max_date": "today", "v_required": { "value": "true", - "err": "Enter the date that the member moved away" + "err": "{{family_details_remove_child.step1.date_moved.v_required.err}}" }, "constraints": [ { "type": "date", "ex": "greaterThanEqualTo(., step1:dob)", - "err": "Moved away date cannot be before date of birth" + "err": "{{family_details_remove_child.step1.date_moved.constraints.err}}" } ], "relevance": { @@ -161,20 +161,20 @@ "openmrs_entity_id": "1543AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "text", "type": "date_picker", - "label": "Date of death", - "hint": "Date of death", + "label": "{{family_details_remove_child.step1.date_died.label}}", + "hint": "{{family_details_remove_child.step1.date_died.hint}}", "expanded": false, "min_date": "", "max_date": "today", "v_required": { "value": "true", - "err": "Enter the date of death" + "err": "{{family_details_remove_child.step1.date_died.v_required.err}}" }, "constraints": [ { "type": "date", "ex": "greaterThanEqualTo(., step1:dob)", - "err": "Date of death can't occur before date of birth" + "err": "{{family_details_remove_child.step1.date_died.constraints.err}}" } ], "relevance": { @@ -187,10 +187,10 @@ { "key": "age_at_death", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", - "label": "Age at death", - "hint": "Age at death", + "label": "{{family_details_remove_child.step1.age_at_death.label}}", + "hint": "{{family_details_remove_child.step1.age_at_death.hint}}", "type": "edit_text", "read_only": "true", "relevance": { @@ -208,5 +208,6 @@ } } ] - } + }, + "properties_file_name": "family_details_remove_child" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/family_details_remove_family.json b/opensrp-chw/src/ba/assets/json.form/family_details_remove_family.json index d9c23b6bd3..74e568aecc 100644 --- a/opensrp-chw/src/ba/assets/json.form/family_details_remove_family.json +++ b/opensrp-chw/src/ba/assets/json.form/family_details_remove_family.json @@ -52,12 +52,12 @@ } }, "step1": { - "title": "Remove Family", + "title": "{{family_details_remove_family.step1.title}}", "fields": [ { "key": "spacer", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "type": "spacer", "spacer_height": "30sp" @@ -65,32 +65,32 @@ { "key": "fam_name", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "type": "label", - "text": "", + "text": "{{family_details_remove_family.step1.fam_name.text}}", "text_size": "25px" }, { "key": "details", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "type": "label", - "text": "", + "text": "{{family_details_remove_family.step1.details.text}}", "text_size": "25px" }, { "key": "divider1", "type": "h_line", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "" }, { "key": "spacer", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "type": "spacer", "spacer_height": "20sp" @@ -102,10 +102,10 @@ "openmrs_entity_id": "160417AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Reason for closure", + "hint": "{{family_details_remove_family.step1.closure_reason_fam.hint}}", "values": [ - "Relocation", - "Other" + "{{family_details_remove_family.step1.closure_reason_fam.values[0]}}", + "{{family_details_remove_family.step1.closure_reason_fam.values[1]}}" ], "keys": [ "Relocation", @@ -113,7 +113,7 @@ ], "v_required": { "value": "true", - "err": "Select the reason for removing the family's record." + "err": "{{family_details_remove_family.step1.closure_reason_fam.v_required.err}}" }, "openmrs_choice_ids": { "Relocation": "160415AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -127,10 +127,10 @@ "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "text", "type": "edit_text", - "hint": "Other reason", + "hint": "{{family_details_remove_family.step1.closure_reason_other_fam.hint}}", "v_required": { "value": "true", - "err": "Enter reason of closure" + "err": "{{family_details_remove_family.step1.closure_reason_other_fam.v_required.err}}" }, "relevance": { "step1:closure_reason_fam": { @@ -146,10 +146,10 @@ "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Household relocation", + "hint": "{{family_details_remove_family.step1.closure_reason_relocation_fam.hint}}", "values": [ - "Within the district", - "Outside the district" + "{{family_details_remove_family.step1.closure_reason_relocation_fam.values[0]}}", + "{{family_details_remove_family.step1.closure_reason_relocation_fam.values[1]}}" ], "keys": [ "Within the district", @@ -157,7 +157,7 @@ ], "v_required": { "value": "true", - "err": "Enter reason of closure" + "err": "{{family_details_remove_family.step1.closure_reason_relocation_fam.v_required.err}}" }, "relevance": { "step1:closure_reason_fam": { @@ -167,5 +167,6 @@ } } ] - } + }, + "properties_file_name": "family_details_remove_family" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/family_details_remove_member.json b/opensrp-chw/src/ba/assets/json.form/family_details_remove_member.json index 2176efa5ce..f5f1093aec 100644 --- a/opensrp-chw/src/ba/assets/json.form/family_details_remove_member.json +++ b/opensrp-chw/src/ba/assets/json.form/family_details_remove_member.json @@ -52,12 +52,12 @@ } }, "step1": { - "title": "Remove Family Member", + "title": "{{family_details_remove_member.step1.title}}", "fields": [ { "key": "spacer", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "type": "spacer", "spacer_height": "10sp" @@ -65,23 +65,23 @@ { "key": "details", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "type": "label", - "text": "", + "text": "{{family_details_remove_member.step1.details.text}}", "text_size": "25px" }, { "key": "divider1", "type": "h_line", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "" }, { "key": "spacer", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "type": "spacer", "spacer_height": "15dp" @@ -93,15 +93,15 @@ "openmrs_entity_id": "160417AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Reason for removal", + "hint": "{{family_details_remove_member.step1.remove_reason.hint}}", "v_required": { "value": "true", - "err": "Select the reason for removing the family member's record" + "err": "{{family_details_remove_member.step1.remove_reason.v_required.err}}" }, "values": [ - "Death", - "Moved away", - "Other" + "{{family_details_remove_member.step1.remove_reason.values[0]}}", + "{{family_details_remove_member.step1.remove_reason.values[1]}}", + "{{family_details_remove_member.step1.remove_reason.values[2]}}" ], "keys": [ "Death", @@ -117,7 +117,7 @@ { "key": "dob", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "type": "spacer", "expanded": false, @@ -131,20 +131,20 @@ "openmrs_entity_id": "164133AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "text", "type": "date_picker", - "label": "Date moved away", - "hint": "Date moved away", + "label": "{{family_details_remove_member.step1.date_moved.label}}", + "hint": "{{family_details_remove_member.step1.date_moved.hint}}", "expanded": false, "min_date": "", "max_date": "today", "v_required": { "value": "true", - "err": "Enter the date that the member moved away" + "err": "{{family_details_remove_member.step1.date_moved.v_required.err}}" }, "constraints": [ { "type": "date", "ex": "greaterThanEqualTo(., step1:dob)", - "err": "Date moved away occur before date of birth" + "err": "{{family_details_remove_member.step1.date_moved.constraints.err}}" } ], "relevance": { @@ -161,20 +161,20 @@ "openmrs_entity_id": "1543AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "text", "type": "date_picker", - "label": "Date of death", - "hint": "Date of death", + "label": "{{family_details_remove_member.step1.date_died.label}}", + "hint": "{{family_details_remove_member.step1.date_died.hint}}", "expanded": false, "min_date": "today-80y", "max_date": "today", "v_required": { "value": "true", - "err": "Enter the date of death" + "err": "{{family_details_remove_member.step1.date_died.v_required.err}}" }, "constraints": [ { "type": "date", "ex": "greaterThanEqualTo(., step1:dob)", - "err": "Date of death can't occur before date of birth" + "err": "{{family_details_remove_member.step1.date_died.constraints.err}}" } ], "relevance": { @@ -188,10 +188,10 @@ { "key": "age_at_death", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", - "label": "Age at death", - "hint": "Age at death", + "label": "{{family_details_remove_member.step1.age_at_death.label}}", + "hint": "{{family_details_remove_member.step1.age_at_death.hint}}", "type": "edit_text", "read_only": "true", "relevance": { @@ -210,5 +210,6 @@ } } ] - } + }, + "properties_file_name": "family_details_remove_member" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/family_member_register.json b/opensrp-chw/src/ba/assets/json.form/family_member_register.json index 5481e20563..ccca7465be 100644 --- a/opensrp-chw/src/ba/assets/json.form/family_member_register.json +++ b/opensrp-chw/src/ba/assets/json.form/family_member_register.json @@ -52,15 +52,15 @@ } }, "step1": { - "title": "Add Family Member", + "title": "{{family_member_register.step1.title}}", "fields": [ { "key": "photo", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "type": "choose_image", - "uploadButtonText": "Take a picture of the person" + "uploadButtonText": "{{family_member_register.step1.photo.uploadButtonText}}" }, { "key": "unique_id", @@ -69,32 +69,32 @@ "openmrs_entity_id": "opensrp_id", "type": "barcode", "barcode_type": "qrcode", - "hint": "Boresha Afya ID", - "scanButtonText": "Scan QR Code", + "hint": "{{family_member_register.step1.unique_id.hint}}", + "scanButtonText": "{{family_member_register.step1.unique_id.scanButtonText}}", "v_numeric": { "value": "true", - "err": "Please enter a valid ID" + "err": "{{family_member_register.step1.unique_id.v_numeric.err}}" }, "v_required": { "value": "true", - "err": "Please enter the UNIQUE ID" + "err": "{{family_member_register.step1.unique_id.v_required.err}}" } }, { "key": "surname", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "type": "edit_text", - "hint": "Surname", + "hint": "{{family_member_register.step1.surname.hint}}", "edit_type": "name", "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid name" + "err": "{{family_member_register.step1.surname.v_regex.err}}" }, "v_required": { "value": "true", - "err": "Please enter the surname" + "err": "{{family_member_register.step1.surname.v_required.err}}" }, "relevance": { "rules-engine": { @@ -107,18 +107,18 @@ { "key": "same_as_fam_name", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "openmrs_data_type": "text", "type": "check_box", - "label": "", + "label": "{{family_member_register.step1.same_as_fam_name.label}}", "exclusive": [ "none" ], "options": [ { "key": "same_as_fam_name", - "text": "Surname same as family name", + "text": "{{family_member_register.step1.same_as_fam_name.options.same_as_fam_name.text}}", "text_size": "18px", "value": "false" } @@ -127,7 +127,7 @@ { "key": "fam_name", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "type": "label", "hidden": "true" @@ -138,7 +138,7 @@ "openmrs_entity": "person", "openmrs_entity_id": "last_name", "type": "hidden", - "hint": "Surname as Family name", + "hint": "{{family_member_register.step1.surname_calculation.hint}}", "calculation": { "rules-engine": { "ex-rules": { @@ -153,15 +153,15 @@ "openmrs_entity": "person", "openmrs_entity_id": "first_name", "type": "edit_text", - "hint": "First name", + "hint": "{{family_member_register.step1.first_name.hint}}", "edit_type": "name", "v_required": { "value": "true", - "err": "Please enter the first name" + "err": "{{family_member_register.step1.first_name.v_required.err}}" }, "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid name" + "err": "{{family_member_register.step1.first_name.v_regex.err}}" } }, { @@ -170,15 +170,15 @@ "openmrs_entity": "person", "openmrs_entity_id": "middle_name", "type": "edit_text", - "hint": "Middle name", + "hint": "{{family_member_register.step1.middle_name.hint}}", "edit_type": "name", "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid name" + "err": "{{family_member_register.step1.middle_name.v_regex.err}}" }, "v_required": { "value": "true", - "err": "Please enter the middle name" + "err": "{{family_member_register.step1.middle_name.v_required.err}}" } }, { @@ -187,16 +187,16 @@ "openmrs_entity": "person", "openmrs_entity_id": "birthdate", "type": "date_picker", - "hint": "Date of birth (DOB)", + "hint": "{{family_member_register.step1.dob.hint}}", "expanded": false, "duration": { - "label": "Age" + "label": "{{family_member_register.step1.dob.duration.label}}" }, "min_date": "today-120y", "max_date": "today-5y", "v_required": { "value": "true", - "err": "Please enter the date of birth" + "err": "{{family_member_register.step1.dob.v_required.err}}" }, "relevance": { "rules-engine": { @@ -209,7 +209,7 @@ { "key": "age_calculated", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "type": "hidden", "calculation": { @@ -226,11 +226,11 @@ "openmrs_entity": "person", "openmrs_entity_id": "birthdateApprox", "type": "check_box", - "label": "", + "label": "{{family_member_register.step1.dob_unknown.label}}", "options": [ { "key": "dob_unknown", - "text": "DOB unknown?", + "text": "{{family_member_register.step1.dob_unknown.options.dob_unknown.text}}", "text_size": "18px", "value": "false" } @@ -242,22 +242,22 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "age", "type": "edit_text", - "hint": "Age", + "hint": "{{family_member_register.step1.age.hint}}", "v_numeric_integer": { "value": "true", - "err": "Must be a rounded number" + "err": "{{family_member_register.step1.age.v_numeric_integer.err}}" }, "v_numeric": { "value": "true", - "err": "Number must begin with 0 and must be a total of 10 digits in length" + "err": "{{family_member_register.step1.age.v_numeric.err}}" }, "v_min": { "value": "5", - "err": "Age must be equal or greater than 5" + "err": "{{family_member_register.step1.age.v_min.err}}" }, "v_max": { "value": "120", - "err": "Age must be equal or less than 120" + "err": "{{family_member_register.step1.age.v_max.err}}" }, "relevance": { "rules-engine": { @@ -268,7 +268,7 @@ }, "v_required": { "value": true, - "err": "Please enter the age" + "err": "{{family_member_register.step1.age.v_required.err}}" } }, { @@ -277,7 +277,7 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "id_avail", "type": "check_box", - "label": "Do have any of the following IDs?", + "label": "{{family_member_register.step1.id_avail.label}}", "label_text_style": "normal", "text_color": "#C0C0C0", "exclusive": [ @@ -286,35 +286,35 @@ "options": [ { "key": "chk_national_id", - "text": "National ID", + "text": "{{family_member_register.step1.id_avail.options.chk_national_id.text}}", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "chk_national_id" }, { "key": "chk_voters_id", - "text": "Voter's registration ID", + "text": "{{family_member_register.step1.id_avail.options.chk_voters_id.text}}", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "chk_voters_id" }, { "key": "chk_drivers_license", - "text": "Driver's license", + "text": "{{family_member_register.step1.id_avail.options.chk_drivers_license.text}}", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "chk_drivers_license" }, { "key": "chk_passport", - "text": "Passport", + "text": "{{family_member_register.step1.id_avail.options.chk_passport.text}}", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "chk_passport" }, { "key": "chk_none", - "text": "None", + "text": "{{family_member_register.step1.id_avail.options.chk_none.text}}", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "chk_none" @@ -334,7 +334,7 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "National_ID", "type": "edit_text", - "hint": "National ID number", + "hint": "{{family_member_register.step1.national_id.hint}}", "edit_type": "name", "relevance": { "step1:id_avail": { @@ -354,7 +354,7 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Voter_Registration_Number", "type": "edit_text", - "hint": "Voter's registration number", + "hint": "{{family_member_register.step1.voter_id.hint}}", "edit_type": "name", "relevance": { "step1:id_avail": { @@ -374,7 +374,7 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Driver_License_Number", "type": "edit_text", - "hint": "Driver's license number", + "hint": "{{family_member_register.step1.driver_license.hint}}", "edit_type": "name", "relevance": { "step1:id_avail": { @@ -394,7 +394,7 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Passport_Number", "type": "edit_text", - "hint": "Passport number", + "hint": "{{family_member_register.step1.passport.hint}}", "edit_type": "name", "relevance": { "step1:id_avail": { @@ -414,21 +414,21 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Health_Insurance_Type", "type": "spinner", - "hint": "Health insurance provider", + "hint": "{{family_member_register.step1.insurance_provider.hint}}", "values": [ - "Community Health Fund (CHF)", - "iCHF", - "National Social Security Fund - Social Health Insurance Benefit (SHIB)", - "Tiba Kwa Kadi (TIKA)", - "AAR Healthcare", - "Strategies Insurance", - "Milvik Tanzania Ltd (BIMA Mkononi)", - "Britam Insurance Tanzania", - "Jubilee Insurance", - "Resolutions Insurance", - "Reliance Insurance", - "Other", - "None" + "{{family_member_register.step1.insurance_provider.values[0]}}", + "{{family_member_register.step1.insurance_provider.values[1]}}", + "{{family_member_register.step1.insurance_provider.values[2]}}", + "{{family_member_register.step1.insurance_provider.values[3]}}", + "{{family_member_register.step1.insurance_provider.values[4]}}", + "{{family_member_register.step1.insurance_provider.values[5]}}", + "{{family_member_register.step1.insurance_provider.values[6]}}", + "{{family_member_register.step1.insurance_provider.values[7]}}", + "{{family_member_register.step1.insurance_provider.values[8]}}", + "{{family_member_register.step1.insurance_provider.values[9]}}", + "{{family_member_register.step1.insurance_provider.values[10]}}", + "{{family_member_register.step1.insurance_provider.values[11]}}", + "{{family_member_register.step1.insurance_provider.values[12]}}" ], "keys": [ "Community Health Fund (CHF)", @@ -462,7 +462,7 @@ }, "v_required": { "value": "true", - "err": "Please enter the insurance provider" + "err": "{{family_member_register.step1.insurance_provider.v_required.err}}" } }, { @@ -471,10 +471,10 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Other_Health_Insurance_Type", "type": "edit_text", - "hint": "Other health insurance provider", + "hint": "{{family_member_register.step1.insurance_provider_other.hint}}", "v_required": { "value": "true", - "err": "Please specify the insurance provider" + "err": "{{family_member_register.step1.insurance_provider_other.v_required.err}}" }, "relevance": { "rules-engine": { @@ -490,10 +490,10 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Health_Insurance_Number", "type": "edit_text", - "hint": "Health insurance provider number", + "hint": "{{family_member_register.step1.insurance_provider_number.hint}}", "v_required": { "value": "true", - "err": "Please add the health insurance provider iD Number" + "err": "{{family_member_register.step1.insurance_provider_number.v_required.err}}" }, "relevance": { "rules-engine": { @@ -509,10 +509,10 @@ "openmrs_entity": "person", "openmrs_entity_id": "gender", "type": "spinner", - "hint": "Sex", + "hint": "{{family_member_register.step1.sex.hint}}", "values": [ - "Male", - "Female" + "{{family_member_register.step1.sex.values[0]}}", + "{{family_member_register.step1.sex.values[1]}}" ], "keys": [ "Male", @@ -520,13 +520,13 @@ ], "v_required": { "value": "true", - "err": "Please enter the sex" + "err": "{{family_member_register.step1.sex.v_required.err}}" } }, { "key": "wra", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "type": "hidden", "calculation": { @@ -540,7 +540,7 @@ { "key": "mra", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "type": "hidden", "calculation": { @@ -557,10 +557,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "160692AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "spinner", - "hint": "Has the woman delivered in the last 1 year?", + "hint": "{{family_member_register.step1.preg_1yr.hint}}", "values": [ - "Yes", - "No" + "{{family_member_register.step1.preg_1yr.values[0]}}", + "{{family_member_register.step1.preg_1yr.values[1]}}" ], "keys": [ "Yes", @@ -572,7 +572,7 @@ }, "v_required": { "value": "true", - "err": "Please select if the woman has delivered in the last 1 year" + "err": "{{family_member_register.step1.preg_1yr.v_required.err}}" }, "relevance": { "rules-engine": { @@ -588,10 +588,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "162558AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "spinner", - "hint": "Physical disabilities", + "hint": "{{family_member_register.step1.disabilities.hint}}", "values": [ - "Yes", - "No" + "{{family_member_register.step1.disabilities.values[0]}}", + "{{family_member_register.step1.disabilities.values[1]}}" ], "keys": [ "Yes", @@ -603,7 +603,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{family_member_register.step1.disabilities.v_required.err}}" } }, { @@ -612,10 +612,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", - "hint": "Type of disability", + "hint": "{{family_member_register.step1.type_of_disability.hint}}", "v_required": { "value": "true", - "err": "Please enter type of disability" + "err": "{{family_member_register.step1.type_of_disability.v_required.err}}" }, "relevance": { "rules-engine": { @@ -628,13 +628,13 @@ { "key": "is_primary_caregiver", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "type": "spinner", - "hint": "Is primary caregiver?", + "hint": "{{family_member_register.step1.is_primary_caregiver.hint}}", "values": [ - "Yes", - "No" + "{{family_member_register.step1.is_primary_caregiver.values[0]}}", + "{{family_member_register.step1.is_primary_caregiver.values[1]}}" ], "keys": [ "Yes", @@ -642,7 +642,7 @@ ], "v_required": { "value": "true", - "err": "Please select one" + "err": "{{family_member_register.step1.is_primary_caregiver.v_required.err}}" } }, { @@ -651,18 +651,18 @@ "openmrs_entity": "concept", "openmrs_entity_id": "159635AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", - "hint": "Phone number", + "hint": "{{family_member_register.step1.phone_number.hint}}", "v_numeric": { "value": "true", - "err": "Number must be a total of 10 digits in length" + "err": "{{family_member_register.step1.phone_number.v_numeric.err}}" }, "v_regex": { "value": "(0[0-9]{9})|\\s*", - "err": "Number must be 10 digits and must start with 0." + "err": "{{family_member_register.step1.phone_number.v_regex.err}}" }, "v_required": { "value": false, - "err": "Please specify the phone number" + "err": "{{family_member_register.step1.phone_number.v_required.err}}" } }, { @@ -671,14 +671,14 @@ "openmrs_entity": "concept", "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", - "hint": "Other phone number", + "hint": "{{family_member_register.step1.other_phone_number.hint}}", "v_numeric": { "value": "true", - "err": "Number must be a total of 10 digits in length" + "err": "{{family_member_register.step1.other_phone_number.v_numeric.err}}" }, "v_regex": { "value": "(0[0-9]{9})|\\s*", - "err": "Number must be 10 digits and must start with 0." + "err": "{{family_member_register.step1.other_phone_number.v_regex.err}}" } }, { @@ -687,7 +687,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1542AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "check_box", - "label": "Occupation of the family member", + "label": "{{family_member_register.step1.service_provider.label}}", "label_text_style": "normal", "text_color": "#C0C0C0", "exclusive": [ @@ -696,91 +696,91 @@ "options": [ { "key": "chk_farmer", - "text": "Farmer", + "text": "{{family_member_register.step1.service_provider.options.chk_farmer.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1538AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_cs", - "text": "Civil Servant", + "text": "{{family_member_register.step1.service_provider.options.chk_cs.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "162944AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_nurse", - "text": "Nurse", + "text": "{{family_member_register.step1.service_provider.options.chk_nurse.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1577AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_teacher", - "text": "Teacher", + "text": "{{family_member_register.step1.service_provider.options.chk_teacher.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "162946AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_th", - "text": "Traditional Healer", + "text": "{{family_member_register.step1.service_provider.options.chk_th.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1821AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_chw", - "text": "Community Health Worker (CHW)", + "text": "{{family_member_register.step1.service_provider.options.chk_chw.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1555AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_tba", - "text": "Traditional Birth Attendant", + "text": "{{family_member_register.step1.service_provider.options.chk_tba.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1575AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_chmis", - "text": "Community HMIS (cHMIS)", + "text": "{{family_member_register.step1.service_provider.options.chk_chmis.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "163334AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_cbd", - "text": "Community Based Distributor", + "text": "{{family_member_register.step1.service_provider.options.chk_cbd.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1744AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_hbc", - "text": "Home Based Care (HBC)", + "text": "{{family_member_register.step1.service_provider.options.chk_hbc.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "161359AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_cimmci", - "text": "Community IMCI", + "text": "{{family_member_register.step1.service_provider.options.chk_cimmci.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "163096AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_other", - "text": "Other", + "text": "{{family_member_register.step1.service_provider.options.chk_other.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_none", - "text": "None", + "text": "{{family_member_register.step1.service_provider.options.chk_none.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" @@ -788,7 +788,7 @@ ], "v_required": { "value": "true", - "err": "Please pick at least one" + "err": "{{family_member_register.step1.service_provider.v_required.err}}" } }, { @@ -797,7 +797,7 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Community_Leader", "type": "check_box", - "label": "Any leadership role in the community?", + "label": "{{family_member_register.step1.leader.label}}", "label_text_style": "normal", "text_color": "#C0C0C0", "exclusive": [ @@ -806,42 +806,42 @@ "options": [ { "key": "chk_religious", - "text": "Religious leader", + "text": "{{family_member_register.step1.leader.options.chk_religious.text}}", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "Religious_Leader" }, { "key": "chk_traditional", - "text": "Traditional leader", + "text": "{{family_member_register.step1.leader.options.chk_traditional.text}}", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "Traditional_leader" }, { "key": "chk_political", - "text": "Political leader", + "text": "{{family_member_register.step1.leader.options.chk_political.text}}", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "Political_leader" }, { "key": "chk_influential", - "text": "Influential leader", + "text": "{{family_member_register.step1.leader.options.chk_influential.text}}", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "Influential_Leader" }, { "key": "chk_other", - "text": "Other", + "text": "{{family_member_register.step1.leader.options.chk_other.text}}", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "Other_Community_Leader_Type" }, { "key": "chk_none", - "text": "None", + "text": "{{family_member_register.step1.leader.options.chk_none.text}}", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "Not_a_Community_Leader" @@ -849,7 +849,7 @@ ], "v_required": { "value": "true", - "err": "Please pick at least one" + "err": "{{family_member_register.step1.leader.v_required.err}}" } }, { @@ -858,11 +858,11 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Other_Community_Leader_Type_Name", "type": "edit_text", - "hint": "Mention other role in the community", + "hint": "{{family_member_register.step1.leader_other.hint}}", "edit_type": "name", "v_required": { "value": "true", - "err": "Please specify role" + "err": "{{family_member_register.step1.leader_other.v_required.err}}" }, "relevance": { "step1:leader": { @@ -877,5 +877,6 @@ } } ] - } + }, + "properties_file_name": "family_member_register" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/family_register.json b/opensrp-chw/src/ba/assets/json.form/family_register.json index bba830d7e2..93fe344558 100644 --- a/opensrp-chw/src/ba/assets/json.form/family_register.json +++ b/opensrp-chw/src/ba/assets/json.form/family_register.json @@ -54,7 +54,7 @@ } }, "step1": { - "title": "Family details", + "title": "{{family_register.step1.title}}", "next": "step2", "fields": [ { @@ -63,15 +63,15 @@ "openmrs_entity": "person", "openmrs_entity_id": "first_name", "type": "edit_text", - "hint": "Family name", + "hint": "{{family_register.step1.fam_name.hint}}", "edit_type": "name", "v_required": { "value": "true", - "err": "Please enter the family name" + "err": "{{family_register.step1.fam_name.v_required.err}}" }, "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid name" + "err": "{{family_register.step1.fam_name.v_regex.err}}" } }, { @@ -82,11 +82,11 @@ "hidden": "true", "type": "barcode", "barcode_type": "qrcode", - "hint": "ID", - "scanButtonText": "Scan QR Code", + "hint": "{{family_register.step1.unique_id.hint}}", + "scanButtonText": "{{family_register.step1.unique_id.scanButtonText}}", "v_numeric": { "value": "true", - "err": "Please enter a valid ID" + "err": "{{family_register.step1.unique_id.v_numeric.err}}" } }, { @@ -96,14 +96,14 @@ "openmrs_entity_id": "cityVillage", "type": "edit_text", "edit_type": "name", - "hint": "Village", + "hint": "{{family_register.step1.fam_village.hint}}", "v_required": { "value": "true", - "err": "Please enter the village or town" + "err": "{{family_register.step1.fam_village.v_required.err}}" }, "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid village name" + "err": "{{family_register.step1.fam_village.v_regex.err}}" } }, { @@ -113,10 +113,10 @@ "openmrs_entity_id": "landmark", "type": "edit_text", "edit_type": "name", - "hint": "Landmark/ description of house location", + "hint": "{{family_register.step1.landmark.hint}}", "v_required": { "value": true, - "err": "Please enter the landmark/description of location." + "err": "{{family_register.step1.landmark.v_required.err}}" } }, { @@ -130,7 +130,7 @@ { "key": "spacer", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "type": "spacer", "spacer_height": "15dp" @@ -142,25 +142,25 @@ "openmrs_entity_id": "162724AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "text", "type": "tree", - "hint": "Nearest health facility", + "hint": "{{family_register.step1.nearest_facility.hint}}", "tree": [], "v_required": { "value": true, - "err": "Please enter the nearest health facility" + "err": "{{family_register.step1.nearest_facility.v_required.err}}" } } ] }, "step2": { - "title": "Family head", + "title": "{{family_register.step2.title}}", "fields": [ { "key": "photo", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "type": "choose_image", - "uploadButtonText": "Take a picture of the person" + "uploadButtonText": "{{family_register.step2.photo.uploadButtonText}}" }, { "key": "unique_id", @@ -168,16 +168,16 @@ "openmrs_entity": "person_identifier", "openmrs_entity_id": "opensrp_id", "type": "edit_text", - "hint": "ID", + "hint": "{{family_register.step2.unique_id.hint}}", "value": "0", "read_only": "true", "v_numeric": { "value": "true", - "err": "Please enter a valid ID" + "err": "{{family_register.step2.unique_id.v_numeric.err}}" }, "v_required": { "value": "true", - "err": "Please enter the ID" + "err": "{{family_register.step2.unique_id.v_required.err}}" } }, { @@ -186,15 +186,15 @@ "openmrs_entity": "person", "openmrs_entity_id": "first_name", "type": "edit_text", - "hint": "First name", + "hint": "{{family_register.step2.first_name.hint}}", "edit_type": "name", "v_required": { "value": "true", - "err": "Please enter the first name" + "err": "{{family_register.step2.first_name.v_required.err}}" }, "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid name" + "err": "{{family_register.step2.first_name.v_regex.err}}" } }, { @@ -203,29 +203,29 @@ "openmrs_entity": "person", "openmrs_entity_id": "middle_name", "type": "edit_text", - "hint": "Middle name", + "hint": "{{family_register.step2.middle_name.hint}}", "edit_type": "name", "v_required": { "value": "true", - "err": "Please enter the middle name" + "err": "{{family_register.step2.middle_name.v_required.err}}" }, "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid name" + "err": "{{family_register.step2.middle_name.v_regex.err}}" } }, { "key": "surname", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "type": "edit_text", - "hint": "Surname", + "hint": "{{family_register.step2.surname.hint}}", "edit_type": "name", "read_only": "true", "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid name" + "err": "{{family_register.step2.surname.v_regex.err}}" }, "calculation": { "rules-engine": { @@ -241,16 +241,16 @@ "openmrs_entity": "person", "openmrs_entity_id": "birthdate", "type": "date_picker", - "hint": "Date of birth (DOB)", + "hint": "{{family_register.step2.dob.hint}}", "expanded": false, "duration": { - "label": "Age" + "label": "{{family_register.step2.dob.duration.label}}" }, "min_date": "today-120y", "max_date": "today-15y", "v_required": { "value": "true", - "err": "Please enter the date of birth" + "err": "{{family_register.step2.dob.v_required.err}}" }, "relevance": { "rules-engine": { @@ -263,7 +263,7 @@ { "key": "age_calculated", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "type": "hidden", "calculation": { @@ -280,11 +280,11 @@ "openmrs_entity": "person", "openmrs_entity_id": "birthdateApprox", "type": "check_box", - "label": "", + "label": "{{family_register.step2.dob_unknown.label}}", "options": [ { "key": "dob_unknown", - "text": "DOB unknown?", + "text": "{{family_register.step2.dob_unknown.options.dob_unknown.text}}", "text_size": "18px", "value": "false" } @@ -296,22 +296,22 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "age_entered", "type": "edit_text", - "hint": "Age", + "hint": "{{family_register.step2.age.hint}}", "v_numeric_integer": { "value": "true", - "err": "Must be a rounded number" + "err": "{{family_register.step2.age.v_numeric_integer.err}}" }, "v_numeric": { "value": "true", - "err": "Number must begin with 0 and must be a total of 10 digits in length" + "err": "{{family_register.step2.age.v_numeric.err}}" }, "v_min": { "value": "15", - "err": "Age must be equal or greater than 15" + "err": "{{family_register.step2.age.v_min.err}}" }, "v_max": { "value": "120", - "err": "Age must be equal or less than 120" + "err": "{{family_register.step2.age.v_max.err}}" }, "relevance": { "rules-engine": { @@ -322,7 +322,7 @@ }, "v_required": { "value": true, - "err": "Please enter the age" + "err": "{{family_register.step2.age.v_required.err}}" } }, { @@ -331,7 +331,7 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "id_avail", "type": "check_box", - "label": "Does he/she have any of the following IDs?", + "label": "{{family_register.step2.id_avail.label}}", "label_text_style": "normal", "text_color": "#C0C0C0", "exclusive": [ @@ -340,35 +340,35 @@ "options": [ { "key": "chk_national_id", - "text": "National ID", + "text": "{{family_register.step2.id_avail.options.chk_national_id.text}}", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "chk_national_id" }, { "key": "chk_voters_id", - "text": "Voter's registration ID", + "text": "{{family_register.step2.id_avail.options.chk_voters_id.text}}", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "chk_voters_id" }, { "key": "chk_drivers_license", - "text": "Driver's license", + "text": "{{family_register.step2.id_avail.options.chk_drivers_license.text}}", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "chk_drivers_license" }, { "key": "chk_passport", - "text": "Passport", + "text": "{{family_register.step2.id_avail.options.chk_passport.text}}", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "chk_passport" }, { "key": "chk_none", - "text": "None", + "text": "{{family_register.step2.id_avail.options.chk_none.text}}", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "chk_none" @@ -381,7 +381,7 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "National_ID", "type": "edit_text", - "hint": "National ID number", + "hint": "{{family_register.step2.national_id.hint}}", "edit_type": "name", "relevance": { "step2:id_avail": { @@ -401,7 +401,7 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Voter_Registration_Number", "type": "edit_text", - "hint": "Voter's registration number", + "hint": "{{family_register.step2.voter_id.hint}}", "edit_type": "name", "relevance": { "step2:id_avail": { @@ -421,7 +421,7 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Driver_License_Number", "type": "edit_text", - "hint": "Driver's license number", + "hint": "{{family_register.step2.driver_license.hint}}", "edit_type": "name", "relevance": { "step2:id_avail": { @@ -441,7 +441,7 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Passport_Number", "type": "edit_text", - "hint": "Passport number", + "hint": "{{family_register.step2.passport.hint}}", "edit_type": "name", "relevance": { "step2:id_avail": { @@ -461,21 +461,21 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Health_Insurance_Type", "type": "spinner", - "hint": "Health insurance provider", + "hint": "{{family_register.step2.insurance_provider.hint}}", "values": [ - "Community Health Fund (CHF)", - "iCHF", - "National Social Security Fund - Social Health Insurance Benefit (SHIB)", - "Tiba Kwa Kadi (TIKA)", - "AAR Healthcare", - "Strategies Insurance", - "Milvik Tanzania Ltd (BIMA Mkononi)", - "Britam Insurance Tanzania", - "Jubilee Insurance", - "Resolutions Insurance", - "Reliance Insurance", - "Other", - "None" + "{{family_register.step2.insurance_provider.values[0]}}", + "{{family_register.step2.insurance_provider.values[1]}}", + "{{family_register.step2.insurance_provider.values[2]}}", + "{{family_register.step2.insurance_provider.values[3]}}", + "{{family_register.step2.insurance_provider.values[4]}}", + "{{family_register.step2.insurance_provider.values[5]}}", + "{{family_register.step2.insurance_provider.values[6]}}", + "{{family_register.step2.insurance_provider.values[7]}}", + "{{family_register.step2.insurance_provider.values[8]}}", + "{{family_register.step2.insurance_provider.values[9]}}", + "{{family_register.step2.insurance_provider.values[10]}}", + "{{family_register.step2.insurance_provider.values[11]}}", + "{{family_register.step2.insurance_provider.values[12]}}" ], "keys": [ "Community Health Fund (CHF)", @@ -509,7 +509,7 @@ }, "v_required": { "value": "true", - "err": "Please enter the insurance provider" + "err": "{{family_register.step2.insurance_provider.v_required.err}}" } }, { @@ -518,10 +518,10 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Other_Health_Insurance_Type", "type": "edit_text", - "hint": "Other health insurance provider", + "hint": "{{family_register.step2.insurance_provider_other.hint}}", "v_required": { "value": "true", - "err": "Please specify the insurance provider" + "err": "{{family_register.step2.insurance_provider_other.v_required.err}}" }, "relevance": { "rules-engine": { @@ -537,10 +537,10 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Health_Insurance_Number", "type": "edit_text", - "hint": "Health insurance provider number", + "hint": "{{family_register.step2.insurance_provider_number.hint}}", "v_required": { "value": "true", - "err": "Please add the health insurance provider iD Number" + "err": "{{family_register.step2.insurance_provider_number.v_required.err}}" }, "relevance": { "rules-engine": { @@ -556,10 +556,10 @@ "openmrs_entity": "person", "openmrs_entity_id": "gender", "type": "spinner", - "hint": "Sex", + "hint": "{{family_register.step2.sex.hint}}", "values": [ - "Male", - "Female" + "{{family_register.step2.sex.values[0]}}", + "{{family_register.step2.sex.values[1]}}" ], "keys": [ "Male", @@ -567,13 +567,13 @@ ], "v_required": { "value": "true", - "err": "Please enter the sex" + "err": "{{family_register.step2.sex.v_required.err}}" } }, { "key": "wra", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "type": "hidden", "calculation": { @@ -587,7 +587,7 @@ { "key": "mra", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "type": "hidden", "values": "" @@ -598,10 +598,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "160692AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "spinner", - "hint": "Has the woman delivered in the last 1 year?", + "hint": "{{family_register.step2.preg_1yr.hint}}", "values": [ - "Yes", - "No" + "{{family_register.step2.preg_1yr.values[0]}}", + "{{family_register.step2.preg_1yr.values[1]}}" ], "keys": [ "Yes", @@ -613,7 +613,7 @@ }, "v_required": { "value": "true", - "err": "Please select if the woman has delivered in the last 1 year" + "err": "{{family_register.step2.preg_1yr.v_required.err}}" }, "relevance": { "rules-engine": { @@ -629,10 +629,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "162558AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "spinner", - "hint": "Physical disabilities", + "hint": "{{family_register.step2.disabilities.hint}}", "values": [ - "Yes", - "No" + "{{family_register.step2.disabilities.values[0]}}", + "{{family_register.step2.disabilities.values[1]}}" ], "keys": [ "Yes", @@ -644,7 +644,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{family_register.step2.disabilities.v_required.err}}" } }, { @@ -653,10 +653,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", - "hint": "Type of disability", + "hint": "{{family_register.step2.type_of_disability.hint}}", "v_required": { "value": "true", - "err": "Please enter type of disability" + "err": "{{family_register.step2.type_of_disability.v_required.err}}" }, "relevance": { "rules-engine": { @@ -672,14 +672,14 @@ "openmrs_entity": "concept", "openmrs_entity_id": "159635AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", - "hint": "Phone number", + "hint": "{{family_register.step2.phone_number.hint}}", "v_numeric": { "value": "true", - "err": "Number must be a total of 10 digits in length" + "err": "{{family_register.step2.phone_number.v_numeric.err}}" }, "v_regex": { "value": "(0[0-9]{9})|\\s*", - "err": "Number must be 10 digits and must start with 0." + "err": "{{family_register.step2.phone_number.v_regex.err}}" } }, { @@ -688,14 +688,14 @@ "openmrs_entity": "concept", "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", - "hint": "Other phone number", + "hint": "{{family_register.step2.other_phone_number.hint}}", "v_numeric": { "value": "true", - "err": "Number must be a total of 10 digits in length" + "err": "{{family_register.step2.other_phone_number.v_numeric.err}}" }, "v_regex": { "value": "(0[0-9]{9})|\\s*", - "err": "Number must be 10 digits and must start with 0." + "err": "{{family_register.step2.other_phone_number.v_regex.err}}" } }, { @@ -704,7 +704,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1542AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "check_box", - "label": "Occupation of the family member", + "label": "{{family_register.step2.service_provider.label}}", "label_text_style": "normal", "text_color": "#C0C0C0", "exclusive": [ @@ -713,91 +713,91 @@ "options": [ { "key": "chk_farmer", - "text": "Farmer", + "text": "{{family_register.step2.service_provider.options.chk_farmer.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1538AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_cs", - "text": "Civil Servant", + "text": "{{family_register.step2.service_provider.options.chk_cs.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "162944AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_nurse", - "text": "Nurse", + "text": "{{family_register.step2.service_provider.options.chk_nurse.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1577AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_teacher", - "text": "Teacher", + "text": "{{family_register.step2.service_provider.options.chk_teacher.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "162946AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_th", - "text": "Traditional Healer", + "text": "{{family_register.step2.service_provider.options.chk_th.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1821AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_chw", - "text": "Community Health Worker (CHW)", + "text": "{{family_register.step2.service_provider.options.chk_chw.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1555AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_tba", - "text": "Traditional Birth Attendant", + "text": "{{family_register.step2.service_provider.options.chk_tba.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1575AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_chmis", - "text": "Community HMIS (cHMIS)", + "text": "{{family_register.step2.service_provider.options.chk_chmis.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "163334AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_cbd", - "text": "Community Based Distributor", + "text": "{{family_register.step2.service_provider.options.chk_cbd.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1744AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_hbc", - "text": "Home Based Care (HBC)", + "text": "{{family_register.step2.service_provider.options.chk_hbc.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "161359AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_cimmci", - "text": "Community IMCI", + "text": "{{family_register.step2.service_provider.options.chk_cimmci.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "163096AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_other", - "text": "Other", + "text": "{{family_register.step2.service_provider.options.chk_other.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_none", - "text": "None", + "text": "{{family_register.step2.service_provider.options.chk_none.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" @@ -805,7 +805,7 @@ ], "v_required": { "value": "true", - "err": "Please pick at least one" + "err": "{{family_register.step2.service_provider.v_required.err}}" } }, { @@ -814,7 +814,7 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Community_Leader", "type": "check_box", - "label": "Any leadership role in the community?", + "label": "{{family_register.step2.leader.label}}", "label_text_style": "normal", "text_color": "#C0C0C0", "exclusive": [ @@ -823,42 +823,42 @@ "options": [ { "key": "chk_religious", - "text": "Religious leader", + "text": "{{family_register.step2.leader.options.chk_religious.text}}", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "Religious_Leader" }, { "key": "chk_traditional", - "text": "Traditional leader", + "text": "{{family_register.step2.leader.options.chk_traditional.text}}", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "Traditional_leader" }, { "key": "chk_political", - "text": "Political leader", + "text": "{{family_register.step2.leader.options.chk_political.text}}", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "Political_leader" }, { "key": "chk_influential", - "text": "Influential leader", + "text": "{{family_register.step2.leader.options.chk_influential.text}}", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "Influential_Leader" }, { "key": "chk_other", - "text": "Other", + "text": "{{family_register.step2.leader.options.chk_other.text}}", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "Other_Community_Leader_Type" }, { "key": "chk_none", - "text": "None", + "text": "{{family_register.step2.leader.options.chk_none.text}}", "value": false, "openmrs_entity": "person_attribute", "openmrs_entity_id": "Not_a_Community_Leader" @@ -866,7 +866,7 @@ ], "v_required": { "value": "true", - "err": "Please pick at least one" + "err": "{{family_register.step2.leader.v_required.err}}" } }, { @@ -875,11 +875,11 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "Other_Community_Leader_Type_Name", "type": "edit_text", - "hint": "Mention other role in the community", + "hint": "{{family_register.step2.leader_other.hint}}", "edit_type": "name", "v_required": { "value": "true", - "err": "Please specify role" + "err": "{{family_register.step2.leader_other.v_required.err}}" }, "relevance": { "step2:leader": { @@ -894,5 +894,6 @@ } } ] - } + }, + "properties_file_name": "family_register" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/female_family_planning_change_method.json b/opensrp-chw/src/ba/assets/json.form/female_family_planning_change_method.json index 525ea45fb3..f5657d0912 100644 --- a/opensrp-chw/src/ba/assets/json.form/female_family_planning_change_method.json +++ b/opensrp-chw/src/ba/assets/json.form/female_family_planning_change_method.json @@ -51,7 +51,7 @@ "encounter_location": "" }, "step1": { - "title": "Change or Stop FP form", + "title": "{{female_family_planning_change_method.step1.title}}", "next": "step2", "fields": [ { @@ -81,35 +81,35 @@ "openmrs_entity": "concept", "openmrs_entity_id": "164901AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Reason the woman is stopping her current family planning method", + "label": "{{female_family_planning_change_method.step1.reason_stop_fp_chw.label}}", "options": [ { "key": "side_effects", "openmrs_entity": "concept", "openmrs_entity_id": "164154AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Side-effects" + "text": "{{female_family_planning_change_method.step1.reason_stop_fp_chw.options.side_effects.text}}" }, { "key": "wants_to_conceive", "openmrs_entity": "concept", "openmrs_entity_id": "160571AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Wants to conceive" + "text": "{{female_family_planning_change_method.step1.reason_stop_fp_chw.options.wants_to_conceive.text}}" }, { "key": "doesnt_want_to_use_anymore", "openmrs_entity": "concept", "openmrs_entity_id": "164260AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Doesn't want to use anymore" + "text": "{{female_family_planning_change_method.step1.reason_stop_fp_chw.options.doesnt_want_to_use_anymore.text}}" }, { "key": "menopause", "openmrs_entity": "concept", "openmrs_entity_id": "134346AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Menopause" + "text": "{{female_family_planning_change_method.step1.reason_stop_fp_chw.options.menopause.text}}" }, { "key": "decided_to_change_method", @@ -117,19 +117,19 @@ "openmrs_entity_id": "163494AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", "value": false, - "text": "Decided to change method" + "text": "{{female_family_planning_change_method.step1.reason_stop_fp_chw.options.decided_to_change_method.text}}" }, { "key": "others", "openmrs_entity": "concept", "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Others" + "text": "{{female_family_planning_change_method.step1.reason_stop_fp_chw.options.others.text}}" } ], "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{female_family_planning_change_method.step1.reason_stop_fp_chw.v_required.err}}" } }, { @@ -139,10 +139,10 @@ "openmrs_entity_id": "other_reason_fp_chw", "openmrs_entity_parent": "164901AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "edit_type": "name", - "hint": "Other reason", + "hint": "{{female_family_planning_change_method.step1.other_reason_fp_chw.hint}}", "v_required": { "value": "true", - "err": "Required" + "err": "{{female_family_planning_change_method.step1.other_reason_fp_chw.v_required.err}}" }, "relevance": { "rules-engine": { @@ -159,10 +159,10 @@ "openmrs_entity_id": "side_effects_fp", "openmrs_entity_parent": "164154AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "edit_type": "name", - "hint": "Side effects", + "hint": "{{female_family_planning_change_method.step1.side_effects_fp.hint}}", "v_required": { "value": "true", - "err": "Required" + "err": "{{female_family_planning_change_method.step1.side_effects_fp.v_required.err}}" }, "relevance": { "rules-engine": { @@ -175,7 +175,7 @@ ] }, "step2": { - "title": "Family planning method", + "title": "{{female_family_planning_change_method.step2.title}}", "next": "step3", "fields": [ { @@ -184,26 +184,26 @@ "openmrs_entity": "concept", "openmrs_entity_id": "pill", "openmrs_entity_parent": "", - "label": "Does she want to use a contraceptive pill?", + "label": "{{female_family_planning_change_method.step2.pill.label}}", "options": [ { "key": "yes", "openmrs_entity": "concept", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{female_family_planning_change_method.step2.pill.options.yes.text}}" }, { "key": "no", "openmrs_entity": "concept", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{female_family_planning_change_method.step2.pill.options.no.text}}" } ], "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{female_family_planning_change_method.step2.pill.v_required.err}}" }, "relevance": { "rules-engine": { @@ -219,8 +219,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Oral Contraception check List", - "toaster_info_text": "Check-list\n for providing Combined Oral Contraception (COC) or Progestin Only Pills (POP)", + "text": "{{female_family_planning_change_method.step2.user_toaster_info.text}}", + "toaster_info_text": "{{female_family_planning_change_method.step2.user_toaster_info.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -236,26 +236,26 @@ "openmrs_entity": "concept", "openmrs_entity_id": "breast_lump", "openmrs_entity_parent": "", - "label": "Does she have any breast lumps?", + "label": "{{female_family_planning_change_method.step2.breast_lump.label}}", "options": [ { "key": "yes", "openmrs_entity": "concept", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{female_family_planning_change_method.step2.breast_lump.options.yes.text}}" }, { "key": "no", "openmrs_entity": "concept", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{female_family_planning_change_method.step2.breast_lump.options.no.text}}" } ], "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{female_family_planning_change_method.step2.breast_lump.v_required.err}}" }, "relevance": { "rules-engine": { @@ -271,26 +271,26 @@ "openmrs_entity": "concept", "openmrs_entity_id": "abnormal_vaginal", "openmrs_entity_parent": "", - "label": "Does she have any abnomal vaginal bleeding or discharge?", + "label": "{{female_family_planning_change_method.step2.abnormal_vaginal.label}}", "options": [ { "key": "yes", "openmrs_entity": "concept", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{female_family_planning_change_method.step2.abnormal_vaginal.options.yes.text}}" }, { "key": "no", "openmrs_entity": "concept", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{female_family_planning_change_method.step2.abnormal_vaginal.options.no.text}}" } ], "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{female_family_planning_change_method.step2.abnormal_vaginal.v_required.err}}" }, "relevance": { "rules-engine": { @@ -306,26 +306,26 @@ "openmrs_entity": "concept", "openmrs_entity_id": "pregnant", "openmrs_entity_parent": "", - "label": "Is she pregnant?", + "label": "{{female_family_planning_change_method.step2.pregnant.label}}", "options": [ { "key": "yes", "openmrs_entity": "concept", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{female_family_planning_change_method.step2.pregnant.options.yes.text}}" }, { "key": "no", "openmrs_entity": "concept", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{female_family_planning_change_method.step2.pregnant.options.no.text}}" } ], "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{female_family_planning_change_method.step2.pregnant.v_required.err}}" }, "relevance": { "rules-engine": { @@ -341,26 +341,26 @@ "openmrs_entity": "concept", "openmrs_entity_id": "difficultly_breathing", "openmrs_entity_parent": "", - "label": "Does she have any severe chest pain and difficultly breathing?", + "label": "{{female_family_planning_change_method.step2.difficultly_breathing.label}}", "options": [ { "key": "yes", "openmrs_entity": "concept", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{female_family_planning_change_method.step2.difficultly_breathing.options.yes.text}}" }, { "key": "no", "openmrs_entity": "concept", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{female_family_planning_change_method.step2.difficultly_breathing.options.no.text}}" } ], "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{female_family_planning_change_method.step2.difficultly_breathing.v_required.err}}" }, "relevance": { "rules-engine": { @@ -376,26 +376,26 @@ "openmrs_entity": "concept", "openmrs_entity_id": "headaches", "openmrs_entity_parent": "", - "label": "Does she have any unusual headaches associated with nausea, vomiting or blurred vision?", + "label": "{{female_family_planning_change_method.step2.headaches.label}}", "options": [ { "key": "yes", "openmrs_entity": "concept", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{female_family_planning_change_method.step2.headaches.options.yes.text}}" }, { "key": "no", "openmrs_entity": "concept", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{female_family_planning_change_method.step2.headaches.options.no.text}}" } ], "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{female_family_planning_change_method.step2.headaches.v_required.err}}" }, "relevance": { "rules-engine": { @@ -411,26 +411,26 @@ "openmrs_entity": "concept", "openmrs_entity_id": "frequent_urge", "openmrs_entity_parent": "", - "label": "Does she frequently feel thirsty, need to urinate or feel tired?", + "label": "{{female_family_planning_change_method.step2.frequent_urge.label}}", "options": [ { "key": "yes", "openmrs_entity": "concept", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{female_family_planning_change_method.step2.frequent_urge.options.yes.text}}" }, { "key": "no", "openmrs_entity": "concept", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{female_family_planning_change_method.step2.frequent_urge.options.no.text}}" } ], "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{female_family_planning_change_method.step2.frequent_urge.v_required.err}}" }, "relevance": { "rules-engine": { @@ -446,26 +446,26 @@ "openmrs_entity": "concept", "openmrs_entity_id": "falling_loss_unconsciousness", "openmrs_entity_parent": "", - "label": "Does she have the tendency of falling down/collapsing and loss of consciousness?", + "label": "{{female_family_planning_change_method.step2.falling_loss_unconsciousness.label}}", "options": [ { "key": "yes", "openmrs_entity": "concept", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{female_family_planning_change_method.step2.falling_loss_unconsciousness.options.yes.text}}" }, { "key": "no", "openmrs_entity": "concept", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{female_family_planning_change_method.step2.falling_loss_unconsciousness.options.no.text}}" } ], "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{female_family_planning_change_method.step2.falling_loss_unconsciousness.v_required.err}}" }, "relevance": { "rules-engine": { @@ -481,26 +481,26 @@ "openmrs_entity": "concept", "openmrs_entity_id": "breastfeed", "openmrs_entity_parent": "", - "label": "Is she breastfeeding a baby 6 months or younger and having any issues producing milk?", + "label": "{{female_family_planning_change_method.step2.breastfeed.label}}", "options": [ { "key": "yes", "openmrs_entity": "concept", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{female_family_planning_change_method.step2.breastfeed.options.yes.text}}" }, { "key": "no", "openmrs_entity": "concept", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{female_family_planning_change_method.step2.breastfeed.options.no.text}}" } ], "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{female_family_planning_change_method.step2.breastfeed.v_required.err}}" }, "relevance": { "rules-engine": { @@ -558,8 +558,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "The woman is eligible for either Combined Oral Contraceptive (COC) or Progestin Only Pills (POP)", - "toaster_info_text": "COC or POP eligible:\nThe woman is eligible for either Combined Oral Contraceptive (COC) or Progestin Only Pills (POP)", + "text": "{{female_family_planning_change_method.step2.COC_POP_note.text}}", + "toaster_info_text": "{{female_family_planning_change_method.step2.COC_POP_note.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -575,8 +575,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "The woman is eligible for Progestin Only Pills (POP) only", - "toaster_info_text": "POP only eligible:\nThe woman is eligible for Progestin Only Pills (POP) only", + "text": "{{female_family_planning_change_method.step2.POP_note.text}}", + "toaster_info_text": "{{female_family_planning_change_method.step2.POP_note.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -592,8 +592,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "The woman is not eligible for Combined Oral Contraception (COC) or Progestin Only Pills (POP). Please advise the client to use condoms and give her a referral to go to the health facility for further counselling on family planning.", - "toaster_info_text": "Not eligible:\nThe woman is not eligible for Combined Oral Contraception (COC) or Progestin Only Pills (POP). Please advise the client to use condoms and give her a referral to go to the health facility for further counselling on family planning.", + "text": "{{female_family_planning_change_method.step2.no_pill_note.text}}", + "toaster_info_text": "{{female_family_planning_change_method.step2.no_pill_note.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -610,8 +610,21 @@ "openmrs_entity_id": "374AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Family planning method selected", + "hint": "{{female_family_planning_change_method.step2.fp_method_chosen.hint}}", "values": [ + "{{female_family_planning_change_method.step2.fp_method_chosen.values[0]}}", + "{{female_family_planning_change_method.step2.fp_method_chosen.values[1]}}", + "{{female_family_planning_change_method.step2.fp_method_chosen.values[2]}}", + "{{female_family_planning_change_method.step2.fp_method_chosen.values[3]}}", + "{{female_family_planning_change_method.step2.fp_method_chosen.values[4]}}", + "{{female_family_planning_change_method.step2.fp_method_chosen.values[5]}}", + "{{female_family_planning_change_method.step2.fp_method_chosen.values[6]}}", + "{{female_family_planning_change_method.step2.fp_method_chosen.values[7]}}", + "{{female_family_planning_change_method.step2.fp_method_chosen.values[8]}}", + "{{female_family_planning_change_method.step2.fp_method_chosen.values[9]}}", + "{{female_family_planning_change_method.step2.fp_method_chosen.values[10]}}" + ], + "keys": [ "Male condom", "Female condom", "COC", @@ -639,7 +652,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{female_family_planning_change_method.step2.fp_method_chosen.v_required.err}}" }, "relevance": { "rules-engine": { @@ -666,7 +679,7 @@ ] }, "step3": { - "title": "Family planning method info", + "title": "{{female_family_planning_change_method.step3.title}}", "fields": [ { "key": "no_condoms", @@ -675,18 +688,18 @@ "openmrs_entity_id": "no_condoms", "type": "edit_text", "edit_type": "number", - "hint": "How many condoms was she given?", + "hint": "{{female_family_planning_change_method.step3.no_condoms.hint}}", "v_required": { "value": "true", - "err": "Equal or greater than 0" + "err": "{{female_family_planning_change_method.step3.no_condoms.v_required.err}}" }, "v_numeric_integer": { "value": "true", - "err": "Must be a rounded number" + "err": "{{female_family_planning_change_method.step3.no_condoms.v_numeric_integer.err}}" }, "v_min": { "value": "0", - "err": "Number must be equal or greater than 0" + "err": "{{female_family_planning_change_method.step3.no_condoms.v_min.err}}" }, "relevance": { "rules-engine": { @@ -724,18 +737,18 @@ "openmrs_entity_id": "163171AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", "edit_type": "number", - "hint": "How many pill cycles was she given?", + "hint": "{{female_family_planning_change_method.step3.no_pillcycles.hint}}", "v_required": { "value": "true", - "err": "Equal or greater than 0" + "err": "{{female_family_planning_change_method.step3.no_pillcycles.v_required.err}}" }, "v_numeric_integer": { "value": "true", - "err": "Must be a rounded number" + "err": "{{female_family_planning_change_method.step3.no_pillcycles.v_numeric_integer.err}}" }, "v_min": { "value": "0", - "err": "Number must be equal or greater than 0" + "err": "{{female_family_planning_change_method.step3.no_pillcycles.v_min.err}}" }, "relevance": { "rules-engine": { @@ -751,7 +764,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "fp_start_cocpop", "type": "date_picker", - "hint": "When did she start or plan to start using COC/POP?", + "hint": "{{female_family_planning_change_method.step3.fp_start_cocpop.hint}}", "max_date": "today", "relevance": { "rules-engine": { @@ -762,7 +775,7 @@ }, "v_required": { "value": "true", - "err": "Required" + "err": "{{female_family_planning_change_method.step3.fp_start_cocpop.v_required.err}}" } }, { @@ -771,8 +784,12 @@ "openmrs_entity": "concept", "openmrs_entity_id": "counselling_use", "type": "spinner", - "hint": "Was she counselled on how to use the family planning method?", + "hint": "{{female_family_planning_change_method.step3.counselling_use.hint}}", "values": [ + "{{female_family_planning_change_method.step3.counselling_use.values[0]}}", + "{{female_family_planning_change_method.step3.counselling_use.values[1]}}" + ], + "keys": [ "Yes", "No" ], @@ -782,7 +799,7 @@ }, "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{female_family_planning_change_method.step3.counselling_use.v_required.err}}" }, "relevance": { "rules-engine": { @@ -798,7 +815,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "162881AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "date_picker", - "hint": "Date of last injection", + "hint": "{{female_family_planning_change_method.step3.fp_start_injectable.hint}}", "max_date": "today", "relevance": { "rules-engine": { @@ -809,7 +826,7 @@ }, "v_required": { "value": "true", - "err": "Required" + "err": "{{female_family_planning_change_method.step3.fp_start_injectable.v_required.err}}" } }, { @@ -818,7 +835,7 @@ "openmrs_entity": "5096AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_id": "next_injection_due_date", "type": "edit_text", - "hint": "Next injection due:", + "hint": "{{female_family_planning_change_method.step3.next_injection_due_date.hint}}", "read_only": "true", "value": "0", "relevance": { @@ -842,7 +859,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "fp_start_iucd", "type": "date_picker", - "hint": "Date of IUCD insertion", + "hint": "{{female_family_planning_change_method.step3.fp_start_iucd.hint}}", "max_date": "today", "relevance": { "rules-engine": { @@ -853,7 +870,7 @@ }, "v_required": { "value": "true", - "err": "Required" + "err": "{{female_family_planning_change_method.step3.fp_start_iucd.v_required.err}}" } }, { @@ -862,7 +879,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "fp_start_implant_nxt", "type": "date_picker", - "hint": "Date of Implanon - NXT insertion", + "hint": "{{female_family_planning_change_method.step3.fp_start_implant_nxt.hint}}", "max_date": "today", "relevance": { "rules-engine": { @@ -873,7 +890,7 @@ }, "v_required": { "value": "true", - "err": "Required" + "err": "{{female_family_planning_change_method.step3.fp_start_implant_nxt.v_required.err}}" } }, { @@ -882,7 +899,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "fp_start_implant_jad", "type": "date_picker", - "hint": "Date of Jadelle insertion", + "hint": "{{female_family_planning_change_method.step3.fp_start_implant_jad.hint}}", "max_date": "today", "relevance": { "rules-engine": { @@ -893,7 +910,7 @@ }, "v_required": { "value": "true", - "err": "Required" + "err": "{{female_family_planning_change_method.step3.fp_start_implant_jad.v_required.err}}" } }, { @@ -902,7 +919,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "fp_start_female_ster", "type": "date_picker", - "hint": "Date of female sterilization", + "hint": "{{female_family_planning_change_method.step3.fp_start_female_ster.hint}}", "max_date": "today", "relevance": { "rules-engine": { @@ -913,7 +930,7 @@ }, "v_required": { "value": "true", - "err": "Required" + "err": "{{female_family_planning_change_method.step3.fp_start_female_ster.v_required.err}}" } }, { @@ -922,7 +939,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "fp_start_male_ster", "type": "date_picker", - "hint": "Date of male sterilization", + "hint": "{{female_family_planning_change_method.step3.fp_start_male_ster.hint}}", "max_date": "today", "relevance": { "rules-engine": { @@ -933,7 +950,7 @@ }, "v_required": { "value": "true", - "err": "Required" + "err": "{{female_family_planning_change_method.step3.fp_start_male_ster.v_required.err}}" } }, { @@ -942,8 +959,8 @@ "openmrs_entity": "", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Advise the woman to use condoms for the first 3 months to prevent pregnancy", - "toaster_info_text": "A note to inform the client that they should use condoms for the first three months after the sterialization to prevent pregnancy", + "text": "{{female_family_planning_change_method.step3.fp_male_ster_note.text}}", + "toaster_info_text": "{{female_family_planning_change_method.step3.fp_male_ster_note.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -959,26 +976,26 @@ "openmrs_entity": "concept", "openmrs_entity_id": "referral_given", "openmrs_entity_parent": "", - "label": "Was she referred to the health facility?", + "label": "{{female_family_planning_change_method.step3.referral_given.label}}", "options": [ { "key": "yes", "openmrs_entity": "concept", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{female_family_planning_change_method.step3.referral_given.options.yes.text}}" }, { "key": "no", "openmrs_entity": "concept", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{female_family_planning_change_method.step3.referral_given.options.no.text}}" } ], "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{female_family_planning_change_method.step3.referral_given.v_required.err}}" } }, { @@ -997,5 +1014,6 @@ } } ] - } + }, + "properties_file_name": "female_family_planning_change_method" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/female_family_planning_registration.json b/opensrp-chw/src/ba/assets/json.form/female_family_planning_registration.json index c29c76f61c..be37f66aa8 100644 --- a/opensrp-chw/src/ba/assets/json.form/female_family_planning_registration.json +++ b/opensrp-chw/src/ba/assets/json.form/female_family_planning_registration.json @@ -54,7 +54,7 @@ } }, "step1": { - "title": "Family planning registration Info", + "title": "{{female_family_planning_registration.step1.title}}", "next": "step2", "fields": [ { @@ -84,26 +84,26 @@ "openmrs_entity": "concept", "openmrs_entity_id": "using_method", "openmrs_entity_parent": "", - "label": "Is the woman already using a family planning method?", + "label": "{{female_family_planning_registration.step1.using_method.label}}", "options": [ { "key": "yes", "openmrs_entity": "concept", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{female_family_planning_registration.step1.using_method.options.yes.text}}" }, { "key": "no", "openmrs_entity": "concept", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{female_family_planning_registration.step1.using_method.options.no.text}}" } ], "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{female_family_planning_registration.step1.using_method.v_required.err}}" } }, { @@ -112,26 +112,26 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1382AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Was she counselled on different family planning methods?", + "label": "{{female_family_planning_registration.step1.couselling_fp_methods.label}}", "options": [ { "key": "yes", "openmrs_entity": "concept", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{female_family_planning_registration.step1.couselling_fp_methods.options.yes.text}}" }, { "key": "no", "openmrs_entity": "concept", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{female_family_planning_registration.step1.couselling_fp_methods.options.no.text}}" } ], "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{female_family_planning_registration.step1.couselling_fp_methods.v_required.err}}" }, "relevance": { "rules-engine": { @@ -147,26 +147,26 @@ "openmrs_entity": "concept", "openmrs_entity_id": "couselling_HIV_STI", "openmrs_entity_parent": "", - "label": "Was she counselled on HIV and STI prevention?", + "label": "{{female_family_planning_registration.step1.couselling_HIV_STI.label}}", "options": [ { "key": "yes", "openmrs_entity": "concept", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{female_family_planning_registration.step1.couselling_HIV_STI.options.yes.text}}" }, { "key": "no", "openmrs_entity": "concept", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{female_family_planning_registration.step1.couselling_HIV_STI.options.no.text}}" } ], "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{female_family_planning_registration.step1.couselling_HIV_STI.v_required.err}}" }, "relevance": { "rules-engine": { @@ -179,7 +179,7 @@ ] }, "step2": { - "title": "Family planning method", + "title": "{{female_family_planning_registration.step2.title}}", "next": "step3", "fields": [ { @@ -188,26 +188,26 @@ "openmrs_entity": "concept", "openmrs_entity_id": "pill", "openmrs_entity_parent": "", - "label": "Does she want to use a contraceptive pill?", + "label": "{{female_family_planning_registration.step2.pill.label}}", "options": [ { "key": "yes", "openmrs_entity": "concept", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{female_family_planning_registration.step2.pill.options.yes.text}}" }, { "key": "no", "openmrs_entity": "concept", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{female_family_planning_registration.step2.pill.options.no.text}}" } ], "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{female_family_planning_registration.step2.pill.v_required.err}}" }, "relevance": { "rules-engine": { @@ -223,8 +223,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Oral Contraception check List", - "toaster_info_text": "Check-list\n for providing Combined Oral Contraception (COC) or Progestin Only Pills (POP)", + "text": "{{female_family_planning_registration.step2.user_toaster_info.text}}", + "toaster_info_text": "{{female_family_planning_registration.step2.user_toaster_info.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -240,26 +240,26 @@ "openmrs_entity": "concept", "openmrs_entity_id": "breast_lump", "openmrs_entity_parent": "", - "label": "Does she have any breast lumps?", + "label": "{{female_family_planning_registration.step2.breast_lump.label}}", "options": [ { "key": "yes", "openmrs_entity": "concept", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{female_family_planning_registration.step2.breast_lump.options.yes.text}}" }, { "key": "no", "openmrs_entity": "concept", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{female_family_planning_registration.step2.breast_lump.options.no.text}}" } ], "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{female_family_planning_registration.step2.breast_lump.v_required.err}}" }, "relevance": { "rules-engine": { @@ -275,26 +275,26 @@ "openmrs_entity": "concept", "openmrs_entity_id": "abnormal_vaginal", "openmrs_entity_parent": "", - "label": "Does she have any abnomal vaginal bleeding or discharge?", + "label": "{{female_family_planning_registration.step2.abnormal_vaginal.label}}", "options": [ { "key": "yes", "openmrs_entity": "concept", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{female_family_planning_registration.step2.abnormal_vaginal.options.yes.text}}" }, { "key": "no", "openmrs_entity": "concept", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{female_family_planning_registration.step2.abnormal_vaginal.options.no.text}}" } ], "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{female_family_planning_registration.step2.abnormal_vaginal.v_required.err}}" }, "relevance": { "rules-engine": { @@ -310,26 +310,26 @@ "openmrs_entity": "concept", "openmrs_entity_id": "pregnant", "openmrs_entity_parent": "", - "label": "Is she pregnant?", + "label": "{{female_family_planning_registration.step2.pregnant.label}}", "options": [ { "key": "yes", "openmrs_entity": "concept", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{female_family_planning_registration.step2.pregnant.options.yes.text}}" }, { "key": "no", "openmrs_entity": "concept", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{female_family_planning_registration.step2.pregnant.options.no.text}}" } ], "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{female_family_planning_registration.step2.pregnant.v_required.err}}" }, "relevance": { "rules-engine": { @@ -345,26 +345,26 @@ "openmrs_entity": "concept", "openmrs_entity_id": "difficultly_breathing", "openmrs_entity_parent": "", - "label": "Does she have any severe chest pain and difficultly breathing?", + "label": "{{female_family_planning_registration.step2.difficultly_breathing.label}}", "options": [ { "key": "yes", "openmrs_entity": "concept", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{female_family_planning_registration.step2.difficultly_breathing.options.yes.text}}" }, { "key": "no", "openmrs_entity": "concept", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{female_family_planning_registration.step2.difficultly_breathing.options.no.text}}" } ], "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{female_family_planning_registration.step2.difficultly_breathing.v_required.err}}" }, "relevance": { "rules-engine": { @@ -380,26 +380,26 @@ "openmrs_entity": "concept", "openmrs_entity_id": "headaches", "openmrs_entity_parent": "", - "label": "Does she have any unusual headaches associated with nausea, vomiting or blurred vision?", + "label": "{{female_family_planning_registration.step2.headaches.label}}", "options": [ { "key": "yes", "openmrs_entity": "concept", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{female_family_planning_registration.step2.headaches.options.yes.text}}" }, { "key": "no", "openmrs_entity": "concept", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{female_family_planning_registration.step2.headaches.options.no.text}}" } ], "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{female_family_planning_registration.step2.headaches.v_required.err}}" }, "relevance": { "rules-engine": { @@ -415,26 +415,26 @@ "openmrs_entity": "concept", "openmrs_entity_id": "frequent_urge", "openmrs_entity_parent": "", - "label": "Does she frequently feel thirsty, need to urinate or feel tired?", + "label": "{{female_family_planning_registration.step2.frequent_urge.label}}", "options": [ { "key": "yes", "openmrs_entity": "concept", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{female_family_planning_registration.step2.frequent_urge.options.yes.text}}" }, { "key": "no", "openmrs_entity": "concept", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{female_family_planning_registration.step2.frequent_urge.options.no.text}}" } ], "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{female_family_planning_registration.step2.frequent_urge.v_required.err}}" }, "relevance": { "rules-engine": { @@ -450,26 +450,26 @@ "openmrs_entity": "concept", "openmrs_entity_id": "falling_loss_unconsciousness", "openmrs_entity_parent": "", - "label": "Does she have the tendency of falling down/collapsing and loss of consciousness?", + "label": "{{female_family_planning_registration.step2.falling_loss_unconsciousness.label}}", "options": [ { "key": "yes", "openmrs_entity": "concept", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{female_family_planning_registration.step2.falling_loss_unconsciousness.options.yes.text}}" }, { "key": "no", "openmrs_entity": "concept", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{female_family_planning_registration.step2.falling_loss_unconsciousness.options.no.text}}" } ], "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{female_family_planning_registration.step2.falling_loss_unconsciousness.v_required.err}}" }, "relevance": { "rules-engine": { @@ -485,26 +485,26 @@ "openmrs_entity": "concept", "openmrs_entity_id": "breastfeed", "openmrs_entity_parent": "", - "label": "Is she breastfeeding a baby 6 months or younger and having any issues producing milk?", + "label": "{{female_family_planning_registration.step2.breastfeed.label}}", "options": [ { "key": "yes", "openmrs_entity": "concept", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{female_family_planning_registration.step2.breastfeed.options.yes.text}}" }, { "key": "no", "openmrs_entity": "concept", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{female_family_planning_registration.step2.breastfeed.options.no.text}}" } ], "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{female_family_planning_registration.step2.breastfeed.v_required.err}}" }, "relevance": { "rules-engine": { @@ -562,8 +562,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "The woman is eligible for either Combined Oral Contraceptive (COC) or Progestin Only Pills (POP)", - "toaster_info_text": "COC or POP eligible:\nThe woman is eligible for either Combined Oral Contraceptive (COC) or Progestin Only Pills (POP)", + "text": "{{female_family_planning_registration.step2.COC_POP_note.text}}", + "toaster_info_text": "{{female_family_planning_registration.step2.COC_POP_note.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -579,8 +579,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "The woman is eligible for Progestin Only Pills (POP) only", - "toaster_info_text": "POP only eligible:\nThe woman is eligible for Progestin Only Pills (POP) only", + "text": "{{female_family_planning_registration.step2.POP_note.text}}", + "toaster_info_text": "{{female_family_planning_registration.step2.POP_note.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -596,8 +596,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "The woman is not eligible for Combined Oral Contraception (COC) or Progestin Only Pills (POP). Please advise the client to use condoms and give her a referral to go to the health facility for further counselling on family planning.", - "toaster_info_text": "Not eligible:\nThe woman is not eligible for Combined Oral Contraception (COC) or Progestin Only Pills (POP). Please advise the client to use condoms and give her a referral to go to the health facility for further counselling on family planning.", + "text": "{{female_family_planning_registration.step2.no_pill_note.text}}", + "toaster_info_text": "{{female_family_planning_registration.step2.no_pill_note.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -613,8 +613,16 @@ "openmrs_entity": "concept", "openmrs_entity_id": "160576AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "spinner", - "hint": "Family planning method selected", + "hint": "{{female_family_planning_registration.step2.fp_method_chw.hint}}", "values": [ + "{{female_family_planning_registration.step2.fp_method_chw.values[0]}}", + "{{female_family_planning_registration.step2.fp_method_chw.values[1]}}", + "{{female_family_planning_registration.step2.fp_method_chw.values[2]}}", + "{{female_family_planning_registration.step2.fp_method_chw.values[3]}}", + "{{female_family_planning_registration.step2.fp_method_chw.values[4]}}", + "{{female_family_planning_registration.step2.fp_method_chw.values[5]}}" + ], + "keys": [ "Male condom", "Female condom", "COC", @@ -632,7 +640,7 @@ }, "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{female_family_planning_registration.step2.fp_method_chw.v_required.err}}" }, "relevance": { "rules-engine": { @@ -648,8 +656,22 @@ "openmrs_entity": "concept", "openmrs_entity_id": "374AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "spinner", - "hint": "Family planning method selected", + "hint": "{{female_family_planning_registration.step2.fp_method_already.hint}}", "values": [ + "{{female_family_planning_registration.step2.fp_method_already.values[0]}}", + "{{female_family_planning_registration.step2.fp_method_already.values[1]}}", + "{{female_family_planning_registration.step2.fp_method_already.values[2]}}", + "{{female_family_planning_registration.step2.fp_method_already.values[3]}}", + "{{female_family_planning_registration.step2.fp_method_already.values[4]}}", + "{{female_family_planning_registration.step2.fp_method_already.values[5]}}", + "{{female_family_planning_registration.step2.fp_method_already.values[6]}}", + "{{female_family_planning_registration.step2.fp_method_already.values[7]}}", + "{{female_family_planning_registration.step2.fp_method_already.values[8]}}", + "{{female_family_planning_registration.step2.fp_method_already.values[9]}}", + "{{female_family_planning_registration.step2.fp_method_already.values[10]}}", + "{{female_family_planning_registration.step2.fp_method_already.values[11]}}" + ], + "keys": [ "Male condom", "Female condom", "COC", @@ -679,7 +701,7 @@ }, "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{female_family_planning_registration.step2.fp_method_already.v_required.err}}" }, "relevance": { "rules-engine": { @@ -706,7 +728,7 @@ ] }, "step3": { - "title": "Family planning method info", + "title": "{{female_family_planning_registration.step3.title}}", "fields": [ { "key": "ec_note", @@ -714,8 +736,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Encourage the woman to select a spacing or permanent family planning method", - "toaster_info_text": "Encourage the woman to select a spacing or permanent family planning method", + "text": "{{female_family_planning_registration.step3.ec_note.text}}", + "toaster_info_text": "{{female_family_planning_registration.step3.ec_note.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -746,18 +768,18 @@ "openmrs_entity_id": "no_condoms", "type": "edit_text", "edit_type": "number", - "hint": "How many condoms was she given?", + "hint": "{{female_family_planning_registration.step3.no_condoms.hint}}", "v_required": { "value": "true", - "err": "Equal or greater than 0" + "err": "{{female_family_planning_registration.step3.no_condoms.v_required.err}}" }, "v_numeric_integer": { "value": "true", - "err": "Must be a rounded number" + "err": "{{female_family_planning_registration.step3.no_condoms.v_numeric_integer.err}}" }, "v_min": { "value": "0", - "err": "Number must be equal or greater than 0" + "err": "{{female_family_planning_registration.step3.no_condoms.v_min.err}}" }, "relevance": { "rules-engine": { @@ -795,18 +817,18 @@ "openmrs_entity_id": "163171AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", "edit_type": "number", - "hint": "How many pill cycles was she given?", + "hint": "{{female_family_planning_registration.step3.no_pillcycles.hint}}", "v_required": { "value": "true", - "err": "Equal or greater than 0" + "err": "{{female_family_planning_registration.step3.no_pillcycles.v_required.err}}" }, "v_numeric_integer": { "value": "true", - "err": "Must be a rounded number" + "err": "{{female_family_planning_registration.step3.no_pillcycles.v_numeric_integer.err}}" }, "v_min": { "value": "0", - "err": "Number must be equal or greater than 0" + "err": "{{female_family_planning_registration.step3.no_pillcycles.v_min.err}}" }, "relevance": { "rules-engine": { @@ -822,7 +844,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "fp_start_cocpop", "type": "date_picker", - "hint": "When did she start or plan to start using COC/POP?", + "hint": "{{female_family_planning_registration.step3.fp_start_cocpop.hint}}", "max_date": "today", "relevance": { "rules-engine": { @@ -833,7 +855,7 @@ }, "v_required": { "value": "true", - "err": "Required" + "err": "{{female_family_planning_registration.step3.fp_start_cocpop.v_required.err}}" } }, { @@ -842,8 +864,12 @@ "openmrs_entity": "concept", "openmrs_entity_id": "counselling_use", "type": "spinner", - "hint": "Was she counselled on how to use the family planning method?", + "hint": "{{female_family_planning_registration.step3.counselling_use.hint}}", "values": [ + "{{female_family_planning_registration.step3.counselling_use.values[0]}}", + "{{female_family_planning_registration.step3.counselling_use.values[1]}}" + ], + "keys": [ "Yes", "No" ], @@ -853,7 +879,7 @@ }, "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{female_family_planning_registration.step3.counselling_use.v_required.err}}" }, "relevance": { "rules-engine": { @@ -869,7 +895,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "162881AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "date_picker", - "hint": "Date of last injection", + "hint": "{{female_family_planning_registration.step3.fp_start_injectable.hint}}", "max_date": "today", "relevance": { "rules-engine": { @@ -880,7 +906,7 @@ }, "v_required": { "value": "true", - "err": "Required" + "err": "{{female_family_planning_registration.step3.fp_start_injectable.v_required.err}}" } }, { @@ -889,7 +915,7 @@ "openmrs_entity": "5096AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_id": "next_injection_due_date", "type": "edit_text", - "hint": "Next injection due:", + "hint": "{{female_family_planning_registration.step3.next_injection_due_date.hint}}", "read_only": "true", "value": "0", "relevance": { @@ -913,7 +939,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "fp_start_iucd", "type": "date_picker", - "hint": "Date of IUCD insertion", + "hint": "{{female_family_planning_registration.step3.fp_start_iucd.hint}}", "max_date": "today", "relevance": { "rules-engine": { @@ -924,7 +950,7 @@ }, "v_required": { "value": "true", - "err": "Required" + "err": "{{female_family_planning_registration.step3.fp_start_iucd.v_required.err}}" } }, { @@ -933,7 +959,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "fp_start_implant_nxt", "type": "date_picker", - "hint": "Date of Implanon - NXT insertion", + "hint": "{{female_family_planning_registration.step3.fp_start_implant_nxt.hint}}", "max_date": "today", "relevance": { "rules-engine": { @@ -944,7 +970,7 @@ }, "v_required": { "value": "true", - "err": "Required" + "err": "{{female_family_planning_registration.step3.fp_start_implant_nxt.v_required.err}}" } }, { @@ -953,7 +979,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "fp_start_implant_jad", "type": "date_picker", - "hint": "Date of Jadelle insertion", + "hint": "{{female_family_planning_registration.step3.fp_start_implant_jad.hint}}", "max_date": "today", "relevance": { "rules-engine": { @@ -964,7 +990,7 @@ }, "v_required": { "value": "true", - "err": "Required" + "err": "{{female_family_planning_registration.step3.fp_start_implant_jad.v_required.err}}" } }, { @@ -973,7 +999,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "fp_start_female_ster", "type": "date_picker", - "hint": "Date of female sterilization", + "hint": "{{female_family_planning_registration.step3.fp_start_female_ster.hint}}", "max_date": "today", "relevance": { "rules-engine": { @@ -984,7 +1010,7 @@ }, "v_required": { "value": "true", - "err": "Required" + "err": "{{female_family_planning_registration.step3.fp_start_female_ster.v_required.err}}" } }, { @@ -993,7 +1019,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "fp_start_male_ster", "type": "date_picker", - "hint": "Date of male sterilization", + "hint": "{{female_family_planning_registration.step3.fp_start_male_ster.hint}}", "max_date": "today", "relevance": { "rules-engine": { @@ -1004,7 +1030,7 @@ }, "v_required": { "value": "true", - "err": "Required" + "err": "{{female_family_planning_registration.step3.fp_start_male_ster.v_required.err}}" } }, { @@ -1013,8 +1039,8 @@ "openmrs_entity": "", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Advise the woman to use condoms for the first 3 months to prevent pregnancy", - "toaster_info_text": "A note to inform the client that they should use condoms for the first three months after the sterialization to prevent pregnancy", + "text": "{{female_family_planning_registration.step3.fp_male_ster_note.text}}", + "toaster_info_text": "{{female_family_planning_registration.step3.fp_male_ster_note.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -1030,26 +1056,26 @@ "openmrs_entity": "concept", "openmrs_entity_id": "referral_given", "openmrs_entity_parent": "", - "label": "Was she referred to the health facility?", + "label": "{{female_family_planning_registration.step3.referral_given.label}}", "options": [ { "key": "yes", "openmrs_entity": "concept", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{female_family_planning_registration.step3.referral_given.options.yes.text}}" }, { "key": "no", "openmrs_entity": "concept", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{female_family_planning_registration.step3.referral_given.options.no.text}}" } - ], + ], "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{female_family_planning_registration.step3.referral_given.v_required.err}}" } }, { @@ -1068,5 +1094,6 @@ } } ] - } + }, + "properties_file_name": "female_family_planning_registration" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/female_fp_referral_form.json b/opensrp-chw/src/ba/assets/json.form/female_fp_referral_form.json index 950965b0ce..1879350a29 100644 --- a/opensrp-chw/src/ba/assets/json.form/female_fp_referral_form.json +++ b/opensrp-chw/src/ba/assets/json.form/female_fp_referral_form.json @@ -52,7 +52,7 @@ } }, "step1": { - "title": "Family Planning Referral", + "title": "{{female_fp_referral_form.step1.title}}", "fields": [ { "key": "fp_method_accepted_referral", @@ -60,7 +60,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "374AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "FP method chosen requiring a referral", + "label": "{{female_fp_referral_form.step1.fp_method_accepted_referral.label}}", "label_text_style": "bold", "options": [ { @@ -68,103 +68,103 @@ "openmrs_entity": "", "openmrs_entity_id": "164813AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Male condom" + "text": "{{female_fp_referral_form.step1.fp_method_accepted_referral.options.Male_condom.text}}" }, { "key": "Female_condom", "openmrs_entity": "", "openmrs_entity_id": "164814AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Female condom" + "text": "{{female_fp_referral_form.step1.fp_method_accepted_referral.options.Female_condom.text}}" }, { "key": "COC", "openmrs_entity": "", "openmrs_entity_id": "159783AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "COC" + "text": "{{female_fp_referral_form.step1.fp_method_accepted_referral.options.COC.text}}" }, { "key": "POP", "openmrs_entity": "", "openmrs_entity_id": "159784AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "POP" + "text": "{{female_fp_referral_form.step1.fp_method_accepted_referral.options.POP.text}}" }, { "key": "Standard_day_method", "openmrs_entity": "", "openmrs_entity_id": "5277AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Standard day method" + "text": "{{female_fp_referral_form.step1.fp_method_accepted_referral.options.Standard_day_method.text}}" }, { "key": "Emergency_contraceptive", "openmrs_entity": "", "openmrs_entity_id": "160570AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Emergency contraceptive" + "text": "{{female_fp_referral_form.step1.fp_method_accepted_referral.options.Emergency_contraceptive.text}}" }, { "key": "Injectable", "openmrs_entity": "", "openmrs_entity_id": "5279AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Injectable" + "text": "{{female_fp_referral_form.step1.fp_method_accepted_referral.options.Injectable.text}}" }, { "key": "IUCD", "openmrs_entity": "", "openmrs_entity_id": "5275AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "IUCD" + "text": "{{female_fp_referral_form.step1.fp_method_accepted_referral.options.IUCD.text}}" }, { "key": "Implanon_NXT", "openmrs_entity": "", "openmrs_entity_id": "76022AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Implanon - NXT" + "text": "{{female_fp_referral_form.step1.fp_method_accepted_referral.options.Implanon_NXT.text}}" }, { "key": "Jadelle", "openmrs_entity": "", "openmrs_entity_id": "1873AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Jadelle" + "text": "{{female_fp_referral_form.step1.fp_method_accepted_referral.options.Jadelle.text}}" }, { "key": "Female_sterilization", "openmrs_entity": "", "openmrs_entity_id": "5276AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Female sterilization" + "text": "{{female_fp_referral_form.step1.fp_method_accepted_referral.options.Female_sterilization.text}}" }, { "key": "Male_sterilization", "openmrs_entity": "", "openmrs_entity_id": "1489AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Male sterilization" + "text": "{{female_fp_referral_form.step1.fp_method_accepted_referral.options.Male_sterilization.text}}" }, { "key": "None", "openmrs_entity": "", "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "None" + "text": "{{female_fp_referral_form.step1.fp_method_accepted_referral.options.None.text}}" }, { "key": "Not_applicable", "openmrs_entity": "", "openmrs_entity_id": "1175AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Not applicable" + "text": "{{female_fp_referral_form.step1.fp_method_accepted_referral.options.Not_applicable.text}}" } ], "v_required": { "value": "true", - "err": "Please select a family planning method" + "err": "{{female_fp_referral_form.step1.fp_method_accepted_referral.v_required.err}}" } }, { @@ -173,7 +173,7 @@ "openmrs_entity": "", "openmrs_entity_id": "", "openmrs_entity_parent": "", - "label": "Family planning side-effects", + "label": "{{female_fp_referral_form.step1.side_effects_sterialization.label}}", "label_text_style": "bold", "exclusive": [ "None", @@ -182,7 +182,7 @@ "options": [ { "key": "Incisional_bleeding", - "text": "Incisional bleeding", + "text": "{{female_fp_referral_form.step1.side_effects_sterialization.options.Incisional_bleeding.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "147241AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -190,7 +190,7 @@ }, { "key": "Pus_Discharge_from_incision", - "text": "Pus/Discharge from incision", + "text": "{{female_fp_referral_form.step1.side_effects_sterialization.options.Pus_Discharge_from_incision.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "164495AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -198,7 +198,7 @@ }, { "key": "Swollen_around_the_incision", - "text": "Swollen around the incision", + "text": "{{female_fp_referral_form.step1.side_effects_sterialization.options.Swollen_around_the_incision.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "159012AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -206,7 +206,7 @@ }, { "key": "Others", - "text": "Others", + "text": "{{female_fp_referral_form.step1.side_effects_sterialization.options.Others.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -214,7 +214,7 @@ }, { "key": "None", - "text": "None", + "text": "{{female_fp_referral_form.step1.side_effects_sterialization.options.None.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -222,7 +222,7 @@ }, { "key": "Not_applicable", - "text": "Not applicable", + "text": "{{female_fp_referral_form.step1.side_effects_sterialization.options.Not_applicable.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "1175AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -231,7 +231,7 @@ ], "v_required": { "value": "true", - "err": "Please select a value" + "err": "{{female_fp_referral_form.step1.side_effects_sterialization.v_required.err}}" }, "relevance": { "rules-engine": { @@ -247,12 +247,12 @@ "openmrs_entity": "", "openmrs_entity_id": "", "openmrs_entity_parent": "", - "label": "Family planning side-effects", + "label": "{{female_fp_referral_form.step1.side_effects_iucd.label}}", "label_text_style": "bold", "options": [ { "key": "Severe_pain_inside_the_vagina_after_IUD_was_put_in", - "text": "Severe pain inside the vagina after IUD was put in", + "text": "{{female_fp_referral_form.step1.side_effects_iucd.options.Severe_pain_inside_the_vagina_after_IUD_was_put_in.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "123385AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -260,7 +260,7 @@ }, { "key": "Cramping_or_backaches_for_a_few_days_after_the_IUD_is_put_in", - "text": "Cramping or backaches for a few days after the IUD is put in", + "text": "{{female_fp_referral_form.step1.side_effects_iucd.options.Cramping_or_backaches_for_a_few_days_after_the_IUD_is_put_in.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "148031AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -268,7 +268,7 @@ }, { "key": "Spotting_between_periods_and_or_irregular_periods", - "text": "Spotting between periods and/or irregular periods", + "text": "{{female_fp_referral_form.step1.side_effects_iucd.options.Spotting_between_periods_and_or_irregular_periods.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "116616AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -276,7 +276,7 @@ }, { "key": "Heavier_periods_and_worse_menstrual_cramps", - "text": "Heavier periods and worse menstrual cramps", + "text": "{{female_fp_referral_form.step1.side_effects_iucd.options.Heavier_periods_and_worse_menstrual_cramps.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "156197AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -284,7 +284,7 @@ }, { "key": "IUCD_explusion", - "text": "IUCD explusion", + "text": "{{female_fp_referral_form.step1.side_effects_iucd.options.IUCD_explusion.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "157401AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -292,7 +292,7 @@ }, { "key": "Others", - "text": "Others", + "text": "{{female_fp_referral_form.step1.side_effects_iucd.options.Others.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -300,7 +300,7 @@ }, { "key": "None", - "text": "None", + "text": "{{female_fp_referral_form.step1.side_effects_iucd.options.None.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -308,7 +308,7 @@ }, { "key": "Not_applicable", - "text": "Not applicable", + "text": "{{female_fp_referral_form.step1.side_effects_iucd.options.Not_applicable.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "1175AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -317,7 +317,7 @@ ], "v_required": { "value": "true", - "err": "Please select a value" + "err": "{{female_fp_referral_form.step1.side_effects_iucd.v_required.err}}" }, "relevance": { "rules-engine": { @@ -333,12 +333,12 @@ "openmrs_entity": "", "openmrs_entity_id": "", "openmrs_entity_parent": "", - "label": "Family planning side-effects", + "label": "{{female_fp_referral_form.step1.side_effects_implant.label}}", "label_text_style": "bold", "options": [ { "key": "Insertion_site_infected_pus_discharge", - "text": "Insertion site infected - pus/discharge", + "text": "{{female_fp_referral_form.step1.side_effects_implant.options.Insertion_site_infected_pus_discharge.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "164495AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -346,7 +346,7 @@ }, { "key": "Insertion_site_swollen", - "text": "Insertion site swollen", + "text": "{{female_fp_referral_form.step1.side_effects_implant.options.Insertion_site_swollen.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "159012AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -354,7 +354,7 @@ }, { "key": "Implant_expulsion", - "text": "Implant expulsion", + "text": "{{female_fp_referral_form.step1.side_effects_implant.options.Implant_expulsion.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "144458AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -362,7 +362,7 @@ }, { "key": "Heavy_bleeding", - "text": "Heavy bleeding", + "text": "{{female_fp_referral_form.step1.side_effects_implant.options.Heavy_bleeding.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "136756AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -370,7 +370,7 @@ }, { "key": "Others", - "text": "Others", + "text": "{{female_fp_referral_form.step1.side_effects_implant.options.Others.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -378,7 +378,7 @@ }, { "key": "None", - "text": "None", + "text": "{{female_fp_referral_form.step1.side_effects_implant.options.None.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -386,7 +386,7 @@ }, { "key": "Not_applicable", - "text": "Not applicable", + "text": "{{female_fp_referral_form.step1.side_effects_implant.options.Not_applicable.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "1175AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -395,7 +395,7 @@ ], "v_required": { "value": "true", - "err": "Please select a value" + "err": "{{female_fp_referral_form.step1.side_effects_implant.v_required.err}}" }, "relevance": { "rules-engine": { @@ -411,12 +411,12 @@ "openmrs_entity": "", "openmrs_entity_id": "", "openmrs_entity_parent": "", - "label": "Family planning side-effects", + "label": "{{female_fp_referral_form.step1.side_effects_inject_pills.label}}", "label_text_style": "bold", "options": [ { "key": "Heavy_bleeding_", - "text": "Heavy bleeding", + "text": "{{female_fp_referral_form.step1.side_effects_inject_pills.options.Heavy_bleeding_.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "136756AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -424,7 +424,7 @@ }, { "key": "Irregular_periods", - "text": "Irregular periods", + "text": "{{female_fp_referral_form.step1.side_effects_inject_pills.options.Irregular_periods.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "116616AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -432,7 +432,7 @@ }, { "key": "Others", - "text": "Others", + "text": "{{female_fp_referral_form.step1.side_effects_inject_pills.options.Others.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -440,7 +440,7 @@ }, { "key": "None", - "text": "None", + "text": "{{female_fp_referral_form.step1.side_effects_inject_pills.options.None.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -448,7 +448,7 @@ }, { "key": "Not_applicable", - "text": "Not applicable", + "text": "{{female_fp_referral_form.step1.side_effects_inject_pills.options.Not_applicable.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "1175AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -457,7 +457,7 @@ ], "v_required": { "value": "true", - "err": "Please select a value" + "err": "{{female_fp_referral_form.step1.side_effects_inject_pills.v_required.err}}" }, "relevance": { "rules-engine": { @@ -488,10 +488,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "hint": "Other side effects", + "hint": "{{female_fp_referral_form.step1.fp_side_effects_other.hint}}", "v_required": { "value": "true", - "err": "Please specify other side effects" + "err": "{{female_fp_referral_form.step1.fp_side_effects_other.v_required.err}}" }, "relevance": { "rules-engine": { @@ -500,7 +500,8 @@ } } } - },{ + }, + { "key": "referral_date_fp", "openmrs_entity_parent": "", "openmrs_entity": "concept", @@ -531,5 +532,6 @@ } } ] - } + }, + "properties_file_name": "female_fp_referral_form" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/fp_followup_counsel.json b/opensrp-chw/src/ba/assets/json.form/fp_followup_counsel.json index ffa7041ba4..725997666c 100644 --- a/opensrp-chw/src/ba/assets/json.form/fp_followup_counsel.json +++ b/opensrp-chw/src/ba/assets/json.form/fp_followup_counsel.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Counselling", + "title": "{{fp_followup_counsel.step1.title}}", "fields": [ { "key": "fp_counselling", @@ -55,29 +55,29 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1382AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Did the client receive any family planning counselling?", + "label": "{{fp_followup_counsel.step1.fp_counselling.label}}", "options": [ { "key": "yes", "openmrs_entity": "concept", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{fp_followup_counsel.step1.fp_counselling.options.yes.text}}" }, { "key": "no", "openmrs_entity": "concept", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{fp_followup_counsel.step1.fp_counselling.options.no.text}}" } ], "v_required": { "value": "true", - "err": "This value cannot be null" + "err": "{{fp_followup_counsel.step1.fp_counselling.v_required.err}}" } } - ] - } + }, + "properties_file_name": "fp_followup_counsel" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/fp_followup_resupply.json b/opensrp-chw/src/ba/assets/json.form/fp_followup_resupply.json index 1fdc8e1b79..523069cb35 100644 --- a/opensrp-chw/src/ba/assets/json.form/fp_followup_resupply.json +++ b/opensrp-chw/src/ba/assets/json.form/fp_followup_resupply.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Re-supply or Next Health Facility Visit", + "title": "{{fp_followup_resupply.step1.title}}", "fields": [ { "key": "fp_method", @@ -64,14 +64,14 @@ "openmrs_entity_id": "163171AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "190AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "edit_type": "number", - "hint": "How many condoms was she/he given?", + "hint": "{{fp_followup_resupply.step1.no_condoms.hint}}", "v_required": { "value": "true", - "err": "this value cannot be null" + "err": "{{fp_followup_resupply.step1.no_condoms.v_required.err}}" }, "v_numeric_integer": { "value": "true", - "err": "Must be a rounded number" + "err": "{{fp_followup_resupply.step1.no_condoms.v_numeric_integer.err}}" }, "relevance": { "rules-engine": { @@ -88,14 +88,14 @@ "openmrs_entity_id": "163171AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "5274AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "edit_type": "number", - "hint": "How many pill cycles was she given?", + "hint": "{{fp_followup_resupply.step1.no_pillcycles.hint}}", "v_required": { "value": "true", - "err": "this value cannot be null" + "err": "{{fp_followup_resupply.step1.no_pillcycles.v_required.err}}" }, "v_numeric_integer": { "value": "true", - "err": "Must be a rounded number" + "err": "{{fp_followup_resupply.step1.no_pillcycles.v_numeric_integer.err}}" }, "relevance": { "rules-engine": { @@ -111,16 +111,16 @@ "openmrs_entity": "concept", "openmrs_entity_id": "162881AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "date_picker", - "hint": "Date of last injection", + "hint": "{{fp_followup_resupply.step1.fp_refill_injectable.hint}}", "expanded": false, "duration": { - "label": "last injection" + "label": "{{fp_followup_resupply.step1.fp_refill_injectable.duration.label}}" }, "min_date": "today-120y", "max_date": "today", "v_required": { "value": "true", - "err": "Please Date of last injection" + "err": "{{fp_followup_resupply.step1.fp_refill_injectable.v_required.err}}" }, "relevance": { "rules-engine": { @@ -136,7 +136,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Date of next injection: {fp_refill_injectable}", + "text": "{{fp_followup_resupply.step1.next_injection_date.text}}", "text_color": "#1199F9", "toaster_type": "info", "relevance": { @@ -155,5 +155,6 @@ } } ] - } + }, + "properties_file_name": "fp_followup_resupply" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/fp_followup_side_effects.json b/opensrp-chw/src/ba/assets/json.form/fp_followup_side_effects.json index 33018122d8..c2e4205d66 100644 --- a/opensrp-chw/src/ba/assets/json.form/fp_followup_side_effects.json +++ b/opensrp-chw/src/ba/assets/json.form/fp_followup_side_effects.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Side Effects", + "title": "{{fp_followup_side_effects.step1.title}}", "fields": [ { "key": "fp_method", @@ -64,9 +64,9 @@ "openmrs_entity_id": "165273AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "190AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "values": [ - "Allergic reactions", - "Others", - "None" + "{{fp_followup_side_effects.step1.condom_side_effects.values[0]}}", + "{{fp_followup_side_effects.step1.condom_side_effects.values[1]}}", + "{{fp_followup_side_effects.step1.condom_side_effects.values[2]}}" ], "keys": [ "Allergic_reactions", @@ -78,10 +78,10 @@ "Others": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "None": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, - "hint": "Is she/he experiencing any side effects?", + "hint": "{{fp_followup_side_effects.step1.condom_side_effects.hint}}", "v_required": { "value": "true", - "err": "This value cannot be null" + "err": "{{fp_followup_side_effects.step1.condom_side_effects.v_required.err}}" }, "relevance": { "rules-engine": { @@ -98,10 +98,10 @@ "openmrs_entity_id": "164377AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "190AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "edit_type": "name", - "hint": "Others:", + "hint": "{{fp_followup_side_effects.step1.condom_side_effects_other.hint}}", "v_required": { "value": "true", - "err": "This value cannot be null" + "err": "{{fp_followup_side_effects.step1.condom_side_effects_other.v_required.err}}" }, "relevance": { "rules-engine": { @@ -118,10 +118,10 @@ "openmrs_entity_id": "165273AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "5274AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "values": [ - "Heavy bleeding", - "Irregular periods", - "Others", - "None" + "{{fp_followup_side_effects.step1.cocpop_side_effects.values[0]}}", + "{{fp_followup_side_effects.step1.cocpop_side_effects.values[1]}}", + "{{fp_followup_side_effects.step1.cocpop_side_effects.values[2]}}", + "{{fp_followup_side_effects.step1.cocpop_side_effects.values[3]}}" ], "keys": [ "Heavy_bleeding_", @@ -135,10 +135,10 @@ "Others": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "None": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, - "hint": "Is she experiencing any side effects?", + "hint": "{{fp_followup_side_effects.step1.cocpop_side_effects.hint}}", "v_required": { "value": "true", - "err": "This value cannot be null" + "err": "{{fp_followup_side_effects.step1.cocpop_side_effects.v_required.err}}" }, "relevance": { "rules-engine": { @@ -155,10 +155,10 @@ "openmrs_entity_id": "164377AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "5274AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "edit_type": "name", - "hint": "Others:", + "hint": "{{fp_followup_side_effects.step1.cocpop_side_effects_other.hint}}", "v_required": { "value": "true", - "err": "This value cannot be null" + "err": "{{fp_followup_side_effects.step1.cocpop_side_effects_other.v_required.err}}" }, "relevance": { "rules-engine": { @@ -175,10 +175,10 @@ "openmrs_entity_id": "165273AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "5279AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "values": [ - "Heavy bleeding", - "Irregular periods", - "Others", - "None" + "{{fp_followup_side_effects.step1.inject_side_effects.values[0]}}", + "{{fp_followup_side_effects.step1.inject_side_effects.values[1]}}", + "{{fp_followup_side_effects.step1.inject_side_effects.values[2]}}", + "{{fp_followup_side_effects.step1.inject_side_effects.values[3]}}" ], "keys": [ "Heavy_bleeding_", @@ -192,10 +192,10 @@ "Others": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "None": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, - "hint": "Is she experiencing any side effects?", + "hint": "{{fp_followup_side_effects.step1.inject_side_effects.hint}}", "v_required": { "value": "true", - "err": "This value cannot be null" + "err": "{{fp_followup_side_effects.step1.inject_side_effects.v_required.err}}" }, "relevance": { "rules-engine": { @@ -212,10 +212,10 @@ "openmrs_entity_id": "164377AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "5279AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "edit_type": "name", - "hint": "Others:", + "hint": "{{fp_followup_side_effects.step1.inject_side_effects_other.hint}}", "v_required": { "value": "true", - "err": "This value cannot be null" + "err": "{{fp_followup_side_effects.step1.inject_side_effects_other.v_required.err}}" }, "relevance": { "rules-engine": { @@ -232,13 +232,13 @@ "openmrs_entity_id": "165273AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "5275AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "values": [ - "Severe pain inside the vagina after IUD was put in", - "Cramping or backaches for a few days after the IUD is put in", - "Spotting between periods and/or irregular periods", - "Heavier periods and worse menstrual cramps", - "IUCD explusion", - "Others", - "None" + "{{fp_followup_side_effects.step1.IUCD_side_effects.values[0]}}", + "{{fp_followup_side_effects.step1.IUCD_side_effects.values[1]}}", + "{{fp_followup_side_effects.step1.IUCD_side_effects.values[2]}}", + "{{fp_followup_side_effects.step1.IUCD_side_effects.values[3]}}", + "{{fp_followup_side_effects.step1.IUCD_side_effects.values[4]}}", + "{{fp_followup_side_effects.step1.IUCD_side_effects.values[5]}}", + "{{fp_followup_side_effects.step1.IUCD_side_effects.values[6]}}" ], "keys": [ "Severe_pain_inside_the_vagina_after_IUD_was_put_in", @@ -258,10 +258,10 @@ "Others": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "None": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, - "hint": "Is she experiencing any side effects?", + "hint": "{{fp_followup_side_effects.step1.IUCD_side_effects.hint}}", "v_required": { "value": "true", - "err": "This value cannot be null" + "err": "{{fp_followup_side_effects.step1.IUCD_side_effects.v_required.err}}" }, "relevance": { "rules-engine": { @@ -278,10 +278,10 @@ "openmrs_entity_id": "164377AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "5275AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "edit_type": "name", - "hint": "Others:", + "hint": "{{fp_followup_side_effects.step1.IUCD_side_effects_other.hint}}", "v_required": { "value": "true", - "err": "This value cannot be null" + "err": "{{fp_followup_side_effects.step1.IUCD_side_effects_other.v_required.err}}" }, "relevance": { "rules-engine": { @@ -298,11 +298,11 @@ "openmrs_entity_id": "165273AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "5276AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "values": [ - "Incisional bleeding", - "Pus/Discharge from incision", - "Swollen around the incision", - "Others", - "None" + "{{fp_followup_side_effects.step1.sterilization_side_effects.values[0]}}", + "{{fp_followup_side_effects.step1.sterilization_side_effects.values[1]}}", + "{{fp_followup_side_effects.step1.sterilization_side_effects.values[2]}}", + "{{fp_followup_side_effects.step1.sterilization_side_effects.values[3]}}", + "{{fp_followup_side_effects.step1.sterilization_side_effects.values[4]}}" ], "keys": [ "Incisional_bleeding", @@ -318,10 +318,10 @@ "Others": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "None": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, - "hint": "Is she/he experiencing any side effects?", + "hint": "{{fp_followup_side_effects.step1.sterilization_side_effects.hint}}", "v_required": { "value": "true", - "err": "This value cannot be null" + "err": "{{fp_followup_side_effects.step1.sterilization_side_effects.v_required.err}}" }, "relevance": { "rules-engine": { @@ -338,10 +338,10 @@ "openmrs_entity_id": "164377AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "5276AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "edit_type": "name", - "hint": "Others:", + "hint": "{{fp_followup_side_effects.step1.sterilization_side_effects_other.hint}}", "v_required": { "value": "true", - "err": "This value cannot be null" + "err": "{{fp_followup_side_effects.step1.sterilization_side_effects_other.v_required.err}}" }, "relevance": { "rules-engine": { @@ -357,33 +357,33 @@ "openmrs_entity": "concept", "openmrs_entity_id": "164378AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Action taken", + "label": "{{fp_followup_side_effects.step1.action_taken.label}}", "options": [ { "key": "managed", "openmrs_entity": "concept", "openmrs_entity_id": "140959AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Managed" + "text": "{{fp_followup_side_effects.step1.action_taken.options.managed.text}}" }, { "key": "referred", "openmrs_entity": "concept", "openmrs_entity_id": "1648AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Referred" + "text": "{{fp_followup_side_effects.step1.action_taken.options.referred.text}}" }, { "key": "no_action_taken", "openmrs_entity": "concept", "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No action taken" + "text": "{{fp_followup_side_effects.step1.action_taken.options.no_action_taken.text}}" } ], "v_required": { "value": "true", - "err": "This value cannot be null" + "err": "{{fp_followup_side_effects.step1.action_taken.v_required.err}}" }, "relevance": { "rules-engine": { @@ -392,8 +392,8 @@ } } } - } ] - } + }, + "properties_file_name": "fp_followup_side_effects" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/hiv_community_followup_feedback.json b/opensrp-chw/src/ba/assets/json.form/hiv_community_followup_feedback.json new file mode 100644 index 0000000000..2f236e9759 --- /dev/null +++ b/opensrp-chw/src/ba/assets/json.form/hiv_community_followup_feedback.json @@ -0,0 +1,144 @@ +{ + "form": "HIV Community Followup Feedback", + "count": "1", + "encounter_type": "HIV Community Followup Feedback", + "entity_id": "", + "relational_id": "", + "rules_file": "rule/hiv_community_followup_feedback_rules.yml", + "metadata": { + "start": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "start", + "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "end": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "end", + "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "today": { + "openmrs_entity_parent": "", + "openmrs_entity": "encounter", + "openmrs_entity_id": "encounter_date" + }, + "deviceid": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "deviceid", + "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "subscriberid": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "subscriberid", + "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "simserial": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "simserial", + "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "phonenumber": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "phonenumber", + "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "encounter_location": "", + "look_up": { + "entity_id": "", + "value": "" + } + }, + "steps": [ + { + "title": "HIV Community Followup Feedback", + "fields": [ + { + "name": "followup_status", + "type": "spinner", + "properties": { + "text": "Followup Feedback" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "followup_status", + "openmrs_entity_parent": "" + }, + "options": [ + { + "name": "continuing_with_services", + "text": "Continuing with services", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "continuing_with_services", + "openmrs_entity_parent": "" + } + }, + { + "name": "deceased", + "text": "Deceased", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "deceased", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_not_found", + "text": "Client not found", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_not_found", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_relocated_to_another_location", + "text": "Client has relocated to another location", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_relocated_to_another_location", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_has_moved", + "text": "Client has moved ", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_has_moved", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_has_absconded", + "text": "Client has absconded", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_has_absconded", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_continues_with_clinic_from_elsewhere", + "text": "Clients continues with clinic from elsewhere", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_continues_with_clinic_from_elsewhere", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Please select followup feedback", + "dependent_calculations": [ + "hiv_community_followup_visit_date" + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/hiv_followup_visit.json b/opensrp-chw/src/ba/assets/json.form/hiv_followup_visit.json new file mode 100644 index 0000000000..a54a8686a2 --- /dev/null +++ b/opensrp-chw/src/ba/assets/json.form/hiv_followup_visit.json @@ -0,0 +1,522 @@ +{ + "form": "HIV Followup form", + "count": "1", + "encounter_type": "HIV Followup", + "entity_id": "", + "relational_id": "", + "rules_file": "rule/hiv_followup_form_rules.yml", + "metadata": { + "start": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "start", + "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "end": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "end", + "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "today": { + "openmrs_entity_parent": "", + "openmrs_entity": "encounter", + "openmrs_entity_id": "encounter_date" + }, + "deviceid": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "deviceid", + "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "subscriberid": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "subscriberid", + "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "simserial": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "simserial", + "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "phonenumber": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "phonenumber", + "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "encounter_location": "", + "look_up": { + "entity_id": "", + "value": "" + } + }, + "steps": [ + { + "title": "HIV Followup form", + "fields": [ + { + "name": "registration_or_followup_status", + "type": "spinner", + "properties": { + "text": "Registration/Followup status" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "registration_or_followup_status", + "openmrs_entity_parent": "" + }, + "options": [ + { + "name": "new_client", + "text": "New Client", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "new_client", + "openmrs_entity_parent": "" + } + }, + { + "name": "continuing_with_services", + "text": "Continuing with services", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "continuing_with_services", + "openmrs_entity_parent": "" + } + }, + { + "name": "deceased", + "text": "Deceased", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "deceased", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_not_found", + "text": "Client not found", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_not_found", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_relocated_to_another_location", + "text": "Client has relocated to another location", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_relocated_to_another_location", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_has_moved", + "text": "Client has moved ", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_has_moved", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_has_absconded", + "text": "Client has absconded", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_has_absconded", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_continues_with_clinic_from_elsewhere", + "text": "Clients continues with clinic from elsewhere", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_continues_with_clinic_from_elsewhere", + "openmrs_entity_parent": "" + } + }, + { + "name": "completed_and_qualified_from_the_services ", + "text": "Client has completed and qualified from the services ", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "completed_and_qualified_from_the_services", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Please select the registration/followup status", + "dependent_calculations": [ + "hiv_followup_visit_date" + ] + }, + { + "name": "client_condition", + "type": "spinner", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_condition", + "openmrs_entity_parent": "" + }, + "properties": { + "text": "Condition of the client" + }, + "options": [ + { + "name": "client_does_her_daily_activities", + "text": "Client does her daily activities", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_does_her_daily_activities", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_takes_care_of_himself", + "text": "Client takes care of him/herself (bathing, Eating)", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_takes_care_of_himself", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_is_unable_to_take_care_of_himself", + "text": "Client is unable to take care of him/herself", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_is_unable_to_take_care_of_himself", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Please specify client's condition", + "subjects": "registration_or_followup_status:text" + }, + { + "name": "problem", + "type": "multi_choice_checkbox", + "properties": { + "text": "Pick problem/Social challenges faced by the Client." + }, + "meta_data": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_entity_id": "problem" + }, + "options": [ + { + "name": "other_problems", + "text": "Other Problems", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "other_problems", + "openmrs_entity_parent": "" + } + }, + { + "name": "none", + "text": "None", + "is_exclusive": true, + "meta_data": { + "openmrs_entity": "", + "openmrs_entity_id": "", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Please specify client's problems", + "subjects": "registration_or_followup_status:text" + }, + { + "name": "problem_other", + "type": "text_input_edit_text", + "properties": { + "hint": "Other symptoms", + "type": "name" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "problem_other", + "openmrs_entity_parent": "problem" + }, + "required_status": "true:Please specify other symptoms", + "subjects": "problem:map" + }, + { + "name": "client_behaviour_and_environmental_risk", + "type": "spinner", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_behaviour_and_environmental_risk", + "openmrs_entity_parent": "" + }, + "properties": { + "text": "Vulnerable and at risk behaviors" + }, + "options": [ + { + "name": "na", + "text": "Not Applicable", + "meta_data": { + "openmrs_entity": "", + "openmrs_entity_id": "", + "openmrs_entity_parent": "" + } + }, + { + "name": "alcoholism", + "text": "Alcoholism", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "alcoholism", + "openmrs_entity_parent": "" + } + }, + { + "name": "has_multiple_sexual_partners", + "text": "Has multiple sexual partners", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "has_multiple_sexual_partners", + "openmrs_entity_parent": "" + } + }, + { + "name": "has_sexual_relations_with_different_peers", + "text": "Sexual relations with different peers", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "has_sexual_relations_with_different_peers", + "openmrs_entity_parent": "" + } + }, + { + "name": "fisherman", + "text": "Fisherman", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "fisherman", + "openmrs_entity_parent": "" + } + }, + { + "name": "women_having_sex_with_other_women", + "text": "Women having sex with other women", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "women_having_sex_with_other_women", + "openmrs_entity_parent": "" + } + }, + { + "name": "sex_workers", + "text": "Sex workers", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "sex_workers", + "openmrs_entity_parent": "" + } + }, + { + "name": "wood_workers", + "text": "Lumberman", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "wood_workers", + "openmrs_entity_parent": "" + } + }, + { + "name": "mining_workers", + "text": "Mining workers ", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "mining_workers", + "openmrs_entity_parent": "" + } + }, + { + "name": "men_having_sex_with_other_men ", + "text": "Men having sex with other men", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "men_having_sex_with_other_men", + "openmrs_entity_parent": "" + } + }, + { + "name": "truck_drivers ", + "text": "Trucks and long distance drivers", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "truck_drivers", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Please specify client's behaviour", + "subjects": "registration_or_followup_status:text" + }, + { + "name": "supplies_provided", + "type": "multi_choice_checkbox", + "properties": { + "text": "Supplies/medicines provided" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "supplies_provided", + "openmrs_entity_parent": "" + }, + "options": [ + { + "name": "other_medicine", + "text": "Other treatment", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "other_medicine", + "openmrs_entity_parent": "" + } + }, + { + "name": "none", + "text": "None", + "is_exclusive": true, + "meta_data": { + "openmrs_entity": "", + "openmrs_entity_id": "", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Please choose supplies/medicine given", + "subjects": "registration_or_followup_status:text" + }, + { + "name": "supplies_provided_other", + "type": "text_input_edit_text", + "properties": { + "hint": "Other Supplies/Medicine", + "type": "name" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "supplies_provided_other", + "openmrs_entity_parent": "supplies_provided" + }, + "required_status": "true:Please specify other supplies/Medicine given", + "subjects": "supplies_provided:map" + }, + { + "name": "hiv_services_provided", + "type": "multi_choice_checkbox", + "properties": { + "text": "HIV services provided by CHW at the community" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "hiv_services_provided", + "openmrs_entity_parent": "" + }, + "options": [ + { + "name": "other_hiv_services", + "text": "Other HIV services", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "other_hiv_services", + "openmrs_entity_parent": "" + } + }, + { + "name": "none", + "text": "None", + "is_exclusive": true, + "meta_data": { + "openmrs_entity": "", + "openmrs_entity_id": "", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Please fill the HIV services provided", + "subjects": "registration_or_followup_status:text" + }, + { + "name": "hiv_services_provided_other", + "type": "text_input_edit_text", + "properties": { + "hint": "Other HIV Services Provided", + "type": "name" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "hiv_services_provided_other", + "openmrs_entity_parent": "hiv_services_provided" + }, + "required_status": "true:Please specify other HIV services provided", + "subjects": "hiv_services_provided:map" + }, + { + "name": "state_of_therapy", + "type": "spinner", + "properties": { + "text": "State of HIV Care and treatment" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "state_of_therapy", + "openmrs_entity_parent": "" + }, + "options": [ + { + "name": "na", + "text": "Not Applicable", + "meta_data": { + "openmrs_entity": "", + "openmrs_entity_id": "", + "openmrs_entity_parent": "" + } + }, + { + "name": "registered_but_not_began_medication", + "text": "Registered in CTC/PMTCT clinic but hasn't begun ARV medication", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "registered_but_not_began_medication", + "openmrs_entity_parent": "" + } + }, + { + "name": "registered_and_uses_medication", + "text": "Registered in CTC/PMTCT clinic and uses ARV medication", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "registered_and_uses_medication", + "openmrs_entity_parent": "" + } + }, + { + "name": "not_registered_in_ctc_clinic", + "text": "Client is not registered in CTC/PMTCT clinic", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "not_registered_in_ctc_clinic", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Please specify the state of HIV therapy", + "subjects": "registration_or_followup_status:text" + } + ] + } + ] +} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/hiv_registration.json b/opensrp-chw/src/ba/assets/json.form/hiv_registration.json new file mode 100644 index 0000000000..caff5f41bf --- /dev/null +++ b/opensrp-chw/src/ba/assets/json.form/hiv_registration.json @@ -0,0 +1,135 @@ +{ + "form": "HIV Registration form", + "count": "1", + "encounter_type": "HIV Registration", + "entity_id": "", + "relational_id": "", + "rules_file": "rule/hiv_registration_form_rules.yml", + "metadata": { + "start": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "start", + "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "end": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "end", + "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "today": { + "openmrs_entity_parent": "", + "openmrs_entity": "encounter", + "openmrs_entity_id": "encounter_date" + }, + "deviceid": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "deviceid", + "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "subscriberid": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "subscriberid", + "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "simserial": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "simserial", + "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "phonenumber": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "phonenumber", + "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "encounter_location": "", + "look_up": { + "entity_id": "", + "value": "" + } + }, + "steps": [ + { + "title": "HIV Clients Registration form", + "fields": [ + { + "name": "ctc_number", + "type": "text_input_edit_text", + "properties": { + "hint": "CTC Number", + "type": "Clinic of Treatment and Care registration number (CTC Number)" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "ctc_number", + "openmrs_entity_parent": "" + }, + "required_status": "false" + }, + { + "name": "cbhs_number", + "type": "text_input_edit_text", + "properties": { + "hint": "Community Based Health Services Registration Number (CBHS Number)" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "cbhs_number", + "openmrs_entity_parent": "" + }, + "required_status": "false" + }, + { + "name": "client_hiv_status_during_registration", + "type": "spinner", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_hiv_status_during_registration", + "openmrs_entity_parent": "" + }, + "properties": { + "text": "Client's HIV status during registration" + }, + "options": [ + { + "name": "unknown", + "text": "Unknown", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "unknown", + "openmrs_entity_parent": "" + } + }, + { + "name": "positive", + "text": "Positive", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "positive", + "openmrs_entity_parent": "" + } + }, + { + "name": "negative", + "text": "Negative", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "negative", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Please specify client's hiv status", + "dependent_calculations": [ + "hiv_registration_date" + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/in_app_monthly_tallies_report.json b/opensrp-chw/src/ba/assets/json.form/in_app_monthly_tallies_report.json index ece65c5342..85cb48ff1c 100644 --- a/opensrp-chw/src/ba/assets/json.form/in_app_monthly_tallies_report.json +++ b/opensrp-chw/src/ba/assets/json.form/in_app_monthly_tallies_report.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Monthly Tallies", + "title": "{{in_app_monthly_tallies_report.step1.title}}", "fields": [ { "key": "indicator_code", @@ -55,7 +55,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "indicator_code", "type": "edit_text", - "hint": "Indicator code", + "hint": "{{in_app_monthly_tallies_report.step1.indicator_code.hint}}", "value": "" }, { @@ -64,7 +64,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "month", "type": "edit_text", - "hint": "Month", + "hint": "{{in_app_monthly_tallies_report.step1.month.hint}}", "value": "" }, { @@ -73,7 +73,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "edited", "type": "edit_text", - "hint": "edited", + "hint": "{{in_app_monthly_tallies_report.step1.edited.hint}}", "value": "" }, { @@ -82,7 +82,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "date_sent", "type": "edit_text", - "hint": "Date sent", + "hint": "{{in_app_monthly_tallies_report.step1.date_sent.hint}}", "value": "" }, { @@ -91,7 +91,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "created_at", "type": "edit_text", - "hint": "Created at", + "hint": "{{in_app_monthly_tallies_report.step1.created_at.hint}}", "value": "" }, { @@ -100,9 +100,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "value", "type": "edit_text", - "hint": "Updated at", + "hint": "{{in_app_monthly_tallies_report.step1.value.hint}}", "value": "" } ] - } + }, + "properties_file_name": "in_app_monthly_tallies_report" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/malaria_confirmation.json b/opensrp-chw/src/ba/assets/json.form/malaria_confirmation.json index a8a6e23af5..e6ffdb1c71 100644 --- a/opensrp-chw/src/ba/assets/json.form/malaria_confirmation.json +++ b/opensrp-chw/src/ba/assets/json.form/malaria_confirmation.json @@ -53,7 +53,7 @@ } }, "step1": { - "title": "Malaria Confirmation", + "title": "{{malaria_confirmation.step1.title}}", "next": "step2", "fields": [ { @@ -85,13 +85,13 @@ "openmrs_entity": "concept", "openmrs_entity_id": "fever_malaria_chw", "type": "native_radio", - "label": "Does this person have a fever or did they test positive for malaria in the last 14 days at a health facility?", + "label": "{{malaria_confirmation.step1.fever_malaria_chw.label}}", "label_text_style": "bold", "text_color": "#000000", "options": [ { "key": "has_fever", - "text": "Has a fever", + "text": "{{malaria_confirmation.step1.fever_malaria_chw.options.has_fever.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "has_fever", @@ -99,7 +99,7 @@ }, { "key": "tested_positive_last_14_days", - "text": "Tested positive for malaria in the last 14 days at a health facility", + "text": "{{malaria_confirmation.step1.fever_malaria_chw.options.tested_positive_last_14_days.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "tested_positive_last_14_days", @@ -108,7 +108,7 @@ ], "v_required": { "value": "true", - "err": "Please select one" + "err": "{{malaria_confirmation.step1.fever_malaria_chw.v_required.err}}" } }, { @@ -117,8 +117,12 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1731AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "spinner", - "hint": "Duration of fever?", + "hint": "{{malaria_confirmation.step1.fever_duration.hint}}", "values": [ + "{{malaria_confirmation.step1.fever_duration.values[0]}}", + "{{malaria_confirmation.step1.fever_duration.values[1]}}" + ], + "keys": [ "Less than 24 hrs", "More than 24 hrs" ], @@ -128,7 +132,7 @@ }, "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{malaria_confirmation.step1.fever_duration.v_required.err}}" }, "relevance": { "rules-engine": { @@ -144,14 +148,18 @@ "openmrs_entity": "concept", "openmrs_entity_id": "malaria_test_done", "type": "spinner", - "hint": "Was a malaria test done?", + "hint": "{{malaria_confirmation.step1.malaria_test_done.hint}}", "values": [ + "{{malaria_confirmation.step1.malaria_test_done.values[0]}}", + "{{malaria_confirmation.step1.malaria_test_done.values[1]}}" + ], + "keys": [ "No", "Yes, by the CHW" ], "v_required": { "value": "true", - "err": "Please select one" + "err": "{{malaria_confirmation.step1.malaria_test_done.v_required.err}}" }, "relevance": { "rules-engine": { @@ -167,8 +175,12 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1643AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "spinner", - "hint": "mRDT results", + "hint": "{{malaria_confirmation.step1.malaria_results.hint}}", "values": [ + "{{malaria_confirmation.step1.malaria_results.values[0]}}", + "{{malaria_confirmation.step1.malaria_results.values[1]}}" + ], + "keys": [ "Positive", "Negative" ], @@ -178,7 +190,7 @@ }, "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{malaria_confirmation.step1.malaria_results.v_required.err}}" }, "relevance": { "rules-engine": { @@ -194,12 +206,12 @@ "openmrs_entity": "concept", "openmrs_entity_id": "date_hf_malaria_test", "type": "date_picker", - "hint": "Date of malaria test at health facility", + "hint": "{{malaria_confirmation.step1.date_hf_malaria_test.hint}}", "expanded": false, "max_date": "today", "v_required": { "value": "true", - "err": "Please enter the date of malaria test at health facility" + "err": "{{malaria_confirmation.step1.date_hf_malaria_test.v_required.err}}" }, "relevance": { "rules-engine": { @@ -245,8 +257,16 @@ "openmrs_entity": "concept", "openmrs_entity_id": "malaria_treat", "type": "spinner", - "hint": "Treatment given", + "hint": "{{malaria_confirmation.step1.malaria_treat.hint}}", "values": [ + "{{malaria_confirmation.step1.malaria_treat.values[0]}}", + "{{malaria_confirmation.step1.malaria_treat.values[1]}}", + "{{malaria_confirmation.step1.malaria_treat.values[2]}}", + "{{malaria_confirmation.step1.malaria_treat.values[3]}}", + "{{malaria_confirmation.step1.malaria_treat.values[4]}}", + "{{malaria_confirmation.step1.malaria_treat.values[5]}}" + ], + "keys": [ "ALU 6", "ALU 12", "ALU 18", @@ -264,7 +284,7 @@ }, "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{malaria_confirmation.step1.malaria_treat.v_required.err}}" }, "relevance": { "rules-engine": { @@ -280,8 +300,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Please refer the client for a malaria test", - "toaster_info_text": "Please refer the client for a malaria test", + "text": "{{malaria_confirmation.step1.referral_note.text}}", + "toaster_info_text": "{{malaria_confirmation.step1.referral_note.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -294,7 +314,7 @@ ] }, "step2": { - "title": "Malaria Prevention", + "title": "{{malaria_confirmation.step2.title}}", "fields": [ { "key": "fam_llin", @@ -302,8 +322,12 @@ "openmrs_entity": "concept", "openmrs_entity_id": "fam_llin", "type": "spinner", - "hint": "Do you have a long lasting insecticide net (LLIN)?", + "hint": "{{malaria_confirmation.step2.fam_llin.hint}}", "values": [ + "{{malaria_confirmation.step2.fam_llin.values[0]}}", + "{{malaria_confirmation.step2.fam_llin.values[1]}}" + ], + "keys": [ "Yes", "No" ], @@ -313,7 +337,7 @@ }, "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{malaria_confirmation.step2.fam_llin.v_required.err}}" } }, { @@ -322,8 +346,12 @@ "openmrs_entity": "concept", "openmrs_entity_id": "llin_2days", "type": "spinner", - "hint": "Did you sleep under the LLIN last night?", + "hint": "{{malaria_confirmation.step2.llin_2days.hint}}", "values": [ + "{{malaria_confirmation.step2.llin_2days.values[0]}}", + "{{malaria_confirmation.step2.llin_2days.values[1]}}" + ], + "keys": [ "Yes", "No" ], @@ -333,7 +361,7 @@ }, "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{malaria_confirmation.step2.llin_2days.v_required.err}}" }, "relevance": { "rules-engine": { @@ -349,8 +377,12 @@ "openmrs_entity": "concept", "openmrs_entity_id": "llin_condition", "type": "spinner", - "hint": "LLIN condition", + "hint": "{{malaria_confirmation.step2.llin_condition.hint}}", "values": [ + "{{malaria_confirmation.step2.llin_condition.values[0]}}", + "{{malaria_confirmation.step2.llin_condition.values[1]}}" + ], + "keys": [ "Okay", "Bad" ], @@ -360,7 +392,7 @@ }, "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{malaria_confirmation.step2.llin_condition.v_required.err}}" }, "relevance": { "rules-engine": { @@ -376,7 +408,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "malaria_edu_chw", "type": "check_box", - "label": "Malaria topics covered", + "label": "{{malaria_confirmation.step2.malaria_edu_chw.label}}", "label_text_style": "normal", "text_color": "#C0C0C0", "combine_checkbox_option_values": "true", @@ -386,42 +418,42 @@ "options": [ { "key": "overview_on_malaria", - "text": "Overview on malaria", + "text": "{{malaria_confirmation.step2.malaria_edu_chw.options.overview_on_malaria.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1379AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "malaria_prevention", - "text": "Malaria prevention", + "text": "{{malaria_confirmation.step2.malaria_edu_chw.options.malaria_prevention.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "164884AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "uncomplicated_malaria", - "text": "Uncomplicated malaria", + "text": "{{malaria_confirmation.step2.malaria_edu_chw.options.uncomplicated_malaria.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "159950AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "Severe_malaria", - "text": "Severe malaria", + "text": "{{malaria_confirmation.step2.malaria_edu_chw.options.Severe_malaria.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "160155AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "malaria_in_pregnancy", - "text": "Malaria in pregnancy", + "text": "{{malaria_confirmation.step2.malaria_edu_chw.options.malaria_in_pregnancy.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "135361AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_none", - "text": "None", + "text": "{{malaria_confirmation.step2.malaria_edu_chw.options.chk_none.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "chk_none" @@ -429,9 +461,10 @@ ], "v_required": { "value": "true", - "err": "Malaria topics covered required" + "err": "{{malaria_confirmation.step2.malaria_edu_chw.v_required.err}}" } } ] - } + }, + "properties_file_name": "malaria_confirmation" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/malaria_follow_up_visit.json b/opensrp-chw/src/ba/assets/json.form/malaria_follow_up_visit.json index e4ac4fc58a..3c0f173abb 100644 --- a/opensrp-chw/src/ba/assets/json.form/malaria_follow_up_visit.json +++ b/opensrp-chw/src/ba/assets/json.form/malaria_follow_up_visit.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Follow-up Visit", + "title": "{{malaria_follow_up_visit.step1.title}}", "fields": [ { "key": "date_chw_mfollowup", @@ -62,26 +62,25 @@ "openmrs_entity": "", "openmrs_entity_id": "1889AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Did you receive a referral or go to the hospital for malaria treatment?", + "label": "{{malaria_follow_up_visit.step1.hf_chw_mfollowup.label}}", "options": [ { "key": "Yes", "openmrs_entity": "", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{malaria_follow_up_visit.step1.hf_chw_mfollowup.options.Yes.text}}" }, { "key": "No", "openmrs_entity": "", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{malaria_follow_up_visit.step1.hf_chw_mfollowup.options.No.text}}" } ], "v_required": { - "value": "true", - "err": null + "value": "true" } }, { @@ -90,61 +89,60 @@ "openmrs_entity": "", "openmrs_entity_id": "162686AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Treatment given", + "label": "{{malaria_follow_up_visit.step1.treat_given_chw_mfollowup.label}}", "options": [ { "key": "ALU_6", "openmrs_entity": "", "openmrs_entity_id": "1072AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "ALU 6" + "text": "{{malaria_follow_up_visit.step1.treat_given_chw_mfollowup.options.ALU_6.text}}" }, { "key": "ALU_12", "openmrs_entity": "", "openmrs_entity_id": "1072AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "ALU 12" + "text": "{{malaria_follow_up_visit.step1.treat_given_chw_mfollowup.options.ALU_12.text}}" }, { "key": "ALU_18", "openmrs_entity": "", "openmrs_entity_id": "1072AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "ALU 18" + "text": "{{malaria_follow_up_visit.step1.treat_given_chw_mfollowup.options.ALU_18.text}}" }, { "key": "ALU_24", "openmrs_entity": "", "openmrs_entity_id": "1072AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "ALU 24" + "text": "{{malaria_follow_up_visit.step1.treat_given_chw_mfollowup.options.ALU_24.text}}" }, { "key": "Other_treatment", "openmrs_entity": "", "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Other treatment" + "text": "{{malaria_follow_up_visit.step1.treat_given_chw_mfollowup.options.Other_treatment.text}}" }, { "key": "Received_treatment_but_dont_remember_which_treatment", "openmrs_entity": "", "openmrs_entity_id": "1767AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Received treatment, but don't remember which treatment" + "text": "{{malaria_follow_up_visit.step1.treat_given_chw_mfollowup.options.Received_treatment_but_dont_remember_which_treatment.text}}" }, { "key": "Not_given_treatment", "openmrs_entity": "", "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Not given treatment" + "text": "{{malaria_follow_up_visit.step1.treat_given_chw_mfollowup.options.Not_given_treatment.text}}" } ], "v_required": { - "value": "true", - "err": null + "value": "true" }, "relevance": { "rules-engine": { @@ -160,33 +158,32 @@ "openmrs_entity": "", "openmrs_entity_id": "1743AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Reason treatment was not given", + "label": "{{malaria_follow_up_visit.step1.reason_no_treat.label}}", "options": [ { "key": "Referral_unsuccessful", "openmrs_entity": "", "openmrs_entity_id": "160068AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Referral unsuccessful" + "text": "{{malaria_follow_up_visit.step1.reason_no_treat.options.Referral_unsuccessful.text}}" }, { "key": "Drugs_stock_out", "openmrs_entity": "", "openmrs_entity_id": "1754AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Drugs stock out" + "text": "{{malaria_follow_up_visit.step1.reason_no_treat.options.Drugs_stock_out.text}}" }, { "key": "Other_reason", "openmrs_entity": "", "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Other reason" + "text": "{{malaria_follow_up_visit.step1.reason_no_treat.options.Other_reason.text}}" } ], "v_required": { - "value": "true", - "err": null + "value": "true" }, "relevance": { "rules-engine": { @@ -199,31 +196,28 @@ { "key": "fever_still", "type": "native_radio", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "140238AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Do you still have a fever?", + "label": "{{malaria_follow_up_visit.step1.fever_still.label}}", "options": [ { "key": "Yes", "openmrs_entity": "", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes", - "value": false + "text": "{{malaria_follow_up_visit.step1.fever_still.options.Yes.text}}" }, { "key": "No", "openmrs_entity": "", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No", - "value": false + "text": "{{malaria_follow_up_visit.step1.fever_still.options.No.text}}" } ], "v_required": { - "value": "true", - "err": null + "value": "true" } }, { @@ -232,26 +226,25 @@ "openmrs_entity": "", "openmrs_entity_id": "1731AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Duration of fever", + "label": "{{malaria_follow_up_visit.step1.fever_duration.label}}", "options": [ { "key": "Less_than_24hrs", "openmrs_entity": "", "openmrs_entity_id": "164449AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Less than 24hrs" + "text": "{{malaria_follow_up_visit.step1.fever_duration.options.Less_than_24hrs.text}}" }, { "key": "More_than_24hrs", "openmrs_entity": "", "openmrs_entity_id": "NA", "openmrs_entity_parent": "", - "text": "More than 24hrs" + "text": "{{malaria_follow_up_visit.step1.fever_duration.options.More_than_24hrs.text}}" } ], "v_required": { - "value": "true", - "err": null + "value": "true" }, "relevance": { "rules-engine": { @@ -260,24 +253,8 @@ } } } - }, - { - "key": "referral_note", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "toaster_notes", - "text": "Refer client to the health facility for further examination and tests", - "toaster_info_text": "Refer client to the health facility for further examination and tests", - "toaster_type": "info", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "malaria_followup_relevance.yml" - } - } - } } ] - } + }, + "properties_file_name": "malaria_follow_up_visit" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/malaria_referral_form.json b/opensrp-chw/src/ba/assets/json.form/malaria_referral_form.json index d6a9ece07e..c442a49361 100644 --- a/opensrp-chw/src/ba/assets/json.form/malaria_referral_form.json +++ b/opensrp-chw/src/ba/assets/json.form/malaria_referral_form.json @@ -52,7 +52,7 @@ } }, "step1": { - "title": "Malaria Referral", + "title": "{{malaria_referral_form.step1.title}}", "fields": [ { "key": "referral_problem_malaria", @@ -60,12 +60,12 @@ "openmrs_entity": "concept", "openmrs_entity_id": "referral_problem_malaria", "type": "check_box", - "label": "Details of the patient's problem", + "label": "{{malaria_referral_form.step1.referral_problem_malaria.label}}", "label_text_style": "bold", "options": [ { "key": "Fever", - "text": "Fever", + "text": "{{malaria_referral_form.step1.referral_problem_malaria.options.Fever.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "140238AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -73,7 +73,7 @@ }, { "key": "Diarrhea", - "text": "Diarrhea", + "text": "{{malaria_referral_form.step1.referral_problem_malaria.options.Diarrhea.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "142412AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -81,7 +81,7 @@ }, { "key": "Vomiting", - "text": "Vomiting", + "text": "{{malaria_referral_form.step1.referral_problem_malaria.options.Vomiting.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "122983AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -89,7 +89,7 @@ }, { "key": "Nausea", - "text": "Nausea", + "text": "{{malaria_referral_form.step1.referral_problem_malaria.options.Nausea.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "5978AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -97,7 +97,7 @@ }, { "key": "Trembling", - "text": "Trembling, shivering", + "text": "{{malaria_referral_form.step1.referral_problem_malaria.options.Trembling.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "158359AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -105,7 +105,7 @@ }, { "key": "A_severe_headache_dizziness", - "text": "A severe headache / dizziness", + "text": "{{malaria_referral_form.step1.referral_problem_malaria.options.A_severe_headache_dizziness.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "139081AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -113,7 +113,7 @@ }, { "key": "Sweating", - "text": "Sweating", + "text": "{{malaria_referral_form.step1.referral_problem_malaria.options.Sweating.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "140941AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -121,7 +121,7 @@ }, { "key": "Severe_abdominal_pain", - "text": "Severe abdominal pain", + "text": "{{malaria_referral_form.step1.referral_problem_malaria.options.Severe_abdominal_pain.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "165271AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -129,7 +129,7 @@ }, { "key": "Muscle_pain", - "text": "Muscle pain", + "text": "{{malaria_referral_form.step1.referral_problem_malaria.options.Muscle_pain.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "133632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -137,7 +137,7 @@ }, { "key": "Sweling_of_the_face_and_or_hands", - "text": "Sweling of the face and/or hands", + "text": "{{malaria_referral_form.step1.referral_problem_malaria.options.Sweling_of_the_face_and_or_hands.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "163894AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -145,7 +145,7 @@ }, { "key": "Difficult_in_breathing_fast_and_laboured_breathing", - "text": "Difficult in breathing (fast and laboured breathing)", + "text": "{{malaria_referral_form.step1.referral_problem_malaria.options.Difficult_in_breathing_fast_and_laboured_breathing.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "142373AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -153,7 +153,7 @@ }, { "key": "Convulsions", - "text": "Convulsions", + "text": "{{malaria_referral_form.step1.referral_problem_malaria.options.Convulsions.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "113054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -161,7 +161,7 @@ }, { "key": "Very_weak", - "text": "Very weak", + "text": "{{malaria_referral_form.step1.referral_problem_malaria.options.Very_weak.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "5226AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -169,7 +169,7 @@ }, { "key": "Irritable_easily_disturbed", - "text": "Irritable (easily disturbed)", + "text": "{{malaria_referral_form.step1.referral_problem_malaria.options.Irritable_easily_disturbed.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "118296AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -177,7 +177,7 @@ }, { "key": "Unconcious", - "text": "Unconcious", + "text": "{{malaria_referral_form.step1.referral_problem_malaria.options.Unconcious.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "123818AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -185,7 +185,7 @@ }, { "key": "Unusually_sleepy", - "text": "Unusually sleepy", + "text": "{{malaria_referral_form.step1.referral_problem_malaria.options.Unusually_sleepy.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "117417AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -193,7 +193,7 @@ }, { "key": "Neck_stiffness", - "text": "Neck stiffness", + "text": "{{malaria_referral_form.step1.referral_problem_malaria.options.Neck_stiffness.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "112721AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -201,7 +201,7 @@ }, { "key": "Unable_to_sit_without_support", - "text": "Unable to sit without support", + "text": "{{malaria_referral_form.step1.referral_problem_malaria.options.Unable_to_sit_without_support.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "123833AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -209,7 +209,7 @@ }, { "key": "Abnormal_bleeding_or_passing_of_urine_with_blood", - "text": "Abnormal bleeding or passing of urine with blood", + "text": "{{malaria_referral_form.step1.referral_problem_malaria.options.Abnormal_bleeding_or_passing_of_urine_with_blood.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "147241AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -217,7 +217,7 @@ }, { "key": "Severe_anaemia_pale_palms_and_inner_eyelids", - "text": "Severe anaemia (pale palms and inner eyelids)", + "text": "{{malaria_referral_form.step1.referral_problem_malaria.options.Severe_anaemia_pale_palms_and_inner_eyelids.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "162044AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -225,7 +225,7 @@ }, { "key": "Yellowing_of_the_eyes_jaundice", - "text": "Yellowing of the eyes (jaundice)", + "text": "{{malaria_referral_form.step1.referral_problem_malaria.options.Yellowing_of_the_eyes_jaundice.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "136443AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -233,7 +233,7 @@ }, { "key": "Severe_malnutrition", - "text": "Severe malnutrition", + "text": "{{malaria_referral_form.step1.referral_problem_malaria.options.Severe_malnutrition.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "163302AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -241,7 +241,7 @@ }, { "key": "Bloating", - "text": "Bloating", + "text": "{{malaria_referral_form.step1.referral_problem_malaria.options.Bloating.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "147132AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -250,7 +250,7 @@ ], "v_required": { "value": true, - "err": "Please specify problem associated with the client" + "err": "{{malaria_referral_form.step1.referral_problem_malaria.v_required.err}}" } }, { @@ -259,7 +259,7 @@ "openmrs_entity": "", "openmrs_entity_id": "service_before_malaria", "type": "check_box", - "label": "Treatment given before the referral", + "label": "{{malaria_referral_form.step1.service_before_malaria.label}}", "label_text_style": "bold", "is_problem": false, "exclusive": [ @@ -268,7 +268,7 @@ "options": [ { "key": "Rectal_artesunate", - "text": "Rectal artesunate", + "text": "{{malaria_referral_form.step1.service_before_malaria.options.Rectal_artesunate.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "71561AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -276,7 +276,7 @@ }, { "key": "Panadol", - "text": "Panadol", + "text": "{{malaria_referral_form.step1.service_before_malaria.options.Panadol.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "70116AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -284,7 +284,7 @@ }, { "key": "ORS", - "text": "ORS", + "text": "{{malaria_referral_form.step1.service_before_malaria.options.ORS.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "351AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -292,7 +292,7 @@ }, { "key": "Other_treatment", - "text": "Other treatment", + "text": "{{malaria_referral_form.step1.service_before_malaria.options.Other_treatment.text}}", "value": false, "ignore": true, "openmrs_entity": "", @@ -301,7 +301,7 @@ }, { "key": "None", - "text": "None", + "text": "{{malaria_referral_form.step1.service_before_malaria.options.None.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -310,7 +310,7 @@ ], "v_required": { "value": "true", - "err": "Treatment given before referral is required" + "err": "{{malaria_referral_form.step1.service_before_malaria.v_required.err}}" } }, { @@ -320,11 +320,11 @@ "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", "edit_type": "name", - "hint": "Other treatment", + "hint": "{{malaria_referral_form.step1.service_before_malaria_other.hint}}", "is_problem": false, "v_required": { "value": "true", - "err": "Please specify other treatment" + "err": "{{malaria_referral_form.step1.service_before_malaria_other.v_required.err}}" }, "relevance": { "rules-engine": { @@ -335,5 +335,6 @@ } } ] - } + }, + "properties_file_name": "malaria_referral_form" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/male_family_planning_change_method.json b/opensrp-chw/src/ba/assets/json.form/male_family_planning_change_method.json index 1f989f3ef4..bc044c3df4 100644 --- a/opensrp-chw/src/ba/assets/json.form/male_family_planning_change_method.json +++ b/opensrp-chw/src/ba/assets/json.form/male_family_planning_change_method.json @@ -51,7 +51,7 @@ "encounter_location": "" }, "step1": { - "title": "Change or Stop FP form", + "title": "{{male_family_planning_change_method.step1.title}}", "next": "step2", "fields": [ { @@ -74,28 +74,28 @@ "openmrs_entity": "concept", "openmrs_entity_id": "164901AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Reason the man is stopping his current family planning method", + "label": "{{male_family_planning_change_method.step1.reason_stop_fp_chw.label}}", "options": [ { "key": "side_effects", "openmrs_entity": "concept", "openmrs_entity_id": "164154AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Side-effects" + "text": "{{male_family_planning_change_method.step1.reason_stop_fp_chw.options.side_effects.text}}" }, { "key": "wants_to_conceive", "openmrs_entity": "concept", "openmrs_entity_id": "160571AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Wants to conceive" + "text": "{{male_family_planning_change_method.step1.reason_stop_fp_chw.options.wants_to_conceive.text}}" }, { "key": "doesnt_want_to_use_anymore", "openmrs_entity": "concept", "openmrs_entity_id": "164260AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Doesn't want to use anymore" + "text": "{{male_family_planning_change_method.step1.reason_stop_fp_chw.options.doesnt_want_to_use_anymore.text}}" }, { "key": "decided_to_change_method", @@ -103,19 +103,19 @@ "openmrs_entity_id": "163494AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", "value": false, - "text": "Decided to change method" + "text": "{{male_family_planning_change_method.step1.reason_stop_fp_chw.options.decided_to_change_method.text}}" }, { "key": "others", "openmrs_entity": "concept", "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Others" + "text": "{{male_family_planning_change_method.step1.reason_stop_fp_chw.options.others.text}}" } ], "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{male_family_planning_change_method.step1.reason_stop_fp_chw.v_required.err}}" } }, { @@ -125,10 +125,10 @@ "openmrs_entity_id": "other_reason_fp_chw", "openmrs_entity_parent": "164901AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "edit_type": "name", - "hint": "Other reason", + "hint": "{{male_family_planning_change_method.step1.other_reason_fp_chw.hint}}", "v_required": { "value": "true", - "err": "Required" + "err": "{{male_family_planning_change_method.step1.other_reason_fp_chw.v_required.err}}" }, "relevance": { "rules-engine": { @@ -145,10 +145,10 @@ "openmrs_entity_id": "side_effects_fp", "openmrs_entity_parent": "164154AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "edit_type": "name", - "hint": "Side effects", + "hint": "{{male_family_planning_change_method.step1.side_effects_fp.hint}}", "v_required": { "value": "true", - "err": "Required" + "err": "{{male_family_planning_change_method.step1.side_effects_fp.v_required.err}}" }, "relevance": { "rules-engine": { @@ -161,7 +161,7 @@ ] }, "step2": { - "title": "Family planning method", + "title": "{{male_family_planning_change_method.step2.title}}", "next": "step3", "fields": [ { @@ -171,8 +171,13 @@ "openmrs_entity_id": "374AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Family planning method selected", + "hint": "{{male_family_planning_change_method.step2.fp_method_chosen.hint}}", "values": [ + "{{male_family_planning_change_method.step2.fp_method_chosen.values[0]}}", + "{{male_family_planning_change_method.step2.fp_method_chosen.values[1]}}", + "{{male_family_planning_change_method.step2.fp_method_chosen.values[2]}}" + ], + "keys": [ "Male condom", "Female condom", "Male sterilization" @@ -184,7 +189,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{male_family_planning_change_method.step2.fp_method_chosen.v_required.err}}" }, "relevance": { "rules-engine": { @@ -211,7 +216,7 @@ ] }, "step3": { - "title": "Family planning method info", + "title": "{{male_family_planning_change_method.step3.title}}", "fields": [ { "key": "no_condoms", @@ -220,18 +225,18 @@ "openmrs_entity_id": "no_condoms", "type": "edit_text", "edit_type": "number", - "hint": "How many condoms was he given?", + "hint": "{{male_family_planning_change_method.step3.no_condoms.hint}}", "v_required": { "value": "true", - "err": "Equal or greater than 0" + "err": "{{male_family_planning_change_method.step3.no_condoms.v_required.err}}" }, "v_numeric_integer": { "value": "true", - "err": "Must be a rounded number" + "err": "{{male_family_planning_change_method.step3.no_condoms.v_numeric_integer.err}}" }, "v_min": { "value": "0", - "err": "Number must be equal or greater than 0" + "err": "{{male_family_planning_change_method.step3.no_condoms.v_min.err}}" }, "relevance": { "rules-engine": { @@ -268,8 +273,12 @@ "openmrs_entity": "concept", "openmrs_entity_id": "counselling_use", "type": "spinner", - "hint": "Was he counselled on how to use the family planning method?", + "hint": "{{male_family_planning_change_method.step3.counselling_use.hint}}", "values": [ + "{{male_family_planning_change_method.step3.counselling_use.values[0]}}", + "{{male_family_planning_change_method.step3.counselling_use.values[1]}}" + ], + "keys": [ "Yes", "No" ], @@ -279,7 +288,7 @@ }, "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{male_family_planning_change_method.step3.counselling_use.v_required.err}}" }, "relevance": { "rules-engine": { @@ -295,7 +304,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "fp_start_male_ster", "type": "date_picker", - "hint": "Date of male sterilization", + "hint": "{{male_family_planning_change_method.step3.fp_start_male_ster.hint}}", "max_date": "today", "relevance": { "rules-engine": { @@ -306,7 +315,7 @@ }, "v_required": { "value": "true", - "err": "Required" + "err": "{{male_family_planning_change_method.step3.fp_start_male_ster.v_required.err}}" } }, { @@ -315,8 +324,8 @@ "openmrs_entity": "", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Advise the man to use condoms for the first 3 months to prevent pregnancy", - "toaster_info_text": "A note to inform the client that they should use condoms for the first three months after the sterialization to prevent pregnancy", + "text": "{{male_family_planning_change_method.step3.fp_male_ster_note.text}}", + "toaster_info_text": "{{male_family_planning_change_method.step3.fp_male_ster_note.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -332,26 +341,26 @@ "openmrs_entity": "concept", "openmrs_entity_id": "referral_given", "openmrs_entity_parent": "", - "label": "Was he referred to the health facility?", + "label": "{{male_family_planning_change_method.step3.referral_given.label}}", "options": [ { "key": "yes", "openmrs_entity": "concept", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{male_family_planning_change_method.step3.referral_given.options.yes.text}}" }, { "key": "no", "openmrs_entity": "concept", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{male_family_planning_change_method.step3.referral_given.options.no.text}}" } ], "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{male_family_planning_change_method.step3.referral_given.v_required.err}}" } }, { @@ -370,5 +379,6 @@ } } ] - } + }, + "properties_file_name": "male_family_planning_change_method" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/male_family_planning_registration.json b/opensrp-chw/src/ba/assets/json.form/male_family_planning_registration.json index 5b7de6ce92..5b806ea094 100644 --- a/opensrp-chw/src/ba/assets/json.form/male_family_planning_registration.json +++ b/opensrp-chw/src/ba/assets/json.form/male_family_planning_registration.json @@ -54,7 +54,7 @@ } }, "step1": { - "title": "Family planning registration Info", + "title": "{{male_family_planning_registration.step1.title}}", "next": "step2", "fields": [ { @@ -77,26 +77,26 @@ "openmrs_entity": "concept", "openmrs_entity_id": "using_method", "openmrs_entity_parent": "", - "label": "Is the man already using a family planning method?", + "label": "{{male_family_planning_registration.step1.using_method.label}}", "options": [ { "key": "yes", "openmrs_entity": "concept", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{male_family_planning_registration.step1.using_method.options.yes.text}}" }, { "key": "no", "openmrs_entity": "concept", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{male_family_planning_registration.step1.using_method.options.no.text}}" } ], "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{male_family_planning_registration.step1.using_method.v_required.err}}" } }, { @@ -105,26 +105,26 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1382AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Was he counselled on different family planning methods?", + "label": "{{male_family_planning_registration.step1.couselling_fp_methods.label}}", "options": [ { "key": "yes", "openmrs_entity": "concept", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{male_family_planning_registration.step1.couselling_fp_methods.options.yes.text}}" }, { "key": "no", "openmrs_entity": "concept", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{male_family_planning_registration.step1.couselling_fp_methods.options.no.text}}" } ], "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{male_family_planning_registration.step1.couselling_fp_methods.v_required.err}}" }, "relevance": { "rules-engine": { @@ -140,26 +140,26 @@ "openmrs_entity": "concept", "openmrs_entity_id": "couselling_HIV_STI", "openmrs_entity_parent": "", - "label": "Was he counselled on HIV and STI prevention?", + "label": "{{male_family_planning_registration.step1.couselling_HIV_STI.label}}", "options": [ { "key": "yes", "openmrs_entity": "concept", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{male_family_planning_registration.step1.couselling_HIV_STI.options.yes.text}}" }, { "key": "no", "openmrs_entity": "concept", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{male_family_planning_registration.step1.couselling_HIV_STI.options.no.text}}" } ], "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{male_family_planning_registration.step1.couselling_HIV_STI.v_required.err}}" }, "relevance": { "rules-engine": { @@ -172,7 +172,7 @@ ] }, "step2": { - "title": "Family planning method", + "title": "{{male_family_planning_registration.step2.title}}", "next": "step3", "fields": [ { @@ -181,8 +181,12 @@ "openmrs_entity": "concept", "openmrs_entity_id": "160576AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "spinner", - "hint": "Family planning method selected", + "hint": "{{male_family_planning_registration.step2.fp_method_chw.hint}}", "values": [ + "{{male_family_planning_registration.step2.fp_method_chw.values[0]}}", + "{{male_family_planning_registration.step2.fp_method_chw.values[1]}}" + ], + "keys": [ "Male condom", "Female condom" ], @@ -192,7 +196,7 @@ }, "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{male_family_planning_registration.step2.fp_method_chw.v_required.err}}" }, "relevance": { "rules-engine": { @@ -208,8 +212,13 @@ "openmrs_entity": "concept", "openmrs_entity_id": "374AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "spinner", - "hint": "Family planning method selected", + "hint": "{{male_family_planning_registration.step2.fp_method_already.hint}}", "values": [ + "{{male_family_planning_registration.step2.fp_method_already.values[0]}}", + "{{male_family_planning_registration.step2.fp_method_already.values[1]}}", + "{{male_family_planning_registration.step2.fp_method_already.values[2]}}" + ], + "keys": [ "Male condom", "Female condom", "Male sterilization" @@ -221,7 +230,7 @@ }, "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{male_family_planning_registration.step2.fp_method_already.v_required.err}}" }, "relevance": { "rules-engine": { @@ -248,7 +257,7 @@ ] }, "step3": { - "title": "Family planning method info", + "title": "{{male_family_planning_registration.step3.title}}", "fields": [ { "key": "ecp", @@ -271,18 +280,18 @@ "openmrs_entity_id": "no_condoms", "type": "edit_text", "edit_type": "number", - "hint": "How many condoms was he given?", + "hint": "{{male_family_planning_registration.step3.no_condoms.hint}}", "v_required": { "value": "true", - "err": "Equal or greater than 0" + "err": "{{male_family_planning_registration.step3.no_condoms.v_required.err}}" }, "v_numeric_integer": { "value": "true", - "err": "Must be a rounded number" + "err": "{{male_family_planning_registration.step3.no_condoms.v_numeric_integer.err}}" }, "v_min": { "value": "0", - "err": "Number must be equal or greater than 0" + "err": "{{male_family_planning_registration.step3.no_condoms.v_min.err}}" }, "relevance": { "rules-engine": { @@ -312,8 +321,12 @@ "openmrs_entity": "concept", "openmrs_entity_id": "counselling_use", "type": "spinner", - "hint": "Was he counselled on how to use the family planning method?", + "hint": "{{male_family_planning_registration.step3.counselling_use.hint}}", "values": [ + "{{male_family_planning_registration.step3.counselling_use.values[0]}}", + "{{male_family_planning_registration.step3.counselling_use.values[1]}}" + ], + "keys": [ "Yes", "No" ], @@ -323,7 +336,7 @@ }, "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{male_family_planning_registration.step3.counselling_use.v_required.err}}" }, "relevance": { "rules-engine": { @@ -339,7 +352,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "fp_start_male_ster", "type": "date_picker", - "hint": "Date of male sterilization", + "hint": "{{male_family_planning_registration.step3.fp_start_male_ster.hint}}", "max_date": "today", "relevance": { "rules-engine": { @@ -350,7 +363,7 @@ }, "v_required": { "value": "true", - "err": "Required" + "err": "{{male_family_planning_registration.step3.fp_start_male_ster.v_required.err}}" } }, { @@ -359,8 +372,8 @@ "openmrs_entity": "", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Advise the man to use condoms for the first 3 months to prevent pregnancy", - "toaster_info_text": "A note to inform the client that they should use condoms for the first three months after the sterialization to prevent pregnancy", + "text": "{{male_family_planning_registration.step3.fp_male_ster_note.text}}", + "toaster_info_text": "{{male_family_planning_registration.step3.fp_male_ster_note.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -376,26 +389,26 @@ "openmrs_entity": "concept", "openmrs_entity_id": "referral_given", "openmrs_entity_parent": "", - "label": "Was he referred to the health facility?", + "label": "{{male_family_planning_registration.step3.referral_given.label}}", "options": [ { "key": "yes", "openmrs_entity": "concept", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{male_family_planning_registration.step3.referral_given.options.yes.text}}" }, { "key": "no", "openmrs_entity": "concept", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{male_family_planning_registration.step3.referral_given.options.no.text}}" } - ], + ], "v_required": { "value": "true", - "err": "Please select one choice" + "err": "{{male_family_planning_registration.step3.referral_given.v_required.err}}" } }, { @@ -414,5 +427,6 @@ } } ] - } + }, + "properties_file_name": "male_family_planning_registration" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/male_fp_referral_form.json b/opensrp-chw/src/ba/assets/json.form/male_fp_referral_form.json index d4587ed1cc..b390fd3cd1 100644 --- a/opensrp-chw/src/ba/assets/json.form/male_fp_referral_form.json +++ b/opensrp-chw/src/ba/assets/json.form/male_fp_referral_form.json @@ -52,7 +52,7 @@ } }, "step1": { - "title": "Family Planning Referral", + "title": "{{male_fp_referral_form.step1.title}}", "fields": [ { "key": "fp_method_accepted_referral", @@ -60,7 +60,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "374AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "FP method chosen requiring a referral", + "label": "{{male_fp_referral_form.step1.fp_method_accepted_referral.label}}", "label_text_style": "bold", "options": [ { @@ -68,40 +68,40 @@ "openmrs_entity": "", "openmrs_entity_id": "164813AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Male condom" + "text": "{{male_fp_referral_form.step1.fp_method_accepted_referral.options.Male_condom.text}}" }, { "key": "Female_condom", "openmrs_entity": "", "openmrs_entity_id": "164814AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Female condom" + "text": "{{male_fp_referral_form.step1.fp_method_accepted_referral.options.Female_condom.text}}" }, { "key": "Male_sterilization", "openmrs_entity": "", "openmrs_entity_id": "1489AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Male sterilization" + "text": "{{male_fp_referral_form.step1.fp_method_accepted_referral.options.Male_sterilization.text}}" }, { "key": "None", "openmrs_entity": "", "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "None" + "text": "{{male_fp_referral_form.step1.fp_method_accepted_referral.options.None.text}}" }, { "key": "Not_applicable", "openmrs_entity": "", "openmrs_entity_id": "1175AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Not applicable" + "text": "{{male_fp_referral_form.step1.fp_method_accepted_referral.options.Not_applicable.text}}" } ], "v_required": { "value": "true", - "err": "Please select a family planning method" + "err": "{{male_fp_referral_form.step1.fp_method_accepted_referral.v_required.err}}" } }, { @@ -110,7 +110,7 @@ "openmrs_entity": "", "openmrs_entity_id": "", "openmrs_entity_parent": "", - "label": "Family planning side-effects", + "label": "{{male_fp_referral_form.step1.side_effects_sterialization.label}}", "label_text_style": "bold", "exclusive": [ "None", @@ -119,7 +119,7 @@ "options": [ { "key": "Incisional_bleeding", - "text": "Incisional bleeding", + "text": "{{male_fp_referral_form.step1.side_effects_sterialization.options.Incisional_bleeding.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "147241AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -127,7 +127,7 @@ }, { "key": "Pus_Discharge_from_incision", - "text": "Pus/Discharge from incision", + "text": "{{male_fp_referral_form.step1.side_effects_sterialization.options.Pus_Discharge_from_incision.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "164495AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -135,7 +135,7 @@ }, { "key": "Swollen_around_the_incision", - "text": "Swollen around the incision", + "text": "{{male_fp_referral_form.step1.side_effects_sterialization.options.Swollen_around_the_incision.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "159012AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -143,7 +143,7 @@ }, { "key": "Others", - "text": "Others", + "text": "{{male_fp_referral_form.step1.side_effects_sterialization.options.Others.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -151,7 +151,7 @@ }, { "key": "None", - "text": "None", + "text": "{{male_fp_referral_form.step1.side_effects_sterialization.options.None.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -159,7 +159,7 @@ }, { "key": "Not_applicable", - "text": "Not applicable", + "text": "{{male_fp_referral_form.step1.side_effects_sterialization.options.Not_applicable.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "1175AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -168,7 +168,7 @@ ], "v_required": { "value": "true", - "err": "Please select a value" + "err": "{{male_fp_referral_form.step1.side_effects_sterialization.v_required.err}}" }, "relevance": { "rules-engine": { @@ -199,10 +199,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "hint": "Other side effects", + "hint": "{{male_fp_referral_form.step1.fp_side_effects_other.hint}}", "v_required": { "value": "true", - "err": "Please specify other side effects" + "err": "{{male_fp_referral_form.step1.fp_side_effects_other.v_required.err}}" }, "relevance": { "rules-engine": { @@ -243,5 +243,6 @@ } } ] - } + }, + "properties_file_name": "male_fp_referral_form" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/monthly_report.json b/opensrp-chw/src/ba/assets/json.form/monthly_report.json index 77b1afe49b..2f068387f0 100644 --- a/opensrp-chw/src/ba/assets/json.form/monthly_report.json +++ b/opensrp-chw/src/ba/assets/json.form/monthly_report.json @@ -52,62 +52,63 @@ } }, "step1": { - "title": "Women Clients (1 of 12)", + "title": "{{monthly_report.step1.title}}", "next": "step2", "fields": [] }, "step2": { - "title": "Newborns and Children Clients (2 of 12)", + "title": "{{monthly_report.step2.title}}", "next": "step3", "fields": [] }, "step3": { - "title": "Households (3 of 12)", + "title": "{{monthly_report.step3.title}}", "next": "step4", "fields": [] }, "step4": { - "title": "Referrals given (4 of 12)", + "title": "{{monthly_report.step4.title}}", "next": "step5", "fields": [] }, "step5": { - "title": "Health education meetings (5 of 12)", + "title": "{{monthly_report.step5.title}}", "next": "step6", "fields": [] }, "step6": { - "title": "Birth and death information (6 of 12)", + "title": "{{monthly_report.step6.title}}", "next": "step7", "fields": [] }, "step7": { - "title": "Family Planning (7 of 12)", + "title": "{{monthly_report.step7.title}}", "next": "step8", "fields": [] }, "step8": { - "title": "Oral Contraceptive Pill (8 of 12)", + "title": "{{monthly_report.step8.title}}", "next": "step9", "fields": [] }, "step9": { - "title": "Condoms (9 of 12)", + "title": "{{monthly_report.step9.title}}", "next": "step10", "fields": [] }, "step10": { - "title": "Cycles (10 of 12)", + "title": "{{monthly_report.step10.title}}", "next": "step11", "fields": [] }, "step11": { - "title": "Counseling (11 of 12)", + "title": "{{monthly_report.step11.title}}", "next": "step12", "fields": [] }, "step12": { - "title": "Fp Referrals (12 of 12)", + "title": "{{monthly_report.step12.title}}", "fields": [] - } + }, + "properties_file_name": "monthly_report" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/observation_illness.json b/opensrp-chw/src/ba/assets/json.form/observation_illness.json index 4d980f23b0..80e1f9ff64 100644 --- a/opensrp-chw/src/ba/assets/json.form/observation_illness.json +++ b/opensrp-chw/src/ba/assets/json.form/observation_illness.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Observations & Illness", + "title": "{{observation_illness.step1.title}}", "fields": [ { "key": "date_of_illness", @@ -55,13 +55,13 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1730AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "date_picker", - "hint": "Date", + "hint": "{{observation_illness.step1.date_of_illness.hint}}", "expanded": false, "max_date": "today", "min_date": "", "v_required": { "value": "true", - "err": "Please enter illness date" + "err": "{{observation_illness.step1.date_of_illness.v_required.err}}" } }, { @@ -71,10 +71,10 @@ "openmrs_entity_id": "1390AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "text", "type": "edit_text", - "hint": "Description", + "hint": "{{observation_illness.step1.illness_description.hint}}", "v_required": { "value": "true", - "err": "Please enter description" + "err": "{{observation_illness.step1.illness_description.v_required.err}}" } }, { @@ -84,38 +84,34 @@ "openmrs_entity_id": "164378AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Action taken", + "hint": "{{observation_illness.step1.action_taken_1m5yr.hint}}", "v_required": { "value": "true", - "err": "Please select action" + "err": "{{observation_illness.step1.action_taken_1m5yr.v_required.err}}" }, "values": [ - "ORS 5", - "Zinc 10", - "Panadol", - "Referred", - "Other treatment", - "No treatment given" + "{{observation_illness.step1.action_taken_1m5yr.values[0]}}", + "{{observation_illness.step1.action_taken_1m5yr.values[1]}}", + "{{observation_illness.step1.action_taken_1m5yr.values[2]}}", + "{{observation_illness.step1.action_taken_1m5yr.values[3]}}" ], "keys": [ "ORS 5", "Zinc 10", - "Panadol", - "Referred", - "Other treatment given", - "No treatment" + "Paracetamol", + "Other treatment" ] }, { "key": "other_treat_1m5yr", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "type": "edit_text", - "hint": "Other treatment", + "hint": "{{observation_illness.step1.other_treat_1m5yr.hint}}", "v_required": { "value": "true", - "err": "Please specify the other treatment" + "err": "{{observation_illness.step1.other_treat_1m5yr.v_required.err}}" }, "relevance": { "step1:action_taken_1m5yr": { @@ -125,5 +121,6 @@ } } ] - } + }, + "properties_file_name": "observation_illness" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/pnc_counselling.json b/opensrp-chw/src/ba/assets/json.form/pnc_counselling.json index 8152a973a4..9f618ae51f 100644 --- a/opensrp-chw/src/ba/assets/json.form/pnc_counselling.json +++ b/opensrp-chw/src/ba/assets/json.form/pnc_counselling.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Counselling", + "title": "{{pnc_counselling.step1.title}}", "fields": [ { "key": "couselling_pnc", @@ -55,7 +55,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1379AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "check_box", - "label": "Counselling provided", + "label": "{{pnc_counselling.step1.couselling_pnc.label}}", "label_text_style": "normal", "text_color": "#C0C0C0", "exclusive": [ @@ -64,140 +64,133 @@ "options": [ { "key": "chk_maternal_nutrition", - "text": "3. Maternal nutrition during breastfeeding", + "text": "{{pnc_counselling.step1.couselling_pnc.options.chk_maternal_nutrition.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1380AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_hiv_aids", - "text": "5. HIV/AIDS general information", + "text": "{{pnc_counselling.step1.couselling_pnc.options.chk_hiv_aids.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1914AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_pmtct", - "text": "6. PMTCT for the mother", + "text": "{{pnc_counselling.step1.couselling_pnc.options.chk_pmtct.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "160538AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_malaria_prevention", - "text": "7. Malaria prevention", + "text": "{{pnc_counselling.step1.couselling_pnc.options.chk_malaria_prevention.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "164884AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_pnc_care_for_mother", - "text": "9. PNC care for mother", + "text": "{{pnc_counselling.step1.couselling_pnc.options.chk_pnc_care_for_mother.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1623AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, - { - "key": "chk_hiv_exposed_infant", - "text": "9. Follow-up for the HIV-exposed Infant", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "164818AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, { "key": "chk_pnc_danger_signs", - "text": "10. PNC danger signs", + "text": "{{pnc_counselling.step1.couselling_pnc.options.chk_pnc_danger_signs.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "161541AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_care_of_infant_after_birth", - "text": "11. Care of infant after birth", + "text": "{{pnc_counselling.step1.couselling_pnc.options.chk_care_of_infant_after_birth.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "159839AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_care_of_premature_baby", - "text": "12. Care of a premature baby", + "text": "{{pnc_counselling.step1.couselling_pnc.options.chk_care_of_premature_baby.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "" }, { "key": "chk_care_of_new_born", - "text": "13. Care of a newborn", + "text": "{{pnc_counselling.step1.couselling_pnc.options.chk_care_of_new_born.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "160413AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_new_born_danger_signs", - "text": "14. Newborn danger signs", + "text": "{{pnc_counselling.step1.couselling_pnc.options.chk_new_born_danger_signs.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "161071AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_hiv_exposed_infant", - "text": "15. Follow-up for the HIV-exposed infant", + "text": "{{pnc_counselling.step1.couselling_pnc.options.chk_hiv_exposed_infant.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "164818AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_breastfeeding", - "text": "16. Breastfeeding", + "text": "{{pnc_counselling.step1.couselling_pnc.options.chk_breastfeeding.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1910AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_lam", - "text": "17. LAM as a natural FP method, which includes exclusive breastfeeding six months after delivery", + "text": "{{pnc_counselling.step1.couselling_pnc.options.chk_lam.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "161096AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_family_planning", - "text": "18. Family planning", + "text": "{{pnc_counselling.step1.couselling_pnc.options.chk_family_planning.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1382AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_birth_registration", - "text": "19. Birth registration", + "text": "{{pnc_counselling.step1.couselling_pnc.options.chk_birth_registration.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "165406AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_immunisation", - "text": "22. Immunisation", + "text": "{{pnc_counselling.step1.couselling_pnc.options.chk_immunisation.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1914AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_infection_prevention", - "text": "24. Infection prevention and control", + "text": "{{pnc_counselling.step1.couselling_pnc.options.chk_infection_prevention.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1906AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_gender_issues", - "text": "26. Gender issues", + "text": "{{pnc_counselling.step1.couselling_pnc.options.chk_gender_issues.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "" }, { "key": "chk_none", - "text": "None", + "text": "{{pnc_counselling.step1.couselling_pnc.options.chk_none.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" @@ -205,9 +198,10 @@ ], "v_required": { "value": "true", - "err": "Please pick at least one" + "err": "{{pnc_counselling.step1.couselling_pnc.v_required.err}}" } } ] - } -} + }, + "properties_file_name": "pnc_counselling" +} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/pnc_danger_signs_baby.json b/opensrp-chw/src/ba/assets/json.form/pnc_danger_signs_baby.json index 539646a6ce..5bf7522836 100644 --- a/opensrp-chw/src/ba/assets/json.form/pnc_danger_signs_baby.json +++ b/opensrp-chw/src/ba/assets/json.form/pnc_danger_signs_baby.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Danger Signs Baby", + "title": "{{pnc_danger_signs_baby.step1.title}}", "fields": [ { "key": "danger_signs_present_child", @@ -55,7 +55,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "159860AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "check_box", - "label": "Does the baby have any danger signs?", + "label": "{{pnc_danger_signs_baby.step1.danger_signs_present_child.label}}", "label_text_style": "normal", "text_color": "#C0C0C0", "exclusive": [ @@ -64,98 +64,98 @@ "options": [ { "key": "chk_fever", - "text": "Fever", + "text": "{{pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_fever.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "140238AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_excessive_crying", - "text": "Excessive crying", + "text": "{{pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_excessive_crying.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "110540AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_fast_breathing", - "text": "Fast breathing", + "text": "{{pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_fast_breathing.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "125061AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_difficult_breathing", - "text": "Difficulty breathing", + "text": "{{pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_difficult_breathing.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "142373AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_unable_to_suck", - "text": "Unable to suck", + "text": "{{pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_unable_to_suck.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "159861AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_umbilical_discharge", - "text": "Umbilical blood / pus discharge", + "text": "{{pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_umbilical_discharge.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "123843AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_no_movement", - "text": "No movement", + "text": "{{pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_no_movement.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "164455AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_convulsions", - "text": "Convulsions", + "text": "{{pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_convulsions.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "164483AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_skin_rashes", - "text": "Skin rashes", + "text": "{{pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_skin_rashes.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "512AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_pale", - "text": "Pale or jaundiced", + "text": "{{pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_pale.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "136443AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_eye_discharge", - "text": "Eye discharge", + "text": "{{pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_eye_discharge.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "142246AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_severe_abdominal_pain", - "text": "Severe abdominal pain", + "text": "{{pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_severe_abdominal_pain.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "165271AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_lethargy", - "text": "Lethargy", + "text": "{{pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_lethargy.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "116334AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_none", - "text": "None", + "text": "{{pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_none.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" @@ -163,16 +163,16 @@ ], "v_required": { "value": "true", - "err": "Please pick at least one" + "err": "{{pnc_danger_signs_baby.step1.danger_signs_present_child.v_required.err}}" } }, { "key": "danger_signs_present_toaster", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Danger sign! \nRefer immediately to health facility.", + "text": "{{pnc_danger_signs_baby.step1.danger_signs_present_toaster.text}}", "text_color": "#CF0800", "toaster_type": "problem", "relevance": { @@ -200,5 +200,6 @@ } } ] - } -} + }, + "properties_file_name": "pnc_danger_signs_baby" +} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/pnc_danger_signs_mother.json b/opensrp-chw/src/ba/assets/json.form/pnc_danger_signs_mother.json index ad93129284..4128404738 100644 --- a/opensrp-chw/src/ba/assets/json.form/pnc_danger_signs_mother.json +++ b/opensrp-chw/src/ba/assets/json.form/pnc_danger_signs_mother.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Danger Signs Mother", + "title": "{{pnc_danger_signs_mother.step1.title}}", "fields": [ { "key": "danger_signs_present_mama", @@ -55,7 +55,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "160939AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "check_box", - "label": "Does the mother have any danger signs?", + "label": "{{pnc_danger_signs_mother.step1.danger_signs_present_mama.label}}", "label_text_style": "normal", "text_color": "#C0C0C0", "exclusive": [ @@ -64,98 +64,98 @@ "options": [ { "key": "chk_fever", - "text": "Fever", + "text": "{{pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_fever.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "140238AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_bleeding_vaginally", - "text": "Bleeding vaginally", + "text": "{{pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_bleeding_vaginally.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "150802AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_server_headache", - "text": "Severe headache", + "text": "{{pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_server_headache.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "139081AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_convulsions", - "text": "Convulsions", + "text": "{{pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_convulsions.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "164483AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_difficulty_breathing", - "text": "Difficulty breathing", + "text": "{{pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_difficulty_breathing.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "142373AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_severe_leg_pain", - "text": "Severe leg pain", + "text": "{{pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_severe_leg_pain.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "114395AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_unusual_behaviour", - "text": "Unusual behaviour (stress, confusion)", + "text": "{{pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_unusual_behaviour.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "152376AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_swelling of breast", - "text": "Swelling of the breast and nipple", + "text": "{{pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_swelling_of_breast.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "125212AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_severe_abdominal_pain", - "text": "Severe abdominal pain", + "text": "{{pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_severe_abdominal_pain.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "165271AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_vaginal_discharge", - "text": "Discoloured or watery, liquid vaginal discharge with a bad smell", + "text": "{{pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_vaginal_discharge.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "123395AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_blurred_vision", - "text": "Blurred vision", + "text": "{{pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_blurred_vision.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "147104AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_loss_conscioueness", - "text": "Loss of consciousness", + "text": "{{pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_loss_conscioueness.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "135592AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_urination", - "text": "Urinate a little or urine leakage", + "text": "{{pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_urination.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "118982AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_none", - "text": "None", + "text": "{{pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_none.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" @@ -163,7 +163,7 @@ ], "v_required": { "value": "true", - "err": "Please pick at least one" + "err": "{{pnc_danger_signs_mother.step1.danger_signs_present_mama.v_required.err}}" } }, { @@ -172,7 +172,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Danger sign! \nRefer immediately to health facility.", + "text": "{{pnc_danger_signs_mother.step1.danger_signs_present_toaster.text}}", "text_color": "#CF0800", "toaster_type": "problem", "relevance": { @@ -200,5 +200,6 @@ } } ] - } -} + }, + "properties_file_name": "pnc_danger_signs_mother" +} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/pnc_exclusive_breastfeeding.json b/opensrp-chw/src/ba/assets/json.form/pnc_exclusive_breastfeeding.json index dc0b8e3443..66bf90784d 100644 --- a/opensrp-chw/src/ba/assets/json.form/pnc_exclusive_breastfeeding.json +++ b/opensrp-chw/src/ba/assets/json.form/pnc_exclusive_breastfeeding.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Exclusive breastfeeding", + "title": "{{pnc_exclusive_breastfeeding.step1.title}}", "fields": [ { "key": "exclusive_breast_feeding", @@ -57,10 +57,10 @@ "openmrs_data_type": "exclusive_breast_feeding", "type": "spinner", "image": "ic_form_bf", - "hint": "Has the child been exclusively breastfeeding only?", + "hint": "{{pnc_exclusive_breastfeeding.step1.exclusive_breast_feeding.hint}}", "values": [ - "Yes", - "No" + "{{pnc_exclusive_breastfeeding.step1.exclusive_breast_feeding.values[0]}}", + "{{pnc_exclusive_breastfeeding.step1.exclusive_breast_feeding.values[1]}}" ], "keys": [ "Yes", @@ -72,5 +72,6 @@ } } ] - } + }, + "properties_file_name": "pnc_exclusive_breastfeeding" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/pnc_family_planning.json b/opensrp-chw/src/ba/assets/json.form/pnc_family_planning.json index 4dd8f75ffe..db0885e33d 100644 --- a/opensrp-chw/src/ba/assets/json.form/pnc_family_planning.json +++ b/opensrp-chw/src/ba/assets/json.form/pnc_family_planning.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Family Planning", + "title": "{{pnc_family_planning.step1.title}}", "fields": [ { "key": "fp_counseling", @@ -56,10 +56,10 @@ "openmrs_entity_id": "1382AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Was the mother recently counselled on family planning at the health facility?", + "hint": "{{pnc_family_planning.step1.fp_counseling.hint}}", "values": [ - "Yes", - "No" + "{{pnc_family_planning.step1.fp_counseling.values[0]}}", + "{{pnc_family_planning.step1.fp_counseling.values[1]}}" ], "keys": [ "Yes", @@ -71,7 +71,7 @@ }, "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{pnc_family_planning.step1.fp_counseling.v_required.err}}" } }, { @@ -80,27 +80,27 @@ "openmrs_entity": "concept", "openmrs_entity_id": "159860AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "check_box", - "label": "During what period was she counselled?", + "label": "{{pnc_family_planning.step1.fp_period_received.label}}", "label_text_style": "normal", "text_color": "#C0C0C0", "options": [ { "key": "chk_during_anc", - "text": "During ANC", + "text": "{{pnc_family_planning.step1.fp_period_received.options.chk_during_anc.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "chk_during_anc" }, { "key": "chk_during_labour_and_delivery", - "text": "During labour and delivery", + "text": "{{pnc_family_planning.step1.fp_period_received.options.chk_during_labour_and_delivery.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "chk_during_labour_and_delivery" }, { "key": "chk_during_pnc", - "text": "During PNC", + "text": "{{pnc_family_planning.step1.fp_period_received.options.chk_during_pnc.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "chk_during_pnc" @@ -108,7 +108,7 @@ ], "v_required": { "value": "true", - "err": "Please pick at least one" + "err": "{{pnc_family_planning.step1.fp_period_received.v_required.err}}" }, "relevance": { "rules-engine": { @@ -125,17 +125,17 @@ "openmrs_entity_id": "374AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Family Planning method chosen?", + "hint": "{{pnc_family_planning.step1.fp_method.hint}}", "values": [ - "PPIUCD", - "Pills", - "Implant", - "Condoms", - "LAM", - "Standard day method", - "Permanent (BTL)", - "Permanent (Vascemtomy)", - "None" + "{{pnc_family_planning.step1.fp_method.values[0]}}", + "{{pnc_family_planning.step1.fp_method.values[1]}}", + "{{pnc_family_planning.step1.fp_method.values[2]}}", + "{{pnc_family_planning.step1.fp_method.values[3]}}", + "{{pnc_family_planning.step1.fp_method.values[4]}}", + "{{pnc_family_planning.step1.fp_method.values[5]}}", + "{{pnc_family_planning.step1.fp_method.values[6]}}", + "{{pnc_family_planning.step1.fp_method.values[7]}}", + "{{pnc_family_planning.step1.fp_method.values[8]}}" ], "keys": [ "PPIUCD", @@ -161,7 +161,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{pnc_family_planning.step1.fp_method.v_required.err}}" }, "relevance": { "rules-engine": { @@ -174,15 +174,15 @@ { "key": "fp_start_date", "openmrs_entity_parent": "163757AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "1418AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "date_picker", - "hint": "Start date", + "hint": "{{pnc_family_planning.step1.fp_start_date.hint}}", "min_date": "today-120y", "max_date": "today", "v_required": { "value": "true", - "err": "Please enter the start date of method" + "err": "{{pnc_family_planning.step1.fp_start_date.v_required.err}}" }, "relevance": { "rules-engine": { @@ -193,5 +193,6 @@ } } ] - } + }, + "properties_file_name": "pnc_family_planning" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/pnc_health_facility_visit.json b/opensrp-chw/src/ba/assets/json.form/pnc_health_facility_visit.json index ac4ce65729..bdcdb99b04 100644 --- a/opensrp-chw/src/ba/assets/json.form/pnc_health_facility_visit.json +++ b/opensrp-chw/src/ba/assets/json.form/pnc_health_facility_visit.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Health Facility Visit", + "title": "{{pnc_health_facility_visit.step1.title}}", "fields": [ { "key": "pnc_visit_{0}", @@ -56,12 +56,16 @@ "openmrs_entity_id": "164378AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Did the woman attend her PNC visit {0} at the health facility?\n\nVisit due date: {1}", + "hint": "{{pnc_health_facility_visit.step1.pnc_visit_{0}.hint}}", "v_required": { "value": "true", - "err": "Please select option" + "err": "{{pnc_health_facility_visit.step1.pnc_visit_{0}.v_required.err}}" }, "values": [ + "{{pnc_health_facility_visit.step1.pnc_visit_{0}.values[0]}}", + "{{pnc_health_facility_visit.step1.pnc_visit_{0}.values[1]}}" + ], + "keys": [ "Yes", "No" ] @@ -72,12 +76,12 @@ "openmrs_entity": "concept", "openmrs_entity_id": "164093AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "date_picker", - "hint": "Date of PNC health facility visit {0}", + "hint": "{{pnc_health_facility_visit.step1.pnc_hf_visit{0}_date.hint}}", "expanded": false, "max_date": "today", "v_required": { "value": "true", - "err": "Please enter date" + "err": "{{pnc_health_facility_visit.step1.pnc_hf_visit{0}_date.v_required.err}}" }, "relevance": { "step1:pnc_visit_{0}": { @@ -93,12 +97,16 @@ "openmrs_entity_id": "164378AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Did the woman receive Vitamin A within 24 hours of delivery?", + "hint": "{{pnc_health_facility_visit.step1.vit_a_mother.hint}}", "v_required": { "value": "true", - "err": "Please select option" + "err": "{{pnc_health_facility_visit.step1.vit_a_mother.v_required.err}}" }, "values": [ + "{{pnc_health_facility_visit.step1.vit_a_mother.values[0]}}", + "{{pnc_health_facility_visit.step1.vit_a_mother.values[1]}}" + ], + "keys": [ "Yes", "No" ], @@ -116,12 +124,16 @@ "openmrs_entity_id": "104677AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Did the woman receive iron and folic acid (IFA) tablets within 24 hours of delivery?", + "hint": "{{pnc_health_facility_visit.step1.ifa_mother.hint}}", "v_required": { "value": "true", - "err": "Please select option" + "err": "{{pnc_health_facility_visit.step1.ifa_mother.v_required.err}}" }, "values": [ + "{{pnc_health_facility_visit.step1.ifa_mother.values[0]}}", + "{{pnc_health_facility_visit.step1.ifa_mother.values[1]}}" + ], + "keys": [ "Yes", "No" ], @@ -164,5 +176,6 @@ "type": "spacer" } ] - } + }, + "properties_file_name": "pnc_health_facility_visit" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/pnc_health_facility_visit_one.json b/opensrp-chw/src/ba/assets/json.form/pnc_health_facility_visit_one.json index b210b5c7fa..94b99b1003 100644 --- a/opensrp-chw/src/ba/assets/json.form/pnc_health_facility_visit_one.json +++ b/opensrp-chw/src/ba/assets/json.form/pnc_health_facility_visit_one.json @@ -6,87 +6,85 @@ { "key": "pnc_visit_1", "type": "native_radio", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "openmrs_entity_parent": "", - "label": "Did the woman attend her PNC visit 1 at the health facility?\n\nVisit due date: [due date of visit]", + "label": "Je, mama alihudhuria hudhurio la kwanza la huduma ya mama na mtoto baada ya kujifungua (ndani ya masaa 48) katika kituo cha kutolea huduma za afya?\n\nTarehe ya hudhurio lingine: : [due date of visit]", "options": [ { "key": "Yes", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "Ndiyo" }, { "key": "No", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "Hapana" } ], "v_required": { - "value": "true", - "err": null + "value": "true" } }, { "key": "vit_a_mother", "type": "native_radio", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "openmrs_entity_parent": "", - "label": "Did the woman receive Vitamin A within 24 hours of delivery?", + "label": "Je, mama alipewa Vitamini A ndani ya masaa 24 baada ya kujifungua?", "options": [ { "key": "Yes", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "Ndiyo" }, { "key": "No", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "Hapana" } ], "v_required": { - "value": "true", - "err": null + "value": "true" } }, { "key": "ifa_mother", "type": "native_radio", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "openmrs_entity_parent": "", - "label": "Did the woman receive iron and folic acid (IFA) tablets within 24 hours of delivery?", + "label": "Je, mama alipewa dawa za kuongeza damu (FEFO) ndani ya masaa 24 baada ya kujifungua?", "options": [ { "key": "Yes", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "Ndiyo" }, { "key": "No", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "Hapana" } ], "v_required": { - "value": "true", - "err": null + "value": "true" } } ] - } -} + }, + "properties_file_name": "pnc_health_facility_visit_one" +} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/pnc_health_facility_visit_two.json b/opensrp-chw/src/ba/assets/json.form/pnc_health_facility_visit_two.json index b801a611e9..36622e7145 100644 --- a/opensrp-chw/src/ba/assets/json.form/pnc_health_facility_visit_two.json +++ b/opensrp-chw/src/ba/assets/json.form/pnc_health_facility_visit_two.json @@ -16,7 +16,6 @@ "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, "today": { - "openmrs_entity_parent": "", "openmrs_entity": "encounter", "openmrs_entity_id": "encounter_date" }, @@ -47,7 +46,7 @@ "encounter_location": "" }, "step1": { - "title": "Health Facility Visit", + "title": "{{pnc_health_facility_visit_two.step1.title}}", "fields": [ { "key": "pnc_visit_{0}", @@ -56,12 +55,16 @@ "openmrs_entity_id": "164378AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Did the woman attend her PNC visit {0} at the health facility?\n\nVisit due date: {1}", + "hint": "{{pnc_health_facility_visit_two.step1.pnc_visit_{0}.hint}}", "v_required": { "value": "true", - "err": "Please select option" + "err": "{{pnc_health_facility_visit_two.step1.pnc_visit_{0}.v_required.err}}" }, "values": [ + "{{pnc_health_facility_visit_two.step1.pnc_visit_{0}.values[0]}}", + "{{pnc_health_facility_visit_two.step1.pnc_visit_{0}.values[1]}}" + ], + "keys": [ "Yes", "No" ] @@ -72,12 +75,12 @@ "openmrs_entity": "concept", "openmrs_entity_id": "164093AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "date_picker", - "hint": "Date of PNC health facility visit {0}", + "hint": "{{pnc_health_facility_visit_two.step1.pnc_hf_visit{0}_date.hint}}", "expanded": false, "max_date": "today", "v_required": { "value": "true", - "err": "Please enter date" + "err": "{{pnc_health_facility_visit_two.step1.pnc_hf_visit{0}_date.v_required.err}}" }, "relevance": { "step1:pnc_visit_{0}": { @@ -107,5 +110,6 @@ "value": "0" } ] - } + }, + "properties_file_name": "pnc_health_facility_visit_two" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/pnc_hv_danger_signs.json b/opensrp-chw/src/ba/assets/json.form/pnc_hv_danger_signs.json index 487997b344..c743721d40 100644 --- a/opensrp-chw/src/ba/assets/json.form/pnc_hv_danger_signs.json +++ b/opensrp-chw/src/ba/assets/json.form/pnc_hv_danger_signs.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "PNC Danger Signs", + "title": "{{pnc_hv_danger_signs.step1.title}}", "fields": [ { "key": "danger_signs_present", @@ -55,7 +55,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "160939AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "check_box", - "label": "Does the mother have any danger signs?", + "label": "{{pnc_hv_danger_signs.step1.danger_signs_present.label}}", "label_text_style": "normal", "text_color": "#C0C0C0", "exclusive": [ @@ -64,70 +64,70 @@ "options": [ { "key": "chk_fever", - "text": "Fever", + "text": "{{pnc_hv_danger_signs.step1.danger_signs_present.options.chk_fever.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "140238AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_bleeding_vaginally", - "text": "Bleeding vaginally", + "text": "{{pnc_hv_danger_signs.step1.danger_signs_present.options.chk_bleeding_vaginally.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "150802AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_server_headache", - "text": "Severe headache", + "text": "{{pnc_hv_danger_signs.step1.danger_signs_present.options.chk_server_headache.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "139081AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_convulsions", - "text": "Convulsions", + "text": "{{pnc_hv_danger_signs.step1.danger_signs_present.options.chk_convulsions.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "164483AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_difficulty_breathing", - "text": "Difficulty breathing", + "text": "{{pnc_hv_danger_signs.step1.danger_signs_present.options.chk_difficulty_breathing.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "142373AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_severe_abdominal_pain", - "text": "Severe abdominal pain", + "text": "{{pnc_hv_danger_signs.step1.danger_signs_present.options.chk_severe_abdominal_pain.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "165271AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_swelling", - "text": "Swelling of the face and/or hands", + "text": "{{pnc_hv_danger_signs.step1.danger_signs_present.options.chk_swelling.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "460AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_vaginal_discharge", - "text": "Discoloured or watery, liquid vaginal discharge with a bad smell", + "text": "{{pnc_hv_danger_signs.step1.danger_signs_present.options.chk_vaginal_discharge.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "123395AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_unusual_movement", - "text": "No movement / unusual movement for a child in the womb", + "text": "{{pnc_hv_danger_signs.step1.danger_signs_present.options.chk_unusual_movement.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "113377AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_none", - "text": "None", + "text": "{{pnc_hv_danger_signs.step1.danger_signs_present.options.chk_none.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" @@ -135,7 +135,7 @@ ], "v_required": { "value": "true", - "err": "Please pick at least one" + "err": "{{pnc_hv_danger_signs.step1.danger_signs_present.v_required.err}}" } }, { @@ -144,7 +144,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Danger sign! \nRefer immediately to health facility.", + "text": "{{pnc_hv_danger_signs.step1.danger_signs_present_toaster.text}}", "text_color": "#CF0800", "toaster_type": "problem", "relevance": { @@ -174,12 +174,12 @@ "openmrs_entity_id": "165310AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "label_info_title": "Did the mother receive counselling", - "label_info_text": "Did the mother receive counselling on danger signs at the health facility recently?", - "hint": "Did the mother receive counselling on danger signs at the health facility recently?", + "label_info_title": "{{pnc_hv_danger_signs.step1.danger_signs_counseling.label_info_title}}", + "label_info_text": "{{pnc_hv_danger_signs.step1.danger_signs_counseling.label_info_text}}", + "hint": "{{pnc_hv_danger_signs.step1.danger_signs_counseling.hint}}", "values": [ - "Yes", - "No" + "{{pnc_hv_danger_signs.step1.danger_signs_counseling.values[0]}}", + "{{pnc_hv_danger_signs.step1.danger_signs_counseling.values[1]}}" ], "openmrs_choice_ids": { "Yes": "1267AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -187,9 +187,10 @@ }, "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{pnc_hv_danger_signs.step1.danger_signs_counseling.v_required.err}}" } } ] - } + }, + "properties_file_name": "pnc_hv_danger_signs" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/pnc_hv_observations_infant.json b/opensrp-chw/src/ba/assets/json.form/pnc_hv_observations_infant.json index d6bfc7dc88..d5d6b87789 100644 --- a/opensrp-chw/src/ba/assets/json.form/pnc_hv_observations_infant.json +++ b/opensrp-chw/src/ba/assets/json.form/pnc_hv_observations_infant.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Observations & Illness - Child", + "title": "{{pnc_hv_observations_infant.step1.title}}", "fields": [ { "key": "date_of_illness_child", @@ -55,13 +55,13 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1730AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "date_picker", - "hint": "Date ", + "hint": "{{pnc_hv_observations_infant.step1.date_of_illness_child.hint}}", "expanded": false, "min_date": "today-1y", "max_date": "today", "v_required": { "value": "true", - "err": "Please enter the date of illness" + "err": "{{pnc_hv_observations_infant.step1.date_of_illness_child.v_required.err}}" } }, { @@ -70,10 +70,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1390AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", - "hint": "Description", + "hint": "{{pnc_hv_observations_infant.step1.illness_description_child.hint}}", "v_required": { "value": "true", - "err": "Please enter the description" + "err": "{{pnc_hv_observations_infant.step1.illness_description_child.v_required.err}}" } }, { @@ -82,7 +82,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "164378AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "check_box", - "label": "Action taken", + "label": "{{pnc_hv_observations_infant.step1.action_taken_child.label}}", "label_text_style": "normal", "text_color": "#C0C0C0", "exclusive": [ @@ -91,42 +91,42 @@ "options": [ { "key": "chk_ors", - "text": "ORS 5", + "text": "{{pnc_hv_observations_infant.step1.action_taken_child.options.chk_ors.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "351AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_zinc", - "text": "Zinc 10", + "text": "{{pnc_hv_observations_infant.step1.action_taken_child.options.chk_zinc.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "86672AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_paracetamol", - "text": "Panadol", + "text": "{{pnc_hv_observations_infant.step1.action_taken_child.options.chk_paracetamol.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "70116AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_referred", - "text": "Referred", + "text": "{{pnc_hv_observations_infant.step1.action_taken_child.options.chk_referred.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "163762AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_other_treatment", - "text": "Other treatment", + "text": "{{pnc_hv_observations_infant.step1.action_taken_child.options.chk_other_treatment.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_none", - "text": "No treatment given", + "text": "{{pnc_hv_observations_infant.step1.action_taken_child.options.chk_none.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" @@ -139,10 +139,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", - "hint": "Other treatment", + "hint": "{{pnc_hv_observations_infant.step1.other_treatment_illness_child.hint}}", "v_required": { "value": "true", - "err": "Please enter the illness details" + "err": "{{pnc_hv_observations_infant.step1.other_treatment_illness_child.v_required.err}}" }, "relevance": { "rules-engine": { @@ -153,5 +153,6 @@ } } ] - } + }, + "properties_file_name": "pnc_hv_observations_infant" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/pnc_hv_observations_mother.json b/opensrp-chw/src/ba/assets/json.form/pnc_hv_observations_mother.json index fc45b38dca..2f180bded2 100644 --- a/opensrp-chw/src/ba/assets/json.form/pnc_hv_observations_mother.json +++ b/opensrp-chw/src/ba/assets/json.form/pnc_hv_observations_mother.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Observations & Illness - Mama", + "title": "{{pnc_hv_observations_mother.step1.title}}", "fields": [ { "key": "date_of_illness_mama", @@ -55,13 +55,13 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1730AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "date_picker", - "hint": "Date ", + "hint": "{{pnc_hv_observations_mother.step1.date_of_illness_mama.hint}}", "expanded": false, "min_date": "today-1y", "max_date": "today", "v_required": { "value": "true", - "err": "Please enter the date of illness" + "err": "{{pnc_hv_observations_mother.step1.date_of_illness_mama.v_required.err}}" } }, { @@ -70,10 +70,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1390AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", - "hint": "Description", + "hint": "{{pnc_hv_observations_mother.step1.illness_description_mama.hint}}", "v_required": { "value": "true", - "err": "Please enter the description" + "err": "{{pnc_hv_observations_mother.step1.illness_description_mama.v_required.err}}" } }, { @@ -82,7 +82,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "164378AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "check_box", - "label": "Action taken", + "label": "{{pnc_hv_observations_mother.step1.action_taken_mama.label}}", "label_text_style": "normal", "text_color": "#C0C0C0", "exclusive": [ @@ -91,42 +91,42 @@ "options": [ { "key": "chk_ors", - "text": "ORS 5", + "text": "{{pnc_hv_observations_mother.step1.action_taken_mama.options.chk_ors.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "351AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_zinc", - "text": "Zinc 10", + "text": "{{pnc_hv_observations_mother.step1.action_taken_mama.options.chk_zinc.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "86672AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_paracetamol", - "text": "Panadol", + "text": "{{pnc_hv_observations_mother.step1.action_taken_mama.options.chk_paracetamol.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "70116AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_referred", - "text": "Referred", + "text": "{{pnc_hv_observations_mother.step1.action_taken_mama.options.chk_referred.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "163762AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_other_treatment", - "text": "Other treatment", + "text": "{{pnc_hv_observations_mother.step1.action_taken_mama.options.chk_other_treatment.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_none", - "text": "No treatment given", + "text": "{{pnc_hv_observations_mother.step1.action_taken_mama.options.chk_none.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" @@ -139,10 +139,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", - "hint": "Other treatment", + "hint": "{{pnc_hv_observations_mother.step1.other_treatment_illness_mama.hint}}", "v_required": { "value": "true", - "err": "Please enter the illness details" + "err": "{{pnc_hv_observations_mother.step1.other_treatment_illness_mama.v_required.err}}" }, "relevance": { "rules-engine": { @@ -153,5 +153,6 @@ } } ] - } + }, + "properties_file_name": "pnc_hv_observations_mother" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/pnc_malaria_prevention.json b/opensrp-chw/src/ba/assets/json.form/pnc_malaria_prevention.json index fe30139b0d..30dc8e42ae 100644 --- a/opensrp-chw/src/ba/assets/json.form/pnc_malaria_prevention.json +++ b/opensrp-chw/src/ba/assets/json.form/pnc_malaria_prevention.json @@ -47,19 +47,19 @@ "encounter_location": "" }, "step1": { - "title": "Malaria Prevention", + "title": "{{pnc_malaria_prevention.step1.title}}", "fields": [ { "key": "fam_llin", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Does she have a long lasting insecticide net (LLIN)?", + "hint": "{{pnc_malaria_prevention.step1.fam_llin.hint}}", "values": [ - "Yes", - "No" + "{{pnc_malaria_prevention.step1.fam_llin.values[0]}}", + "{{pnc_malaria_prevention.step1.fam_llin.values[1]}}" ], "keys": [ "Yes", @@ -71,20 +71,20 @@ }, "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{pnc_malaria_prevention.step1.fam_llin.v_required.err}}" } }, { "key": "llin_2days", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Did she sleep under the LLIN last night?", + "hint": "{{pnc_malaria_prevention.step1.llin_2days.hint}}", "values": [ - "Yes", - "No" + "{{pnc_malaria_prevention.step1.llin_2days.values[0]}}", + "{{pnc_malaria_prevention.step1.llin_2days.values[1]}}" ], "keys": [ "Yes", @@ -96,7 +96,7 @@ }, "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{pnc_malaria_prevention.step1.llin_2days.v_required.err}}" }, "relevance": { "step1:fam_llin": { @@ -108,14 +108,14 @@ { "key": "llin_condition", "openmrs_entity_parent": "", - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "", "openmrs_data_type": "select one", "type": "spinner", - "hint": "LLIN condition", + "hint": "{{pnc_malaria_prevention.step1.llin_condition.hint}}", "values": [ - "Okay", - "Bad" + "{{pnc_malaria_prevention.step1.llin_condition.values[0]}}", + "{{pnc_malaria_prevention.step1.llin_condition.values[1]}}" ], "keys": [ "Okay", @@ -127,7 +127,7 @@ }, "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{pnc_malaria_prevention.step1.llin_condition.v_required.err}}" }, "relevance": { "step1:fam_llin": { @@ -137,5 +137,6 @@ } } ] - } + }, + "properties_file_name": "pnc_malaria_prevention" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/pnc_nutrition_status_infant.json b/opensrp-chw/src/ba/assets/json.form/pnc_nutrition_status_infant.json index c4e56647db..d47856fc2f 100644 --- a/opensrp-chw/src/ba/assets/json.form/pnc_nutrition_status_infant.json +++ b/opensrp-chw/src/ba/assets/json.form/pnc_nutrition_status_infant.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Nutrition Status - Baby", + "title": "{{pnc_nutrition_status_infant.step1.title}}", "fields": [ { "key": "nutrition_status_1m", @@ -56,11 +56,11 @@ "openmrs_entity_id": "163300AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Nutrition status of infant", + "hint": "{{pnc_nutrition_status_infant.step1.nutrition_status_1m.hint}}", "values": [ - "Normal/Green", - "Moderate/Yellow", - "Severe/Red" + "{{pnc_nutrition_status_infant.step1.nutrition_status_1m.values[0]}}", + "{{pnc_nutrition_status_infant.step1.nutrition_status_1m.values[1]}}", + "{{pnc_nutrition_status_infant.step1.nutrition_status_1m.values[2]}}" ], "keys": [ "Normal", @@ -74,9 +74,10 @@ }, "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{pnc_nutrition_status_infant.step1.nutrition_status_1m.v_required.err}}" } } ] - } + }, + "properties_file_name": "pnc_nutrition_status_infant" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/pnc_nutrition_status_mother.json b/opensrp-chw/src/ba/assets/json.form/pnc_nutrition_status_mother.json index e5ce028db0..4bbfcc50c2 100644 --- a/opensrp-chw/src/ba/assets/json.form/pnc_nutrition_status_mother.json +++ b/opensrp-chw/src/ba/assets/json.form/pnc_nutrition_status_mother.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Nutrition Status - Mother", + "title": "{{pnc_nutrition_status_mother.step1.title}}", "fields": [ { "key": "nutrition_status_mama", @@ -56,11 +56,11 @@ "openmrs_entity_id": "163300AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Nutrition status of woman", + "hint": "{{pnc_nutrition_status_mother.step1.nutrition_status_mama.hint}}", "values": [ - "Normal/Green", - "Moderate/Yellow", - "Severe/Red" + "{{pnc_nutrition_status_mother.step1.nutrition_status_mama.values[0]}}", + "{{pnc_nutrition_status_mother.step1.nutrition_status_mama.values[1]}}", + "{{pnc_nutrition_status_mother.step1.nutrition_status_mama.values[2]}}" ], "keys": [ "Normal", @@ -74,9 +74,10 @@ }, "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{pnc_nutrition_status_mother.step1.nutrition_status_mama.v_required.err}}" } } ] - } + }, + "properties_file_name": "pnc_nutrition_status_mother" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/pnc_referral_form.json b/opensrp-chw/src/ba/assets/json.form/pnc_referral_form.json index dd0b0d50ff..da9b245dae 100644 --- a/opensrp-chw/src/ba/assets/json.form/pnc_referral_form.json +++ b/opensrp-chw/src/ba/assets/json.form/pnc_referral_form.json @@ -52,7 +52,7 @@ } }, "step1": { - "title": "PNC referral form", + "title": "{{pnc_referral_form.step1.title}}", "fields": [ { "key": "chw_referral_hf_pnc", @@ -75,12 +75,12 @@ "openmrs_entity": "", "openmrs_entity_id": "", "type": "check_box", - "label": "Client condition / problem", + "label": "{{pnc_referral_form.step1.problem_hf_pnc.label}}", "label_text_style": "bold", "options": [ { "key": "Vaginal_bleeding", - "text": "Vaginal bleeding", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.Vaginal_bleeding.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "147232AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -88,7 +88,7 @@ }, { "key": "Discoloured_or_watery_liquid_vaginal_discharge", - "text": "Discoloured or watery, liquid vaginal discharge with a bad smell", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.Discoloured_or_watery_liquid_vaginal_discharge.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "123396AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -96,7 +96,7 @@ }, { "key": "Severe_abdominal_pain", - "text": "Severe abdominal pain", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.Severe_abdominal_pain.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "165271AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -104,7 +104,7 @@ }, { "key": "Severe_anaemia", - "text": "Severe anaemia", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.Severe_anaemia.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "162044AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -112,7 +112,7 @@ }, { "key": "Convulsions", - "text": "Convulsions", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.Convulsions.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "113054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -120,7 +120,7 @@ }, { "key": "A_severe_headache_dizziness", - "text": "A severe headache / dizziness", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.A_severe_headache_dizziness.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "139081AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -128,7 +128,7 @@ }, { "key": "Swelling_of_the_face_and_or_hands", - "text": "Swelling of the face and/or hands", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.Swelling_of_the_face_and_or_hands.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "460AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -136,7 +136,7 @@ }, { "key": "Fever", - "text": "Fever", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.Fever.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "140238AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -144,7 +144,7 @@ }, { "key": "Shivering_trembling", - "text": "Shivering/trembling", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.Shivering_trembling.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "158359AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -152,7 +152,7 @@ }, { "key": "Nausea", - "text": "Nausea", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.Nausea.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "5978AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -160,7 +160,7 @@ }, { "key": "Vomiting", - "text": "Vomiting", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.Vomiting.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "122983AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -168,7 +168,7 @@ }, { "key": "Cord_prolapse", - "text": "Cord prolapse", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.Cord_prolapse.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "113617AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -176,7 +176,7 @@ }, { "key": "Perineum_bleeding", - "text": "Perineum bleeding", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.Perineum_bleeding.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "136938AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -184,7 +184,7 @@ }, { "key": "Fullness_or_pain_of_the_breasts", - "text": "Breast engorgement", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.Fullness_or_pain_of_the_breasts.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "118620AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -192,7 +192,7 @@ }, { "key": "HIV_care_and_support_services", - "text": "HIV care and support services", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.HIV_care_and_support_services.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "159811AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -200,7 +200,7 @@ }, { "key": "Family_planning_services", - "text": "Family planning services", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.Family_planning_services.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "5271AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -208,7 +208,7 @@ }, { "key": "PMTCT_for_mothers", - "text": "PMTCT for mothers", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.PMTCT_for_mothers.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "160538AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -216,7 +216,7 @@ }, { "key": "Fistula", - "text": "Fistula", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.Fistula.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "160854AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -224,7 +224,7 @@ }, { "key": "Fast_breathing_and_difficulty_with_breathing", - "text": "Fast breathing and difficulty with breathing", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.Fast_breathing_and_difficulty_with_breathing.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "142373AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -232,7 +232,7 @@ }, { "key": "Umbilical_cord", - "text": "Umbilical cord/navel bleeding", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.Umbilical_cord.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "123844AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -240,7 +240,7 @@ }, { "key": "Excessive_crying", - "text": "Excessive crying", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.Excessive_crying.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "140944AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -248,7 +248,7 @@ }, { "key": "Unable_to_breastfeed_or_swallow", - "text": "Unable to breastfeed or swallow", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.Unable_to_breastfeed_or_swallow.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "159861AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -256,7 +256,7 @@ }, { "key": "Neck_stiffness", - "text": "Neck stiffness", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.Neck_stiffness.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "112721AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -264,7 +264,7 @@ }, { "key": "Bloating", - "text": "Bloating", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.Bloating.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "147132AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -272,7 +272,7 @@ }, { "key": "Redness_around_the_umbilical_cord_foul", - "text": "Redness around the umbilical cord, foul-smelling discharge from the umbilical cord", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.Redness_around_the_umbilical_cord_foul.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "132407AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -280,7 +280,7 @@ }, { "key": "Bacterial_conjunctivitis", - "text": "Bacterial conjunctivitis", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.Bacterial_conjunctivitis.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "148026AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -288,7 +288,7 @@ }, { "key": "Pale_or_jaundiced", - "text": "Pale or jaundiced", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.Pale_or_jaundiced.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "136443AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -296,7 +296,7 @@ }, { "key": "Cyanosis_blueness_of_lips", - "text": "Cyanosis (blueness of lips)", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.Cyanosis_blueness_of_lips.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "143050AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -304,7 +304,7 @@ }, { "key": "Skin_rash_pustules", - "text": "Skin rash / pustules", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.Skin_rash_pustules.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "512AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -312,7 +312,7 @@ }, { "key": "Diarrhea", - "text": "Diarrhea", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.Diarrhea.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "142412AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -320,7 +320,7 @@ }, { "key": "Disabilities", - "text": "Congenital Disabilities", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.Disabilities.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "162558AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -328,7 +328,7 @@ }, { "key": "Premature_baby", - "text": "Premature baby", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.Premature_baby.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "159908AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -336,7 +336,7 @@ }, { "key": "Failure_to_pass_urine_or_stool", - "text": "Failure to pass urine or stool within 24 hours after birth", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.Failure_to_pass_urine_or_stool.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "", @@ -344,7 +344,7 @@ }, { "key": "Care_of_HIV_exposed_infant", - "text": "Care of HIV-exposed infant", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.Care_of_HIV_exposed_infant.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "164818AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -352,7 +352,7 @@ }, { "key": "Immunisation", - "text": "Immunisation", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.Immunisation.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "1914AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -360,7 +360,7 @@ }, { "key": "Other_symptom", - "text": "Other symptom", + "text": "{{pnc_referral_form.step1.problem_hf_pnc.options.Other_symptom.text}}", "value": false, "ignore": true, "openmrs_entity": "", @@ -370,7 +370,7 @@ ], "v_required": { "value": true, - "err": "Please specify client condition/problem" + "err": "{{pnc_referral_form.step1.problem_hf_pnc.v_required.err}}" } }, { @@ -380,7 +380,7 @@ "openmrs_entity_id": "", "openmrs_entity_parent": "", "edit_type": "name", - "hint": "Other symptom", + "hint": "{{pnc_referral_form.step1.problem_hf_pnc_other.hint}}", "relevance": { "rules-engine": { "ex-rules": { @@ -395,7 +395,7 @@ "openmrs_entity": "", "openmrs_entity_id": "164378AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "check_box", - "label": "Pre-referral management given", + "label": "{{pnc_referral_form.step1.service_before_pnc.label}}", "label_text_style": "bold", "is_problem": false, "exclusive": [ @@ -404,7 +404,7 @@ "options": [ { "key": "ORS", - "text": "ORS", + "text": "{{pnc_referral_form.step1.service_before_pnc.options.ORS.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "351AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -412,7 +412,7 @@ }, { "key": "Panadol", - "text": "Panadol", + "text": "{{pnc_referral_form.step1.service_before_pnc.options.Panadol.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "70116AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -420,7 +420,7 @@ }, { "key": "Other_treatment", - "text": "Other treatment", + "text": "{{pnc_referral_form.step1.service_before_pnc.options.Other_treatment.text}}", "value": false, "ignore": true, "openmrs_entity": "", @@ -429,7 +429,7 @@ }, { "key": "None", - "text": "None", + "text": "{{pnc_referral_form.step1.service_before_pnc.options.None.text}}", "value": false, "openmrs_entity": "", "openmrs_entity_id": "164369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -438,7 +438,7 @@ ], "v_required": { "value": "true", - "err": "Pre-referral management field is required" + "err": "{{pnc_referral_form.step1.service_before_pnc.v_required.err}}" } }, { @@ -448,11 +448,11 @@ "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", "edit_type": "name", - "hint": "Other treatment", + "hint": "{{pnc_referral_form.step1.service_before_pnc_other.hint}}", "is_problem": false, "v_required": { "value": "true", - "err": "Please specify other treatment" + "err": "{{pnc_referral_form.step1.service_before_pnc_other.v_required.err}}" }, "relevance": { "rules-engine": { @@ -493,5 +493,6 @@ } } ] - } + }, + "properties_file_name": "pnc_referral_form" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/referral_followup_form.json b/opensrp-chw/src/ba/assets/json.form/referral_followup_form.json index 439821e856..f18e6c398a 100644 --- a/opensrp-chw/src/ba/assets/json.form/referral_followup_form.json +++ b/opensrp-chw/src/ba/assets/json.form/referral_followup_form.json @@ -52,7 +52,7 @@ } }, "step1": { - "title": "Referral followup", + "title": "{{referral_followup_form.step1.title}}", "fields": [ { "key": "chw_followup_feedback", @@ -82,7 +82,7 @@ "openmrs_entity_id": "chw_followup_date", "type": "edit_text" } - ] - } + }, + "properties_file_name": "referral_followup_form" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/routine_home_visit.json b/opensrp-chw/src/ba/assets/json.form/routine_home_visit.json index 7b7c7a4358..e28e5b5dac 100644 --- a/opensrp-chw/src/ba/assets/json.form/routine_home_visit.json +++ b/opensrp-chw/src/ba/assets/json.form/routine_home_visit.json @@ -54,7 +54,7 @@ } }, "step1": { - "title": "Counselling", + "title": "{{routine_home_visit.step1.title}}", "fields": [ { "key": "counselling_1m5yrs", @@ -62,7 +62,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "counselling", "type": "check_box", - "label": "Counselling provided", + "label": "{{routine_home_visit.step1.counselling_1m5yrs.label}}", "label_text_style": "normal", "text_color": "#C0C0C0", "exclusive": [ @@ -71,115 +71,116 @@ "options": [ { "key": "chk_maternal_nutrition", - "text": "3. Maternal nutrition during breastfeeding", + "text": "{{routine_home_visit.step1.counselling_1m5yrs.options.chk_maternal_nutrition.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "" }, { "key": "chk_hiv_aids", - "text": "5. HIV/AIDS general information", + "text": "{{routine_home_visit.step1.counselling_1m5yrs.options.chk_hiv_aids.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "" }, { "key": "chk_pmtc_for_mother", - "text": "6. PMTCT for the mother", + "text": "{{routine_home_visit.step1.counselling_1m5yrs.options.chk_pmtc_for_mother.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "" }, { "key": "chk_malaria_prevention", - "text": "7. Malaria prevention", + "text": "{{routine_home_visit.step1.counselling_1m5yrs.options.chk_malaria_prevention.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "" }, { "key": "chk_hiv_exposed_infant", - "text": "15. Follow-up for the HIV-exposed infant", + "text": "{{routine_home_visit.step1.counselling_1m5yrs.options.chk_hiv_exposed_infant.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "" }, { "key": "chk_breast_feeding", - "text": "16. Breastfeeding", + "text": "{{routine_home_visit.step1.counselling_1m5yrs.options.chk_breast_feeding.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "" }, { "key": "chk_birth_registration", - "text": "19. Birth registration", + "text": "{{routine_home_visit.step1.counselling_1m5yrs.options.chk_birth_registration.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "" }, { "key": "chk_complementary_feeding", - "text": "20. Complementary feeding", + "text": "{{routine_home_visit.step1.counselling_1m5yrs.options.chk_complementary_feeding.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "" }, { "key": "chk_growth_and_dev", - "text": "21. Growth and development", + "text": "{{routine_home_visit.step1.counselling_1m5yrs.options.chk_growth_and_dev.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "" }, { "key": "chk_immunization", - "text": "22. Immunisation", + "text": "{{routine_home_visit.step1.counselling_1m5yrs.options.chk_immunization.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "" }, { "key": "chk_newborn_danger", - "text": "23. Newborn danger signs", + "text": "{{routine_home_visit.step1.counselling_1m5yrs.options.chk_newborn_danger.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "" }, { "key": "chk_infection", - "text": "24. Infection prevention and control", + "text": "{{routine_home_visit.step1.counselling_1m5yrs.options.chk_infection.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "" }, { "key": "chk_prevention_of_accidents", - "text": "25. Prevention of accidents", + "text": "{{routine_home_visit.step1.counselling_1m5yrs.options.chk_prevention_of_accidents.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "" }, { "key": "chk_gender_issues", - "text": "26. Gender issues", + "text": "{{routine_home_visit.step1.counselling_1m5yrs.options.chk_gender_issues.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "" }, { "key": "chk_none", - "text": "None", + "text": "{{routine_home_visit.step1.counselling_1m5yrs.options.chk_none.text}}", "value": false, - "openmrs_entity": "concept", + "openmrs_entity": "", "openmrs_entity_id": "" } ], "v_required": { "value": true, - "err": "Please specify any other symptoms or select none" + "err": "{{routine_home_visit.step1.counselling_1m5yrs.v_required.err}}" } } ] - } + }, + "properties_file_name": "routine_home_visit" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/stock_usage_report.json b/opensrp-chw/src/ba/assets/json.form/stock_usage_report.json index 24fd351619..095740504b 100644 --- a/opensrp-chw/src/ba/assets/json.form/stock_usage_report.json +++ b/opensrp-chw/src/ba/assets/json.form/stock_usage_report.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Stock Report", + "title": "{{stock_usage_report.step1.title}}", "fields": [ { "key": "stock_name", @@ -55,7 +55,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "stock_name", "type": "edit_text", - "hint": "Stock Name", + "hint": "{{stock_usage_report.step1.stock_name.hint}}", "value": "" }, { @@ -64,7 +64,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "stock_year", "type": "edit_text", - "hint": "Stock Year", + "hint": "{{stock_usage_report.step1.stock_year.hint}}", "value": "" }, { @@ -73,7 +73,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "stock_month", "type": "edit_text", - "hint": "Stock Month", + "hint": "{{stock_usage_report.step1.stock_month.hint}}", "value": "" }, { @@ -82,7 +82,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "stock_usage", "type": "edit_text", - "hint": "Stock Usage", + "hint": "{{stock_usage_report.step1.stock_usage.hint}}", "value": "" }, { @@ -91,9 +91,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "stock_provider", "type": "edit_text", - "hint": "Stock Provider", + "hint": "{{stock_usage_report.step1.stock_provider.hint}}", "value": "" } ] - } + }, + "properties_file_name": "stock_usage_report" } \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/tb_case_closure.json b/opensrp-chw/src/ba/assets/json.form/tb_case_closure.json new file mode 100644 index 0000000000..62732c0fa2 --- /dev/null +++ b/opensrp-chw/src/ba/assets/json.form/tb_case_closure.json @@ -0,0 +1,141 @@ +{ + "form": "TB Case Closure form", + "count": "1", + "encounter_type": "TB Case Closure", + "entity_id": "", + "relational_id": "", + "rules_file": "rule/tb_case_closure_form_rules.yml", + "metadata": { + "start": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "start", + "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "end": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "end", + "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "today": { + "openmrs_entity_parent": "", + "openmrs_entity": "encounter", + "openmrs_entity_id": "encounter_date" + }, + "deviceid": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "deviceid", + "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "subscriberid": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "subscriberid", + "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "simserial": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "simserial", + "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "phonenumber": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "phonenumber", + "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "encounter_location": "", + "look_up": { + "entity_id": "", + "value": "" + } + }, + "steps": [ + { + "title": "TB Close Case form", + "fields": [ + { + "name": "client_condition", + "type": "spinner", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_condition", + "openmrs_entity_parent": "" + }, + "properties": { + "text": "Condition of the client" + }, + "options": [ + { + "name": "client_does_her_daily_activities", + "text": "Client does her daily activities", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_does_her_daily_activities", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_takes_care_of_himself", + "text": "Client takes care of him/herself (bathing, Eating)", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_takes_care_of_himself", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_is_unable_to_take_care_of_himself", + "text": "Client is unable to take care of him/herself", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_is_unable_to_take_care_of_himself", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Please specify client's condition", + "dependent_calculations": [ + "tb_case_closure_date" + ] + }, + { + "name": "completed_medication_as_required", + "type": "spinner", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "completed_medication_as_required", + "openmrs_entity_parent": "" + }, + "properties": { + "text": "Client completed medication as required " + }, + "options": [ + { + "name": "yes", + "text": "yes", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "yes", + "openmrs_entity_parent": "" + } + }, + { + "name": "no", + "text": "no", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "no", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:This question is required" + } + ] + } + ] +} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/tb_community_followup_feedback.json b/opensrp-chw/src/ba/assets/json.form/tb_community_followup_feedback.json new file mode 100644 index 0000000000..c371dfedff --- /dev/null +++ b/opensrp-chw/src/ba/assets/json.form/tb_community_followup_feedback.json @@ -0,0 +1,144 @@ +{ + "form": "TB Community Followup Feedback", + "count": "1", + "encounter_type": "TB Community Followup Feedback", + "entity_id": "", + "relational_id": "", + "rules_file": "rule/tb_community_followup_feedback_rules.yml", + "metadata": { + "start": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "start", + "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "end": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "end", + "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "today": { + "openmrs_entity_parent": "", + "openmrs_entity": "encounter", + "openmrs_entity_id": "encounter_date" + }, + "deviceid": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "deviceid", + "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "subscriberid": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "subscriberid", + "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "simserial": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "simserial", + "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "phonenumber": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "phonenumber", + "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "encounter_location": "", + "look_up": { + "entity_id": "", + "value": "" + } + }, + "steps": [ + { + "title": "TB Community Followup Feedback", + "fields": [ + { + "name": "followup_status", + "type": "spinner", + "properties": { + "text": "Followup Feedback" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "followup_status", + "openmrs_entity_parent": "" + }, + "options": [ + { + "name": "continuing_with_services", + "text": "Continuing with services", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "continuing_with_services", + "openmrs_entity_parent": "" + } + }, + { + "name": "deceased", + "text": "Deceased", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "deceased", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_not_found", + "text": "Client not found", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_not_found", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_relocated_to_another_location", + "text": "Client has relocated to another location", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_relocated_to_another_location", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_has_moved", + "text": "Client has moved ", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_has_moved", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_has_absconded", + "text": "Client has absconded", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_has_absconded", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_continues_with_clinic_from_elsewhere", + "text": "Clients continues with clinic from elsewhere", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_continues_with_clinic_from_elsewhere", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Please select the followup feedback", + "dependent_calculations": [ + "tb_community_followup_visit_date" + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/tb_followup_visit.json b/opensrp-chw/src/ba/assets/json.form/tb_followup_visit.json new file mode 100644 index 0000000000..dd3c2ba478 --- /dev/null +++ b/opensrp-chw/src/ba/assets/json.form/tb_followup_visit.json @@ -0,0 +1,459 @@ +{ + "form": "TB Followup form", + "count": "1", + "encounter_type": "TB Followup", + "entity_id": "", + "relational_id": "", + "rules_file": "rule/tb_followup_form_rules.yml", + "metadata": { + "start": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "start", + "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "end": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "end", + "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "today": { + "openmrs_entity_parent": "", + "openmrs_entity": "encounter", + "openmrs_entity_id": "encounter_date" + }, + "deviceid": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "deviceid", + "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "subscriberid": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "subscriberid", + "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "simserial": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "simserial", + "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "phonenumber": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "phonenumber", + "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "encounter_location": "", + "look_up": { + "entity_id": "", + "value": "" + } + }, + "steps": [ + { + "title": "TB Followup form", + "fields": [ + { + "name": "registration_or_followup_status", + "type": "spinner", + "properties": { + "text": "Registration/Followup status" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "registration_or_followup_status", + "openmrs_entity_parent": "" + }, + "options": [ + { + "name": "new_client", + "text": "New Client", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "new_client", + "openmrs_entity_parent": "" + } + }, + { + "name": "continuing_with_services", + "text": "Continuing with services", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "continuing_with_services", + "openmrs_entity_parent": "" + } + }, + { + "name": "deceased", + "text": "Deceased", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "deceased", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_not_found", + "text": "Client not found", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_not_found", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_relocated_to_another_location", + "text": "Client has relocated to another location", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_relocated_to_another_location", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_has_moved", + "text": "Client has moved ", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_has_moved", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_has_absconded", + "text": "Client has absconded", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_has_absconded", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_continues_with_clinic_from_elsewhere", + "text": "Clients continues with clinic from elsewhere", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_continues_with_clinic_from_elsewhere", + "openmrs_entity_parent": "" + } + }, + { + "name": "completed_and_qualified_from_the_services ", + "text": "Client has completed and qualified from the services ", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "completed_and_qualified_from_the_services", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Please select the registration/followup status", + "dependent_calculations": [ + "tb_followup_visit_date" + ] + }, + { + "name": "client_condition", + "type": "spinner", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_condition", + "openmrs_entity_parent": "" + }, + "properties": { + "text": "Condition of the client" + }, + "options": [ + { + "name": "client_does_her_daily_activities", + "text": "Client does her daily activities", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_does_her_daily_activities", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_takes_care_of_himself", + "text": "Client takes care of him/herself (bathing, Eating)", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_takes_care_of_himself", + "openmrs_entity_parent": "" + } + }, + { + "name": "client_is_unable_to_take_care_of_himself", + "text": "Client is unable to take care of him/herself", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_is_unable_to_take_care_of_himself", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Please specify client's condition", + "subjects": "registration_or_followup_status:text" + }, + { + "name": "problem", + "type": "multi_choice_checkbox", + "properties": { + "text": "Pick problem/Social challenges faced by the Client." + }, + "meta_data": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_entity_id": "problem" + }, + "options": [ + { + "name": "other_problems", + "text": "Other Problems", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "other_problems", + "openmrs_entity_parent": "" + } + }, + { + "name": "none", + "text": "None", + "is_exclusive": true, + "meta_data": { + "openmrs_entity": "", + "openmrs_entity_id": "", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Please specify client's problems", + "subjects": "registration_or_followup_status:text" + }, + { + "name": "problem_other", + "type": "text_input_edit_text", + "properties": { + "hint": "Other Problems", + "type": "name" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "problem_other", + "openmrs_entity_parent": "problem" + }, + "required_status": "true:Please specify other symptoms", + "subjects": "problem:map" + }, + { + "name": "client_behaviour_and_environmental_risk", + "type": "spinner", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_behaviour_and_environmental_risk", + "openmrs_entity_parent": "" + }, + "properties": { + "text": "Client's behaviour & environmental risks" + }, + "options": [ + { + "name": "na", + "text": "Not Applicable", + "meta_data": { + "openmrs_entity": "", + "openmrs_entity_id": "", + "openmrs_entity_parent": "" + } + }, + { + "name": "alcoholism", + "text": "Alcoholism", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "alcoholism", + "openmrs_entity_parent": "" + } + }, + { + "name": "vulnerable_environment", + "text": "Clients lives in a vulnerable environment", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "vulnerable_environment", + "openmrs_entity_parent": "" + } + }, + { + "name": "hiv_positive", + "text": "Client is HIV Positive", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "hiv_positive", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Please specify client's behaviour", + "subjects": "registration_or_followup_status:text" + }, + { + "name": "supplies_provided", + "type": "multi_choice_checkbox", + "properties": { + "text": "Supplies/medicines provided" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "supplies_provided", + "openmrs_entity_parent": "" + }, + "options": [ + { + "name": "other_medicine", + "text": "Other treatment", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "other_medicine", + "openmrs_entity_parent": "" + } + }, + { + "name": "none", + "text": "None", + "is_exclusive": true, + "meta_data": { + "openmrs_entity": "", + "openmrs_entity_id": "", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Please choose supplies/medicine given", + "subjects": "registration_or_followup_status:text" + }, + { + "name": "supplies_provided_other", + "type": "text_input_edit_text", + "properties": { + "hint": "Other Supplies/Medicine", + "type": "name" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "supplies_provided_other", + "openmrs_entity_parent": "supplies_provided" + }, + "required_status": "true:Please specify other supplies/Medicine given", + "subjects": "supplies_provided:map" + }, + { + "name": "tb_services_provided", + "type": "multi_choice_checkbox", + "properties": { + "text": "TB services provided by CHW at the community" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "tb_services_provided", + "openmrs_entity_parent": "" + }, + "options": [ + { + "name": "other_services", + "text": "Other TB services", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "other_tb_services", + "openmrs_entity_parent": "" + } + }, + { + "name": "none", + "text": "None", + "is_exclusive": true, + "meta_data": { + "openmrs_entity": "", + "openmrs_entity_id": "", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Please TB services provided", + "subjects": "registration_or_followup_status:text" + }, + { + "name": "tb_services_provided_other", + "type": "text_input_edit_text", + "properties": { + "hint": "Other TB Services Provided", + "type": "name" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "tb_services_provided_other", + "openmrs_entity_parent": "tb_services_provided" + }, + "required_status": "true:Please specify other TB services provided", + "subjects": "tb_services_provided:map" + }, + { + "name": "state_of_therapy", + "type": "spinner", + "properties": { + "text": "State of therapy and (TB) care" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "state_of_therapy", + "openmrs_entity_parent": "" + }, + "options": [ + { + "name": "registered_but_not_began_medication", + "text": "Registered in TB clinic but hasn't begun TB/DR-TB medication", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "registered_but_not_began_medication", + "openmrs_entity_parent": "" + } + }, + { + "name": "registered_and_uses_medication", + "text": "Registered in TB clinic and uses TB/ DR TB medication", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "registered_and_uses_medication", + "openmrs_entity_parent": "" + } + }, + { + "name": "not_registered_in_tb_clinic", + "text": "Client is not registed in TB clinic", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "not_registered_in_tb_clinic", + "openmrs_entity_parent": "" + } + }, + { + "name": "na", + "text": "Not Applicable", + "meta_data": { + "openmrs_entity": "", + "openmrs_entity_id": "", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Please specify the state of TB therapy", + "subjects": "registration_or_followup_status:text" + } + ] + } + ] +} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/json.form/tb_registration.json b/opensrp-chw/src/ba/assets/json.form/tb_registration.json new file mode 100644 index 0000000000..cdb6125a42 --- /dev/null +++ b/opensrp-chw/src/ba/assets/json.form/tb_registration.json @@ -0,0 +1,339 @@ +{ + "form": "TB Registration form", + "count": "1", + "encounter_type": "TB Registration", + "entity_id": "", + "relational_id": "", + "rules_file": "rule/tb_registration_form_rules.yml", + "metadata": { + "start": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "start", + "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "end": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "end", + "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "today": { + "openmrs_entity_parent": "", + "openmrs_entity": "encounter", + "openmrs_entity_id": "encounter_date" + }, + "deviceid": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "deviceid", + "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "subscriberid": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "subscriberid", + "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "simserial": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "simserial", + "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "phonenumber": { + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_data_type": "phonenumber", + "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "encounter_location": "", + "look_up": { + "entity_id": "", + "value": "" + } + }, + "steps": [ + { + "title": "TB Clients Registration form", + "fields": [ + { + "name": "community_client_tb_registration_number", + "type": "text_input_edit_text", + "properties": { + "hint": "Client TB Clinic Registration Number" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "community_client_tb_registration_number", + "openmrs_entity_parent": "" + }, + "required_status": "no" + }, + { + "name": "client_tb_status_during_registration", + "type": "spinner", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_tb_status_during_registration", + "openmrs_entity_parent": "" + }, + "properties": { + "text": "Client's TB status during registration" + }, + "options": [ + { + "name": "unknown", + "text": "Unknown", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "unknown", + "openmrs_entity_parent": "" + } + }, + { + "name": "positive", + "text": "Positive", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "positive", + "openmrs_entity_parent": "" + } + }, + { + "name": "negative", + "text": "Negative", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "negative", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Please specify Client's TB status during registration", + "dependent_calculations": [ + "tb_registration_date" + ] + }, + { + "name": "place_of_domicile", + "type": "spinner", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "place_of_domicile", + "openmrs_entity_parent": "" + }, + "properties": { + "text": "Place of Domicile" + }, + "options": [ + { + "name": "a_family_with_tb_patient", + "text": "A family with TB patient", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "a_family_with_tb_patient", + "openmrs_entity_parent": "" + } + }, + { + "name": "a_family_without_tb_patient", + "text": "A family without TB patient", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "a_family_without_tb_patient", + "openmrs_entity_parent": "" + } + }, + { + "name": "community_gathering", + "text": "Community Gathering", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "community_gathering", + "openmrs_entity_parent": "" + } + }, + { + "name": "pharmacy", + "text": "Pharmacy", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "pharmacy", + "openmrs_entity_parent": "" + } + }, + { + "name": "traditional_doctors", + "text": "Traditional doctors", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "traditional_doctors", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Please specify place of domicile" + }, + { + "name": "district_council_number_of_current_tb_client", + "type": "text_input_edit_text", + "properties": { + "hint": "District council number of the TB client in the family" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "district_council_number_of_current_tb_client", + "openmrs_entity_parent": "" + }, + "required_status": "yes:Fill in the district council number of the TB client in the family", + "subjects": "place_of_domicile:text" + }, + { + "name": "community_gathering", + "type": "spinner", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "community_gathering", + "openmrs_entity_parent": "" + }, + "properties": { + "text": "Type of community gathering" + }, + "options": [ + { + "name": "school", + "text": "School", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "school", + "openmrs_entity_parent": "" + } + }, + { + "name": "worship_houses", + "text": "Worship houses", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "worship_houses", + "openmrs_entity_parent": "" + } + }, + { + "name": "mining", + "text": "Mining", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "mining", + "openmrs_entity_parent": "" + } + }, + { + "name": "public_meetings", + "text": "Public meetings", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "public_meetings", + "openmrs_entity_parent": "" + } + }, + { + "name": "prison", + "text": "Prison", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "prison", + "openmrs_entity_parent": "" + } + }, + { + "name": "others", + "text": "Others", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "others", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Please specify the type of community gathering", + "subjects": "place_of_domicile:text" + }, + { + "name": "other_community_gathering", + "type": "text_input_edit_text", + "properties": { + "hint": "Specify other community gathering" + }, + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "other_community_gathering", + "openmrs_entity_parent": "" + }, + "required_status": "yes:Please specify other community gathering", + "subjects": "community_gathering:text" + }, + { + "name": "client_screening_results", + "type": "spinner", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "client_screening_results", + "openmrs_entity_parent": "" + }, + "properties": { + "text": "Client's screening results" + }, + "options": [ + { + "name": "coughing", + "text": "Coughing", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "coughing", + "openmrs_entity_parent": "" + } + }, + { + "name": "hemoptysis", + "text": "Sputum with blood (hemoptysis) ", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "hemoptysis", + "openmrs_entity_parent": "" + } + }, + { + "name": "fever", + "text": "Fever", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "fever", + "openmrs_entity_parent": "" + } + }, + { + "name": "weight_lose", + "text": "Weight lose", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "weight_lose", + "openmrs_entity_parent": "" + } + }, + { + "name": "history_of_night_sweats", + "text": "History of night sweats", + "meta_data": { + "openmrs_entity": "concept", + "openmrs_entity_id": "history_of_night_sweats", + "openmrs_entity_parent": "" + } + } + ], + "required_status": "yes:Please specify clients screening results" + } + ] + } + ] +} \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/rule/all_clients_member_update_calculation.yml b/opensrp-chw/src/ba/assets/rule/all_clients_member_update_calculation.yml new file mode 100644 index 0000000000..cd455aeba3 --- /dev/null +++ b/opensrp-chw/src/ba/assets/rule/all_clients_member_update_calculation.yml @@ -0,0 +1,14 @@ +--- +name: step1_age_calculated +description: Age calculated +priority: 1 +condition: "true" +actions: + - "calculation = (!step1_dob_unknown.isEmpty() && step1_dob_unknown.contains('dob_unknown')) ? step1_age : helper.getDifferenceDays(step1_dob) / 365.25" +--- +name: step1_wra +description: wra calculation +priority: 1 +condition: "step1_sex == 'Female' && (step1_age_calculated >= 10 && step1_age_calculated <= 49)" +actions: + - "calculation = 1" diff --git a/opensrp-chw/src/ba/assets/rule/all_clients_member_update_relevance.yml b/opensrp-chw/src/ba/assets/rule/all_clients_member_update_relevance.yml new file mode 100644 index 0000000000..303590dd14 --- /dev/null +++ b/opensrp-chw/src/ba/assets/rule/all_clients_member_update_relevance.yml @@ -0,0 +1,78 @@ +--- +name: step1_dob +description: dob relevance +priority: 1 +condition: "!step1_dob_unknown.contains('dob_unknown')" +actions: + - "isRelevant = true" +--- +name: step1_age +description: age relevance +priority: 1 +condition: "step1_dob_unknown.contains('dob_unknown')" +actions: + - "isRelevant = true" +--- +name: step1_phone_number +description: phone number relevance +priority: 1 +condition: "step1_is_primary_caregiver == 'Yes'" +actions: + - "isRelevant = true" +--- +name: step1_id_avail +description: identity relevance +priority: 1 +condition: "(step1_dob != '' && helper.formatDate(step1_dob,'y') >= 18) || (step1_age != '' && step1_age >= 18)" +actions: + - "isRelevant = true" + +--- +name: step1_preg_1yr +description: pregnance 1yr relevance +priority: 1 +condition: "step1_wra == 1" +actions: + - "isRelevant = true" +--- +name: step1_insurance_provider_other +description: insurance_provider_other relevance +priority: 1 +condition: "!step1_insurance_provider.isEmpty() && step1_insurance_provider.equals('Other')" +actions: + - "isRelevant = true" +--- +name: step1_insurance_provider_number +descripltion: insurance number relevance +priority: 1 +condition: "!step1_insurance_provider.isEmpty() && !step1_insurance_provider.contains('None')" +actions: + - "isRelevant = true" +--- +name: step1_type_of_disability +description: type_of_disability relevance +priority: 1 +condition: "step1_disabilities.equals('Yes')" +actions: + - "isRelevant = true" +--- +name: step1_preg_1yr +description: pregnance 1yr relevance +priority: 1 +condition: "step1_wra == 1" +actions: + - "isRelevant = true" +--- +name: step1_primary_caregiver_name +description: ask primary caregiver name +priority: 1 +condition: "step1_has_primary_caregiver == 'Yes'" +actions: + - "isRelevant = true" +--- +name: step1_other_phone_number +description: as primary caregiver phone number +priority: 1 +condition: "step1_has_primary_caregiver == 'Yes'" +actions: + - "isRelevant = true" \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/rule/hiv-followup-rules.yml b/opensrp-chw/src/ba/assets/rule/hiv-followup-rules.yml new file mode 100644 index 0000000000..f9c76f1c5d --- /dev/null +++ b/opensrp-chw/src/ba/assets/rule/hiv-followup-rules.yml @@ -0,0 +1,8 @@ +--- +name: schedule_every_month +description: monthly +priority: 1 +condition: "true" +actions: + - "hivFollowupRule.setVisitID('1')" + - "hivFollowupRule.isValid(28,35,365)" \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/rule/hiv_community_followup_feedback_rules.yml b/opensrp-chw/src/ba/assets/rule/hiv_community_followup_feedback_rules.yml new file mode 100644 index 0000000000..26bf6b91da --- /dev/null +++ b/opensrp-chw/src/ba/assets/rule/hiv_community_followup_feedback_rules.yml @@ -0,0 +1,8 @@ +--- +name: "hiv_community_followup_visit_date_calculation" +description: "calculating the hiv followup visit date" +priority: 1 +condition: "true" +actions: + - "hiv_community_followup_visit_date_calculation = System.currentTimeMillis()" + diff --git a/opensrp-chw/src/ba/assets/rule/hiv_followup_form_rules.yml b/opensrp-chw/src/ba/assets/rule/hiv_followup_form_rules.yml new file mode 100644 index 0000000000..0acfa77fa4 --- /dev/null +++ b/opensrp-chw/src/ba/assets/rule/hiv_followup_form_rules.yml @@ -0,0 +1,71 @@ +--- +name: "client_condition_visibility" +description: "client_condition visibility" +priority: 1 +condition: "registration_or_followup_status.value=='New Client' || registration_or_followup_status.value=='Continuing with services'" +actions: + - "client_condition_visibility = true" +--- +name: "problem_visibility" +description: "problem visibility" +priority: 1 +condition: "registration_or_followup_status.value=='New Client' || registration_or_followup_status.value=='Continuing with services'" +actions: + - "problem_visibility = true" +--- +name: "problem_other_visibility" +description: "problem visibility" +priority: 1 +condition: "problem['other_problems'] != null" +actions: + - "problem_other_visibility = true" +--- +name: "client_behaviour_and_environmental_risk_visibility" +description: "client_behaviour_and_environmental_risk visibility" +priority: 1 +condition: "registration_or_followup_status.value=='New Client' || registration_or_followup_status.value=='Continuing with services'" +actions: + - "client_behaviour_and_environmental_risk_visibility = true" +--- +name: "supplies_provided_visibility" +description: "supplies_provided visibility" +priority: 1 +condition: "registration_or_followup_status.value=='New Client' || registration_or_followup_status.value=='Continuing with services'" +actions: + - "supplies_provided_visibility = true" +--- +name: "supplies_provided_other_visibility" +description: "supplies_provided_other visibility" +priority: 1 +condition: "supplies_provided['other_medicine'] != null" +actions: + - "supplies_provided_other_visibility = true" +--- +name: "hiv_services_provided_visibility" +description: "hiv_services_provided visibility" +priority: 1 +condition: "registration_or_followup_status.value == 'New Client' || registration_or_followup_status.value == 'Continuing with services'" +actions: + - "hiv_services_provided_visibility = true" +--- +name: "hiv_services_provided_other_visibility" +description: "hiv_services_provided_other visibility" +priority: 1 +condition: "hiv_services_provided['other_hiv_services'] != null" +actions: + - "hiv_services_provided_other_visibility = true" +--- +name: "state_of_therapy_visibility" +description: "state_of_therapy visibility" +priority: 1 +condition: "registration_or_followup_status.value == 'New Client' || registration_or_followup_status.value == 'Continuing with services'" +actions: + - "state_of_therapy_visibility = true" +--- +name: "hiv_followup_visit_date_calculation" +description: "calculating the hiv followup visit date" +priority: 1 +condition: "true" +actions: + - "hiv_followup_visit_date_calculation = System.currentTimeMillis()" + diff --git a/opensrp-chw/src/ba/assets/rule/hiv_registration_form_rules.yml b/opensrp-chw/src/ba/assets/rule/hiv_registration_form_rules.yml new file mode 100644 index 0000000000..239d3ecfe3 --- /dev/null +++ b/opensrp-chw/src/ba/assets/rule/hiv_registration_form_rules.yml @@ -0,0 +1,7 @@ +--- +name: "hiv_registration_date_calculation" +description: "calculating the hiv registration date" +priority: 1 +condition: "true" +actions: + - "hiv_registration_date_calculation = System.currentTimeMillis()" \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/rule/tb-followup-rules.yml b/opensrp-chw/src/ba/assets/rule/tb-followup-rules.yml new file mode 100644 index 0000000000..a4baef0a61 --- /dev/null +++ b/opensrp-chw/src/ba/assets/rule/tb-followup-rules.yml @@ -0,0 +1,8 @@ +--- +name: schedule_every_month +description: monthly +priority: 1 +condition: "true" +actions: + - "tbFollowupRule.setVisitID('1')" + - "tbFollowupRule.isValid(28,35,365)" \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/rule/tb_case_closure_form_rules.yml b/opensrp-chw/src/ba/assets/rule/tb_case_closure_form_rules.yml new file mode 100644 index 0000000000..a0aaaddc10 --- /dev/null +++ b/opensrp-chw/src/ba/assets/rule/tb_case_closure_form_rules.yml @@ -0,0 +1,21 @@ +--- +name: "community_gathering_visibility" +description: "Display community gathering types if community gathering is chosen" +priority: 1 +condition: "place_of_domicile.value=='Community Gathering'" +actions: + - "community_gathering_visibility = true" +--- +name: "other_community_gathering_visibility" +description: "Display other community gathering types if others is chosen" +priority: 1 +condition: "community_gathering.value == 'Others'" +actions: + - "other_community_gathering_visibility = true" +--- +name: "tb_case_closure_date_calculation" +description: "calculating the case closure date" +priority: 1 +condition: "true" +actions: + - "tb_case_closure_date_calculation = System.currentTimeMillis()" \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/rule/tb_community_followup_feedback_rules.yml b/opensrp-chw/src/ba/assets/rule/tb_community_followup_feedback_rules.yml new file mode 100644 index 0000000000..d11e4e00ae --- /dev/null +++ b/opensrp-chw/src/ba/assets/rule/tb_community_followup_feedback_rules.yml @@ -0,0 +1,8 @@ +--- +name: "tb_community_followup_visit_date_calculation" +description: "calculating the tb followup visit date" +priority: 1 +condition: "true" +actions: + - "tb_community_followup_visit_date_calculation = System.currentTimeMillis()" + diff --git a/opensrp-chw/src/ba/assets/rule/tb_followup_form_rules.yml b/opensrp-chw/src/ba/assets/rule/tb_followup_form_rules.yml new file mode 100644 index 0000000000..a2817612b0 --- /dev/null +++ b/opensrp-chw/src/ba/assets/rule/tb_followup_form_rules.yml @@ -0,0 +1,70 @@ +--- +name: "client_condition_visibility" +description: "client_condition visibility" +priority: 1 +condition: "registration_or_followup_status.value == 'New Client' || registration_or_followup_status.value == 'Continuing with services'" +actions: + - "client_condition_visibility = true" +--- +name: "problem_visibility" +description: "problem visibility" +priority: 1 +condition: "registration_or_followup_status.value == 'New Client' || registration_or_followup_status.value == 'Continuing with services'" +actions: + - "problem_visibility = true" +--- +name: "problem_other_visibility" +description: "problem other visibility" +priority: 1 +condition: "problem['other_problems'] != null" +actions: + - "problem_other_visibility = true" +--- +name: "client_behaviour_and_environmental_risk_visibility" +description: "client_behaviour_and_environmental_risk visibility" +priority: 1 +condition: "registration_or_followup_status.value == 'New Client' || registration_or_followup_status.value == 'Continuing with services'" +actions: + - "client_behaviour_and_environmental_risk_visibility = true" +--- +name: "supplies_provided_visibility" +description: "supplies_provided visibility" +priority: 1 +condition: "registration_or_followup_status.value == 'New Client' || registration_or_followup_status.value == 'Continuing with services'" +actions: + - "supplies_provided_visibility = true" +--- +name: "supplies_provided_other_visibility" +description: "supplies_provided_other visibility" +priority: 1 +condition: "supplies_provided['other_medicine'] != null" +actions: + - "supplies_provided_other_visibility = true" +--- +name: "tb_services_provided_visibility" +description: "tb_services_provided visibility" +priority: 1 +condition: "registration_or_followup_status.value == 'New Client' || registration_or_followup_status.value == 'Continuing with services'" +actions: + - "tb_services_provided_visibility = true" +--- +name: "tb_services_provided_other_visibility" +description: "tb_services_provided_other visibility" +priority: 1 +condition: "tb_services_provided['other_services'] != null" +actions: + - "tb_services_provided_other_visibility = true" +--- +name: "state_of_therapy_visibility" +description: "state_of_therapy visibility" +priority: 1 +condition: "registration_or_followup_status.value == 'New Client' || registration_or_followup_status.value == 'Continuing with services'" +actions: + - "state_of_therapy_visibility = true" +--- +name: "tb_followup_visit_date_calculation" +description: "calculating tb followup visit date" +priority: 1 +condition: "true" +actions: + - "tb_followup_visit_date_calculation = System.currentTimeMillis()" \ No newline at end of file diff --git a/opensrp-chw/src/ba/assets/rule/tb_registration_form_rules.yml b/opensrp-chw/src/ba/assets/rule/tb_registration_form_rules.yml new file mode 100644 index 0000000000..b5727279ba --- /dev/null +++ b/opensrp-chw/src/ba/assets/rule/tb_registration_form_rules.yml @@ -0,0 +1,28 @@ +--- +name: "district_council_number_of_current_tb_client_visibility" +description: "district council number of current tb client when a family with tb client is chosen" +priority: 1 +condition: "place_of_domicile.value == 'A family with TB patient'" +actions: + - "district_council_number_of_current_tb_client_visibility = true" +--- +name: "community_gathering_visibility" +description: "Display community gathering types if community gathering is chosen" +priority: 1 +condition: "place_of_domicile.value == 'Community Gathering'" +actions: + - "community_gathering_visibility = true" +--- +name: "other_community_gathering_visibility" +description: "Display other community gathering types if others is chosen" +priority: 1 +condition: "community_gathering.value == 'Others'" +actions: + - "other_community_gathering_visibility = true" +--- +name: "tb_registration_date_calculation" +description: "calculating the registration date" +priority: 1 +condition: "true" +actions: + - "tb_registration_date_calculation = System.currentTimeMillis()" \ No newline at end of file diff --git a/opensrp-chw/src/ba/java/org/smartregister/chw/activity/AncMedicalHistoryActivityFlv.java b/opensrp-chw/src/ba/java/org/smartregister/chw/activity/AncMedicalHistoryActivityFlv.java index 425c6a0252..d230edf0b3 100644 --- a/opensrp-chw/src/ba/java/org/smartregister/chw/activity/AncMedicalHistoryActivityFlv.java +++ b/opensrp-chw/src/ba/java/org/smartregister/chw/activity/AncMedicalHistoryActivityFlv.java @@ -5,13 +5,12 @@ import android.widget.TextView; import org.smartregister.chw.R; -import org.smartregister.chw.core.activity.DefaultAncMedicalHistoryActivityFlv; import java.text.MessageFormat; import java.util.List; import java.util.Map; -public class AncMedicalHistoryActivityFlv extends DefaultAncMedicalHistoryActivityFlv { +public class AncMedicalHistoryActivityFlv extends DefaultChwAncMedicalHistoryActivityFlv { @Override protected void processAncCard(String has_card, Context context) { diff --git a/opensrp-chw/src/ba/java/org/smartregister/chw/activity/FamilyOtherMemberProfileActivityFlv.java b/opensrp-chw/src/ba/java/org/smartregister/chw/activity/FamilyOtherMemberProfileActivityFlv.java index cad252431a..bb09841015 100644 --- a/opensrp-chw/src/ba/java/org/smartregister/chw/activity/FamilyOtherMemberProfileActivityFlv.java +++ b/opensrp-chw/src/ba/java/org/smartregister/chw/activity/FamilyOtherMemberProfileActivityFlv.java @@ -4,6 +4,8 @@ import android.view.Menu; import android.widget.Toast; +import androidx.annotation.Nullable; + import org.smartregister.chw.BuildConfig; import org.smartregister.chw.R; import org.smartregister.chw.core.fragment.FamilyCallDialogFragment; @@ -27,7 +29,7 @@ public OnClickFloatingMenu getOnClickFloatingMenu(final Activity activity, final break; case R.id.refer_to_facility_layout: if (BuildConfig.USE_UNIFIED_REFERRAL_APPROACH) { - launchClientReferralActivity(activity, getCommonReferralTypes(activity), baseEntityId); + launchClientReferralActivity(activity, getCommonReferralTypes(activity), baseEntityId); } else { Toast.makeText(activity, "Refer to facility", Toast.LENGTH_SHORT).show(); } @@ -48,6 +50,16 @@ public void updateMaleFpMenuItems(String baseEntityId, Menu menu) { UtilsFlv.updateFpMenuItems(baseEntityId, menu); } + @Override + public void updateHivMenuItems(@Nullable String baseEntityId, @Nullable Menu menu) { + UtilsFlv.updateHivMenuItems(baseEntityId, menu); + } + + @Override + public void updateTbMenuItems(@Nullable String baseEntityId, @Nullable Menu menu) { + UtilsFlv.updateTbMenuItems(baseEntityId, menu); + } + @Override public void updateFpMenuItems(String baseEntityId, Menu menu) { UtilsFlv.updateFpMenuItems(baseEntityId, menu); diff --git a/opensrp-chw/src/ba/java/org/smartregister/chw/activity/HivProfileActivityFlv.java b/opensrp-chw/src/ba/java/org/smartregister/chw/activity/HivProfileActivityFlv.java new file mode 100644 index 0000000000..2d6334109f --- /dev/null +++ b/opensrp-chw/src/ba/java/org/smartregister/chw/activity/HivProfileActivityFlv.java @@ -0,0 +1,12 @@ +package org.smartregister.chw.activity; + +import android.view.Menu; + +import org.smartregister.chw.util.UtilsFlv; + +public class HivProfileActivityFlv extends DefaultHivProfileActivityFlv { + @Override + public void updateTbMenuItems(String baseEntityId, Menu menu) { + UtilsFlv.updateTbMenuItems(baseEntityId, menu); + } +} diff --git a/opensrp-chw/src/ba/java/org/smartregister/chw/activity/PncMemberProfileActivityFlv.java b/opensrp-chw/src/ba/java/org/smartregister/chw/activity/PncMemberProfileActivityFlv.java index 5e18e32add..878c2544d7 100644 --- a/opensrp-chw/src/ba/java/org/smartregister/chw/activity/PncMemberProfileActivityFlv.java +++ b/opensrp-chw/src/ba/java/org/smartregister/chw/activity/PncMemberProfileActivityFlv.java @@ -16,6 +16,8 @@ public Boolean onCreateOptionsMenu(Menu menu, String baseEntityId) { } else { menu.findItem(R.id.action_fp_initiation_pnc).setVisible(true); } + UtilsFlv.updateHivMenuItems(baseEntityId, menu); + UtilsFlv.updateTbMenuItems(baseEntityId, menu); return true; } } diff --git a/opensrp-chw/src/ba/java/org/smartregister/chw/activity/TbProfileActivityFlv.java b/opensrp-chw/src/ba/java/org/smartregister/chw/activity/TbProfileActivityFlv.java new file mode 100644 index 0000000000..700e1d3cf3 --- /dev/null +++ b/opensrp-chw/src/ba/java/org/smartregister/chw/activity/TbProfileActivityFlv.java @@ -0,0 +1,12 @@ +package org.smartregister.chw.activity; + +import android.view.Menu; + +import org.smartregister.chw.util.UtilsFlv; + +public class TbProfileActivityFlv extends DefaultTbProfileActivityFlv { + @Override + public void updateHivMenuItems(String baseEntityId, Menu menu) { + UtilsFlv.updateHivMenuItems(baseEntityId, menu); + } +} diff --git a/opensrp-chw/src/ba/java/org/smartregister/chw/application/ChwApplicationFlv.java b/opensrp-chw/src/ba/java/org/smartregister/chw/application/ChwApplicationFlv.java index e2b50862e7..8e0e48e8f5 100644 --- a/opensrp-chw/src/ba/java/org/smartregister/chw/application/ChwApplicationFlv.java +++ b/opensrp-chw/src/ba/java/org/smartregister/chw/application/ChwApplicationFlv.java @@ -51,7 +51,7 @@ public boolean hasWashCheck() { @Override public boolean hasMalaria() { - return true; + return false; } @Override @@ -78,11 +78,21 @@ public boolean hasStockUsageReport() { return true; } + @Override + public boolean hasHIV() { + return true; + } + @Override public boolean hasFamilyLocationRow() { return true; } + @Override + public boolean hasTB() { + return true; + } + @Override public boolean usesPregnancyRiskProfileLayout() { return true; @@ -126,4 +136,10 @@ public Map getFTSSearchMap() { }); return map; } +<<<<<<< HEAD + + @Override + public boolean showsPhysicallyDisabledView() { return false; } +======= +>>>>>>> 939cab83bf354adff709f1c84ad320faf058d44c } diff --git a/opensrp-chw/src/ba/java/org/smartregister/chw/custom_view/NavigationMenuFlv.java b/opensrp-chw/src/ba/java/org/smartregister/chw/custom_view/NavigationMenuFlv.java index 61ba6450bd..4f7061887d 100644 --- a/opensrp-chw/src/ba/java/org/smartregister/chw/custom_view/NavigationMenuFlv.java +++ b/opensrp-chw/src/ba/java/org/smartregister/chw/custom_view/NavigationMenuFlv.java @@ -41,7 +41,15 @@ public boolean hasStockReport() { @Override public boolean hasCommunityResponders() { +<<<<<<< HEAD +<<<<<<< HEAD + return false; +======= return true; +>>>>>>> 69df23d8fe897da2e4190cddc9d9437ea1942817 +======= + return true; +>>>>>>> 939cab83bf354adff709f1c84ad320faf058d44c } @Override diff --git a/opensrp-chw/src/ba/java/org/smartregister/chw/model/NavigationModelFlv.java b/opensrp-chw/src/ba/java/org/smartregister/chw/model/NavigationModelFlv.java index 6816075f25..86d24f580a 100644 --- a/opensrp-chw/src/ba/java/org/smartregister/chw/model/NavigationModelFlv.java +++ b/opensrp-chw/src/ba/java/org/smartregister/chw/model/NavigationModelFlv.java @@ -34,6 +34,11 @@ public List getNavigationItems() { navigationOptions.addAll(Arrays.asList(op1, op3, op5, op2, op6, op7)); + if (BuildConfig.USE_UNIFIED_REFERRAL_APPROACH && BuildConfig.BUILD_FOR_BORESHA_AFYA_SOUTH) { + navigationOptions.add(new NavigationOption(R.mipmap.sidemenu_hiv, R.mipmap.sidemenu_hiv_active, R.string.menu_hiv, CoreConstants.DrawerMenu.HIV_CLIENTS, 0)); + navigationOptions.add(new NavigationOption(R.mipmap.sidemenu_tb, R.mipmap.sidemenu_tb_active, R.string.menu_tb, CoreConstants.DrawerMenu.TB_CLIENTS, 0)); + } + if (BuildConfig.USE_UNIFIED_REFERRAL_APPROACH) navigationOptions.add(op8); diff --git a/opensrp-chw/src/ba/java/org/smartregister/chw/repository/ChwRepositoryFlv.java b/opensrp-chw/src/ba/java/org/smartregister/chw/repository/ChwRepositoryFlv.java index 961b5a551e..61fae1c57f 100644 --- a/opensrp-chw/src/ba/java/org/smartregister/chw/repository/ChwRepositoryFlv.java +++ b/opensrp-chw/src/ba/java/org/smartregister/chw/repository/ChwRepositoryFlv.java @@ -100,8 +100,15 @@ public static void onUpgrade(Context context, SQLiteDatabase db, int oldVersion, upgradeToVersion22(db); break; case 23: - upgradeToVersion23(db); + upgradeToVersion23(context, db); break; + case 24: + upgradeToVersion24(db); + break; + case 25: + upgradeToVersion25(db); + break; + default: break; } @@ -123,8 +130,6 @@ private static void upgradeToVersion2(Context context, SQLiteDatabase db) { // EventClientRepository.createTable(db, EventClientRepository.Table.path_reports, EventClientRepository.report_column.values()); db.execSQL(VaccineRepository.UPDATE_TABLE_ADD_HIA2_STATUS_COL); - IMDatabaseUtils.accessAssetsAndFillDataBaseForVaccineTypes(context, db); - } catch (Exception e) { Timber.e(e, "upgradeToVersion2 "); } @@ -362,7 +367,29 @@ private static void upgradeToVersion22(SQLiteDatabase db) { } } - private static void upgradeToVersion23(SQLiteDatabase db) { + private static void upgradeToVersion23(Context context, SQLiteDatabase db) { + try { + db.execSQL(VaccineRepository.UPDATE_TABLE_ADD_IS_VOIDED_COL); + db.execSQL(VaccineRepository.UPDATE_TABLE_ADD_IS_VOIDED_COL_INDEX); + + IMDatabaseUtils.accessAssetsAndFillDataBaseForVaccineTypes(context, db); + } catch (Exception e) { + Timber.e(e); + } + } + + private static void upgradeToVersion24(SQLiteDatabase db) { + try { + DatabaseMigrationUtils.createAddedECTables(db, + new HashSet<>(Arrays.asList("ec_hiv_register", "ec_hiv_community_followup", "ec_hiv_community_feedback", "ec_tb_register", "ec_tb_community_followup", "ec_tb_community_feedback", "ec_hiv_outcome", "ec_tb_outcome")), + ChwApplication.createCommonFtsObject()); + } catch (Exception e) { + Timber.e(e, "upgradeToVersion24"); + } + + } + + private static void upgradeToVersion25(SQLiteDatabase db) { try { db.execSQL(VisitRepository.ADD_VISIT_GROUP_COLUMN); db.execSQL("ALTER TABLE ec_anc_register ADD COLUMN delivery_kit VARCHAR;"); @@ -370,5 +397,5 @@ private static void upgradeToVersion23(SQLiteDatabase db) { Timber.e(e, "upgradeToVersion23"); } } - } + diff --git a/opensrp-chw/src/ba/java/org/smartregister/chw/util/UtilsFlv.java b/opensrp-chw/src/ba/java/org/smartregister/chw/util/UtilsFlv.java index 551be1c1d1..17eed7e69c 100644 --- a/opensrp-chw/src/ba/java/org/smartregister/chw/util/UtilsFlv.java +++ b/opensrp-chw/src/ba/java/org/smartregister/chw/util/UtilsFlv.java @@ -9,7 +9,9 @@ import org.smartregister.chw.core.utils.CoreConstants; import org.smartregister.chw.core.utils.MalariaVisitUtil; import org.smartregister.chw.fp.dao.FpDao; +import org.smartregister.chw.hiv.dao.HivDao; import org.smartregister.chw.malaria.dao.MalariaDao; +import org.smartregister.chw.tb.dao.TbDao; import org.smartregister.util.Utils; import java.util.Date; @@ -57,4 +59,20 @@ public static void updateFpMenuItems(String baseEntityId, Menu menu) { } } + public static void updateHivMenuItems(String baseEntityId, Menu menu) { + if (HivDao.isRegisteredForHiv(baseEntityId)) { + menu.findItem(R.id.action_hiv_registration).setVisible(false); + }else{ + menu.findItem(R.id.action_hiv_registration).setVisible(true); + } + } + + public static void updateTbMenuItems(String baseEntityId, Menu menu) { + if (TbDao.isRegisteredForTb(baseEntityId)) { + menu.findItem(R.id.action_tb_registration).setVisible(false); + }else{ + menu.findItem(R.id.action_tb_registration).setVisible(true); + } + } + } diff --git a/opensrp-chw/src/ba/res/drawable-hdpi/ic_logo.png b/opensrp-chw/src/ba/res/drawable-hdpi/ic_logo_ba.png similarity index 100% rename from opensrp-chw/src/ba/res/drawable-hdpi/ic_logo.png rename to opensrp-chw/src/ba/res/drawable-hdpi/ic_logo_ba.png diff --git a/opensrp-chw/src/ba/res/drawable/ic_logo.png b/opensrp-chw/src/ba/res/drawable/ic_logo.png index c075e49c19..c799be157a 100644 Binary files a/opensrp-chw/src/ba/res/drawable/ic_logo.png and b/opensrp-chw/src/ba/res/drawable/ic_logo.png differ diff --git a/opensrp-chw/src/ba/res/drawable/ic_logo_ba.png b/opensrp-chw/src/ba/res/drawable/ic_logo_ba.png new file mode 100644 index 0000000000..c075e49c19 Binary files /dev/null and b/opensrp-chw/src/ba/res/drawable/ic_logo_ba.png differ diff --git a/opensrp-chw/src/ba/res/xml/authenticator.xml b/opensrp-chw/src/ba/res/xml/authenticator.xml new file mode 100644 index 0000000000..f2f78d95bd --- /dev/null +++ b/opensrp-chw/src/ba/res/xml/authenticator.xml @@ -0,0 +1,7 @@ + + \ No newline at end of file diff --git a/opensrp-chw/src/ba/resources/all_clients_registration_form.properties b/opensrp-chw/src/ba/resources/all_clients_registration_form.properties new file mode 100644 index 0000000000..276a68352f --- /dev/null +++ b/opensrp-chw/src/ba/resources/all_clients_registration_form.properties @@ -0,0 +1,143 @@ +all_clients_registration_form.step2.first_name.hint = First name +all_clients_registration_form.step2.photo.uploadButtonText = Take a picture of the person +all_clients_registration_form.step2.insurance_provider.values[1] = iCHF +all_clients_registration_form.step2.other_phone_number.v_numeric.err = Number must be a total of 10 digits in length +all_clients_registration_form.step2.reasons_for_registration.options.heart_disease.text = Heart diseases +all_clients_registration_form.step2.insurance_provider.values[9] = Resolutions Insurance +all_clients_registration_form.step2.type_of_disability.v_required.err = Please enter type of disability +all_clients_registration_form.step1.fam_village.v_regex.err = Please enter a valid village name +all_clients_registration_form.step2.age.v_numeric.err = Number must begin with 0 and must be a total of 10 digits in length +all_clients_registration_form.step2.insurance_provider_number.v_required.err = Please add the health insurance provider iD Number +all_clients_registration_form.step2.disabilities.values[0] = Yes +all_clients_registration_form.step2.insurance_provider.hint = Health insurance provider +all_clients_registration_form.step2.primary_caregiver_name.v_required.err = Please specify the name of the caregiver. +all_clients_registration_form.step2.national_id.hint = National ID number +all_clients_registration_form.step2.service_provider.options.chk_other.text = Other +all_clients_registration_form.step2.id_avail.options.chk_passport.text = Passport +all_clients_registration_form.step2.reasons_for_registration.options.gender_violence.text = Gender violence +all_clients_registration_form.step2.insurance_provider.v_required.err = Please enter the insurance provider +all_clients_registration_form.step2.type_of_disability.hint = Type of disability +all_clients_registration_form.step2.middle_name.v_regex.err = Please enter a valid name +all_clients_registration_form.step2.insurance_provider.values[0] = Community Health Fund (CHF) +all_clients_registration_form.step2.has_primary_caregiver.hint = Do you have a primary caregiver/Treatment supporter? +all_clients_registration_form.step2.service_provider.options.chk_cs.text = Civil Servant +all_clients_registration_form.step2.service_provider.options.chk_hbc.text = Home Based Care (HBC) +all_clients_registration_form.step2.service_provider.options.chk_cbd.text = Community Based Distributor +all_clients_registration_form.step2.dob_unknown.options.dob_unknown.text = DOB unknown? +all_clients_registration_form.step2.dob_unknown.label = +all_clients_registration_form.step2.insurance_provider.values[8] = Jubilee Insurance +all_clients_registration_form.step1.landmark.v_required.err = Please enter the landmark/description of location. +all_clients_registration_form.step2.reasons_for_registration.options.abused_child.text = Abused child +all_clients_registration_form.step2.age.v_numeric_integer.err = Must be a rounded number +all_clients_registration_form.step2.disabilities.values[1] = No +all_clients_registration_form.step2.disabilities.v_required.err = Please select one +all_clients_registration_form.step2.has_primary_caregiver.values[1] = No +all_clients_registration_form.step2.service_provider.options.chk_th.text = Traditional Healer +all_clients_registration_form.step2.reasons_for_registration.options.drug_abuse.text = Drug abuse +all_clients_registration_form.step2.service_provider.options.chk_farmer.text = Farmer +all_clients_registration_form.step2.reasons_for_registration.options.child_in_risky_environment.text = Child living in a risky environment +all_clients_registration_form.step2.insurance_provider_number.hint = Health insurance provider number +all_clients_registration_form.step2.voter_id.hint = Voter's registration number +all_clients_registration_form.step2.insurance_provider.values[7] = Britam Insurance Tanzania +all_clients_registration_form.step2.reasons_for_registration.options.homosexual.text = Man who has sex with a man +all_clients_registration_form.step2.leader.options.chk_none.text = None +all_clients_registration_form.step2.reasons_for_registration.options.diabetes.text = Diabetes +all_clients_registration_form.step2.reasons_for_registration.options.sex_worker_woman.text = Woman who sell sex +all_clients_registration_form.step1.fam_name.v_required.err = Please enter the surname +all_clients_registration_form.step2.surname.v_required.err = Please enter the surname +all_clients_registration_form.step1.fam_village.v_required.err = Please enter the village or town +all_clients_registration_form.step2.surname.v_regex.err = Please enter a valid name +all_clients_registration_form.step2.reasons_for_registration.options.sickle_cell_disease.text = Sickle cell disease +all_clients_registration_form.step2.service_provider.options.chk_nurse.text = Nurse +all_clients_registration_form.step2.leader.options.chk_influential.text = Influential leader +all_clients_registration_form.step1.landmark.hint = Landmark/ description of house location +all_clients_registration_form.step2.reasons_for_registration.options.weight_stagnation_child.text = A child with stagnation in weight +all_clients_registration_form.step2.preg_1yr.values[0] = Yes +all_clients_registration_form.step1.fam_name.hint = Surname +all_clients_registration_form.step2.reasons_for_registration.label = Reasons for Registration +all_clients_registration_form.step2.insurance_provider.values[6] = Milvik Tanzania Ltd (BIMA Mkononi) +all_clients_registration_form.step2.service_provider.label = Occupation of the family member +all_clients_registration_form.step2.age.hint = Age +all_clients_registration_form.step2.leader.v_required.err = Please pick at least one +all_clients_registration_form.step2.age.v_required.err = Please enter the age +all_clients_registration_form.step1.fam_village.hint = Village +all_clients_registration_form.step2.reasons_for_registration.options.cerebral_palsy.text = Cerebral palsy +all_clients_registration_form.step2.passport.hint = Passport number +all_clients_registration_form.step2.unique_id.scanButtonText = Scan QR Code +all_clients_registration_form.step2.dob.v_required.err = Please enter the date of birth +all_clients_registration_form.step2.service_provider.options.chk_chw.text = Community Health Worker (CHW) +all_clients_registration_form.step2.leader.options.chk_religious.text = Religious leader +all_clients_registration_form.step2.preg_1yr.values[1] = No +all_clients_registration_form.step2.service_provider.options.chk_cimmci.text = Community IMCI +all_clients_registration_form.step1.unique_id.scanButtonText = Scan QR Code +all_clients_registration_form.step1.unique_id.hint = ID +all_clients_registration_form.step2.reasons_for_registration.options.untested_hiv_infected_child.text = Untested HIV/AIDs child +all_clients_registration_form.step2.first_name.v_regex.err = Please enter a valid name +all_clients_registration_form.step1.nearest_facility.v_required.err = Please enter the nearest health facility +all_clients_registration_form.step2.reasons_for_registration.v_required.err = Reason for registration is required +all_clients_registration_form.step2.insurance_provider.values[5] = Strategies Insurance +all_clients_registration_form.step2.first_name.v_required.err = Please enter the first name +all_clients_registration_form.step2.reasons_for_registration.options.child_with_fever.text = A child with frequent fevers +all_clients_registration_form.step2.reasons_for_registration.options.cancer.text = Cancer +all_clients_registration_form.step2.insurance_provider.values[11] = Other +all_clients_registration_form.step2.driver_license.hint = Driver's license number +all_clients_registration_form.step2.other_phone_number.v_regex.err = Number must be 10 digits and must start with 0. +all_clients_registration_form.step2.phone_number.hint = Client phone number +all_clients_registration_form.step2.preg_1yr.hint = Has the woman delivered in the last 1 year? +all_clients_registration_form.step2.leader.options.chk_political.text = Political leader +all_clients_registration_form.step2.service_provider.options.chk_none.text = None +all_clients_registration_form.step2.surname.hint = Surname +all_clients_registration_form.step2.leader.options.chk_traditional.text = Traditional leader +all_clients_registration_form.step2.reasons_for_registration.options.hiv_aids_transmission.text = HIV/AIDs transimission +all_clients_registration_form.step2.disabilities.hint = Physical disabilities +all_clients_registration_form.step2.service_provider.options.chk_teacher.text = Teacher +all_clients_registration_form.step2.insurance_provider.values[4] = AAR Healthcare +all_clients_registration_form.step2.insurance_provider_other.v_required.err = Please specify the insurance provider +all_clients_registration_form.step2.id_avail.options.chk_national_id.text = National ID +all_clients_registration_form.step2.leader_other.v_required.err = Please specify role +all_clients_registration_form.step1.title = Location details +all_clients_registration_form.step2.id_avail.options.chk_voters_id.text = Voter's registration ID +all_clients_registration_form.step1.nearest_facility.hint = Nearest health facility +all_clients_registration_form.step2.insurance_provider.values[12] = None +all_clients_registration_form.step2.age.v_max.err = Age must be equal or less than 120 +all_clients_registration_form.step2.id_avail.label = Do have any of the following IDs? +all_clients_registration_form.step2.age.v_min.err = Age must be equal or greater than 5 +all_clients_registration_form.step2.reasons_for_registration.options.tuberculosis.text = Tuberculosis +all_clients_registration_form.step2.primary_caregiver_name.hint = Name of caregiver +all_clients_registration_form.step2.leader_other.hint = Mention other role in the community +all_clients_registration_form.step2.insurance_provider.values[3] = Tiba Kwa Kadi (TIKA) +all_clients_registration_form.step2.has_primary_caregiver.v_required.err = Please select one +all_clients_registration_form.step2.reasons_for_registration.options.pregnant_mother.text = Pregnant mother +all_clients_registration_form.step2.phone_number.v_required.err = Please specify the phone number +all_clients_registration_form.step2.service_provider.options.chk_tba.text = Traditional Birth Attendant +all_clients_registration_form.step1.unique_id.v_numeric.err = Please enter a valid ID +all_clients_registration_form.step2.middle_name.v_required.err = Please enter the middle name +all_clients_registration_form.step2.has_primary_caregiver.values[0] = Yes +all_clients_registration_form.step2.sex.values[1] = Female +all_clients_registration_form.step1.fam_name.v_regex.err = Please enter surname +all_clients_registration_form.step2.middle_name.hint = Middle name +all_clients_registration_form.step2.leader.options.chk_other.text = Other +all_clients_registration_form.step2.unique_id.hint = Boresha Afya ID +all_clients_registration_form.step2.dob.duration.label = Age +all_clients_registration_form.step2.unique_id.v_numeric.err = Please enter a valid ID +all_clients_registration_form.step2.insurance_provider_other.hint = Other health insurance provider +all_clients_registration_form.step2.sex.v_required.err = Please enter the sex +all_clients_registration_form.step2.insurance_provider.values[2] = National Social Security Fund - Social Health Insurance Benefit (SHIB) +all_clients_registration_form.step2.other_phone_number.hint = Primary caregiver phone number +all_clients_registration_form.step2.insurance_provider.values[10] = Reliance Insurance +all_clients_registration_form.step2.phone_number.v_regex.err = Number must be 10 digits and must start with 0. +all_clients_registration_form.step2.service_provider.options.chk_chmis.text = Community HMIS (cHMIS) +all_clients_registration_form.step2.service_provider.v_required.err = Please pick at least one +all_clients_registration_form.step2.phone_number.v_numeric.err = Number must be a total of 10 digits in length +all_clients_registration_form.step2.leader.label = Any leadership role in the community? +all_clients_registration_form.step2.other_phone_number.v_required.err = Please caregiver contact. +all_clients_registration_form.step2.preg_1yr.v_required.err = Please select if the woman has delivered in the last 1 year +all_clients_registration_form.step2.title = Client details +all_clients_registration_form.step2.reasons_for_registration.options.breastfeeding_mother.text = Breastfeeding mother +all_clients_registration_form.step2.dob.hint = Date of birth (DOB) +all_clients_registration_form.step2.unique_id.v_required.err = Please enter the UNIQUE ID +all_clients_registration_form.step2.sex.values[0] = Male +all_clients_registration_form.step2.sex.hint = Sex +all_clients_registration_form.step2.reasons_for_registration.options.hiv_infected_child.text = A child born from a mother with HIV/AIDs +all_clients_registration_form.step2.id_avail.options.chk_drivers_license.text = Driver's license +all_clients_registration_form.step2.id_avail.options.chk_none.text = None diff --git a/opensrp-chw/src/ba/resources/all_clients_registration_form_sw.properties b/opensrp-chw/src/ba/resources/all_clients_registration_form_sw.properties new file mode 100644 index 0000000000..3e25c79469 --- /dev/null +++ b/opensrp-chw/src/ba/resources/all_clients_registration_form_sw.properties @@ -0,0 +1,143 @@ +all_clients_registration_form.step2.first_name.hint = Jina la kwanza +all_clients_registration_form.step2.photo.uploadButtonText = Chukua picha ya muhusika +all_clients_registration_form.step2.insurance_provider.values[1] = Bima ya afya ya jamii ulioboreshwa (iCHF) +all_clients_registration_form.step2.other_phone_number.v_numeric.err = Nambari lazima iwe jumla ya nambari 10 kwa urefu +all_clients_registration_form.step2.reasons_for_registration.options.heart_disease.text = Magonjwa ya moyo +all_clients_registration_form.step2.insurance_provider.values[9] = Resolutions Insurance +all_clients_registration_form.step2.type_of_disability.v_required.err = Tafadhali ingiza aina ya ulemavu +all_clients_registration_form.step1.fam_village.v_regex.err = Tafadhali ingiza jina halali la kijiji +all_clients_registration_form.step2.age.v_numeric.err = Tafadhali ingiza umri +all_clients_registration_form.step2.insurance_provider_number.v_required.err = Tafadhali ingiza namba ya mfuko wa bima ya afya umaotumia +all_clients_registration_form.step2.disabilities.values[0] = Ndiyo +all_clients_registration_form.step2.insurance_provider.hint = Bima ya afya unaotumia +all_clients_registration_form.step2.primary_caregiver_name.v_required.err = Jina la msaidizi lazima iwe. +all_clients_registration_form.step2.national_id.hint = Namba ya kitambulisho cha taifa +all_clients_registration_form.step2.service_provider.options.chk_other.text = Nyingine +all_clients_registration_form.step2.id_avail.options.chk_passport.text = Hati ya kusafiria +all_clients_registration_form.step2.reasons_for_registration.options.gender_violence.text = Mtu aliyenyanyaswa kijinsia +all_clients_registration_form.step2.insurance_provider.v_required.err = Tafadhali ingiza bima +all_clients_registration_form.step2.type_of_disability.hint = Aina ya ulemavu +all_clients_registration_form.step2.middle_name.v_regex.err = Tafadhali ingiza jina halali +all_clients_registration_form.step2.insurance_provider.values[0] = Bima ya afya ya jamii (CHF) +all_clients_registration_form.step2.has_primary_caregiver.hint = Je una mlezi msaidizi?\n +all_clients_registration_form.step2.service_provider.options.chk_cs.text = Mtumishi wa serikali +all_clients_registration_form.step2.service_provider.options.chk_hbc.text = Watoa huduma kwa wagonjwa majumbani (HBC) +all_clients_registration_form.step2.service_provider.options.chk_cbd.text = Wasambazaji wa dawa na vifaa vya uzazi wa mpango katika jamii (CBD) +all_clients_registration_form.step2.dob_unknown.options.dob_unknown.text = Tarehe ya kuzaliwa haijulikani? +all_clients_registration_form.step2.dob_unknown.label = +all_clients_registration_form.step2.insurance_provider.values[8] = Jubilee Insurance +all_clients_registration_form.step1.landmark.v_required.err = Tafadhali ingiza maelezo ya alama au eneo la makazi +all_clients_registration_form.step2.reasons_for_registration.options.abused_child.text = Mtoto anayefanyiwa ukatili +all_clients_registration_form.step2.age.v_numeric_integer.err = Must be a rounded number +all_clients_registration_form.step2.disabilities.values[1] = Hapana +all_clients_registration_form.step2.disabilities.v_required.err = Tafadhali chagua moja +all_clients_registration_form.step2.has_primary_caregiver.values[1] = Hapana +all_clients_registration_form.step2.service_provider.options.chk_th.text = Waganga wa tiba asilia (THs) +all_clients_registration_form.step2.reasons_for_registration.options.drug_abuse.text = Mtu anayejidunga +all_clients_registration_form.step2.service_provider.options.chk_farmer.text = Mkulima +all_clients_registration_form.step2.reasons_for_registration.options.child_in_risky_environment.text = Mtoto anayeishi mazingira hatarishi +all_clients_registration_form.step2.insurance_provider_number.hint = Namba ya bima ya afya umaotumia +all_clients_registration_form.step2.voter_id.hint = Namba ya kitambulisho cha mpiga kura +all_clients_registration_form.step2.insurance_provider.values[7] = Britam Insurance Tanzania +all_clients_registration_form.step2.reasons_for_registration.options.homosexual.text = Mwanaume anayefanya ngono na mwanaume mwenzake +all_clients_registration_form.step2.leader.options.chk_none.text = Hakuna +all_clients_registration_form.step2.reasons_for_registration.options.diabetes.text = Kisukari +all_clients_registration_form.step2.reasons_for_registration.options.sex_worker_woman.text = Mwanamke anayefanya biashara ya ngono +all_clients_registration_form.step1.fam_name.v_required.err = Tafadhali ingiza jina la ukoo +all_clients_registration_form.step2.surname.v_required.err = Tafadhali ingiza jina la ukoo +all_clients_registration_form.step1.fam_village.v_required.err = Tafadhali ingiza kijiji au jiji +all_clients_registration_form.step2.surname.v_regex.err = Tafadhali ingiza jina halali +all_clients_registration_form.step2.reasons_for_registration.options.sickle_cell_disease.text = Sickle cell disease +all_clients_registration_form.step2.service_provider.options.chk_nurse.text = Muuguzi +all_clients_registration_form.step2.leader.options.chk_influential.text = Mtu mwenye ushawishi kwenye jamii +all_clients_registration_form.step1.landmark.hint = Alama ya eneo la makazi +all_clients_registration_form.step2.reasons_for_registration.options.weight_stagnation_child.text = Mtoto asiyeongezeka uzito +all_clients_registration_form.step2.preg_1yr.values[0] = Ndiyo +all_clients_registration_form.step1.fam_name.hint = Jina la mwisho (Ukoo) +all_clients_registration_form.step2.reasons_for_registration.label = Sababu za Usajili +all_clients_registration_form.step2.insurance_provider.values[6] = Milvik Tanzania Ltd (BIMA Mkononi) +all_clients_registration_form.step2.service_provider.label = Aina ya kazi anayojishughulisha +all_clients_registration_form.step2.age.hint = Umri +all_clients_registration_form.step2.leader.v_required.err = Tafadhali chagua angalau moja +all_clients_registration_form.step2.age.v_required.err = Tafadhali ingiza umri +all_clients_registration_form.step1.fam_village.hint = Kijiji / mtaa +all_clients_registration_form.step2.reasons_for_registration.options.cerebral_palsy.text = Mtindio wa ubongo +all_clients_registration_form.step2.passport.hint = Namba ya hati ya kusafiria +all_clients_registration_form.step2.unique_id.scanButtonText = Chukua QR code +all_clients_registration_form.step2.dob.v_required.err = Tafadhali ingiza tarehe ya kuzaliwa +all_clients_registration_form.step2.service_provider.options.chk_chw.text = Wahudumu wa afya ngazi ya jamii–WAJA +all_clients_registration_form.step2.leader.options.chk_religious.text = Kiongozi wa dini +all_clients_registration_form.step2.preg_1yr.values[1] = Hapana +all_clients_registration_form.step2.service_provider.options.chk_cimmci.text = Watoa huduma za udhibiti wa magonjwa ya watoto kwa uwiano katika jamii (cIMCI) +all_clients_registration_form.step1.unique_id.scanButtonText = Chukua QR code +all_clients_registration_form.step1.unique_id.hint = ID +all_clients_registration_form.step2.reasons_for_registration.options.untested_hiv_infected_child.text = Mtoto ambaye hajapimwa VVU +all_clients_registration_form.step2.first_name.v_regex.err = Tafadhali ingiza jina halali +all_clients_registration_form.step1.nearest_facility.v_required.err = Tafadhali ingiza kituo cha afya kilicho karibu +all_clients_registration_form.step2.reasons_for_registration.v_required.err = Sababu ya kisajili mteja inahitajika +all_clients_registration_form.step2.insurance_provider.values[5] = Strategies Insurance +all_clients_registration_form.step2.first_name.v_required.err = Tafadhali ingiza jina la kwanza +all_clients_registration_form.step2.reasons_for_registration.options.child_with_fever.text = Mtoto anayepata homa za mara kwa mara +all_clients_registration_form.step2.reasons_for_registration.options.cancer.text = Saratani +all_clients_registration_form.step2.insurance_provider.values[11] = Bima ya afya nyingezo +all_clients_registration_form.step2.driver_license.hint = Namba ya leseni ya udereva +all_clients_registration_form.step2.other_phone_number.v_regex.err = Nambari lazima iwe na nambari 10 na lazima ianze na 0. +all_clients_registration_form.step2.phone_number.hint = Namba ya simu +all_clients_registration_form.step2.preg_1yr.hint = Je, amejifungua ndani ya mwaka 1? +all_clients_registration_form.step2.leader.options.chk_political.text = Kiongozi wa kisiasa +all_clients_registration_form.step2.service_provider.options.chk_none.text = Hakuna +all_clients_registration_form.step2.surname.hint = Jina la mwisho (ukoo) +all_clients_registration_form.step2.leader.options.chk_traditional.text = Kiongozi wa kimila +all_clients_registration_form.step2.reasons_for_registration.options.hiv_aids_transmission.text = Maambukizo ya VVU +all_clients_registration_form.step2.disabilities.hint = Hali ya ulemavu +all_clients_registration_form.step2.service_provider.options.chk_teacher.text = Mwalimu +all_clients_registration_form.step2.insurance_provider.values[4] = AAR Healthcare +all_clients_registration_form.step2.insurance_provider_other.v_required.err = Tafadhali ingiza bima +all_clients_registration_form.step2.id_avail.options.chk_national_id.text = Kitambulisho cha taifa +all_clients_registration_form.step2.leader_other.v_required.err = Tafadhali taja jukumu +all_clients_registration_form.step1.title = Taarifa ya eneo +all_clients_registration_form.step2.id_avail.options.chk_voters_id.text = Kitambulisho cha mpiga kura +all_clients_registration_form.step1.nearest_facility.hint = Kituo cha karibu cha kutolea huduma za afya +all_clients_registration_form.step2.insurance_provider.values[12] = Hakuna +all_clients_registration_form.step2.age.v_max.err = Umri lazima uwe sawa au chini ya 120 +all_clients_registration_form.step2.id_avail.label = Je, ana kitambulisho chochote kati ya hivi?? +all_clients_registration_form.step2.age.v_min.err = Umri lazima uwe sawa au mkubwa kuliko 5 +all_clients_registration_form.step2.reasons_for_registration.options.tuberculosis.text = Kifua kikuu +all_clients_registration_form.step2.primary_caregiver_name.hint = Majina ya msaidizi +all_clients_registration_form.step2.leader_other.hint = Taja hayo majukumu mengine +all_clients_registration_form.step2.insurance_provider.values[3] = Tiba Kwa Kadi (TIKA) +all_clients_registration_form.step2.has_primary_caregiver.v_required.err = Tafadhali chagua moja +all_clients_registration_form.step2.reasons_for_registration.options.pregnant_mother.text = Mama mjamzito +all_clients_registration_form.step2.phone_number.v_required.err = Tafadhali taja numbe ya simu +all_clients_registration_form.step2.service_provider.options.chk_tba.text = Wakunga wa jadi (TBAs) +all_clients_registration_form.step1.unique_id.v_numeric.err = Tafadhali ingiza namba halali +all_clients_registration_form.step2.middle_name.v_required.err = Tafadhali ingiza jina la kati +all_clients_registration_form.step2.has_primary_caregiver.values[0] = Ndiyo +all_clients_registration_form.step2.sex.values[1] = Ke +all_clients_registration_form.step1.fam_name.v_regex.err = Tafadhali ingiza jina la ukoo +all_clients_registration_form.step2.middle_name.hint = Jina la kati +all_clients_registration_form.step2.leader.options.chk_other.text = Nyinginezo +all_clients_registration_form.step2.unique_id.hint = Boresha Afya ID +all_clients_registration_form.step2.dob.duration.label = Age +all_clients_registration_form.step2.unique_id.v_numeric.err = Tafadhali ingiza namba halali +all_clients_registration_form.step2.insurance_provider_other.hint = Bima ya afya mwingine unaotumia +all_clients_registration_form.step2.sex.v_required.err = Tafadhali ingiza jinsi +all_clients_registration_form.step2.insurance_provider.values[2] = National Social Security Fund - Social Health Insurance Benefit (SHIB) +all_clients_registration_form.step2.other_phone_number.hint = Namba ya simu ya msaidizi +all_clients_registration_form.step2.insurance_provider.values[10] = Reliance Insurance +all_clients_registration_form.step2.phone_number.v_regex.err = Nambari lazima iwe na nambari 10 na lazima ianze na 0. +all_clients_registration_form.step2.service_provider.options.chk_chmis.text = Wakusanyaji takwimu za afya katika jamii (cHIMS) +all_clients_registration_form.step2.service_provider.v_required.err = Tafadhali chagua angalau moja +all_clients_registration_form.step2.phone_number.v_numeric.err = Nambari lazima iwe jumla ya nambari 10 kwa urefu +all_clients_registration_form.step2.leader.label = Una jukumu lolote la uongozi kwenye ngazi ya jamii? +all_clients_registration_form.step2.other_phone_number.v_required.err = Tafadhali weka namba ya msaidizi. +all_clients_registration_form.step2.preg_1yr.v_required.err = Tafadhali chagua ikiwa mwanamke amejifungua katika mwaka 1 uliopita +all_clients_registration_form.step2.title = Taarifa ya mteja +all_clients_registration_form.step2.reasons_for_registration.options.breastfeeding_mother.text = Mama anayenyonyesha +all_clients_registration_form.step2.dob.hint = Tarehe ya kuzaliwa +all_clients_registration_form.step2.unique_id.v_required.err = Tafadhali ingiza namba ya kipekee +all_clients_registration_form.step2.sex.values[0] = Me +all_clients_registration_form.step2.sex.hint = Jinsi +all_clients_registration_form.step2.reasons_for_registration.options.hiv_infected_child.text = Mtoto aliyezaliwa na mama mwenye VVU +all_clients_registration_form.step2.id_avail.options.chk_drivers_license.text = Leseni ya dereva +all_clients_registration_form.step2.id_avail.options.chk_none.text = Hakuna diff --git a/opensrp-chw/src/ba/resources/anc_hv_counselling.properties b/opensrp-chw/src/ba/resources/anc_hv_counselling.properties new file mode 100644 index 0000000000..434999da96 --- /dev/null +++ b/opensrp-chw/src/ba/resources/anc_hv_counselling.properties @@ -0,0 +1,20 @@ +anc_hv_counselling.step1.counselling_given.options.chk_attended_anc_contacts.text = 1. Attend ANC contacts early +anc_hv_counselling.step1.counselling_given.options.chk_anc_danger_signs.text = 2. Pregnancy danger signs +anc_hv_counselling.step1.counselling_given.options.chk_family_planning.text = 18. Family planning +anc_hv_counselling.step1.counselling_given.options.chk_breastfeeding.text = 16. Breastfeeding +anc_hv_counselling.step1.counselling_given.options.chk_hiv_aids.text = 5. HIV/AIDS general information +anc_hv_counselling.step1.counselling_given.options.chk_preventing_malaria.text = 7. Preventing malaria for pregnant mothers +anc_hv_counselling.step1.title = Counselling +anc_hv_counselling.step1.counselling_given.options.chk_infant_danger_signs.text = 14. Infant danger signs +anc_hv_counselling.step1.counselling_given.options.chk_infection_prevention.text = 24. Infection prevention and control +anc_hv_counselling.step1.counselling_given.options.chk_hiv_exposed_infant.text = 15. Follow-up for the HIV-exposed infant +anc_hv_counselling.step1.counselling_given.options.chk_physical_changes.text = 8. Physical changes for a mother after giving birth +anc_hv_counselling.step1.counselling_given.options.chk_pmtct_for_mother.text = 6. PMTCT for the mother +anc_hv_counselling.step1.counselling_given.options.chk_pnc_danger_signs.text = 10. PNC danger signs +anc_hv_counselling.step1.counselling_given.v_required.err = Please pick at least one +anc_hv_counselling.step1.counselling_given.label = Counselling provided to the mother and family members +anc_hv_counselling.step1.counselling_given.options.chk_exclusive_breast_feeding_.text = 17. Plan for family planning using exclusive breast feeding for 6 months after birth +anc_hv_counselling.step1.counselling_given.options.chk_personal_delivery.text = 4. Personal delivery plan +anc_hv_counselling.step1.counselling_given.options.chk_care_of_infant.text = 11. Care of infant after birth +anc_hv_counselling.step1.counselling_given.options.chk_maternal_nutrition.text = 3. Maternal nutrition during pregnancy and breast feeding +anc_hv_counselling.step1.counselling_given.options.chk_none.text = None diff --git a/opensrp-chw/src/ba/resources/anc_hv_counselling_sw.properties b/opensrp-chw/src/ba/resources/anc_hv_counselling_sw.properties new file mode 100644 index 0000000000..2eb559fac9 --- /dev/null +++ b/opensrp-chw/src/ba/resources/anc_hv_counselling_sw.properties @@ -0,0 +1,20 @@ +anc_hv_counselling.step1.counselling_given.options.chk_attended_anc_contacts.text = 1. Kuhudhuria kliniki ya wajawazito mapema +anc_hv_counselling.step1.counselling_given.options.chk_anc_danger_signs.text = 2. Dalili za hatari wakati wa ujauzito +anc_hv_counselling.step1.counselling_given.options.chk_family_planning.text = 18. Uzazi wa mpango +anc_hv_counselling.step1.counselling_given.options.chk_breastfeeding.text = 16. Unyonyeshaji wa maziwa ya mama +anc_hv_counselling.step1.counselling_given.options.chk_hiv_aids.text = 5. Umuhimu wa kupata ushauri nasaha na kupima VVU +anc_hv_counselling.step1.counselling_given.options.chk_preventing_malaria.text = 7. Kuzuia malaria kwa wajawazito +anc_hv_counselling.step1.title = Ushauri +anc_hv_counselling.step1.counselling_given.options.chk_infant_danger_signs.text = 14. Dalili za hatari kwa mtoto mchanga +anc_hv_counselling.step1.counselling_given.options.chk_infection_prevention.text = 24. Kuzuia maambukizi katika jamii +anc_hv_counselling.step1.counselling_given.options.chk_hiv_exposed_infant.text = 15. Ufuatiliaji wa mtoto aliyezaliwa na mama mwenye VVU +anc_hv_counselling.step1.counselling_given.options.chk_physical_changes.text = 8. Mabadiliko ya kimwili kwa mama aliyejifungua +anc_hv_counselling.step1.counselling_given.options.chk_pmtct_for_mother.text = 6. Kuzuia mambukizi ya VVU kutoka kwa mama kwenda kwa mtoto +anc_hv_counselling.step1.counselling_given.options.chk_pnc_danger_signs.text = 10. Dalili za hatari mara baada ya kujifungua hadi arobaini ya uzazi +anc_hv_counselling.step1.counselling_given.v_required.err = Tafadhali chagua angalau moja +anc_hv_counselling.step1.counselling_given.label = Ushauri nasaa uliotolewa kwa mama na wanafamilia +anc_hv_counselling.step1.counselling_given.options.chk_exclusive_breast_feeding_.text = 17. Njia ya uzazi wa mpango ya unyonyeshaji maziwa ya mama pekee kwa kipindi cha miezi sita baada ya kujifungua (LAM) +anc_hv_counselling.step1.counselling_given.options.chk_personal_delivery.text = 4. Mpango binafsi wa kujifungua +anc_hv_counselling.step1.counselling_given.options.chk_care_of_infant.text = 11. Huduma kwa mtoto mchanga mara baada ya kuzaliwa +anc_hv_counselling.step1.counselling_given.options.chk_maternal_nutrition.text = 3. Lishe kwa mama wakati wa ujauzito na kunyonyesha +anc_hv_counselling.step1.counselling_given.options.chk_none.text = Hajatoa ushauri diff --git a/opensrp-chw/src/ba/resources/anc_hv_danger_signs.properties b/opensrp-chw/src/ba/resources/anc_hv_danger_signs.properties new file mode 100644 index 0000000000..001e8127d0 --- /dev/null +++ b/opensrp-chw/src/ba/resources/anc_hv_danger_signs.properties @@ -0,0 +1,23 @@ +anc_hv_danger_signs.step1.danger_signs_present.options.chk_loss_consciousness.text = Loss of consciousness +anc_hv_danger_signs.step1.danger_signs_present.label = Does the mother have any danger signs? +anc_hv_danger_signs.step1.danger_signs_counseling.label_info_title = Did the mother receive counselling +anc_hv_danger_signs.step1.danger_signs_present.options.chk_blurred_vision.text = Blurred vision +anc_hv_danger_signs.step1.danger_signs_present_toaster.text = Danger sign! \nRefer immediately to health facility. +anc_hv_danger_signs.step1.danger_signs_present.options.chk_early_labour.text = Early labour pains before 9 months +anc_hv_danger_signs.step1.danger_signs_present.options.chk_bleeding_vaginally.text = Bleeding vaginally +anc_hv_danger_signs.step1.danger_signs_counseling.v_required.err = Please select one option +anc_hv_danger_signs.step1.danger_signs_counseling.label_info_text = Did the mother receive counselling on danger signs at the health facility recently? +anc_hv_danger_signs.step1.danger_signs_present.options.chk_convulsions.text = Convulsions +anc_hv_danger_signs.step1.danger_signs_counseling.values[0] = Yes +anc_hv_danger_signs.step1.danger_signs_counseling.values[1] = No +anc_hv_danger_signs.step1.title = ANC Registration +anc_hv_danger_signs.step1.danger_signs_present.options.chk_swelling.text = Swelling of the face and/or hands +anc_hv_danger_signs.step1.danger_signs_present.v_required.err = Please pick at least one +anc_hv_danger_signs.step1.danger_signs_counseling.hint = Did the mother receive counselling on danger signs at the health facility recently? +anc_hv_danger_signs.step1.danger_signs_present.options.chk_fever.text = Fever +anc_hv_danger_signs.step1.danger_signs_present.options.chk_unusual_movement.text = No movement / unusual movement for a child in the womb +anc_hv_danger_signs.step1.danger_signs_present.options.chk_none.text = None +anc_hv_danger_signs.step1.danger_signs_present.options.chk_vaginal_discharge.text = Discoloured or watery, liquid vaginal discharge with a bad smell +anc_hv_danger_signs.step1.danger_signs_present.options.chk_difficulty_breathing.text = Difficulty breathing +anc_hv_danger_signs.step1.danger_signs_present.options.chk_server_headache.text = Severe headache +anc_hv_danger_signs.step1.danger_signs_present.options.chk_severe_abdominal_pain.text = Severe abdominal pain diff --git a/opensrp-chw/src/ba/resources/anc_hv_danger_signs_sw.properties b/opensrp-chw/src/ba/resources/anc_hv_danger_signs_sw.properties new file mode 100644 index 0000000000..4f17889b2f --- /dev/null +++ b/opensrp-chw/src/ba/resources/anc_hv_danger_signs_sw.properties @@ -0,0 +1,23 @@ +anc_hv_danger_signs.step1.danger_signs_present.options.chk_loss_consciousness.text = Kupoteza fahamu +anc_hv_danger_signs.step1.danger_signs_present.label = Je, mama ana dalili zozote za hatari wakati wa ujauzito? +anc_hv_danger_signs.step1.danger_signs_counseling.label_info_title = Je, mama alipewa ushauri kuhusu dalili za hatari wakati wa ujauzito kwenye kituo cha kutolea huduma za afya? +anc_hv_danger_signs.step1.danger_signs_present.options.chk_blurred_vision.text = Kutoona vizuri +anc_hv_danger_signs.step1.danger_signs_present_toaster.text = Dalili za hatari! \nToa rufaa haraka kwenda kituo cha kutolea huduma za afya. +anc_hv_danger_signs.step1.danger_signs_present.options.chk_early_labour.text = Kupata uchungu mapema kabla ya miezi tisa +anc_hv_danger_signs.step1.danger_signs_present.options.chk_bleeding_vaginally.text = Damu kutoka ukeni +anc_hv_danger_signs.step1.danger_signs_counseling.v_required.err = Tafadhali chagua chaguo moja +anc_hv_danger_signs.step1.danger_signs_counseling.label_info_text = Je, mama alipewa ushauri kuhusu dalili za hatari wakati wa ujauzito kwenye kituo cha kutolea huduma za afya? +anc_hv_danger_signs.step1.danger_signs_present.options.chk_convulsions.text = Degedege/Mtukutiko wa mwili +anc_hv_danger_signs.step1.danger_signs_counseling.values[0] = Ndiyo +anc_hv_danger_signs.step1.danger_signs_counseling.values[1] = Hapana +anc_hv_danger_signs.step1.title = Dalili za hatari +anc_hv_danger_signs.step1.danger_signs_present.options.chk_swelling.text = Kuvimba uso na / au mikonos +anc_hv_danger_signs.step1.danger_signs_present.v_required.err = Tafadhali chagua angalau moja +anc_hv_danger_signs.step1.danger_signs_counseling.hint = Je, mama alipewa ushauri kuhusu dalili za hatari wakati wa ujauzito kwenye kituo cha kutolea huduma za afya? +anc_hv_danger_signs.step1.danger_signs_present.options.chk_fever.text = Homa +anc_hv_danger_signs.step1.danger_signs_present.options.chk_unusual_movement.text = Kutocheza / kucheza kusiko kwa kawaida kwa mtoto aliye tumboni +anc_hv_danger_signs.step1.danger_signs_present.options.chk_none.text = Hakuna +anc_hv_danger_signs.step1.danger_signs_present.options.chk_vaginal_discharge.text = Kutoka uchafu / majimaji ukeni yenye harufu mbaya +anc_hv_danger_signs.step1.danger_signs_present.options.chk_difficulty_breathing.text = Kushindwa kupumua +anc_hv_danger_signs.step1.danger_signs_present.options.chk_server_headache.text = Maumivu ya kichwa +anc_hv_danger_signs.step1.danger_signs_present.options.chk_severe_abdominal_pain.text = Maumivu makali ya tumbo diff --git a/opensrp-chw/src/ba/resources/anc_hv_family_planning.properties b/opensrp-chw/src/ba/resources/anc_hv_family_planning.properties new file mode 100644 index 0000000000..71585d56d2 --- /dev/null +++ b/opensrp-chw/src/ba/resources/anc_hv_family_planning.properties @@ -0,0 +1,5 @@ +anc_hv_family_planning.step1.fam_planning.hint = Was the mother advised on family planning when you visited the health visit? +anc_hv_family_planning.step1.fam_planning.values[1] = No +anc_hv_family_planning.step1.title = Family planning +anc_hv_family_planning.step1.fam_planning.values[0] = Yes +anc_hv_family_planning.step1.fam_planning.v_required.err = Please select one option diff --git a/opensrp-chw/src/ba/resources/anc_hv_family_planning_sw.properties b/opensrp-chw/src/ba/resources/anc_hv_family_planning_sw.properties new file mode 100644 index 0000000000..2cec01c3e6 --- /dev/null +++ b/opensrp-chw/src/ba/resources/anc_hv_family_planning_sw.properties @@ -0,0 +1,5 @@ +anc_hv_family_planning.step1.fam_planning.hint = Je, mama ameshauriwa kuhusu uzazi wa mpango alipohudhuria kituoni? +anc_hv_family_planning.step1.fam_planning.values[1] = Hapana +anc_hv_family_planning.step1.title = Uzazi wa mpango +anc_hv_family_planning.step1.fam_planning.values[0] = Ndiyo +anc_hv_family_planning.step1.fam_planning.v_required.err = Tafadhali chagua chaguo moja diff --git a/opensrp-chw/src/ba/resources/anc_hv_health_facility_visit.properties b/opensrp-chw/src/ba/resources/anc_hv_health_facility_visit.properties new file mode 100644 index 0000000000..a34fa53985 --- /dev/null +++ b/opensrp-chw/src/ba/resources/anc_hv_health_facility_visit.properties @@ -0,0 +1,36 @@ +anc_hv_health_facility_visit.step1.llin_given.values[0] = Yes +anc_hv_health_facility_visit.step1.title = ANC {0} health facility visit +anc_hv_health_facility_visit.step1.llin_given.hint = Did mother receive a LLIN in her first ANC contact at the health facility? +anc_hv_health_facility_visit.step1.imm_medicine_given.options.chk_none.text = None +anc_hv_health_facility_visit.step1.imm_medicine_given.options.chk_malaria.text = Malaria prevention (IPTp-SP) +anc_hv_health_facility_visit.step1.imm_medicine_given.label = Immunisations and medicine provided +anc_hv_health_facility_visit.step1.imm_medicine_given.options.chk_albendazole.text = Albendazole / Medandozle +anc_hv_health_facility_visit.step1.imm_medicine_given.options.chk_other.text = Other immunisation or medicine +anc_hv_health_facility_visit.step1.llin_given.v_required.err = Please select one option +anc_hv_health_facility_visit.step1.tests_done.options.chk_urine_analysis_uti.text = Urine analysis for UTI +anc_hv_health_facility_visit.step1.tests_done.options.chk_hiv.text = HIV test +anc_hv_health_facility_visit.step1.anc_hf_visit.hint = Did the woman attend her ANC {0} visit at the health facility?\n\nVisit due date: {1} +anc_hv_health_facility_visit.step1.anc_hf_visit.values[0] = Yes +anc_hv_health_facility_visit.step1.anc_hf_visit.v_required.err = Please select one option +anc_hv_health_facility_visit.step1.tests_done.options.chk_malaria.text = Malaria test +anc_hv_health_facility_visit.step1.anc_hf_visit.label_info_title = Did the woman attend her ANC {0} visit at the health facility? +anc_hv_health_facility_visit.step1.anc_hf_visit_date.label = ANC visit date +anc_hv_health_facility_visit.step1.tests_done.options.chk_none.text = None +anc_hv_health_facility_visit.step1.imm_medicine_given.options.chk_calcuim.text = Calcium supplement +anc_hv_health_facility_visit.step1.tests_done.options.chk_urine_analysis_protein.text = Urine analysis for protein and sugar +anc_hv_health_facility_visit.step1.imm_medicine_given.options.chk_iron.text = Iron and Folic acid (FEFO) tablets +anc_hv_health_facility_visit.step1.anc_hf_visit.label_info_text = Did the woman attend her ANC visit at the health facility? +anc_hv_health_facility_visit.step1.llin_given.values[1] = No +anc_hv_health_facility_visit.step1.tests_done.options.chk_syphilis.text = Syphilis test +anc_hv_health_facility_visit.step1.other_imm_medicine_given.v_required.err = Please enter the immunisation or medicine details +anc_hv_health_facility_visit.step1.anc_hf_visit.values[1] = No +anc_hv_health_facility_visit.step1.tests_done.options.chk_tb.text = TB screening +anc_hv_health_facility_visit.step1.anc_hf_visit_date.hint = ANC visit date +anc_hv_health_facility_visit.step1.tests_done.options.chk_haemoglobin.text = Haemoglobin level +anc_hv_health_facility_visit.step1.imm_medicine_given.v_required.err = Please pick at least one +anc_hv_health_facility_visit.step1.imm_medicine_given.options.chk_tetanus.text = Tetanus toxoid (TT) +anc_hv_health_facility_visit.step1.other_imm_medicine_given.hint = Other immunisation or medicine +anc_hv_health_facility_visit.step1.tests_done.label = Tests done +anc_hv_health_facility_visit.step1.tests_done.options.chk_other.text = Other test +anc_hv_health_facility_visit.step1.anc_hf_visit_date.v_required.err = Enter the date that the member moved away +anc_hv_health_facility_visit.step1.tests_done.v_required.err = Please pick at least one diff --git a/opensrp-chw/src/ba/resources/anc_hv_health_facility_visit_sw.properties b/opensrp-chw/src/ba/resources/anc_hv_health_facility_visit_sw.properties new file mode 100644 index 0000000000..f030a69293 --- /dev/null +++ b/opensrp-chw/src/ba/resources/anc_hv_health_facility_visit_sw.properties @@ -0,0 +1,36 @@ +anc_hv_health_facility_visit.step1.llin_given.values[0] = Ndiyo +anc_hv_health_facility_visit.step1.title = Hudhurio la kliniki ya wajawazito {0} katika kituo cha kutolea huduma za afya +anc_hv_health_facility_visit.step1.llin_given.hint = Je, mama alipata chandarua chenye viuwatilifu katika hudhurio la kwanza katika kituo cha kutolea huduma za afya? +anc_hv_health_facility_visit.step1.imm_medicine_given.options.chk_none.text = Hajapewa dawa au chanjo yoyote +anc_hv_health_facility_visit.step1.imm_medicine_given.options.chk_malaria.text = Tiba kinga ya malaria wakati wa ujauzito (IPTp-SP) +anc_hv_health_facility_visit.step1.imm_medicine_given.label = Chanjo na dawa alizopata +anc_hv_health_facility_visit.step1.imm_medicine_given.options.chk_albendazole.text = Albendazole / Medandozle +anc_hv_health_facility_visit.step1.imm_medicine_given.options.chk_other.text = Dawa nyingine au chanjo nyingine +anc_hv_health_facility_visit.step1.llin_given.v_required.err = Tafadhali chagua chaguo angalau moja +anc_hv_health_facility_visit.step1.tests_done.options.chk_urine_analysis_uti.text = Kipimo cha maambukizi kwenye njia ya mkojo +anc_hv_health_facility_visit.step1.tests_done.options.chk_hiv.text = Kipimo cha VVU +anc_hv_health_facility_visit.step1.anc_hf_visit.hint = Je, mama amehudhuria kliniki ya wajawazito hudhurio la {0} katika kituo cha kutolea huduma za afya?\n\nTarehe ya hudhurio lingine: {1} +anc_hv_health_facility_visit.step1.anc_hf_visit.values[0] = Ndiyo +anc_hv_health_facility_visit.step1.anc_hf_visit.v_required.err = Tafadhali chagua chaguo moja +anc_hv_health_facility_visit.step1.tests_done.options.chk_malaria.text = Kipimo cha malaria +anc_hv_health_facility_visit.step1.anc_hf_visit.label_info_title = Je, mama amehudhuria kliniki ya wajawazito hudhurio la {0} katika kituo cha kutolea huduma za afya? +anc_hv_health_facility_visit.step1.anc_hf_visit_date.label = Tarehe ya hudhurio la kliniki ya wajawazito +anc_hv_health_facility_visit.step1.tests_done.options.chk_none.text = Vipimo havijafanyika +anc_hv_health_facility_visit.step1.imm_medicine_given.options.chk_calcuim.text = Calcium supplement +anc_hv_health_facility_visit.step1.tests_done.options.chk_urine_analysis_protein.text = Kipimo cha kuangalia uwepo wa protini na sukari kwenye mkojo +anc_hv_health_facility_visit.step1.imm_medicine_given.options.chk_iron.text = Dawa za kuongeza damu (FEFO) +anc_hv_health_facility_visit.step1.anc_hf_visit.label_info_text = Je, mama amehudhuria kliniki ya wajawazito hudhurio la katika kituo cha kutolea huduma za afya? +anc_hv_health_facility_visit.step1.llin_given.values[1] = Hapana +anc_hv_health_facility_visit.step1.tests_done.options.chk_syphilis.text = Kipimo cha kaswende +anc_hv_health_facility_visit.step1.other_imm_medicine_given.v_required.err = Tafadhali ingiza chanjo au dawa nyingine +anc_hv_health_facility_visit.step1.anc_hf_visit.values[1] = Hapana +anc_hv_health_facility_visit.step1.tests_done.options.chk_tb.text = Uchunguzi wa kifua kikuu +anc_hv_health_facility_visit.step1.anc_hf_visit_date.hint = Tarehe ya hudhurio la kliniki ya wajawazito +anc_hv_health_facility_visit.step1.tests_done.options.chk_haemoglobin.text = Wingi wa damu +anc_hv_health_facility_visit.step1.imm_medicine_given.v_required.err = Tafadhali chagua angalau chaguo moja +anc_hv_health_facility_visit.step1.imm_medicine_given.options.chk_tetanus.text = Chanjo ya pepopunda +anc_hv_health_facility_visit.step1.other_imm_medicine_given.hint = Dawa au chanjo nyingine +anc_hv_health_facility_visit.step1.tests_done.label = Vipimo vilivyofanyika +anc_hv_health_facility_visit.step1.tests_done.options.chk_other.text = Vipimo vingine +anc_hv_health_facility_visit.step1.anc_hf_visit_date.v_required.err = Ingiza tarehe ambayo mwanamke alienda kwenye kituo cha afya +anc_hv_health_facility_visit.step1.tests_done.v_required.err = Tafadhali chagua angalau chaguo moja diff --git a/opensrp-chw/src/ba/resources/anc_hv_malaria.properties b/opensrp-chw/src/ba/resources/anc_hv_malaria.properties new file mode 100644 index 0000000000..bd8c15b485 --- /dev/null +++ b/opensrp-chw/src/ba/resources/anc_hv_malaria.properties @@ -0,0 +1,13 @@ +anc_hv_malaria.step1.llin_condition.values[0] = Okay +anc_hv_malaria.step1.llin_condition.values[1] = Bad +anc_hv_malaria.step1.fam_llin.values[1] = No +anc_hv_malaria.step1.fam_llin.v_required.err = Please select one option +anc_hv_malaria.step1.fam_llin.values[0] = Yes +anc_hv_malaria.step1.llin_2days.v_required.err = Please select one option +anc_hv_malaria.step1.llin_2days.values[0] = Yes +anc_hv_malaria.step1.llin_2days.values[1] = No +anc_hv_malaria.step1.llin_condition.hint = LLIN condition +anc_hv_malaria.step1.title = Malaria prevention +anc_hv_malaria.step1.llin_condition.v_required.err = Please select one option +anc_hv_malaria.step1.fam_llin.hint = Does the woman have a long lasting insecticide net (LLIN)? +anc_hv_malaria.step1.llin_2days.hint = Did she sleep under the LLIN last night? diff --git a/opensrp-chw/src/ba/resources/anc_hv_malaria_sw.properties b/opensrp-chw/src/ba/resources/anc_hv_malaria_sw.properties new file mode 100644 index 0000000000..1e7b0b99b3 --- /dev/null +++ b/opensrp-chw/src/ba/resources/anc_hv_malaria_sw.properties @@ -0,0 +1,13 @@ +anc_hv_malaria.step1.llin_condition.values[0] = Nzima +anc_hv_malaria.step1.llin_condition.values[1] = Mbovu +anc_hv_malaria.step1.fam_llin.values[1] = Hapana +anc_hv_malaria.step1.fam_llin.v_required.err = Tafadhali chagua chaguo angalau moja +anc_hv_malaria.step1.fam_llin.values[0] = Ndiyo +anc_hv_malaria.step1.llin_2days.v_required.err = Tafadhali chagua chaguo angalau moja +anc_hv_malaria.step1.llin_2days.values[0] = Ndiyo +anc_hv_malaria.step1.llin_2days.values[1] = Hapana +anc_hv_malaria.step1.llin_condition.hint = Hali ya chandarua chenye viuwatilifu vya muda mrefu kinachotumika +anc_hv_malaria.step1.title = Kinga dhidi ya malaria +anc_hv_malaria.step1.llin_condition.v_required.err = Tafadhali chagua chaguo angalau moja +anc_hv_malaria.step1.fam_llin.hint = Ana chandarua chenye viuwatilifu vya muda mrefu? +anc_hv_malaria.step1.llin_2days.hint = Je, amelala kwenye chandarua chenye viuwatilifu vya muda mrefu usiku uliopita? diff --git a/opensrp-chw/src/ba/resources/anc_hv_nutrition_status.properties b/opensrp-chw/src/ba/resources/anc_hv_nutrition_status.properties new file mode 100644 index 0000000000..27b3f9c21e --- /dev/null +++ b/opensrp-chw/src/ba/resources/anc_hv_nutrition_status.properties @@ -0,0 +1,6 @@ +anc_hv_nutrition_status.step1.nutrition_status.hint = What is the nutrition status of the mother? +anc_hv_nutrition_status.step1.nutrition_status.values[2] = Severe/Red +anc_hv_nutrition_status.step1.title = Nutrition status +anc_hv_nutrition_status.step1.nutrition_status.values[0] = Normal/Green +anc_hv_nutrition_status.step1.nutrition_status.values[1] = Moderate/Yellow +anc_hv_nutrition_status.step1.nutrition_status.v_required.err = Please select one option diff --git a/opensrp-chw/src/ba/resources/anc_hv_nutrition_status_sw.properties b/opensrp-chw/src/ba/resources/anc_hv_nutrition_status_sw.properties new file mode 100644 index 0000000000..2bbfde6df3 --- /dev/null +++ b/opensrp-chw/src/ba/resources/anc_hv_nutrition_status_sw.properties @@ -0,0 +1,6 @@ +anc_hv_nutrition_status.step1.nutrition_status.hint = Je, hali ya lishe ya mama ikoje? +anc_hv_nutrition_status.step1.nutrition_status.values[2] = Dhaifu/Nyekundu +anc_hv_nutrition_status.step1.title = Hali ya lishe +anc_hv_nutrition_status.step1.nutrition_status.values[0] = Nzuri/Kijani +anc_hv_nutrition_status.step1.nutrition_status.values[1] = Kadri/Njano +anc_hv_nutrition_status.step1.nutrition_status.v_required.err = Tafadhali chagua chaguo angalau moja diff --git a/opensrp-chw/src/ba/resources/anc_hv_observations.properties b/opensrp-chw/src/ba/resources/anc_hv_observations.properties new file mode 100644 index 0000000000..c5a5cb6101 --- /dev/null +++ b/opensrp-chw/src/ba/resources/anc_hv_observations.properties @@ -0,0 +1,14 @@ +anc_hv_observations.step1.action_taken.options.chk_none.text = No treatment given +anc_hv_observations.step1.action_taken.label = Action taken +anc_hv_observations.step1.date_of_illness.hint = Date +anc_hv_observations.step1.illness_description.hint = Description +anc_hv_observations.step1.date_of_illness.v_required.err = Please enter the date of illness +anc_hv_observations.step1.other_treatment_illness.hint = Other treatment +anc_hv_observations.step1.illness_description.v_required.err = Please enter the description +anc_hv_observations.step1.action_taken.options.chk_paracetamol.text = Panadol +anc_hv_observations.step1.other_treatment_illness.v_required.err = Please enter the illness details +anc_hv_observations.step1.action_taken.options.chk_ors.text = ORS 5 +anc_hv_observations.step1.action_taken.options.chk_referred.text = Referred +anc_hv_observations.step1.title = Observations & Illness +anc_hv_observations.step1.action_taken.options.chk_zinc.text = Zinc 10 +anc_hv_observations.step1.action_taken.options.chk_other_treatment.text = Other treatment diff --git a/opensrp-chw/src/ba/resources/anc_hv_observations_sw.properties b/opensrp-chw/src/ba/resources/anc_hv_observations_sw.properties new file mode 100644 index 0000000000..42bb4681ca --- /dev/null +++ b/opensrp-chw/src/ba/resources/anc_hv_observations_sw.properties @@ -0,0 +1,14 @@ +anc_hv_observations.step1.action_taken.options.chk_none.text = Hajapewa matibabu yoyote +anc_hv_observations.step1.action_taken.label = Hatua zilizochukuliwa +anc_hv_observations.step1.date_of_illness.hint = Tarehe +anc_hv_observations.step1.illness_description.hint = Maelezo +anc_hv_observations.step1.date_of_illness.v_required.err = Tafadhali ingiza tarehe ya ugonjwa +anc_hv_observations.step1.other_treatment_illness.hint = Matibabu mengine +anc_hv_observations.step1.illness_description.v_required.err = Tafadhali ingiza maelezo +anc_hv_observations.step1.action_taken.options.chk_paracetamol.text = Panadol +anc_hv_observations.step1.other_treatment_illness.v_required.err = Tafadhali ingiza maelezo ya ugonjwa +anc_hv_observations.step1.action_taken.options.chk_ors.text = ORS 5 +anc_hv_observations.step1.action_taken.options.chk_referred.text = Amepewa rufaa +anc_hv_observations.step1.title = Uchunguzi na ugonjwa +anc_hv_observations.step1.action_taken.options.chk_zinc.text = Zinc 10 +anc_hv_observations.step1.action_taken.options.chk_other_treatment.text = Matibabu mengine diff --git a/opensrp-chw/src/ba/resources/anc_hv_pregnancy_risk_form.properties b/opensrp-chw/src/ba/resources/anc_hv_pregnancy_risk_form.properties new file mode 100644 index 0000000000..cb9ddb230d --- /dev/null +++ b/opensrp-chw/src/ba/resources/anc_hv_pregnancy_risk_form.properties @@ -0,0 +1,6 @@ +anc_hv_pregnancy_risk_form.step1.preg_risk.label = Pregnancy risk for the woman +anc_hv_pregnancy_risk_form.step1.preg_risk.v_required.err = Please pick at least one +anc_hv_pregnancy_risk_form.step1.title = Pregnancy risk +anc_hv_pregnancy_risk_form.step1.preg_risk.options.High.text = High +anc_hv_pregnancy_risk_form.step1.preg_risk.options.Medium.text = Medium +anc_hv_pregnancy_risk_form.step1.preg_risk.options.Low.text = Low diff --git a/opensrp-chw/src/ba/resources/anc_hv_pregnancy_risk_form_sw.properties b/opensrp-chw/src/ba/resources/anc_hv_pregnancy_risk_form_sw.properties new file mode 100644 index 0000000000..ba50f12c5c --- /dev/null +++ b/opensrp-chw/src/ba/resources/anc_hv_pregnancy_risk_form_sw.properties @@ -0,0 +1,6 @@ +anc_hv_pregnancy_risk_form.step1.preg_risk.label = Hatari ya ujazito +anc_hv_pregnancy_risk_form.step1.preg_risk.v_required.err = Tafadhali chagua angalau moja +anc_hv_pregnancy_risk_form.step1.title = Hatari ya ujazito +anc_hv_pregnancy_risk_form.step1.preg_risk.options.High.text = Kubwa +anc_hv_pregnancy_risk_form.step1.preg_risk.options.Medium.text = Kati kati +anc_hv_pregnancy_risk_form.step1.preg_risk.options.Low.text = Kidogo diff --git a/opensrp-chw/src/ba/resources/anc_hv_remarks_and_comments.properties b/opensrp-chw/src/ba/resources/anc_hv_remarks_and_comments.properties new file mode 100644 index 0000000000..286f819590 --- /dev/null +++ b/opensrp-chw/src/ba/resources/anc_hv_remarks_and_comments.properties @@ -0,0 +1,3 @@ +anc_hv_remarks_and_comments.step1.title = Remarks/Comments +anc_hv_remarks_and_comments.step1.chw_comment_anc.v_required.err = Please enter the your remarks/comments +anc_hv_remarks_and_comments.step1.chw_comment_anc.hint = Remarks/Comments diff --git a/opensrp-chw/src/ba/resources/anc_hv_remarks_and_comments_sw.properties b/opensrp-chw/src/ba/resources/anc_hv_remarks_and_comments_sw.properties new file mode 100644 index 0000000000..433ba290f4 --- /dev/null +++ b/opensrp-chw/src/ba/resources/anc_hv_remarks_and_comments_sw.properties @@ -0,0 +1,3 @@ +anc_hv_remarks_and_comments.step1.title = Maoni +anc_hv_remarks_and_comments.step1.chw_comment_anc.v_required.err = Tafadhali ingiza maoni na maoni yako +anc_hv_remarks_and_comments.step1.chw_comment_anc.hint = Toa maoni diff --git a/opensrp-chw/src/ba/resources/anc_member_registration.properties b/opensrp-chw/src/ba/resources/anc_member_registration.properties new file mode 100644 index 0000000000..9a54c664af --- /dev/null +++ b/opensrp-chw/src/ba/resources/anc_member_registration.properties @@ -0,0 +1,46 @@ +anc_member_registration.step1.last_menstrual_period.label_info_title = LMP +anc_member_registration.step1.person_assist.values[0] = Yes +anc_member_registration.step1.person_assist.hint = Does the mother have anyone, 18 years or older, who would be able to assist her during her pregnancy? +anc_member_registration.step1.edd_note.hint = Expected Date of Delivery (EDD) +anc_member_registration.step1.delivery_method.label = Have you delivered your child(ren) vaginally or by cesarean section? +anc_member_registration.step1.name_person_assist.hint = Name of close person/relative who lives with her and is 18 years or olders +anc_member_registration.step1.marital_status.values[1] = Co-habiting +anc_member_registration.step1.phone_person_assist.v_regex.err = Number must be 10 digits and must start with 0. +anc_member_registration.step1.marital_status.values[3] = Divorced +anc_member_registration.step1.no_surv_children.hint = No. of surviving children +anc_member_registration.step1.last_menstrual_period_unknown.options.lmp_unknown.text = LMP unknown? +anc_member_registration.step1.no_prev_preg.v_required.err = Equal or greater than 0 +anc_member_registration.step1.delivery_method_one.options.chk_miscarriage.text = Miscarriage +anc_member_registration.step1.delivery_method_one.v_required.err = Please select all that apply +anc_member_registration.step1.last_menstrual_period.v_required.err = LMP required +anc_member_registration.step1.phone_number.v_regex.err = Number must be 10 digits and must start with 0. +anc_member_registration.step1.edd.hint = Expected Date of Delivery (EDD) +anc_member_registration.step1.delivery_method.options.chk_vaginally.text = Vaginally +anc_member_registration.step1.edd.v_required.err = Required +anc_member_registration.step1.no_surv_children.v_numeric_integer.err = Must be a rounded number +anc_member_registration.step1.delivery_method.options.chk_cesarean_section.text = Cesarean section +anc_member_registration.step1.delivery_method.options.chk_miscarriage.text = Miscarriage +anc_member_registration.step1.marital_status.hint = Marital status +anc_member_registration.step1.last_menstrual_period.label_info_text = LMP = first day of Last Menstrual Period. If the exact date is unknown, but the period of the month is known, use day 5 for beginning of the month, day 15 for middle of the month and day 25 for end of the month. +anc_member_registration.step1.name_person_assist.v_required.err = Please enter the person's name +anc_member_registration.step1.person_assist.values[1] = No +anc_member_registration.step1.phone_person_assist.v_numeric.err = Number must be a total of 10 digits in length +anc_member_registration.step1.last_menstrual_period.hint = Last Menstrual Period (LMP) +anc_member_registration.step1.person_assist.v_required.err = Please select one option +anc_member_registration.step1.phone_person_assist.hint = Phone number +anc_member_registration.step1.marital_status.values[4] = Widowed +anc_member_registration.step1.gest_age_note.hint = Gestational Age (GA) +anc_member_registration.step1.no_prev_preg.v_min.err = Number must be equal or greater than 0 +anc_member_registration.step1.marital_status.values[0] = Married +anc_member_registration.step1.marital_status.values[2] = Single +anc_member_registration.step1.delivery_method_one.options.chk_cesarean_section.text = Cesarean section +anc_member_registration.step1.no_surv_children.v_required.err = Required +anc_member_registration.step1.phone_number.hint = Phone number +anc_member_registration.step1.title = ANC Registration +anc_member_registration.step1.delivery_method_one.label = Have you delivered your child(ren) vaginally or by cesarean section? +anc_member_registration.step1.delivery_method.v_required.err = Please select one +anc_member_registration.step1.marital_status.v_required.err = Please select one option +anc_member_registration.step1.phone_number.v_numeric.err = Number must be a total of 10 digits in length +anc_member_registration.step1.no_prev_preg.v_numeric_integer.err = Must be a rounded number +anc_member_registration.step1.no_prev_preg.hint = No. of previous pregnancies +anc_member_registration.step1.delivery_method_one.options.chk_vaginally.text = Vaginally diff --git a/opensrp-chw/src/ba/resources/anc_member_registration_sw.properties b/opensrp-chw/src/ba/resources/anc_member_registration_sw.properties new file mode 100644 index 0000000000..8d6fd5c35b --- /dev/null +++ b/opensrp-chw/src/ba/resources/anc_member_registration_sw.properties @@ -0,0 +1,47 @@ +anc_member_registration.step1.last_menstrual_period.label_info_title = LMP +anc_member_registration.step1.person_assist.values[0] = Ndiyo +anc_member_registration.step1.person_assist.hint = Je, mama ana mwenza/ndugu wa karibu wa umri kuanzia miaka 18 na zaidi ambae ataweza kumsaidia wakati wa ujauzito? +anc_member_registration.step1.edd_note.hint = Tarehe ya kutarijia kujifungua (EDD) +anc_member_registration.step1.delivery_method.label = Je, umejifungua mtoto/watoto kwa njia ya kawaida au kwa njia ya upasuaji? +anc_member_registration.step1.name_person_assist.hint = Jina la mwenza/ndugu wa karibu anayeishi naye mwenye umri kuanzia miaka 18 na zaidi +anc_member_registration.step1.marital_status.values[1] = Anaishi na mwenza +anc_member_registration.step1.phone_person_assist.v_regex.err = Nambari lazima iwe na nambari 10 na lazima ianze na 0. +anc_member_registration.step1.marital_status.values[3] = Ameachika +anc_member_registration.step1.no_surv_children.v_min.err = Idadi ya watoto lazima iwe sawa au kubwa kuliko 0 +anc_member_registration.step1.no_surv_children.hint = Idadi ya watoto walio hai +anc_member_registration.step1.last_menstrual_period_unknown.options.lmp_unknown.text = Tarehe ya kwanza ya hedhi ya kawaida ya mwisho (LNMP) haijulikani? +anc_member_registration.step1.no_prev_preg.v_required.err = Ingiza thamani sawa au kubwa kuliko 0 +anc_member_registration.step1.delivery_method_one.options.chk_miscarriage.text = Mimba kuharibika +anc_member_registration.step1.delivery_method_one.v_required.err = Tafadhali chagua chaguo angalau moja +anc_member_registration.step1.last_menstrual_period.v_required.err = LNMP inahitajika +anc_member_registration.step1.phone_number.v_regex.err = Nambari lazima iwe na nambari 10 na lazima ianze na 0. +anc_member_registration.step1.edd.hint = Tarehe ya kutarijia kujifungua (EDD) +anc_member_registration.step1.delivery_method.options.chk_vaginally.text = Njia ya kawaida +anc_member_registration.step1.edd.v_required.err = Required +anc_member_registration.step1.no_surv_children.v_numeric_integer.err = Ingiza thamani sawa au kubwa kuliko 0 +anc_member_registration.step1.delivery_method.options.chk_cesarean_section.text = Njia ya upasuaji +anc_member_registration.step1.delivery_method.options.chk_miscarriage.text = Mimba kuharibika +anc_member_registration.step1.marital_status.hint = Hali ya ndoa +anc_member_registration.step1.last_menstrual_period.label_info_text = LNMP = Siku ya kwanza ya mwisho ya hedhi (LNMP). Kama tarehe halisi haijulikani, lakini kipindi cha mwezi kinajulikana; \n ∙ tumia tarehe 5 kwa mwanzo wa mwezi \n ∙ tumia tarehe 15 kwa katikati ya mwezi \n ∙ tumia tarehe 25 kwa mwisho wa mwezi. +anc_member_registration.step1.name_person_assist.v_required.err = Tafadhali ingiza jina la mtu huyo +anc_member_registration.step1.person_assist.values[1] = Hapana +anc_member_registration.step1.phone_person_assist.v_numeric.err = Nambari lazima iwe jumla ya nambari 10 kwa urefu +anc_member_registration.step1.last_menstrual_period.hint = Tarehe ya kwanza ya hedhi ya kawaida ya mwisho (LNMP) +anc_member_registration.step1.person_assist.v_required.err = Tafadhali chagua chaguo moja +anc_member_registration.step1.phone_person_assist.hint = Phone number +anc_member_registration.step1.marital_status.values[4] = Mjane +anc_member_registration.step1.gest_age_note.hint = Umri wa mimba (GA) +anc_member_registration.step1.no_prev_preg.v_min.err = Nambari lazima iwe chini ya au sawa na Idadi ya Mimba za awali +anc_member_registration.step1.marital_status.values[0] = Ameolewa +anc_member_registration.step1.marital_status.values[2] = Hajaolewa +anc_member_registration.step1.delivery_method_one.options.chk_cesarean_section.text = Njia ya upasuaji +anc_member_registration.step1.no_surv_children.v_required.err = Required +anc_member_registration.step1.phone_number.hint = Namba ya simu +anc_member_registration.step1.title = Usajili wa ANC +anc_member_registration.step1.delivery_method_one.label = Je, umejifungua mtoto/watoto kwa njia ya kawaida au kwa njia ya upasuaji? +anc_member_registration.step1.delivery_method.v_required.err = Tafadhali chagua chaguo +anc_member_registration.step1.marital_status.v_required.err = Tafadhali chagua chaguo moja +anc_member_registration.step1.phone_number.v_numeric.err = Nambari lazima iwe jumla ya nambari 10 kwa urefu +anc_member_registration.step1.no_prev_preg.v_numeric_integer.err = Ingiza thamani sawa au kubwa kuliko 0 +anc_member_registration.step1.no_prev_preg.hint = Idadi ya mimba zilizotangulia +anc_member_registration.step1.delivery_method_one.options.chk_vaginally.text = Njia ya kawaida diff --git a/opensrp-chw/src/ba/resources/anc_pregnancy_outcome.properties b/opensrp-chw/src/ba/resources/anc_pregnancy_outcome.properties new file mode 100644 index 0000000000..0ed455d9ba --- /dev/null +++ b/opensrp-chw/src/ba/resources/anc_pregnancy_outcome.properties @@ -0,0 +1,33 @@ +anc_pregnancy_outcome.step1.delivery_date.hint = Delivery date +anc_pregnancy_outcome.step1.preg_outcome.options.still_born.text = Child was stillborn +anc_pregnancy_outcome.step1.delivery_hf.options.other_chw.text = She gave birth in a health facility, and she was accompanied by the CHW +anc_pregnancy_outcome.step1.delivery_place.values[1] = At a health facility +anc_pregnancy_outcome.step1.delivery_home.options.gave_birth_with_help.text = She gave birth at home with the help of a family member/friend/neighbor +anc_pregnancy_outcome.step1.delivery_place.values[3] = Other +anc_pregnancy_outcome.step1.delivery_home.options.gave_birth_alone.text = She gave birth at home alone +anc_pregnancy_outcome.step1.preg_outcome.v_required.err = Please select pregnancy outcome +anc_pregnancy_outcome.step1.delivery_hf.v_required.err = Please select +anc_pregnancy_outcome.step1.no_children_no.reference_edit_text_hint = Number of children born alive +anc_pregnancy_outcome.step1.miscarriage_date.hint = Date of miscarriage +anc_pregnancy_outcome.step1.preg_outcome.options.alive_with_problem.text = Child was born alive, but they have a problem (i.e. disability, respiratory issues, etc.) +anc_pregnancy_outcome.step1.preg_outcome.options.born_alive.text = Child was born alive +anc_pregnancy_outcome.step1.delivery_hf.options.other_pple.text = She gave birth in a health facility, and she was accompanied by other people +anc_pregnancy_outcome.step1.baby_label.text = BABY DETAILS +anc_pregnancy_outcome.step1.miscarriage_date.v_required.err = Please enter date the woman miscarried. +anc_pregnancy_outcome.step1.delivery_hf.options.facility_midwife.text = She gave birth in a health facility, and she was accompanied by a traditional midwife +anc_pregnancy_outcome.step1.delivery_date.v_required.err = Please enter date the woman delivered +anc_pregnancy_outcome.step1.delivery_place.values[0] = At home +anc_pregnancy_outcome.step1.delivery_hf.options.facility_family_member.text = She gave birth in a health facility, and she was accompanied by family member(s) +anc_pregnancy_outcome.step1.delivery_place.values[2] = On the way to the health facility +anc_pregnancy_outcome.step1.preg_outcome.options.miscarriage.text = Miscarriage +anc_pregnancy_outcome.step1.delivery_place.hint = The place the mother gave birth +anc_pregnancy_outcome.step1.delivery_home.label = Who helped the mother with a home delivery? +anc_pregnancy_outcome.step1.title = Pregnancy Outcome +anc_pregnancy_outcome.step1.delivery_home.v_required.err = Please select +anc_pregnancy_outcome.step1.delivery_place.v_required.err = Please select one option +anc_pregnancy_outcome.step1.delivery_hf.options.alone.text = She gave birth in a health facility, and she came by herself +anc_pregnancy_outcome.step1.preg_outcome.options.born_alive_died.text = Child was born alive, but died +anc_pregnancy_outcome.step1.no_children_no.v_required.err = Please specify the # of babies +anc_pregnancy_outcome.step1.preg_outcome.label = Pregnancy outcome +anc_pregnancy_outcome.step1.delivery_hf.label = The mother gave birth in a health facility. Who accompanied the mother to the health facility? +anc_pregnancy_outcome.step1.delivery_home.options.midwife_help.text = She gave birth at home with the help of a traditional midwife diff --git a/opensrp-chw/src/ba/resources/anc_pregnancy_outcome_sw.properties b/opensrp-chw/src/ba/resources/anc_pregnancy_outcome_sw.properties new file mode 100644 index 0000000000..dc18bab1a5 --- /dev/null +++ b/opensrp-chw/src/ba/resources/anc_pregnancy_outcome_sw.properties @@ -0,0 +1,33 @@ +anc_pregnancy_outcome.step1.delivery_date.hint = Tarehe ya kujifungua +anc_pregnancy_outcome.step1.preg_outcome.options.still_born.text = Mtoto amezaliwa mfu +anc_pregnancy_outcome.step1.delivery_hf.options.other_chw.text = Amejifungulia katika kituo cha kutolea huduma ya afya, na amesindikizwa na CHW +anc_pregnancy_outcome.step1.delivery_place.values[1] = Kituo cha kutolea huduma za afya +anc_pregnancy_outcome.step1.delivery_home.options.gave_birth_with_help.text = Amejifungulia nyumbani akisaidiwa na mtu wa familia/rafiki/jirani +anc_pregnancy_outcome.step1.delivery_place.values[3] = Mahali pengine +anc_pregnancy_outcome.step1.delivery_home.options.gave_birth_alone.text = Amejifungulia nyumbani pekee yake/bila mtu +anc_pregnancy_outcome.step1.preg_outcome.v_required.err = Tafadhali chagua matokeo ya ujauzito +anc_pregnancy_outcome.step1.delivery_hf.v_required.err = Tafadhali chagua chaguo moja +anc_pregnancy_outcome.step1.no_children_no.reference_edit_text_hint = Idadi ya watoto waliozaliwa hai +anc_pregnancy_outcome.step1.miscarriage_date.hint = Tarehe ya kuharibika mimba +anc_pregnancy_outcome.step1.preg_outcome.options.alive_with_problem.text = Mtoto amezaliwa hai, lakini ana shida (mf. ulemavu, kupumua kwa shida, nk.) +anc_pregnancy_outcome.step1.preg_outcome.options.born_alive.text = Mtoto amezaliwa hai +anc_pregnancy_outcome.step1.delivery_hf.options.other_pple.text = Amejifungulia katika kituo cha kutolea huduma ya afya, na amesindikizwa na watu wengine +anc_pregnancy_outcome.step1.baby_label.text = MAELEZO YA MTOTO +anc_pregnancy_outcome.step1.miscarriage_date.v_required.err = Tafadhali ingiza tarehe mwanamke ameharibika mimba. +anc_pregnancy_outcome.step1.delivery_hf.options.facility_midwife.text = Amejifungulia katika kituo cha kutolea huduma za afya, na amesindikizwa na mkunga wa jadi +anc_pregnancy_outcome.step1.delivery_date.v_required.err = Tafadhali ingiza tarehe mwanamke aliyejifungua +anc_pregnancy_outcome.step1.delivery_place.values[0] = Nyumbani +anc_pregnancy_outcome.step1.delivery_hf.options.facility_family_member.text = Amejifungulia  katika kituo cha kutolea huduma za afya, na amesindikizwa na mwanafamilia. +anc_pregnancy_outcome.step1.delivery_place.values[2] = Njiani kabla ya kufika kituoni +anc_pregnancy_outcome.step1.preg_outcome.options.miscarriage.text = Mimba kuharibika +anc_pregnancy_outcome.step1.delivery_place.hint = Mahali alipojifungulia mama +anc_pregnancy_outcome.step1.delivery_home.label = Je, nani amemsaidia kujifungulia nyumbani? +anc_pregnancy_outcome.step1.title = Matokeo ya ujauzito +anc_pregnancy_outcome.step1.delivery_home.v_required.err = Tafadhali chagua chaguo moja +anc_pregnancy_outcome.step1.delivery_place.v_required.err = Tafadhali chagua chaguo moja +anc_pregnancy_outcome.step1.delivery_hf.options.alone.text = Amejifungulia katika kituo cha kutolea huduma za afya, na amekuja pekee yake +anc_pregnancy_outcome.step1.preg_outcome.options.born_alive_died.text = Mtoto amezaliwa hai, lakini akafariki +anc_pregnancy_outcome.step1.no_children_no.v_required.err = Please specify the # of babies +anc_pregnancy_outcome.step1.preg_outcome.label = Matokeo ya ujauzito +anc_pregnancy_outcome.step1.delivery_hf.label = Amejifungua kwenye kituo cha kutolea huduma ya afya. Je, amesindikizwa na nani? +anc_pregnancy_outcome.step1.delivery_home.options.midwife_help.text = Amejifungulia nyumbani akisaidiwa na mkunga wa jadi diff --git a/opensrp-chw/src/ba/resources/anc_referral_form.properties b/opensrp-chw/src/ba/resources/anc_referral_form.properties new file mode 100644 index 0000000000..ba1ab15ea1 --- /dev/null +++ b/opensrp-chw/src/ba/resources/anc_referral_form.properties @@ -0,0 +1,39 @@ +anc_referral_form.step1.service_before_anc_other.hint = Other treatment +anc_referral_form.step1.problem_hf_anc.options.No_movement_unusual_movement_for_a_child_in_the_womb.text = No movement / unusual movement for a child in the womb +anc_referral_form.step1.problem_hf_anc.options.Water_sack_broke_before_contractions.text = Water sack broke before contractions +anc_referral_form.step1.problem_hf_anc.options.HIV_care_and_support_services.text = HIV care and support services +anc_referral_form.step1.problem_hf_anc.options.Blurred_vision.text = Blurred vision +anc_referral_form.step1.problem_hf_anc_other.hint = Other symptom +anc_referral_form.step1.problem_hf_anc.options.Shivering_trembling.text = Shivering/trembling +anc_referral_form.step1.problem_hf_anc.options.Nausea_and_Vomiting.text = Nausea and vomiting +anc_referral_form.step1.problem_hf_anc.options.Early_age_pregnancy_below_18_years.text = Early age pregnancy (below 18 years) +anc_referral_form.step1.problem_hf_anc.options.Swelling_of_the_face_andor_hands.text = Swelling of the face and/or hands +anc_referral_form.step1.service_before_anc_other.v_required.err = Please specify other treatment +anc_referral_form.step1.service_before_anc.v_required.err = Pre-referral management field is required +anc_referral_form.step1.problem_hf_anc.options.Perineum_tear.text = Perineum tear +anc_referral_form.step1.problem_hf_anc.options.Difficultly_breathing.text = Difficultly breathing +anc_referral_form.step1.problem_hf_anc.options.Cord_prolapse.text = Cord prolapse +anc_referral_form.step1.problem_hf_anc.options.Fever.text = Fever +anc_referral_form.step1.problem_hf_anc.options.Breast_engorgement.text = Breast engorgement +anc_referral_form.step1.problem_hf_anc.label = Client condition / problem +anc_referral_form.step1.problem_hf_anc.options.Vaginal_bleeding.text = Vaginal bleeding +anc_referral_form.step1.problem_hf_anc.options.PMTCT_for_mothers.text = PMTCT for mothers +anc_referral_form.step1.service_before_anc.options.Other_treatment.text = Other treatment +anc_referral_form.step1.service_before_anc.options.None.text = None +anc_referral_form.step1.service_before_anc.options.ORS.text = ORS +anc_referral_form.step1.problem_hf_anc.options.Other_symptoms.text = Other symptoms +anc_referral_form.step1.problem_hf_anc.options.Pregnancy_confirmation.text = Pregnancy confirmation +anc_referral_form.step1.problem_hf_anc_other.v_required.err = Please specify other symptom +anc_referral_form.step1.problem_hf_anc.options.Family_planning_services.text = Family planning services +anc_referral_form.step1.title = ANC referral form +anc_referral_form.step1.problem_hf_anc.v_required.err = Please specify reason for ANC referral +anc_referral_form.step1.problem_hf_anc.options.Severe_anaemia.text = Severe anaemia +anc_referral_form.step1.problem_hf_anc.options.A_severe_headache_dizziness.text = A severe headache / dizziness +anc_referral_form.step1.problem_hf_anc.options.Discoloured_or_watery_liquid_vaginal_discharge_with_a_bad_smell.text = Discoloured or watery, liquid vaginal discharge with a bad smell +anc_referral_form.step1.problem_hf_anc.options.Convulsions.text = Convulsions +anc_referral_form.step1.service_before_anc.label = Pre-referral management given +anc_referral_form.step1.problem_hf_anc.options.High_blood_pressure.text = High blood pressure +anc_referral_form.step1.problem_hf_anc.options.Fistula.text = Fistula +anc_referral_form.step1.problem_hf_anc.options.Severe_abdominal_pain.text = Severe abdominal pain +anc_referral_form.step1.problem_hf_anc.options.Pregnancy_pains_before_9_months.text = Pregnancy pains before 9 months +anc_referral_form.step1.service_before_anc.options.Panadol.text = Panadol diff --git a/opensrp-chw/src/ba/resources/anc_referral_form_sw.properties b/opensrp-chw/src/ba/resources/anc_referral_form_sw.properties new file mode 100644 index 0000000000..c2d3e98da1 --- /dev/null +++ b/opensrp-chw/src/ba/resources/anc_referral_form_sw.properties @@ -0,0 +1,39 @@ +anc_referral_form.step1.service_before_anc_other.hint = Matibabu mengine +anc_referral_form.step1.problem_hf_anc.options.No_movement_unusual_movement_for_a_child_in_the_womb.text = Kutocheza / kucheza kusiko kwa kawaida kwa mtoto aliye tumboni +anc_referral_form.step1.problem_hf_anc.options.Water_sack_broke_before_contractions.text = Chupa kupasuka mapema kabla ya uchungu +anc_referral_form.step1.problem_hf_anc.options.HIV_care_and_support_services.text = Huduma za wateja / wagonjwa wanaoishi na VVU +anc_referral_form.step1.problem_hf_anc.options.Blurred_vision.text = Kuona kwa shida +anc_referral_form.step1.problem_hf_anc_other.hint = Dalili nyingine +anc_referral_form.step1.problem_hf_anc.options.Shivering_trembling.text = Kutetemeka +anc_referral_form.step1.problem_hf_anc.options.Nausea_and_Vomiting.text = Kichefuchefu na kutapika +anc_referral_form.step1.problem_hf_anc.options.Early_age_pregnancy_below_18_years.text = Kupata mimba katika umri mdogo (chini ya umri wa miaka 18) +anc_referral_form.step1.problem_hf_anc.options.Swelling_of_the_face_andor_hands.text = Kuvimba uso na / au mikono +anc_referral_form.step1.service_before_anc_other.v_required.err = Tafadhali taja matibabu mengine +anc_referral_form.step1.service_before_anc.v_required.err = Huduma aliyopewa kabla ya rufaa ni lazima +anc_referral_form.step1.problem_hf_anc.options.Perineum_tear.text = Kuchanika msamba +anc_referral_form.step1.problem_hf_anc.options.Difficultly_breathing.text = Kupumua kwa shida +anc_referral_form.step1.problem_hf_anc.options.Cord_prolapse.text = Kutangulia kitovu cha mtoto +anc_referral_form.step1.problem_hf_anc.options.Fever.text = Homa +anc_referral_form.step1.problem_hf_anc.options.Breast_engorgement.text = Kujaa au maumivu ya matiti, chuchu na kushindwa kunyonyesha +anc_referral_form.step1.problem_hf_anc.label = Tatizo / hali ya afya ya mteja +anc_referral_form.step1.problem_hf_anc.options.Vaginal_bleeding.text = Kutoka damu ukeni +anc_referral_form.step1.problem_hf_anc.options.PMTCT_for_mothers.text = Huduma ya kuzuia maambukizi ya VVU toka kwa mama kwenda kwa mtoto +anc_referral_form.step1.service_before_anc.options.Other_treatment.text = Matibabu mengine +anc_referral_form.step1.service_before_anc.options.None.text = Hakuna huduma aliyopewa +anc_referral_form.step1.service_before_anc.options.ORS.text = ORS +anc_referral_form.step1.problem_hf_anc.options.Other_symptoms.text = Dalili nyingine +anc_referral_form.step1.problem_hf_anc.options.Pregnancy_confirmation.text = Kuhakiki uja-uzito +anc_referral_form.step1.problem_hf_anc_other.v_required.err = Tafadhali taja dalili zingine +anc_referral_form.step1.problem_hf_anc.options.Family_planning_services.text = Huduma za uzazi wa mpango +anc_referral_form.step1.title = Rufaa ya mama mjamzito +anc_referral_form.step1.problem_hf_anc.v_required.err = Tafadhali taja sababu ya rufaa ya mama mjamzito +anc_referral_form.step1.problem_hf_anc.options.Severe_anaemia.text = Upungufu mkubwa wa damu +anc_referral_form.step1.problem_hf_anc.options.A_severe_headache_dizziness.text = Maumivu makali ya kichwa / kizunguzungu +anc_referral_form.step1.problem_hf_anc.options.Discoloured_or_watery_liquid_vaginal_discharge_with_a_bad_smell.text = Kutoka uchafu / majimaji ukeni yenye harufu mbaya +anc_referral_form.step1.problem_hf_anc.options.Convulsions.text = Degedege / Mtukutiko wa mwili +anc_referral_form.step1.service_before_anc.label = Huduma aliyopewa kabla ya rufaa +anc_referral_form.step1.problem_hf_anc.options.High_blood_pressure.text = Shinikizo la damu +anc_referral_form.step1.problem_hf_anc.options.Fistula.text = Fistula +anc_referral_form.step1.problem_hf_anc.options.Severe_abdominal_pain.text = Maumivu makali ya tumbo +anc_referral_form.step1.problem_hf_anc.options.Pregnancy_pains_before_9_months.text = Uchungu kuanza mapema kabla ya mimba kufikia miezi 9 +anc_referral_form.step1.service_before_anc.options.Panadol.text = Panadol diff --git a/opensrp-chw/src/ba/resources/birth_certification.properties b/opensrp-chw/src/ba/resources/birth_certification.properties new file mode 100644 index 0000000000..48929982ec --- /dev/null +++ b/opensrp-chw/src/ba/resources/birth_certification.properties @@ -0,0 +1,17 @@ +birth_certification.step1.birth_notification.values[0] = Yes +birth_certification.step1.birth_cert.v_required.err = Please select option +birth_certification.step1.birth_cert_num.v_required.err = Please enter number +birth_certification.step1.birth_cert_issue_date.hint = Birth certificate issuance date +birth_certification.step1.birth_cert_num.hint = Birth certificate number +birth_certification.step1.birthinstroductions.text = Ask to see the birth notification and instruct the caregiver to register the birth at County Health. +birth_certification.step1.birth_notification.hint = Was the birth notification done? +birth_certification.step1.title = Birth Certification +birth_certification.step1.birth_notification.v_required.err = Please select option +birth_certification.step1.birth_cert.values[0] = Yes +birth_certification.step1.birth_cert_num.v_regex.err = Number must be 15 digits or Less. +birth_certification.step1.birth_cert.values[1] = No +birth_certification.step1.birth_cert.hint = Does the child have a birth certificate? +birth_certification.step1.birth_notification.values[1] = No +birth_certification.step1.caregiverinstroductions.text = Instruct the caregiver to have the birth registered at County Health. +birth_certification.step1.birth_cert_issue_date.v_required.err = Please enter Birth certificate issuance date +birth_certification.step1.birth_cert_num.v_numeric.err = Number must be 15 digits or Less. diff --git a/opensrp-chw/src/ba/resources/child_enrollment.properties b/opensrp-chw/src/ba/resources/child_enrollment.properties new file mode 100644 index 0000000000..8bf022d583 --- /dev/null +++ b/opensrp-chw/src/ba/resources/child_enrollment.properties @@ -0,0 +1,69 @@ +child_enrollment.step1.insurance_provider.values[9] = Resolutions Insurance +child_enrollment.step1.gender.values[1] = Female +child_enrollment.step1.insurance_provider.values[1] = iCHF +child_enrollment.step1.insurance_provider.values[5] = Strategies Insurance +child_enrollment.step1.insurance_provider.values[12] = None +child_enrollment.step1.insurance_provider.hint = Health insurance provider +child_enrollment.step1.rhc_card.values[0] = Yes +child_enrollment.step1.type_of_disability.v_required.err = Please enter type of physical disabilities +child_enrollment.step1.middle_name.v_required.err = Please enter middle name +child_enrollment.step1.same_as_fam_name.label = +child_enrollment.step1.dob.v_required.err = Please enter the date of birth +child_enrollment.step1.insurance_provider_number.hint = Health insurance provider number +child_enrollment.step1.dob_unknown.label = +child_enrollment.step1.first_name.v_required.err = Please enter first name +child_enrollment.step1.nutrition_status.values[2] = Red +child_enrollment.step1.birth_cert_available.hint = Birth registration/certificate +child_enrollment.step1.nutrition_status.hint = Nutrition status +child_enrollment.step1.insurance_provider.values[8] = Jubilee Insurance +child_enrollment.step1.insurance_provider.values[0] = Community Health Fund (CHF) +child_enrollment.step1.gender.hint = Sex +child_enrollment.step1.rhc_card.values[1] = No +child_enrollment.step1.insurance_provider.values[4] = AAR Healthcare +child_enrollment.step1.surname_calculation.hint = Surname as Family name +child_enrollment.step1.unique_id.v_numeric.err = Please enter a valid ID +child_enrollment.step1.disabilities.values[1] = No +child_enrollment.step1.disabilities.hint = Physical disabilities +child_enrollment.step1.unique_id.v_required.err = Please enter the UNIQUE ID +child_enrollment.step1.unique_id.scanButtonText = Scan QR Code +child_enrollment.step1.insurance_provider_other.hint = Other health insurance provider +child_enrollment.step1.nutrition_status.values[1] = Grey/Yellow +child_enrollment.step1.middle_name.hint = Middle name +child_enrollment.step1.insurance_provider.values[7] = Britam Insurance Tanzania +child_enrollment.step1.insurance_provider_number.v_required.err = Please add the health insurance provider iD Number +child_enrollment.step1.birth_regist_number.hint = Birth registration number +child_enrollment.step1.first_name.hint = First name +child_enrollment.step1.gender.v_required.err = Please enter the sex +child_enrollment.step1.same_as_fam_name.options.same_as_fam_name.text = Surname same as family name +child_enrollment.step1.insurance_provider.values[10] = Reliance Insurance +child_enrollment.step1.age.v_min.err = Age must be equal or greater than 0 +child_enrollment.step1.insurance_provider.v_required.err = Please enter the insurance provider +child_enrollment.step1.birth_cert_available.values[0] = Yes +child_enrollment.step1.insurance_provider.values[3] = Tiba Kwa Kadi (TIKA) +child_enrollment.step1.surname.hint = Surname +child_enrollment.step1.dob.duration.label = Age +child_enrollment.step1.disabilities.values[0] = Yes +child_enrollment.step1.dob_unknown.options.dob_unknown.text = DOB unknown? +child_enrollment.step1.nutrition_status.values[0] = Green +child_enrollment.step1.age.v_max.err = Age must be equal or less than 5 +child_enrollment.step1.gender.values[0] = Male +child_enrollment.step1.nutrition_status.v_required.err = Please provide child nutrition status +child_enrollment.step1.age.v_numeric.err = Number must begin with 0 and must be a total of 10 digits in length +child_enrollment.step1.insurance_provider.values[2] = National Social Security Fund - Social Health Insurance Benefit (SHIB) +child_enrollment.step1.age.hint = Age +child_enrollment.step1.insurance_provider.values[11] = Other +child_enrollment.step1.surname.v_regex.err = Please enter a valid name +child_enrollment.step1.dob.hint = Date of birth (DOB) +child_enrollment.step1.surname.v_required.err = Please enter the surname +child_enrollment.step1.insurance_provider.values[6] = Milvik Tanzania Ltd (BIMA Mkononi) +child_enrollment.step1.birth_cert_available.values[1] = No +child_enrollment.step1.insurance_provider_other.v_required.err = Please specify the insurance provider +child_enrollment.step1.rhc_card.hint = Does the child have RCH card 1/child growth booklet? +child_enrollment.step1.unique_id.hint = Boresha Afya ID +child_enrollment.step1.age.v_required.err = Please enter the age +child_enrollment.step1.title = Add Child Under 5 +child_enrollment.step1.middle_name.v_regex.err = Please Enter a Valid Name +child_enrollment.step1.type_of_disability.hint = Type of physical disabilities +child_enrollment.step1.first_name.v_regex.err = Please enter a valid name +child_enrollment.step1.photo.uploadButtonText = Take a picture of the person +child_enrollment.step1.disabilities.v_required.err = Please select one diff --git a/opensrp-chw/src/ba/resources/child_enrollment_sw.properties b/opensrp-chw/src/ba/resources/child_enrollment_sw.properties new file mode 100644 index 0000000000..6c12978ec5 --- /dev/null +++ b/opensrp-chw/src/ba/resources/child_enrollment_sw.properties @@ -0,0 +1,69 @@ +child_enrollment.step1.insurance_provider.values[9] = Resolutions Insurance +child_enrollment.step1.gender.values[1] = Ke +child_enrollment.step1.insurance_provider.values[1] = Bima ya afya ya jamii ulioboreshwa (iCHF) +child_enrollment.step1.insurance_provider.values[5] = Strategies Insurance +child_enrollment.step1.insurance_provider.values[12] = Hakuna +child_enrollment.step1.insurance_provider.hint = Bima ya afya unaotumia +child_enrollment.step1.rhc_card.values[0] = Ndiyo +child_enrollment.step1.type_of_disability.v_required.err = Tafadhali ingiza aina ya ulemavu wa mwili +child_enrollment.step1.middle_name.v_required.err = Tafadhali ingiza jina la kati +child_enrollment.step1.same_as_fam_name.label = +child_enrollment.step1.dob.v_required.err = Tafadhali ingiza tarehe ya kuzaliwa +child_enrollment.step1.insurance_provider_number.hint = Namba ya bima ya afya umaotumia +child_enrollment.step1.dob_unknown.label = +child_enrollment.step1.first_name.v_required.err = Tafadhali ingiza jina la kwanza +child_enrollment.step1.nutrition_status.values[2] = Nyekundu +child_enrollment.step1.birth_cert_available.hint = Cheti cha kuzaliwa +child_enrollment.step1.nutrition_status.hint = Hali ya lishe ya mtoto +child_enrollment.step1.insurance_provider.values[8] = Jubilee Insurance +child_enrollment.step1.insurance_provider.values[0] = Bima ya afya ya jamii (CHF) +child_enrollment.step1.gender.hint = Jinsi +child_enrollment.step1.rhc_card.values[1] = Hapana +child_enrollment.step1.insurance_provider.values[4] = AAR Healthcare +child_enrollment.step1.surname_calculation.hint = Jina la ukoo ni sawa na jina la famili +child_enrollment.step1.unique_id.v_numeric.err = Tafadhali ingiza namba halali +child_enrollment.step1.disabilities.values[1] = Hapana +child_enrollment.step1.disabilities.hint = Hali ya ulemavu +child_enrollment.step1.unique_id.v_required.err = Tafadhali ingiza namba ya kipekee +child_enrollment.step1.unique_id.scanButtonText = Chukua QR code +child_enrollment.step1.insurance_provider_other.hint = Bima ya afya mwingine unaotumia +child_enrollment.step1.nutrition_status.values[1] = Kijivu/Njano +child_enrollment.step1.middle_name.hint = Jina la kati +child_enrollment.step1.insurance_provider.values[7] = Britam Insurance Tanzania +child_enrollment.step1.insurance_provider_number.v_required.err = Tafadhali ongeza nambari ya bima ya afya +child_enrollment.step1.birth_regist_number.hint = Namba ya cheti cha kuzaliwa +child_enrollment.step1.first_name.hint = Jina la kwanza +child_enrollment.step1.gender.v_required.err = Tafadhali ingiza jinsi +child_enrollment.step1.same_as_fam_name.options.same_as_fam_name.text = Jina la ukoo ni sawa na jina la familia +child_enrollment.step1.insurance_provider.values[10] = Reliance Insurance +child_enrollment.step1.age.v_min.err = Umri lazima uwe sawa au mkubwa kuliko 0 +child_enrollment.step1.insurance_provider.v_required.err = Tafadhali ingiza bima +child_enrollment.step1.birth_cert_available.values[0] = Ndiyo +child_enrollment.step1.insurance_provider.values[3] = Tiba Kwa Kadi (TIKA) +child_enrollment.step1.surname.hint = Jina la mwisho (ukoo) +child_enrollment.step1.dob.duration.label = Age +child_enrollment.step1.disabilities.values[0] = Ndiyo +child_enrollment.step1.dob_unknown.options.dob_unknown.text = Tarehe ya kuzaliwa haijulikani? +child_enrollment.step1.nutrition_status.values[0] = Kijani +child_enrollment.step1.age.v_max.err = Umri lazima uwe sawa au chini ya 5 +child_enrollment.step1.gender.values[0] = Me +child_enrollment.step1.nutrition_status.v_required.err = Tafadhali toa hali ya lishe ya watoto +child_enrollment.step1.age.v_numeric.err = Nambari lazima ianze na 0 na lazima iwe jumla ya nambari 10 kwa urefu +child_enrollment.step1.insurance_provider.values[2] = National Social Security Fund - Social Health Insurance Benefit (SHIB) +child_enrollment.step1.age.hint = Umri +child_enrollment.step1.insurance_provider.values[11] = Bima ya afya nyingezo +child_enrollment.step1.surname.v_regex.err = Tafadhali ingiza jina halali +child_enrollment.step1.dob.hint = Tarehe ya kuzaliwa +child_enrollment.step1.surname.v_required.err = Tafadhali ingiza jina la ukoo +child_enrollment.step1.insurance_provider.values[6] = Milvik Tanzania Ltd (BIMA Mkononi) +child_enrollment.step1.birth_cert_available.values[1] = Hapana +child_enrollment.step1.insurance_provider_other.v_required.err = Tafadhali taja bima +child_enrollment.step1.rhc_card.hint = Je, mtoto ana RCH kadi namba moja/kitabu cha ukuaji wa mtoto? +child_enrollment.step1.unique_id.hint = Boresha Afya ID +child_enrollment.step1.age.v_required.err = Tafadhali ingiza umri +child_enrollment.step1.title = Ongeza mtoto chini ya miaki 5 +child_enrollment.step1.middle_name.v_regex.err = Tafadhali ingiza jina halali +child_enrollment.step1.type_of_disability.hint = Aina ya ulemavu +child_enrollment.step1.first_name.v_regex.err = Tafadhali ingiza jina halali +child_enrollment.step1.photo.uploadButtonText = Chukua picha ya muhusika +child_enrollment.step1.disabilities.v_required.err = Tafadhali chagua moja diff --git a/opensrp-chw/src/ba/resources/child_hv_deworming.properties b/opensrp-chw/src/ba/resources/child_hv_deworming.properties new file mode 100644 index 0000000000..bf11d038dc --- /dev/null +++ b/opensrp-chw/src/ba/resources/child_hv_deworming.properties @@ -0,0 +1,3 @@ +child_hv_deworming.step1.title = Deworming {0} dose +child_hv_deworming.step1.deworming{0}_date.hint = When was deworming {0} dose given? +child_hv_deworming.step1.deworming{0}_date.v_required.err = Please enter the date deworming was given diff --git a/opensrp-chw/src/ba/resources/child_hv_deworming_sw.properties b/opensrp-chw/src/ba/resources/child_hv_deworming_sw.properties new file mode 100644 index 0000000000..be7738e951 --- /dev/null +++ b/opensrp-chw/src/ba/resources/child_hv_deworming_sw.properties @@ -0,0 +1,3 @@ +child_hv_deworming.step1.title = Dozi ya {0} ya dawa ya minyoo +child_hv_deworming.step1.deworming{0}_date.hint = Dawa ya minyoo ya {0} lilifanyika lini? +child_hv_deworming.step1.deworming{0}_date.v_required.err = Tafadhali ingiza tarehe ya dozi ya dawa ya minyoo diff --git a/opensrp-chw/src/ba/resources/child_hv_malaria_prevention.properties b/opensrp-chw/src/ba/resources/child_hv_malaria_prevention.properties new file mode 100644 index 0000000000..5e2c9b33b8 --- /dev/null +++ b/opensrp-chw/src/ba/resources/child_hv_malaria_prevention.properties @@ -0,0 +1,13 @@ +child_hv_malaria_prevention.step1.llin_2days_1m5yr.values[1] = No +child_hv_malaria_prevention.step1.llin_2days_1m5yr.values[0] = Yes +child_hv_malaria_prevention.step1.fam_llin_1m5yr.hint = Does the child have a long lasting insecticide net (LLIN)? +child_hv_malaria_prevention.step1.llin_2days_1m5yr.hint = Did the child sleep under the LLIN last night? +child_hv_malaria_prevention.step1.fam_llin_1m5yr.v_required.err = Please select one option +child_hv_malaria_prevention.step1.fam_llin_1m5yr.values[1] = No +child_hv_malaria_prevention.step1.llin_condition_1m5yr.hint = LLIN condition +child_hv_malaria_prevention.step1.llin_condition_1m5yr.v_required.err = Please select one option +child_hv_malaria_prevention.step1.llin_2days_1m5yr.v_required.err = Please select one option +child_hv_malaria_prevention.step1.llin_condition_1m5yr.values[1] = Bad +child_hv_malaria_prevention.step1.llin_condition_1m5yr.values[0] = Okay +child_hv_malaria_prevention.step1.fam_llin_1m5yr.values[0] = Yes +child_hv_malaria_prevention.step1.title = Malaria Prevention diff --git a/opensrp-chw/src/ba/resources/child_hv_malaria_prevention_sw.properties b/opensrp-chw/src/ba/resources/child_hv_malaria_prevention_sw.properties new file mode 100644 index 0000000000..8033671faf --- /dev/null +++ b/opensrp-chw/src/ba/resources/child_hv_malaria_prevention_sw.properties @@ -0,0 +1,13 @@ +child_hv_malaria_prevention.step1.llin_2days_1m5yr.values[1] = Hapana +child_hv_malaria_prevention.step1.llin_2days_1m5yr.values[0] = Ndiyo +child_hv_malaria_prevention.step1.fam_llin_1m5yr.hint = Ana chandarua chenye viuwatilifu vya muda mrefu? +child_hv_malaria_prevention.step1.llin_2days_1m5yr.hint = Je, amelala kwenye chandarua chenye viuwatilifu vya muda mrefu usiku uliopita? +child_hv_malaria_prevention.step1.fam_llin_1m5yr.v_required.err = Tafadhali chagua chaguo moja +child_hv_malaria_prevention.step1.fam_llin_1m5yr.values[1] = Hapana +child_hv_malaria_prevention.step1.llin_condition_1m5yr.hint = Hali ya chandarua chenye viuwatilifu vya muda mrefu kinachotumika +child_hv_malaria_prevention.step1.llin_condition_1m5yr.v_required.err = Tafadhali chagua chaguo moja +child_hv_malaria_prevention.step1.llin_2days_1m5yr.v_required.err = Tafadhali chagua chaguo moja +child_hv_malaria_prevention.step1.llin_condition_1m5yr.values[1] = Mbovu +child_hv_malaria_prevention.step1.llin_condition_1m5yr.values[0] = Nzima +child_hv_malaria_prevention.step1.fam_llin_1m5yr.values[0] = Ndiyo +child_hv_malaria_prevention.step1.title = Kinga dhidi ya Malaria diff --git a/opensrp-chw/src/ba/resources/child_hv_nutrition_status.properties b/opensrp-chw/src/ba/resources/child_hv_nutrition_status.properties new file mode 100644 index 0000000000..e3c895b9d3 --- /dev/null +++ b/opensrp-chw/src/ba/resources/child_hv_nutrition_status.properties @@ -0,0 +1,6 @@ +child_hv_nutrition_status.step1.title = Nutrition status +child_hv_nutrition_status.step1.nutrition_status_1m5yr.hint = Nutrition status +child_hv_nutrition_status.step1.nutrition_status_1m5yr.v_required.err = Please select one option +child_hv_nutrition_status.step1.nutrition_status_1m5yr.values[1] = Moderate +child_hv_nutrition_status.step1.nutrition_status_1m5yr.values[2] = Severe +child_hv_nutrition_status.step1.nutrition_status_1m5yr.values[0] = Normal diff --git a/opensrp-chw/src/ba/resources/child_hv_nutrition_status_sw.properties b/opensrp-chw/src/ba/resources/child_hv_nutrition_status_sw.properties new file mode 100644 index 0000000000..8d8e76b50d --- /dev/null +++ b/opensrp-chw/src/ba/resources/child_hv_nutrition_status_sw.properties @@ -0,0 +1,6 @@ +child_hv_nutrition_status.step1.title = Hali ya lishe +child_hv_nutrition_status.step1.nutrition_status_1m5yr.hint = Hali ya lishe +child_hv_nutrition_status.step1.nutrition_status_1m5yr.v_required.err = Tafadhali chagua chaguo angalau moja +child_hv_nutrition_status.step1.nutrition_status_1m5yr.values[1] = Dhaifu +child_hv_nutrition_status.step1.nutrition_status_1m5yr.values[2] = Dhaifu sana +child_hv_nutrition_status.step1.nutrition_status_1m5yr.values[0] = Kawaida diff --git a/opensrp-chw/src/ba/resources/child_hv_vaccine_card_received.properties b/opensrp-chw/src/ba/resources/child_hv_vaccine_card_received.properties new file mode 100644 index 0000000000..e6aaa58f99 --- /dev/null +++ b/opensrp-chw/src/ba/resources/child_hv_vaccine_card_received.properties @@ -0,0 +1,4 @@ +child_hv_vaccine_card_received.step1.title = Child vaccine card received +child_hv_vaccine_card_received.step1.child_vaccine_card.values[1] = No +child_hv_vaccine_card_received.step1.child_vaccine_card.values[0] = Yes +child_hv_vaccine_card_received.step1.child_vaccine_card.hint = Did the child receive their vaccine card? diff --git a/opensrp-chw/src/ba/resources/child_hv_vitamin_a.properties b/opensrp-chw/src/ba/resources/child_hv_vitamin_a.properties new file mode 100644 index 0000000000..2ab3307f9a --- /dev/null +++ b/opensrp-chw/src/ba/resources/child_hv_vitamin_a.properties @@ -0,0 +1,3 @@ +child_hv_vitamin_a.step1.vitamin_a{0}_date.v_required.err = Please enter the date vitamin a was given +child_hv_vitamin_a.step1.title = Vitamin A {0} dose +child_hv_vitamin_a.step1.vitamin_a{0}_date.hint = When was Vitamin A {0} dose done? diff --git a/opensrp-chw/src/ba/resources/child_hv_vitamin_a_sw.properties b/opensrp-chw/src/ba/resources/child_hv_vitamin_a_sw.properties new file mode 100644 index 0000000000..00b929abae --- /dev/null +++ b/opensrp-chw/src/ba/resources/child_hv_vitamin_a_sw.properties @@ -0,0 +1,3 @@ +child_hv_vitamin_a.step1.vitamin_a{0}_date.v_required.err = Tafadhali ingiza tarehe ya dozi ya Vitamini A +child_hv_vitamin_a.step1.title = Vitamin A {0} dose +child_hv_vitamin_a.step1.vitamin_a{0}_date.hint = Dozi ya Vitamini A ya {0} ilifanyika lini? diff --git a/opensrp-chw/src/ba/resources/child_referral_form.properties b/opensrp-chw/src/ba/resources/child_referral_form.properties new file mode 100644 index 0000000000..5446ec98fb --- /dev/null +++ b/opensrp-chw/src/ba/resources/child_referral_form.properties @@ -0,0 +1,34 @@ +child_referral_form.step1.referral_problem_child.options.Cyanosis_blueness_of_lips.text = Cyanosis (blueness of lips) +child_referral_form.step1.referral_problem_child.options.Vomiting.text = Vomiting +child_referral_form.step1.service_before_child.options.None.text = None +child_referral_form.step1.service_before_child_other.hint = Other treatment +child_referral_form.step1.referral_problem_child.v_required.err = Please specify health problem +child_referral_form.step1.referral_problem_child.options.Disabilities.text = Disabilities +child_referral_form.step1.referral_problem_child.options.Other_symptom.text = Other symptom +child_referral_form.step1.referral_problem_child.options.Skin_rash_pustules.text = Skin rash / pustules +child_referral_form.step1.referral_problem_child.options.Pale_or_jaundiced.text = Pale or jaundiced +child_referral_form.step1.referral_problem_child.options.Severe_anaemia.text = Severe anaemia +child_referral_form.step1.service_before_child.v_required.err = Pre-referral management field is required +child_referral_form.step1.referral_problem_child.options.Bloating.text = Bloating +child_referral_form.step1.referral_problem_child.options.Fast_breathing_and_difficulty_with_breathing.text = Fast breathing and difficulty with breathing +child_referral_form.step1.referral_problem_child.label = Health problem / condition +child_referral_form.step1.service_before_child.label = Pre-referral management given +child_referral_form.step1.referral_problem_child.options.Umbilical_cord_navel_bleeding.text = Umbilical cord/navel bleeding +child_referral_form.step1.referral_problem_child.options.Excessive_crying.text = Excessive crying +child_referral_form.step1.service_before_child.options.Panadol.text = Panadol +child_referral_form.step1.referral_problem_child.options.Neck_stiffness.text = Neck stiffness +child_referral_form.step1.referral_problem_child.options.Care_of_HIV_exposed_infant.text = Care of HIV-exposed infant +child_referral_form.step1.service_before_child.options.Other_treatment.text = Other treatment +child_referral_form.step1.referral_problem_child.options.Diarrhea.text = Diarrhea +child_referral_form.step1.referral_problem_child.options.Convulsions.text = Convulsions +child_referral_form.step1.referral_problem_child.options.Unable_to_breastfeed_or_swallow.text = Unable to breastfeed or swallow +child_referral_form.step1.referral_problem_child.options.Fever.text = Fever +child_referral_form.step1.title = Sick child form +child_referral_form.step1.referral_problem_child.options.Premature_baby.text = Premature baby +child_referral_form.step1.referral_problem_child.options.Redness_around_the_umbilical_cord_foul_smelling_discharge_from_the_umbilical_cord.text = Redness around the umbilical cord, foul-smelling discharge from the umbilical cord +child_referral_form.step1.referral_problem_child_other.hint = Other symptom +child_referral_form.step1.referral_problem_child.options.Immunisation.text = Immunisation +child_referral_form.step1.service_before_child.options.ORS.text = ORS +child_referral_form.step1.referral_problem_child.options.Severe_abdominal_pain.text = Severe abdominal pain +child_referral_form.step1.referral_problem_child.options.Bacterial_conjunctivitis.text = Bacterial conjunctivitis +child_referral_form.step1.service_before_child_other.v_required.err = Please specify other treatment diff --git a/opensrp-chw/src/ba/resources/child_referral_form_sw.properties b/opensrp-chw/src/ba/resources/child_referral_form_sw.properties new file mode 100644 index 0000000000..7428790e81 --- /dev/null +++ b/opensrp-chw/src/ba/resources/child_referral_form_sw.properties @@ -0,0 +1,34 @@ +child_referral_form.step1.referral_problem_child.options.Cyanosis_blueness_of_lips.text = Kubadilika kwa sababu ya kukosa hewa (midomo kuwa bluu, ulimi au viganja) +child_referral_form.step1.referral_problem_child.options.Vomiting.text = Kutapika +child_referral_form.step1.service_before_child.options.None.text = Hajapewa matibabu yoyote +child_referral_form.step1.service_before_child_other.hint = Matibabu mengine +child_referral_form.step1.referral_problem_child.v_required.err = Tafadhali taja shida ya kiafya +child_referral_form.step1.referral_problem_child.options.Disabilities.text = Kuzaliwa na ulemavu +child_referral_form.step1.referral_problem_child.options.Other_symptom.text = Dalili nyingine +child_referral_form.step1.referral_problem_child.options.Skin_rash_pustules.text = Vipele mwilini +child_referral_form.step1.referral_problem_child.options.Pale_or_jaundiced.text = Mwili kuwa njano +child_referral_form.step1.referral_problem_child.options.Severe_anaemia.text = Upungufu mkubwa wa damu +child_referral_form.step1.service_before_child.v_required.err = Huduma aliyopewa kabla ya rufaa ni lazima +child_referral_form.step1.referral_problem_child.options.Bloating.text = Tumbo kujaa +child_referral_form.step1.referral_problem_child.options.Fast_breathing_and_difficulty_with_breathing.text = Kupumua kwa haraka na kushindwa kupumua +child_referral_form.step1.referral_problem_child.label = Tatizo / hali ya afya ya mteja +child_referral_form.step1.service_before_child.label = Huduma aliyopewa kabla ya rufaa +child_referral_form.step1.referral_problem_child.options.Umbilical_cord_navel_bleeding.text = Kutoka damu kwenye kitovu cha mtoto +child_referral_form.step1.referral_problem_child.options.Excessive_crying.text = Kulia sana kwa Mtoto +child_referral_form.step1.service_before_child.options.Panadol.text = Panadol +child_referral_form.step1.referral_problem_child.options.Neck_stiffness.text = Shingo kukakamaa +child_referral_form.step1.referral_problem_child.options.Care_of_HIV_exposed_infant.text = Huduma za kumsaidia mtoto aliyezaliwa na mama mwenye VVU +child_referral_form.step1.service_before_child.options.Other_treatment.text = Matibabu mengine +child_referral_form.step1.referral_problem_child.options.Diarrhea.text = Kuharisha +child_referral_form.step1.referral_problem_child.options.Convulsions.text = Degedege +child_referral_form.step1.referral_problem_child.options.Unable_to_breastfeed_or_swallow.text = Kushindwa kunyonya au kumeza +child_referral_form.step1.referral_problem_child.options.Fever.text = Homa +child_referral_form.step1.title = Fomu ya wagonjwa wa mtoto +child_referral_form.step1.referral_problem_child.options.Premature_baby.text = Mtoto aliyezaliwa na uzito pungufu / njiti +child_referral_form.step1.referral_problem_child.options.Redness_around_the_umbilical_cord_foul_smelling_discharge_from_the_umbilical_cord.text = Uambukizo kwenye kitovu +child_referral_form.step1.referral_problem_child_other.hint = Dalili nyingine +child_referral_form.step1.referral_problem_child.options.Immunisation.text = Huduma za chanjo +child_referral_form.step1.service_before_child.options.ORS.text = ORS +child_referral_form.step1.referral_problem_child.options.Severe_abdominal_pain.text = Maumivu makali ya tumbo +child_referral_form.step1.referral_problem_child.options.Bacterial_conjunctivitis.text = Macho kutoa uchafu / usaa +child_referral_form.step1.service_before_child_other.v_required.err = Tafadhali taja matibabu mengine diff --git a/opensrp-chw/src/ba/resources/community_responder_registration.properties b/opensrp-chw/src/ba/resources/community_responder_registration.properties new file mode 100644 index 0000000000..92fea7d3d5 --- /dev/null +++ b/opensrp-chw/src/ba/resources/community_responder_registration.properties @@ -0,0 +1,10 @@ +community_responder_registration.step1.title = Community Responder details +community_responder_registration.step1.responder_name.v_regex.err = Please enter a valid name +community_responder_registration.step1.responder_phone_number.v_regex.err = Number must be 10 digits and must start with 0. +community_responder_registration.step1.responder_name.v_required.err = Please enter responder's full name +community_responder_registration.step1.responder_phone_number.v_required.err = Please enter responder's phone number +community_responder_registration.step1.responder_phone_number.v_numeric.err = Number must be a total of 10 digits in length +community_responder_registration.step1.responder_phone_number.hint = Phone number +community_responder_registration.step1.responder_name.hint = Full name +community_responder_registration.step1.responder_gps.hint = normal location +community_responder_registration.step1.responder_label.text = Add community responder Details diff --git a/opensrp-chw/src/ba/resources/community_responder_registration_sw.properties b/opensrp-chw/src/ba/resources/community_responder_registration_sw.properties new file mode 100644 index 0000000000..db0f83a9ec --- /dev/null +++ b/opensrp-chw/src/ba/resources/community_responder_registration_sw.properties @@ -0,0 +1,10 @@ +community_responder_registration.step1.title = Taarifa ya usafiri wa dharura +community_responder_registration.step1.responder_name.v_regex.err = Tafadhali ingiza jina halali +community_responder_registration.step1.responder_phone_number.v_regex.err = Nambari lazima iwe na tarakimu 10 na lazima ianze na 0. +community_responder_registration.step1.responder_name.v_required.err = Tafadhali ingiza jina la usafiri wa dharura +community_responder_registration.step1.responder_phone_number.v_required.err = Tafadhali ingiza namba ya simu ya usafiri wa dharura +community_responder_registration.step1.responder_phone_number.v_numeric.err = Nambari lazima iwe jumla ya tarakimu 10 kwa urefu +community_responder_registration.step1.responder_phone_number.hint = Namba ya simu +community_responder_registration.step1.responder_name.hint = Jina +community_responder_registration.step1.responder_gps.hint = Eneo la kawaida +community_responder_registration.step1.responder_label.text = Sajili taarifa ya usafiri wa dharura diff --git a/opensrp-chw/src/ba/resources/family_details_register.properties b/opensrp-chw/src/ba/resources/family_details_register.properties new file mode 100644 index 0000000000..79a65c5f8f --- /dev/null +++ b/opensrp-chw/src/ba/resources/family_details_register.properties @@ -0,0 +1,12 @@ +family_details_register.step1.title = Family Details +family_details_register.step1.unique_id.v_numeric.err = Please enter a valid ID +family_details_register.step1.fam_name.v_regex.err = Please enter a valid name +family_details_register.step1.fam_name.v_required.err = Please enter the family name +family_details_register.step1.landmark.hint = Landmark +family_details_register.step1.nearest_facility.v_required.err = Please enter the nearest health facility +family_details_register.step1.fam_name.hint = Family name +family_details_register.step1.unique_id.scanButtonText = Scan QR Code +family_details_register.step1.unique_id.hint = ID * +family_details_register.step1.village_town.hint = Village/Town +family_details_register.step1.nearest_facility.hint = Nearest health facility +family_details_register.step1.village_town.v_required.err = Please enter the village or town diff --git a/opensrp-chw/src/ba/resources/family_details_register_sw.properties b/opensrp-chw/src/ba/resources/family_details_register_sw.properties new file mode 100644 index 0000000000..007d73639a --- /dev/null +++ b/opensrp-chw/src/ba/resources/family_details_register_sw.properties @@ -0,0 +1,12 @@ +family_details_register.step1.title = Taarifa ya familia +family_details_register.step1.unique_id.v_numeric.err = Tafadhali ingiza namba halali +family_details_register.step1.fam_name.v_regex.err = Tafadhali ingiza jina halali +family_details_register.step1.fam_name.v_required.err = Tafadhali ingiza jina la familia (ukoo) +family_details_register.step1.landmark.hint = Alama ya eneo la makazi +family_details_register.step1.nearest_facility.v_required.err = Tafadhali ingiza kituo cha afya kilicho karibu +family_details_register.step1.fam_name.hint = Jina la familia (ukoo) +family_details_register.step1.unique_id.scanButtonText = Scan QR Code +family_details_register.step1.unique_id.hint = ID * +family_details_register.step1.village_town.hint = Kijiji / mtaa +family_details_register.step1.nearest_facility.hint = Kituo cha karibu cha kutolea huduma za afya +family_details_register.step1.village_town.v_required.err = Tafadhali ingiza kijiji au jiji diff --git a/opensrp-chw/src/ba/resources/family_details_remove_child.properties b/opensrp-chw/src/ba/resources/family_details_remove_child.properties new file mode 100644 index 0000000000..516ea98bd6 --- /dev/null +++ b/opensrp-chw/src/ba/resources/family_details_remove_child.properties @@ -0,0 +1,17 @@ +family_details_remove_child.step1.date_died.v_required.err = Enter the date of death +family_details_remove_child.step1.remove_reason.v_required.err = Select the reason for removing the child's record. +family_details_remove_child.step1.date_died.hint = Date of death +family_details_remove_child.step1.date_moved.constraints.err = Moved away date cannot be before date of birth +family_details_remove_child.step1.age_at_death.label = Age at death +family_details_remove_child.step1.remove_reason.hint = Reason +family_details_remove_child.step1.title = Remove Child Under 5 +family_details_remove_child.step1.date_moved.label = Date moved away +family_details_remove_child.step1.age_at_death.hint = Age at death +family_details_remove_child.step1.remove_reason.values[2] = Other +family_details_remove_child.step1.remove_reason.values[0] = Died +family_details_remove_child.step1.date_moved.v_required.err = Enter the date that the member moved away +family_details_remove_child.step1.remove_reason.values[1] = Moved away +family_details_remove_child.step1.date_died.constraints.err = Date of death can't occur before date of birth +family_details_remove_child.step1.details.text = +family_details_remove_child.step1.date_died.label = Date of death +family_details_remove_child.step1.date_moved.hint = Date moved away diff --git a/opensrp-chw/src/ba/resources/family_details_remove_child_sw.properties b/opensrp-chw/src/ba/resources/family_details_remove_child_sw.properties new file mode 100644 index 0000000000..5fe1579389 --- /dev/null +++ b/opensrp-chw/src/ba/resources/family_details_remove_child_sw.properties @@ -0,0 +1,17 @@ +family_details_remove_child.step1.date_died.v_required.err = Ingiza tarehe ya kifo +family_details_remove_child.step1.remove_reason.v_required.err = Chagua sababu ya kuondoa rekodi ya mtoto. +family_details_remove_child.step1.date_died.hint = Tarehe ya kifo +family_details_remove_child.step1.date_moved.constraints.err = Tarehe ya kuhamishwa haiwezi kuwa kabla ya tarehe ya kuzaliwa +family_details_remove_child.step1.age_at_death.label = Umri wakati anafariki +family_details_remove_child.step1.remove_reason.hint = Sababu ya kuiondoa +family_details_remove_child.step1.title = Ondoa mtoto chini ya miaki 5 +family_details_remove_child.step1.date_moved.label = Tarehe aliyohama +family_details_remove_child.step1.age_at_death.hint = Umri wakati anafariki +family_details_remove_child.step1.remove_reason.values[2] = Sababu nyingine +family_details_remove_child.step1.remove_reason.values[0] = Kifo +family_details_remove_child.step1.date_moved.v_required.err = Ingiza tarehe ambayo mwanachama alihama +family_details_remove_child.step1.remove_reason.values[1] = Amehama +family_details_remove_child.step1.date_died.constraints.err = Tarehe ya kifo haiwezi kutokea kabla ya tarehe ya kuzaliwa +family_details_remove_child.step1.details.text = +family_details_remove_child.step1.date_died.label = Tarehe ya kifo +family_details_remove_child.step1.date_moved.hint = Tarehe aliyohama diff --git a/opensrp-chw/src/ba/resources/family_details_remove_family.properties b/opensrp-chw/src/ba/resources/family_details_remove_family.properties new file mode 100644 index 0000000000..792b2bbbae --- /dev/null +++ b/opensrp-chw/src/ba/resources/family_details_remove_family.properties @@ -0,0 +1,13 @@ +family_details_remove_family.step1.closure_reason_fam.v_required.err = Select the reason for removing the family's record. +family_details_remove_family.step1.closure_reason_fam.hint = Reason for closure +family_details_remove_family.step1.closure_reason_other_fam.hint = Other reason +family_details_remove_family.step1.title = Remove Family +family_details_remove_family.step1.fam_name.text = +family_details_remove_family.step1.details.text = +family_details_remove_family.step1.closure_reason_relocation_fam.hint = Household relocation +family_details_remove_family.step1.closure_reason_fam.values[1] = Other +family_details_remove_family.step1.closure_reason_fam.values[0] = Relocation +family_details_remove_family.step1.closure_reason_relocation_fam.values[0] = Within the district +family_details_remove_family.step1.closure_reason_relocation_fam.v_required.err = Enter reason of closure +family_details_remove_family.step1.closure_reason_relocation_fam.values[1] = Outside the district +family_details_remove_family.step1.closure_reason_other_fam.v_required.err = Enter reason of closure diff --git a/opensrp-chw/src/ba/resources/family_details_remove_family_sw.properties b/opensrp-chw/src/ba/resources/family_details_remove_family_sw.properties new file mode 100644 index 0000000000..b42a7d9893 --- /dev/null +++ b/opensrp-chw/src/ba/resources/family_details_remove_family_sw.properties @@ -0,0 +1,13 @@ +family_details_remove_family.step1.closure_reason_fam.v_required.err = Chagua sababu ya kuondoa rekodi ya familia. +family_details_remove_family.step1.closure_reason_fam.hint = Sababu ya kufungwa +family_details_remove_family.step1.closure_reason_other_fam.hint = Sababu nyingine +family_details_remove_family.step1.title = Ondoa familia +family_details_remove_family.step1.fam_name.text = +family_details_remove_family.step1.details.text = +family_details_remove_family.step1.closure_reason_relocation_fam.hint = Kaya imehama +family_details_remove_family.step1.closure_reason_fam.values[1] = Nyingine +family_details_remove_family.step1.closure_reason_fam.values[0] = Kaya imehama +family_details_remove_family.step1.closure_reason_relocation_fam.values[0] = Ndani ya wilaya +family_details_remove_family.step1.closure_reason_relocation_fam.v_required.err = Ingiza sababu ya kufungwa +family_details_remove_family.step1.closure_reason_relocation_fam.values[1] = Nje ya wilaya +family_details_remove_family.step1.closure_reason_other_fam.v_required.err = Ingiza sababu ya kufungwa diff --git a/opensrp-chw/src/ba/resources/family_details_remove_member.properties b/opensrp-chw/src/ba/resources/family_details_remove_member.properties new file mode 100644 index 0000000000..9e29edb8e4 --- /dev/null +++ b/opensrp-chw/src/ba/resources/family_details_remove_member.properties @@ -0,0 +1,17 @@ +family_details_remove_member.step1.date_moved.label = Date moved away +family_details_remove_member.step1.date_moved.hint = Date moved away +family_details_remove_member.step1.date_moved.constraints.err = Date moved away occur before date of birth +family_details_remove_member.step1.age_at_death.label = Age at death +family_details_remove_member.step1.remove_reason.v_required.err = Select the reason for removing the family member's record +family_details_remove_member.step1.date_died.constraints.err = Date of death can't occur before date of birth +family_details_remove_member.step1.date_died.v_required.err = Enter the date of death +family_details_remove_member.step1.date_died.label = Date of death +family_details_remove_member.step1.age_at_death.hint = Age at death +family_details_remove_member.step1.title = Remove Family Member +family_details_remove_member.step1.date_died.hint = Date of death +family_details_remove_member.step1.date_moved.v_required.err = Enter the date that the member moved away +family_details_remove_member.step1.details.text = +family_details_remove_member.step1.remove_reason.values[2] = Other +family_details_remove_member.step1.remove_reason.values[0] = Death +family_details_remove_member.step1.remove_reason.values[1] = Moved away +family_details_remove_member.step1.remove_reason.hint = Reason for removal diff --git a/opensrp-chw/src/ba/resources/family_details_remove_member_sw.properties b/opensrp-chw/src/ba/resources/family_details_remove_member_sw.properties new file mode 100644 index 0000000000..ca258a0a5d --- /dev/null +++ b/opensrp-chw/src/ba/resources/family_details_remove_member_sw.properties @@ -0,0 +1,17 @@ +family_details_remove_member.step1.date_moved.label = Tarehe aliyohama +family_details_remove_member.step1.date_moved.hint = Tarehe aliyohama +family_details_remove_member.step1.date_moved.constraints.err = Tarehe iliyohamishwa imetokea kabla ya tarehe ya kuzaliwa +family_details_remove_member.step1.age_at_death.label = Umri wakati anafariki +family_details_remove_member.step1.remove_reason.v_required.err = Chagua sababu ya kuondoa rekodi ya familia +family_details_remove_member.step1.date_died.constraints.err = Tarehe ya kifo haiwezi kutokea kabla ya tarehe ya kuzaliwa +family_details_remove_member.step1.date_died.v_required.err = Ingiza tarehe ya kifo +family_details_remove_member.step1.date_died.label = Tarehe ya kifo +family_details_remove_member.step1.age_at_death.hint = Umri wakati anafariki +family_details_remove_member.step1.title = Ondoa mwanafamilia +family_details_remove_member.step1.date_died.hint = Tarehe ya kifo +family_details_remove_member.step1.date_moved.v_required.err = Ingiza tarehe ambayo mwanachama alihama +family_details_remove_member.step1.details.text = +family_details_remove_member.step1.remove_reason.values[2] = Sababu nyingine +family_details_remove_member.step1.remove_reason.values[0] = Kifo +family_details_remove_member.step1.remove_reason.values[1] = Amehama +family_details_remove_member.step1.remove_reason.hint = Sababu ya kuiondoa diff --git a/opensrp-chw/src/ba/resources/family_member_register.properties b/opensrp-chw/src/ba/resources/family_member_register.properties new file mode 100644 index 0000000000..23a6634c1f --- /dev/null +++ b/opensrp-chw/src/ba/resources/family_member_register.properties @@ -0,0 +1,108 @@ +family_member_register.step1.insurance_provider.values[4] = AAR Healthcare +family_member_register.step1.age.v_max.err = Age must be equal or less than 120 +family_member_register.step1.phone_number.v_required.err = Please specify the phone number +family_member_register.step1.service_provider.options.chk_other.text = Other +family_member_register.step1.leader.options.chk_other.text = Other +family_member_register.step1.service_provider.options.chk_chw.text = Community Health Worker (CHW) +family_member_register.step1.id_avail.options.chk_drivers_license.text = Driver's license +family_member_register.step1.disabilities.v_required.err = Please select one +family_member_register.step1.surname.v_regex.err = Please enter a valid name +family_member_register.step1.is_primary_caregiver.v_required.err = Please select one +family_member_register.step1.other_phone_number.v_regex.err = Number must be 10 digits and must start with 0. +family_member_register.step1.unique_id.scanButtonText = Scan QR Code +family_member_register.step1.service_provider.options.chk_teacher.text = Teacher +family_member_register.step1.type_of_disability.v_required.err = Please enter type of disability +family_member_register.step1.first_name.v_required.err = Please enter the first name +family_member_register.step1.leader_other.v_required.err = Please specify role +family_member_register.step1.insurance_provider.values[5] = Strategies Insurance +family_member_register.step1.phone_number.v_numeric.err = Number must be a total of 10 digits in length +family_member_register.step1.leader_other.hint = Mention other role in the community +family_member_register.step1.unique_id.v_numeric.err = Please enter a valid ID +family_member_register.step1.sex.values[0] = Male +family_member_register.step1.surname.v_required.err = Please enter the surname +family_member_register.step1.sex.hint = Sex +family_member_register.step1.service_provider.options.chk_nurse.text = Nurse +family_member_register.step1.service_provider.v_required.err = Please pick at least one +family_member_register.step1.surname.hint = Surname +family_member_register.step1.insurance_provider.values[12] = None +family_member_register.step1.dob.hint = Date of birth (DOB) +family_member_register.step1.insurance_provider.values[2] = National Social Security Fund - Social Health Insurance Benefit (SHIB) +family_member_register.step1.leader.options.chk_influential.text = Influential leader +family_member_register.step1.other_phone_number.v_numeric.err = Number must be a total of 10 digits in length +family_member_register.step1.age.v_required.err = Please enter the age +family_member_register.step1.photo.uploadButtonText = Take a picture of the person +family_member_register.step1.preg_1yr.v_required.err = Please select if the woman has delivered in the last 1 year +family_member_register.step1.preg_1yr.values[1] = No +family_member_register.step1.id_avail.options.chk_voters_id.text = Voter's registration ID +family_member_register.step1.leader.label = Any leadership role in the community? +family_member_register.step1.service_provider.options.chk_none.text = None +family_member_register.step1.leader.options.chk_traditional.text = Traditional leader +family_member_register.step1.other_phone_number.hint = Other phone number +family_member_register.step1.insurance_provider.values[3] = Tiba Kwa Kadi (TIKA) +family_member_register.step1.preg_1yr.hint = Has the woman delivered in the last 1 year? +family_member_register.step1.id_avail.options.chk_national_id.text = National ID +family_member_register.step1.is_primary_caregiver.values[0] = Yes +family_member_register.step1.type_of_disability.hint = Type of disability +family_member_register.step1.insurance_provider.hint = Health insurance provider +family_member_register.step1.preg_1yr.values[0] = Yes +family_member_register.step1.service_provider.options.chk_hbc.text = Home Based Care (HBC) +family_member_register.step1.middle_name.hint = Middle name +family_member_register.step1.driver_license.hint = Driver's license number +family_member_register.step1.is_primary_caregiver.values[1] = No +family_member_register.step1.age.v_numeric.err = Number must begin with 0 and must be a total of 10 digits in length +family_member_register.step1.middle_name.v_regex.err = Please enter a valid name +family_member_register.step1.middle_name.v_required.err = Please enter the middle name +family_member_register.step1.service_provider.options.chk_farmer.text = Farmer +family_member_register.step1.first_name.v_regex.err = Please enter a valid name +family_member_register.step1.dob.duration.label = Age +family_member_register.step1.insurance_provider.values[8] = Jubilee Insurance +family_member_register.step1.service_provider.options.chk_chmis.text = Community HMIS (cHMIS) +family_member_register.step1.insurance_provider_other.v_required.err = Please specify the insurance provider +family_member_register.step1.disabilities.hint = Physical disabilities +family_member_register.step1.insurance_provider_number.hint = Health insurance provider number +family_member_register.step1.insurance_provider.values[0] = Community Health Fund (CHF) +family_member_register.step1.is_primary_caregiver.hint = Is primary caregiver? +family_member_register.step1.same_as_fam_name.label = +family_member_register.step1.id_avail.options.chk_none.text = None +family_member_register.step1.same_as_fam_name.options.same_as_fam_name.text = Surname same as family name +family_member_register.step1.insurance_provider_number.v_required.err = Please add the health insurance provider iD Number +family_member_register.step1.leader.options.chk_political.text = Political leader +family_member_register.step1.title = Add Family Member +family_member_register.step1.national_id.hint = National ID number +family_member_register.step1.insurance_provider.values[1] = iCHF +family_member_register.step1.service_provider.label = Occupation of the family member +family_member_register.step1.service_provider.options.chk_tba.text = Traditional Birth Attendant +family_member_register.step1.phone_number.hint = Phone number +family_member_register.step1.first_name.hint = First name +family_member_register.step1.insurance_provider.values[9] = Resolutions Insurance +family_member_register.step1.leader.options.chk_religious.text = Religious leader +family_member_register.step1.dob.v_required.err = Please enter the date of birth +family_member_register.step1.passport.hint = Passport number +family_member_register.step1.id_avail.options.chk_passport.text = Passport +family_member_register.step1.sex.v_required.err = Please enter the sex +family_member_register.step1.service_provider.options.chk_cimmci.text = Community IMCI +family_member_register.step1.id_avail.label = Do have any of the following IDs? +family_member_register.step1.insurance_provider.values[6] = Milvik Tanzania Ltd (BIMA Mkononi) +family_member_register.step1.sex.values[1] = Female +family_member_register.step1.disabilities.values[0] = Yes +family_member_register.step1.age.v_numeric_integer.err = Must be a rounded number +family_member_register.step1.dob_unknown.options.dob_unknown.text = DOB unknown? +family_member_register.step1.age.hint = Age +family_member_register.step1.unique_id.v_required.err = Please enter the UNIQUE ID +family_member_register.step1.phone_number.v_regex.err = Number must be 10 digits and must start with 0. +family_member_register.step1.insurance_provider.values[11] = Other +family_member_register.step1.service_provider.options.chk_th.text = Traditional Healer +family_member_register.step1.service_provider.options.chk_cs.text = Civil Servant +family_member_register.step1.insurance_provider_other.hint = Other health insurance provider +family_member_register.step1.leader.options.chk_none.text = None +family_member_register.step1.insurance_provider.values[7] = Britam Insurance Tanzania +family_member_register.step1.surname_calculation.hint = Surname as Family name +family_member_register.step1.voter_id.hint = Voter's registration number +family_member_register.step1.leader.v_required.err = Please pick at least one +family_member_register.step1.disabilities.values[1] = No +family_member_register.step1.unique_id.hint = Boresha Afya ID +family_member_register.step1.age.v_min.err = Age must be equal or greater than 5 +family_member_register.step1.service_provider.options.chk_cbd.text = Community Based Distributor +family_member_register.step1.dob_unknown.label = +family_member_register.step1.insurance_provider.v_required.err = Please enter the insurance provider +family_member_register.step1.insurance_provider.values[10] = Reliance Insurance diff --git a/opensrp-chw/src/ba/resources/family_member_register_sw.properties b/opensrp-chw/src/ba/resources/family_member_register_sw.properties new file mode 100644 index 0000000000..33e630bc8f --- /dev/null +++ b/opensrp-chw/src/ba/resources/family_member_register_sw.properties @@ -0,0 +1,108 @@ +family_member_register.step1.insurance_provider.values[4] = AAR Healthcare +family_member_register.step1.age.v_max.err = Umri lazima uwe sawa au chini ya 120 +family_member_register.step1.phone_number.v_required.err = Tafadhali taja numbe ya simu +family_member_register.step1.service_provider.options.chk_other.text = Nyingine +family_member_register.step1.leader.options.chk_other.text = Nyinginezo +family_member_register.step1.service_provider.options.chk_chw.text = Wahudumu wa afya ngazi ya jamii–WAJA +family_member_register.step1.id_avail.options.chk_drivers_license.text = Leseni ya dereva +family_member_register.step1.disabilities.v_required.err = Tafadhali chagua moja +family_member_register.step1.surname.v_regex.err = Tafadhali ingiza jina halali +family_member_register.step1.is_primary_caregiver.v_required.err = Tafadhali chagua moja +family_member_register.step1.other_phone_number.v_regex.err = Nambari lazima iwe na nambari 10 na lazima ianze na 0. +family_member_register.step1.unique_id.scanButtonText = Chukua QR code +family_member_register.step1.service_provider.options.chk_teacher.text = Mwalimu +family_member_register.step1.type_of_disability.v_required.err = Tafadhali ingiza aina ya ulemavu +family_member_register.step1.first_name.v_required.err = Tafadhali ingiza jina la kwanza +family_member_register.step1.leader_other.v_required.err = Tafadhali taja jukumu +family_member_register.step1.insurance_provider.values[5] = Strategies Insurance +family_member_register.step1.phone_number.v_numeric.err = Nambari lazima iwe jumla ya nambari 10 kwa urefu +family_member_register.step1.leader_other.hint = Taja hayo majukumu mengine +family_member_register.step1.unique_id.v_numeric.err = Tafadhali ingiza namba halali +family_member_register.step1.sex.values[0] = Me +family_member_register.step1.surname.v_required.err = Tafadhali ingiza jina la ukoo +family_member_register.step1.sex.hint = Jinsi +family_member_register.step1.service_provider.options.chk_nurse.text = Muuguzi +family_member_register.step1.service_provider.v_required.err = Tafadhali chagua angalau moja +family_member_register.step1.surname.hint = Jina la mwisho (ukoo) +family_member_register.step1.insurance_provider.values[12] = Hakuna +family_member_register.step1.dob.hint = Tarehe ya kuzaliwa +family_member_register.step1.insurance_provider.values[2] = National Social Security Fund - Social Health Insurance Benefit (SHIB) +family_member_register.step1.leader.options.chk_influential.text = Mtu mwenye ushawishi kwenye jamii +family_member_register.step1.other_phone_number.v_numeric.err = Nambari lazima iwe jumla ya nambari 10 kwa urefu +family_member_register.step1.age.v_required.err = Tafadhali ingiza umri +family_member_register.step1.photo.uploadButtonText = Chukua picha ya muhusika +family_member_register.step1.preg_1yr.v_required.err = Tafadhali chagua ikiwa mwanamke amejifungua katika mwaka 1 uliopita +family_member_register.step1.preg_1yr.values[1] = Hapana +family_member_register.step1.id_avail.options.chk_voters_id.text = Kitambulisho cha mpiga kura +family_member_register.step1.leader.label = Una jukumu lolote la uongozi kwenye ngazi ya jamii? +family_member_register.step1.service_provider.options.chk_none.text = Hakuna +family_member_register.step1.leader.options.chk_traditional.text = Kiongozi wa kimila +family_member_register.step1.other_phone_number.hint = Namba za simu nyingine +family_member_register.step1.insurance_provider.values[3] = Tiba Kwa Kadi (TIKA) +family_member_register.step1.preg_1yr.hint = Je, amejifungua ndani ya mwaka 1? +family_member_register.step1.id_avail.options.chk_national_id.text = Kitambulisho cha taifa +family_member_register.step1.is_primary_caregiver.values[0] = Ndiyo +family_member_register.step1.type_of_disability.hint = Aina ya ulemavu +family_member_register.step1.insurance_provider.hint = Bima ya afya unaotumia +family_member_register.step1.preg_1yr.values[0] = Ndiyo +family_member_register.step1.service_provider.options.chk_hbc.text = Watoa huduma kwa wagonjwa majumbani (HBC) +family_member_register.step1.middle_name.hint = Jina la kati +family_member_register.step1.driver_license.hint = Namba ya leseni ya udereva +family_member_register.step1.is_primary_caregiver.values[1] = Hapana +family_member_register.step1.age.v_numeric.err = Tafadhali ingiza umri +family_member_register.step1.middle_name.v_regex.err = Tafadhali ingiza jina halali +family_member_register.step1.middle_name.v_required.err = Tafadhali ingiza jina la kati +family_member_register.step1.service_provider.options.chk_farmer.text = Mkulima +family_member_register.step1.first_name.v_regex.err = Tafadhali ingiza jina halali +family_member_register.step1.dob.duration.label = Age +family_member_register.step1.insurance_provider.values[8] = Jubilee Insurance +family_member_register.step1.service_provider.options.chk_chmis.text = Wakusanyaji takwimu za afya katika jamii (cHIMS) +family_member_register.step1.insurance_provider_other.v_required.err = Tafadhali ingiza bima +family_member_register.step1.disabilities.hint = Hali ya ulemavu +family_member_register.step1.insurance_provider_number.hint = Namba ya bima ya afya umaotumia +family_member_register.step1.insurance_provider.values[0] = Bima ya afya ya jamii (CHF) +family_member_register.step1.is_primary_caregiver.hint = Ni mlezi mkuu wa familia? +family_member_register.step1.same_as_fam_name.label = +family_member_register.step1.id_avail.options.chk_none.text = Hakuna +family_member_register.step1.same_as_fam_name.options.same_as_fam_name.text = Jina la ukoo ni sawa na jina la familia +family_member_register.step1.insurance_provider_number.v_required.err = Tafadhali ingiza namba ya mfuko wa bima ya afya umaotumia +family_member_register.step1.leader.options.chk_political.text = Kiongozi wa kisiasa +family_member_register.step1.title = Ongeza Mwanachama wa Familia +family_member_register.step1.national_id.hint = Namba ya kitambulisho cha taifa +family_member_register.step1.insurance_provider.values[1] = Bima ya afya ya jamii ulioboreshwa (iCHF) +family_member_register.step1.service_provider.label = Aina ya kazi anayojishughulisha +family_member_register.step1.service_provider.options.chk_tba.text = Wakunga wa jadi (TBAs) +family_member_register.step1.phone_number.hint = Namba ya simu +family_member_register.step1.first_name.hint = Jina la kwanza +family_member_register.step1.insurance_provider.values[9] = Resolutions Insurance +family_member_register.step1.leader.options.chk_religious.text = Kiongozi wa dini +family_member_register.step1.dob.v_required.err = Tafadhali ingiza tarehe ya kuzaliwa +family_member_register.step1.passport.hint = Namba ya hati ya kusafiria +family_member_register.step1.id_avail.options.chk_passport.text = Hati ya kusafiria +family_member_register.step1.sex.v_required.err = Tafadhali ingiza jinsi +family_member_register.step1.service_provider.options.chk_cimmci.text = Watoa huduma za udhibiti wa magonjwa ya watoto kwa uwiano katika jamii (cIMCI) +family_member_register.step1.id_avail.label = Je, ana kitambulisho chochote kati ya hivi?? +family_member_register.step1.insurance_provider.values[6] = Milvik Tanzania Ltd (BIMA Mkononi) +family_member_register.step1.sex.values[1] = Ke +family_member_register.step1.disabilities.values[0] = Ndiyo +family_member_register.step1.age.v_numeric_integer.err = Must be a rounded number +family_member_register.step1.dob_unknown.options.dob_unknown.text = Tarehe ya kuzaliwa haijulikani? +family_member_register.step1.age.hint = Umri +family_member_register.step1.unique_id.v_required.err = Tafadhali ingiza namba ya kipekee +family_member_register.step1.phone_number.v_regex.err = Nambari lazima iwe na nambari 10 na lazima ianze na 0. +family_member_register.step1.insurance_provider.values[11] = Bima ya afya nyingezo +family_member_register.step1.service_provider.options.chk_th.text = Waganga wa tiba asilia (THs) +family_member_register.step1.service_provider.options.chk_cs.text = Mtumishi wa serikali +family_member_register.step1.insurance_provider_other.hint = Bima ya afya mwingine unaotumia +family_member_register.step1.leader.options.chk_none.text = Hakuna +family_member_register.step1.insurance_provider.values[7] = Britam Insurance Tanzania +family_member_register.step1.surname_calculation.hint = Jina la ukoo ni sawa na jina la familia +family_member_register.step1.voter_id.hint = Namba ya kitambulisho cha mpiga kura +family_member_register.step1.leader.v_required.err = Tafadhali chagua angalau moja +family_member_register.step1.disabilities.values[1] = Hapana +family_member_register.step1.unique_id.hint = Boresha Afya ID +family_member_register.step1.age.v_min.err = Umri lazima uwe sawa au mkubwa kuliko 5 +family_member_register.step1.service_provider.options.chk_cbd.text = Wasambazaji wa dawa na vifaa vya uzazi wa mpango katika jamii (CBD) +family_member_register.step1.dob_unknown.label = +family_member_register.step1.insurance_provider.v_required.err = Tafadhali ingiza bima +family_member_register.step1.insurance_provider.values[10] = Reliance Insurance diff --git a/opensrp-chw/src/ba/resources/family_register.properties b/opensrp-chw/src/ba/resources/family_register.properties new file mode 100644 index 0000000000..11d09ac193 --- /dev/null +++ b/opensrp-chw/src/ba/resources/family_register.properties @@ -0,0 +1,112 @@ +family_register.step2.age.v_max.err = Age must be equal or less than 120 +family_register.step1.fam_village.v_required.err = Please enter the village or town +family_register.step2.dob.hint = Date of birth (DOB) +family_register.step2.service_provider.options.chk_cimmci.text = Community IMCI +family_register.step2.service_provider.options.chk_nurse.text = Nurse +family_register.step2.id_avail.label = Does he/she have any of the following IDs? +family_register.step2.phone_number.v_numeric.err = Number must be a total of 10 digits in length +family_register.step2.disabilities.values[1] = No +family_register.step2.first_name.v_regex.err = Please enter a valid name +family_register.step2.service_provider.options.chk_cs.text = Civil Servant +family_register.step2.service_provider.options.chk_th.text = Traditional Healer +family_register.step2.insurance_provider.values[1] = iCHF +family_register.step2.service_provider.options.chk_none.text = None +family_register.step2.dob_unknown.options.dob_unknown.text = DOB unknown? +family_register.step1.unique_id.hint = ID +family_register.step2.first_name.v_required.err = Please enter the first name +family_register.step1.unique_id.v_numeric.err = Please enter a valid ID +family_register.step2.middle_name.v_regex.err = Please enter a valid name +family_register.step2.service_provider.options.chk_tba.text = Traditional Birth Attendant +family_register.step2.preg_1yr.hint = Has the woman delivered in the last 1 year? +family_register.step2.insurance_provider_number.hint = Health insurance provider number +family_register.step2.leader_other.hint = Mention other role in the community +family_register.step1.landmark.v_required.err = Please enter the landmark/description of location. +family_register.step2.dob.duration.label = Age +family_register.step2.insurance_provider.values[10] = Reliance Insurance +family_register.step2.insurance_provider.values[9] = Resolutions Insurance +family_register.step2.service_provider.options.chk_teacher.text = Teacher +family_register.step2.title = Family head +family_register.step2.disabilities.values[0] = Yes +family_register.step2.insurance_provider.values[0] = Community Health Fund (CHF) +family_register.step2.leader.v_required.err = Please pick at least one +family_register.step2.id_avail.options.chk_drivers_license.text = Driver's license +family_register.step1.fam_name.hint = Family name +family_register.step2.unique_id.hint = ID +family_register.step2.passport.hint = Passport number +family_register.step2.unique_id.v_required.err = Please enter the ID +family_register.step2.insurance_provider.values[3] = Tiba Kwa Kadi (TIKA) +family_register.step1.nearest_facility.v_required.err = Please enter the nearest health facility +family_register.step2.insurance_provider_other.hint = Other health insurance provider +family_register.step2.phone_number.hint = Phone number +family_register.step2.leader.options.chk_political.text = Political leader +family_register.step2.phone_number.v_regex.err = Number must be 10 digits and must start with 0. +family_register.step2.service_provider.options.chk_hbc.text = Home Based Care (HBC) +family_register.step2.age.v_required.err = Please enter the age +family_register.step2.service_provider.label = Occupation of the family member +family_register.step2.first_name.hint = First name +family_register.step2.insurance_provider_number.v_required.err = Please add the health insurance provider iD Number +family_register.step2.insurance_provider.values[2] = National Social Security Fund - Social Health Insurance Benefit (SHIB) +family_register.step1.landmark.hint = Landmark/ description of house location +family_register.step2.preg_1yr.values[0] = Yes +family_register.step2.leader.options.chk_other.text = Other +family_register.step2.id_avail.options.chk_national_id.text = National ID +family_register.step2.leader.options.chk_religious.text = Religious leader +family_register.step2.middle_name.hint = Middle name +family_register.step1.fam_name.v_required.err = Please enter the family name +family_register.step2.middle_name.v_required.err = Please enter the middle name +family_register.step2.service_provider.options.chk_chmis.text = Community HMIS (cHMIS) +family_register.step2.dob_unknown.label = +family_register.step2.insurance_provider_other.v_required.err = Please specify the insurance provider +family_register.step2.preg_1yr.v_required.err = Please select if the woman has delivered in the last 1 year +family_register.step1.fam_name.v_regex.err = Please enter a valid name +family_register.step2.insurance_provider.values[5] = Strategies Insurance +family_register.step2.other_phone_number.v_regex.err = Number must be 10 digits and must start with 0. +family_register.step2.service_provider.options.chk_farmer.text = Farmer +family_register.step2.age.v_numeric.err = Number must begin with 0 and must be a total of 10 digits in length +family_register.step2.sex.hint = Sex +family_register.step2.preg_1yr.values[1] = No +family_register.step2.surname.v_regex.err = Please enter a valid name +family_register.step2.driver_license.hint = Driver's license number +family_register.step2.other_phone_number.v_numeric.err = Number must be a total of 10 digits in length +family_register.step1.fam_village.hint = Village +family_register.step2.dob.v_required.err = Please enter the date of birth +family_register.step2.leader_other.v_required.err = Please specify role +family_register.step2.leader.options.chk_influential.text = Influential leader +family_register.step2.leader.label = Any leadership role in the community? +family_register.step2.type_of_disability.hint = Type of disability +family_register.step2.insurance_provider.values[4] = AAR Healthcare +family_register.step2.insurance_provider.v_required.err = Please enter the insurance provider +family_register.step2.surname.hint = Surname +family_register.step2.disabilities.v_required.err = Please select one +family_register.step2.sex.values[1] = Female +family_register.step2.leader.options.chk_traditional.text = Traditional leader +family_register.step2.service_provider.options.chk_chw.text = Community Health Worker (CHW) +family_register.step2.photo.uploadButtonText = Take a picture of the person +family_register.step2.national_id.hint = National ID number +family_register.step1.unique_id.scanButtonText = Scan QR Code +family_register.step2.id_avail.options.chk_voters_id.text = Voter's registration ID +family_register.step2.disabilities.hint = Physical disabilities +family_register.step2.id_avail.options.chk_none.text = None +family_register.step2.insurance_provider.values[8] = Jubilee Insurance +family_register.step2.insurance_provider.values[11] = Other +family_register.step2.service_provider.options.chk_cbd.text = Community Based Distributor +family_register.step2.id_avail.options.chk_passport.text = Passport +family_register.step2.voter_id.hint = Voter's registration number +family_register.step2.leader.options.chk_none.text = None +family_register.step2.age.v_min.err = Age must be equal or greater than 15 +family_register.step2.type_of_disability.v_required.err = Please enter type of disability +family_register.step1.fam_village.v_regex.err = Please enter a valid village name +family_register.step2.sex.values[0] = Male +family_register.step2.insurance_provider.hint = Health insurance provider +family_register.step2.sex.v_required.err = Please enter the sex +family_register.step2.service_provider.v_required.err = Please pick at least one +family_register.step2.age.hint = Age +family_register.step2.insurance_provider.values[12] = None +family_register.step1.nearest_facility.hint = Nearest health facility +family_register.step2.insurance_provider.values[7] = Britam Insurance Tanzania +family_register.step2.unique_id.v_numeric.err = Please enter a valid ID +family_register.step2.insurance_provider.values[6] = Milvik Tanzania Ltd (BIMA Mkononi) +family_register.step2.service_provider.options.chk_other.text = Other +family_register.step1.title = Family details +family_register.step2.age.v_numeric_integer.err = Must be a rounded number +family_register.step2.other_phone_number.hint = Other phone number diff --git a/opensrp-chw/src/ba/resources/family_register_sw.properties b/opensrp-chw/src/ba/resources/family_register_sw.properties new file mode 100644 index 0000000000..959944fc47 --- /dev/null +++ b/opensrp-chw/src/ba/resources/family_register_sw.properties @@ -0,0 +1,112 @@ +family_register.step2.age.v_max.err = Umri lazima uwe sawa au chini ya 120 +family_register.step1.fam_village.v_required.err = Tafadhali ingiza kijiji au jiji +family_register.step2.dob.hint = Tarehe ya kuzaliwa +family_register.step2.service_provider.options.chk_cimmci.text = Watoa huduma za udhibiti wa magonjwa ya watoto kwa uwiano katika jamii (cIMCI) +family_register.step2.service_provider.options.chk_nurse.text = Muuguzi +family_register.step2.id_avail.label = Je, ana kitambulisho chochote kati ya hivi? +family_register.step2.phone_number.v_numeric.err = Nambari lazima iwe jumla ya nambari 10 kwa urefu +family_register.step2.disabilities.values[1] = Hapana +family_register.step2.first_name.v_regex.err = Tafadhali ingiza jina halali +family_register.step2.service_provider.options.chk_cs.text = Mtumishi wa serikali +family_register.step2.service_provider.options.chk_th.text = Waganga wa tiba asilia (THs) +family_register.step2.insurance_provider.values[1] = Bima ya afya ya jamii ulioboreshwa (iCHF) +family_register.step2.service_provider.options.chk_none.text = Hakuna +family_register.step2.dob_unknown.options.dob_unknown.text = Tarehe ya kuzaliwa haijulikani? +family_register.step1.unique_id.hint = ID +family_register.step2.first_name.v_required.err = Tafadhali ingiza jina la kwanza +family_register.step1.unique_id.v_numeric.err = Tafadhali ingiza namba halali +family_register.step2.middle_name.v_regex.err = Tafadhali ingiza jina halali +family_register.step2.service_provider.options.chk_tba.text = Wakunga wa jadi (TBAs) +family_register.step2.preg_1yr.hint = Je, amejifungua ndani ya mwaka 1? +family_register.step2.insurance_provider_number.hint = Namba ya bima ya afya unaotumia +family_register.step2.leader_other.hint = Taja hayo majukumu mengine +family_register.step1.landmark.v_required.err = Tafadhali ingiza maelezo ya alama au eneo la makazi +family_register.step2.dob.duration.label = Age +family_register.step2.insurance_provider.values[10] = Reliance Insurance +family_register.step2.insurance_provider.values[9] = Resolutions Insurance +family_register.step2.service_provider.options.chk_teacher.text = Mwalimu +family_register.step2.title = Mkuu wa kaya +family_register.step2.disabilities.values[0] = Ndiyo +family_register.step2.insurance_provider.values[0] = Bima ya afya ya jamii (CHF) +family_register.step2.leader.v_required.err = Tafadhali chagua angalau moja +family_register.step2.id_avail.options.chk_drivers_license.text = Leseni ya dereva +family_register.step1.fam_name.hint = Taarifa ya familia +family_register.step2.unique_id.hint = ID +family_register.step2.passport.hint = Namba ya hati ya kusafiria +family_register.step2.unique_id.v_required.err = Tafadhali ingiza namba +family_register.step2.insurance_provider.values[3] = Tiba Kwa Kadi (TIKA) +family_register.step1.nearest_facility.v_required.err = Tafadhali ingiza kituo cha afya kilicho karibu +family_register.step2.insurance_provider_other.hint = Bima ya afya mwingine unaotumia +family_register.step2.phone_number.hint = Namba ya simu +family_register.step2.leader.options.chk_political.text = Kiongozi wa kisiasa +family_register.step2.phone_number.v_regex.err = Nambari lazima iwe na nambari 10 na lazima ianze na 0. +family_register.step2.service_provider.options.chk_hbc.text = Watoa huduma kwa wagonjwa majumbani (HBC) +family_register.step2.age.v_required.err = Tafadhali ingiza umri +family_register.step2.service_provider.label = Aina ya kazi anayojishughulisha +family_register.step2.first_name.hint = Jina la kwanza +family_register.step2.insurance_provider_number.v_required.err = Tafadhali ongeza nambari ya bima ya afya +family_register.step2.insurance_provider.values[2] = National Social Security Fund - Social Health Insurance Benefit (SHIB) +family_register.step1.landmark.hint = Alama ya eneo la makazi +family_register.step2.preg_1yr.values[0] = Ndiyo +family_register.step2.leader.options.chk_other.text = Nyinginezo +family_register.step2.id_avail.options.chk_national_id.text = Kitambulisho cha taifa +family_register.step2.leader.options.chk_religious.text = Kiongozi wa dini +family_register.step2.middle_name.hint = Jina la kati +family_register.step1.fam_name.v_required.err = Tafadhali ingiza jina la ukoo +family_register.step2.middle_name.v_required.err = Tafadhali ingiza jina la kati +family_register.step2.service_provider.options.chk_chmis.text = Wakusanyaji takwimu za afya katika jamii (cHIMS) +family_register.step2.dob_unknown.label = +family_register.step2.insurance_provider_other.v_required.err = Tafadhali taja bima +family_register.step2.preg_1yr.v_required.err = Tafadhali chagua ikiwa mwanamke amejifungua katika mwaka 1 uliopita +family_register.step1.fam_name.v_regex.err = Tafadhali ingiza jina la ukoo +family_register.step2.insurance_provider.values[5] = Strategies Insurance +family_register.step2.other_phone_number.v_regex.err = Nambari lazima iwe na nambari 10 na lazima ianze na 0. +family_register.step2.service_provider.options.chk_farmer.text = Mkulima +family_register.step2.age.v_numeric.err = Nambari lazima ianze na 0 na lazima iwe jumla ya nambari 10 kwa urefu +family_register.step2.sex.hint = Jinsi +family_register.step2.preg_1yr.values[1] = Hapana +family_register.step2.surname.v_regex.err = Tafadhali ingiza jina halali +family_register.step2.driver_license.hint = Namba ya leseni ya udereva +family_register.step2.other_phone_number.v_numeric.err = Nambari lazima iwe jumla ya nambari 10 kwa urefu +family_register.step1.fam_village.hint = Kijiji / mtaa +family_register.step2.dob.v_required.err = Tafadhali ingiza tarehe ya kuzaliwa +family_register.step2.leader_other.v_required.err = Tafadhali taja jukumu +family_register.step2.leader.options.chk_influential.text = Mtu mwenye ushawishi kwenye jamii +family_register.step2.leader.label = Una jukumu lolote la uongozi kwenye ngazi ya jamii? +family_register.step2.type_of_disability.hint = Aina ya ulemavu +family_register.step2.insurance_provider.values[4] = AAR Healthcare +family_register.step2.insurance_provider.v_required.err = Tafadhali ingiza mfuko wa bima +family_register.step2.surname.hint = Jina la familia (ukoo) +family_register.step2.disabilities.v_required.err = Tafadhali chagua moja +family_register.step2.sex.values[1] = Ke +family_register.step2.leader.options.chk_traditional.text = Kiongozi wa kimila +family_register.step2.service_provider.options.chk_chw.text = Wahudumu wa afya ngazi ya jamii–WAJA +family_register.step2.photo.uploadButtonText = Chukua picha ya muhusika / kiongozi wa familia +family_register.step2.national_id.hint = Namba ya kitambulisho cha taifa +family_register.step1.unique_id.scanButtonText = Chukua QR code +family_register.step2.id_avail.options.chk_voters_id.text = Kitambulisho cha mpiga kura +family_register.step2.disabilities.hint = Hali ya ulemavu +family_register.step2.id_avail.options.chk_none.text = Hakuna +family_register.step2.insurance_provider.values[8] = Jubilee Insurance +family_register.step2.insurance_provider.values[11] = Bima ya afya nyingezo +family_register.step2.service_provider.options.chk_cbd.text = Wasambazaji wa dawa na vifaa vya uzazi wa mpango katika jamii (CBD) +family_register.step2.id_avail.options.chk_passport.text = Hati ya kusafiria +family_register.step2.voter_id.hint = Namba ya kitambulisho cha mpiga kura +family_register.step2.leader.options.chk_none.text = Hakuna +family_register.step2.age.v_min.err = Umri lazima uwe sawa au mkubwa kuliko 15 +family_register.step2.type_of_disability.v_required.err = Tafadhali ingiza aina ya ulemavu +family_register.step1.fam_village.v_regex.err = Tafadhali ingiza jina halali la kijiji +family_register.step2.sex.values[0] = Me +family_register.step2.insurance_provider.hint = Bima ya afya unaotumia +family_register.step2.sex.v_required.err = Please enter the sex +family_register.step2.service_provider.v_required.err = Tafadhali chagua angalau moja +family_register.step2.age.hint = Umri +family_register.step2.insurance_provider.values[12] = Hakuna +family_register.step1.nearest_facility.hint = Kituo cha karibu cha kutolea huduma za afya +family_register.step2.insurance_provider.values[7] = Britam Insurance Tanzania +family_register.step2.unique_id.v_numeric.err = Tafadhali ingiza namba halali +family_register.step2.insurance_provider.values[6] = Milvik Tanzania Ltd (BIMA Mkononi) +family_register.step2.service_provider.options.chk_other.text = Nyingine +family_register.step1.title = Taarifa ya familia +family_register.step2.age.v_numeric_integer.err = Must be a rounded number +family_register.step2.other_phone_number.hint = Namba za simu nyingine diff --git a/opensrp-chw/src/ba/resources/female_family_planning_change_method.properties b/opensrp-chw/src/ba/resources/female_family_planning_change_method.properties new file mode 100644 index 0000000000..d43430bf0a --- /dev/null +++ b/opensrp-chw/src/ba/resources/female_family_planning_change_method.properties @@ -0,0 +1,105 @@ +female_family_planning_change_method.step2.falling_loss_unconsciousness.options.no.text = No +female_family_planning_change_method.step2.pregnant.v_required.err = Please select one choice +female_family_planning_change_method.step2.fp_method_chosen.values[3] = POP +female_family_planning_change_method.step3.counselling_use.values[0] = Yes +female_family_planning_change_method.step2.abnormal_vaginal.label = Does she have any abnomal vaginal bleeding or discharge? +female_family_planning_change_method.step2.pregnant.label = Is she pregnant? +female_family_planning_change_method.step3.no_condoms.hint = How many condoms was she given? +female_family_planning_change_method.step3.referral_given.v_required.err = Please select one choice +female_family_planning_change_method.step2.user_toaster_info.text = Oral Contraception check List +female_family_planning_change_method.step2.frequent_urge.v_required.err = Please select one choice +female_family_planning_change_method.step2.abnormal_vaginal.options.yes.text = Yes +female_family_planning_change_method.step2.headaches.label = Does she have any unusual headaches associated with nausea, vomiting or blurred vision? +female_family_planning_change_method.step3.fp_start_implant_nxt.v_required.err = Required +female_family_planning_change_method.step3.fp_male_ster_note.toaster_info_text = A note to inform the client that they should use condoms for the first three months after the sterialization to prevent pregnancy +female_family_planning_change_method.step2.COC_POP_note.toaster_info_text = COC or POP eligible:\nThe woman is eligible for either Combined Oral Contraceptive (COC) or Progestin Only Pills (POP) +female_family_planning_change_method.step2.breastfeed.v_required.err = Please select one choice +female_family_planning_change_method.step2.difficultly_breathing.options.yes.text = Yes +female_family_planning_change_method.step2.pregnant.options.yes.text = Yes +female_family_planning_change_method.step2.falling_loss_unconsciousness.label = Does she have the tendency of falling down/collapsing and loss of consciousness? +female_family_planning_change_method.step1.reason_stop_fp_chw.options.decided_to_change_method.text = Decided to change method +female_family_planning_change_method.step2.difficultly_breathing.label = Does she have any severe chest pain and difficultly breathing? +female_family_planning_change_method.step2.frequent_urge.options.no.text = No +female_family_planning_change_method.step3.no_pillcycles.v_required.err = Equal or greater than 0 +female_family_planning_change_method.step2.user_toaster_info.toaster_info_text = Check-list\n for providing Combined Oral Contraception (COC) or Progestin Only Pills (POP) +female_family_planning_change_method.step2.breast_lump.v_required.err = Please select one choice +female_family_planning_change_method.step2.fp_method_chosen.values[2] = COC +female_family_planning_change_method.step2.headaches.v_required.err = Please select one choice +female_family_planning_change_method.step2.breast_lump.options.no.text = No +female_family_planning_change_method.step3.no_condoms.v_required.err = Equal or greater than 0 +female_family_planning_change_method.step3.fp_start_injectable.hint = Date of last injection +female_family_planning_change_method.step2.pregnant.options.no.text = No +female_family_planning_change_method.step3.fp_start_injectable.v_required.err = Required +female_family_planning_change_method.step3.fp_start_male_ster.v_required.err = Required +female_family_planning_change_method.step3.no_pillcycles.hint = How many pill cycles was she given? +female_family_planning_change_method.step3.fp_male_ster_note.text = Advise the woman to use condoms for the first 3 months to prevent pregnancy +female_family_planning_change_method.step2.falling_loss_unconsciousness.v_required.err = Please select one choice +female_family_planning_change_method.step1.reason_stop_fp_chw.v_required.err = Please select one option +female_family_planning_change_method.step3.next_injection_due_date.hint = Next injection due: +female_family_planning_change_method.step2.frequent_urge.label = Does she frequently feel thirsty, need to urinate or feel tired? +female_family_planning_change_method.step3.fp_start_iucd.v_required.err = Required +female_family_planning_change_method.step3.fp_start_cocpop.v_required.err = Required +female_family_planning_change_method.step2.fp_method_chosen.values[1] = Female condom +female_family_planning_change_method.step1.reason_stop_fp_chw.options.others.text = Others +female_family_planning_change_method.step2.fp_method_chosen.hint = Family planning method selected +female_family_planning_change_method.step2.fp_method_chosen.v_required.err = Please select one +female_family_planning_change_method.step2.breast_lump.label = Does she have any breast lumps? +female_family_planning_change_method.step2.breast_lump.options.yes.text = Yes +female_family_planning_change_method.step2.no_pill_note.text = The woman is not eligible for Combined Oral Contraception (COC) or Progestin Only Pills (POP). Please advise the client to use condoms and give her a referral to go to the health facility for further counselling on family planning. +female_family_planning_change_method.step2.fp_method_chosen.values[9] = Female sterilization +female_family_planning_change_method.step3.counselling_use.hint = Was she counselled on how to use the family planning method? +female_family_planning_change_method.step3.fp_start_female_ster.v_required.err = Required +female_family_planning_change_method.step2.falling_loss_unconsciousness.options.yes.text = Yes +female_family_planning_change_method.step2.fp_method_chosen.values[0] = Male condom +female_family_planning_change_method.step2.pill.label = Does she want to use a contraceptive pill? +female_family_planning_change_method.step2.no_pill_note.toaster_info_text = Not eligible:\nThe woman is not eligible for Combined Oral Contraception (COC) or Progestin Only Pills (POP). Please advise the client to use condoms and give her a referral to go to the health facility for further counselling on family planning. +female_family_planning_change_method.step1.reason_stop_fp_chw.options.side_effects.text = Side-effects +female_family_planning_change_method.step1.side_effects_fp.hint = Side effects +female_family_planning_change_method.step2.fp_method_chosen.values[8] = Jadelle +female_family_planning_change_method.step2.POP_note.toaster_info_text = POP only eligible:\nThe woman is eligible for Progestin Only Pills (POP) only +female_family_planning_change_method.step3.counselling_use.v_required.err = Please select one choice +female_family_planning_change_method.step3.fp_start_female_ster.hint = Date of female sterilization +female_family_planning_change_method.step1.side_effects_fp.v_required.err = Required +female_family_planning_change_method.step2.frequent_urge.options.yes.text = Yes +female_family_planning_change_method.step2.fp_method_chosen.values[7] = Implanon - NXT +female_family_planning_change_method.step2.pill.options.no.text = No +female_family_planning_change_method.step2.abnormal_vaginal.v_required.err = Please select one choice +female_family_planning_change_method.step1.reason_stop_fp_chw.options.menopause.text = Menopause +female_family_planning_change_method.step3.fp_start_implant_nxt.hint = Date of Implanon - NXT insertion +female_family_planning_change_method.step2.pill.v_required.err = Please select one choice +female_family_planning_change_method.step1.other_reason_fp_chw.v_required.err = Required +female_family_planning_change_method.step2.pill.options.yes.text = Yes +female_family_planning_change_method.step2.POP_note.text = The woman is eligible for Progestin Only Pills (POP) only +female_family_planning_change_method.step2.abnormal_vaginal.options.no.text = No +female_family_planning_change_method.step3.no_condoms.v_min.err = Number must be equal or greater than 0 +female_family_planning_change_method.step2.fp_method_chosen.values[6] = IUCD +female_family_planning_change_method.step1.title = Change or Stop FP form +female_family_planning_change_method.step3.referral_given.options.no.text = No +female_family_planning_change_method.step3.referral_given.label = Was she referred to the health facility? +female_family_planning_change_method.step2.headaches.options.yes.text = Yes +female_family_planning_change_method.step2.breastfeed.label = Is she breastfeeding a baby 6 months or younger and having any issues producing milk? +female_family_planning_change_method.step3.fp_start_male_ster.hint = Date of male sterilization +female_family_planning_change_method.step2.fp_method_chosen.values[10] = Male sterilization +female_family_planning_change_method.step3.fp_start_cocpop.hint = When did she start or plan to start using COC/POP? +female_family_planning_change_method.step1.reason_stop_fp_chw.options.doesnt_want_to_use_anymore.text = Doesn't want to use anymore +female_family_planning_change_method.step2.title = Family planning method +female_family_planning_change_method.step1.reason_stop_fp_chw.options.wants_to_conceive.text = Wants to conceive +female_family_planning_change_method.step3.fp_start_implant_jad.v_required.err = Required +female_family_planning_change_method.step3.fp_start_iucd.hint = Date of IUCD insertion +female_family_planning_change_method.step2.breastfeed.options.yes.text = Yes +female_family_planning_change_method.step3.no_pillcycles.v_min.err = Number must be equal or greater than 0 +female_family_planning_change_method.step2.fp_method_chosen.values[5] = Injectable +female_family_planning_change_method.step2.difficultly_breathing.v_required.err = Please select one choice +female_family_planning_change_method.step3.title = Family planning method info +female_family_planning_change_method.step1.reason_stop_fp_chw.label = Reason the woman is stopping her current family planning method +female_family_planning_change_method.step2.COC_POP_note.text = The woman is eligible for either Combined Oral Contraceptive (COC) or Progestin Only Pills (POP) +female_family_planning_change_method.step3.counselling_use.values[1] = No +female_family_planning_change_method.step3.fp_start_implant_jad.hint = Date of Jadelle insertion +female_family_planning_change_method.step2.breastfeed.options.no.text = No +female_family_planning_change_method.step3.referral_given.options.yes.text = Yes +female_family_planning_change_method.step1.other_reason_fp_chw.hint = Other reason +female_family_planning_change_method.step3.no_condoms.v_numeric_integer.err = Must be a rounded number +female_family_planning_change_method.step2.fp_method_chosen.values[4] = Standard day method +female_family_planning_change_method.step3.no_pillcycles.v_numeric_integer.err = Must be a rounded number +female_family_planning_change_method.step2.difficultly_breathing.options.no.text = No +female_family_planning_change_method.step2.headaches.options.no.text = No diff --git a/opensrp-chw/src/ba/resources/female_family_planning_change_method_sw.properties b/opensrp-chw/src/ba/resources/female_family_planning_change_method_sw.properties new file mode 100644 index 0000000000..219cd122df --- /dev/null +++ b/opensrp-chw/src/ba/resources/female_family_planning_change_method_sw.properties @@ -0,0 +1,105 @@ +female_family_planning_change_method.step2.falling_loss_unconsciousness.options.no.text = Hapana +female_family_planning_change_method.step2.pregnant.v_required.err = Tafadhali chagua chaguo moja +female_family_planning_change_method.step2.fp_method_chosen.values[3] = Vidonge vya kumeza vyenye vichocheo kimoja +female_family_planning_change_method.step3.counselling_use.values[0] = Ndiyo +female_family_planning_change_method.step2.abnormal_vaginal.label = Je, anatokwa na majimaji yasiyo ya kawaida kama damu au usaha ukeni? +female_family_planning_change_method.step2.pregnant.label = Je, yeye ni mjauzito? +female_family_planning_change_method.step3.no_condoms.hint = Amepata vipande vya kondpmu vingapi? +female_family_planning_change_method.step3.referral_given.v_required.err = Tafadhali chagua chaguo moja +female_family_planning_change_method.step2.user_toaster_info.text = Oral Contraception check List +female_family_planning_change_method.step2.frequent_urge.v_required.err = Tafadhali chagua chaguo moja +female_family_planning_change_method.step2.abnormal_vaginal.options.yes.text = Ndiyo +female_family_planning_change_method.step2.headaches.label = Je, ana kawaida ya kuumwa kichwa sana kikiambatana na kichefuchefu, kutapika au kutokuona vizuri? +female_family_planning_change_method.step3.fp_start_implant_nxt.v_required.err = Required +female_family_planning_change_method.step3.fp_male_ster_note.toaster_info_text = Tumia kondomu kwa miezi mitatu kuzuia ujazito +female_family_planning_change_method.step2.COC_POP_note.toaster_info_text = COC au POP:\nMteja anaweza kumeza vidonge vya kumeza vyenye vichocheo kimoja au viwili +female_family_planning_change_method.step2.breastfeed.v_required.err = Tafadhali chagua chaguo moja +female_family_planning_change_method.step2.difficultly_breathing.options.yes.text = Ndiyo +female_family_planning_change_method.step2.pregnant.options.yes.text = Ndiyo +female_family_planning_change_method.step2.falling_loss_unconsciousness.label = Je, ana matatizo ya kuanguka/kuzimia na kupoteza fahamu? +female_family_planning_change_method.step1.reason_stop_fp_chw.options.decided_to_change_method.text = Aliamua kubadilisha mpango wa uzazi +female_family_planning_change_method.step2.difficultly_breathing.label = Je, anapata maumivu makali ya kifua na kushindwa kupumua? +female_family_planning_change_method.step2.frequent_urge.options.no.text = Hapana +female_family_planning_change_method.step3.no_pillcycles.v_required.err = Equal or greater than 0 +female_family_planning_change_method.step2.user_toaster_info.toaster_info_text = Orodha hakiki ya kutoa vidonge vya kumeza vyenye vichocheo kimoja au viwili +female_family_planning_change_method.step2.breast_lump.v_required.err = Tafadhali chagua chaguo moja +female_family_planning_change_method.step2.fp_method_chosen.values[2] = Vidonge vya kumeza vyenye vichocheo viwili +female_family_planning_change_method.step2.headaches.v_required.err = Tafadhali chagua chaguo moja +female_family_planning_change_method.step2.breast_lump.options.no.text = Hapana +female_family_planning_change_method.step3.no_condoms.v_required.err = Equal or greater than 0 +female_family_planning_change_method.step3.fp_start_injectable.hint = Tarehe ya sindano iliopita +female_family_planning_change_method.step2.pregnant.options.no.text = Hapana +female_family_planning_change_method.step3.fp_start_injectable.v_required.err = Required +female_family_planning_change_method.step3.fp_start_male_ster.v_required.err = Required +female_family_planning_change_method.step3.no_pillcycles.hint = Amepata saiko ngapi? +female_family_planning_change_method.step3.fp_male_ster_note.text = Tumia kondomu kwa miezi mitatu kuzuia ujazito +female_family_planning_change_method.step2.falling_loss_unconsciousness.v_required.err = Tafadhali chagua chaguo moja +female_family_planning_change_method.step1.reason_stop_fp_chw.v_required.err = Tafadhali chagua chaguo moja +female_family_planning_change_method.step3.next_injection_due_date.hint = Tarehe ya sindano ijayo: +female_family_planning_change_method.step2.frequent_urge.label = Je, anasikia kiu mara kwa mara, kukojoa mara mara na kusikia uchovu? +female_family_planning_change_method.step3.fp_start_iucd.v_required.err = Required +female_family_planning_change_method.step3.fp_start_cocpop.v_required.err = Required +female_family_planning_change_method.step2.fp_method_chosen.values[1] = Kondomu ya kike +female_family_planning_change_method.step1.reason_stop_fp_chw.options.others.text = Nyingine +female_family_planning_change_method.step2.fp_method_chosen.hint = Njia za uzazi wa mpango selected +female_family_planning_change_method.step2.fp_method_chosen.v_required.err = Tafadhali chagua chaguo moja +female_family_planning_change_method.step2.breast_lump.label = Je, ana uvimbe wowote kwenye matiti? +female_family_planning_change_method.step2.breast_lump.options.yes.text = Ndiyo +female_family_planning_change_method.step2.no_pill_note.text = Mteja haiweza kumeza vidonge vya kumeza vyenye vichocheo kimoja au viwili. Mshauri mteja kutumia kondomu, na mpe rufaa kwenda kuonana na mtoa huduma za afya katika kituo cha huduma. +female_family_planning_change_method.step2.fp_method_chosen.values[9] = Kufunga kizazi mwanamke +female_family_planning_change_method.step3.counselling_use.hint = Je, mteja ameshauri jinsi ya kutumia njia za uzazi wa mpango? +female_family_planning_change_method.step3.fp_start_female_ster.v_required.err = Required +female_family_planning_change_method.step2.falling_loss_unconsciousness.options.yes.text = Ndiyo +female_family_planning_change_method.step2.fp_method_chosen.values[0] = Kondomu ya kiume +female_family_planning_change_method.step2.pill.label = Je, anataka kutumia vidonge kwa njia za uzazi wa mpango? +female_family_planning_change_method.step2.no_pill_note.toaster_info_text = Haiweza:\nMteja haiweza kumeza vidonge vya kumeza vyenye vichocheo kimoja au viwili. Mshauri mteja kutumia kondomu, na mpe rufaa kwenda kuonana na mtoa huduma za afya katika kituo cha huduma. +female_family_planning_change_method.step1.reason_stop_fp_chw.options.side_effects.text = Madhara +female_family_planning_change_method.step1.side_effects_fp.hint = Madhara +female_family_planning_change_method.step2.fp_method_chosen.values[8] = Kipandikizi cha miaka 5 +female_family_planning_change_method.step2.POP_note.toaster_info_text = POP tu:\nMteja anaweza kumeza vidonge vya kumeza vyenye vichocheo kimoja +female_family_planning_change_method.step3.counselling_use.v_required.err = Please select one choice +female_family_planning_change_method.step3.fp_start_female_ster.hint = Tarehe y kufunga kizazi mwanmke +female_family_planning_change_method.step1.side_effects_fp.v_required.err = Required +female_family_planning_change_method.step2.frequent_urge.options.yes.text = Ndiyo +female_family_planning_change_method.step2.fp_method_chosen.values[7] = Kipandikizi cha miaka 3 +female_family_planning_change_method.step2.pill.options.no.text = Hapana +female_family_planning_change_method.step2.abnormal_vaginal.v_required.err = Tafadhali chagua chaguo moja +female_family_planning_change_method.step1.reason_stop_fp_chw.options.menopause.text = Kukoma kwa uzazi +female_family_planning_change_method.step3.fp_start_implant_nxt.hint = Tarehe ya kuweka kipandikizi cha miaka 3 +female_family_planning_change_method.step2.pill.v_required.err = Tafadhali chagua chaguo moja +female_family_planning_change_method.step1.other_reason_fp_chw.v_required.err = Required +female_family_planning_change_method.step2.pill.options.yes.text = Ndiyo +female_family_planning_change_method.step2.POP_note.text = Mteja anaweza kumeza vidonge vya kumeza vyenye vichocheo kimoja +female_family_planning_change_method.step2.abnormal_vaginal.options.no.text = Hapana +female_family_planning_change_method.step3.no_condoms.v_min.err = Number must be equal or greater than 0 +female_family_planning_change_method.step2.fp_method_chosen.values[6] = Kitanzi +female_family_planning_change_method.step1.title = Change or Stop FP form +female_family_planning_change_method.step3.referral_given.options.no.text = Hapana +female_family_planning_change_method.step3.referral_given.label = Rufaa iliyotolewa +female_family_planning_change_method.step2.headaches.options.yes.text = Ndiyo +female_family_planning_change_method.step2.breastfeed.label = Je, ananyonyesha mtoto chini ya miezi 6, na ana upungufu wowote katika utoaji wa maziwa? +female_family_planning_change_method.step3.fp_start_male_ster.hint = Tarehe ya kufunga kizazi mwanamume ya mume wake +female_family_planning_change_method.step2.fp_method_chosen.values[10] = Kufunga kizazi mwanamme +female_family_planning_change_method.step3.fp_start_cocpop.hint = Je, alianza au anapanga kuanza vidonge vya kumeza vyenye vichocheo viwili au kimoja lini? +female_family_planning_change_method.step1.reason_stop_fp_chw.options.doesnt_want_to_use_anymore.text = Hataki kutumia sasa +female_family_planning_change_method.step2.title = Njia ya uzazi wa mpango +female_family_planning_change_method.step1.reason_stop_fp_chw.options.wants_to_conceive.text = Anataka mimba +female_family_planning_change_method.step3.fp_start_implant_jad.v_required.err = Required +female_family_planning_change_method.step3.fp_start_iucd.hint = Tarehe ya kuweka kitanzi +female_family_planning_change_method.step2.breastfeed.options.yes.text = Ndiyo +female_family_planning_change_method.step3.no_pillcycles.v_min.err = Number must be equal or greater than 0 +female_family_planning_change_method.step2.fp_method_chosen.values[5] = Sindano +female_family_planning_change_method.step2.difficultly_breathing.v_required.err = Tafadhali chagua chaguo moja +female_family_planning_change_method.step3.title = Taarifa ya njia ya uzazi wa mpango +female_family_planning_change_method.step1.reason_stop_fp_chw.label = Sababu za kuacha kutumia njia za uzazi wa mpango ya sasa +female_family_planning_change_method.step2.COC_POP_note.text = Mteja anaweza kumeza vidonge vya kumeza vyenye vichocheo kimoja au viwili +female_family_planning_change_method.step3.counselling_use.values[1] = Hapana +female_family_planning_change_method.step3.fp_start_implant_jad.hint = Tarehe ya kuweka vipandikizi vya miaka 5 +female_family_planning_change_method.step2.breastfeed.options.no.text = Hapana +female_family_planning_change_method.step3.referral_given.options.yes.text = Ndiyo +female_family_planning_change_method.step1.other_reason_fp_chw.hint = Sababu nyingine +female_family_planning_change_method.step3.no_condoms.v_numeric_integer.err = Must be a rounded number +female_family_planning_change_method.step2.fp_method_chosen.values[4] = Shanga +female_family_planning_change_method.step3.no_pillcycles.v_numeric_integer.err = Must be a rounded number +female_family_planning_change_method.step2.difficultly_breathing.options.no.text = Hapana +female_family_planning_change_method.step2.headaches.options.no.text = Hapana diff --git a/opensrp-chw/src/ba/resources/female_family_planning_registration.properties b/opensrp-chw/src/ba/resources/female_family_planning_registration.properties new file mode 100644 index 0000000000..ef675e345a --- /dev/null +++ b/opensrp-chw/src/ba/resources/female_family_planning_registration.properties @@ -0,0 +1,116 @@ +female_family_planning_registration.step3.no_pillcycles.v_min.err = Number must be equal or greater than 0 +female_family_planning_registration.step2.breastfeed.options.yes.text = Yes +female_family_planning_registration.step2.fp_method_already.hint = Family planning method selected +female_family_planning_registration.step2.fp_method_already.values[7] = IUCD +female_family_planning_registration.step2.fp_method_chw.values[4] = Standard day method +female_family_planning_registration.step3.no_pillcycles.v_required.err = Equal or greater than 0 +female_family_planning_registration.step3.fp_start_iucd.hint = Date of IUCD insertion +female_family_planning_registration.step2.abnormal_vaginal.v_required.err = Please select one choice +female_family_planning_registration.step3.no_condoms.v_min.err = Number must be equal or greater than 0 +female_family_planning_registration.step3.counselling_use.v_required.err = Please select one choice +female_family_planning_registration.step2.fp_method_already.values[6] = Injectable +female_family_planning_registration.step3.no_pillcycles.v_numeric_integer.err = Must be a rounded number +female_family_planning_registration.step2.frequent_urge.v_required.err = Please select one choice +female_family_planning_registration.step2.fp_method_chw.values[3] = POP +female_family_planning_registration.step2.breastfeed.v_required.err = Please select one choice +female_family_planning_registration.step2.title = Family planning method +female_family_planning_registration.step3.referral_given.label = Was she referred to the health facility? +female_family_planning_registration.step2.pill.options.no.text = No +female_family_planning_registration.step2.breast_lump.options.no.text = No +female_family_planning_registration.step3.fp_start_cocpop.hint = When did she start or plan to start using COC/POP? +female_family_planning_registration.step2.frequent_urge.label = Does she frequently feel thirsty, need to urinate or feel tired? +female_family_planning_registration.step2.breast_lump.v_required.err = Please select one choice +female_family_planning_registration.step3.no_condoms.v_required.err = Equal or greater than 0 +female_family_planning_registration.step2.no_pill_note.text = The woman is not eligible for Combined Oral Contraception (COC) or Progestin Only Pills (POP). Please advise the client to use condoms and give her a referral to go to the health facility for further counselling on family planning. +female_family_planning_registration.step2.breast_lump.label = Does she have any breast lumps? +female_family_planning_registration.step3.ec_note.toaster_info_text = Encourage the woman to select a spacing or permanent family planning method +female_family_planning_registration.step3.fp_start_male_ster.hint = Date of male sterilization +female_family_planning_registration.step2.pregnant.label = Is she pregnant? +female_family_planning_registration.step3.fp_start_injectable.v_required.err = Required +female_family_planning_registration.step3.counselling_use.values[0] = Yes +female_family_planning_registration.step3.referral_given.options.no.text = No +female_family_planning_registration.step2.pill.label = Does she want to use a contraceptive pill? +female_family_planning_registration.step2.fp_method_already.values[9] = Jadelle +female_family_planning_registration.step2.fp_method_already.v_required.err = Please select one choice +female_family_planning_registration.step1.using_method.v_required.err = Please select one choice +female_family_planning_registration.step2.fp_method_already.values[0] = Male condom +female_family_planning_registration.step2.pregnant.options.no.text = No +female_family_planning_registration.step3.referral_given.options.yes.text = Yes +female_family_planning_registration.step1.couselling_HIV_STI.v_required.err = Please select one choice +female_family_planning_registration.step2.pregnant.options.yes.text = Yes +female_family_planning_registration.step2.pregnant.v_required.err = Please select one choice +female_family_planning_registration.step3.fp_start_implant_jad.v_required.err = Required +female_family_planning_registration.step2.fp_method_already.values[10] = Female sterilization +female_family_planning_registration.step2.breastfeed.label = Is she breastfeeding a baby 6 months or younger and having any issues producing milk? +female_family_planning_registration.step2.POP_note.text = The woman is eligible for Progestin Only Pills (POP) only +female_family_planning_registration.step2.user_toaster_info.toaster_info_text = Check-list\n for providing Combined Oral Contraception (COC) or Progestin Only Pills (POP) +female_family_planning_registration.step2.headaches.options.no.text = No +female_family_planning_registration.step2.fp_method_already.values[8] = Implanon - NXT +female_family_planning_registration.step2.difficultly_breathing.label = Does she have any severe chest pain and difficultly breathing? +female_family_planning_registration.step3.counselling_use.values[1] = No +female_family_planning_registration.step2.breastfeed.options.no.text = No +female_family_planning_registration.step2.abnormal_vaginal.options.no.text = No +female_family_planning_registration.step2.falling_loss_unconsciousness.options.no.text = No +female_family_planning_registration.step2.fp_method_chw.values[5] = Emergency contraceptive +female_family_planning_registration.step2.breast_lump.options.yes.text = Yes +female_family_planning_registration.step1.couselling_HIV_STI.options.yes.text = Yes +female_family_planning_registration.step3.fp_start_implant_jad.hint = Date of Jadelle insertion +female_family_planning_registration.step2.no_pill_note.toaster_info_text = Not eligible:\nThe woman is not eligible for Combined Oral Contraception (COC) or Progestin Only Pills (POP). Please advise the client to use condoms and give her a referral to go to the health facility for further counselling on family planning. +female_family_planning_registration.step3.no_condoms.hint = How many condoms was she given? +female_family_planning_registration.step2.pill.options.yes.text = Yes +female_family_planning_registration.step2.fp_method_already.values[11] = Male sterilization +female_family_planning_registration.step1.couselling_fp_methods.options.no.text = No +female_family_planning_registration.step2.abnormal_vaginal.options.yes.text = Yes +female_family_planning_registration.step2.difficultly_breathing.v_required.err = Please select one choice +female_family_planning_registration.step2.fp_method_chw.v_required.err = Please select one choice +female_family_planning_registration.step3.fp_start_injectable.hint = Date of last injection +female_family_planning_registration.step2.COC_POP_note.text = The woman is eligible for either Combined Oral Contraceptive (COC) or Progestin Only Pills (POP) +female_family_planning_registration.step2.fp_method_chw.values[0] = Male condom +female_family_planning_registration.step2.POP_note.toaster_info_text = POP only eligible:\nThe woman is eligible for Progestin Only Pills (POP) only +female_family_planning_registration.step2.abnormal_vaginal.label = Does she have any abnomal vaginal bleeding or discharge? +female_family_planning_registration.step3.no_condoms.v_numeric_integer.err = Must be a rounded number +female_family_planning_registration.step2.frequent_urge.options.no.text = No +female_family_planning_registration.step2.user_toaster_info.text = Oral Contraception check List +female_family_planning_registration.step1.using_method.label = Is the woman already using a family planning method? +female_family_planning_registration.step2.COC_POP_note.toaster_info_text = COC or POP eligible:\nThe woman is eligible for either Combined Oral Contraceptive (COC) or Progestin Only Pills (POP) +female_family_planning_registration.step2.fp_method_already.values[2] = COC +female_family_planning_registration.step2.difficultly_breathing.options.yes.text = Yes +female_family_planning_registration.step3.title = Family planning method info +female_family_planning_registration.step3.fp_male_ster_note.toaster_info_text = A note to inform the client that they should use condoms for the first three months after the sterialization to prevent pregnancy +female_family_planning_registration.step2.headaches.label = Does she have any unusual headaches associated with nausea, vomiting or blurred vision? +female_family_planning_registration.step3.referral_given.v_required.err = Please select one choice +female_family_planning_registration.step2.fp_method_chw.hint = Family planning method selected +female_family_planning_registration.step3.fp_start_female_ster.v_required.err = Required +female_family_planning_registration.step1.using_method.options.yes.text = Yes +female_family_planning_registration.step3.fp_start_cocpop.v_required.err = Required +female_family_planning_registration.step3.fp_start_implant_nxt.v_required.err = Required +female_family_planning_registration.step2.pill.v_required.err = Please select one choice +female_family_planning_registration.step2.fp_method_already.values[1] = Female condom +female_family_planning_registration.step3.fp_male_ster_note.text = Advise the woman to use condoms for the first 3 months to prevent pregnancy +female_family_planning_registration.step3.fp_start_iucd.v_required.err = Required +female_family_planning_registration.step1.couselling_fp_methods.label = Was she counselled on different family planning methods? +female_family_planning_registration.step3.fp_start_implant_nxt.hint = Date of Implanon - NXT insertion +female_family_planning_registration.step2.headaches.options.yes.text = Yes +female_family_planning_registration.step2.headaches.v_required.err = Please select one choice +female_family_planning_registration.step1.couselling_HIV_STI.label = Was she counselled on HIV and STI prevention? +female_family_planning_registration.step3.ec_note.text = Encourage the woman to select a spacing or permanent family planning method +female_family_planning_registration.step1.couselling_HIV_STI.options.no.text = No +female_family_planning_registration.step2.fp_method_already.values[5] = Emergency contraceptive +female_family_planning_registration.step2.fp_method_chw.values[2] = COC +female_family_planning_registration.step2.falling_loss_unconsciousness.options.yes.text = Yes +female_family_planning_registration.step3.next_injection_due_date.hint = Next injection due: +female_family_planning_registration.step2.fp_method_already.values[4] = Standard day method +female_family_planning_registration.step3.fp_start_female_ster.hint = Date of female sterilization +female_family_planning_registration.step2.difficultly_breathing.options.no.text = No +female_family_planning_registration.step3.counselling_use.hint = Was she counselled on how to use the family planning method? +female_family_planning_registration.step1.couselling_fp_methods.v_required.err = Please select one choice +female_family_planning_registration.step3.no_pillcycles.hint = How many pill cycles was she given? +female_family_planning_registration.step1.couselling_fp_methods.options.yes.text = Yes +female_family_planning_registration.step1.title = Family planning registration Info +female_family_planning_registration.step2.fp_method_chw.values[1] = Female condom +female_family_planning_registration.step2.frequent_urge.options.yes.text = Yes +female_family_planning_registration.step2.fp_method_already.values[3] = POP +female_family_planning_registration.step3.fp_start_male_ster.v_required.err = Required +female_family_planning_registration.step2.falling_loss_unconsciousness.v_required.err = Please select one choice +female_family_planning_registration.step1.using_method.options.no.text = No +female_family_planning_registration.step2.falling_loss_unconsciousness.label = Does she have the tendency of falling down/collapsing and loss of consciousness? diff --git a/opensrp-chw/src/ba/resources/female_family_planning_registration_sw.properties b/opensrp-chw/src/ba/resources/female_family_planning_registration_sw.properties new file mode 100644 index 0000000000..5bae7ae3d5 --- /dev/null +++ b/opensrp-chw/src/ba/resources/female_family_planning_registration_sw.properties @@ -0,0 +1,116 @@ +female_family_planning_registration.step3.no_pillcycles.v_min.err = Number must be equal or greater than 0 +female_family_planning_registration.step2.breastfeed.options.yes.text = Ndiyo +female_family_planning_registration.step2.fp_method_already.hint = Njia za uzazi wa mpango selected +female_family_planning_registration.step2.fp_method_already.values[7] = Kitanzi +female_family_planning_registration.step2.fp_method_chw.values[4] = Shanga +female_family_planning_registration.step3.no_pillcycles.v_required.err = Equal or greater than 0 +female_family_planning_registration.step3.fp_start_iucd.hint = Tarehe ya kuweka kitanzi +female_family_planning_registration.step2.abnormal_vaginal.v_required.err = Tafadhali chagua chaguo moja +female_family_planning_registration.step3.no_condoms.v_min.err = Number must be equal or greater than 0 +female_family_planning_registration.step3.counselling_use.v_required.err = Tafadhali chagua chaguo moja +female_family_planning_registration.step2.fp_method_already.values[6] = Sindano +female_family_planning_registration.step3.no_pillcycles.v_numeric_integer.err = Must be a rounded number +female_family_planning_registration.step2.frequent_urge.v_required.err = Tafadhali chagua chaguo moja +female_family_planning_registration.step2.fp_method_chw.values[3] = Vidonge vya kumeza vyenye vichocheo kimoja +female_family_planning_registration.step2.breastfeed.v_required.err = Tafadhali chagua chaguo moja +female_family_planning_registration.step2.title = Njia ya uzazi wa mpango +female_family_planning_registration.step3.referral_given.label = Rufaa iliyotolewa +female_family_planning_registration.step2.pill.options.no.text = Hapana +female_family_planning_registration.step2.breast_lump.options.no.text = Hapana +female_family_planning_registration.step3.fp_start_cocpop.hint = Je, alianza au anapanga kuanza vidonge vya kumeza vyenye vichocheo viwili au kimoja lini? +female_family_planning_registration.step2.frequent_urge.label = Je, anasikia kiu mara kwa mara, kukojoa mara mara na kusikia uchovu? +female_family_planning_registration.step2.breast_lump.v_required.err = Tafadhali chagua chaguo moja +female_family_planning_registration.step3.no_condoms.v_required.err = Equal or greater than 0 +female_family_planning_registration.step2.no_pill_note.text = Haiweza kumeza vidonge vya kumeza vyenye vichocheo kimoja au viwili. Mshauri mteja kutumia kondomu, na mpe rufaa kwenda kuonana na mtoa huduma za afya katika kituo cha huduma. +female_family_planning_registration.step2.breast_lump.label = Je, ana uvimbe wowote kwenye matiti? +female_family_planning_registration.step3.ec_note.toaster_info_text = Kuhimiza yeye kuchagua njia ya uzazi wa mpango kudumu +female_family_planning_registration.step3.fp_start_male_ster.hint = Tarehe ya kufunga kizazi mwanamume ya mume wake +female_family_planning_registration.step2.pregnant.label = Je, yeye ni mjauzito? +female_family_planning_registration.step3.fp_start_injectable.v_required.err = Required +female_family_planning_registration.step3.counselling_use.values[0] = Ndiyo +female_family_planning_registration.step3.referral_given.options.no.text = Hapana +female_family_planning_registration.step2.pill.label = Je, anataka kutumia vidonge kwa njia za uzazi wa mpango? +female_family_planning_registration.step2.fp_method_already.values[9] = Kipandikizi cha miaka 5 +female_family_planning_registration.step2.fp_method_already.v_required.err = Tafadhali chagua chaguo moja +female_family_planning_registration.step1.using_method.v_required.err = Tafadhali chagua chaguo moja +female_family_planning_registration.step2.fp_method_already.values[0] = Kondomu ya kiume +female_family_planning_registration.step2.pregnant.options.no.text = Hapana +female_family_planning_registration.step3.referral_given.options.yes.text = Ndiyo +female_family_planning_registration.step1.couselling_HIV_STI.v_required.err = Tafadhali chagua chaguo moja +female_family_planning_registration.step2.pregnant.options.yes.text = Ndiyo +female_family_planning_registration.step2.pregnant.v_required.err = Tafadhali chagua chaguo moja +female_family_planning_registration.step3.fp_start_implant_jad.v_required.err = Required +female_family_planning_registration.step2.fp_method_already.values[10] = Kufunga kizazi mwanamke +female_family_planning_registration.step2.breastfeed.label = Je, ananyonyesha mtoto chini ya miezi 6, na ana upungufu wowote katika utoaji wa maziwa? +female_family_planning_registration.step2.POP_note.text = Anaweza kumeza vidonge vya kumeza vyenye vichocheo kimoja +female_family_planning_registration.step2.user_toaster_info.toaster_info_text = Orodha hakiki ya kutoa vidonge vya kumeza vyenye vichocheo kimoja au viwili +female_family_planning_registration.step2.headaches.options.no.text = Hapana +female_family_planning_registration.step2.fp_method_already.values[8] = Kipandikizi cha miaka 3 +female_family_planning_registration.step2.difficultly_breathing.label = Je, anapata maumivu makali ya kifua na kushindwa kupumua? +female_family_planning_registration.step3.counselling_use.values[1] = Hapana +female_family_planning_registration.step2.breastfeed.options.no.text = Hapana +female_family_planning_registration.step2.abnormal_vaginal.options.no.text = Hapana +female_family_planning_registration.step2.falling_loss_unconsciousness.options.no.text = Hapana +female_family_planning_registration.step2.fp_method_chw.values[5] = Uzazi wa dharura +female_family_planning_registration.step2.breast_lump.options.yes.text = Ndiyo +female_family_planning_registration.step1.couselling_HIV_STI.options.yes.text = Ndiyo +female_family_planning_registration.step3.fp_start_implant_jad.hint = Tarehe ya kuweka vipandikizi vya miaka 5 +female_family_planning_registration.step2.no_pill_note.toaster_info_text = Haiweza kumeza vidonge vya kumeza vyenye vichocheo kimoja au viwili. Mshauri mteja kutumia kondomu, na mpe rufaa kwenda kuonana na mtoa huduma za afya katika kituo cha huduma. +female_family_planning_registration.step3.no_condoms.hint = Amepata vipande vya kondpmu vingapi? +female_family_planning_registration.step2.pill.options.yes.text = Ndiyo +female_family_planning_registration.step2.fp_method_already.values[11] = Kufunga kizazi mwanamme +female_family_planning_registration.step1.couselling_fp_methods.options.no.text = No +female_family_planning_registration.step2.abnormal_vaginal.options.yes.text = Ndiyo +female_family_planning_registration.step2.difficultly_breathing.v_required.err = Tafadhali chagua chaguo moja +female_family_planning_registration.step2.fp_method_chw.v_required.err = Tafadhali chagua chaguo moja +female_family_planning_registration.step3.fp_start_injectable.hint = Tarehe ya sindano iliyopita +female_family_planning_registration.step2.COC_POP_note.text = Anaweza kumeza vidonge vya kumeza vyenye vichocheo kimoja au viwili +female_family_planning_registration.step2.fp_method_chw.values[0] = Kondomu ya kiume +female_family_planning_registration.step2.POP_note.toaster_info_text = Anaweza kumeza vidonge vya kumeza vyenye vichocheo kimoja +female_family_planning_registration.step2.abnormal_vaginal.label = Je, anatokwa na majimaji yasiyo ya kawaida kama damu au usaha ukeni? +female_family_planning_registration.step3.no_condoms.v_numeric_integer.err = Must be a rounded number +female_family_planning_registration.step2.frequent_urge.options.no.text = Hapana +female_family_planning_registration.step2.user_toaster_info.text = Oral Contraception check List +female_family_planning_registration.step1.using_method.label = Je, anatumia aina ya uzazi wa mpango sasa hivi? +female_family_planning_registration.step2.COC_POP_note.toaster_info_text = Anaweza kumeza vidonge vya kumeza vyenye vichocheo kimoja au viwili +female_family_planning_registration.step2.fp_method_already.values[2] = Vidonge vya kumeza vyenye vichocheo viwili +female_family_planning_registration.step2.difficultly_breathing.options.yes.text = Ndiyo +female_family_planning_registration.step3.title = Taarifa ya njia ya uzazi wa mpango +female_family_planning_registration.step3.fp_male_ster_note.toaster_info_text = Shauri yeye kutumia kondomu kwa miezi mitatu kuzuia ujazito +female_family_planning_registration.step2.headaches.label = Je, ana kawaida ya kuumwa kichwa sana kikiambatana na kichefuchefu, kutapika au kutokuona vizuri? +female_family_planning_registration.step3.referral_given.v_required.err = Tafadhali chagua chaguo moja +female_family_planning_registration.step2.fp_method_chw.hint = Njia za uzazi wa mpango selected +female_family_planning_registration.step3.fp_start_female_ster.v_required.err = Required +female_family_planning_registration.step1.using_method.options.yes.text = Ndiyo +female_family_planning_registration.step3.fp_start_cocpop.v_required.err = Required +female_family_planning_registration.step3.fp_start_implant_nxt.v_required.err = Required +female_family_planning_registration.step2.pill.v_required.err = Tafadhali chagua chaguo moja +female_family_planning_registration.step2.fp_method_already.values[1] = Kondomu ya kike +female_family_planning_registration.step3.fp_male_ster_note.text = Shauri yeye kutumia kondomu kwa miezi mitatu kuzuia ujazito +female_family_planning_registration.step3.fp_start_iucd.v_required.err = Required +female_family_planning_registration.step1.couselling_fp_methods.label = Je, alishauriwa kwa njia tofauti za uzazi wa mpango? +female_family_planning_registration.step3.fp_start_implant_nxt.hint = Tarehe ya kuweka kipandikizi cha miaka 3 +female_family_planning_registration.step2.headaches.options.yes.text = Ndiyo +female_family_planning_registration.step2.headaches.v_required.err = Tafadhali chagua chaguo moja +female_family_planning_registration.step1.couselling_HIV_STI.label = Je, alishauriwa kuhusu kuzuia VVU na magonjwa ya zinaa? +female_family_planning_registration.step3.ec_note.text = Kuhimiza yeye kuchagua njia ya uzazi wa mpango kudumu +female_family_planning_registration.step1.couselling_HIV_STI.options.no.text = Hapana +female_family_planning_registration.step2.fp_method_already.values[5] = Uzazi wa dharura +female_family_planning_registration.step2.fp_method_chw.values[2] = Vidonge vya kumeza vyenye vichocheo viwili +female_family_planning_registration.step2.falling_loss_unconsciousness.options.yes.text = Ndiyo +female_family_planning_registration.step3.next_injection_due_date.hint = Tarehe ya sindano ijayo: +female_family_planning_registration.step2.fp_method_already.values[4] = Shanga +female_family_planning_registration.step3.fp_start_female_ster.hint = Tarehe y kufunga kizazi mwanmke +female_family_planning_registration.step2.difficultly_breathing.options.no.text = Hapana +female_family_planning_registration.step3.counselling_use.hint = Je, mteja ameshauri jinsi ya kutumia njia za uzazi wa mpango? +female_family_planning_registration.step1.couselling_fp_methods.v_required.err = Tafadhali chagua chaguo moja +female_family_planning_registration.step3.no_pillcycles.hint = Amepata saiko ngapi? +female_family_planning_registration.step1.couselling_fp_methods.options.yes.text = Ndiyo +female_family_planning_registration.step1.title = Taarifa ya kusajili ya uzazi wa mpango +female_family_planning_registration.step2.fp_method_chw.values[1] = Kondomu ya kike +female_family_planning_registration.step2.frequent_urge.options.yes.text = Ndiyo +female_family_planning_registration.step2.fp_method_already.values[3] = Vidonge vya kumeza vyenye vichocheo kimoja +female_family_planning_registration.step3.fp_start_male_ster.v_required.err = Required +female_family_planning_registration.step2.falling_loss_unconsciousness.v_required.err = Tafadhali chagua chaguo moja +female_family_planning_registration.step1.using_method.options.no.text = Hapana +female_family_planning_registration.step2.falling_loss_unconsciousness.label = Je, ana matatizo ya kuanguka/kuzimia na kupoteza fahamu? diff --git a/opensrp-chw/src/ba/resources/female_fp_referral_form.properties b/opensrp-chw/src/ba/resources/female_fp_referral_form.properties new file mode 100644 index 0000000000..b69fe98b70 --- /dev/null +++ b/opensrp-chw/src/ba/resources/female_fp_referral_form.properties @@ -0,0 +1,53 @@ +female_fp_referral_form.step1.side_effects_implant.label = Family planning side-effects +female_fp_referral_form.step1.side_effects_iucd.options.Cramping_or_backaches_for_a_few_days_after_the_IUD_is_put_in.text = Cramping or backaches for a few days after the IUD is put in +female_fp_referral_form.step1.fp_method_accepted_referral.options.Injectable.text = Injectable +female_fp_referral_form.step1.side_effects_sterialization.label = Family planning side-effects +female_fp_referral_form.step1.side_effects_inject_pills.label = Family planning side-effects +female_fp_referral_form.step1.side_effects_inject_pills.v_required.err = Please select a value +female_fp_referral_form.step1.side_effects_implant.options.Insertion_site_infected_pus_discharge.text = Insertion site infected - pus/discharge +female_fp_referral_form.step1.side_effects_inject_pills.options.Heavy_bleeding_.text = Heavy bleeding +female_fp_referral_form.step1.fp_method_accepted_referral.options.Not_applicable.text = Not applicable +female_fp_referral_form.step1.side_effects_sterialization.options.Swollen_around_the_incision.text = Swollen around the incision +female_fp_referral_form.step1.fp_method_accepted_referral.options.Female_condom.text = Female condom +female_fp_referral_form.step1.fp_method_accepted_referral.options.Male_condom.text = Male condom +female_fp_referral_form.step1.side_effects_sterialization.options.Others.text = Others +female_fp_referral_form.step1.fp_method_accepted_referral.options.COC.text = COC +female_fp_referral_form.step1.side_effects_implant.options.Implant_expulsion.text = Implant expulsion +female_fp_referral_form.step1.side_effects_iucd.label = Family planning side-effects +female_fp_referral_form.step1.side_effects_implant.options.Heavy_bleeding.text = Heavy bleeding +female_fp_referral_form.step1.fp_method_accepted_referral.options.Male_sterilization.text = Male sterilization +female_fp_referral_form.step1.side_effects_sterialization.v_required.err = Please select a value +female_fp_referral_form.step1.fp_method_accepted_referral.label = FP method chosen requiring a referral +female_fp_referral_form.step1.fp_method_accepted_referral.options.Emergency_contraceptive.text = Emergency contraceptive +female_fp_referral_form.step1.fp_method_accepted_referral.options.None.text = None +female_fp_referral_form.step1.side_effects_sterialization.options.Pus_Discharge_from_incision.text = Pus/Discharge from incision +female_fp_referral_form.step1.side_effects_sterialization.options.Not_applicable.text = Not applicable +female_fp_referral_form.step1.side_effects_iucd.options.Severe_pain_inside_the_vagina_after_IUD_was_put_in.text = Severe pain inside the vagina after IUD was put in +female_fp_referral_form.step1.side_effects_iucd.options.Spotting_between_periods_and_or_irregular_periods.text = Spotting between periods and/or irregular periods +female_fp_referral_form.step1.side_effects_implant.options.None.text = None +female_fp_referral_form.step1.side_effects_implant.v_required.err = Please select a value +female_fp_referral_form.step1.fp_side_effects_other.v_required.err = Please specify other side effects +female_fp_referral_form.step1.side_effects_inject_pills.options.Not_applicable.text = Not applicable +female_fp_referral_form.step1.side_effects_inject_pills.options.None.text = None +female_fp_referral_form.step1.fp_method_accepted_referral.options.POP.text = POP +female_fp_referral_form.step1.fp_method_accepted_referral.options.Female_sterilization.text = Female sterilization +female_fp_referral_form.step1.side_effects_sterialization.options.Incisional_bleeding.text = Incisional bleeding +female_fp_referral_form.step1.side_effects_implant.options.Insertion_site_swollen.text = Insertion site swollen +female_fp_referral_form.step1.fp_method_accepted_referral.options.IUCD.text = IUCD +female_fp_referral_form.step1.side_effects_inject_pills.options.Irregular_periods.text = Irregular periods +female_fp_referral_form.step1.side_effects_implant.options.Not_applicable.text = Not applicable +female_fp_referral_form.step1.fp_method_accepted_referral.options.Jadelle.text = Jadelle +female_fp_referral_form.step1.side_effects_iucd.v_required.err = Please select a value +female_fp_referral_form.step1.side_effects_iucd.options.Others.text = Others +female_fp_referral_form.step1.fp_method_accepted_referral.options.Implanon_NXT.text = Implanon - NXT +female_fp_referral_form.step1.side_effects_iucd.options.Not_applicable.text = Not applicable +female_fp_referral_form.step1.title = Family Planning Referral +female_fp_referral_form.step1.fp_side_effects_other.hint = Other side effects +female_fp_referral_form.step1.fp_method_accepted_referral.options.Standard_day_method.text = Standard day method +female_fp_referral_form.step1.side_effects_sterialization.options.None.text = None +female_fp_referral_form.step1.side_effects_iucd.options.IUCD_explusion.text = IUCD explusion +female_fp_referral_form.step1.side_effects_inject_pills.options.Others.text = Others +female_fp_referral_form.step1.side_effects_implant.options.Others.text = Others +female_fp_referral_form.step1.fp_method_accepted_referral.v_required.err = Please select a family planning method +female_fp_referral_form.step1.side_effects_iucd.options.None.text = None +female_fp_referral_form.step1.side_effects_iucd.options.Heavier_periods_and_worse_menstrual_cramps.text = Heavier periods and worse menstrual cramps diff --git a/opensrp-chw/src/ba/resources/female_fp_referral_form_sw.properties b/opensrp-chw/src/ba/resources/female_fp_referral_form_sw.properties new file mode 100644 index 0000000000..08cea8654d --- /dev/null +++ b/opensrp-chw/src/ba/resources/female_fp_referral_form_sw.properties @@ -0,0 +1,53 @@ +female_fp_referral_form.step1.side_effects_implant.label = Madhara/maudhi yatokanayo na njia za uzazi wa mpango +female_fp_referral_form.step1.side_effects_iucd.options.Cramping_or_backaches_for_a_few_days_after_the_IUD_is_put_in.text = Maumivu ya tumbo au kiuno siku chache baada ya kuwekewa kitanzi +female_fp_referral_form.step1.fp_method_accepted_referral.options.Injectable.text = Sindano +female_fp_referral_form.step1.side_effects_sterialization.label = Madhara/maudhi yatokanayo na njia za uzazi wa mpango +female_fp_referral_form.step1.side_effects_inject_pills.label = Madhara/maudhi yatokanayo na njia za uzazi wa mpango +female_fp_referral_form.step1.side_effects_inject_pills.v_required.err = Tafadhali chagua chaguo moja +female_fp_referral_form.step1.side_effects_implant.options.Insertion_site_infected_pus_discharge.text = Kutokwa usaha sehemu alipowekewa kipandikizi +female_fp_referral_form.step1.side_effects_inject_pills.options.Heavy_bleeding_.text = Kutokwa damu nyingi wakati wa hedhi +female_fp_referral_form.step1.fp_method_accepted_referral.options.Not_applicable.text = Si husika +female_fp_referral_form.step1.side_effects_sterialization.options.Swollen_around_the_incision.text = Kuvimba kwenye kidonda +female_fp_referral_form.step1.fp_method_accepted_referral.options.Female_condom.text = Kondomu ya kike +female_fp_referral_form.step1.fp_method_accepted_referral.options.Male_condom.text = Kondomu ya kiume +female_fp_referral_form.step1.side_effects_sterialization.options.Others.text = Madhara mengineyo +female_fp_referral_form.step1.fp_method_accepted_referral.options.COC.text = Vidonge vya kumeza vyenye vichocheo viwili +female_fp_referral_form.step1.side_effects_implant.options.Implant_expulsion.text = Kipandikizi kimetoka +female_fp_referral_form.step1.side_effects_iucd.label = Madhara/maudhi yatokanayo na njia za uzazi wa mpango +female_fp_referral_form.step1.side_effects_implant.options.Heavy_bleeding.text = Kutokwa damu nyingi wakati wa hedhi +female_fp_referral_form.step1.fp_method_accepted_referral.options.Male_sterilization.text = Kufunga kizazi mwanamme +female_fp_referral_form.step1.side_effects_sterialization.v_required.err = Tafadhali chagua chaguo moja +female_fp_referral_form.step1.fp_method_accepted_referral.label = Njia ya uzazi wa mpango aliyochagua na anaohitaji rufaa +female_fp_referral_form.step1.fp_method_accepted_referral.options.Emergency_contraceptive.text = Uzazi wa dharura +female_fp_referral_form.step1.fp_method_accepted_referral.options.None.text = Hakuna +female_fp_referral_form.step1.side_effects_sterialization.options.Pus_Discharge_from_incision.text = Kutokwa usaha +female_fp_referral_form.step1.side_effects_sterialization.options.Not_applicable.text = Si husika +female_fp_referral_form.step1.side_effects_iucd.options.Severe_pain_inside_the_vagina_after_IUD_was_put_in.text = Maumivu makali ndani ya uke baada kuwekewa kitanzi +female_fp_referral_form.step1.side_effects_iucd.options.Spotting_between_periods_and_or_irregular_periods.text = Hedhi kutofuata mzunguko wa kawaida +female_fp_referral_form.step1.side_effects_implant.options.None.text = Hakuna +female_fp_referral_form.step1.side_effects_implant.v_required.err = Tafadhali chagua chaguo moja +female_fp_referral_form.step1.fp_side_effects_other.v_required.err = Tafadhali andika aadhara mengineyo +female_fp_referral_form.step1.side_effects_inject_pills.options.Not_applicable.text = Si husika +female_fp_referral_form.step1.side_effects_inject_pills.options.None.text = Hakuna +female_fp_referral_form.step1.fp_method_accepted_referral.options.POP.text = Vidonge vya kumeza vyenye vichocheo kimoja +female_fp_referral_form.step1.fp_method_accepted_referral.options.Female_sterilization.text = Kufunga kizazi mwanamke +female_fp_referral_form.step1.side_effects_sterialization.options.Incisional_bleeding.text = Kutokwa damu +female_fp_referral_form.step1.side_effects_implant.options.Insertion_site_swollen.text = Imevimba sehemu alipowekewa kipandikizi +female_fp_referral_form.step1.fp_method_accepted_referral.options.IUCD.text = Kitanzi +female_fp_referral_form.step1.side_effects_inject_pills.options.Irregular_periods.text = Kutopangiliwa kwa mzunguko wa hedhi +female_fp_referral_form.step1.side_effects_implant.options.Not_applicable.text = Si husika +female_fp_referral_form.step1.fp_method_accepted_referral.options.Jadelle.text = Kipandikizi cha miaka 5 +female_fp_referral_form.step1.side_effects_iucd.v_required.err = Tafadhali chagua chaguo moja +female_fp_referral_form.step1.side_effects_iucd.options.Others.text = Madhara mengineyo +female_fp_referral_form.step1.fp_method_accepted_referral.options.Implanon_NXT.text = Kipandikizi cha miaka 3 +female_fp_referral_form.step1.side_effects_iucd.options.Not_applicable.text = Si husika +female_fp_referral_form.step1.title = Family Planning Referral +female_fp_referral_form.step1.fp_side_effects_other.hint = Madhara mengineyo +female_fp_referral_form.step1.fp_method_accepted_referral.options.Standard_day_method.text = Shanga +female_fp_referral_form.step1.side_effects_sterialization.options.None.text = Hakuna +female_fp_referral_form.step1.side_effects_iucd.options.IUCD_explusion.text = Kufukuzwa kwa kitanzi +female_fp_referral_form.step1.side_effects_inject_pills.options.Others.text = Madhara mengineyo +female_fp_referral_form.step1.side_effects_implant.options.Others.text = Madhara mengineyo +female_fp_referral_form.step1.fp_method_accepted_referral.v_required.err = Tafadhali chagua chaguo moja +female_fp_referral_form.step1.side_effects_iucd.options.None.text = Hakuna +female_fp_referral_form.step1.side_effects_iucd.options.Heavier_periods_and_worse_menstrual_cramps.text = Kutokwa damu nyingi na maumivu makali wakati wa hedhi diff --git a/opensrp-chw/src/ba/resources/fp_followup_counsel.properties b/opensrp-chw/src/ba/resources/fp_followup_counsel.properties new file mode 100644 index 0000000000..83efc569a7 --- /dev/null +++ b/opensrp-chw/src/ba/resources/fp_followup_counsel.properties @@ -0,0 +1,5 @@ +fp_followup_counsel.step1.fp_counselling.options.yes.text = Yes +fp_followup_counsel.step1.fp_counselling.options.no.text = No +fp_followup_counsel.step1.fp_counselling.label = Did the client receive any family planning counselling? +fp_followup_counsel.step1.fp_counselling.v_required.err = This value cannot be null +fp_followup_counsel.step1.title = Counselling diff --git a/opensrp-chw/src/ba/resources/fp_followup_counsel_sw.properties b/opensrp-chw/src/ba/resources/fp_followup_counsel_sw.properties new file mode 100644 index 0000000000..063de47c22 --- /dev/null +++ b/opensrp-chw/src/ba/resources/fp_followup_counsel_sw.properties @@ -0,0 +1,5 @@ +fp_followup_counsel.step1.fp_counselling.options.yes.text = Yes +fp_followup_counsel.step1.fp_counselling.options.no.text = No +fp_followup_counsel.step1.fp_counselling.label = Je, anapata ushauri wowote wa uzazi wa mpango? +fp_followup_counsel.step1.fp_counselling.v_required.err = Thamani hii haiwezi kuwa laini +fp_followup_counsel.step1.title = Ushauri diff --git a/opensrp-chw/src/ba/resources/fp_followup_resupply.properties b/opensrp-chw/src/ba/resources/fp_followup_resupply.properties new file mode 100644 index 0000000000..9d5a45c773 --- /dev/null +++ b/opensrp-chw/src/ba/resources/fp_followup_resupply.properties @@ -0,0 +1,11 @@ +fp_followup_resupply.step1.no_pillcycles.v_required.err = this value cannot be null +fp_followup_resupply.step1.no_pillcycles.v_numeric_integer.err = Must be a rounded number +fp_followup_resupply.step1.title = Re-supply or Next Health Facility Visit +fp_followup_resupply.step1.fp_refill_injectable.duration.label = last injection +fp_followup_resupply.step1.fp_refill_injectable.v_required.err = Please Date of last injection +fp_followup_resupply.step1.next_injection_date.text = Date of next injection: {fp_refill_injectable} +fp_followup_resupply.step1.no_condoms.v_required.err = this value cannot be null +fp_followup_resupply.step1.no_condoms.hint = How many condoms was she/he given? +fp_followup_resupply.step1.no_condoms.v_numeric_integer.err = Must be a rounded number +fp_followup_resupply.step1.no_pillcycles.hint = How many pill cycles was she given? +fp_followup_resupply.step1.fp_refill_injectable.hint = Date of last injection diff --git a/opensrp-chw/src/ba/resources/fp_followup_resupply_sw.properties b/opensrp-chw/src/ba/resources/fp_followup_resupply_sw.properties new file mode 100644 index 0000000000..d0e50999a3 --- /dev/null +++ b/opensrp-chw/src/ba/resources/fp_followup_resupply_sw.properties @@ -0,0 +1,11 @@ +fp_followup_resupply.step1.no_pillcycles.v_required.err = this value cannot be null +fp_followup_resupply.step1.no_pillcycles.v_numeric_integer.err = Must be a rounded number +fp_followup_resupply.step1.title = Kujaza tena au mara ya kwenda kituo cha afya tena +fp_followup_resupply.step1.fp_refill_injectable.duration.label = last injection +fp_followup_resupply.step1.fp_refill_injectable.v_required.err = Tarehe ya sindano iliyopita +fp_followup_resupply.step1.next_injection_date.text = Tarehe ya sindano ijayo: {fp_refill_injectable} +fp_followup_resupply.step1.no_condoms.v_required.err = this value cannot be null +fp_followup_resupply.step1.no_condoms.hint = Amepata vipande vya kondpmu vingapi? +fp_followup_resupply.step1.no_condoms.v_numeric_integer.err = Must be a rounded number +fp_followup_resupply.step1.no_pillcycles.hint = Amepata saiko ngapi? +fp_followup_resupply.step1.fp_refill_injectable.hint = Tarehe ya sindano iliyopita diff --git a/opensrp-chw/src/ba/resources/fp_followup_side_effects.properties b/opensrp-chw/src/ba/resources/fp_followup_side_effects.properties new file mode 100644 index 0000000000..b1d135270f --- /dev/null +++ b/opensrp-chw/src/ba/resources/fp_followup_side_effects.properties @@ -0,0 +1,49 @@ +fp_followup_side_effects.step1.IUCD_side_effects.values[1] = Cramping or backaches for a few days after the IUD is put in +fp_followup_side_effects.step1.IUCD_side_effects.values[5] = Others +fp_followup_side_effects.step1.cocpop_side_effects.values[1] = Irregular periods +fp_followup_side_effects.step1.IUCD_side_effects_other.hint = Others: +fp_followup_side_effects.step1.sterilization_side_effects.v_required.err = This value cannot be null +fp_followup_side_effects.step1.condom_side_effects.values[1] = Others +fp_followup_side_effects.step1.cocpop_side_effects.hint = Is she experiencing any side effects? +fp_followup_side_effects.step1.action_taken.options.managed.text = Managed +fp_followup_side_effects.step1.sterilization_side_effects.values[2] = Swollen around the incision +fp_followup_side_effects.step1.action_taken.v_required.err = This value cannot be null +fp_followup_side_effects.step1.inject_side_effects.values[3] = None +fp_followup_side_effects.step1.inject_side_effects_other.v_required.err = This value cannot be null +fp_followup_side_effects.step1.IUCD_side_effects.values[6] = None +fp_followup_side_effects.step1.IUCD_side_effects.values[0] = Severe pain inside the vagina after IUD was put in +fp_followup_side_effects.step1.cocpop_side_effects.v_required.err = This value cannot be null +fp_followup_side_effects.step1.cocpop_side_effects.values[2] = Others +fp_followup_side_effects.step1.IUCD_side_effects.values[4] = IUCD explusion +fp_followup_side_effects.step1.condom_side_effects.values[2] = None +fp_followup_side_effects.step1.inject_side_effects.v_required.err = This value cannot be null +fp_followup_side_effects.step1.action_taken.options.referred.text = Referred +fp_followup_side_effects.step1.inject_side_effects.hint = Is she experiencing any side effects? +fp_followup_side_effects.step1.sterilization_side_effects_other.hint = Others: +fp_followup_side_effects.step1.sterilization_side_effects.values[3] = Others +fp_followup_side_effects.step1.sterilization_side_effects_other.v_required.err = This value cannot be null +fp_followup_side_effects.step1.condom_side_effects_other.v_required.err = This value cannot be null +fp_followup_side_effects.step1.action_taken.options.no_action_taken.text = No action taken +fp_followup_side_effects.step1.sterilization_side_effects.hint = Is she/he experiencing any side effects? +fp_followup_side_effects.step1.inject_side_effects.values[0] = Heavy bleeding +fp_followup_side_effects.step1.IUCD_side_effects.values[3] = Heavier periods and worse menstrual cramps +fp_followup_side_effects.step1.cocpop_side_effects.values[3] = None +fp_followup_side_effects.step1.action_taken.label = Action taken +fp_followup_side_effects.step1.sterilization_side_effects.values[4] = None +fp_followup_side_effects.step1.sterilization_side_effects.values[0] = Incisional bleeding +fp_followup_side_effects.step1.cocpop_side_effects_other.v_required.err = This value cannot be null +fp_followup_side_effects.step1.cocpop_side_effects_other.hint = Others: +fp_followup_side_effects.step1.inject_side_effects.values[1] = Irregular periods +fp_followup_side_effects.step1.IUCD_side_effects.values[2] = Spotting between periods and/or irregular periods +fp_followup_side_effects.step1.cocpop_side_effects.values[0] = Heavy bleeding +fp_followup_side_effects.step1.condom_side_effects.values[0] = Allergic reactions +fp_followup_side_effects.step1.IUCD_side_effects.hint = Is she experiencing any side effects? +fp_followup_side_effects.step1.inject_side_effects_other.hint = Others: +fp_followup_side_effects.step1.condom_side_effects.hint = Is she/he experiencing any side effects? +fp_followup_side_effects.step1.IUCD_side_effects.v_required.err = This value cannot be null +fp_followup_side_effects.step1.condom_side_effects_other.hint = Others: +fp_followup_side_effects.step1.condom_side_effects.v_required.err = This value cannot be null +fp_followup_side_effects.step1.inject_side_effects.values[2] = Others +fp_followup_side_effects.step1.IUCD_side_effects_other.v_required.err = This value cannot be null +fp_followup_side_effects.step1.title = Side Effects +fp_followup_side_effects.step1.sterilization_side_effects.values[1] = Pus/Discharge from incision diff --git a/opensrp-chw/src/ba/resources/fp_followup_side_effects_sw.properties b/opensrp-chw/src/ba/resources/fp_followup_side_effects_sw.properties new file mode 100644 index 0000000000..eb31d7a4be --- /dev/null +++ b/opensrp-chw/src/ba/resources/fp_followup_side_effects_sw.properties @@ -0,0 +1,49 @@ +fp_followup_side_effects.step1.IUCD_side_effects.values[1] = Maumivu ya tumbo au kiuno siku chache baada ya kuwekewa kitanzi +fp_followup_side_effects.step1.IUCD_side_effects.values[5] = Madhara mengineyo +fp_followup_side_effects.step1.cocpop_side_effects.values[1] = Kutopangiliwa kwa mzunguko wa hedhi +fp_followup_side_effects.step1.IUCD_side_effects_other.hint = Madhara mengineyo: +fp_followup_side_effects.step1.sterilization_side_effects.v_required.err = Thamani hii haiwezi kuwa laini +fp_followup_side_effects.step1.condom_side_effects.values[1] = Madhara mengineyo +fp_followup_side_effects.step1.cocpop_side_effects.hint = Je, ni madhara gani ambayo yeye amepata tangu kutumia vidonge vya kumeza vyenye vichocheo viwili/kimoja? +fp_followup_side_effects.step1.action_taken.options.managed.text = Alisimamia +fp_followup_side_effects.step1.sterilization_side_effects.values[2] = Kuvimba kwenye kidonda +fp_followup_side_effects.step1.action_taken.v_required.err = Thamani hii haiwezi kuwa laini +fp_followup_side_effects.step1.inject_side_effects.values[3] = Hakuna +fp_followup_side_effects.step1.inject_side_effects_other.v_required.err = Thamani hii haiwezi kuwa laini +fp_followup_side_effects.step1.IUCD_side_effects.values[6] = Hakuna +fp_followup_side_effects.step1.IUCD_side_effects.values[0] = Maumivu makali ndani ya uke baada kuwekewa kitanzi +fp_followup_side_effects.step1.cocpop_side_effects.v_required.err = Thamani hii haiwezi kuwa laini +fp_followup_side_effects.step1.cocpop_side_effects.values[2] = Madhara mengineyo +fp_followup_side_effects.step1.IUCD_side_effects.values[4] = Kufukuzwa kwa kitanzi +fp_followup_side_effects.step1.condom_side_effects.values[2] = Hakuna +fp_followup_side_effects.step1.inject_side_effects.v_required.err = Thamani hii haiwezi kuwa laini +fp_followup_side_effects.step1.action_taken.options.referred.text = Alimkupata rufaa +fp_followup_side_effects.step1.inject_side_effects.hint = Je, ni madhara gani ambayo yeye amepata tangu kutumia sindano? +fp_followup_side_effects.step1.sterilization_side_effects_other.hint = Madhara mengineyo: +fp_followup_side_effects.step1.sterilization_side_effects.values[3] = Madhara mengineyo +fp_followup_side_effects.step1.sterilization_side_effects_other.v_required.err = Thamani hii haiwezi kuwa laini +fp_followup_side_effects.step1.condom_side_effects_other.v_required.err = Thamani hii haiwezi kuwa laini +fp_followup_side_effects.step1.action_taken.options.no_action_taken.text = Hajafanya chochote +fp_followup_side_effects.step1.sterilization_side_effects.hint = Je, ni madhara gani ya yeye ambayo mteja amepata kufunga kizazi? +fp_followup_side_effects.step1.inject_side_effects.values[0] = Kutokwa damu nyingi wakati wa hedhi +fp_followup_side_effects.step1.IUCD_side_effects.values[3] = Kutokwa damu nyingi na maumivu makali wakati wa hedhi +fp_followup_side_effects.step1.cocpop_side_effects.values[3] = Hakuna +fp_followup_side_effects.step1.action_taken.label = Hatua zilizochukuliwa +fp_followup_side_effects.step1.sterilization_side_effects.values[4] = Hakuna +fp_followup_side_effects.step1.sterilization_side_effects.values[0] = Kutokwa damu +fp_followup_side_effects.step1.cocpop_side_effects_other.v_required.err = Thamani hii haiwezi kuwa laini +fp_followup_side_effects.step1.cocpop_side_effects_other.hint = Madhara mengineyo: +fp_followup_side_effects.step1.inject_side_effects.values[1] = Kutopangiliwa kwa mzunguko wa hedhi +fp_followup_side_effects.step1.IUCD_side_effects.values[2] = Hedhi kutofuata mzunguko wa kawaida +fp_followup_side_effects.step1.cocpop_side_effects.values[0] = Kutokwa damu nyingi wakati wa hedhi +fp_followup_side_effects.step1.condom_side_effects.values[0] = Athari za mzio +fp_followup_side_effects.step1.IUCD_side_effects.hint = Je, ni madhara gani ambayo yeye amepata tangu kutumia kitanzi? +fp_followup_side_effects.step1.inject_side_effects_other.hint = Madhara mengineyo: +fp_followup_side_effects.step1.condom_side_effects.hint = Je, ni madhara gani ambayo yeye amepata tangu kutumia kondom? +fp_followup_side_effects.step1.IUCD_side_effects.v_required.err = Thamani hii haiwezi kuwa laini +fp_followup_side_effects.step1.condom_side_effects_other.hint = Madhara mengineyo: +fp_followup_side_effects.step1.condom_side_effects.v_required.err = Thamani hii haiwezi kuwa laini +fp_followup_side_effects.step1.inject_side_effects.values[2] = Madhara mengineyo +fp_followup_side_effects.step1.IUCD_side_effects_other.v_required.err = Thamani hii haiwezi kuwa laini +fp_followup_side_effects.step1.title = Madhara +fp_followup_side_effects.step1.sterilization_side_effects.values[1] = Kutokwa usaha diff --git a/opensrp-chw/src/ba/resources/in_app_monthly_tallies_report.properties b/opensrp-chw/src/ba/resources/in_app_monthly_tallies_report.properties new file mode 100644 index 0000000000..e4ecadd980 --- /dev/null +++ b/opensrp-chw/src/ba/resources/in_app_monthly_tallies_report.properties @@ -0,0 +1,7 @@ +in_app_monthly_tallies_report.step1.title = Monthly Tallies +in_app_monthly_tallies_report.step1.indicator_code.hint = Indicator code +in_app_monthly_tallies_report.step1.value.hint = Updated at +in_app_monthly_tallies_report.step1.date_sent.hint = Date sent +in_app_monthly_tallies_report.step1.created_at.hint = Created at +in_app_monthly_tallies_report.step1.month.hint = Month +in_app_monthly_tallies_report.step1.edited.hint = edited diff --git a/opensrp-chw/src/ba/resources/in_app_monthly_tallies_report_sw.properties b/opensrp-chw/src/ba/resources/in_app_monthly_tallies_report_sw.properties new file mode 100644 index 0000000000..e39db0f38c --- /dev/null +++ b/opensrp-chw/src/ba/resources/in_app_monthly_tallies_report_sw.properties @@ -0,0 +1,7 @@ +in_app_monthly_tallies_report.step1.title = Misaada ya kila mwezi +in_app_monthly_tallies_report.step1.indicator_code.hint = Nambari ya kiashiria +in_app_monthly_tallies_report.step1.value.hint = Imesasishwa kwa +in_app_monthly_tallies_report.step1.date_sent.hint = Tarehe iliyotumwa +in_app_monthly_tallies_report.step1.created_at.hint = Imeundwa kwa +in_app_monthly_tallies_report.step1.month.hint = Mwezi +in_app_monthly_tallies_report.step1.edited.hint = imehaririwa diff --git a/opensrp-chw/src/ba/resources/malaria_confirmation.properties b/opensrp-chw/src/ba/resources/malaria_confirmation.properties new file mode 100644 index 0000000000..fbfd04cff3 --- /dev/null +++ b/opensrp-chw/src/ba/resources/malaria_confirmation.properties @@ -0,0 +1,50 @@ +malaria_confirmation.step2.fam_llin.values[1] = No +malaria_confirmation.step1.date_hf_malaria_test.v_required.err = Please enter the date of malaria test at health facility +malaria_confirmation.step2.llin_2days.values[0] = Yes +malaria_confirmation.step2.malaria_edu_chw.options.uncomplicated_malaria.text = Uncomplicated malaria +malaria_confirmation.step1.fever_duration.values[0] = Less than 24 hrs +malaria_confirmation.step1.fever_duration.v_required.err = Please select one choice +malaria_confirmation.step1.malaria_treat.values[1] = ALU 12 +malaria_confirmation.step2.malaria_edu_chw.options.chk_none.text = None +malaria_confirmation.step1.malaria_test_done.values[1] = Yes, by the CHW +malaria_confirmation.step2.malaria_edu_chw.options.overview_on_malaria.text = Overview on malaria +malaria_confirmation.step1.malaria_treat.values[5] = Other treatment +malaria_confirmation.step1.fever_malaria_chw.v_required.err = Please select one +malaria_confirmation.step1.malaria_results.values[0] = Positive +malaria_confirmation.step1.date_hf_malaria_test.hint = Date of malaria test at health facility +malaria_confirmation.step2.llin_2days.v_required.err = Please select one choice +malaria_confirmation.step2.malaria_edu_chw.label = Malaria topics covered +malaria_confirmation.step2.llin_condition.values[0] = Okay +malaria_confirmation.step1.malaria_treat.values[0] = ALU 6 +malaria_confirmation.step1.title = Malaria Confirmation +malaria_confirmation.step1.fever_malaria_chw.options.tested_positive_last_14_days.text = Tested positive for malaria in the last 14 days at a health facility +malaria_confirmation.step1.fever_duration.values[1] = More than 24 hrs +malaria_confirmation.step1.malaria_treat.values[4] = Not given +malaria_confirmation.step1.malaria_test_done.values[0] = No +malaria_confirmation.step2.malaria_edu_chw.options.malaria_prevention.text = Malaria prevention +malaria_confirmation.step1.malaria_test_done.hint = Was a malaria test done? +malaria_confirmation.step1.referral_note.toaster_info_text = Please refer the client for a malaria test +malaria_confirmation.step2.fam_llin.hint = Do you have a long lasting insecticide net (LLIN)? +malaria_confirmation.step2.llin_condition.values[1] = Bad +malaria_confirmation.step1.malaria_treat.v_required.err = Please select one choice +malaria_confirmation.step1.malaria_treat.values[3] = ALU 24 +malaria_confirmation.step2.fam_llin.values[0] = Yes +malaria_confirmation.step2.malaria_edu_chw.options.malaria_in_pregnancy.text = Malaria in pregnancy +malaria_confirmation.step2.llin_condition.v_required.err = Please select one choice +malaria_confirmation.step1.malaria_test_done.v_required.err = Please select one +malaria_confirmation.step1.malaria_results.v_required.err = Please select one choice +malaria_confirmation.step2.malaria_edu_chw.v_required.err = Malaria topics covered required +malaria_confirmation.step2.llin_2days.values[1] = No +malaria_confirmation.step1.malaria_results.values[1] = Negative +malaria_confirmation.step1.malaria_treat.values[2] = ALU 18 +malaria_confirmation.step2.malaria_edu_chw.options.Severe_malaria.text = Severe malaria +malaria_confirmation.step1.malaria_results.hint = mRDT results +malaria_confirmation.step1.referral_note.text = Please refer the client for a malaria test +malaria_confirmation.step2.title = Malaria Prevention +malaria_confirmation.step2.fam_llin.v_required.err = Please select one choice +malaria_confirmation.step1.fever_malaria_chw.options.has_fever.text = Has a fever +malaria_confirmation.step1.fever_malaria_chw.label = Does this person have a fever or did they test positive for malaria in the last 14 days at a health facility? +malaria_confirmation.step1.fever_duration.hint = Duration of fever? +malaria_confirmation.step1.malaria_treat.hint = Treatment given +malaria_confirmation.step2.llin_2days.hint = Did you sleep under the LLIN last night? +malaria_confirmation.step2.llin_condition.hint = LLIN condition diff --git a/opensrp-chw/src/ba/resources/malaria_confirmation_sw.properties b/opensrp-chw/src/ba/resources/malaria_confirmation_sw.properties new file mode 100644 index 0000000000..51553d445c --- /dev/null +++ b/opensrp-chw/src/ba/resources/malaria_confirmation_sw.properties @@ -0,0 +1,50 @@ +malaria_confirmation.step2.fam_llin.values[1] = Hapana +malaria_confirmation.step1.date_hf_malaria_test.v_required.err = Tafadhali ingiza tarehe ya majaribio ya ugonjwa wa malaria katika kituo cha afya +malaria_confirmation.step2.llin_2days.values[0] = Ndiyo +malaria_confirmation.step2.malaria_edu_chw.options.uncomplicated_malaria.text = Malaria isiyokali +malaria_confirmation.step1.fever_duration.values[0] = Ndani ya saa 24 +malaria_confirmation.step1.fever_duration.v_required.err = Tafadhali chagua chaguo moja +malaria_confirmation.step1.malaria_treat.values[1] = ALU 12 +malaria_confirmation.step2.malaria_edu_chw.options.chk_none.text = Hajafanya +malaria_confirmation.step1.malaria_test_done.values[1] = Ndiyo, kwa WAJA +malaria_confirmation.step2.malaria_edu_chw.options.overview_on_malaria.text = Muktasari kuhusu ugonjwa wa malaria +malaria_confirmation.step1.malaria_treat.values[5] = Matibabu mengine +malaria_confirmation.step1.fever_malaria_chw.v_required.err = Tafadhali chagua chaguo moja +malaria_confirmation.step1.malaria_results.values[0] = Chanya +malaria_confirmation.step1.date_hf_malaria_test.hint = Tarehe ya kipimo cha malaria katika kituo cha afya +malaria_confirmation.step2.llin_2days.v_required.err = Tafadhali chagua chaguo moja +malaria_confirmation.step2.malaria_edu_chw.label = Mada juu ya ugonjwa wa Malaria zilizofundishwa +malaria_confirmation.step2.llin_condition.values[0] = Nzima +malaria_confirmation.step1.malaria_treat.values[0] = ALU 6 +malaria_confirmation.step1.title = Uhakiki wa Malaria +malaria_confirmation.step1.fever_malaria_chw.options.tested_positive_last_14_days.text = Alikuwa na malaria ndani ya siku 14 +malaria_confirmation.step1.fever_duration.values[1] = Zaidi ya saa 24 +malaria_confirmation.step1.malaria_treat.values[4] = Hajapewa +malaria_confirmation.step1.malaria_test_done.values[0] = Hapana +malaria_confirmation.step2.malaria_edu_chw.options.malaria_prevention.text = Kuzuia malaria +malaria_confirmation.step1.malaria_test_done.hint = Kipimo cha malaria kimefanyika? +malaria_confirmation.step1.referral_note.toaster_info_text = Tafadhali mpe rufaa kwa kipimo cha malaria +malaria_confirmation.step2.fam_llin.hint = Ana chandarua chenye viuwatilifu? +malaria_confirmation.step2.llin_condition.values[1] = Mbovu +malaria_confirmation.step1.malaria_treat.v_required.err = Tafadhali chagua chaguo moja +malaria_confirmation.step1.malaria_treat.values[3] = ALU 24 +malaria_confirmation.step2.fam_llin.values[0] = Ndiyo +malaria_confirmation.step2.malaria_edu_chw.options.malaria_in_pregnancy.text = Malaria kwa mama mjamzito +malaria_confirmation.step2.llin_condition.v_required.err = Tafadhali chagua chaguo moja +malaria_confirmation.step1.malaria_test_done.v_required.err = Tafadhali chagua chaguo moja +malaria_confirmation.step1.malaria_results.v_required.err = Tafadhali chagua chaguo moja +malaria_confirmation.step2.malaria_edu_chw.v_required.err = Tafadhali chagua chaguo moja +malaria_confirmation.step2.llin_2days.values[1] = Hapana +malaria_confirmation.step1.malaria_results.values[1] = Hasi +malaria_confirmation.step1.malaria_treat.values[2] = ALU 18 +malaria_confirmation.step2.malaria_edu_chw.options.Severe_malaria.text = Malaria kali +malaria_confirmation.step1.malaria_results.hint = Majibu ya mRDT +malaria_confirmation.step1.referral_note.text = Tafadhali mpe rufaa kwa kipimo cha malaria +malaria_confirmation.step2.title = Kuzuia Malaria +malaria_confirmation.step2.fam_llin.v_required.err = Tafadhali chagua chaguo moja +malaria_confirmation.step1.fever_malaria_chw.options.has_fever.text = Ana homa +malaria_confirmation.step1.fever_malaria_chw.label = Je, mteja ana homa au aligunduliwa kuwa na malaria ndani ya siku 14 katika kituo cha afya? +malaria_confirmation.step1.fever_duration.hint = Umekuwa na homa kwa muda gani? +malaria_confirmation.step1.malaria_treat.hint = Matibabu aliyopewa +malaria_confirmation.step2.llin_2days.hint = Je, amelala kwenye chandarua chenye viuwatilifu usiku uliopita? +malaria_confirmation.step2.llin_condition.hint = Hali ya chandarua chenye viuwatilifu kinachotumika diff --git a/opensrp-chw/src/ba/resources/malaria_follow_up_visit.properties b/opensrp-chw/src/ba/resources/malaria_follow_up_visit.properties new file mode 100644 index 0000000000..9cf57c9a6e --- /dev/null +++ b/opensrp-chw/src/ba/resources/malaria_follow_up_visit.properties @@ -0,0 +1,24 @@ +malaria_follow_up_visit.step1.reason_no_treat.options.Other_reason.text = Other reason +malaria_follow_up_visit.step1.fever_still.options.No.text = No +malaria_follow_up_visit.step1.fever_still.options.Yes.text = Yes +malaria_follow_up_visit.step1.fever_duration.label = Duration of fever +malaria_follow_up_visit.step1.fever_still.label = Do you still have a fever? +malaria_follow_up_visit.step1.treat_given_chw_mfollowup.options.ALU_18.text = ALU 18 +malaria_follow_up_visit.step1.treat_given_chw_mfollowup.options.ALU_24.text = ALU 24 +malaria_follow_up_visit.step1.title = Follow-up Visit +malaria_follow_up_visit.step1.hf_chw_mfollowup.options.Yes.text = Yes +malaria_follow_up_visit.step1.reason_no_treat.options.Referral_unsuccessful.text = Referral unsuccessful +malaria_follow_up_visit.step1.treat_given_chw_mfollowup.options.Received_treatment_but_dont_remember_which_treatment.text = Received treatment, but don't remember which treatment +malaria_follow_up_visit.step1.hf_chw_mfollowup.label = Did you receive a referral or go to the hospital for malaria treatment? +malaria_follow_up_visit.step1.treat_given_chw_mfollowup.label = Treatment given +malaria_follow_up_visit.step1.referral_note.toaster_info_text = Refer client to the health facility for further examination and tests +malaria_follow_up_visit.step1.reason_no_treat.options.Drugs_stock_out.text = Drugs stock out +malaria_follow_up_visit.step1.reason_no_treat.label = Reason treatment was not given +malaria_follow_up_visit.step1.hf_chw_mfollowup.options.No.text = No +malaria_follow_up_visit.step1.referral_note.text = Refer client to the health facility for further examination and tests +malaria_follow_up_visit.step1.treat_given_chw_mfollowup.options.Not_given_treatment.text = Not given treatment +malaria_follow_up_visit.step1.fever_duration.options.More_than_24hrs.text = More than 24hrs +malaria_follow_up_visit.step1.fever_duration.options.Less_than_24hrs.text = Less than 24hrs +malaria_follow_up_visit.step1.treat_given_chw_mfollowup.options.ALU_6.text = ALU 6 +malaria_follow_up_visit.step1.treat_given_chw_mfollowup.options.ALU_12.text = ALU 12 +malaria_follow_up_visit.step1.treat_given_chw_mfollowup.options.Other_treatment.text = Other treatment diff --git a/opensrp-chw/src/ba/resources/malaria_follow_up_visit_sw.properties b/opensrp-chw/src/ba/resources/malaria_follow_up_visit_sw.properties new file mode 100644 index 0000000000..38e6c80c5f --- /dev/null +++ b/opensrp-chw/src/ba/resources/malaria_follow_up_visit_sw.properties @@ -0,0 +1,22 @@ +malaria_follow_up_visit.step1.reason_no_treat.options.Other_reason.text = Sababu nyingine +malaria_follow_up_visit.step1.fever_still.options.No.text = Hapana +malaria_follow_up_visit.step1.fever_still.options.Yes.text = Ndiyo +malaria_follow_up_visit.step1.fever_duration.label = Umekuwa na homa kwa muda gani? +malaria_follow_up_visit.step1.fever_still.label = Je, bado ana homa? +malaria_follow_up_visit.step1.treat_given_chw_mfollowup.options.ALU_18.text = ALU 18 +malaria_follow_up_visit.step1.treat_given_chw_mfollowup.options.ALU_24.text = ALU 24 +malaria_follow_up_visit.step1.title = Follow-up Visit +malaria_follow_up_visit.step1.hf_chw_mfollowup.options.Yes.text = Ndiyo +malaria_follow_up_visit.step1.reason_no_treat.options.Referral_unsuccessful.text = Rufaa haikufanikiwa +malaria_follow_up_visit.step1.treat_given_chw_mfollowup.options.Received_treatment_but_dont_remember_which_treatment.text = Amepewa matibabu, lakini hakumbuki aina gani +malaria_follow_up_visit.step1.hf_chw_mfollowup.label = Je, ulienda hospitali kwa ajili ya kipimo na matibabu ya malaria? +malaria_follow_up_visit.step1.treat_given_chw_mfollowup.label = Matibabu uliyopewa +malaria_follow_up_visit.step1.reason_no_treat.options.Drugs_stock_out.text = Dawa zimeisha +malaria_follow_up_visit.step1.reason_no_treat.label = Sababu ya kutopata matibabu +malaria_follow_up_visit.step1.hf_chw_mfollowup.options.No.text = Hapana +malaria_follow_up_visit.step1.treat_given_chw_mfollowup.options.Not_given_treatment.text = Hajapewa matibabu +malaria_follow_up_visit.step1.fever_duration.options.More_than_24hrs.text = Zaidi ya saa 24 +malaria_follow_up_visit.step1.fever_duration.options.Less_than_24hrs.text = Ndani ya saa 24 +malaria_follow_up_visit.step1.treat_given_chw_mfollowup.options.ALU_6.text = ALU 6 +malaria_follow_up_visit.step1.treat_given_chw_mfollowup.options.ALU_12.text = ALU 12 +malaria_follow_up_visit.step1.treat_given_chw_mfollowup.options.Other_treatment.text = Matibabu mengine diff --git a/opensrp-chw/src/ba/resources/malaria_referral_form.properties b/opensrp-chw/src/ba/resources/malaria_referral_form.properties new file mode 100644 index 0000000000..9b7fba37e7 --- /dev/null +++ b/opensrp-chw/src/ba/resources/malaria_referral_form.properties @@ -0,0 +1,35 @@ +malaria_referral_form.step1.referral_problem_malaria.options.Sweling_of_the_face_and_or_hands.text = Sweling of the face and/or hands +malaria_referral_form.step1.referral_problem_malaria.options.Vomiting.text = Vomiting +malaria_referral_form.step1.referral_problem_malaria.options.Neck_stiffness.text = Neck stiffness +malaria_referral_form.step1.referral_problem_malaria.options.Severe_anaemia_pale_palms_and_inner_eyelids.text = Severe anaemia (pale palms and inner eyelids) +malaria_referral_form.step1.service_before_malaria.options.Other_treatment.text = Other treatment +malaria_referral_form.step1.referral_problem_malaria.options.Unable_to_sit_without_support.text = Unable to sit without support +malaria_referral_form.step1.referral_problem_malaria.options.Trembling.text = Trembling, shivering +malaria_referral_form.step1.referral_problem_malaria.options.Severe_malnutrition.text = Severe malnutrition +malaria_referral_form.step1.referral_problem_malaria.v_required.err = Please specify problem associated with the client +malaria_referral_form.step1.service_before_malaria_other.v_required.err = Please specify other treatment +malaria_referral_form.step1.referral_problem_malaria.options.Abnormal_bleeding_or_passing_of_urine_with_blood.text = Abnormal bleeding or passing of urine with blood +malaria_referral_form.step1.referral_problem_malaria.options.Bloating.text = Bloating +malaria_referral_form.step1.referral_problem_malaria.options.Nausea.text = Nausea +malaria_referral_form.step1.service_before_malaria.v_required.err = Treatment given before referral is required +malaria_referral_form.step1.referral_problem_malaria.options.Difficult_in_breathing_fast_and_laboured_breathing.text = Difficult in breathing (fast and laboured breathing) +malaria_referral_form.step1.referral_problem_malaria.options.Very_weak.text = Very weak +malaria_referral_form.step1.referral_problem_malaria.options.Sweating.text = Sweating +malaria_referral_form.step1.referral_problem_malaria.options.Irritable_easily_disturbed.text = Irritable (easily disturbed) +malaria_referral_form.step1.referral_problem_malaria.options.Yellowing_of_the_eyes_jaundice.text = Yellowing of the eyes (jaundice) +malaria_referral_form.step1.referral_problem_malaria.options.Diarrhea.text = Diarrhea +malaria_referral_form.step1.title = Malaria Referral +malaria_referral_form.step1.service_before_malaria.options.ORS.text = ORS +malaria_referral_form.step1.service_before_malaria_other.hint = Other treatment +malaria_referral_form.step1.referral_problem_malaria.options.Severe_abdominal_pain.text = Severe abdominal pain +malaria_referral_form.step1.referral_problem_malaria.options.Convulsions.text = Convulsions +malaria_referral_form.step1.referral_problem_malaria.options.A_severe_headache_dizziness.text = A severe headache / dizziness +malaria_referral_form.step1.referral_problem_malaria.options.Muscle_pain.text = Muscle pain +malaria_referral_form.step1.service_before_malaria.options.Panadol.text = Panadol +malaria_referral_form.step1.referral_problem_malaria.options.Fever.text = Fever +malaria_referral_form.step1.referral_problem_malaria.label = Details of the patient's problem +malaria_referral_form.step1.service_before_malaria.options.None.text = None +malaria_referral_form.step1.service_before_malaria.label = Treatment given before the referral +malaria_referral_form.step1.service_before_malaria.options.Rectal_artesunate.text = Rectal artesunate +malaria_referral_form.step1.referral_problem_malaria.options.Unconcious.text = Unconcious +malaria_referral_form.step1.referral_problem_malaria.options.Unusually_sleepy.text = Unusually sleepy diff --git a/opensrp-chw/src/ba/resources/malaria_referral_form_sw.properties b/opensrp-chw/src/ba/resources/malaria_referral_form_sw.properties new file mode 100644 index 0000000000..7433cee209 --- /dev/null +++ b/opensrp-chw/src/ba/resources/malaria_referral_form_sw.properties @@ -0,0 +1,35 @@ +malaria_referral_form.step1.referral_problem_malaria.options.Sweling_of_the_face_and_or_hands.text = Kuvimba uso na / au mikono +malaria_referral_form.step1.referral_problem_malaria.options.Vomiting.text = Kutapika +malaria_referral_form.step1.referral_problem_malaria.options.Neck_stiffness.text = Shingo kukakamaa +malaria_referral_form.step1.referral_problem_malaria.options.Severe_anaemia_pale_palms_and_inner_eyelids.text = Upungufu mkubwa wa damu +malaria_referral_form.step1.service_before_malaria.options.Other_treatment.text = Matibabu mengine +malaria_referral_form.step1.referral_problem_malaria.options.Unable_to_sit_without_support.text = Kushindwa kukaa bila msaada +malaria_referral_form.step1.referral_problem_malaria.options.Trembling.text = Kutetemeka +malaria_referral_form.step1.referral_problem_malaria.options.Severe_malnutrition.text = Utapiamlo mkali +malaria_referral_form.step1.referral_problem_malaria.v_required.err = Tafadhali taja shida inayohusiana na mteja +malaria_referral_form.step1.service_before_malaria_other.v_required.err = Tafadhali taja matibabu mengine +malaria_referral_form.step1.referral_problem_malaria.options.Abnormal_bleeding_or_passing_of_urine_with_blood.text = Kutokwa na damu au mkojo wenye damu +malaria_referral_form.step1.referral_problem_malaria.options.Bloating.text = Tumbo kujaa +malaria_referral_form.step1.referral_problem_malaria.options.Nausea.text = Kutetemeka +malaria_referral_form.step1.service_before_malaria.v_required.err = Matibabu iliyopewa kabla ya rufaa inahitajika +malaria_referral_form.step1.referral_problem_malaria.options.Difficult_in_breathing_fast_and_laboured_breathing.text = Kushindwa kupumua +malaria_referral_form.step1.referral_problem_malaria.options.Very_weak.text = Kulegea +malaria_referral_form.step1.referral_problem_malaria.options.Sweating.text = Kutoka jasho +malaria_referral_form.step1.referral_problem_malaria.options.Irritable_easily_disturbed.text = Kukereka kirahisi +malaria_referral_form.step1.referral_problem_malaria.options.Yellowing_of_the_eyes_jaundice.text = Macho kuwa ya njano +malaria_referral_form.step1.referral_problem_malaria.options.Diarrhea.text = Kuharisha +malaria_referral_form.step1.title = Malaria Referral +malaria_referral_form.step1.service_before_malaria.options.ORS.text = ORS +malaria_referral_form.step1.service_before_malaria_other.hint = Matibabu mengine +malaria_referral_form.step1.referral_problem_malaria.options.Severe_abdominal_pain.text = Maumivu makali ya tumbo +malaria_referral_form.step1.referral_problem_malaria.options.Convulsions.text = Degedege/ Mtukutiko wa mwili +malaria_referral_form.step1.referral_problem_malaria.options.A_severe_headache_dizziness.text = Maumivu makali ya kichwa / kizunguzungu +malaria_referral_form.step1.referral_problem_malaria.options.Muscle_pain.text = Maumivu ya misuli +malaria_referral_form.step1.service_before_malaria.options.Panadol.text = Panadol +malaria_referral_form.step1.referral_problem_malaria.options.Fever.text = Homa +malaria_referral_form.step1.referral_problem_malaria.label = Maelezo ya tatizo la mgonjwa +malaria_referral_form.step1.service_before_malaria.options.None.text = Hakuna +malaria_referral_form.step1.service_before_malaria.label = Matibabu aliyopewa kabla ya rufaa +malaria_referral_form.step1.service_before_malaria.options.Rectal_artesunate.text = Rectal artesunate +malaria_referral_form.step1.referral_problem_malaria.options.Unconcious.text = Kukosa fahamu +malaria_referral_form.step1.referral_problem_malaria.options.Unusually_sleepy.text = Kulala kusiko kwa kawaida diff --git a/opensrp-chw/src/ba/resources/male_family_planning_change_method.properties b/opensrp-chw/src/ba/resources/male_family_planning_change_method.properties new file mode 100644 index 0000000000..099d6ae342 --- /dev/null +++ b/opensrp-chw/src/ba/resources/male_family_planning_change_method.properties @@ -0,0 +1,35 @@ +male_family_planning_change_method.step2.fp_method_chosen.values[1] = Female condom +male_family_planning_change_method.step3.referral_given.options.no.text = No +male_family_planning_change_method.step3.referral_given.v_required.err = Please select one choice +male_family_planning_change_method.step1.side_effects_fp.hint = Side effects +male_family_planning_change_method.step3.fp_start_male_ster.v_required.err = Required +male_family_planning_change_method.step3.no_condoms.v_min.err = Number must be equal or greater than 0 +male_family_planning_change_method.step1.reason_stop_fp_chw.options.others.text = Others +male_family_planning_change_method.step1.other_reason_fp_chw.hint = Other reason +male_family_planning_change_method.step2.fp_method_chosen.hint = Family planning method selected +male_family_planning_change_method.step1.reason_stop_fp_chw.v_required.err = Please select one option +male_family_planning_change_method.step3.counselling_use.values[1] = No +male_family_planning_change_method.step3.no_condoms.v_required.err = Equal or greater than 0 +male_family_planning_change_method.step3.title = Family planning method info +male_family_planning_change_method.step3.fp_male_ster_note.toaster_info_text = A note to inform the client that they should use condoms for the first three months after the sterialization to prevent pregnancy +male_family_planning_change_method.step1.reason_stop_fp_chw.options.decided_to_change_method.text = Decided to change method +male_family_planning_change_method.step1.reason_stop_fp_chw.options.side_effects.text = Side-effects +male_family_planning_change_method.step3.no_condoms.v_numeric_integer.err = Must be a rounded number +male_family_planning_change_method.step2.fp_method_chosen.values[2] = Male sterilization +male_family_planning_change_method.step2.fp_method_chosen.values[0] = Male condom +male_family_planning_change_method.step3.counselling_use.v_required.err = Please select one choice +male_family_planning_change_method.step3.referral_given.options.yes.text = Yes +male_family_planning_change_method.step1.other_reason_fp_chw.v_required.err = Required +male_family_planning_change_method.step1.title = Change or Stop FP form +male_family_planning_change_method.step1.side_effects_fp.v_required.err = Required +male_family_planning_change_method.step1.reason_stop_fp_chw.label = Reason the man is stopping his current family planning method +male_family_planning_change_method.step3.counselling_use.values[0] = Yes +male_family_planning_change_method.step3.no_condoms.hint = How many condoms was he given? +male_family_planning_change_method.step3.fp_male_ster_note.text = Advise the man to use condoms for the first 3 months to prevent pregnancy +male_family_planning_change_method.step1.reason_stop_fp_chw.options.doesnt_want_to_use_anymore.text = Doesn't want to use anymore +male_family_planning_change_method.step3.counselling_use.hint = Was he counselled on how to use the family planning method? +male_family_planning_change_method.step3.referral_given.label = Was he referred to the health facility? +male_family_planning_change_method.step2.fp_method_chosen.v_required.err = Please select one +male_family_planning_change_method.step3.fp_start_male_ster.hint = Date of male sterilization +male_family_planning_change_method.step1.reason_stop_fp_chw.options.wants_to_conceive.text = Wants to conceive +male_family_planning_change_method.step2.title = Family planning method diff --git a/opensrp-chw/src/ba/resources/male_family_planning_change_method_sw.properties b/opensrp-chw/src/ba/resources/male_family_planning_change_method_sw.properties new file mode 100644 index 0000000000..9e4c5e86c5 --- /dev/null +++ b/opensrp-chw/src/ba/resources/male_family_planning_change_method_sw.properties @@ -0,0 +1,35 @@ +male_family_planning_change_method.step2.fp_method_chosen.values[1] = Kondomu ya kike +male_family_planning_change_method.step3.referral_given.options.no.text = Hapana +male_family_planning_change_method.step3.referral_given.v_required.err = Tafadhali chagua chaguo moja +male_family_planning_change_method.step1.side_effects_fp.hint = Madhara +male_family_planning_change_method.step3.fp_start_male_ster.v_required.err = Required +male_family_planning_change_method.step3.no_condoms.v_min.err = Number must be equal or greater than 0 +male_family_planning_change_method.step1.reason_stop_fp_chw.options.others.text = Nyingine +male_family_planning_change_method.step1.other_reason_fp_chw.hint = Sababu nyingine +male_family_planning_change_method.step2.fp_method_chosen.hint = Njia za uzazi wa mpango selected +male_family_planning_change_method.step1.reason_stop_fp_chw.v_required.err = Tafadhali chagua chaguo moja +male_family_planning_change_method.step3.counselling_use.values[1] = Hapana +male_family_planning_change_method.step3.no_condoms.v_required.err = Equal or greater than 0 +male_family_planning_change_method.step3.title = Taarifa ya njia ya uzazi wa mpango +male_family_planning_change_method.step3.fp_male_ster_note.toaster_info_text = Shauri yeye kutumia kondomu kwa miezi mitatu kuzuia ujazito +male_family_planning_change_method.step1.reason_stop_fp_chw.options.decided_to_change_method.text = Aliamua kubadilisha mpango wa uzazi +male_family_planning_change_method.step1.reason_stop_fp_chw.options.side_effects.text = Madhara +male_family_planning_change_method.step3.no_condoms.v_numeric_integer.err = Must be a rounded number +male_family_planning_change_method.step2.fp_method_chosen.values[2] = Kufunga kizazi mwanammen +male_family_planning_change_method.step2.fp_method_chosen.values[0] = Kondomu ya kiume +male_family_planning_change_method.step3.counselling_use.v_required.err = Tafadhali chagua chaguo moja +male_family_planning_change_method.step3.referral_given.options.yes.text = Ndiyo +male_family_planning_change_method.step1.other_reason_fp_chw.v_required.err = Required +male_family_planning_change_method.step1.title = Change or Stop FP form +male_family_planning_change_method.step1.side_effects_fp.v_required.err = Required +male_family_planning_change_method.step1.reason_stop_fp_chw.label = Sababu za kuacha kutumia njia za uzazi wa mpango ya sasa +male_family_planning_change_method.step3.counselling_use.values[0] = Ndiyo +male_family_planning_change_method.step3.no_condoms.hint = Amepata vipande vya kondpmu vingapi? +male_family_planning_change_method.step3.fp_male_ster_note.text = Shauri yeye kutumia kondomu kwa miezi mitatu kuzuia ujazito +male_family_planning_change_method.step1.reason_stop_fp_chw.options.doesnt_want_to_use_anymore.text = Hataki kutumia sasa +male_family_planning_change_method.step3.counselling_use.hint = Je, mteja ameshauri jinsi ya kutumia njia za uzazi wa mpango? +male_family_planning_change_method.step3.referral_given.label = Rufaa iliyotolewa +male_family_planning_change_method.step2.fp_method_chosen.v_required.err = Tafadhali chagua chaguo moja +male_family_planning_change_method.step3.fp_start_male_ster.hint = Tarehe ya kufunga kizazi mwanamume +male_family_planning_change_method.step1.reason_stop_fp_chw.options.wants_to_conceive.text = Anataka mimba +male_family_planning_change_method.step2.title = Njia ya uzazi wa mpango diff --git a/opensrp-chw/src/ba/resources/male_family_planning_registration.properties b/opensrp-chw/src/ba/resources/male_family_planning_registration.properties new file mode 100644 index 0000000000..9f2b98d0e7 --- /dev/null +++ b/opensrp-chw/src/ba/resources/male_family_planning_registration.properties @@ -0,0 +1,40 @@ +male_family_planning_registration.step3.fp_male_ster_note.toaster_info_text = A note to inform the client that they should use condoms for the first three months after the sterialization to prevent pregnancy +male_family_planning_registration.step3.title = Family planning method info +male_family_planning_registration.step2.fp_method_chw.hint = Family planning method selected +male_family_planning_registration.step3.no_condoms.hint = How many condoms was he given? +male_family_planning_registration.step3.counselling_use.values[0] = Yes +male_family_planning_registration.step1.couselling_HIV_STI.label = Was he counselled on HIV and STI prevention? +male_family_planning_registration.step1.couselling_HIV_STI.options.no.text = No +male_family_planning_registration.step3.counselling_use.hint = Was he counselled on how to use the family planning method? +male_family_planning_registration.step3.fp_start_male_ster.hint = Date of male sterilization +male_family_planning_registration.step3.referral_given.options.no.text = No +male_family_planning_registration.step1.couselling_fp_methods.options.yes.text = Yes +male_family_planning_registration.step2.fp_method_already.values[0] = Male condom +male_family_planning_registration.step1.using_method.options.no.text = No +male_family_planning_registration.step2.fp_method_already.values[2] = Male sterilization +male_family_planning_registration.step1.using_method.v_required.err = Please select one choice +male_family_planning_registration.step1.couselling_fp_methods.options.no.text = No +male_family_planning_registration.step3.fp_start_male_ster.v_required.err = Required +male_family_planning_registration.step1.couselling_fp_methods.v_required.err = Please select one choice +male_family_planning_registration.step2.fp_method_chw.values[1] = Female condom +male_family_planning_registration.step1.title = Family planning registration Info +male_family_planning_registration.step2.fp_method_already.v_required.err = Please select one choice +male_family_planning_registration.step3.no_condoms.v_numeric_integer.err = Must be a rounded number +male_family_planning_registration.step1.using_method.label = Is the man already using a family planning method? +male_family_planning_registration.step3.no_condoms.v_required.err = Equal or greater than 0 +male_family_planning_registration.step3.counselling_use.v_required.err = Please select one choice +male_family_planning_registration.step2.fp_method_chw.v_required.err = Please select one choice +male_family_planning_registration.step3.counselling_use.values[1] = No +male_family_planning_registration.step3.no_condoms.v_min.err = Number must be equal or greater than 0 +male_family_planning_registration.step3.referral_given.label = Was he referred to the health facility? +male_family_planning_registration.step2.fp_method_already.values[1] = Female condom +male_family_planning_registration.step3.fp_male_ster_note.text = Advise the man to use condoms for the first 3 months to prevent pregnancy +male_family_planning_registration.step2.fp_method_already.hint = Family planning method selected +male_family_planning_registration.step1.couselling_fp_methods.label = Was he counselled on different family planning methods? +male_family_planning_registration.step3.referral_given.v_required.err = Please select one choice +male_family_planning_registration.step1.using_method.options.yes.text = Yes +male_family_planning_registration.step1.couselling_HIV_STI.options.yes.text = Yes +male_family_planning_registration.step2.fp_method_chw.values[0] = Male condom +male_family_planning_registration.step2.title = Family planning method +male_family_planning_registration.step1.couselling_HIV_STI.v_required.err = Please select one choice +male_family_planning_registration.step3.referral_given.options.yes.text = Yes diff --git a/opensrp-chw/src/ba/resources/male_family_planning_registration_sw.properties b/opensrp-chw/src/ba/resources/male_family_planning_registration_sw.properties new file mode 100644 index 0000000000..3833cc587d --- /dev/null +++ b/opensrp-chw/src/ba/resources/male_family_planning_registration_sw.properties @@ -0,0 +1,40 @@ +male_family_planning_registration.step3.fp_male_ster_note.toaster_info_text = Shauri yeye kutumia kondomu kwa miezi mitatu kuzuia ujazito +male_family_planning_registration.step3.title = Taarifa ya njia ya uzazi wa mpango +male_family_planning_registration.step2.fp_method_chw.hint = Njia za uzazi wa mpango selected +male_family_planning_registration.step3.no_condoms.hint = Amepata vipande vya kondpmu vingapi? +male_family_planning_registration.step3.counselling_use.values[0] = Ndiyo +male_family_planning_registration.step1.couselling_HIV_STI.label = Je, alishauriwa kuhusu kuzuia VVU na magonjwa ya zinaa? +male_family_planning_registration.step1.couselling_HIV_STI.options.no.text = Hapana +male_family_planning_registration.step3.counselling_use.hint = Je, mteja ameshauri jinsi ya kutumia njia za uzazi wa mpango? +male_family_planning_registration.step3.fp_start_male_ster.hint = Tarehe ya kufunga kizazi mwanamume +male_family_planning_registration.step3.referral_given.options.no.text = No +male_family_planning_registration.step1.couselling_fp_methods.options.yes.text = Ndiyo +male_family_planning_registration.step2.fp_method_already.values[0] = Kondomu ya kiume +male_family_planning_registration.step1.using_method.options.no.text = No +male_family_planning_registration.step2.fp_method_already.values[2] = Kufunga kizazi mwanamume +male_family_planning_registration.step1.using_method.v_required.err = Tafadhali chagua chaguo moja +male_family_planning_registration.step1.couselling_fp_methods.options.no.text = Hapana +male_family_planning_registration.step3.fp_start_male_ster.v_required.err = Required +male_family_planning_registration.step1.couselling_fp_methods.v_required.err = Tafadhali chagua chaguo moja +male_family_planning_registration.step2.fp_method_chw.values[1] = Kondomu ya kike +male_family_planning_registration.step1.title = Family planning registration Info +male_family_planning_registration.step2.fp_method_already.v_required.err = Tafadhali chagua chaguo moja +male_family_planning_registration.step3.no_condoms.v_numeric_integer.err = Must be a rounded number +male_family_planning_registration.step1.using_method.label = Je, anatumia aina ya uzazi wa mpango sasa hivi? +male_family_planning_registration.step3.no_condoms.v_required.err = Equal or greater than 0 +male_family_planning_registration.step3.counselling_use.v_required.err = Tafadhali chagua chaguo moja +male_family_planning_registration.step2.fp_method_chw.v_required.err = Tafadhali chagua chaguo moja +male_family_planning_registration.step3.counselling_use.values[1] = Hapana +male_family_planning_registration.step3.no_condoms.v_min.err = Number must be equal or greater than 0 +male_family_planning_registration.step3.referral_given.label = Rufaa iliyotolewa +male_family_planning_registration.step2.fp_method_already.values[1] = Kondomu ya kike +male_family_planning_registration.step3.fp_male_ster_note.text = Shauri yeye kutumia kondomu kwa miezi mitatu kuzuia ujazito +male_family_planning_registration.step2.fp_method_already.hint = Njia za uzazi wa mpango selected +male_family_planning_registration.step1.couselling_fp_methods.label = Je, alishauriwa kwa njia tofauti za uzazi wa mpango? +male_family_planning_registration.step3.referral_given.v_required.err = Tafadhali chagua chaguo moja +male_family_planning_registration.step1.using_method.options.yes.text = Ndiyo +male_family_planning_registration.step1.couselling_HIV_STI.options.yes.text = Ndiyo +male_family_planning_registration.step2.fp_method_chw.values[0] = Kondomu ya kiume +male_family_planning_registration.step2.title = Njia ya uzazi wa mpango +male_family_planning_registration.step1.couselling_HIV_STI.v_required.err = Tafadhali chagua chaguo moja +male_family_planning_registration.step3.referral_given.options.yes.text = Yes diff --git a/opensrp-chw/src/ba/resources/male_fp_referral_form.properties b/opensrp-chw/src/ba/resources/male_fp_referral_form.properties new file mode 100644 index 0000000000..f6e6b7730e --- /dev/null +++ b/opensrp-chw/src/ba/resources/male_fp_referral_form.properties @@ -0,0 +1,18 @@ +male_fp_referral_form.step1.fp_method_accepted_referral.options.Not_applicable.text = Not applicable +male_fp_referral_form.step1.fp_method_accepted_referral.options.None.text = None +male_fp_referral_form.step1.title = Family Planning Referral +male_fp_referral_form.step1.fp_method_accepted_referral.options.Male_condom.text = Male condom +male_fp_referral_form.step1.side_effects_sterialization.v_required.err = Please select a value +male_fp_referral_form.step1.fp_side_effects_other.hint = Other side effects +male_fp_referral_form.step1.side_effects_sterialization.label = Family planning side-effects +male_fp_referral_form.step1.side_effects_sterialization.options.Pus_Discharge_from_incision.text = Pus/Discharge from incision +male_fp_referral_form.step1.side_effects_sterialization.options.Incisional_bleeding.text = Incisional bleeding +male_fp_referral_form.step1.side_effects_sterialization.options.Others.text = Others +male_fp_referral_form.step1.fp_method_accepted_referral.options.Female_condom.text = Female condom +male_fp_referral_form.step1.side_effects_sterialization.options.None.text = None +male_fp_referral_form.step1.side_effects_sterialization.options.Swollen_around_the_incision.text = Swollen around the incision +male_fp_referral_form.step1.fp_method_accepted_referral.v_required.err = Please select a family planning method +male_fp_referral_form.step1.fp_method_accepted_referral.label = FP method chosen requiring a referral +male_fp_referral_form.step1.fp_side_effects_other.v_required.err = Please specify other side effects +male_fp_referral_form.step1.fp_method_accepted_referral.options.Male_sterilization.text = Male sterilization +male_fp_referral_form.step1.side_effects_sterialization.options.Not_applicable.text = Not applicable diff --git a/opensrp-chw/src/ba/resources/male_fp_referral_form_sw.properties b/opensrp-chw/src/ba/resources/male_fp_referral_form_sw.properties new file mode 100644 index 0000000000..544d7b7470 --- /dev/null +++ b/opensrp-chw/src/ba/resources/male_fp_referral_form_sw.properties @@ -0,0 +1,18 @@ +male_fp_referral_form.step1.fp_method_accepted_referral.options.Not_applicable.text = Si husika +male_fp_referral_form.step1.fp_method_accepted_referral.options.None.text = Hakuna +male_fp_referral_form.step1.title = Family Planning Referral +male_fp_referral_form.step1.fp_method_accepted_referral.options.Male_condom.text = Kondomu ya kiume +male_fp_referral_form.step1.side_effects_sterialization.v_required.err = Tafadhali chagua chaguo moja +male_fp_referral_form.step1.fp_side_effects_other.hint = Madhara mengineyo +male_fp_referral_form.step1.side_effects_sterialization.label = Madhara/maudhi yatokanayo na njia za uzazi wa mpango +male_fp_referral_form.step1.side_effects_sterialization.options.Pus_Discharge_from_incision.text = Kutokwa usaha +male_fp_referral_form.step1.side_effects_sterialization.options.Incisional_bleeding.text = Kutokwa damu +male_fp_referral_form.step1.side_effects_sterialization.options.Others.text = Madhara mengineyo +male_fp_referral_form.step1.fp_method_accepted_referral.options.Female_condom.text = Kondomu ya kike +male_fp_referral_form.step1.side_effects_sterialization.options.None.text = Hakuna +male_fp_referral_form.step1.side_effects_sterialization.options.Swollen_around_the_incision.text = Kuvimba kwenye kidonda +male_fp_referral_form.step1.fp_method_accepted_referral.v_required.err = Tafadhali chagua chaguo moja +male_fp_referral_form.step1.fp_method_accepted_referral.label = Njia ya uzazi wa mpango aliyochagua na anaohitaji rufaa +male_fp_referral_form.step1.fp_side_effects_other.v_required.err = Tafadhali taja madhara mengineyo +male_fp_referral_form.step1.fp_method_accepted_referral.options.Male_sterilization.text = Kufunga kizazi mwanamume +male_fp_referral_form.step1.side_effects_sterialization.options.Not_applicable.text = Si husika diff --git a/opensrp-chw/src/ba/resources/monthly_report.properties b/opensrp-chw/src/ba/resources/monthly_report.properties new file mode 100644 index 0000000000..cf09f321d8 --- /dev/null +++ b/opensrp-chw/src/ba/resources/monthly_report.properties @@ -0,0 +1,12 @@ +monthly_report.step3.title = Households (3 of 12) +monthly_report.step9.title = Condoms (9 of 12) +monthly_report.step10.title = Cycles (10 of 12) +monthly_report.step4.title = Referrals given (4 of 12) +monthly_report.step12.title = Fp Referrals (12 of 12) +monthly_report.step6.title = Birth and death information (6 of 12) +monthly_report.step8.title = Oral Contraceptive Pill (8 of 12) +monthly_report.step2.title = Newborns and Children Clients (2 of 12) +monthly_report.step11.title = Counseling (11 of 12) +monthly_report.step1.title = Women Clients (1 of 12) +monthly_report.step7.title = Family Planning (7 of 12) +monthly_report.step5.title = Health education meetings (5 of 12) diff --git a/opensrp-chw/src/ba/resources/monthly_report_sw.properties b/opensrp-chw/src/ba/resources/monthly_report_sw.properties new file mode 100644 index 0000000000..db571eb3cc --- /dev/null +++ b/opensrp-chw/src/ba/resources/monthly_report_sw.properties @@ -0,0 +1,12 @@ +monthly_report.step3.title = Kaya (3 ya 12) +monthly_report.step9.title = Kondomu (9 ya 12) +monthly_report.step10.title = Kalenda (10 ya 12) +monthly_report.step4.title = Rufaa zilizotolewa (4 ya 12) +monthly_report.step12.title = Rufaa (12 ya 12) +monthly_report.step6.title = Taarifa ya vizazi na vifo (6 ya 12) +monthly_report.step8.title = Vidonge (8 ya 12) +monthly_report.step2.title = Wateja watoto na watoto wachanga (2 ya 12) +monthly_report.step11.title = Ushauri (11 ya 12) +monthly_report.step1.title = Wateja wanawake (1 ya 12) +monthly_report.step7.title = Uzazi wa mpango (7 ya 12) +monthly_report.step5.title = Mikutano ya elimu ya afya (5 ya 12) diff --git a/opensrp-chw/src/ba/resources/observation_illness.properties b/opensrp-chw/src/ba/resources/observation_illness.properties new file mode 100644 index 0000000000..95c381a224 --- /dev/null +++ b/opensrp-chw/src/ba/resources/observation_illness.properties @@ -0,0 +1,15 @@ +observation_illness.step1.other_treat_1m5yr.hint = Other treatment +observation_illness.step1.illness_description.hint = Description +observation_illness.step1.date_of_illness.v_required.err = Please enter illness date +observation_illness.step1.date_of_illness.hint = Date +observation_illness.step1.action_taken_1m5yr.values[0] = ORS 5 +observation_illness.step1.action_taken_1m5yr.values[1] = Zinc 10 +observation_illness.step1.illness_description.v_required.err = Please enter description +observation_illness.step1.action_taken_1m5yr.values[2] = Panadol +observation_illness.step1.action_taken_1m5yr.values[3] = Referred +observation_illness.step1.action_taken_1m5yr.values[4] = Other treatment +observation_illness.step1.action_taken_1m5yr.values[5] = No treatment given +observation_illness.step1.action_taken_1m5yr.hint = Action taken +observation_illness.step1.action_taken_1m5yr.v_required.err = Please select action +observation_illness.step1.other_treat_1m5yr.v_required.err = Please specify the other treatment +observation_illness.step1.title = Observations & Illness diff --git a/opensrp-chw/src/ba/resources/observation_illness_sw.properties b/opensrp-chw/src/ba/resources/observation_illness_sw.properties new file mode 100644 index 0000000000..22b3b95a21 --- /dev/null +++ b/opensrp-chw/src/ba/resources/observation_illness_sw.properties @@ -0,0 +1,13 @@ +observation_illness.step1.other_treat_1m5yr.hint = Matibabu mengine +observation_illness.step1.illness_description.hint = Maelezo +observation_illness.step1.date_of_illness.v_required.err = Tafadhali ingiza tarehe ya ugonjwa +observation_illness.step1.date_of_illness.hint = Tarehe +observation_illness.step1.action_taken_1m5yr.values[0] = ORS 5 +observation_illness.step1.action_taken_1m5yr.values[1] = Zinc 10 +observation_illness.step1.illness_description.v_required.err = Tafadhali ingiza maelezo +observation_illness.step1.action_taken_1m5yr.values[2] = Panadol +observation_illness.step1.action_taken_1m5yr.values[3] = Matibabu mengine +observation_illness.step1.action_taken_1m5yr.hint = Hatua zilizochukuliwa +observation_illness.step1.action_taken_1m5yr.v_required.err = Please select action +observation_illness.step1.other_treat_1m5yr.v_required.err = Tafadhali taja matibabu mengine +observation_illness.step1.title = Uangulifu na muda ya ugonjwa diff --git a/opensrp-chw/src/ba/resources/pnc_counselling.properties b/opensrp-chw/src/ba/resources/pnc_counselling.properties new file mode 100644 index 0000000000..d726f72057 --- /dev/null +++ b/opensrp-chw/src/ba/resources/pnc_counselling.properties @@ -0,0 +1,22 @@ +pnc_counselling.step1.couselling_pnc.options.chk_breastfeeding.text = 16. Breastfeeding +pnc_counselling.step1.couselling_pnc.options.chk_immunisation.text = 22. Immunisation +pnc_counselling.step1.couselling_pnc.options.chk_family_planning.text = 18. Family planning +pnc_counselling.step1.couselling_pnc.options.chk_hiv_exposed_infant.text = 15. Follow-up for the HIV-exposed infant +pnc_counselling.step1.couselling_pnc.options.chk_pnc_danger_signs.text = 10. PNC danger signs +pnc_counselling.step1.couselling_pnc.options.chk_care_of_new_born.text = 13. Care of a newborn +pnc_counselling.step1.couselling_pnc.options.chk_lam.text = 17. LAM as a natural FP method, which includes exclusive breastfeeding six months after delivery +pnc_counselling.step1.couselling_pnc.options.chk_none.text = None +pnc_counselling.step1.couselling_pnc.options.chk_care_of_infant_after_birth.text = 11. Care of infant after birth +pnc_counselling.step1.title = Counselling +pnc_counselling.step1.couselling_pnc.options.chk_malaria_prevention.text = 7. Malaria prevention +pnc_counselling.step1.couselling_pnc.options.chk_new_born_danger_signs.text = 14. Newborn danger signs +pnc_counselling.step1.couselling_pnc.options.chk_infection_prevention.text = 24. Infection prevention and control +pnc_counselling.step1.couselling_pnc.v_required.err = Please pick at least one +pnc_counselling.step1.couselling_pnc.options.chk_hiv_aids.text = 5. HIV/AIDS general information +pnc_counselling.step1.couselling_pnc.options.chk_pmtct.text = 6. PMTCT for the mother +pnc_counselling.step1.couselling_pnc.options.chk_birth_registration.text = 19. Birth registration +pnc_counselling.step1.couselling_pnc.options.chk_pnc_care_for_mother.text = 9. PNC care for mother +pnc_counselling.step1.couselling_pnc.options.chk_maternal_nutrition.text = 3. Maternal nutrition during breastfeeding +pnc_counselling.step1.couselling_pnc.options.chk_gender_issues.text = 26. Gender issues +pnc_counselling.step1.couselling_pnc.label = Counselling provided +pnc_counselling.step1.couselling_pnc.options.chk_care_of_premature_baby.text = 12. Care of a premature baby diff --git a/opensrp-chw/src/ba/resources/pnc_counselling_sw.properties b/opensrp-chw/src/ba/resources/pnc_counselling_sw.properties new file mode 100644 index 0000000000..a0429448ab --- /dev/null +++ b/opensrp-chw/src/ba/resources/pnc_counselling_sw.properties @@ -0,0 +1,22 @@ +pnc_counselling.step1.couselling_pnc.options.chk_breastfeeding.text = 16. Unyonyeshaji wa mazima wa mama +pnc_counselling.step1.couselling_pnc.options.chk_immunisation.text = 22. Chanjo +pnc_counselling.step1.couselling_pnc.options.chk_family_planning.text = 18. Uzazi wa mpango +pnc_counselling.step1.couselling_pnc.options.chk_pnc_danger_signs.text = 10. Dalili za hatari mara baada ya kujifungua hadi siku arobaini na mbili ya uzazi +pnc_counselling.step1.couselling_pnc.options.chk_hiv_exposed_infant.text = 15. Ufuatiliaji wa mtoto aliyezaliwa na mama mwenye VVU +pnc_counselling.step1.couselling_pnc.options.chk_care_of_new_born.text = 13. Kumhudumia mtoto mchanga +pnc_counselling.step1.couselling_pnc.options.chk_lam.text = 17. Njia ya uzazi wa mpango ya unyonyeshaji maziwa ya mama pekee kwa kipindi cha miezi sita baada ya kujifungua (LAM) +pnc_counselling.step1.couselling_pnc.options.chk_none.text = Hakushauriwa +pnc_counselling.step1.couselling_pnc.options.chk_care_of_infant_after_birth.text = 11. Huduma kwa mtoto mchanga mara baada ya kuzaliwa +pnc_counselling.step1.title = Ushauri +pnc_counselling.step1.couselling_pnc.options.chk_malaria_prevention.text = 7. Kuzuia malaria kwa watoto wenye umri chini ya miaka mitano +pnc_counselling.step1.couselling_pnc.options.chk_new_born_danger_signs.text = 14. Dalili za hatari kwa mtoto mchanga +pnc_counselling.step1.couselling_pnc.options.chk_infection_prevention.text = 24. Kuzuia maambukizi katika jamii +pnc_counselling.step1.couselling_pnc.v_required.err = Tafadhali chagua angalau moja +pnc_counselling.step1.couselling_pnc.options.chk_hiv_aids.text = 5. Umuhimu wa kupata ushauri nasaha na kupima VVU +pnc_counselling.step1.couselling_pnc.options.chk_pmtct.text = 6. Kuzuia mambukizi ya VVU kutoka kwa mama kwenda kwa mtoto +pnc_counselling.step1.couselling_pnc.options.chk_birth_registration.text = 19. Usajili wa vizazi +pnc_counselling.step1.couselling_pnc.options.chk_pnc_care_for_mother.text = 9. Huduma kwa mama baada ya kujifungua +pnc_counselling.step1.couselling_pnc.options.chk_maternal_nutrition.text = 3. Lishe kwa mama wakati wa kunyonyesha +pnc_counselling.step1.couselling_pnc.options.chk_gender_issues.text = 26. Jinsia +pnc_counselling.step1.couselling_pnc.label = Ushauri uliotolewa +pnc_counselling.step1.couselling_pnc.options.chk_care_of_premature_baby.text = 12. Huduma kwa mtoto aliyezaliwa kabla ya muda wake / njiti au mtoto mwenye uzito pungufu diff --git a/opensrp-chw/src/ba/resources/pnc_danger_signs_baby.properties b/opensrp-chw/src/ba/resources/pnc_danger_signs_baby.properties new file mode 100644 index 0000000000..36383ae353 --- /dev/null +++ b/opensrp-chw/src/ba/resources/pnc_danger_signs_baby.properties @@ -0,0 +1,18 @@ +pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_unable_to_suck.text = Unable to suck +pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_excessive_crying.text = Excessive crying +pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_severe_abdominal_pain.text = Severe abdominal pain +pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_no_movement.text = No movement +pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_convulsions.text = Convulsions +pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_lethargy.text = Lethargy +pnc_danger_signs_baby.step1.danger_signs_present_child.label = Does the baby have any danger signs? +pnc_danger_signs_baby.step1.title = Danger Signs Baby +pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_fast_breathing.text = Fast breathing +pnc_danger_signs_baby.step1.danger_signs_present_toaster.text = Danger sign! \nRefer immediately to health facility. +pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_eye_discharge.text = Eye discharge +pnc_danger_signs_baby.step1.danger_signs_present_child.v_required.err = Please pick at least one +pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_umbilical_discharge.text = Umbilical blood / pus discharge +pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_pale.text = Pale or jaundiced +pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_difficult_breathing.text = Difficulty breathing +pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_fever.text = Fever +pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_skin_rashes.text = Skin rashes +pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_none.text = None diff --git a/opensrp-chw/src/ba/resources/pnc_danger_signs_baby_sw.properties b/opensrp-chw/src/ba/resources/pnc_danger_signs_baby_sw.properties new file mode 100644 index 0000000000..aa424cc5dd --- /dev/null +++ b/opensrp-chw/src/ba/resources/pnc_danger_signs_baby_sw.properties @@ -0,0 +1,18 @@ +pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_unable_to_suck.text = Kushindwa kunyonya au kumeza +pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_excessive_crying.text = Mtoto kulia sana +pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_severe_abdominal_pain.text = Maumivu makali ya tumbo +pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_no_movement.text = Hakuna harakati +pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_convulsions.text = Degedege / Mtukutiko wa mwili +pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_lethargy.text = Uchovu / Kulegea mwili +pnc_danger_signs_baby.step1.danger_signs_present_child.label = Je, mtoto mchanga ana dalili zozote za hatari? +pnc_danger_signs_baby.step1.title = Dalili za hatari kwa mtoto +pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_fast_breathing.text = Kupumua kwa haraka +pnc_danger_signs_baby.step1.danger_signs_present_toaster.text = Dalili za hatari! \nToa rufaa haraka kwenda kituo cha kutolea huduma za afya. +pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_eye_discharge.text = Macho kutoa uchafu / usaha +pnc_danger_signs_baby.step1.danger_signs_present_child.v_required.err = Tafadhali chagua angalau moja +pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_umbilical_discharge.text = Kutoka damu kwenye kitovu au usaha +pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_pale.text = Mwili kuwa njano +pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_difficult_breathing.text = Kushindwa kupumua +pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_fever.text = Homa +pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_skin_rashes.text = Vipele mwilini +pnc_danger_signs_baby.step1.danger_signs_present_child.options.chk_none.text = Hakuna diff --git a/opensrp-chw/src/ba/resources/pnc_danger_signs_mother.properties b/opensrp-chw/src/ba/resources/pnc_danger_signs_mother.properties new file mode 100644 index 0000000000..3bb4ed68de --- /dev/null +++ b/opensrp-chw/src/ba/resources/pnc_danger_signs_mother.properties @@ -0,0 +1,18 @@ +pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_server_headache.text = Severe headache +pnc_danger_signs_mother.step1.danger_signs_present_mama.v_required.err = Please pick at least one +pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_urination.text = Urinate a little or urine leakage +pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_bleeding_vaginally.text = Bleeding vaginally +pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_vaginal_discharge.text = Discoloured or watery, liquid vaginal discharge with a bad smell +pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_blurred_vision.text = Blurred vision +pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_fever.text = Fever +pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_unusual_behaviour.text = Unusual behaviour (stress, confusion) +pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_severe_abdominal_pain.text = Severe abdominal pain +pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_difficulty_breathing.text = Difficulty breathing +pnc_danger_signs_mother.step1.danger_signs_present_toaster.text = Danger sign! \nRefer immediately to health facility. +pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_loss_conscioueness.text = Loss of consciousness +pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_convulsions.text = Convulsions +pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_none.text = None +pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_severe_leg_pain.text = Severe leg pain +pnc_danger_signs_mother.step1.title = Danger Signs Mother +pnc_danger_signs_mother.step1.danger_signs_present_mama.label = Does the mother have any danger signs? +pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_swelling_of_breast.text = Swelling of the breast and nipple diff --git a/opensrp-chw/src/ba/resources/pnc_danger_signs_mother_sw.properties b/opensrp-chw/src/ba/resources/pnc_danger_signs_mother_sw.properties new file mode 100644 index 0000000000..f87a14a2fd --- /dev/null +++ b/opensrp-chw/src/ba/resources/pnc_danger_signs_mother_sw.properties @@ -0,0 +1,18 @@ +pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_server_headache.text = Maumivu ya kichwa +pnc_danger_signs_mother.step1.danger_signs_present_mama.v_required.err = Tafadhali chagua angalau moja +pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_urination.text = Kupata mkojo kidogo au kuvuja mkojo mfululizo +pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_bleeding_vaginally.text = Damu kutoka ukeni +pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_vaginal_discharge.text = Kutoka uchafu / majimaji ukeni yenye harufu mbaya +pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_blurred_vision.text = Kutoona vizuri +pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_fever.text = Homa +pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_unusual_behaviour.text = Tabia isiyo ya kawaida (msongo wa mawazo, kuchanganyikiwa) +pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_severe_abdominal_pain.text = Maumivu makali ya tumbo +pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_difficulty_breathing.text = Kupumua kwa shida +pnc_danger_signs_mother.step1.danger_signs_present_toaster.text = Dalili za hatari! \nMpe rufaa haraka kwenda kituo cha afya. +pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_loss_conscioueness.text = Kupoteza fahamu +pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_convulsions.text = Degedege / Mtukutiko wa mwili +pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_none.text = Hakuna +pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_severe_leg_pain.text = Maumivu makali kwenye misuli ya miguu +pnc_danger_signs_mother.step1.title = Dalili za hatari kwa mama +pnc_danger_signs_mother.step1.danger_signs_present_mama.label = Je, mama ana dalili zozote za hatari? +pnc_danger_signs_mother.step1.danger_signs_present_mama.options.chk_swelling_of_breast.text = Kuvimba kwa matiti na chuchu zilizo chanika diff --git a/opensrp-chw/src/ba/resources/pnc_exclusive_breastfeeding.properties b/opensrp-chw/src/ba/resources/pnc_exclusive_breastfeeding.properties new file mode 100644 index 0000000000..771f6353e9 --- /dev/null +++ b/opensrp-chw/src/ba/resources/pnc_exclusive_breastfeeding.properties @@ -0,0 +1,4 @@ +pnc_exclusive_breastfeeding.step1.title = Exclusive breastfeeding +pnc_exclusive_breastfeeding.step1.exclusive_breast_feeding.hint = Has the child been exclusively breastfeeding only? +pnc_exclusive_breastfeeding.step1.exclusive_breast_feeding.values[0] = Yes +pnc_exclusive_breastfeeding.step1.exclusive_breast_feeding.values[1] = No diff --git a/opensrp-chw/src/ba/resources/pnc_exclusive_breastfeeding_sw.properties b/opensrp-chw/src/ba/resources/pnc_exclusive_breastfeeding_sw.properties new file mode 100644 index 0000000000..47945fcff2 --- /dev/null +++ b/opensrp-chw/src/ba/resources/pnc_exclusive_breastfeeding_sw.properties @@ -0,0 +1,4 @@ +pnc_exclusive_breastfeeding.step1.title = Kunyonyeshwa maziwa ya mama pekee mwezi 0 +pnc_exclusive_breastfeeding.step1.exclusive_breast_feeding.hint = Je, mtoto amenyonyeshwa maziwa ya mama pekee? +pnc_exclusive_breastfeeding.step1.exclusive_breast_feeding.values[0] = Ndiyo +pnc_exclusive_breastfeeding.step1.exclusive_breast_feeding.values[1] = Hapana diff --git a/opensrp-chw/src/ba/resources/pnc_family_planning.properties b/opensrp-chw/src/ba/resources/pnc_family_planning.properties new file mode 100644 index 0000000000..ce4ebac713 --- /dev/null +++ b/opensrp-chw/src/ba/resources/pnc_family_planning.properties @@ -0,0 +1,23 @@ +pnc_family_planning.step1.fp_period_received.options.chk_during_pnc.text = During PNC +pnc_family_planning.step1.title = Family Planning +pnc_family_planning.step1.fp_start_date.v_required.err = Please enter the start date of method +pnc_family_planning.step1.fp_period_received.label = During what period was she counselled? +pnc_family_planning.step1.fp_method.values[5] = Standard day method +pnc_family_planning.step1.fp_start_date.hint = Start date +pnc_family_planning.step1.fp_method.values[4] = LAM +pnc_family_planning.step1.fp_method.values[3] = Condoms +pnc_family_planning.step1.fp_method.values[2] = Implant +pnc_family_planning.step1.fp_method.values[1] = Pills +pnc_family_planning.step1.fp_method.values[0] = PPIUCD +pnc_family_planning.step1.fp_method.v_required.err = Please select one +pnc_family_planning.step1.fp_method.values[8] = None +pnc_family_planning.step1.fp_method.values[7] = Permanent (Vascemtomy) +pnc_family_planning.step1.fp_method.values[6] = Permanent (BTL) +pnc_family_planning.step1.fp_counseling.hint = Was the mother recently counselled on family planning at the health facility? +pnc_family_planning.step1.fp_period_received.v_required.err = Please pick at least one +pnc_family_planning.step1.fp_period_received.options.chk_during_labour_and_delivery.text = During labour and delivery +pnc_family_planning.step1.fp_counseling.values[0] = Yes +pnc_family_planning.step1.fp_counseling.v_required.err = Please select one option +pnc_family_planning.step1.fp_period_received.options.chk_during_anc.text = During ANC +pnc_family_planning.step1.fp_method.hint = Family Planning method chosen? +pnc_family_planning.step1.fp_counseling.values[1] = No diff --git a/opensrp-chw/src/ba/resources/pnc_family_planning_sw.properties b/opensrp-chw/src/ba/resources/pnc_family_planning_sw.properties new file mode 100644 index 0000000000..68e9125a15 --- /dev/null +++ b/opensrp-chw/src/ba/resources/pnc_family_planning_sw.properties @@ -0,0 +1,23 @@ +pnc_family_planning.step1.fp_period_received.options.chk_during_pnc.text = Wakati wa huduma ya mama na mtoto wa baada ya kujifungua +pnc_family_planning.step1.title = Uzazi wa mpango +pnc_family_planning.step1.fp_start_date.v_required.err = Tafadhali ingiza tarehe +pnc_family_planning.step1.fp_period_received.label = Je, alipewa ushauri katika kipindi gani? +pnc_family_planning.step1.fp_method.values[5] = Shanga +pnc_family_planning.step1.fp_start_date.hint = Tarehe ya kuanza njia ya uzazi wa mpango +pnc_family_planning.step1.fp_method.values[4] = Njia ya uzazi wa mpango kwa unyonyeshaji (LAM) +pnc_family_planning.step1.fp_method.values[3] = Kondomu +pnc_family_planning.step1.fp_method.values[2] = Kipandikizi +pnc_family_planning.step1.fp_method.values[1] = Vidonge vya kumeza (POP) +pnc_family_planning.step1.fp_method.values[0] = Kitanzi +pnc_family_planning.step1.fp_method.v_required.err = Tafadhali chagua moja +pnc_family_planning.step1.fp_method.values[8] = Hakuchagua njia yoyote +pnc_family_planning.step1.fp_method.values[7] = Kufunga kizazi mwanamme +pnc_family_planning.step1.fp_method.values[6] = Kufunga kizazi mwanamke +pnc_family_planning.step1.fp_counseling.hint = Je, mama amepata ushauri juu ya uzazi wa mpango katika kituo cha kutolea huduma za afya hivi karibuni? +pnc_family_planning.step1.fp_period_received.v_required.err = Tafadhali chagua angalau moja +pnc_family_planning.step1.fp_period_received.options.chk_during_labour_and_delivery.text = Wakati wa uchungu na kujifungua +pnc_family_planning.step1.fp_counseling.values[0] = Ndiyo +pnc_family_planning.step1.fp_counseling.v_required.err = Tafadhali chagua chaguo moja +pnc_family_planning.step1.fp_period_received.options.chk_during_anc.text = Wakati wa kliniki ya wajawazito +pnc_family_planning.step1.fp_method.hint = Njia ya uzazi wa mpango uliyochagua? +pnc_family_planning.step1.fp_counseling.values[1] = Hapana diff --git a/opensrp-chw/src/ba/resources/pnc_health_facility_visit.properties b/opensrp-chw/src/ba/resources/pnc_health_facility_visit.properties new file mode 100644 index 0000000000..d9ee2baa99 --- /dev/null +++ b/opensrp-chw/src/ba/resources/pnc_health_facility_visit.properties @@ -0,0 +1,15 @@ +pnc_health_facility_visit.step1.ifa_mother.v_required.err = Please select option +pnc_health_facility_visit.step1.title = Health Facility Visit +pnc_health_facility_visit.step1.pnc_visit_{0}.values[0] = Yes +pnc_health_facility_visit.step1.pnc_visit_{0}.hint = Did the woman attend her PNC visit {0} at the health facility?\n\nVisit due date: {1} +pnc_health_facility_visit.step1.pnc_visit_{0}.values[1] = No +pnc_health_facility_visit.step1.ifa_mother.values[0] = Yes +pnc_health_facility_visit.step1.ifa_mother.hint = Did the woman receive iron and folic acid (IFA) tablets within 24 hours of delivery? +pnc_health_facility_visit.step1.ifa_mother.values[1] = No +pnc_health_facility_visit.step1.pnc_hf_visit{0}_date.v_required.err = Please enter date +pnc_health_facility_visit.step1.vit_a_mother.hint = Did the woman receive Vitamin A within 24 hours of delivery? +pnc_health_facility_visit.step1.pnc_hf_visit{0}_date.hint = Date of PNC health facility visit {0} +pnc_health_facility_visit.step1.pnc_visit_{0}.v_required.err = Please select option +pnc_health_facility_visit.step1.vit_a_mother.values[0] = Yes +pnc_health_facility_visit.step1.vit_a_mother.values[1] = No +pnc_health_facility_visit.step1.vit_a_mother.v_required.err = Please select option diff --git a/opensrp-chw/src/ba/resources/pnc_health_facility_visit_one.properties b/opensrp-chw/src/ba/resources/pnc_health_facility_visit_one.properties new file mode 100644 index 0000000000..e69de29bb2 diff --git a/opensrp-chw/src/ba/resources/pnc_health_facility_visit_one_sw.properties b/opensrp-chw/src/ba/resources/pnc_health_facility_visit_one_sw.properties new file mode 100644 index 0000000000..e69de29bb2 diff --git a/opensrp-chw/src/ba/resources/pnc_health_facility_visit_sw.properties b/opensrp-chw/src/ba/resources/pnc_health_facility_visit_sw.properties new file mode 100644 index 0000000000..065f60b71e --- /dev/null +++ b/opensrp-chw/src/ba/resources/pnc_health_facility_visit_sw.properties @@ -0,0 +1,15 @@ +pnc_health_facility_visit.step1.ifa_mother.v_required.err = Tafadhali chagua chaguo +pnc_health_facility_visit.step1.title = Hudhurio katika kituo cha kutolea huduma za afya ya mama na mtoto baada ya kujifungua +pnc_health_facility_visit.step1.pnc_visit_{0}.values[0] = Ndiyo +pnc_health_facility_visit.step1.pnc_visit_{0}.hint = Je, mama alihudhuria hudhurio la {0} la huduma ya mama na mtoto baada ya kujifungua katika kituo cha kutolea huduma za afya? \n\nTarehe ya hudhurio lingine: {1} +pnc_health_facility_visit.step1.pnc_visit_{0}.values[1] = Hapana +pnc_health_facility_visit.step1.ifa_mother.values[0] = Ndiyo +pnc_health_facility_visit.step1.ifa_mother.hint = Je, mama alipewa dawa za kuongeza damu (FEFO) ndani ya masaa 24 baada ya kujifungua? +pnc_health_facility_visit.step1.ifa_mother.values[1] = Hapana +pnc_health_facility_visit.step1.pnc_hf_visit{0}_date.v_required.err = Tafadhali ingiza tarehe +pnc_health_facility_visit.step1.vit_a_mother.hint = Je, mama alipewa Vitamini A ndani ya masaa 24 baada ya kujifungua? +pnc_health_facility_visit.step1.pnc_hf_visit{0}_date.hint = Tarehe ya hudhurio la {0} la huduma ya mama na mtoto baada ya kujifungua +pnc_health_facility_visit.step1.pnc_visit_{0}.v_required.err = Tafadhali chagua chaguo +pnc_health_facility_visit.step1.vit_a_mother.values[0] = Ndiyo +pnc_health_facility_visit.step1.vit_a_mother.values[1] = Hapana +pnc_health_facility_visit.step1.vit_a_mother.v_required.err = Tafadhali chagua chaguo diff --git a/opensrp-chw/src/ba/resources/pnc_health_facility_visit_two.properties b/opensrp-chw/src/ba/resources/pnc_health_facility_visit_two.properties new file mode 100644 index 0000000000..dd211c68b7 --- /dev/null +++ b/opensrp-chw/src/ba/resources/pnc_health_facility_visit_two.properties @@ -0,0 +1,7 @@ +pnc_health_facility_visit_two.step1.pnc_visit_{0}.hint = Did the woman attend her PNC visit {0} at the health facility?\n\nVisit due date: {1} +pnc_health_facility_visit_two.step1.pnc_visit_{0}.values[0] = Yes +pnc_health_facility_visit_two.step1.title = Health Facility Visit +pnc_health_facility_visit_two.step1.pnc_hf_visit{0}_date.v_required.err = Please enter date +pnc_health_facility_visit_two.step1.pnc_visit_{0}.values[1] = No +pnc_health_facility_visit_two.step1.pnc_visit_{0}.v_required.err = Please select option +pnc_health_facility_visit_two.step1.pnc_hf_visit{0}_date.hint = Date of PNC health facility visit {0} diff --git a/opensrp-chw/src/ba/resources/pnc_health_facility_visit_two_sw.properties b/opensrp-chw/src/ba/resources/pnc_health_facility_visit_two_sw.properties new file mode 100644 index 0000000000..a3d1e86fa7 --- /dev/null +++ b/opensrp-chw/src/ba/resources/pnc_health_facility_visit_two_sw.properties @@ -0,0 +1,7 @@ +pnc_health_facility_visit_two.step1.pnc_visit_{0}.hint = Je, mama alihudhuria hudhurio la {0} la huduma ya mama na mtoto baada ya kujifungua katika kituo cha kutolea huduma za afya?\n\nTarehe ya hudhurio lingine: {1} +pnc_health_facility_visit_two.step1.pnc_visit_{0}.values[0] = Ndiyo +pnc_health_facility_visit_two.step1.title = Hudhurio katika kituo cha kutolea huduma za afya ya mama na mtoto baada ya kujifungua +pnc_health_facility_visit_two.step1.pnc_hf_visit{0}_date.v_required.err = Tafadhali ingiza tarehe +pnc_health_facility_visit_two.step1.pnc_visit_{0}.values[1] = Hapana +pnc_health_facility_visit_two.step1.pnc_visit_{0}.v_required.err = Tafadhali chagua chaguo +pnc_health_facility_visit_two.step1.pnc_hf_visit{0}_date.hint = Tarehe ya hudhurio la {0} la huduma ya mama na mtoto baada ya kujifungua diff --git a/opensrp-chw/src/ba/resources/pnc_hv_danger_signs.properties b/opensrp-chw/src/ba/resources/pnc_hv_danger_signs.properties new file mode 100644 index 0000000000..9b10ae12d2 --- /dev/null +++ b/opensrp-chw/src/ba/resources/pnc_hv_danger_signs.properties @@ -0,0 +1,20 @@ +pnc_hv_danger_signs.step1.danger_signs_present.label = Does the mother have any danger signs? +pnc_hv_danger_signs.step1.danger_signs_counseling.values[1] = No +pnc_hv_danger_signs.step1.title = PNC Danger Signs +pnc_hv_danger_signs.step1.danger_signs_present.options.chk_swelling.text = Swelling of the face and/or hands +pnc_hv_danger_signs.step1.danger_signs_present.options.chk_severe_abdominal_pain.text = Severe abdominal pain +pnc_hv_danger_signs.step1.danger_signs_counseling.hint = Did the mother receive counselling on danger signs at the health facility recently? +pnc_hv_danger_signs.step1.danger_signs_present.options.chk_difficulty_breathing.text = Difficulty breathing +pnc_hv_danger_signs.step1.danger_signs_counseling.values[0] = Yes +pnc_hv_danger_signs.step1.danger_signs_present.options.chk_unusual_movement.text = No movement / unusual movement for a child in the womb +pnc_hv_danger_signs.step1.danger_signs_present_toaster.text = Danger sign! \nRefer immediately to health facility. +pnc_hv_danger_signs.step1.danger_signs_present.v_required.err = Please pick at least one +pnc_hv_danger_signs.step1.danger_signs_counseling.v_required.err = Please select one option +pnc_hv_danger_signs.step1.danger_signs_present.options.chk_server_headache.text = Severe headache +pnc_hv_danger_signs.step1.danger_signs_present.options.chk_convulsions.text = Convulsions +pnc_hv_danger_signs.step1.danger_signs_counseling.label_info_text = Did the mother receive counselling on danger signs at the health facility recently? +pnc_hv_danger_signs.step1.danger_signs_present.options.chk_fever.text = Fever +pnc_hv_danger_signs.step1.danger_signs_present.options.chk_bleeding_vaginally.text = Bleeding vaginally +pnc_hv_danger_signs.step1.danger_signs_present.options.chk_none.text = None +pnc_hv_danger_signs.step1.danger_signs_present.options.chk_vaginal_discharge.text = Discoloured or watery, liquid vaginal discharge with a bad smell +pnc_hv_danger_signs.step1.danger_signs_counseling.label_info_title = Did the mother receive counselling diff --git a/opensrp-chw/src/ba/resources/pnc_hv_observations_infant.properties b/opensrp-chw/src/ba/resources/pnc_hv_observations_infant.properties new file mode 100644 index 0000000000..dee3156d09 --- /dev/null +++ b/opensrp-chw/src/ba/resources/pnc_hv_observations_infant.properties @@ -0,0 +1,14 @@ +pnc_hv_observations_infant.step1.illness_description_child.hint = Description +pnc_hv_observations_infant.step1.date_of_illness_child.hint = Date +pnc_hv_observations_infant.step1.illness_description_child.v_required.err = Please enter the description +pnc_hv_observations_infant.step1.action_taken_child.options.chk_ors.text = ORS 5 +pnc_hv_observations_infant.step1.other_treatment_illness_child.v_required.err = Please enter the illness details +pnc_hv_observations_infant.step1.title = Observations & Illness - Child +pnc_hv_observations_infant.step1.other_treatment_illness_child.hint = Other treatment +pnc_hv_observations_infant.step1.date_of_illness_child.v_required.err = Please enter the date of illness +pnc_hv_observations_infant.step1.action_taken_child.options.chk_none.text = No treatment given +pnc_hv_observations_infant.step1.action_taken_child.label = Action taken +pnc_hv_observations_infant.step1.action_taken_child.options.chk_paracetamol.text = Panadol +pnc_hv_observations_infant.step1.action_taken_child.options.chk_referred.text = Referred +pnc_hv_observations_infant.step1.action_taken_child.options.chk_zinc.text = Zinc 10 +pnc_hv_observations_infant.step1.action_taken_child.options.chk_other_treatment.text = Other treatment diff --git a/opensrp-chw/src/ba/resources/pnc_hv_observations_infant_sw.properties b/opensrp-chw/src/ba/resources/pnc_hv_observations_infant_sw.properties new file mode 100644 index 0000000000..e441df7806 --- /dev/null +++ b/opensrp-chw/src/ba/resources/pnc_hv_observations_infant_sw.properties @@ -0,0 +1,14 @@ +pnc_hv_observations_infant.step1.illness_description_child.hint = Maelezo +pnc_hv_observations_infant.step1.date_of_illness_child.hint = Tarehe +pnc_hv_observations_infant.step1.illness_description_child.v_required.err = Tafadhali ingiza maelezo +pnc_hv_observations_infant.step1.action_taken_child.options.chk_ors.text = ORS 5 +pnc_hv_observations_infant.step1.other_treatment_illness_child.v_required.err = Tafadhali ingiza maelezo ya ugonjwa +pnc_hv_observations_infant.step1.title = Uchunguzi na ugonjwa kwa mtoto +pnc_hv_observations_infant.step1.other_treatment_illness_child.hint = Matibabu mengine +pnc_hv_observations_infant.step1.date_of_illness_child.v_required.err = Tafadhali ingiza tarehe ya shida +pnc_hv_observations_infant.step1.action_taken_child.options.chk_none.text = Hajapata matibabu +pnc_hv_observations_infant.step1.action_taken_child.label = Hatua zilizochukuliwa +pnc_hv_observations_infant.step1.action_taken_child.options.chk_paracetamol.text = Panadol +pnc_hv_observations_infant.step1.action_taken_child.options.chk_referred.text = Amepewa rufaa +pnc_hv_observations_infant.step1.action_taken_child.options.chk_zinc.text = Zinc 10 +pnc_hv_observations_infant.step1.action_taken_child.options.chk_other_treatment.text = Matibabu mengine diff --git a/opensrp-chw/src/ba/resources/pnc_hv_observations_mother.properties b/opensrp-chw/src/ba/resources/pnc_hv_observations_mother.properties new file mode 100644 index 0000000000..e16eeb63ad --- /dev/null +++ b/opensrp-chw/src/ba/resources/pnc_hv_observations_mother.properties @@ -0,0 +1,14 @@ +pnc_hv_observations_mother.step1.action_taken_mama.label = Action taken +pnc_hv_observations_mother.step1.action_taken_mama.options.chk_zinc.text = Zinc 10 +pnc_hv_observations_mother.step1.action_taken_mama.options.chk_paracetamol.text = Panadol +pnc_hv_observations_mother.step1.other_treatment_illness_mama.v_required.err = Please enter the illness details +pnc_hv_observations_mother.step1.other_treatment_illness_mama.hint = Other treatment +pnc_hv_observations_mother.step1.action_taken_mama.options.chk_other_treatment.text = Other treatment +pnc_hv_observations_mother.step1.action_taken_mama.options.chk_none.text = No treatment given +pnc_hv_observations_mother.step1.date_of_illness_mama.v_required.err = Please enter the date of illness +pnc_hv_observations_mother.step1.action_taken_mama.options.chk_ors.text = ORS 5 +pnc_hv_observations_mother.step1.date_of_illness_mama.hint = Date +pnc_hv_observations_mother.step1.action_taken_mama.options.chk_referred.text = Referred +pnc_hv_observations_mother.step1.illness_description_mama.v_required.err = Please enter the description +pnc_hv_observations_mother.step1.illness_description_mama.hint = Description +pnc_hv_observations_mother.step1.title = Observations & Illness - Mama diff --git a/opensrp-chw/src/ba/resources/pnc_hv_observations_mother_sw.properties b/opensrp-chw/src/ba/resources/pnc_hv_observations_mother_sw.properties new file mode 100644 index 0000000000..997be39fd2 --- /dev/null +++ b/opensrp-chw/src/ba/resources/pnc_hv_observations_mother_sw.properties @@ -0,0 +1,14 @@ +pnc_hv_observations_mother.step1.action_taken_mama.label = Hatua zilizochukuliwa +pnc_hv_observations_mother.step1.action_taken_mama.options.chk_zinc.text = Zinc 10 +pnc_hv_observations_mother.step1.action_taken_mama.options.chk_paracetamol.text = Panadol +pnc_hv_observations_mother.step1.other_treatment_illness_mama.v_required.err = Tafadhali ingiza maelezo ya ugonjwa +pnc_hv_observations_mother.step1.other_treatment_illness_mama.hint = Matibabu mengine +pnc_hv_observations_mother.step1.action_taken_mama.options.chk_other_treatment.text = Matibabu mengine +pnc_hv_observations_mother.step1.action_taken_mama.options.chk_none.text = Hajapata matibabu +pnc_hv_observations_mother.step1.date_of_illness_mama.v_required.err = Tafadhali ingiza tarehe ya ugonjwa +pnc_hv_observations_mother.step1.action_taken_mama.options.chk_ors.text = ORS 5 +pnc_hv_observations_mother.step1.date_of_illness_mama.hint = Tarehe +pnc_hv_observations_mother.step1.action_taken_mama.options.chk_referred.text = Amepewa rufaa +pnc_hv_observations_mother.step1.illness_description_mama.v_required.err = Tafadhali ingiza maelezo +pnc_hv_observations_mother.step1.illness_description_mama.hint = Maelezo +pnc_hv_observations_mother.step1.title = Uchunguzi na ugonjwa kwa mama diff --git a/opensrp-chw/src/ba/resources/pnc_malaria_prevention.properties b/opensrp-chw/src/ba/resources/pnc_malaria_prevention.properties new file mode 100644 index 0000000000..c5f7a8b162 --- /dev/null +++ b/opensrp-chw/src/ba/resources/pnc_malaria_prevention.properties @@ -0,0 +1,13 @@ +pnc_malaria_prevention.step1.llin_2days.hint = Did she sleep under the LLIN last night? +pnc_malaria_prevention.step1.llin_condition.values[1] = Bad +pnc_malaria_prevention.step1.llin_2days.v_required.err = Please select one option +pnc_malaria_prevention.step1.fam_llin.v_required.err = Please select one option +pnc_malaria_prevention.step1.llin_condition.values[0] = Okay +pnc_malaria_prevention.step1.llin_2days.values[1] = No +pnc_malaria_prevention.step1.llin_condition.v_required.err = Please select one option +pnc_malaria_prevention.step1.llin_2days.values[0] = Yes +pnc_malaria_prevention.step1.llin_condition.hint = LLIN condition +pnc_malaria_prevention.step1.title = Malaria Prevention +pnc_malaria_prevention.step1.fam_llin.hint = Does she have a long lasting insecticide net (LLIN)? +pnc_malaria_prevention.step1.fam_llin.values[1] = No +pnc_malaria_prevention.step1.fam_llin.values[0] = Yes diff --git a/opensrp-chw/src/ba/resources/pnc_malaria_prevention_sw.properties b/opensrp-chw/src/ba/resources/pnc_malaria_prevention_sw.properties new file mode 100644 index 0000000000..b5aa5f028f --- /dev/null +++ b/opensrp-chw/src/ba/resources/pnc_malaria_prevention_sw.properties @@ -0,0 +1,13 @@ +pnc_malaria_prevention.step1.llin_2days.hint = Je, amelala kwenye chandarua chenye viuwatilifu vya muda mrefu usiku uliopita? +pnc_malaria_prevention.step1.llin_condition.values[1] = Mbovu +pnc_malaria_prevention.step1.llin_2days.v_required.err = Tafadhali chagua chaguo moja +pnc_malaria_prevention.step1.fam_llin.v_required.err = Tafadhali chagua chaguo moja +pnc_malaria_prevention.step1.llin_condition.values[0] = Nzima +pnc_malaria_prevention.step1.llin_2days.values[1] = Hapana +pnc_malaria_prevention.step1.llin_condition.v_required.err = Tafadhali chagua chaguo moja +pnc_malaria_prevention.step1.llin_2days.values[0] = Ndiyo +pnc_malaria_prevention.step1.llin_condition.hint = Hali ya chandarua chenye viuwatilifu vya muda mrefu kinachotumika +pnc_malaria_prevention.step1.title = Kuzuia malaria +pnc_malaria_prevention.step1.fam_llin.hint = Je, ana chandarua chenye viuwatilifu vya muda mrefu? +pnc_malaria_prevention.step1.fam_llin.values[1] = Hapana +pnc_malaria_prevention.step1.fam_llin.values[0] = Ndiyo diff --git a/opensrp-chw/src/ba/resources/pnc_nutrition_status_infant.properties b/opensrp-chw/src/ba/resources/pnc_nutrition_status_infant.properties new file mode 100644 index 0000000000..dcc3922d75 --- /dev/null +++ b/opensrp-chw/src/ba/resources/pnc_nutrition_status_infant.properties @@ -0,0 +1,6 @@ +pnc_nutrition_status_infant.step1.nutrition_status_1m.hint = Nutrition status of infant +pnc_nutrition_status_infant.step1.nutrition_status_1m.v_required.err = Please select one option +pnc_nutrition_status_infant.step1.nutrition_status_1m.values[2] = Severe/Red +pnc_nutrition_status_infant.step1.title = Nutrition Status - Baby +pnc_nutrition_status_infant.step1.nutrition_status_1m.values[1] = Moderate/Yellow +pnc_nutrition_status_infant.step1.nutrition_status_1m.values[0] = Normal/Green diff --git a/opensrp-chw/src/ba/resources/pnc_nutrition_status_infant_sw.properties b/opensrp-chw/src/ba/resources/pnc_nutrition_status_infant_sw.properties new file mode 100644 index 0000000000..fd6bacfc16 --- /dev/null +++ b/opensrp-chw/src/ba/resources/pnc_nutrition_status_infant_sw.properties @@ -0,0 +1,6 @@ +pnc_nutrition_status_infant.step1.nutrition_status_1m.hint = Hali ya lishe ya mtoto mchanga +pnc_nutrition_status_infant.step1.nutrition_status_1m.v_required.err = Tafadhali chagua chaguo moja +pnc_nutrition_status_infant.step1.nutrition_status_1m.values[2] = Dhaifu/Nyekundu +pnc_nutrition_status_infant.step1.title = Hali ya lishe ya mtoto +pnc_nutrition_status_infant.step1.nutrition_status_1m.values[1] = Kadri/Njano +pnc_nutrition_status_infant.step1.nutrition_status_1m.values[0] = Nzuri/Kijani diff --git a/opensrp-chw/src/ba/resources/pnc_nutrition_status_mother.properties b/opensrp-chw/src/ba/resources/pnc_nutrition_status_mother.properties new file mode 100644 index 0000000000..d69bddf753 --- /dev/null +++ b/opensrp-chw/src/ba/resources/pnc_nutrition_status_mother.properties @@ -0,0 +1,6 @@ +pnc_nutrition_status_mother.step1.nutrition_status_mama.values[0] = Normal/Green +pnc_nutrition_status_mother.step1.nutrition_status_mama.values[1] = Moderate/Yellow +pnc_nutrition_status_mother.step1.nutrition_status_mama.values[2] = Severe/Red +pnc_nutrition_status_mother.step1.title = Nutrition Status - Mother +pnc_nutrition_status_mother.step1.nutrition_status_mama.hint = Nutrition status of woman +pnc_nutrition_status_mother.step1.nutrition_status_mama.v_required.err = Please select one option diff --git a/opensrp-chw/src/ba/resources/pnc_nutrition_status_mother_sw.properties b/opensrp-chw/src/ba/resources/pnc_nutrition_status_mother_sw.properties new file mode 100644 index 0000000000..808a1eb76f --- /dev/null +++ b/opensrp-chw/src/ba/resources/pnc_nutrition_status_mother_sw.properties @@ -0,0 +1,6 @@ +pnc_nutrition_status_mother.step1.nutrition_status_mama.values[0] = Nzuri/Kijani +pnc_nutrition_status_mother.step1.nutrition_status_mama.values[1] = Kadri/Njano +pnc_nutrition_status_mother.step1.nutrition_status_mama.values[2] = Dhaifu/Nyekundu +pnc_nutrition_status_mother.step1.title = Hali ya lishe ya mama +pnc_nutrition_status_mother.step1.nutrition_status_mama.hint = Hali ya lishe ya mama +pnc_nutrition_status_mother.step1.nutrition_status_mama.v_required.err = Tafadhali chagua chaguo moja diff --git a/opensrp-chw/src/ba/resources/pnc_referral_form.properties b/opensrp-chw/src/ba/resources/pnc_referral_form.properties new file mode 100644 index 0000000000..be1b1b9c73 --- /dev/null +++ b/opensrp-chw/src/ba/resources/pnc_referral_form.properties @@ -0,0 +1,48 @@ +pnc_referral_form.step1.problem_hf_pnc.options.Excessive_crying.text = Excessive crying +pnc_referral_form.step1.problem_hf_pnc.options.Bacterial_conjunctivitis.text = Bacterial conjunctivitis +pnc_referral_form.step1.problem_hf_pnc.options.Cyanosis_blueness_of_lips.text = Cyanosis (blueness of lips) +pnc_referral_form.step1.problem_hf_pnc.options.Unable_to_breastfeed_or_swallow.text = Unable to breastfeed or swallow +pnc_referral_form.step1.problem_hf_pnc.options.Other_symptom.text = Other symptom +pnc_referral_form.step1.problem_hf_pnc.options.HIV_care_and_support_services.text = HIV care and support services +pnc_referral_form.step1.problem_hf_pnc.options.Family_planning_services.text = Family planning services +pnc_referral_form.step1.problem_hf_pnc.options.Nausea.text = Nausea +pnc_referral_form.step1.problem_hf_pnc.options.Care_of_HIV_exposed_infant.text = Care of HIV-exposed infant +pnc_referral_form.step1.problem_hf_pnc.v_required.err = Please specify client condition/problem +pnc_referral_form.step1.problem_hf_pnc.options.A_severe_headache_dizziness.text = A severe headache / dizziness +pnc_referral_form.step1.service_before_pnc.v_required.err = Pre-referral management field is required +pnc_referral_form.step1.title = PNC referral form +pnc_referral_form.step1.problem_hf_pnc.options.Cord_prolapse.text = Cord prolapse +pnc_referral_form.step1.problem_hf_pnc.label = Client condition / problem +pnc_referral_form.step1.problem_hf_pnc.options.Skin_rash_pustules.text = Skin rash / pustules +pnc_referral_form.step1.problem_hf_pnc.options.Umbilical_cord.text = Umbilical cord/navel bleeding +pnc_referral_form.step1.service_before_pnc_other.hint = Other treatment +pnc_referral_form.step1.problem_hf_pnc.options.Immunisation.text = Immunisation +pnc_referral_form.step1.service_before_pnc.options.None.text = None +pnc_referral_form.step1.problem_hf_pnc.options.Severe_abdominal_pain.text = Severe abdominal pain +pnc_referral_form.step1.problem_hf_pnc.options.Neck_stiffness.text = Neck stiffness +pnc_referral_form.step1.problem_hf_pnc.options.Premature_baby.text = Premature baby +pnc_referral_form.step1.problem_hf_pnc.options.Fistula.text = Fistula +pnc_referral_form.step1.problem_hf_pnc.options.Vomiting.text = Vomiting +pnc_referral_form.step1.problem_hf_pnc.options.Bloating.text = Bloating +pnc_referral_form.step1.problem_hf_pnc_other.hint = Other symptom +pnc_referral_form.step1.service_before_pnc.options.Panadol.text = Panadol +pnc_referral_form.step1.problem_hf_pnc.options.Fullness_or_pain_of_the_breasts.text = Breast engorgement +pnc_referral_form.step1.service_before_pnc.options.ORS.text = ORS +pnc_referral_form.step1.problem_hf_pnc.options.Disabilities.text = Congenital Disabilities +pnc_referral_form.step1.problem_hf_pnc.options.Pale_or_jaundiced.text = Pale or jaundiced +pnc_referral_form.step1.problem_hf_pnc.options.Diarrhea.text = Diarrhea +pnc_referral_form.step1.problem_hf_pnc.options.PMTCT_for_mothers.text = PMTCT for mothers +pnc_referral_form.step1.problem_hf_pnc.options.Swelling_of_the_face_and_or_hands.text = Swelling of the face and/or hands +pnc_referral_form.step1.problem_hf_pnc.options.Fast_breathing_and_difficulty_with_breathing.text = Fast breathing and difficulty with breathing +pnc_referral_form.step1.problem_hf_pnc.options.Redness_around_the_umbilical_cord_foul.text = Redness around the umbilical cord, foul-smelling discharge from the umbilical cord +pnc_referral_form.step1.service_before_pnc.options.Other_treatment.text = Other treatment +pnc_referral_form.step1.problem_hf_pnc.options.Discoloured_or_watery_liquid_vaginal_discharge.text = Discoloured or watery, liquid vaginal discharge with a bad smell +pnc_referral_form.step1.problem_hf_pnc.options.Perineum_bleeding.text = Perineum bleeding +pnc_referral_form.step1.service_before_pnc_other.v_required.err = Please specify other treatment +pnc_referral_form.step1.problem_hf_pnc.options.Vaginal_bleeding.text = Vaginal bleeding +pnc_referral_form.step1.problem_hf_pnc.options.Severe_anaemia.text = Severe anaemia +pnc_referral_form.step1.service_before_pnc.label = Pre-referral management given +pnc_referral_form.step1.problem_hf_pnc.options.Fever.text = Fever +pnc_referral_form.step1.problem_hf_pnc.options.Shivering_trembling.text = Shivering/trembling +pnc_referral_form.step1.problem_hf_pnc.options.Convulsions.text = Convulsions +pnc_referral_form.step1.problem_hf_pnc.options.Failure_to_pass_urine_or_stool.text = Failure to pass urine or stool within 24 hours after birth diff --git a/opensrp-chw/src/ba/resources/pnc_referral_form_sw.properties b/opensrp-chw/src/ba/resources/pnc_referral_form_sw.properties new file mode 100644 index 0000000000..a6b29c3398 --- /dev/null +++ b/opensrp-chw/src/ba/resources/pnc_referral_form_sw.properties @@ -0,0 +1,48 @@ +pnc_referral_form.step1.problem_hf_pnc.options.Excessive_crying.text = Mtoto kulia sana +pnc_referral_form.step1.problem_hf_pnc.options.Bacterial_conjunctivitis.text = Macho kutoa uchafu / usaa +pnc_referral_form.step1.problem_hf_pnc.options.Cyanosis_blueness_of_lips.text = Kubadilika kwa sababu ya kukosa hewa(midomo kuwa bluu,ulimi au viganja) +pnc_referral_form.step1.problem_hf_pnc.options.Unable_to_breastfeed_or_swallow.text = Kushindwa kunyonya au kumeza +pnc_referral_form.step1.problem_hf_pnc.options.Other_symptom.text = Dalili nyingine +pnc_referral_form.step1.problem_hf_pnc.options.HIV_care_and_support_services.text = Huduma za wateja / wagonjwa wanaoishi na VVU +pnc_referral_form.step1.problem_hf_pnc.options.Family_planning_services.text = Huduma za uzazi wa mpango +pnc_referral_form.step1.problem_hf_pnc.options.Nausea.text = Kichefuchefu +pnc_referral_form.step1.problem_hf_pnc.options.Care_of_HIV_exposed_infant.text = Huduma za kumsaidia mtoto aliyezaliwa na mama mwenye VVU +pnc_referral_form.step1.problem_hf_pnc.v_required.err = Tafadhali taja hali ya mteja / shida +pnc_referral_form.step1.problem_hf_pnc.options.A_severe_headache_dizziness.text = Maumivu makali ya kichwa / kizunguzungu +pnc_referral_form.step1.service_before_pnc.v_required.err = Pre-referral management field is required +pnc_referral_form.step1.title = Rufaa kwa mama na mtoto baada ya kujifungua +pnc_referral_form.step1.problem_hf_pnc.options.Cord_prolapse.text = Kutangulia kitovu cha mtoto +pnc_referral_form.step1.problem_hf_pnc.label = Tatizo / hali ya afya ya mteja +pnc_referral_form.step1.problem_hf_pnc.options.Skin_rash_pustules.text = Vipele mwilini +pnc_referral_form.step1.problem_hf_pnc.options.Umbilical_cord.text = Kutoka damu kwenye kitovu cha mtoto +pnc_referral_form.step1.service_before_pnc_other.hint = Matibabu mengine +pnc_referral_form.step1.problem_hf_pnc.options.Immunisation.text = Huduma za chanjo +pnc_referral_form.step1.service_before_pnc.options.None.text = Hajapata matibabu +pnc_referral_form.step1.problem_hf_pnc.options.Severe_abdominal_pain.text = Maumivu makali ya tumboni +pnc_referral_form.step1.problem_hf_pnc.options.Neck_stiffness.text = Shingo kukakamaa +pnc_referral_form.step1.problem_hf_pnc.options.Premature_baby.text = Mtoto aliyezaliwa na Uzito pungufu/ njiti +pnc_referral_form.step1.problem_hf_pnc.options.Fistula.text = Fistula +pnc_referral_form.step1.problem_hf_pnc.options.Vomiting.text = Kutapika +pnc_referral_form.step1.problem_hf_pnc.options.Bloating.text = Tumbo kujaa +pnc_referral_form.step1.problem_hf_pnc_other.hint = Dalili nyingine +pnc_referral_form.step1.service_before_pnc.options.Panadol.text = Panadol +pnc_referral_form.step1.problem_hf_pnc.options.Fullness_or_pain_of_the_breasts.text = Kujaa au maumivu ya matiti, chuchu, na kushindwa kunyonyesha +pnc_referral_form.step1.service_before_pnc.options.ORS.text = ORS +pnc_referral_form.step1.problem_hf_pnc.options.Disabilities.text = Kuzaliwa na ulemavu +pnc_referral_form.step1.problem_hf_pnc.options.Pale_or_jaundiced.text = Mwili kuwa njano +pnc_referral_form.step1.problem_hf_pnc.options.Diarrhea.text = Kuharisha +pnc_referral_form.step1.problem_hf_pnc.options.PMTCT_for_mothers.text = Huduma ya kuzuia maambukizi ya VVU toka kwa mama kwenda kwa mtoto +pnc_referral_form.step1.problem_hf_pnc.options.Swelling_of_the_face_and_or_hands.text = Kuvimba uso na / au mikono +pnc_referral_form.step1.problem_hf_pnc.options.Fast_breathing_and_difficulty_with_breathing.text = Kushindwa kupumua +pnc_referral_form.step1.problem_hf_pnc.options.Redness_around_the_umbilical_cord_foul.text = Uambukizo kwenye kitovu +pnc_referral_form.step1.service_before_pnc.options.Other_treatment.text = Matibabu mengine +pnc_referral_form.step1.problem_hf_pnc.options.Discoloured_or_watery_liquid_vaginal_discharge.text = Kutoka uchafu / majimaji ukeni yenye harufu mbaya +pnc_referral_form.step1.problem_hf_pnc.options.Perineum_bleeding.text = Kuchanika msamba +pnc_referral_form.step1.service_before_pnc_other.v_required.err = Tafadhali taja matibabu mengine +pnc_referral_form.step1.problem_hf_pnc.options.Vaginal_bleeding.text = Kutoka damu ukenig +pnc_referral_form.step1.problem_hf_pnc.options.Severe_anaemia.text = Upungufu mkubwa wa damu (weupe wa kiganja) +pnc_referral_form.step1.service_before_pnc.label = Huduma aliyopewa kabla ya rufaa +pnc_referral_form.step1.problem_hf_pnc.options.Fever.text = Homa +pnc_referral_form.step1.problem_hf_pnc.options.Shivering_trembling.text = Kutetemeka +pnc_referral_form.step1.problem_hf_pnc.options.Convulsions.text = Degedege / mtukutiko wa mwili +pnc_referral_form.step1.problem_hf_pnc.options.Failure_to_pass_urine_or_stool.text = Kushindwa kukojoa au kutopata haja kubwa kwa muda wa saa 24 baada ya kuzaliwa diff --git a/opensrp-chw/src/ba/resources/referral_followup_form.properties b/opensrp-chw/src/ba/resources/referral_followup_form.properties new file mode 100644 index 0000000000..58234fb45f --- /dev/null +++ b/opensrp-chw/src/ba/resources/referral_followup_form.properties @@ -0,0 +1 @@ +referral_followup_form.step1.title = Referral followup diff --git a/opensrp-chw/src/ba/resources/routine_home_visit.properties b/opensrp-chw/src/ba/resources/routine_home_visit.properties new file mode 100644 index 0000000000..07504ee147 --- /dev/null +++ b/opensrp-chw/src/ba/resources/routine_home_visit.properties @@ -0,0 +1,18 @@ +routine_home_visit.step1.counselling_1m5yrs.options.chk_immunization.text = 22. Immunisation +routine_home_visit.step1.counselling_1m5yrs.options.chk_none.text = None +routine_home_visit.step1.counselling_1m5yrs.options.chk_growth_and_dev.text = 21. Growth and development +routine_home_visit.step1.counselling_1m5yrs.options.chk_complementary_feeding.text = 20. Complementary feeding +routine_home_visit.step1.counselling_1m5yrs.options.chk_maternal_nutrition.text = 3. Maternal nutrition during breastfeeding +routine_home_visit.step1.counselling_1m5yrs.options.chk_newborn_danger.text = 23. Newborn danger signs +routine_home_visit.step1.counselling_1m5yrs.options.chk_prevention_of_accidents.text = 25. Prevention of accidents +routine_home_visit.step1.counselling_1m5yrs.options.chk_infection.text = 24. Infection prevention and control +routine_home_visit.step1.counselling_1m5yrs.label = Counselling provided +routine_home_visit.step1.counselling_1m5yrs.options.chk_breast_feeding.text = 16. Breastfeeding +routine_home_visit.step1.counselling_1m5yrs.options.chk_hiv_aids.text = 5. HIV/AIDS general information +routine_home_visit.step1.counselling_1m5yrs.options.chk_malaria_prevention.text = 7. Malaria prevention +routine_home_visit.step1.counselling_1m5yrs.options.chk_gender_issues.text = 26. Gender issues +routine_home_visit.step1.title = Counselling +routine_home_visit.step1.counselling_1m5yrs.v_required.err = Please specify any other symptoms or select none +routine_home_visit.step1.counselling_1m5yrs.options.chk_hiv_exposed_infant.text = 15. Follow-up for the HIV-exposed infant +routine_home_visit.step1.counselling_1m5yrs.options.chk_birth_registration.text = 19. Birth registration +routine_home_visit.step1.counselling_1m5yrs.options.chk_pmtc_for_mother.text = 6. PMTCT for the mother diff --git a/opensrp-chw/src/ba/resources/routine_home_visit_sw.properties b/opensrp-chw/src/ba/resources/routine_home_visit_sw.properties new file mode 100644 index 0000000000..86a260ac1f --- /dev/null +++ b/opensrp-chw/src/ba/resources/routine_home_visit_sw.properties @@ -0,0 +1,18 @@ +routine_home_visit.step1.counselling_1m5yrs.options.chk_immunization.text = 22. Chanjo +routine_home_visit.step1.counselling_1m5yrs.options.chk_none.text = Hajafanya +routine_home_visit.step1.counselling_1m5yrs.options.chk_growth_and_dev.text = 21. Makuzi na maendeleo ya awali ya mtoto +routine_home_visit.step1.counselling_1m5yrs.options.chk_complementary_feeding.text = 20. Kumlisha mtoto vyakula vya nyongeza +routine_home_visit.step1.counselling_1m5yrs.options.chk_maternal_nutrition.text = 3. Lishe kwa mama wakati wa kunyonyesha +routine_home_visit.step1.counselling_1m5yrs.options.chk_newborn_danger.text = 23. Dalili za hatari kwa mtoto mchanga +routine_home_visit.step1.counselling_1m5yrs.options.chk_prevention_of_accidents.text = 25. Kuzuia ajali kwa watoto chini ya miaka Mitano +routine_home_visit.step1.counselling_1m5yrs.options.chk_infection.text = 24. Kuzuia maambukizi katika jamii +routine_home_visit.step1.counselling_1m5yrs.label = Ushauri uliotolewa +routine_home_visit.step1.counselling_1m5yrs.options.chk_breast_feeding.text = 16. Unyonyeshaji wa maziwa ya mama +routine_home_visit.step1.counselling_1m5yrs.options.chk_hiv_aids.text = 5. Umuhimu wa kupata ushauri nasaha na kupima VVU +routine_home_visit.step1.counselling_1m5yrs.options.chk_malaria_prevention.text = 7. Kuzuia malaria kwa watoto wenye umri chini ya miaka mitano +routine_home_visit.step1.counselling_1m5yrs.options.chk_gender_issues.text = 26. Jinsia +routine_home_visit.step1.title = Ushauri +routine_home_visit.step1.counselling_1m5yrs.v_required.err = Tafadhali taja dalili zingine zozote au uchague hajafanya +routine_home_visit.step1.counselling_1m5yrs.options.chk_hiv_exposed_infant.text = 15. Ufuatiliaji wa mtoto aliyezaliwa na mama mwenye VVU +routine_home_visit.step1.counselling_1m5yrs.options.chk_birth_registration.text = 19. Usajili wa vizazi +routine_home_visit.step1.counselling_1m5yrs.options.chk_pmtc_for_mother.text = 6. Kuzuia mambukizi ya VVU kutoka kwa mama kwenda kwa mtoto diff --git a/opensrp-chw/src/ba/resources/stock_usage_report.properties b/opensrp-chw/src/ba/resources/stock_usage_report.properties new file mode 100644 index 0000000000..f87b2cf49d --- /dev/null +++ b/opensrp-chw/src/ba/resources/stock_usage_report.properties @@ -0,0 +1,6 @@ +stock_usage_report.step1.stock_usage.hint = Stock Usage +stock_usage_report.step1.stock_month.hint = Stock Month +stock_usage_report.step1.stock_name.hint = Stock Name +stock_usage_report.step1.title = Stock Report +stock_usage_report.step1.stock_year.hint = Stock Year +stock_usage_report.step1.stock_provider.hint = Stock Provider diff --git a/opensrp-chw/src/ba/resources/stock_usage_report_sw.properties b/opensrp-chw/src/ba/resources/stock_usage_report_sw.properties new file mode 100644 index 0000000000..80e51f866f --- /dev/null +++ b/opensrp-chw/src/ba/resources/stock_usage_report_sw.properties @@ -0,0 +1,6 @@ +stock_usage_report.step1.stock_usage.hint = Matumizi ya Hisa +stock_usage_report.step1.stock_month.hint = Mwezi wa Hisa +stock_usage_report.step1.stock_name.hint = Jina la Hisa +stock_usage_report.step1.title = Ripoti ya Hisa +stock_usage_report.step1.stock_year.hint = Mwaka wa Hisa +stock_usage_report.step1.stock_provider.hint = Mtoaji wa Hisa diff --git a/opensrp-chw/src/chad/assets/ec_client_classification.json b/opensrp-chw/src/chad/assets/ec_client_classification.json new file mode 100644 index 0000000000..a33a10c326 --- /dev/null +++ b/opensrp-chw/src/chad/assets/ec_client_classification.json @@ -0,0 +1,158 @@ +{ + "case_classification_rules": [ + { + "comment": "Patient: This rule checks whether a given case belongs to register", + "rule": { + "type": "event", + "fields": [ + { + "field": "eventType", + "field_value": "Family Registration", + "creates_case": [ + "ec_family" + ] + }, + { + "field": "eventType", + "field_value": "Family Member Registration", + "creates_case": [ + "ec_family_member" + ] + }, + { + "field": "eventType", + "field_value": "Child Registration", + "creates_case": [ + "ec_child", + "ec_family_member" + ] + }, + { + "field": "eventType", + "field_value": "PNC Child Registration", + "creates_case": [ + "ec_child", + "ec_family_member" + ] + }, + { + "field": "eventType", + "field_value": "Update Family Registration", + "creates_case": [ + "ec_family" + ] + }, + { + "field": "eventType", + "field_value": "Update Family Member Registration", + "creates_case": [ + "ec_family_member" + ] + }, + { + "field": "eventType", + "field_value": "Update Child Registration", + "creates_case": [ + "ec_child", + "ec_family_member" + ] + }, + { + "field": "eventType", + "field_value": "Update Family Relations", + "creates_case": [ + "ec_family" + ] + }, + { + "field": "eventType", + "field_value": "Update Family Member Relations", + "creates_case": [ + "ec_family_member" + ] + }, + { + "field": "eventType", + "field_value": "Child Home Visit", + "creates_case": [ + "ec_child", + "ec_child_activity" + ] + }, + { + "field": "eventType", + "field_value": "Visit not done", + "creates_case": [ + "ec_child", + "ec_child_activity" + ] + }, + { + "field": "eventType", + "field_value": "Birth Certification", + "creates_case": [ + "ec_child" + ] + }, + { + "field": "eventType", + "field_value": "Observations Illness", + "creates_case": [ + "ec_child" + ] + }, + { + "field": "eventType", + "field_value": "ANC Registration", + "creates_case": [ + "ec_anc_register", + "ec_anc_log" + ] + }, + { + "field": "eventType", + "field_value": "ANC Home Visit", + "creates_case": [ + "ec_anc_register" + ] + }, + { + "field": "eventType", + "field_value": "Pregnancy Outcome", + "closes_case": [ + "ec_anc_register" + ] + }, + { + "field": "eventType", + "field_value": "Pregnancy Outcome", + "creates_case": [ + "ec_pregnancy_outcome" + ] + }, + { + "field": "eventType", + "field_value": "PNC Home Visit", + "creates_case": [ + "ec_pregnancy_outcome" + ] + }, + { + "field": "eventType", + "field_value": "update_thinkmd_id", + "creates_case": [ + "ec_child" + ] + }, + { + "field": "eventType", + "field_value": "thinkMd_assessment", + "creates_case": [ + "ec_child" + ] + } + ] + } + } + ] +} \ No newline at end of file diff --git a/opensrp-chw/src/chad/assets/ec_client_fields.json b/opensrp-chw/src/chad/assets/ec_client_fields.json new file mode 100644 index 0000000000..bb33332665 --- /dev/null +++ b/opensrp-chw/src/chad/assets/ec_client_fields.json @@ -0,0 +1,833 @@ +{ + "bindobjects": [ + { + "name": "ec_family", + "columns": [ + { + "column_name": "base_entity_id", + "type": "Client", + "json_mapping": { + "field": "baseEntityId" + } + }, + { + "column_name": "unique_id", + "type": "Client", + "json_mapping": { + "field": "identifiers.opensrp_id" + } + }, + { + "column_name": "first_name", + "type": "Client", + "json_mapping": { + "field": "firstName" + } + }, + { + "column_name": "last_name", + "type": "Client", + "json_mapping": { + "field": "lastName" + } + }, + { + "column_name": "village_town", + "type": "Client", + "json_mapping": { + "field": "addresses.cityVillage" + } + }, + { + "column_name": "quarter_clan", + "type": "Client", + "json_mapping": { + "field": "addresses.commune" + } + }, + { + "column_name": "street", + "type": "Client", + "json_mapping": { + "field": "addresses.street" + } + }, + { + "column_name": "landmark", + "type": "Client", + "json_mapping": { + "field": "addresses.landmark" + } + }, + { + "column_name": "gps", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "163277AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "fam_source_income", + "type": "Client", + "json_mapping": { + "field": "attributes.fam_source_income" + } + }, + { + "column_name": "family_head", + "type": "Client", + "json_mapping": { + "field": "relationships.family_head" + } + }, + { + "column_name": "primary_caregiver", + "type": "Client", + "json_mapping": { + "field": "relationships.primary_caregiver" + } + }, + { + "column_name": "last_interacted_with", + "type": "Event", + "json_mapping": { + "field": "version" + } + }, + { + "column_name": "date_removed", + "type": "Client", + "json_mapping": { + "field": "attributes.dateRemoved" + } + }, + { + "column_name": "entity_type", + "type": "Event", + "json_mapping": { + "field": "entityType" + } + } + ] + }, + { + "name": "ec_family_member", + "columns": [ + { + "column_name": "base_entity_id", + "type": "Client", + "json_mapping": { + "field": "baseEntityId" + } + }, + { + "column_name": "unique_id", + "type": "Client", + "json_mapping": { + "field": "identifiers.opensrp_id" + } + }, + { + "column_name": "relational_id", + "type": "Client", + "json_mapping": { + "field": "relationships.family" + } + }, + { + "column_name": "first_name", + "type": "Client", + "json_mapping": { + "field": "firstName" + } + }, + { + "column_name": "middle_name", + "type": "Client", + "json_mapping": { + "field": "middleName" + } + }, + { + "column_name": "last_name", + "type": "Client", + "json_mapping": { + "field": "lastName" + } + }, + { + "column_name": "dob", + "type": "Client", + "json_mapping": { + "field": "birthdate" + } + }, + { + "column_name": "dod", + "type": "Client", + "json_mapping": { + "field": "deathdate" + } + }, + { + "column_name": "dob_unknown", + "type": "Client", + "json_mapping": { + "field": "birthdateApprox" + } + }, + { + "column_name": "gender", + "type": "Client", + "json_mapping": { + "field": "gender" + } + }, + { + "column_name": "ever_school", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "everSchool" + } + }, + { + "column_name": "school_level", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "schoolLevel" + } + }, + { + "column_name": "phone_number", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "159635AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "other_phone_number", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "highest_edu_level", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1712AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "national_id", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "163084AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "entity_type", + "type": "Event", + "json_mapping": { + "field": "entityType" + } + }, + { + "column_name": "last_interacted_with", + "type": "Event", + "json_mapping": { + "field": "version" + } + }, + { + "column_name": "date_removed", + "type": "Client", + "json_mapping": { + "field": "attributes.dateRemoved" + } + }, + { + "column_name": "marital_status", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + } + ] + }, + { + "name": "ec_child", + "columns": [ + { + "column_name": "base_entity_id", + "type": "Client", + "json_mapping": { + "field": "baseEntityId" + } + }, + { + "column_name": "thinkmd_id", + "type": "Client", + "json_mapping": { + "field": "identifiers.thinkmd_id" + } + }, + { + "column_name": "thinkmd_fhir_bundle", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "thinkmd_fhir_bundle" + } + }, + { + "column_name": "care_plan_date", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "carePlanDate" + } + }, + { + "column_name": "unique_id", + "type": "Client", + "json_mapping": { + "field": "identifiers.opensrp_id" + } + }, + { + "column_name": "relational_id", + "type": "Client", + "json_mapping": { + "field": "relationships.family" + } + }, + { + "column_name": "mother_entity_id", + "type": "Client", + "json_mapping": { + "field": "relationships.mother" + } + }, + { + "column_name": "entry_point", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "entry_point" + } + }, + { + "column_name": "first_name", + "type": "Client", + "json_mapping": { + "field": "firstName" + } + }, + { + "column_name": "middle_name", + "type": "Client", + "json_mapping": { + "field": "middleName" + } + }, + { + "column_name": "last_name", + "type": "Client", + "json_mapping": { + "field": "lastName" + } + }, + { + "column_name": "dob", + "type": "Client", + "json_mapping": { + "field": "birthdate" + } + }, + { + "column_name": "dod", + "type": "Client", + "json_mapping": { + "field": "deathdate" + } + }, + { + "column_name": "dob_unknown", + "type": "Client", + "json_mapping": { + "field": "birthdateApprox" + } + }, + { + "column_name": "gender", + "type": "Client", + "json_mapping": { + "field": "gender" + } + }, + { + "column_name": "early_bf_1hr", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "161543AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "low_birth_weight", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1431AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "physically_challenged", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "159522AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "last_interacted_with", + "type": "Event", + "json_mapping": { + "field": "version" + } + }, + { + "column_name": "last_home_visit", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "formSubmissionField": "last_home_visit" + } + }, + { + "column_name": "visit_not_done", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "formSubmissionField": "visit_not_done" + } + }, + { + "column_name": "date_removed", + "type": "Client", + "json_mapping": { + "field": "attributes.dateRemoved" + } + }, + { + "column_name": "date_created", + "type": "Client", + "json_mapping": { + "field": "dateCreated" + } + }, + { + "column_name": "birth_cert", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "165406AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "birth_cert_issue_date", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "164129AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "birth_cert_num", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "162052AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "birth_notification", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "165405AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "date_of_illness", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1730AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "illness_description", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1390AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "action_taken", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "164378AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "vaccine_card", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "formSubmissionField": "vaccine_card" + } + } + ] + }, + { + "name": "ec_child_activity", + "columns": [ + { + "column_name": "event_id", + "type": "Event", + "json_mapping": { + "field": "eventId" + } + }, + { + "column_name": "relational_id", + "type": "Client", + "json_mapping": { + "field": "relationships.family" + } + }, + { + "column_name": "form_submission_id", + "type": "Event", + "json_mapping": { + "field": "formSubmissionId" + } + }, + { + "column_name": "base_entity_id", + "type": "Client", + "json_mapping": { + "field": "baseEntityId" + } + }, + { + "column_name": "event_type", + "type": "Event", + "json_mapping": { + "field": "eventType" + } + }, + { + "column_name": "last_home_visit", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "formSubmissionField": "last_home_visit" + } + }, + { + "column_name": "visit_not_done", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "formSubmissionField": "visit_not_done" + } + }, + { + "column_name": "event_date", + "type": "Event", + "json_mapping": { + "field": "eventDate" + } + }, + { + "column_name": "date_removed", + "type": "Client", + "json_mapping": { + "field": "attributes.dateRemoved" + } + } + ] + }, + { + "name": "ec_anc_register", + "columns": [ + { + "column_name": "base_entity_id", + "type": "Event", + "json_mapping": { + "field": "baseEntityId" + } + }, + { + "column_name": "relational_id", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "relational_id" + } + }, + { + "column_name": "last_interacted_with", + "type": "Event", + "json_mapping": { + "field": "version" + } + }, + { + "column_name": "last_menstrual_period", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1427AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "gest_age", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1438AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "edd", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "5596AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "no_prev_preg", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1438AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "gravida", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "5624AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "no_surv_children", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "164894AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "phone_number", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "159635AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "marital_status", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "last_home_visit", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "anc_visit_date" + } + }, + { + "column_name": "visit_not_done", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "anc_visit_not_done_date" + } + }, + { + "column_name": "anc_card", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1719AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "confirmed_visits", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "confirmed_visits" + } + }, + { + "column_name": "last_contact_visit", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "159590AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "has_anc_card", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1719AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + } + ] + }, + { + "name": "ec_pregnancy_outcome", + "columns": [ + { + "column_name": "base_entity_id", + "type": "Event", + "json_mapping": { + "field": "baseEntityId" + } + }, + { + "column_name": "relational_id", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "relational_id" + } + }, + { + "column_name": "preg_outcome", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "161033AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "miscarriage_date", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "165248AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "delivery_date", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "5599AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "delivery_place", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1572AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "last_visit_date", + "type": "Event", + "data_type": "date", + "source_format": "dd-MM-yyyy", + "save_format": "yyyy-MM-dd", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "pnc_visit_date" + } + }, + { + "column_name": "next_visit_date", + "type": "Event", + "data_type": "date", + "source_format": "dd-MM-yyyy", + "save_format": "yyyy-MM-dd", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "next_visit_date" + } + }, + { + "column_name": "last_health_facility_visit_date", + "type": "Event", + "data_type": "date", + "source_format": "dd-MM-yyyy", + "save_format": "yyyy-MM-dd", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "last_health_facility_visit_date" + } + }, + { + "column_name": "confirmed_health_facility_visits", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "confirmed_health_facility_visits" + } + }, + { + "column_name": "last_interacted_with", + "type": "Event", + "json_mapping": { + "field": "version" + } + } + ] + }, + { + "name": "ec_anc_log", + "columns": [ + { + "column_name": "base_entity_id", + "type": "Event", + "json_mapping": { + "field": "baseEntityId" + } + }, + { + "column_name": "date_created", + "type": "Event", + "json_mapping": { + "field": "eventDate" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/opensrp-chw/src/chad/java/org/smartregister/chw/activity/AncMedicalHistoryActivityFlv.java b/opensrp-chw/src/chad/java/org/smartregister/chw/activity/AncMedicalHistoryActivityFlv.java index fa9b988ef9..65841f8f8c 100644 --- a/opensrp-chw/src/chad/java/org/smartregister/chw/activity/AncMedicalHistoryActivityFlv.java +++ b/opensrp-chw/src/chad/java/org/smartregister/chw/activity/AncMedicalHistoryActivityFlv.java @@ -1,6 +1,5 @@ package org.smartregister.chw.activity; -import org.smartregister.chw.core.activity.DefaultAncMedicalHistoryActivityFlv; +public class AncMedicalHistoryActivityFlv extends DefaultChwAncMedicalHistoryActivityFlv { -public class AncMedicalHistoryActivityFlv extends DefaultAncMedicalHistoryActivityFlv { } diff --git a/opensrp-chw/src/chad/java/org/smartregister/chw/activity/HivProfileActivityFlv.java b/opensrp-chw/src/chad/java/org/smartregister/chw/activity/HivProfileActivityFlv.java new file mode 100644 index 0000000000..dd5af7c454 --- /dev/null +++ b/opensrp-chw/src/chad/java/org/smartregister/chw/activity/HivProfileActivityFlv.java @@ -0,0 +1,4 @@ +package org.smartregister.chw.activity; + +public class HivProfileActivityFlv extends DefaultHivProfileActivityFlv { +} diff --git a/opensrp-chw/src/chad/java/org/smartregister/chw/activity/TbProfileActivityFlv.java b/opensrp-chw/src/chad/java/org/smartregister/chw/activity/TbProfileActivityFlv.java new file mode 100644 index 0000000000..524838ce9e --- /dev/null +++ b/opensrp-chw/src/chad/java/org/smartregister/chw/activity/TbProfileActivityFlv.java @@ -0,0 +1,4 @@ +package org.smartregister.chw.activity; + +public class TbProfileActivityFlv extends DefaultTbProfileActivityFlv { +} diff --git a/opensrp-chw/src/chad/java/org/smartregister/chw/application/ChwApplicationFlv.java b/opensrp-chw/src/chad/java/org/smartregister/chw/application/ChwApplicationFlv.java index 538e82908e..41c16707ce 100644 --- a/opensrp-chw/src/chad/java/org/smartregister/chw/application/ChwApplicationFlv.java +++ b/opensrp-chw/src/chad/java/org/smartregister/chw/application/ChwApplicationFlv.java @@ -1,4 +1,8 @@ package org.smartregister.chw.application; public class ChwApplicationFlv extends DefaultChwApplicationFlv { + @Override + public boolean useThinkMd() { + return true; + } } diff --git a/opensrp-chw/src/chad/java/org/smartregister/chw/repository/ChwRepositoryFlv.java b/opensrp-chw/src/chad/java/org/smartregister/chw/repository/ChwRepositoryFlv.java index 321bd126ce..f3de88ea1e 100644 --- a/opensrp-chw/src/chad/java/org/smartregister/chw/repository/ChwRepositoryFlv.java +++ b/opensrp-chw/src/chad/java/org/smartregister/chw/repository/ChwRepositoryFlv.java @@ -5,6 +5,7 @@ import net.sqlcipher.database.SQLiteDatabase; import org.smartregister.chw.anc.repository.VisitRepository; +import org.smartregister.chw.util.ChildDBConstants; import org.smartregister.chw.util.RepositoryUtils; import org.smartregister.domain.db.Column; import org.smartregister.immunization.repository.RecurringServiceRecordRepository; @@ -54,6 +55,18 @@ public static void onUpgrade(Context context, SQLiteDatabase db, int oldVersion, case 10: upgradeToVersion10(db, oldVersion); break; + case 11: + upgradeToVersion11(context,db); + break; + case 12: + upgradeToVersion12(db); + break; + case 13: + upgradeToVersion13(db); + break; + case 14: + upgradeToVersion14(db); + break; default: break; } @@ -61,6 +74,14 @@ public static void onUpgrade(Context context, SQLiteDatabase db, int oldVersion, } } + private static void upgradeToVersion14(SQLiteDatabase db) { + try { + db.execSQL("ALTER TABLE ec_family_member ADD COLUMN marital_status VARCHAR;"); + } catch (Exception e) { + Timber.e(e, "upgradeToVersion14"); + } + } + private static void upgradeToVersion2(Context context, SQLiteDatabase db) { try { @@ -74,9 +95,6 @@ private static void upgradeToVersion2(Context context, SQLiteDatabase db) { // EventClientRepository.createTable(db, EventClientRepository.Table.path_reports, EventClientRepository.report_column.values()); db.execSQL(VaccineRepository.UPDATE_TABLE_ADD_HIA2_STATUS_COL); - - IMDatabaseUtils.accessAssetsAndFillDataBaseForVaccineTypes(context, db); - } catch (Exception e) { Timber.e(e, "upgradeToVersion2 "); } @@ -147,6 +165,9 @@ private static void upgradeToVersion8(SQLiteDatabase db) { } private static void upgradeToVersion9(SQLiteDatabase db) { + } + + private static void upgradeToVersion12(SQLiteDatabase db) { try { db.execSQL(VisitRepository.ADD_VISIT_GROUP_COLUMN); } catch (Exception e) { @@ -154,6 +175,16 @@ private static void upgradeToVersion9(SQLiteDatabase db) { } } + private static void upgradeToVersion13(SQLiteDatabase db) { + try { + db.execSQL(ChildDBConstants.ADD_COLUMN_THINK_MD_ID); + db.execSQL(ChildDBConstants.ADD_COLUMN_HTML_ASSESSMENT); + db.execSQL(ChildDBConstants.ADD_COLUMN_CARE_PLAN_DATE); + } catch (Exception e) { + Timber.e(e, "upgradeToVersion13"); + } + } + private static void upgradeToVersion10(SQLiteDatabase db, int oldDbVersion) { try { ReportingLibrary reportingLibraryInstance = ReportingLibrary.getInstance(); @@ -166,6 +197,17 @@ private static void upgradeToVersion10(SQLiteDatabase db, int oldDbVersion) { } } + private static void upgradeToVersion11(Context context, SQLiteDatabase db) { + try { + db.execSQL(VaccineRepository.UPDATE_TABLE_ADD_IS_VOIDED_COL); + db.execSQL(VaccineRepository.UPDATE_TABLE_ADD_IS_VOIDED_COL_INDEX); + + IMDatabaseUtils.accessAssetsAndFillDataBaseForVaccineTypes(context, db); + } catch (Exception e) { + Timber.e(e); + } + } + private static void initializeIndicatorDefinitions(ReportingLibrary reportingLibrary, SQLiteDatabase sqLiteDatabase) { String childIndicatorsConfigFile = "config/child-reporting-indicator-definitions.yml"; String ancIndicatorConfigFile = "config/anc-reporting-indicator-definitions.yml"; diff --git a/opensrp-chw/src/chad/res/xml/authenticator.xml b/opensrp-chw/src/chad/res/xml/authenticator.xml new file mode 100644 index 0000000000..f5ef7d1c27 --- /dev/null +++ b/opensrp-chw/src/chad/res/xml/authenticator.xml @@ -0,0 +1,7 @@ + + \ No newline at end of file diff --git a/opensrp-chw/src/chad/res/xml/network_security_config.xml b/opensrp-chw/src/chad/res/xml/network_security_config.xml new file mode 100644 index 0000000000..5e4ba9c97a --- /dev/null +++ b/opensrp-chw/src/chad/res/xml/network_security_config.xml @@ -0,0 +1,6 @@ + + + + localhost + + \ No newline at end of file diff --git a/opensrp-chw/src/drc/assets/ec_client_fields.json b/opensrp-chw/src/drc/assets/ec_client_fields.json index 50b21d9e3b..f7fedbd94f 100644 --- a/opensrp-chw/src/drc/assets/ec_client_fields.json +++ b/opensrp-chw/src/drc/assets/ec_client_fields.json @@ -236,7 +236,16 @@ "json_mapping": { "field": "attributes.dateRemoved" } + }, + { + "column_name": "marital_status", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } } + ] }, { diff --git a/opensrp-chw/src/drc/assets/json.form-fr/child_hv_dietary_diversity.json b/opensrp-chw/src/drc/assets/json.form-fr/child_hv_dietary_diversity.json deleted file mode 100644 index 020a96278a..0000000000 --- a/opensrp-chw/src/drc/assets/json.form-fr/child_hv_dietary_diversity.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "count": "1", - "encounter_type": "Minimum dietary diversity", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Minimum dietary diversity", - "fields": [ - { - "key": "diet_diversity", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1719AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "radio", - "image": "ic_form_diverity", - "hint": "Has the child received, in the previous 24 hours, any animal products (e.g. eggs, liver, milk), fruits, vegetables, or cereals?", - "options": [ - { - "key": "chk_none_of_four_products", - "text": "0 - None of the 4 products", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "chk_no_animal_products" - }, - { - "key": "chw_only_one_of_four_products", - "text": "1 - Only 1 of the 4 products", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "chw_one_animal_product_or_fruit" - }, - { - "key": "chw_only_two_of_four_products", - "text": "2 - Only 2 of the 4 products", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "chw_one_animal_product_or_fruit" - }, - { - "key": "chw_only_three_of_four_products", - "text": "3 - Only 3 of the 4 products", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "chw_one_animal_product_or_fruit" - }, - { - "key": "chw_all_of_four_products", - "text": "4 - All 4 of the products", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "chw_one_animal_product_or_fruit" - } - ] - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/drc/assets/json.form-fr/pnc_umbilical_cord.json b/opensrp-chw/src/drc/assets/json.form-fr/pnc_umbilical_cord.json deleted file mode 100644 index 90b30c9e3e..0000000000 --- a/opensrp-chw/src/drc/assets/json.form-fr/pnc_umbilical_cord.json +++ /dev/null @@ -1,99 +0,0 @@ -{ - "count": "1", - "encounter_type": "Umbilical cord care", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Soins du cordon ombilical", - "fields": [ - { - "key": "cord_care", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "161541AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Des produits sont-ils appliqués sur le moignon du cordon ombilical?", - "values": [ - "Aucun produit", - "Chlorhexidine", - "Autre" - ], - "keys": [ - "No products", - "Chlorhexidine", - "Other" - ], - "openmrs_choice_ids": { - "No products": "products", - "Chlorhexidine": "73263AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Other": "Other" - }, - "v_required": { - "value": "true", - "err": "Please select one option" - } - }, - { - "key": "cord_care_other", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "cord_care_other", - "openmrs_data_type": "text", - "type": "edit_text", - "hint": "Autre produit:", - "expanded": false, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "pnc_umbilical_cord_relevance.yml" - } - } - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form-fr/anc_hv_observations.json b/opensrp-chw/src/drc/assets/json.form/anc_hv_observations.json similarity index 79% rename from opensrp-chw/src/main/assets/json.form-fr/anc_hv_observations.json rename to opensrp-chw/src/drc/assets/json.form/anc_hv_observations.json index a93619e587..f5adab472a 100644 --- a/opensrp-chw/src/main/assets/json.form-fr/anc_hv_observations.json +++ b/opensrp-chw/src/drc/assets/json.form/anc_hv_observations.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Observations et maladies - optionnel", + "title": "{{anc_hv_observations.step1.title}}", "fields": [ { "key": "date_of_illness", @@ -55,13 +55,13 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1730AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "date_picker", - "hint": "Date", + "hint": "{{anc_hv_observations.step1.date_of_illness.hint}}", "expanded": false, "max_date": "today", "min_date": "today-10y", "v_required": { "value": "true", - "err": "Cette réponse est requise" + "err": "{{anc_hv_observations.step1.date_of_illness.v_required.err}}" } }, { @@ -71,10 +71,10 @@ "openmrs_entity_id": "1390AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "text", "type": "edit_text", - "hint": "Description", + "hint": "{{anc_hv_observations.step1.illness_description.hint}}", "v_required": { "value": "true", - "err": "Cette réponse est requise" + "err": "{{anc_hv_observations.step1.illness_description.v_required.err}}" } }, { @@ -84,15 +84,15 @@ "openmrs_entity_id": "164378AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Action prise", + "hint": "{{anc_hv_observations.step1.action_taken.hint}}", "v_required": { "value": "true", - "err": "Cette réponse est requise" + "err": "{{anc_hv_observations.step1.action_taken.v_required.err}}" }, "values": [ - "Géré", - "Reféré", - "Aucun action prise" + "{{anc_hv_observations.step1.action_taken.values[0]}}", + "{{anc_hv_observations.step1.action_taken.values[1]}}", + "{{anc_hv_observations.step1.action_taken.values[2]}}" ], "keys": [ "Managed", @@ -106,5 +106,6 @@ } } ] - } + }, + "properties_file_name": "anc_hv_observations" } \ No newline at end of file diff --git a/opensrp-chw/src/drc/assets/json.form/anc_woman_delivery_kit_received.json b/opensrp-chw/src/drc/assets/json.form/anc_woman_delivery_kit_received.json index 0ce90be00a..c076032ad1 100644 --- a/opensrp-chw/src/drc/assets/json.form/anc_woman_delivery_kit_received.json +++ b/opensrp-chw/src/drc/assets/json.form/anc_woman_delivery_kit_received.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Delivery kit received", + "title": "{{anc_woman_delivery_kit_received.step1.title}}", "fields": [ { "key": "delivery_kit", @@ -57,8 +57,12 @@ "openmrs_data_type": "select one", "type": "spinner", "image": "delivery_kit_received", - "hint": "Delivery kit received?", + "hint": "{{anc_woman_delivery_kit_received.step1.delivery_kit.hint}}", "values": [ + "{{anc_woman_delivery_kit_received.step1.delivery_kit.values[0]}}", + "{{anc_woman_delivery_kit_received.step1.delivery_kit.values[1]}}" + ], + "keys": [ "Yes", "No" ], @@ -68,5 +72,6 @@ } } ] - } + }, + "properties_file_name": "anc_woman_delivery_kit_received" } \ No newline at end of file diff --git a/opensrp-chw/src/drc/assets/json.form/child_hv_dietary_diversity.json b/opensrp-chw/src/drc/assets/json.form/child_hv_dietary_diversity.json index 020a96278a..e69091e782 100644 --- a/opensrp-chw/src/drc/assets/json.form/child_hv_dietary_diversity.json +++ b/opensrp-chw/src/drc/assets/json.form/child_hv_dietary_diversity.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Minimum dietary diversity", + "title": "{{child_hv_dietary_diversity.step1.title}}", "fields": [ { "key": "diet_diversity", @@ -57,45 +57,46 @@ "openmrs_data_type": "select one", "type": "radio", "image": "ic_form_diverity", - "hint": "Has the child received, in the previous 24 hours, any animal products (e.g. eggs, liver, milk), fruits, vegetables, or cereals?", + "hint": "{{child_hv_dietary_diversity.step1.diet_diversity.hint}}", "options": [ { "key": "chk_none_of_four_products", - "text": "0 - None of the 4 products", + "text": "{{child_hv_dietary_diversity.step1.diet_diversity.options.chk_none_of_four_products.text}}", "value": false, "openmrs_entity": "concept", - "openmrs_entity_id": "chk_no_animal_products" + "openmrs_entity_id": "chk_none_of_four_products" }, { "key": "chw_only_one_of_four_products", - "text": "1 - Only 1 of the 4 products", + "text": "{{child_hv_dietary_diversity.step1.diet_diversity.options.chw_only_one_of_four_products.text}}", "value": false, "openmrs_entity": "concept", - "openmrs_entity_id": "chw_one_animal_product_or_fruit" + "openmrs_entity_id": "chw_only_one_of_four_products" }, { "key": "chw_only_two_of_four_products", - "text": "2 - Only 2 of the 4 products", + "text": "{{child_hv_dietary_diversity.step1.diet_diversity.options.chw_only_two_of_four_products.text}}", "value": false, "openmrs_entity": "concept", - "openmrs_entity_id": "chw_one_animal_product_or_fruit" + "openmrs_entity_id": "chw_only_two_of_four_products" }, { "key": "chw_only_three_of_four_products", - "text": "3 - Only 3 of the 4 products", + "text": "{{child_hv_dietary_diversity.step1.diet_diversity.options.chw_only_three_of_four_products.text}}", "value": false, "openmrs_entity": "concept", - "openmrs_entity_id": "chw_one_animal_product_or_fruit" + "openmrs_entity_id": "chw_only_three_of_four_products" }, { "key": "chw_all_of_four_products", - "text": "4 - All 4 of the products", + "text": "{{child_hv_dietary_diversity.step1.diet_diversity.options.chw_all_of_four_products.text}}", "value": false, "openmrs_entity": "concept", - "openmrs_entity_id": "chw_one_animal_product_or_fruit" + "openmrs_entity_id": "chw_all_of_four_products" } ] } ] - } + }, + "properties_file_name": "child_hv_dietary_diversity" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form-fr/family_register.json b/opensrp-chw/src/drc/assets/json.form/family_register.json similarity index 70% rename from opensrp-chw/src/main/assets/json.form-fr/family_register.json rename to opensrp-chw/src/drc/assets/json.form/family_register.json index c9faf78a7a..fff3cd4e43 100644 --- a/opensrp-chw/src/main/assets/json.form-fr/family_register.json +++ b/opensrp-chw/src/drc/assets/json.form/family_register.json @@ -52,7 +52,7 @@ } }, "step1": { - "title": "Détails sur le ménage", + "title": "{{family_register.step1.title}}", "fields": [ { "key": "fam_name", @@ -60,15 +60,15 @@ "openmrs_entity": "person", "openmrs_entity_id": "first_name", "type": "edit_text", - "hint": "Nom", + "hint": "{{family_register.step1.fam_name.hint}}", "edit_type": "name", "v_required": { "value": "true", - "err": "Veuillez entrer le nom de famille" + "err": "{{family_register.step1.fam_name.v_required.err}}" }, "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Veuillez entrer un nom valide" + "err": "{{family_register.step1.fam_name.v_regex.err}}" } }, { @@ -77,11 +77,11 @@ "openmrs_entity": "person_identifier", "openmrs_entity_id": "opensrp_id", "type": "barcode", - "hint": "ID *", - "scanButtonText": "Scanner le code QR", + "hint": "{{family_register.step1.unique_id.hint}}", + "scanButtonText": "{{family_register.step1.unique_id.scanButtonText}}", "v_numeric": { "value": "true", - "err": "Veuillez entrer un ID valide" + "err": "{{family_register.step1.unique_id.v_numeric.err}}" }, "hidden": "true", "barcode_type": "qrcode" @@ -92,10 +92,10 @@ "openmrs_entity": "person_address", "openmrs_entity_id": "cityVillage", "type": "edit_text", - "hint": "Ville/Village", + "hint": "{{family_register.step1.village_town.hint}}", "v_required": { "value": "true", - "err": "Veuillez entrer la ville ou le village" + "err": "{{family_register.step1.village_town.v_required.err}}" } }, { @@ -104,10 +104,10 @@ "openmrs_entity_parent": "", "openmrs_entity": "person_address", "openmrs_entity_id": "commune", - "hint": "Commune", + "hint": "{{family_register.step1.quarter_clan.hint}}", "v_required": { "value": "true", - "err": "Veuillez entrer le commune" + "err": "{{family_register.step1.quarter_clan.v_required.err}}" } }, { @@ -116,7 +116,7 @@ "openmrs_entity": "person_address", "openmrs_entity_id": "street", "type": "edit_text", - "hint": "Rue" + "hint": "{{family_register.step1.street.hint}}" }, { "key": "landmark", @@ -124,7 +124,7 @@ "openmrs_entity": "person_address", "openmrs_entity_id": "landmark", "type": "edit_text", - "hint": "Point de répère" + "hint": "{{family_register.step1.landmark.hint}}" }, { "key": "gps", @@ -147,21 +147,21 @@ "openmrs_entity_parent": "", "openmrs_entity": "person_attribute", "openmrs_entity_id": "fam_source_income", - "hint": "Source de revenue du ménage", + "hint": "{{family_register.step1.fam_source_income.hint}}", "type": "spinner", "openmrs_data_type": "", "values": [ - "Petit commerce", - "Agriculture, chasse et pêche", - "L'exploitation des mines et carrières", - "l'industrie manufacturière", - "Construction", - "l'électricité, gas naturel et eau", - "Commerciale, hôtels et restaurants", - "Transport, entrêposage et communications", - "Institutions financières", - "Communications, services sociaux et personnelles", - "Autre" + "{{family_register.step1.fam_source_income.values[0]}}", + "{{family_register.step1.fam_source_income.values[1]}}", + "{{family_register.step1.fam_source_income.values[2]}}", + "{{family_register.step1.fam_source_income.values[3]}}", + "{{family_register.step1.fam_source_income.values[4]}}", + "{{family_register.step1.fam_source_income.values[5]}}", + "{{family_register.step1.fam_source_income.values[6]}}", + "{{family_register.step1.fam_source_income.values[7]}}", + "{{family_register.step1.fam_source_income.values[8]}}", + "{{family_register.step1.fam_source_income.values[9]}}", + "{{family_register.step1.fam_source_income.values[10]}}" ], "keys": [ "Petty trade", @@ -196,7 +196,7 @@ "validate_on_submit": true, "show_errors_on_submit": false, "step2": { - "title": "Chef de ménage", + "title": "{{family_register.step2.title}}", "fields": [ { "key": "photo", @@ -204,7 +204,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "choose_image", - "uploadButtonText": "Prenez un photo de la personne" + "uploadButtonText": "{{family_register.step2.photo.uploadButtonText}}" }, { "key": "unique_id", @@ -212,16 +212,16 @@ "openmrs_entity": "person_identifier", "openmrs_entity_id": "opensrp_id", "type": "edit_text", - "hint": "ID *", + "hint": "{{family_register.step2.unique_id.hint}}", "value": "0", "read_only": "true", "v_numeric": { "value": "true", - "err": "Veuillez entrer une ID valide" + "err": "{{family_register.step2.unique_id.v_numeric.err}}" }, "v_required": { "value": "true", - "err": "Veuillez entrer la ID" + "err": "{{family_register.step2.unique_id.v_required.err}}" } }, { @@ -229,13 +229,13 @@ "openmrs_entity_parent": "", "openmrs_entity": "concept", "openmrs_entity_id": "163084AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label_info_text": "Quel est leur numéro d'identité national ou leur numéro de carte d'électeur?", - "label_info_title": "Numéro d'identification national", + "label_info_text": "{{family_register.step2.national_id.label_info_text}}", + "label_info_title": "{{family_register.step2.national_id.label_info_title}}", "type": "edit_text", - "hint": "Numéro d'identification national", + "hint": "{{family_register.step2.national_id.hint}}", "v_numeric": { "value": "true", - "err": "Doit être un nombre." + "err": "{{family_register.step2.national_id.v_numeric.err}}" } }, { @@ -244,15 +244,15 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "edit_text", - "hint": "Nom", + "hint": "{{family_register.step2.surname.hint}}", "edit_type": "name", "v_required": { "value": "true", - "err": "Veuillez entrer le nom" + "err": "{{family_register.step2.surname.v_required.err}}" }, "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Veuillez entrer un nom valide" + "err": "{{family_register.step2.surname.v_regex.err}}" }, "relevance": { "rules-engine": { @@ -268,11 +268,11 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "check_box", - "label": "", + "label": "{{family_register.step2.same_as_fam_name.label}}", "options": [ { "key": "same_as_fam_name", - "text": "Même nom que ménage", + "text": "{{family_register.step2.same_as_fam_name.options.same_as_fam_name.text}}", "text_size": "18px", "value": "false" } @@ -285,7 +285,7 @@ "openmrs_entity_id": "last_name", "type": "edit_text", "hidden": true, - "hint": "Utiliser même nom que ménage", + "hint": "{{family_register.step2.surname_calculation.hint}}", "calculation": { "rules-engine": { "ex-rules": { @@ -300,15 +300,15 @@ "openmrs_entity": "person", "openmrs_entity_id": "first_name", "type": "edit_text", - "hint": "Prénom", + "hint": "{{family_register.step2.first_name.hint}}", "edit_type": "name", "v_required": { "value": "true", - "err": "Veuillez entrer le prénom" + "err": "{{family_register.step2.first_name.v_required.err}}" }, "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Veuillez entrer un prénom valide" + "err": "{{family_register.step2.first_name.v_regex.err}}" } }, { @@ -317,11 +317,11 @@ "openmrs_entity": "person", "openmrs_entity_id": "middle_name", "type": "edit_text", - "hint": "Deuxième prénom", + "hint": "{{family_register.step2.middle_name.hint}}", "edit_type": "name", "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Veuillez entrer un deuxième prénom valide" + "err": "{{family_register.step2.middle_name.v_regex.err}}" } }, { @@ -330,16 +330,16 @@ "openmrs_entity": "person", "openmrs_entity_id": "birthdate", "type": "date_picker", - "hint": "Date de naissance (DDN)", + "hint": "{{family_register.step2.dob.hint}}", "expanded": false, "duration": { - "label": "Âge" + "label": "{{family_register.step2.dob.duration.label}}" }, "min_date": "today-120y", "max_date": "today-15y", "v_required": { "value": "true", - "err": "Veuillez entrer la date de naissance" + "err": "{{family_register.step2.dob.v_required.err}}" }, "relevance": { "rules-engine": { @@ -355,11 +355,11 @@ "openmrs_entity": "person", "openmrs_entity_id": "birthdateApprox", "type": "check_box", - "label": "", + "label": "{{family_register.step2.dob_unknown.label}}", "options": [ { "key": "dob_unknown", - "text": "DDN inconnue?", + "text": "{{family_register.step2.dob_unknown.options.dob_unknown.text}}", "text_size": "18px", "value": "false" } @@ -371,22 +371,22 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "age_entered", "type": "edit_text", - "hint": "Âge", + "hint": "{{family_register.step2.age.hint}}", "v_numeric_integer": { "value": "true", - "err": "Must be a rounded number" + "err": "{{family_register.step2.age.v_numeric_integer.err}}" }, "v_numeric": { "value": "true", - "err": "Numéro doit commencer avec 0 et doit consister de 10 chiffres au total" + "err": "{{family_register.step2.age.v_numeric.err}}" }, "v_min": { "value": "15", - "err": "l'âge doit être égale ou supérieure à 15" + "err": "{{family_register.step2.age.v_min.err}}" }, "v_max": { "value": "120", - "err": "l'âge doit être égal ou moins de 120" + "err": "{{family_register.step2.age.v_max.err}}" }, "relevance": { "rules-engine": { @@ -397,7 +397,7 @@ }, "v_required": { "value": true, - "err": "Veuillez entrer l'âge" + "err": "{{family_register.step2.age.v_required.err}}" } }, { @@ -406,10 +406,10 @@ "openmrs_entity": "person", "openmrs_entity_id": "gender", "type": "spinner", - "hint": "Sexe", + "hint": "{{family_register.step2.sex.hint}}", "values": [ - "Masculin", - "Feminin" + "{{family_register.step2.sex.values[0]}}", + "{{family_register.step2.sex.values[1]}}" ], "keys": [ "Male", @@ -417,7 +417,7 @@ ], "v_required": { "value": "true", - "err": "Veuillez entrer le sexe" + "err": "{{family_register.step2.sex.v_required.err}}" } }, { @@ -426,14 +426,14 @@ "openmrs_entity": "concept", "openmrs_entity_id": "159635AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", - "hint": "Numéro de téléphone", + "hint": "{{family_register.step2.phone_number.hint}}", "v_numeric": { "value": "true", - "err": "Doit être un nombre" + "err": "{{family_register.step2.phone_number.v_numeric.err}}" }, "v_required": { "value": false, - "err": "Veuillez spécifier le numéro de téléphone" + "err": "{{family_register.step2.phone_number.v_required.err}}" } }, { @@ -442,10 +442,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", - "hint": "Autre numéro de téléphone", + "hint": "{{family_register.step2.other_phone_number.hint}}", "v_numeric": { "value": "true", - "err": "Doit être un nombre" + "err": "{{family_register.step2.other_phone_number.v_numeric.err}}" } }, { @@ -455,13 +455,13 @@ "openmrs_entity_id": "1712AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Plus haut niveau d'éducation/de formation", + "hint": "{{family_register.step2.highest_edu_level.hint}}", "values": [ - "Aucun", - "Alphabétiser", - "Primaire", - "Secondaire", - "Université" + "{{family_register.step2.highest_edu_level.values[0]}}", + "{{family_register.step2.highest_edu_level.values[1]}}", + "{{family_register.step2.highest_edu_level.values[2]}}", + "{{family_register.step2.highest_edu_level.values[3]}}", + "{{family_register.step2.highest_edu_level.values[4]}}" ], "keys": [ "None", @@ -485,16 +485,16 @@ "openmrs_entity_id": "1054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "État matrimonial", + "hint": "{{family_register.step2.marital_status.hint}}", "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{family_register.step2.marital_status.v_required.err}}" }, "values": [ - "Mariée", - "Cohabite", - "Célibataire", - "Veuve" + "{{family_register.step2.marital_status.values[0]}}", + "{{family_register.step2.marital_status.values[1]}}", + "{{family_register.step2.marital_status.values[2]}}", + "{{family_register.step2.marital_status.values[3]}}" ], "openmrs_choice_ids": { "Married": "5555AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -504,5 +504,6 @@ } } ] - } + }, + "properties_file_name": "family_register" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form-fr/observation_illness.json b/opensrp-chw/src/drc/assets/json.form/observation_illness.json similarity index 79% rename from opensrp-chw/src/main/assets/json.form-fr/observation_illness.json rename to opensrp-chw/src/drc/assets/json.form/observation_illness.json index d596b68b71..520c21567c 100644 --- a/opensrp-chw/src/main/assets/json.form-fr/observation_illness.json +++ b/opensrp-chw/src/drc/assets/json.form/observation_illness.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Observations & Épisodes de maladies", + "title": "{{observation_illness.step1.title}}", "fields": [ { "key": "date_of_illness", @@ -55,10 +55,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1730AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "date_picker", - "hint": "Date", + "hint": "{{observation_illness.step1.date_of_illness.hint}}", "v_required": { "value": "true", - "err": "Veuillez entrer la date de la maladie" + "err": "{{observation_illness.step1.date_of_illness.v_required.err}}" }, "expanded": false, "max_date": "today", @@ -70,11 +70,11 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1390AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", - "hint": "Description", + "hint": "{{observation_illness.step1.illness_description.hint}}", "openmrs_data_type": "text", "v_required": { "value": "true", - "err": "Veuillez entrer la description" + "err": "{{observation_illness.step1.illness_description.v_required.err}}" } }, { @@ -83,16 +83,16 @@ "openmrs_entity": "concept", "openmrs_entity_id": "164378AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "spinner", - "hint": "Action prise", + "hint": "{{observation_illness.step1.action_taken.hint}}", "v_required": { "value": "true", - "err": "Veuillez sélectionner action prise" + "err": "{{observation_illness.step1.action_taken.v_required.err}}" }, "openmrs_data_type": "select one", "values": [ - "Géré", - "Référé", - "Aucun mesure n'a été prise" + "{{observation_illness.step1.action_taken.values[0]}}", + "{{observation_illness.step1.action_taken.values[1]}}", + "{{observation_illness.step1.action_taken.values[2]}}" ], "keys": [ "Managed", @@ -106,5 +106,6 @@ } } ] - } + }, + "properties_file_name": "observation_illness" } \ No newline at end of file diff --git a/opensrp-chw/src/drc/assets/json.form/pnc_umbilical_cord.json b/opensrp-chw/src/drc/assets/json.form/pnc_umbilical_cord.json index b8a071b0a2..07a2763cde 100644 --- a/opensrp-chw/src/drc/assets/json.form/pnc_umbilical_cord.json +++ b/opensrp-chw/src/drc/assets/json.form/pnc_umbilical_cord.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Umbilical cord care", + "title": "{{pnc_umbilical_cord.step1.title}}", "fields": [ { "key": "cord_care", @@ -56,8 +56,13 @@ "openmrs_entity_id": "161541AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Are any products being applied to the umbilical cord stump?", + "hint": "{{pnc_umbilical_cord.step1.cord_care.hint}}", "values": [ + "{{pnc_umbilical_cord.step1.cord_care.values[0]}}", + "{{pnc_umbilical_cord.step1.cord_care.values[1]}}", + "{{pnc_umbilical_cord.step1.cord_care.values[2]}}" + ], + "keys": [ "No products", "Chlorhexidine", "Other" @@ -69,7 +74,7 @@ }, "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{pnc_umbilical_cord.step1.cord_care.v_required.err}}" } }, { @@ -79,7 +84,7 @@ "openmrs_entity_id": "cord_care_other", "openmrs_data_type": "text", "type": "edit_text", - "hint": "Other product:", + "hint": "{{pnc_umbilical_cord.step1.cord_care_other.hint}}", "expanded": false, "relevance": { "rules-engine": { @@ -90,5 +95,6 @@ } } ] - } + }, + "properties_file_name": "pnc_umbilical_cord" } \ No newline at end of file diff --git a/opensrp-chw/src/drc/java/org/smartregister/chw/activity/AncMedicalHistoryActivityFlv.java b/opensrp-chw/src/drc/java/org/smartregister/chw/activity/AncMedicalHistoryActivityFlv.java index fa9b988ef9..a27fbc9b7a 100644 --- a/opensrp-chw/src/drc/java/org/smartregister/chw/activity/AncMedicalHistoryActivityFlv.java +++ b/opensrp-chw/src/drc/java/org/smartregister/chw/activity/AncMedicalHistoryActivityFlv.java @@ -1,6 +1,4 @@ package org.smartregister.chw.activity; -import org.smartregister.chw.core.activity.DefaultAncMedicalHistoryActivityFlv; - -public class AncMedicalHistoryActivityFlv extends DefaultAncMedicalHistoryActivityFlv { +public class AncMedicalHistoryActivityFlv extends DefaultChwAncMedicalHistoryActivityFlv { } diff --git a/opensrp-chw/src/drc/java/org/smartregister/chw/activity/ChildMedicalHistoryActivityFlv.java b/opensrp-chw/src/drc/java/org/smartregister/chw/activity/ChildMedicalHistoryActivityFlv.java index 4604735a16..52937d17b8 100644 --- a/opensrp-chw/src/drc/java/org/smartregister/chw/activity/ChildMedicalHistoryActivityFlv.java +++ b/opensrp-chw/src/drc/java/org/smartregister/chw/activity/ChildMedicalHistoryActivityFlv.java @@ -1,11 +1,38 @@ package org.smartregister.chw.activity; +import org.smartregister.chw.R; +import org.smartregister.chw.anc.util.NCUtils; import org.smartregister.chw.core.activity.DefaultChildMedicalHistoryActivityFlv; import org.smartregister.chw.core.utils.CoreChildUtils; import org.smartregister.chw.util.ChildUtilsFlv; public class ChildMedicalHistoryActivityFlv extends DefaultChildMedicalHistoryActivityFlv { + @Override + public VisitDetailsFormatter getDieataryFormatter() { + return (title, details, visitDate) -> { + String diet_diversity = NCUtils.getText(details); + String value = ""; + if ("chk_none_of_four_products".equalsIgnoreCase(diet_diversity)) { + value = context.getString(R.string.drc_minimum_dietary_choice_0); + } else if ("chw_only_one_of_four_products".equalsIgnoreCase(diet_diversity)) { + value = context.getString(R.string.drc_minimum_dietary_choice_1); + } else if ("chw_only_two_of_four_products".equalsIgnoreCase(diet_diversity)) { + value = context.getString(R.string.drc_minimum_dietary_choice_2); + } else if ("chw_only_three_of_four_products".equalsIgnoreCase(diet_diversity)) { + value = context.getString(R.string.drc_minimum_dietary_choice_3); + } else if ("chw_all_of_four_products".equalsIgnoreCase(diet_diversity)) { + value = context.getString(R.string.drc_minimum_dietary_choice_4); + } + + return String.format("%s - %s %s", + value, + context.getString(org.smartregister.chw.core.R.string.done), + sdf.format(visitDate) + ); + }; + } + public CoreChildUtils.Flavor getChildUtils() { return new ChildUtilsFlv(); } diff --git a/opensrp-chw/src/drc/java/org/smartregister/chw/activity/HivProfileActivityFlv.java b/opensrp-chw/src/drc/java/org/smartregister/chw/activity/HivProfileActivityFlv.java new file mode 100644 index 0000000000..2b4ea8beb6 --- /dev/null +++ b/opensrp-chw/src/drc/java/org/smartregister/chw/activity/HivProfileActivityFlv.java @@ -0,0 +1,5 @@ +package org.smartregister.chw.activity; + +public class HivProfileActivityFlv extends DefaultHivProfileActivityFlv { + +} diff --git a/opensrp-chw/src/drc/java/org/smartregister/chw/activity/TbProfileActivityFlv.java b/opensrp-chw/src/drc/java/org/smartregister/chw/activity/TbProfileActivityFlv.java new file mode 100644 index 0000000000..794a0a6bec --- /dev/null +++ b/opensrp-chw/src/drc/java/org/smartregister/chw/activity/TbProfileActivityFlv.java @@ -0,0 +1,5 @@ +package org.smartregister.chw.activity; + +public class TbProfileActivityFlv extends DefaultTbProfileActivityFlv { + +} diff --git a/opensrp-chw/src/drc/java/org/smartregister/chw/application/ChwApplicationFlv.java b/opensrp-chw/src/drc/java/org/smartregister/chw/application/ChwApplicationFlv.java index fc0c87c859..ca905fa11d 100644 --- a/opensrp-chw/src/drc/java/org/smartregister/chw/application/ChwApplicationFlv.java +++ b/opensrp-chw/src/drc/java/org/smartregister/chw/application/ChwApplicationFlv.java @@ -2,8 +2,18 @@ public class ChwApplicationFlv extends DefaultChwApplicationFlv { + @Override + public boolean hasDeliveryKit() { + return true; + } + @Override public boolean hasFamilyKitCheck() { return true; } + + @Override + public boolean showsPhysicallyDisabledView() { + return true; + } } diff --git a/opensrp-chw/src/drc/java/org/smartregister/chw/interactor/AncHomeVisitInteractorFlv.java b/opensrp-chw/src/drc/java/org/smartregister/chw/interactor/AncHomeVisitInteractorFlv.java index 2e6432f9a5..b4b1dda4e2 100644 --- a/opensrp-chw/src/drc/java/org/smartregister/chw/interactor/AncHomeVisitInteractorFlv.java +++ b/opensrp-chw/src/drc/java/org/smartregister/chw/interactor/AncHomeVisitInteractorFlv.java @@ -77,18 +77,18 @@ public LinkedHashMap calculateActions(BaseAncHom } protected void evaluateDeliveryKit() throws BaseAncHomeVisitAction.ValidationException { - if (memberObject.getDeliveryKit() != null && memberObject.getDeliveryKit().equalsIgnoreCase("Yes")) { + if (memberObject.getDeliveryKit() != null && memberObject.getDeliveryKit().equalsIgnoreCase("Yes") && !editMode) { return; } - BaseAncHomeVisitAction deliveryKitAction = getBuilder(context.getString(R.string.anc_woman_delivery_kit_received)) + BaseAncHomeVisitAction deliveryKitAction = getBuilder(context.getString(R.string.anc_home_visit_delivery_kit_received)) .withOptional(false) .withDetails(details) .withHelper(new DeliveryKitAction()) .withDestinationFragment(BaseAncHomeVisitFragment.getInstance(view, Constants.AncHomeVisitUtil.getDeliveryKitReceived(), null, details, null)) .build(); - actionList.put(context.getString(R.string.anc_woman_delivery_kit_received), deliveryKitAction); + actionList.put(context.getString(R.string.anc_home_visit_delivery_kit_received), deliveryKitAction); } diff --git a/opensrp-chw/src/drc/java/org/smartregister/chw/interactor/ChildHomeVisitInteractorFlv.java b/opensrp-chw/src/drc/java/org/smartregister/chw/interactor/ChildHomeVisitInteractorFlv.java index 7c7a138ab5..04b4eff464 100644 --- a/opensrp-chw/src/drc/java/org/smartregister/chw/interactor/ChildHomeVisitInteractorFlv.java +++ b/opensrp-chw/src/drc/java/org/smartregister/chw/interactor/ChildHomeVisitInteractorFlv.java @@ -59,15 +59,15 @@ public String evaluateSubTitle() { String value = ""; if ("chk_none_of_four_products".equalsIgnoreCase(diet_diversity)) { - value = context.getString(R.string.minimum_dietary_choice_0); + value = context.getString(R.string.drc_minimum_dietary_choice_0); } else if ("chw_only_one_of_four_products".equalsIgnoreCase(diet_diversity)) { - value = context.getString(R.string.minimum_dietary_choice_1); + value = context.getString(R.string.drc_minimum_dietary_choice_1); } else if ("chw_only_two_of_four_products".equalsIgnoreCase(diet_diversity)) { - value = context.getString(R.string.minimum_dietary_choice_2); + value = context.getString(R.string.drc_minimum_dietary_choice_2); } else if ("chw_only_three_of_four_products".equalsIgnoreCase(diet_diversity)) { - value = context.getString(R.string.minimum_dietary_choice_3); + value = context.getString(R.string.drc_minimum_dietary_choice_3); } else if ("chw_all_of_four_products".equalsIgnoreCase(diet_diversity)) { - value = context.getString(R.string.minimum_dietary_choice_4); + value = context.getString(R.string.drc_minimum_dietary_choice_4); } return value; } diff --git a/opensrp-chw/src/drc/java/org/smartregister/chw/repository/ChwRepositoryFlv.java b/opensrp-chw/src/drc/java/org/smartregister/chw/repository/ChwRepositoryFlv.java index 302b2eb4a0..dcefb40ea5 100644 --- a/opensrp-chw/src/drc/java/org/smartregister/chw/repository/ChwRepositoryFlv.java +++ b/opensrp-chw/src/drc/java/org/smartregister/chw/repository/ChwRepositoryFlv.java @@ -10,9 +10,13 @@ import org.smartregister.immunization.repository.RecurringServiceRecordRepository; import org.smartregister.immunization.repository.VaccineRepository; import org.smartregister.immunization.util.IMDatabaseUtils; +import org.smartregister.reporting.ReportingLibrary; import org.smartregister.repository.AlertRepository; import org.smartregister.repository.EventClientRepository; +import java.util.Arrays; +import java.util.Collections; + import timber.log.Timber; public class ChwRepositoryFlv { @@ -32,21 +36,15 @@ public static void onUpgrade(Context context, SQLiteDatabase db, int oldVersion, case 3: upgradeToVersion3(db); break; - case 4: - upgradeToVersion4(db); - break; - case 5: - upgradeToVersion5(db); - break; - case 7: - upgradeToVersion7(db); - break; - case 8: - upgradeToVersion8(db); - break; case 9: upgradeToVersion9(db); break; + case 10: + upgradeToVersion10(context, db); + break; + case 11: + upgradeToVersion11(db); + break; default: break; } @@ -54,6 +52,14 @@ public static void onUpgrade(Context context, SQLiteDatabase db, int oldVersion, } } + private static void upgradeToVersion11(SQLiteDatabase db) { + try { + db.execSQL("ALTER TABLE ec_family_member ADD COLUMN marital_status VARCHAR;"); + } catch (Exception e) { + Timber.e(e, "upgradeToVersion11"); + } + } + private static void upgradeToVersion2(Context context, SQLiteDatabase db) { try { @@ -68,8 +74,6 @@ private static void upgradeToVersion2(Context context, SQLiteDatabase db) { // EventClientRepository.createTable(db, EventClientRepository.Table.path_reports, EventClientRepository.report_column.values()); db.execSQL(VaccineRepository.UPDATE_TABLE_ADD_HIA2_STATUS_COL); - IMDatabaseUtils.accessAssetsAndFillDataBaseForVaccineTypes(context, db); - } catch (Exception e) { Timber.e(e, "upgradeToVersion2 "); } @@ -87,19 +91,16 @@ private static void upgradeToVersion3(SQLiteDatabase db) { db.execSQL(RecurringServiceRecordRepository.ALTER_ADD_CREATED_AT_COLUMN); RecurringServiceRecordRepository.migrateCreatedAt(db); } catch (Exception e) { - Timber.e(e, "upgradeToVersion3 "); + Timber.e(e, "upgradeToVersion3 - Part 0"); } + try { Column[] columns = {EventClientRepository.event_column.formSubmissionId}; EventClientRepository.createIndex(db, EventClientRepository.Table.event, columns); - - } catch (Exception e) { - Timber.e(e, "upgradeToVersion3 " + e.getMessage()); + Timber.e(e, "upgradeToVersion3 - Part 1"); } - } - private static void upgradeToVersion4(SQLiteDatabase db) { try { db.execSQL(AlertRepository.ALTER_ADD_OFFLINE_COLUMN); db.execSQL(AlertRepository.OFFLINE_INDEX); @@ -108,36 +109,37 @@ private static void upgradeToVersion4(SQLiteDatabase db) { db.execSQL(RecurringServiceRecordRepository.UPDATE_TABLE_ADD_TEAM_COL); db.execSQL(RecurringServiceRecordRepository.UPDATE_TABLE_ADD_TEAM_ID_COL); } catch (Exception e) { - Timber.e(e, "upgradeToVersion4 "); + Timber.e(e, "upgradeToVersion3 - Part 2"); } - } - - private static void upgradeToVersion5(SQLiteDatabase db) { try { db.execSQL(VaccineRepository.UPDATE_TABLE_ADD_CHILD_LOCATION_ID_COL); db.execSQL(RecurringServiceRecordRepository.UPDATE_TABLE_ADD_CHILD_LOCATION_ID_COL); } catch (Exception e) { - Timber.e(e, "upgradeToVersion5 "); + Timber.e(e, "upgradeToVersion3 - Part 3"); } - } - private static void upgradeToVersion7(SQLiteDatabase db) { try { - //db.execSQL(HomeVisitRepository.UPDATE_TABLE_ADD_VACCINE_NOT_GIVEN); - //db.execSQL(HomeVisitRepository.UPDATE_TABLE_ADD_SERVICE_NOT_GIVEN) + RepositoryUtils.addDetailsColumnToFamilySearchTable(db); } catch (Exception e) { - Timber.e(e, "upgradeToVersion7 "); + Timber.e(e, "upgradeToVersion3 - Part 4"); } - } - private static void upgradeToVersion8(SQLiteDatabase db) { try { - RepositoryUtils.addDetailsColumnToFamilySearchTable(db); + // setup reporting + ReportingLibrary reportingLibrary = ReportingLibrary.getInstance(); + String childIndicatorsConfigFile = "config/child-reporting-indicator-definitions.yml"; + String ancIndicatorConfigFile = "config/anc-reporting-indicator-definitions.yml"; + String pncIndicatorConfigFile = "config/pnc-reporting-indicator-definitions.yml"; + for (String configFile : Collections.unmodifiableList( + Arrays.asList(childIndicatorsConfigFile, ancIndicatorConfigFile, pncIndicatorConfigFile))) { + reportingLibrary.readConfigFile(configFile, db); + } } catch (Exception e) { - Timber.e(e, "upgradeToVersion7 "); + Timber.e(e, "upgradeToVersion3 - Part 4"); } } + private static void upgradeToVersion9(SQLiteDatabase db) { try { db.execSQL(VisitRepository.ADD_VISIT_GROUP_COLUMN); @@ -146,4 +148,15 @@ private static void upgradeToVersion9(SQLiteDatabase db) { Timber.e(e, "upgradeToVersion9"); } } + + private static void upgradeToVersion10(Context context, SQLiteDatabase db) { + try { + db.execSQL(VaccineRepository.UPDATE_TABLE_ADD_IS_VOIDED_COL); + db.execSQL(VaccineRepository.UPDATE_TABLE_ADD_IS_VOIDED_COL_INDEX); + + IMDatabaseUtils.accessAssetsAndFillDataBaseForVaccineTypes(context, db); + } catch (Exception e) { + Timber.e(e); + } + } } diff --git a/opensrp-chw/src/drc/res/layout/medical_history_details.xml b/opensrp-chw/src/drc/res/layout/medical_history_details.xml new file mode 100644 index 0000000000..1c6135f09c --- /dev/null +++ b/opensrp-chw/src/drc/res/layout/medical_history_details.xml @@ -0,0 +1,426 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/opensrp-chw/src/drc/res/values-fr/strings.xml b/opensrp-chw/src/drc/res/values-fr/strings.xml index e00fab2e0d..6a5c91f07b 100644 --- a/opensrp-chw/src/drc/res/values-fr/strings.xml +++ b/opensrp-chw/src/drc/res/values-fr/strings.xml @@ -3,7 +3,5 @@ Communautés Amies des Enfants Suivi en Temps Réel - RDC CFC-RTM - RDC - Kit de livraison reçu - Kit de livraison Rougeole 1/VAR1 \ No newline at end of file diff --git a/opensrp-chw/src/drc/res/values/strings.xml b/opensrp-chw/src/drc/res/values/strings.xml index 2395b66e8b..dd6adc40d1 100644 --- a/opensrp-chw/src/drc/res/values/strings.xml +++ b/opensrp-chw/src/drc/res/values/strings.xml @@ -3,12 +3,4 @@ Communautés Amies des Enfants Suivi en Temps Réel - RDC CFC-RTM - RDC - 0 - None of the 4 products - 1 - Only 1 of the 4 products - 2 - Only 2 of the 4 products - 3 - Only 3 of the 4 products - 4 - All 4 of the products - - Delivery kit received - Delivery kit \ No newline at end of file diff --git a/opensrp-chw/src/drc/res/xml/authenticator.xml b/opensrp-chw/src/drc/res/xml/authenticator.xml new file mode 100644 index 0000000000..3c6781763e --- /dev/null +++ b/opensrp-chw/src/drc/res/xml/authenticator.xml @@ -0,0 +1,7 @@ + + diff --git a/opensrp-chw/src/drc/resources/anc_hv_observations_fr.properties b/opensrp-chw/src/drc/resources/anc_hv_observations_fr.properties new file mode 100644 index 0000000000..d79f3c24e8 --- /dev/null +++ b/opensrp-chw/src/drc/resources/anc_hv_observations_fr.properties @@ -0,0 +1,10 @@ +anc_hv_observations.step1.action_taken.hint = Action prise +anc_hv_observations.step1.action_taken.values[0] = Géré +anc_hv_observations.step1.date_of_illness.hint = Date +anc_hv_observations.step1.illness_description.hint = Description +anc_hv_observations.step1.action_taken.values[1] = Orienté +anc_hv_observations.step1.action_taken.v_required.err = Cette réponse est requise +anc_hv_observations.step1.date_of_illness.v_required.err = Cette réponse est requise +anc_hv_observations.step1.action_taken.values[2] = Aucun action prise +anc_hv_observations.step1.title = Observations et maladies - optionnel +anc_hv_observations.step1.illness_description.v_required.err = Cette réponse est requise diff --git a/opensrp-chw/src/drc/resources/anc_woman_delivery_kit_received.properties b/opensrp-chw/src/drc/resources/anc_woman_delivery_kit_received.properties new file mode 100644 index 0000000000..dd1a594683 --- /dev/null +++ b/opensrp-chw/src/drc/resources/anc_woman_delivery_kit_received.properties @@ -0,0 +1,4 @@ +anc_woman_delivery_kit_received.step1.delivery_kit.hint = Delivery kit received? +anc_woman_delivery_kit_received.step1.delivery_kit.values[0] = Yes +anc_woman_delivery_kit_received.step1.delivery_kit.values[1] = No +anc_woman_delivery_kit_received.step1.title = Delivery kit received diff --git a/opensrp-chw/src/drc/resources/anc_woman_delivery_kit_received_fr.properties b/opensrp-chw/src/drc/resources/anc_woman_delivery_kit_received_fr.properties new file mode 100644 index 0000000000..40486f07ca --- /dev/null +++ b/opensrp-chw/src/drc/resources/anc_woman_delivery_kit_received_fr.properties @@ -0,0 +1,4 @@ +anc_woman_delivery_kit_received.step1.delivery_kit.hint = Kit d’accouchement pour femme enceinte reçu? +anc_woman_delivery_kit_received.step1.delivery_kit.values[0] = Oui +anc_woman_delivery_kit_received.step1.delivery_kit.values[1] = Non +anc_woman_delivery_kit_received.step1.title = Kit d'accouchement pour femme enceinte reçu diff --git a/opensrp-chw/src/drc/resources/child_hv_dietary_diversity.properties b/opensrp-chw/src/drc/resources/child_hv_dietary_diversity.properties new file mode 100644 index 0000000000..f97e85208b --- /dev/null +++ b/opensrp-chw/src/drc/resources/child_hv_dietary_diversity.properties @@ -0,0 +1,7 @@ +child_hv_dietary_diversity.step1.diet_diversity.options.chw_only_one_of_four_products.text = 1 - Only 1 of the 4 products +child_hv_dietary_diversity.step1.diet_diversity.options.chw_only_two_of_four_products.text = 2 - Only 2 of the 4 products +child_hv_dietary_diversity.step1.diet_diversity.options.chw_only_three_of_four_products.text = 3 - Only 3 of the 4 products +child_hv_dietary_diversity.step1.diet_diversity.hint = Has the child received, in the previous 24 hours, any animal products (e.g. eggs, liver, milk), fruits, vegetables, or cereals? +child_hv_dietary_diversity.step1.diet_diversity.options.chw_all_of_four_products.text = 4 - All 4 of the products +child_hv_dietary_diversity.step1.diet_diversity.options.chk_none_of_four_products.text = 0 - None of the 4 products +child_hv_dietary_diversity.step1.title = Minimum dietary diversity diff --git a/opensrp-chw/src/drc/resources/child_hv_dietary_diversity_fr.properties b/opensrp-chw/src/drc/resources/child_hv_dietary_diversity_fr.properties new file mode 100644 index 0000000000..7c58df8c8b --- /dev/null +++ b/opensrp-chw/src/drc/resources/child_hv_dietary_diversity_fr.properties @@ -0,0 +1,7 @@ +child_hv_dietary_diversity.step1.diet_diversity.options.chw_only_one_of_four_products.text = 1 - Un seul type d'aliment +child_hv_dietary_diversity.step1.diet_diversity.options.chw_only_two_of_four_products.text = 2 - Deux types d'aliments différents +child_hv_dietary_diversity.step1.diet_diversity.options.chw_only_three_of_four_products.text = 3 - Trois types d'aliment différents +child_hv_dietary_diversity.step1.diet_diversity.hint = L'enfant a-t-il reçu, dans les 24 heures précédentes, l'un des 4 produits suivants: produits animaux (œufs, foie, lait), fruits, légumes, ou céréales? +child_hv_dietary_diversity.step1.diet_diversity.options.chw_all_of_four_products.text = 4 - Quatre types d'aliment différents +child_hv_dietary_diversity.step1.diet_diversity.options.chk_none_of_four_products.text = 0 - Aucun des 4 produits +child_hv_dietary_diversity.step1.title = Diversité alimentaire minimum diff --git a/opensrp-chw/src/drc/resources/family_register_fr.properties b/opensrp-chw/src/drc/resources/family_register_fr.properties new file mode 100644 index 0000000000..11b15f9b04 --- /dev/null +++ b/opensrp-chw/src/drc/resources/family_register_fr.properties @@ -0,0 +1,77 @@ +family_register.step1.fam_source_income.values[10] = Autre +family_register.step2.age.v_max.err = l'âge doit être égal ou moins de 120 +family_register.step2.phone_number.v_required.err = Veuillez spécifier le numéro de téléphone +family_register.step2.highest_edu_level.hint = Plus haut niveau d'éducation/de formation +family_register.step2.marital_status.values[0] = Mariée +family_register.step1.fam_name.v_required.err = Veuillez entrer le nom de famille +family_register.step2.surname.v_required.err = Veuillez entrer le nom +family_register.step2.highest_edu_level.values[1] = Alphabétiser +family_register.step2.dob.hint = Date de naissance (DDN) +family_register.step1.fam_source_income.values[2] = L'exploitation des mines et carrières +family_register.step2.dob_unknown.label = +family_register.step1.street.hint = Rue/Block +family_register.step1.fam_source_income.values[6] = Commerciale, hôtels et restaurants +family_register.step2.phone_number.v_numeric.err = Doit être un nombre +family_register.step1.fam_name.v_regex.err = Veuillez entrer un nom valide +family_register.step2.first_name.v_regex.err = Veuillez entrer un prénom valide +family_register.step2.dob_unknown.options.dob_unknown.text = DDN inconnue? +family_register.step2.age.v_numeric.err = Numéro doit commencer avec 0 et doit consister de 10 chiffres au total +family_register.step1.unique_id.hint = ID * +family_register.step2.first_name.v_required.err = Veuillez entrer le prénom +family_register.step2.sex.hint = Sexe +family_register.step2.highest_edu_level.values[0] = Aucun +family_register.step1.unique_id.v_numeric.err = Veuillez entrer un ID valide +family_register.step2.middle_name.v_regex.err = Veuillez entrer un deuxième prénom valide +family_register.step1.fam_source_income.values[9] = Communications, services sociaux et personnelles +family_register.step2.surname.v_regex.err = Veuillez entrer un nom valide +family_register.step2.other_phone_number.v_numeric.err = Doit être un nombre +family_register.step2.marital_status.values[3] = Veuve +family_register.step2.highest_edu_level.values[2] = Primaire +family_register.step2.dob.v_required.err = Veuillez entrer la date de naissance +family_register.step1.fam_source_income.values[1] = Agriculture, chasse et pêche +family_register.step1.fam_source_income.hint = Source de revenue du ménage +family_register.step2.dob.duration.label = Âge +family_register.step1.fam_source_income.values[5] = l'électricité, gas naturel et eau +family_register.step2.title = Chef de ménage +family_register.step2.same_as_fam_name.options.same_as_fam_name.text = Même nom que ménage +family_register.step2.national_id.v_numeric.err = Doit être un nombre. +family_register.step2.surname.hint = Nom +family_register.step2.sex.values[1] = Feminin +family_register.step1.fam_source_income.values[8] = Institutions financières +family_register.step2.marital_status.values[2] = Célibataire +family_register.step1.fam_name.hint = Nom +family_register.step2.photo.uploadButtonText = Prenez un photo de la personne +family_register.step2.national_id.hint = Numéro d'identification national +family_register.step2.surname_calculation.hint = Utiliser même nom que ménage +family_register.step2.highest_edu_level.values[3] = Secondaire +family_register.step2.marital_status.hint = État matrimonial +family_register.step1.fam_source_income.values[0] = Petit commerce +family_register.step1.unique_id.scanButtonText = Scanner le code QR +family_register.step2.unique_id.hint = ID * +family_register.step2.national_id.label_info_text = Quel est leur numéro d'identité national ou leur numéro de carte d'électeur? +family_register.step1.quarter_clan.v_required.err = Veuillez entrer le commune +family_register.step1.fam_source_income.values[4] = Construction +family_register.step2.unique_id.v_required.err = Veuillez entrer la ID +family_register.step1.quarter_clan.hint = Commune +family_register.step1.village_town.hint = Ville/Village +family_register.step2.phone_number.hint = Numéro de téléphone +family_register.step2.age.v_min.err = l'âge doit être égale ou supérieure à 15 +family_register.step2.age.v_required.err = Veuillez entrer l'âge +family_register.step1.village_town.v_required.err = Veuillez entrer la ville ou le village +family_register.step2.sex.values[0] = Masculin +family_register.step2.sex.v_required.err = Veuillez entrer le sexe +family_register.step2.marital_status.values[1] = Cohabite +family_register.step2.age.hint = Âge +family_register.step2.highest_edu_level.values[4] = Université +family_register.step1.fam_source_income.values[3] = l'industrie manufacturière +family_register.step1.fam_source_income.values[7] = Transport, entrêposage et communications +family_register.step2.unique_id.v_numeric.err = Veuillez entrer une ID valide +family_register.step2.first_name.hint = Prénom +family_register.step2.national_id.label_info_title = Numéro d'identification national +family_register.step1.title = Détails sur le ménage +family_register.step2.age.v_numeric_integer.err = Must be a rounded number +family_register.step1.landmark.hint = Point de répère +family_register.step2.same_as_fam_name.label = +family_register.step2.marital_status.v_required.err = Please select one option +family_register.step2.other_phone_number.hint = Autre numéro de téléphone +family_register.step2.middle_name.hint = Deuxième prénom diff --git a/opensrp-chw/src/drc/resources/observation_illness_fr.properties b/opensrp-chw/src/drc/resources/observation_illness_fr.properties new file mode 100644 index 0000000000..a1eab4866c --- /dev/null +++ b/opensrp-chw/src/drc/resources/observation_illness_fr.properties @@ -0,0 +1,10 @@ +observation_illness.step1.action_taken.values[2] = Aucun mesure n'a été prise +observation_illness.step1.action_taken.values[1] = Orienté +observation_illness.step1.illness_description.hint = Description +observation_illness.step1.action_taken.values[0] = Géré +observation_illness.step1.action_taken.v_required.err = Veuillez sélectionner action prise +observation_illness.step1.date_of_illness.hint = Date +observation_illness.step1.date_of_illness.v_required.err = Veuillez entrer la date de la maladie +observation_illness.step1.illness_description.v_required.err = Veuillez entrer la description +observation_illness.step1.action_taken.hint = Action prise +observation_illness.step1.title = Observations & Épisodes de maladies diff --git a/opensrp-chw/src/drc/resources/pnc_umbilical_cord.properties b/opensrp-chw/src/drc/resources/pnc_umbilical_cord.properties new file mode 100644 index 0000000000..405d08834b --- /dev/null +++ b/opensrp-chw/src/drc/resources/pnc_umbilical_cord.properties @@ -0,0 +1,7 @@ +pnc_umbilical_cord.step1.title = Umbilical cord care +pnc_umbilical_cord.step1.cord_care.values[0] = No products +pnc_umbilical_cord.step1.cord_care.values[2] = Other +pnc_umbilical_cord.step1.cord_care.values[1] = Chlorhexidine +pnc_umbilical_cord.step1.cord_care.v_required.err = Please select one option +pnc_umbilical_cord.step1.cord_care_other.hint = Other product: +pnc_umbilical_cord.step1.cord_care.hint = Are any products being applied to the umbilical cord stump? diff --git a/opensrp-chw/src/drc/resources/pnc_umbilical_cord_fr.properties b/opensrp-chw/src/drc/resources/pnc_umbilical_cord_fr.properties new file mode 100644 index 0000000000..ce8cedb2d2 --- /dev/null +++ b/opensrp-chw/src/drc/resources/pnc_umbilical_cord_fr.properties @@ -0,0 +1,7 @@ +pnc_umbilical_cord.step1.title = Soins du cordon ombilical +pnc_umbilical_cord.step1.cord_care.values[0] = Aucun produit +pnc_umbilical_cord.step1.cord_care.values[2] = Autre +pnc_umbilical_cord.step1.cord_care.values[1] = Chlorhexidine +pnc_umbilical_cord.step1.cord_care.v_required.err = Please select one option +pnc_umbilical_cord.step1.cord_care_other.hint = Autre produit: +pnc_umbilical_cord.step1.cord_care.hint = Des produits sont-ils appliqués sur le moignon du cordon ombilical? diff --git a/opensrp-chw/src/guinea/assets/ec_client_fields.json b/opensrp-chw/src/guinea/assets/ec_client_fields.json new file mode 100644 index 0000000000..447be43358 --- /dev/null +++ b/opensrp-chw/src/guinea/assets/ec_client_fields.json @@ -0,0 +1,810 @@ +{ + "bindobjects": [ + { + "name": "ec_family", + "columns": [ + { + "column_name": "base_entity_id", + "type": "Client", + "json_mapping": { + "field": "baseEntityId" + } + }, + { + "column_name": "unique_id", + "type": "Client", + "json_mapping": { + "field": "identifiers.opensrp_id" + } + }, + { + "column_name": "first_name", + "type": "Client", + "json_mapping": { + "field": "firstName" + } + }, + { + "column_name": "last_name", + "type": "Client", + "json_mapping": { + "field": "lastName" + } + }, + { + "column_name": "village_town", + "type": "Client", + "json_mapping": { + "field": "addresses.cityVillage" + } + }, + { + "column_name": "quarter_clan", + "type": "Client", + "json_mapping": { + "field": "addresses.commune" + } + }, + { + "column_name": "street", + "type": "Client", + "json_mapping": { + "field": "addresses.street" + } + }, + { + "column_name": "landmark", + "type": "Client", + "json_mapping": { + "field": "addresses.landmark" + } + }, + { + "column_name": "gps", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "163277AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "fam_source_income", + "type": "Client", + "json_mapping": { + "field": "attributes.fam_source_income" + } + }, + { + "column_name": "family_head", + "type": "Client", + "json_mapping": { + "field": "relationships.family_head" + } + }, + { + "column_name": "primary_caregiver", + "type": "Client", + "json_mapping": { + "field": "relationships.primary_caregiver" + } + }, + { + "column_name": "last_interacted_with", + "type": "Event", + "json_mapping": { + "field": "version" + } + }, + { + "column_name": "date_removed", + "type": "Client", + "json_mapping": { + "field": "attributes.dateRemoved" + } + }, + { + "column_name": "entity_type", + "type": "Event", + "json_mapping": { + "field": "entityType" + } + } + ] + }, + { + "name": "ec_family_member", + "columns": [ + { + "column_name": "base_entity_id", + "type": "Client", + "json_mapping": { + "field": "baseEntityId" + } + }, + { + "column_name": "unique_id", + "type": "Client", + "json_mapping": { + "field": "identifiers.opensrp_id" + } + }, + { + "column_name": "relational_id", + "type": "Client", + "json_mapping": { + "field": "relationships.family" + } + }, + { + "column_name": "first_name", + "type": "Client", + "json_mapping": { + "field": "firstName" + } + }, + { + "column_name": "middle_name", + "type": "Client", + "json_mapping": { + "field": "middleName" + } + }, + { + "column_name": "last_name", + "type": "Client", + "json_mapping": { + "field": "lastName" + } + }, + { + "column_name": "dob", + "type": "Client", + "json_mapping": { + "field": "birthdate" + } + }, + { + "column_name": "dod", + "type": "Client", + "json_mapping": { + "field": "deathdate" + } + }, + { + "column_name": "dob_unknown", + "type": "Client", + "json_mapping": { + "field": "birthdateApprox" + } + }, + { + "column_name": "gender", + "type": "Client", + "json_mapping": { + "field": "gender" + } + }, + { + "column_name": "ever_school", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "everSchool" + } + }, + { + "column_name": "school_level", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "schoolLevel" + } + }, + { + "column_name": "phone_number", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "159635AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "other_phone_number", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "highest_edu_level", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1712AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "national_id", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "163084AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "entity_type", + "type": "Event", + "json_mapping": { + "field": "entityType" + } + }, + { + "column_name": "last_interacted_with", + "type": "Event", + "json_mapping": { + "field": "version" + } + }, + { + "column_name": "date_removed", + "type": "Client", + "json_mapping": { + "field": "attributes.dateRemoved" + } + }, + { + "column_name": "marital_status", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + } + ] + }, + { + "name": "ec_child", + "columns": [ + { + "column_name": "base_entity_id", + "type": "Client", + "json_mapping": { + "field": "baseEntityId" + } + }, + { + "column_name": "unique_id", + "type": "Client", + "json_mapping": { + "field": "identifiers.opensrp_id" + } + }, + { + "column_name": "relational_id", + "type": "Client", + "json_mapping": { + "field": "relationships.family" + } + }, + { + "column_name": "mother_entity_id", + "type": "Client", + "json_mapping": { + "field": "relationships.mother" + } + }, + { + "column_name": "entry_point", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "entry_point" + } + }, + { + "column_name": "first_name", + "type": "Client", + "json_mapping": { + "field": "firstName" + } + }, + { + "column_name": "middle_name", + "type": "Client", + "json_mapping": { + "field": "middleName" + } + }, + { + "column_name": "last_name", + "type": "Client", + "json_mapping": { + "field": "lastName" + } + }, + { + "column_name": "dob", + "type": "Client", + "json_mapping": { + "field": "birthdate" + } + }, + { + "column_name": "dod", + "type": "Client", + "json_mapping": { + "field": "deathdate" + } + }, + { + "column_name": "dob_unknown", + "type": "Client", + "json_mapping": { + "field": "birthdateApprox" + } + }, + { + "column_name": "gender", + "type": "Client", + "json_mapping": { + "field": "gender" + } + }, + { + "column_name": "early_bf_1hr", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "161543AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "low_birth_weight", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1431AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "physically_challenged", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "159522AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "last_interacted_with", + "type": "Event", + "json_mapping": { + "field": "version" + } + }, + { + "column_name": "last_home_visit", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "formSubmissionField": "last_home_visit" + } + }, + { + "column_name": "visit_not_done", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "formSubmissionField": "visit_not_done" + } + }, + { + "column_name": "date_removed", + "type": "Client", + "json_mapping": { + "field": "attributes.dateRemoved" + } + }, + { + "column_name": "date_created", + "type": "Client", + "json_mapping": { + "field": "dateCreated" + } + }, + { + "column_name": "birth_cert", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "165406AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "birth_cert_issue_date", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "164129AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "birth_cert_num", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "162052AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "birth_notification", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "165405AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "date_of_illness", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1730AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "illness_description", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1390AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "action_taken", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "164378AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "vaccine_card", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "formSubmissionField": "vaccine_card" + } + } + ] + }, + { + "name": "ec_child_activity", + "columns": [ + { + "column_name": "event_id", + "type": "Event", + "json_mapping": { + "field": "eventId" + } + }, + { + "column_name": "relational_id", + "type": "Client", + "json_mapping": { + "field": "relationships.family" + } + }, + { + "column_name": "form_submission_id", + "type": "Event", + "json_mapping": { + "field": "formSubmissionId" + } + }, + { + "column_name": "base_entity_id", + "type": "Client", + "json_mapping": { + "field": "baseEntityId" + } + }, + { + "column_name": "event_type", + "type": "Event", + "json_mapping": { + "field": "eventType" + } + }, + { + "column_name": "last_home_visit", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "formSubmissionField": "last_home_visit" + } + }, + { + "column_name": "visit_not_done", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "formSubmissionField": "visit_not_done" + } + }, + { + "column_name": "event_date", + "type": "Event", + "json_mapping": { + "field": "eventDate" + } + }, + { + "column_name": "date_removed", + "type": "Client", + "json_mapping": { + "field": "attributes.dateRemoved" + } + } + ] + }, + { + "name": "ec_anc_register", + "columns": [ + { + "column_name": "base_entity_id", + "type": "Event", + "json_mapping": { + "field": "baseEntityId" + } + }, + { + "column_name": "relational_id", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "relational_id" + } + }, + { + "column_name": "last_interacted_with", + "type": "Event", + "json_mapping": { + "field": "version" + } + }, + { + "column_name": "last_menstrual_period", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1427AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "gest_age", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1438AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "edd", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "5596AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "no_prev_preg", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1438AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "gravida", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "5624AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "no_surv_children", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "164894AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "phone_number", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "159635AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "marital_status", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "last_home_visit", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "anc_visit_date" + } + }, + { + "column_name": "visit_not_done", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "anc_visit_not_done_date" + } + }, + { + "column_name": "anc_card", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1719AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "confirmed_visits", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "confirmed_visits" + } + }, + { + "column_name": "last_contact_visit", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "159590AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "has_anc_card", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1719AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + } + ] + }, + { + "name": "ec_pregnancy_outcome", + "columns": [ + { + "column_name": "base_entity_id", + "type": "Event", + "json_mapping": { + "field": "baseEntityId" + } + }, + { + "column_name": "relational_id", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "relational_id" + } + }, + { + "column_name": "preg_outcome", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "161033AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "miscarriage_date", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "165248AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "delivery_date", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "5599AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "delivery_place", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1572AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "last_visit_date", + "type": "Event", + "data_type": "date", + "source_format": "dd-MM-yyyy", + "save_format": "yyyy-MM-dd", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "pnc_visit_date" + } + }, + { + "column_name": "next_visit_date", + "type": "Event", + "data_type": "date", + "source_format": "dd-MM-yyyy", + "save_format": "yyyy-MM-dd", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "next_visit_date" + } + }, + { + "column_name": "last_health_facility_visit_date", + "type": "Event", + "data_type": "date", + "source_format": "dd-MM-yyyy", + "save_format": "yyyy-MM-dd", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "last_health_facility_visit_date" + } + }, + { + "column_name": "confirmed_health_facility_visits", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "confirmed_health_facility_visits" + } + }, + { + "column_name": "last_interacted_with", + "type": "Event", + "json_mapping": { + "field": "version" + } + } + ] + }, + { + "name": "ec_anc_log", + "columns": [ + { + "column_name": "base_entity_id", + "type": "Event", + "json_mapping": { + "field": "baseEntityId" + } + }, + { + "column_name": "date_created", + "type": "Event", + "json_mapping": { + "field": "eventDate" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/opensrp-chw/src/guinea/java/org/smartregister/chw/activity/AncMedicalHistoryActivityFlv.java b/opensrp-chw/src/guinea/java/org/smartregister/chw/activity/AncMedicalHistoryActivityFlv.java index fa9b988ef9..a27fbc9b7a 100644 --- a/opensrp-chw/src/guinea/java/org/smartregister/chw/activity/AncMedicalHistoryActivityFlv.java +++ b/opensrp-chw/src/guinea/java/org/smartregister/chw/activity/AncMedicalHistoryActivityFlv.java @@ -1,6 +1,4 @@ package org.smartregister.chw.activity; -import org.smartregister.chw.core.activity.DefaultAncMedicalHistoryActivityFlv; - -public class AncMedicalHistoryActivityFlv extends DefaultAncMedicalHistoryActivityFlv { +public class AncMedicalHistoryActivityFlv extends DefaultChwAncMedicalHistoryActivityFlv { } diff --git a/opensrp-chw/src/guinea/java/org/smartregister/chw/activity/HivProfileActivityFlv.java b/opensrp-chw/src/guinea/java/org/smartregister/chw/activity/HivProfileActivityFlv.java new file mode 100644 index 0000000000..dd5af7c454 --- /dev/null +++ b/opensrp-chw/src/guinea/java/org/smartregister/chw/activity/HivProfileActivityFlv.java @@ -0,0 +1,4 @@ +package org.smartregister.chw.activity; + +public class HivProfileActivityFlv extends DefaultHivProfileActivityFlv { +} diff --git a/opensrp-chw/src/guinea/java/org/smartregister/chw/activity/TbProfileActivityFlv.java b/opensrp-chw/src/guinea/java/org/smartregister/chw/activity/TbProfileActivityFlv.java new file mode 100644 index 0000000000..524838ce9e --- /dev/null +++ b/opensrp-chw/src/guinea/java/org/smartregister/chw/activity/TbProfileActivityFlv.java @@ -0,0 +1,4 @@ +package org.smartregister.chw.activity; + +public class TbProfileActivityFlv extends DefaultTbProfileActivityFlv { +} diff --git a/opensrp-chw/src/guinea/java/org/smartregister/chw/repository/ChwRepositoryFlv.java b/opensrp-chw/src/guinea/java/org/smartregister/chw/repository/ChwRepositoryFlv.java index 12c2e35a57..81e8ad5229 100644 --- a/opensrp-chw/src/guinea/java/org/smartregister/chw/repository/ChwRepositoryFlv.java +++ b/opensrp-chw/src/guinea/java/org/smartregister/chw/repository/ChwRepositoryFlv.java @@ -4,6 +4,7 @@ import net.sqlcipher.database.SQLiteDatabase; +import org.smartregister.chw.anc.repository.VisitRepository; import org.smartregister.chw.core.repository.ScheduleRepository; import org.smartregister.chw.util.RepositoryUtils; import org.smartregister.domain.db.Column; @@ -40,6 +41,15 @@ public static void onUpgrade(Context context, SQLiteDatabase db, int oldVersion, case 5: upgradeToVersion5(db); break; + case 6: + upgradeToVersion6(context, db); + break; + case 7: + upgradeToVersion7(db); + break; + case 8: + upgradeToVersion8(db); + break; default: break; } @@ -47,6 +57,14 @@ public static void onUpgrade(Context context, SQLiteDatabase db, int oldVersion, } } + private static void upgradeToVersion8(SQLiteDatabase db) { + try { + db.execSQL("ALTER TABLE ec_family_member ADD COLUMN marital_status VARCHAR;"); + } catch (Exception e) { + Timber.e(e, "upgradeToVersion8"); + } + } + private static void upgradeToVersion2(Context context, SQLiteDatabase db) { try { // add missing vaccine columns @@ -57,7 +75,6 @@ private static void upgradeToVersion2(Context context, SQLiteDatabase db) { db.execSQL(VaccineRepository.UPDATE_TABLE_ADD_OUT_OF_AREA_COL); db.execSQL(VaccineRepository.UPDATE_TABLE_ADD_OUT_OF_AREA_COL_INDEX); db.execSQL(VaccineRepository.UPDATE_TABLE_ADD_HIA2_STATUS_COL); - IMDatabaseUtils.accessAssetsAndFillDataBaseForVaccineTypes(context, db); // add missing event repository table Column[] columns = {EventClientRepository.event_column.formSubmissionId}; @@ -116,10 +133,30 @@ private static void upgradeToVersion4(SQLiteDatabase db) { private static void upgradeToVersion5(SQLiteDatabase db) { try { - RepositoryUtils.addDetailsColumnToFamilySearchTable(db); + RepositoryUtils.addDetailsColumnToFamilySearchTable(db); } catch (Exception e) { Timber.e(e, "upgradeToVersion5"); } } + private static void upgradeToVersion6(Context context, SQLiteDatabase db) { + try { + db.execSQL(VaccineRepository.UPDATE_TABLE_ADD_IS_VOIDED_COL); + db.execSQL(VaccineRepository.UPDATE_TABLE_ADD_IS_VOIDED_COL_INDEX); + + IMDatabaseUtils.accessAssetsAndFillDataBaseForVaccineTypes(context, db); + } catch (Exception e) { + Timber.e(e); + } + } + + private static void upgradeToVersion7(SQLiteDatabase db) { + try { + db.execSQL(VisitRepository.ADD_VISIT_GROUP_COLUMN); + } catch (Exception e) { + Timber.e(e, "upgradeToVersion7"); + } + } + + } diff --git a/opensrp-chw/src/guinea/res/xml/authenticator.xml b/opensrp-chw/src/guinea/res/xml/authenticator.xml new file mode 100644 index 0000000000..9abfb36452 --- /dev/null +++ b/opensrp-chw/src/guinea/res/xml/authenticator.xml @@ -0,0 +1,7 @@ + + \ No newline at end of file diff --git a/opensrp-chw/src/liberia/assets/ec_client_fields.json b/opensrp-chw/src/liberia/assets/ec_client_fields.json new file mode 100644 index 0000000000..447be43358 --- /dev/null +++ b/opensrp-chw/src/liberia/assets/ec_client_fields.json @@ -0,0 +1,810 @@ +{ + "bindobjects": [ + { + "name": "ec_family", + "columns": [ + { + "column_name": "base_entity_id", + "type": "Client", + "json_mapping": { + "field": "baseEntityId" + } + }, + { + "column_name": "unique_id", + "type": "Client", + "json_mapping": { + "field": "identifiers.opensrp_id" + } + }, + { + "column_name": "first_name", + "type": "Client", + "json_mapping": { + "field": "firstName" + } + }, + { + "column_name": "last_name", + "type": "Client", + "json_mapping": { + "field": "lastName" + } + }, + { + "column_name": "village_town", + "type": "Client", + "json_mapping": { + "field": "addresses.cityVillage" + } + }, + { + "column_name": "quarter_clan", + "type": "Client", + "json_mapping": { + "field": "addresses.commune" + } + }, + { + "column_name": "street", + "type": "Client", + "json_mapping": { + "field": "addresses.street" + } + }, + { + "column_name": "landmark", + "type": "Client", + "json_mapping": { + "field": "addresses.landmark" + } + }, + { + "column_name": "gps", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "163277AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "fam_source_income", + "type": "Client", + "json_mapping": { + "field": "attributes.fam_source_income" + } + }, + { + "column_name": "family_head", + "type": "Client", + "json_mapping": { + "field": "relationships.family_head" + } + }, + { + "column_name": "primary_caregiver", + "type": "Client", + "json_mapping": { + "field": "relationships.primary_caregiver" + } + }, + { + "column_name": "last_interacted_with", + "type": "Event", + "json_mapping": { + "field": "version" + } + }, + { + "column_name": "date_removed", + "type": "Client", + "json_mapping": { + "field": "attributes.dateRemoved" + } + }, + { + "column_name": "entity_type", + "type": "Event", + "json_mapping": { + "field": "entityType" + } + } + ] + }, + { + "name": "ec_family_member", + "columns": [ + { + "column_name": "base_entity_id", + "type": "Client", + "json_mapping": { + "field": "baseEntityId" + } + }, + { + "column_name": "unique_id", + "type": "Client", + "json_mapping": { + "field": "identifiers.opensrp_id" + } + }, + { + "column_name": "relational_id", + "type": "Client", + "json_mapping": { + "field": "relationships.family" + } + }, + { + "column_name": "first_name", + "type": "Client", + "json_mapping": { + "field": "firstName" + } + }, + { + "column_name": "middle_name", + "type": "Client", + "json_mapping": { + "field": "middleName" + } + }, + { + "column_name": "last_name", + "type": "Client", + "json_mapping": { + "field": "lastName" + } + }, + { + "column_name": "dob", + "type": "Client", + "json_mapping": { + "field": "birthdate" + } + }, + { + "column_name": "dod", + "type": "Client", + "json_mapping": { + "field": "deathdate" + } + }, + { + "column_name": "dob_unknown", + "type": "Client", + "json_mapping": { + "field": "birthdateApprox" + } + }, + { + "column_name": "gender", + "type": "Client", + "json_mapping": { + "field": "gender" + } + }, + { + "column_name": "ever_school", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "everSchool" + } + }, + { + "column_name": "school_level", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "schoolLevel" + } + }, + { + "column_name": "phone_number", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "159635AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "other_phone_number", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "highest_edu_level", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1712AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "national_id", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "163084AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "entity_type", + "type": "Event", + "json_mapping": { + "field": "entityType" + } + }, + { + "column_name": "last_interacted_with", + "type": "Event", + "json_mapping": { + "field": "version" + } + }, + { + "column_name": "date_removed", + "type": "Client", + "json_mapping": { + "field": "attributes.dateRemoved" + } + }, + { + "column_name": "marital_status", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + } + ] + }, + { + "name": "ec_child", + "columns": [ + { + "column_name": "base_entity_id", + "type": "Client", + "json_mapping": { + "field": "baseEntityId" + } + }, + { + "column_name": "unique_id", + "type": "Client", + "json_mapping": { + "field": "identifiers.opensrp_id" + } + }, + { + "column_name": "relational_id", + "type": "Client", + "json_mapping": { + "field": "relationships.family" + } + }, + { + "column_name": "mother_entity_id", + "type": "Client", + "json_mapping": { + "field": "relationships.mother" + } + }, + { + "column_name": "entry_point", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "entry_point" + } + }, + { + "column_name": "first_name", + "type": "Client", + "json_mapping": { + "field": "firstName" + } + }, + { + "column_name": "middle_name", + "type": "Client", + "json_mapping": { + "field": "middleName" + } + }, + { + "column_name": "last_name", + "type": "Client", + "json_mapping": { + "field": "lastName" + } + }, + { + "column_name": "dob", + "type": "Client", + "json_mapping": { + "field": "birthdate" + } + }, + { + "column_name": "dod", + "type": "Client", + "json_mapping": { + "field": "deathdate" + } + }, + { + "column_name": "dob_unknown", + "type": "Client", + "json_mapping": { + "field": "birthdateApprox" + } + }, + { + "column_name": "gender", + "type": "Client", + "json_mapping": { + "field": "gender" + } + }, + { + "column_name": "early_bf_1hr", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "161543AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "low_birth_weight", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1431AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "physically_challenged", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "159522AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "last_interacted_with", + "type": "Event", + "json_mapping": { + "field": "version" + } + }, + { + "column_name": "last_home_visit", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "formSubmissionField": "last_home_visit" + } + }, + { + "column_name": "visit_not_done", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "formSubmissionField": "visit_not_done" + } + }, + { + "column_name": "date_removed", + "type": "Client", + "json_mapping": { + "field": "attributes.dateRemoved" + } + }, + { + "column_name": "date_created", + "type": "Client", + "json_mapping": { + "field": "dateCreated" + } + }, + { + "column_name": "birth_cert", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "165406AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "birth_cert_issue_date", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "164129AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "birth_cert_num", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "162052AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "birth_notification", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "165405AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "date_of_illness", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1730AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "illness_description", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1390AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "action_taken", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "164378AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "vaccine_card", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "formSubmissionField": "vaccine_card" + } + } + ] + }, + { + "name": "ec_child_activity", + "columns": [ + { + "column_name": "event_id", + "type": "Event", + "json_mapping": { + "field": "eventId" + } + }, + { + "column_name": "relational_id", + "type": "Client", + "json_mapping": { + "field": "relationships.family" + } + }, + { + "column_name": "form_submission_id", + "type": "Event", + "json_mapping": { + "field": "formSubmissionId" + } + }, + { + "column_name": "base_entity_id", + "type": "Client", + "json_mapping": { + "field": "baseEntityId" + } + }, + { + "column_name": "event_type", + "type": "Event", + "json_mapping": { + "field": "eventType" + } + }, + { + "column_name": "last_home_visit", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "formSubmissionField": "last_home_visit" + } + }, + { + "column_name": "visit_not_done", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "formSubmissionField": "visit_not_done" + } + }, + { + "column_name": "event_date", + "type": "Event", + "json_mapping": { + "field": "eventDate" + } + }, + { + "column_name": "date_removed", + "type": "Client", + "json_mapping": { + "field": "attributes.dateRemoved" + } + } + ] + }, + { + "name": "ec_anc_register", + "columns": [ + { + "column_name": "base_entity_id", + "type": "Event", + "json_mapping": { + "field": "baseEntityId" + } + }, + { + "column_name": "relational_id", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "relational_id" + } + }, + { + "column_name": "last_interacted_with", + "type": "Event", + "json_mapping": { + "field": "version" + } + }, + { + "column_name": "last_menstrual_period", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1427AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "gest_age", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1438AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "edd", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "5596AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "no_prev_preg", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1438AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "gravida", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "5624AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "no_surv_children", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "164894AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "phone_number", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "159635AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "marital_status", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "last_home_visit", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "anc_visit_date" + } + }, + { + "column_name": "visit_not_done", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "anc_visit_not_done_date" + } + }, + { + "column_name": "anc_card", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1719AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "confirmed_visits", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "confirmed_visits" + } + }, + { + "column_name": "last_contact_visit", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "159590AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "has_anc_card", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1719AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + } + ] + }, + { + "name": "ec_pregnancy_outcome", + "columns": [ + { + "column_name": "base_entity_id", + "type": "Event", + "json_mapping": { + "field": "baseEntityId" + } + }, + { + "column_name": "relational_id", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "relational_id" + } + }, + { + "column_name": "preg_outcome", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "161033AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "miscarriage_date", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "165248AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "delivery_date", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "5599AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "delivery_place", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "1572AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "column_name": "last_visit_date", + "type": "Event", + "data_type": "date", + "source_format": "dd-MM-yyyy", + "save_format": "yyyy-MM-dd", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "pnc_visit_date" + } + }, + { + "column_name": "next_visit_date", + "type": "Event", + "data_type": "date", + "source_format": "dd-MM-yyyy", + "save_format": "yyyy-MM-dd", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "next_visit_date" + } + }, + { + "column_name": "last_health_facility_visit_date", + "type": "Event", + "data_type": "date", + "source_format": "dd-MM-yyyy", + "save_format": "yyyy-MM-dd", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "last_health_facility_visit_date" + } + }, + { + "column_name": "confirmed_health_facility_visits", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "confirmed_health_facility_visits" + } + }, + { + "column_name": "last_interacted_with", + "type": "Event", + "json_mapping": { + "field": "version" + } + } + ] + }, + { + "name": "ec_anc_log", + "columns": [ + { + "column_name": "base_entity_id", + "type": "Event", + "json_mapping": { + "field": "baseEntityId" + } + }, + { + "column_name": "date_created", + "type": "Event", + "json_mapping": { + "field": "eventDate" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/opensrp-chw/src/liberia/java/org/smartregister/chw/activity/AncMedicalHistoryActivityFlv.java b/opensrp-chw/src/liberia/java/org/smartregister/chw/activity/AncMedicalHistoryActivityFlv.java index fa9b988ef9..a27fbc9b7a 100644 --- a/opensrp-chw/src/liberia/java/org/smartregister/chw/activity/AncMedicalHistoryActivityFlv.java +++ b/opensrp-chw/src/liberia/java/org/smartregister/chw/activity/AncMedicalHistoryActivityFlv.java @@ -1,6 +1,4 @@ package org.smartregister.chw.activity; -import org.smartregister.chw.core.activity.DefaultAncMedicalHistoryActivityFlv; - -public class AncMedicalHistoryActivityFlv extends DefaultAncMedicalHistoryActivityFlv { +public class AncMedicalHistoryActivityFlv extends DefaultChwAncMedicalHistoryActivityFlv { } diff --git a/opensrp-chw/src/liberia/java/org/smartregister/chw/activity/HivProfileActivityFlv.java b/opensrp-chw/src/liberia/java/org/smartregister/chw/activity/HivProfileActivityFlv.java new file mode 100644 index 0000000000..dd5af7c454 --- /dev/null +++ b/opensrp-chw/src/liberia/java/org/smartregister/chw/activity/HivProfileActivityFlv.java @@ -0,0 +1,4 @@ +package org.smartregister.chw.activity; + +public class HivProfileActivityFlv extends DefaultHivProfileActivityFlv { +} diff --git a/opensrp-chw/src/liberia/java/org/smartregister/chw/activity/TbProfileActivityFlv.java b/opensrp-chw/src/liberia/java/org/smartregister/chw/activity/TbProfileActivityFlv.java new file mode 100644 index 0000000000..524838ce9e --- /dev/null +++ b/opensrp-chw/src/liberia/java/org/smartregister/chw/activity/TbProfileActivityFlv.java @@ -0,0 +1,4 @@ +package org.smartregister.chw.activity; + +public class TbProfileActivityFlv extends DefaultTbProfileActivityFlv { +} diff --git a/opensrp-chw/src/liberia/java/org/smartregister/chw/repository/ChwRepositoryFlv.java b/opensrp-chw/src/liberia/java/org/smartregister/chw/repository/ChwRepositoryFlv.java index fdad42fc4c..d491fc651b 100644 --- a/opensrp-chw/src/liberia/java/org/smartregister/chw/repository/ChwRepositoryFlv.java +++ b/opensrp-chw/src/liberia/java/org/smartregister/chw/repository/ChwRepositoryFlv.java @@ -4,6 +4,7 @@ import net.sqlcipher.database.SQLiteDatabase; +import org.smartregister.chw.anc.repository.VisitRepository; import org.smartregister.chw.util.RepositoryUtils; import org.smartregister.domain.db.Column; import org.smartregister.immunization.repository.RecurringServiceRecordRepository; @@ -36,6 +37,15 @@ public static void onUpgrade(Context context, SQLiteDatabase db, int oldVersion, case 4: upgradeToVersion4(db); break; + case 5: + upgradeToVersion5(context, db); + break; + case 6: + upgradeToVersion6(db); + break; + case 7: + upgradeToVersion7(db); + break; default: break; } @@ -43,6 +53,7 @@ public static void onUpgrade(Context context, SQLiteDatabase db, int oldVersion, } } + private static void upgradeToVersion2(Context context, SQLiteDatabase db) { try { // nuke the database and recreate everything @@ -55,7 +66,6 @@ private static void upgradeToVersion2(Context context, SQLiteDatabase db) { db.execSQL(VaccineRepository.UPDATE_TABLE_ADD_OUT_OF_AREA_COL); db.execSQL(VaccineRepository.UPDATE_TABLE_ADD_OUT_OF_AREA_COL_INDEX); db.execSQL(VaccineRepository.UPDATE_TABLE_ADD_HIA2_STATUS_COL); - IMDatabaseUtils.accessAssetsAndFillDataBaseForVaccineTypes(context, db); // add missing event repository table Column[] columns = {EventClientRepository.event_column.formSubmissionId}; @@ -104,9 +114,37 @@ private static void upgradeToVersion3(SQLiteDatabase db) { private static void upgradeToVersion4(SQLiteDatabase db) { try { - RepositoryUtils.addDetailsColumnToFamilySearchTable(db); + RepositoryUtils.addDetailsColumnToFamilySearchTable(db); + } catch (Exception e) { + Timber.e(e); + } + } + + private static void upgradeToVersion5(Context context, SQLiteDatabase db) { + try { + db.execSQL(VaccineRepository.UPDATE_TABLE_ADD_IS_VOIDED_COL); + db.execSQL(VaccineRepository.UPDATE_TABLE_ADD_IS_VOIDED_COL_INDEX); + + IMDatabaseUtils.accessAssetsAndFillDataBaseForVaccineTypes(context, db); } catch (Exception e) { Timber.e(e); } } + + private static void upgradeToVersion6(SQLiteDatabase db) { + try { + db.execSQL(VisitRepository.ADD_VISIT_GROUP_COLUMN); + } catch (Exception e) { + Timber.e(e, "upgradeToVersion6"); + } + } + + + private static void upgradeToVersion7(SQLiteDatabase db) { + try { + db.execSQL("ALTER TABLE ec_family_member ADD COLUMN marital_status VARCHAR;"); + } catch (Exception e) { + Timber.e(e, "upgradeToVersion7"); + } + } } \ No newline at end of file diff --git a/opensrp-chw/src/liberia/res/xml/authenticator.xml b/opensrp-chw/src/liberia/res/xml/authenticator.xml new file mode 100644 index 0000000000..a6b9c78ecb --- /dev/null +++ b/opensrp-chw/src/liberia/res/xml/authenticator.xml @@ -0,0 +1,7 @@ + + \ No newline at end of file diff --git a/opensrp-chw/src/lmh/assets/ec_client_classification.json b/opensrp-chw/src/lmh/assets/ec_client_classification.json index 6f567f3bef..ddd9f38676 100644 --- a/opensrp-chw/src/lmh/assets/ec_client_classification.json +++ b/opensrp-chw/src/lmh/assets/ec_client_classification.json @@ -139,6 +139,20 @@ "creates_case": [ "ec_pregnancy_outcome" ] + }, + { + "field": "eventType", + "field_value": "update_thinkmd_id", + "creates_case": [ + "ec_child" + ] + }, + { + "field": "eventType", + "field_value": "thinkMd_assessment", + "creates_case": [ + "ec_child" + ] } ] } diff --git a/opensrp-chw/src/lmh/assets/ec_client_fields.json b/opensrp-chw/src/lmh/assets/ec_client_fields.json index d5ca905e7f..958b67177f 100644 --- a/opensrp-chw/src/lmh/assets/ec_client_fields.json +++ b/opensrp-chw/src/lmh/assets/ec_client_fields.json @@ -249,6 +249,29 @@ "field": "baseEntityId" } }, + { + "column_name": "thinkmd_id", + "type": "Client", + "json_mapping": { + "field": "identifiers.thinkmd_id" + } + }, + { + "column_name": "thinkmd_fhir_bundle", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "thinkmd_fhir_bundle" + } + }, + { + "column_name": "care_plan_date", + "type": "Event", + "json_mapping": { + "field": "obs.fieldCode", + "concept": "carePlanDate" + } + }, { "column_name": "unique_id", "type": "Client", diff --git a/opensrp-chw/src/lmh/assets/json.form/child_enrollment.json b/opensrp-chw/src/lmh/assets/json.form/child_enrollment.json index ae831d2227..989bd16862 100644 --- a/opensrp-chw/src/lmh/assets/json.form/child_enrollment.json +++ b/opensrp-chw/src/lmh/assets/json.form/child_enrollment.json @@ -52,7 +52,7 @@ } }, "step1": { - "title": "Eligible child", + "title": "{{child_enrollment.step1.title}}", "fields": [ { "key": "unique_id", @@ -60,16 +60,16 @@ "openmrs_entity": "person_identifier", "openmrs_entity_id": "opensrp_id", "type": "edit_text", - "hint": "ID *", + "hint": "{{child_enrollment.step1.unique_id.hint}}", "read_only": "true", "value": "0", "v_numeric": { "value": "true", - "err": "Please enter a valid ID" + "err": "{{child_enrollment.step1.unique_id.v_numeric.err}}" }, "v_required": { "value": "true", - "err": "Please enter the Child's OpenMRS ID" + "err": "{{child_enrollment.step1.unique_id.v_required.err}}" } }, { @@ -87,15 +87,15 @@ "openmrs_entity_id": "first_name", "openmrs_data_type": "text", "type": "edit_text", - "hint": "First name", + "hint": "{{child_enrollment.step1.first_name.hint}}", "expanded": false, "v_required": { "value": "true", - "err": "Please Enter a Valid Name" + "err": "{{child_enrollment.step1.first_name.v_required.err}}" }, "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please Enter a Valid Name" + "err": "{{child_enrollment.step1.first_name.v_regex.err}}" } }, { @@ -105,11 +105,11 @@ "openmrs_entity_id": "middle_name", "openmrs_data_type": "text", "type": "edit_text", - "hint": "Middle name", + "hint": "{{child_enrollment.step1.middle_name.hint}}", "expanded": false, "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please Enter a Valid Name" + "err": "{{child_enrollment.step1.middle_name.v_regex.err}}" } }, { @@ -118,16 +118,16 @@ "openmrs_entity": "person", "openmrs_entity_id": "birthdate", "type": "date_picker", - "hint": "Date of birth (DOB)", + "hint": "{{child_enrollment.step1.dob.hint}}", "expanded": false, "duration": { - "label": "Age" + "label": "{{child_enrollment.step1.dob.duration.label}}" }, "min_date": "today-11y", "max_date": "today", "v_required": { "value": "true", - "err": "Please enter the date of birth" + "err": "{{child_enrollment.step1.dob.v_required.err}}" }, "relevance": { "rules-engine": { @@ -143,11 +143,11 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "check_box", - "label": "", + "label": "{{child_enrollment.step1.dob_estimated.label}}", "options": [ { "key": "dob_estimated", - "text": "DOB is estimated", + "text": "{{child_enrollment.step1.dob_estimated.options.dob_estimated.text}}", "text_size": "18px", "value": "false" } @@ -160,11 +160,11 @@ "openmrs_entity_id": "birthdateApprox", "hidden": "true", "type": "check_box", - "label": "", + "label": "{{child_enrollment.step1.dob_unknown.label}}", "options": [ { "key": "dob_unknown", - "text": "DOB unknown?", + "text": "{{child_enrollment.step1.dob_unknown.options.dob_unknown.text}}", "text_size": "18px", "value": "false" } @@ -176,18 +176,18 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "age", "type": "edit_text", - "hint": "Age", + "hint": "{{child_enrollment.step1.age.hint}}", "v_numeric": { "value": "true", - "err": "Number must begin with 0 and must be a total of 10 digits in length" + "err": "{{child_enrollment.step1.age.v_numeric.err}}" }, "v_min": { "value": "0", - "err": "Age must be equal or greater than 0" + "err": "{{child_enrollment.step1.age.v_min.err}}" }, "v_max": { "value": "11", - "err": "Age must be equal or less than 11" + "err": "{{child_enrollment.step1.age.v_max.err}}" }, "relevance": { "rules-engine": { @@ -198,7 +198,7 @@ }, "v_required": { "value": true, - "err": "Please enter the age" + "err": "{{child_enrollment.step1.age.v_required.err}}" } }, { @@ -207,16 +207,17 @@ "openmrs_entity": "person", "openmrs_entity_id": "gender", "type": "spinner", - "hint": "Sex", + "hint": "{{child_enrollment.step1.gender.hint}}", "values": [ - "Male", - "Female" + "{{child_enrollment.step1.gender.values[0]}}", + "{{child_enrollment.step1.gender.values[1]}}" ], "v_required": { "value": "true", - "err": "Please enter the sex" + "err": "{{child_enrollment.step1.gender.v_required.err}}" } } ] - } + }, + "properties_file_name": "child_enrollment" } \ No newline at end of file diff --git a/opensrp-chw/src/lmh/assets/json.form/child_sick_form.json b/opensrp-chw/src/lmh/assets/json.form/child_sick_form.json index dee71e5f73..393ee9bd73 100644 --- a/opensrp-chw/src/lmh/assets/json.form/child_sick_form.json +++ b/opensrp-chw/src/lmh/assets/json.form/child_sick_form.json @@ -54,7 +54,7 @@ } }, "step1": { - "title": "Sick Child", + "title": "{{child_sick_form.step1.title}}", "fields": [ { "key": "age_in_months", @@ -76,7 +76,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "This child is below 2 months of age. If you continue, you will be providing this care outside of the recommended national guidelines. If you do not wish to proceed, please exit the form..", + "text": "{{child_sick_form.step1.sick_child_warning.text}}", "text_color": "#CF0800", "toaster_type": "warning", "relevance": { @@ -94,14 +94,14 @@ "openmrs_entity_id": "manual_date", "openmrs_data_type": "text", "type": "date_picker", - "label": "Date of visit", - "hint": "Date of visit", + "label": "{{child_sick_form.step1.manual_date.label}}", + "hint": "{{child_sick_form.step1.manual_date.hint}}", "expanded": false, "min_date": "today-1y", "max_date": "today", "v_required": { "value": "true", - "err": "Enter the visit date" + "err": "{{child_sick_form.step1.manual_date.v_required.err}}" } }, { @@ -110,28 +110,28 @@ "openmrs_entity": "", "openmrs_entity_id": "", "type": "native_radio", - "label": "What kind of visit is this?", + "label": "{{child_sick_form.step1.visit_type.label}}", "options": [ { "key": "Initial Visit", - "text": "Initial Visit" + "text": "{{child_sick_form.step1.visit_type.options.Initial_Visit.text}}" }, { "key": "1st follow-up visit", - "text": "1st follow-up visit" + "text": "{{child_sick_form.step1.visit_type.options.1st_follow-up_visit.text}}" }, { "key": "2nd follow-up visit", - "text": "2nd follow-up visit" + "text": "{{child_sick_form.step1.visit_type.options.2nd_follow-up_visit.text}}" }, { "key": "3rd follow-up visit", - "text": "3rd follow-up visit" + "text": "{{child_sick_form.step1.visit_type.options.3rd_follow-up_visit.text}}" } ], "v_required": { "value": "true", - "err": "Required field" + "err": "{{child_sick_form.step1.visit_type.v_required.err}}" } }, { @@ -140,20 +140,20 @@ "openmrs_entity": "concept", "openmrs_entity_id": "source", "type": "native_radio", - "label": "How did you find the child?", + "label": "{{child_sick_form.step1.source.label}}", "options": [ { "key": "Passive case finding (Parent came to me)", - "text": "Passive case finding (Parent came to me)" + "text": "{{child_sick_form.step1.source.options.Passive_case_finding_(Parent_came_to_me).text}}" }, { "key": "Active case finding (CHA went to sick child or on routine visit)", - "text": "Active case finding (CHA went to sick child or on routine visit)" + "text": "{{child_sick_form.step1.source.options.Active_case_finding_(CHA_went_to_sick_child_or_on_routine_visit).text}}" } ], "v_required": { "value": "true", - "err": "Required field" + "err": "{{child_sick_form.step1.source.v_required.err}}" }, "relevance": { "rules-engine": { @@ -169,7 +169,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "danger_signs", "type": "check_box", - "label": "Ask and look to see if the child has any DANGER SIGNS:", + "label": "{{child_sick_form.step1.danger_signs.label}}", "label_text_style": "normal", "exclusive": [ "chk_none" @@ -177,91 +177,91 @@ "options": [ { "key": "chk_muac", - "text": "Red MUAC Strap", + "text": "{{child_sick_form.step1.danger_signs.options.chk_muac.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "chk_muac" }, { "key": "chk_feet_swelling", - "text": "Both feet swelling", + "text": "{{child_sick_form.step1.danger_signs.options.chk_feet_swelling.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "chk_feet_swelling" }, { "key": "chk_sleepy_unconscious", - "text": "Very sleepy or unconscious", + "text": "{{child_sick_form.step1.danger_signs.options.chk_sleepy_unconscious.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "chk_sleepy_unconscious" }, { "key": "chk_convulsions", - "text": "Convulsions (Jerking)", + "text": "{{child_sick_form.step1.danger_signs.options.chk_convulsions.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "chk_convulsions" }, { "key": "chk_unable_to_eat", - "text": "Unable to eat or drink anything", + "text": "{{child_sick_form.step1.danger_signs.options.chk_unable_to_eat.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "chk_unable_to_eat" }, { "key": "chk_vomiting", - "text": "Vomiting everything", + "text": "{{child_sick_form.step1.danger_signs.options.chk_vomiting.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "chk_vomiting" }, { "key": "chk_blood_in_poo", - "text": "Blood in poo poo", + "text": "{{child_sick_form.step1.danger_signs.options.chk_blood_in_poo.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "chk_blood_in_poo" }, { "key": "chk_coughing", - "text": "Coughing more than 21 days", + "text": "{{child_sick_form.step1.danger_signs.options.chk_coughing.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "chk_coughing" }, { "key": "chk_chest_indrawing", - "text": "Chest indrawing", + "text": "{{child_sick_form.step1.danger_signs.options.chk_chest_indrawing.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "chk_coughing" }, { "key": "chk_fever", - "text": "Fever more than 7 days", + "text": "{{child_sick_form.step1.danger_signs.options.chk_fever.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "chk_fever" }, { "key": "chk_running_stomach", - "text": "Stomach running more than 14 days", + "text": "{{child_sick_form.step1.danger_signs.options.chk_running_stomach.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "chk_running_stomach" }, { "key": "chk_other", - "text": "Any other problem you cannot treat", + "text": "{{child_sick_form.step1.danger_signs.options.chk_other.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "chk_other" }, { "key": "chk_none", - "text": "None of the above", + "text": "{{child_sick_form.step1.danger_signs.options.chk_none.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "chk_none" @@ -288,11 +288,11 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "{firstName} has the following danger signs and needs to be referred to a health facility:\n{dangerSigns}", + "text": "{{child_sick_form.step1.danger_signs_present_toaster.text}}", "toaster_type": "problem", "v_required": { "value": "true", - "err": "Required field" + "err": "{{child_sick_form.step1.danger_signs_present_toaster.v_required.err}}" }, "calculation": { "rules-engine": { @@ -315,16 +315,16 @@ "openmrs_entity": "concept", "openmrs_entity_id": "referral_information_one", "type": "native_radio", - "label": "Explain why the caregiver must take the child to a health facility", + "label": "{{child_sick_form.step1.referral_information_one.label}}", "options": [ { "key": "I have explained to the caregiver why the child must be moved to the health facility", - "text": "I have explained to the caregiver why the child must be moved to the health facility" + "text": "{{child_sick_form.step1.referral_information_one.options.I_have_explained_to_the_caregiver_why_the_child_must_be_moved_to_the_health_facility.text}}" } ], "v_required": { "value": "true", - "err": "Required field" + "err": "{{child_sick_form.step1.referral_information_one.v_required.err}}" }, "relevance": { "rules-engine": { @@ -337,7 +337,7 @@ { "key": "chest_indrawing_label", "type": "label", - "text": "Referral - Chest Indrawing", + "text": "{{child_sick_form.step1.chest_indrawing_label.text}}", "has_bg": true, "left_padding": "20dp", "right_padding": "20dp", @@ -359,20 +359,20 @@ "openmrs_entity": "concept", "openmrs_entity_id": "referral_provided_amoxicillin", "type": "native_radio", - "label": "PNEUMONIA: If the child can drink, give child first dose of oral antibiotics (amoxicillin)", + "label": "{{child_sick_form.step1.referral_provided_amoxicillin.label}}", "options": [ { "key": "Yes. I have given the child oral antibiotics (amoxicillin)", - "text": "Yes. I have given the child oral antibiotics (amoxicillin)" + "text": "{{child_sick_form.step1.referral_provided_amoxicillin.options.Yes._I_have_given_the_child_oral_antibiotics_(amoxicillin).text}}" }, { "key": "No. Oral antibiotics (amoxicillin) were not provided", - "text": "No. Oral antibiotics (amoxicillin) were not provided" + "text": "{{child_sick_form.step1.referral_provided_amoxicillin.options.No._Oral_antibiotics_(amoxicillin)_were_not_provided.text}}" } ], "v_required": { "value": "true", - "err": "Required field" + "err": "{{child_sick_form.step1.referral_provided_amoxicillin.v_required.err}}" }, "relevance": { "rules-engine": { @@ -385,7 +385,7 @@ { "key": "fever_label", "type": "label", - "text": "Referral - Fever (+) 7 days", + "text": "{{child_sick_form.step1.fever_label.text}}", "has_bg": true, "left_padding": "20dp", "right_padding": "20dp", @@ -407,22 +407,22 @@ "openmrs_entity": "concept", "openmrs_entity_id": "give_act", "type": "native_radio", - "label": "MALARIA: Refer + Treat Malaria. Help caregiver give first dose of ACT and Paracetamol", - "label_info_title": "See dose card", - "label_info_text": "See dose card", + "label": "{{child_sick_form.step1.give_act.label}}", + "label_info_title": "{{child_sick_form.step1.give_act.label_info_title}}", + "label_info_text": "{{child_sick_form.step1.give_act.label_info_text}}", "options": [ { "key": "Yes. I provided the first dose of ACT and Paracetamol", - "text": "Yes. I provided the first dose of ACT and Paracetamol" + "text": "{{child_sick_form.step1.give_act.options.Yes._I_provided_the_first_dose_of_ACT_and_Paracetamol.text}}" }, { "key": "No. I did not provide the first dose of ACT and Paracetamol", - "text": "No. I did not provide the first dose of ACT and Paracetamol" + "text": "{{child_sick_form.step1.give_act.options.No._I_did_not_provide_the_first_dose_of_ACT_and_Paracetamol.text}}" } ], "v_required": { "value": "true", - "err": "Required field" + "err": "{{child_sick_form.step1.give_act.v_required.err}}" }, "relevance": { "rules-engine": { @@ -435,7 +435,7 @@ { "key": "running_stomach_label", "type": "label", - "text": "Referral - Running Stomach (+) 14 days", + "text": "{{child_sick_form.step1.running_stomach_label.text}}", "has_bg": true, "left_padding": "20dp", "right_padding": "20dp", @@ -458,22 +458,22 @@ "openmrs_entity": "concept", "openmrs_entity_id": "provided_ors", "type": "native_radio", - "label": "DIARRHEA: Give ORS right away", - "label_info_title": "See dose card", - "label_info_text": "See dose card", + "label": "{{child_sick_form.step1.provided_ors.label}}", + "label_info_title": "{{child_sick_form.step1.provided_ors.label_info_title}}", + "label_info_text": "{{child_sick_form.step1.provided_ors.label_info_text}}", "options": [ { "key": "Yes. I have given ORS to the child", - "text": "Yes. I have given ORS to the child" + "text": "{{child_sick_form.step1.provided_ors.options.Yes._I_have_given_ORS_to_the_child.text}}" }, { "key": "No. I have not given ORS to the child", - "text": "No. I have not given ORS to the child" + "text": "{{child_sick_form.step1.provided_ors.options.No._I_have_not_given_ORS_to_the_child.text}}" } ], "v_required": { "value": "true", - "err": "Required field" + "err": "{{child_sick_form.step1.provided_ors.v_required.err}}" }, "relevance": { "rules-engine": { @@ -490,16 +490,16 @@ "openmrs_entity_id": "referral_give_fluids", "openmrs_data_type": "", "type": "native_radio", - "label": "Advise the caregiver to give water and continue feeding the child", + "label": "{{child_sick_form.step1.referral_give_fluids.label}}", "options": [ { "key": "I have advised the caregiver to give fluids and continue feeding", - "text": "I have advised the caregiver to give fluids and continue feeding" + "text": "{{child_sick_form.step1.referral_give_fluids.options.I_have_advised_the_caregiver_to_give_fluids_and_continue_feeding.text}}" } ], "v_required": { "value": "true", - "err": "Required field" + "err": "{{child_sick_form.step1.referral_give_fluids.v_required.err}}" }, "relevance": { "rules-engine": { @@ -516,19 +516,19 @@ "openmrs_entity_id": "referral_keep_child_warm", "openmrs_data_type": "", "type": "native_radio", - "label": "Advise the caregiver to keep the child warm", + "label": "{{child_sick_form.step1.referral_keep_child_warm.label}}", "values": [ "I have advised the caregiver to keep the child warm" ], "options": [ { "key": "I have advised the caregiver to keep the child warm", - "text": "I have advised the caregiver to keep the child warm" + "text": "{{child_sick_form.step1.referral_keep_child_warm.options.I_have_advised_the_caregiver_to_keep_the_child_warm.text}}" } ], "v_required": { "value": "true", - "err": "Required field" + "err": "{{child_sick_form.step1.referral_keep_child_warm.v_required.err}}" }, "relevance": { "rules-engine": { @@ -545,16 +545,16 @@ "openmrs_entity_id": "referral_keep_child_cool", "openmrs_data_type": "", "type": "native_radio", - "label": "Advise the caregiver to keep the child cool", + "label": "{{child_sick_form.step1.referral_keep_child_cool.label}}", "options": [ { "key": "I have advised the caregiver to keep the child cool", - "text": "I have advised the caregiver to keep the child cool" + "text": "{{child_sick_form.step1.referral_keep_child_cool.options.I_have_advised_the_caregiver_to_keep_the_child_cool.text}}" } ], "v_required": { "value": "true", - "err": "Required field" + "err": "{{child_sick_form.step1.referral_keep_child_cool.v_required.err}}" }, "relevance": { "rules-engine": { @@ -571,20 +571,20 @@ "openmrs_entity_id": "referral_complete_form", "openmrs_data_type": "", "type": "native_radio", - "label": "Complete the 1.3 Community Trigger and Referral Form", + "label": "{{child_sick_form.step1.referral_complete_form.label}}", "options": [ { "key": "Yes. I have completed the 1.3 Community Trigger and Referral Form", - "text": "Yes. I have completed the 1.3 Community Trigger and Referral Form" + "text": "{{child_sick_form.step1.referral_complete_form.options.Yes._I_have_completed_the_1.3_Community_Trigger_and_Referral_Form.text}}" }, { "key": "No. I have NOT completed the 1.3 Community Trigger and Referral Form", - "text": "No. I have NOT completed the 1.3 Community Trigger and Referral Form" + "text": "{{child_sick_form.step1.referral_complete_form.options.No._I_have_NOT_completed_the_1.3_Community_Trigger_and_Referral_Form.text}}" } ], "v_required": { "value": "true", - "err": "Required field" + "err": "{{child_sick_form.step1.referral_complete_form.v_required.err}}" }, "relevance": { "rules-engine": { @@ -601,20 +601,20 @@ "openmrs_entity_id": "referral_arranged_transport", "openmrs_data_type": "", "type": "native_radio", - "label": "Arrange transport for the child and refer the child to the health facility", + "label": "{{child_sick_form.step1.referral_arranged_transport.label}}", "options": [ { "key": "I have attempted and was successful in arranging transport for the child for a referral visit to the facility", - "text": "I have attempted and was successful in arranging transport for the child for a referral visit to the facility" + "text": "{{child_sick_form.step1.referral_arranged_transport.options.I_have_attempted_and_was_successful_in_arranging_transport_for_the_child_for_a_referral_visit_to_the_facility.text}}" }, { "key": "I have attempted but was not successful in arranging transport for the child for a referral visit to the facility", - "text": "I have attempted but was not successful in arranging transport for the child for a referral visit to the facility" + "text": "{{child_sick_form.step1.referral_arranged_transport.options.I_have_attempted_but_was_not_successful_in_arranging_transport_for_the_child_for_a_referral_visit_to_the_facility.text}}" } ], "v_required": { "value": "true", - "err": "Required field" + "err": "{{child_sick_form.step1.referral_arranged_transport.v_required.err}}" }, "relevance": { "rules-engine": { @@ -631,20 +631,20 @@ "openmrs_entity_id": "referral_successful", "openmrs_data_type": "", "type": "native_radio", - "label": "Has the caregiver agreed to take child to health facility?", + "label": "{{child_sick_form.step1.referral_successful.label}}", "options": [ { "key": "Yes", - "text": "Yes" + "text": "{{child_sick_form.step1.referral_successful.options.Yes.text}}" }, { "key": "No", - "text": "No" + "text": "{{child_sick_form.step1.referral_successful.options.No.text}}" } ], "v_required": { "value": "true", - "err": "Required field" + "err": "{{child_sick_form.step1.referral_successful.v_required.err}}" }, "relevance": { "rules-engine": { @@ -660,7 +660,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has no danger signs. Please look for the following symptoms which can be treated at home", + "text": "{{child_sick_form.step1.no_danger_signs_toaster.text}}", "toaster_type": "positive", "relevance": { "rules-engine": { @@ -677,7 +677,7 @@ "openmrs_entity_id": "", "type": "label", "text_size": "6sp", - "text": "Please look for the following symptoms which can be treated at home", + "text": "{{child_sick_form.step1.look_for_symptoms_toaster.text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -690,7 +690,7 @@ { "key": "yellow_muac_label", "type": "label", - "text": "GRP-Yellow MUAC", + "text": "{{child_sick_form.step1.yellow_muac_label.text}}", "has_bg": true, "left_padding": "20dp", "right_padding": "20dp", @@ -714,20 +714,20 @@ "openmrs_entity_id": "referral_provided_amoxicillin", "openmrs_data_type": "", "type": "native_radio", - "label": "Does the child have Yellow MUAC?", + "label": "{{child_sick_form.step1.yellow_muac.label}}", "options": [ { "key": "Yes", - "text": "Yes" + "text": "{{child_sick_form.step1.yellow_muac.options.Yes.text}}" }, { "key": "No", - "text": "No" + "text": "{{child_sick_form.step1.yellow_muac.options.No.text}}" } ], "v_required": { "value": "true", - "err": "Required field" + "err": "{{child_sick_form.step1.yellow_muac.v_required.err}}" }, "relevance": { "rules-engine": { @@ -740,7 +740,7 @@ { "key": "coughing_or_difficulty_label", "type": "label", - "text": "Coughing or Difficult Breathing", + "text": "{{child_sick_form.step1.coughing_or_difficulty_label.text}}", "has_bg": true, "left_padding": "20dp", "right_padding": "20dp", @@ -764,20 +764,20 @@ "openmrs_entity_id": "referral_provided_amoxicillin", "openmrs_data_type": "", "type": "native_radio", - "label": "Is the child coughing?", + "label": "{{child_sick_form.step1.child_coughing.label}}", "options": [ { "key": "Yes", - "text": "Yes" + "text": "{{child_sick_form.step1.child_coughing.options.Yes.text}}" }, { "key": "No", - "text": "No" + "text": "{{child_sick_form.step1.child_coughing.options.No.text}}" } ], "v_required": { "value": "true", - "err": "Required field" + "err": "{{child_sick_form.step1.child_coughing.v_required.err}}" }, "relevance": { "rules-engine": { @@ -794,20 +794,20 @@ "openmrs_entity_id": "referral_provided_amoxicillin", "openmrs_data_type": "", "type": "native_radio", - "label": "Child has fast breathing?\n - If 2-11 months: 50+ breaths per minute\n - If 1-5 years: 40+ breaths per minute", + "label": "{{child_sick_form.step1.fast_breathing.label}}", "options": [ { "key": "Yes, has fast breathing", - "text": "Yes, has fast breathing" + "text": "{{child_sick_form.step1.fast_breathing.options.Yes,_has_fast_breathing.text}}" }, { "key": "Not fast breathing", - "text": "Not fast breathing" + "text": "{{child_sick_form.step1.fast_breathing.options.Not_fast_breathing.text}}" } ], "v_required": { "value": "true", - "err": "Required field" + "err": "{{child_sick_form.step1.fast_breathing.v_required.err}}" }, "relevance": { "rules-engine": { @@ -820,7 +820,7 @@ { "key": "fever_group_label", "type": "label", - "text": "Fever", + "text": "{{child_sick_form.step1.fever_group_label.text}}", "has_bg": true, "left_padding": "20dp", "right_padding": "20dp", @@ -844,20 +844,20 @@ "openmrs_entity_id": "fever", "openmrs_data_type": "", "type": "native_radio", - "label": "Child had fever in past 3 days?", + "label": "{{child_sick_form.step1.fever.label}}", "options": [ { "key": "Yes", - "text": "Yes" + "text": "{{child_sick_form.step1.fever.options.Yes.text}}" }, { "key": "No", - "text": "No" + "text": "{{child_sick_form.step1.fever.options.No.text}}" } ], "v_required": { "value": "true", - "err": "Required field" + "err": "{{child_sick_form.step1.fever.v_required.err}}" }, "relevance": { "rules-engine": { @@ -874,20 +874,20 @@ "openmrs_entity_id": "gave_rdt", "openmrs_data_type": "", "type": "native_radio", - "label": "Perform an RDT on the child", + "label": "{{child_sick_form.step1.gave_rdt.label}}", "options": [ { "key": "Yes, I gave the child an RDT", - "text": "Yes, I gave the child an RDT" + "text": "{{child_sick_form.step1.gave_rdt.options.Yes,_I_gave_the_child_an_RDT.text}}" }, { "key": "No, I did not give the child an RDT", - "text": "No, I did not give the child an RDT" + "text": "{{child_sick_form.step1.gave_rdt.options.No,_I_did_not_give_the_child_an_RDT.text}}" } ], "v_required": { "value": "true", - "err": "Required field" + "err": "{{child_sick_form.step1.gave_rdt.v_required.err}}" }, "relevance": { "rules-engine": { @@ -904,20 +904,20 @@ "openmrs_entity_id": "postive_malaria", "openmrs_data_type": "", "type": "native_radio", - "label": "What was the result of the RDT?", + "label": "{{child_sick_form.step1.positive_malaria.label}}", "options": [ { "key": "Positive RDT", - "text": "Positive RDT" + "text": "{{child_sick_form.step1.positive_malaria.options.Positive_RDT.text}}" }, { "key": "Negative RDT", - "text": "Negative RDT" + "text": "{{child_sick_form.step1.positive_malaria.options.Negative_RDT.text}}" } ], "v_required": { "value": "true", - "err": "Required field" + "err": "{{child_sick_form.step1.positive_malaria.v_required.err}}" }, "relevance": { "rules-engine": { @@ -930,7 +930,7 @@ { "key": "diarrhea_label", "type": "label", - "text": "Diarrhea", + "text": "{{child_sick_form.step1.diarrhea_label.text}}", "has_bg": true, "left_padding": "20dp", "right_padding": "20dp", @@ -954,20 +954,20 @@ "openmrs_entity_id": "fever", "openmrs_data_type": "", "type": "native_radio", - "label": "Has the child had 3 or more diarrhea (watery poo poos) in the last 24 hours?", + "label": "{{child_sick_form.step1.diarrhea.label}}", "options": [ { "key": "Yes", - "text": "Yes" + "text": "{{child_sick_form.step1.diarrhea.options.Yes.text}}" }, { "key": "No", - "text": "No" + "text": "{{child_sick_form.step1.diarrhea.options.No.text}}" } ], "v_required": { "value": "true", - "err": "Required field" + "err": "{{child_sick_form.step1.diarrhea.v_required.err}}" }, "relevance": { "rules-engine": { @@ -1053,7 +1053,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "treat_at_home_toaster", "type": "toaster_notes", - "text": "Begin home treatment. {firstName} has the following symptoms: {symptoms} ", + "text": "{{child_sick_form.step1.treat_at_home_toaster.text}}", "text_color": "#CF0800", "toaster_type": "warning", "calculation": { @@ -1077,20 +1077,20 @@ "openmrs_entity": "", "openmrs_entity_id": "", "type": "native_radio", - "label": "PNEUMONIA: Treat at home with Amoxicillin. Teach caregiver how to give treatment and watch caregiver give first dose now. Check caregiver's understanding and ask him/her to explain treatment plan", + "label": "{{child_sick_form.step1.treat_pneumonia.label}}", "options": [ { "key": "Yes", - "text": "Yes, I told the caregiver and gave him/her Amoxicillin" + "text": "{{child_sick_form.step1.treat_pneumonia.options.Yes.text}}" }, { "key": "No", - "text": "No, I did not give the caregiver Amoxicillin" + "text": "{{child_sick_form.step1.treat_pneumonia.options.No.text}}" } ], "v_required": { "value": "true", - "err": "Required field" + "err": "{{child_sick_form.step1.treat_pneumonia.v_required.err}}" }, "relevance": { "rules-engine": { @@ -1106,8 +1106,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "pneumonia_dose_given", "type": "edit_text", - "label": "Dose given:", - "hint": "Dose given:", + "label": "{{child_sick_form.step1.pneumonia_dose_given.label}}", + "hint": "{{child_sick_form.step1.pneumonia_dose_given.hint}}", "relevance": { "rules-engine": { "ex-rules": { @@ -1122,24 +1122,24 @@ "openmrs_entity": "", "openmrs_entity_id": "", "type": "native_radio", - "label": "Why was treatment for Pneumonia not provided?", + "label": "{{child_sick_form.step1.did_not_treat_pneumonia_reason.label}}", "options": [ { "key": "out_of_stock", - "text": "Out of stock" + "text": "{{child_sick_form.step1.did_not_treat_pneumonia_reason.options.out_of_stock.text}}" }, { "key": "treatment_provided_by_outreach_or_clinic", - "text": "Treatment provided by outreach or clinic" + "text": "{{child_sick_form.step1.did_not_treat_pneumonia_reason.options.treatment_provided_by_outreach_or_clinic.text}}" }, { "key": "other", - "text": "Other" + "text": "{{child_sick_form.step1.did_not_treat_pneumonia_reason.options.other.text}}" } ], "v_required": { "value": "true", - "err": "Required field" + "err": "{{child_sick_form.step1.did_not_treat_pneumonia_reason.v_required.err}}" }, "relevance": { "rules-engine": { @@ -1155,8 +1155,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "did_not_treat_pneumonia_reason_other", "type": "edit_text", - "label": "Other:", - "hint": "Other:", + "label": "{{child_sick_form.step1.did_not_treat_pneumonia_reason_other.label}}", + "hint": "{{child_sick_form.step1.did_not_treat_pneumonia_reason_other.hint}}", "relevance": { "rules-engine": { "ex-rules": { @@ -1172,20 +1172,20 @@ "openmrs_entity_id": "treat_malaria", "openmrs_data_type": "", "type": "native_radio", - "label": "MALARIA: Teach caregiver how to give treatment and watch caregiver give first ACT and Paracetamol doses now. Check caregiver's understanding and ask him/her to explain treatment plan", + "label": "{{child_sick_form.step1.treat_malaria.label}}", "options": [ { "key": "Yes, I informed the caregiver and gave child ACT and Paracetamol", - "text": "Yes, I informed the caregiver and gave child ACT and Paracetamol" + "text": "{{child_sick_form.step1.treat_malaria.options.Yes,_I_informed_the_caregiver_and_gave_child_ACT_and_Paracetamol.text}}" }, { "key": "No, I did not give the child ACT and Paracetamol", - "text": "No, I did not give the child ACT and Paracetamol" + "text": "{{child_sick_form.step1.treat_malaria.options.No,_I_did_not_give_the_child_ACT_and_Paracetamol.text}}" } ], "v_required": { "value": "true", - "err": "Required field" + "err": "{{child_sick_form.step1.treat_malaria.v_required.err}}" }, "relevance": { "rules-engine": { @@ -1202,11 +1202,11 @@ "openmrs_entity_id": "malaria_dose_given", "openmrs_data_type": "", "type": "edit_text", - "label": "Dose given:", - "hint": "Dose given:", + "label": "{{child_sick_form.step1.malaria_dose_given.label}}", + "hint": "{{child_sick_form.step1.malaria_dose_given.hint}}", "v_required": { "value": "true", - "err": "Required field" + "err": "{{child_sick_form.step1.malaria_dose_given.v_required.err}}" }, "relevance": { "rules-engine": { @@ -1223,24 +1223,24 @@ "openmrs_entity_id": "did_not_treat_malaria_reason", "openmrs_data_type": "", "type": "native_radio", - "label": "Why was treatment for Malaria not provided?", + "label": "{{child_sick_form.step1.did_not_treat_malaria_reason.label}}", "options": [ { "key": "Out of stock", - "text": "Out of stock" + "text": "{{child_sick_form.step1.did_not_treat_malaria_reason.options.Out_of_stock.text}}" }, { "key": "Treatment provided by outreach clinic", - "text": "Treatment provided by outreach clinic" + "text": "{{child_sick_form.step1.did_not_treat_malaria_reason.options.Treatment_provided_by_outreach_clinic.text}}" }, { "key": "Other", - "text": "Other" + "text": "{{child_sick_form.step1.did_not_treat_malaria_reason.options.Other.text}}" } ], "v_required": { "value": "true", - "err": "Required field" + "err": "{{child_sick_form.step1.did_not_treat_malaria_reason.v_required.err}}" }, "relevance": { "rules-engine": { @@ -1257,11 +1257,11 @@ "openmrs_entity_id": "did_not_treat_malaria_reason_other", "openmrs_data_type": "", "type": "edit_text", - "label": "Other:", - "hint": "Other:", + "label": "{{child_sick_form.step1.did_not_treat_malaria_reason_other.label}}", + "hint": "{{child_sick_form.step1.did_not_treat_malaria_reason_other.hint}}", "v_required": { "value": "true", - "err": "Required field" + "err": "{{child_sick_form.step1.did_not_treat_malaria_reason_other.v_required.err}}" }, "relevance": { "rules-engine": { @@ -1277,23 +1277,23 @@ "openmrs_entity": "concept", "openmrs_entity_id": "did_not_treat_malaria_reason", "openmrs_data_type": "", - "label_info_text": "Use dose card to determine correct treatment plan", - "label_info_title": "Treat diarrhea", + "label_info_text": "{{child_sick_form.step1.treat_diarrhea.label_info_text}}", + "label_info_title": "{{child_sick_form.step1.treat_diarrhea.label_info_title}}", "type": "native_radio", - "label": "DIARRHEA: Teach caregiver how to give treatment and watch caregiver give first dose of ORS and Zinc now. Check caregiver's understanding and ask him/her to explain treatment plan", + "label": "{{child_sick_form.step1.treat_diarrhea.label}}", "options": [ { "key": "Yes, I informed the caregiver and gave child ORS and Zinc", - "text": "Yes, I informed the caregiver and gave child ORS and Zinc" + "text": "{{child_sick_form.step1.treat_diarrhea.options.Yes,_I_informed_the_caregiver_and_gave_child_ORS_and_Zinc.text}}" }, { "key": "No, I did not give the child ORS and Zinc", - "text": "No, I did not give the child ORS and Zinc" + "text": "{{child_sick_form.step1.treat_diarrhea.options.No,_I_did_not_give_the_child_ORS_and_Zinc.text}}" } ], "v_required": { "value": "true", - "err": "Required field" + "err": "{{child_sick_form.step1.treat_diarrhea.v_required.err}}" }, "relevance": { "rules-engine": { @@ -1310,11 +1310,11 @@ "openmrs_entity_id": "diarrhea_dose_given", "openmrs_data_type": "", "type": "edit_text", - "label": "Dose given:", - "hint": "Dose given:", + "label": "{{child_sick_form.step1.diarrhea_dose_given.label}}", + "hint": "{{child_sick_form.step1.diarrhea_dose_given.hint}}", "v_required": { "value": "true", - "err": "Required field" + "err": "{{child_sick_form.step1.diarrhea_dose_given.v_required.err}}" }, "relevance": { "rules-engine": { @@ -1331,24 +1331,24 @@ "openmrs_entity_id": "did_not_treat_diarrhea_reason", "openmrs_data_type": "", "type": "native_radio", - "label": "Why was treatment for Diarrhea not provided?", + "label": "{{child_sick_form.step1.did_not_treat_diarrhea_reason.label}}", "options": [ { "key": "Out of stock", - "text": "Out of stock" + "text": "{{child_sick_form.step1.did_not_treat_diarrhea_reason.options.Out_of_stock.text}}" }, { "key": "Treatment provided by outreach clinic", - "text": "Treatment provided by outreach clinic" + "text": "{{child_sick_form.step1.did_not_treat_diarrhea_reason.options.Treatment_provided_by_outreach_clinic.text}}" }, { "key": "Other", - "text": "Other" + "text": "{{child_sick_form.step1.did_not_treat_diarrhea_reason.options.Other.text}}" } ], "v_required": { "value": "true", - "err": "Required field" + "err": "{{child_sick_form.step1.did_not_treat_diarrhea_reason.v_required.err}}" }, "relevance": { "rules-engine": { @@ -1365,11 +1365,11 @@ "openmrs_entity_id": "did_not_treat_diarrhea_reason_other", "openmrs_data_type": "", "type": "edit_text", - "label": "Other:", - "hint": "Other:", + "label": "{{child_sick_form.step1.did_not_treat_diarrhea_reason_other.label}}", + "hint": "{{child_sick_form.step1.did_not_treat_diarrhea_reason_other.hint}}", "v_required": { "value": "true", - "err": "Required field" + "err": "{{child_sick_form.step1.did_not_treat_diarrhea_reason_other.v_required.err}}" }, "relevance": { "rules-engine": { @@ -1386,20 +1386,20 @@ "openmrs_entity_id": "counseled_for_malnutrition", "openmrs_data_type": "", "type": "native_radio", - "label": "Yellow MUAC - Child is malnourished. Advise the caregiver on malnutrition and how to give child a balanced diet and good food. Notify your supervisor.", + "label": "{{child_sick_form.step1.counseled_for_malnutrition.label}}", "options": [ { "key": "Yes, I advised on malnutrition and will notify my supervisor", - "text": "Yes, I advised on malnutrition and will notify my supervisor" + "text": "{{child_sick_form.step1.counseled_for_malnutrition.options.Yes,_I_advised_on_malnutrition_and_will_notify_my_supervisor.text}}" }, { "key": "No, I did not advise on malnutrition", - "text": "No, I did not advise on malnutrition" + "text": "{{child_sick_form.step1.counseled_for_malnutrition.options.No,_I_did_not_advise_on_malnutrition.text}}" } ], "v_required": { "value": "true", - "err": "Required field" + "err": "{{child_sick_form.step1.counseled_for_malnutrition.v_required.err}}" }, "relevance": { "rules-engine": { @@ -1415,7 +1415,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "child_has_danger_sign_toaster_warm", "type": "toaster_notes", - "text": "Advise the caregiver to keep the child warm", + "text": "{{child_sick_form.step1.child_has_danger_sign_toaster_warm.text}}", "text_color": "#D56900", "toaster_type": "warning", "relevance": { @@ -1432,7 +1432,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "child_has_danger_sign_toaster_cool", "type": "toaster_notes", - "text": "Advise the caregiver to keep the child cool", + "text": "{{child_sick_form.step1.child_has_danger_sign_toaster_cool.text}}", "text_color": "#D56900", "toaster_type": "warning", "relevance": { @@ -1449,7 +1449,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "child_has_danger_sign_toaster_fluids", "type": "toaster_notes", - "text": "Advise caregiver to give more fluids and continue feeding", + "text": "{{child_sick_form.step1.child_has_danger_sign_toaster_fluids.text}}", "text_color": "#D56900", "toaster_type": "warning", "relevance": { @@ -1466,7 +1466,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "child_has_danger_sign_toaster_follow_up", "type": "toaster_notes", - "text": "Reminder: Follow up with the child", + "text": "{{child_sick_form.step1.child_has_danger_sign_toaster_follow_up.text}}", "text_color": "#D56900", "toaster_type": "warning", "relevance": { @@ -1483,7 +1483,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "child_has_danger_sign_toaster_no_symptoms", "type": "toaster_notes", - "text": "Child has no symptoms. Follow up with caregiver to make sure the child stays healthy", + "text": "{{child_sick_form.step1.child_has_danger_sign_toaster_no_symptoms.text}}", "text_color": "#D56900", "toaster_type": "warning", "relevance": { @@ -1500,7 +1500,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "child_has_danger_sign_toaster_treatment_completed", "type": "toaster_notes", - "text": "Treatment completed. Ask caregiver to return if the child has any other health problems", + "text": "{{child_sick_form.step1.child_has_danger_sign_toaster_treatment_completed.text}}", "text_color": "#D56900", "toaster_type": "warning", "relevance": { @@ -1531,7 +1531,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "notify_supervisor_toaster", "type": "toaster_notes", - "text": "Child has not recovered in three follow up visits. Please notify your supervisor", + "text": "{{child_sick_form.step1.notify_supervisor_toaster.text}}", "text_color": "#D56900", "toaster_type": "warning", "relevance": { @@ -1543,5 +1543,6 @@ } } ] - } + }, + "properties_file_name": "child_sick_form" } \ No newline at end of file diff --git a/opensrp-chw/src/lmh/assets/json.form/family_details_register.json b/opensrp-chw/src/lmh/assets/json.form/family_details_register.json index 13279b5dc8..7c4a4a5156 100644 --- a/opensrp-chw/src/lmh/assets/json.form/family_details_register.json +++ b/opensrp-chw/src/lmh/assets/json.form/family_details_register.json @@ -52,7 +52,7 @@ } }, "step1": { - "title": "Family Details", + "title": "{{family_details_register.step1.title}}", "fields": [ { "key": "fam_name", @@ -60,15 +60,15 @@ "openmrs_entity": "person", "openmrs_entity_id": "first_name", "type": "edit_text", - "hint": "Family name", + "hint": "{{family_details_register.step1.fam_name.hint}}", "edit_type": "name", "v_required": { "value": "true", - "err": "Please enter the family name" + "err": "{{family_details_register.step1.fam_name.v_required.err}}" }, "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid name" + "err": "{{family_details_register.step1.fam_name.v_regex.err}}" } }, { @@ -79,11 +79,11 @@ "hidden": "true", "type": "barcode", "barcode_type": "qrcode", - "hint": "ID *", - "scanButtonText": "Scan QR Code", + "hint": "{{family_details_register.step1.unique_id.hint}}", + "scanButtonText": "{{family_details_register.step1.unique_id.scanButtonText}}", "v_numeric": { "value": "true", - "err": "Please enter a valid ID" + "err": "{{family_details_register.step1.unique_id.v_numeric.err}}" } }, { @@ -92,12 +92,13 @@ "openmrs_entity": "person_address", "openmrs_entity_id": "cityVillage", "type": "edit_text", - "hint": "Village/Town", + "hint": "{{family_details_register.step1.village_town.hint}}", "v_required": { "value": "true", - "err": "Please enter the village or town" + "err": "{{family_details_register.step1.village_town.v_required.err}}" } } ] - } + }, + "properties_file_name": "family_details_register" } \ No newline at end of file diff --git a/opensrp-chw/src/lmh/assets/json.form/family_details_remove_child.json b/opensrp-chw/src/lmh/assets/json.form/family_details_remove_child.json index 9c3277b378..4da264327f 100644 --- a/opensrp-chw/src/lmh/assets/json.form/family_details_remove_child.json +++ b/opensrp-chw/src/lmh/assets/json.form/family_details_remove_child.json @@ -52,7 +52,7 @@ } }, "step1": { - "title": "Remove Child Under 11", + "title": "{{family_details_remove_child.step1.title}}", "fields": [ { "key": "spacer", @@ -68,7 +68,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "label", - "text": "", + "text": "{{family_details_remove_child.step1.details.text}}", "text_size": "25px" }, { @@ -93,15 +93,15 @@ "openmrs_entity_id": "160417AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Reason", + "hint": "{{family_details_remove_child.step1.remove_reason.hint}}", "values": [ - "Died", - "Moved away", - "Other" + "{{family_details_remove_child.step1.remove_reason.values[0]}}", + "{{family_details_remove_child.step1.remove_reason.values[1]}}", + "{{family_details_remove_child.step1.remove_reason.values[2]}}" ], "v_required": { "value": "true", - "err": "Select the reason for removing the child's record." + "err": "{{family_details_remove_child.step1.remove_reason.v_required.err}}" }, "openmrs_choice_ids": { "Died": "160034AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -126,20 +126,20 @@ "openmrs_entity_id": "164133AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "text", "type": "date_picker", - "label": "Date moved away", - "hint": "Date moved away", + "label": "{{family_details_remove_child.step1.date_moved.label}}", + "hint": "{{family_details_remove_child.step1.date_moved.hint}}", "expanded": false, "min_date": "", "max_date": "today", "v_required": { "value": "true", - "err": "Enter the date that the member moved away" + "err": "{{family_details_remove_child.step1.date_moved.v_required.err}}" }, "constraints": [ { "type": "date", "ex": "greaterThanEqualTo(., step1:dob)", - "err": "Moved away date cannot be before date of birth" + "err": "{{family_details_remove_child.step1.date_moved.constraints.err}}" } ], "relevance": { @@ -156,20 +156,20 @@ "openmrs_entity_id": "1543AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "text", "type": "date_picker", - "label": "Date of death", - "hint": "Date of death", + "label": "{{family_details_remove_child.step1.date_died.label}}", + "hint": "{{family_details_remove_child.step1.date_died.hint}}", "expanded": false, "min_date": "", "max_date": "today", "v_required": { "value": "true", - "err": "Enter the date of death" + "err": "{{family_details_remove_child.step1.date_died.v_required.err}}" }, "constraints": [ { "type": "date", "ex": "greaterThanEqualTo(., step1:dob)", - "err": "Date of death can't occur before date of birth" + "err": "{{family_details_remove_child.step1.date_died.constraints.err}}" } ], "relevance": { @@ -184,8 +184,8 @@ "openmrs_entity_parent": "", "openmrs_entity": "concept", "openmrs_entity_id": "", - "label": "Age at death", - "hint": "Age at death", + "label": "{{family_details_remove_child.step1.age_at_death.label}}", + "hint": "{{family_details_remove_child.step1.age_at_death.hint}}", "type": "edit_text", "read_only": "true", "relevance": { @@ -203,5 +203,6 @@ } } ] - } + }, + "properties_file_name": "family_details_remove_child" } \ No newline at end of file diff --git a/opensrp-chw/src/lmh/assets/json.form/family_member_register.json b/opensrp-chw/src/lmh/assets/json.form/family_member_register.json index d628e2f1d6..2b4d74aa4e 100644 --- a/opensrp-chw/src/lmh/assets/json.form/family_member_register.json +++ b/opensrp-chw/src/lmh/assets/json.form/family_member_register.json @@ -52,7 +52,7 @@ } }, "step1": { - "title": "Add Family Member", + "title": "{{family_member_register.step1.title}}", "fields": [ { "key": "unique_id", @@ -61,16 +61,16 @@ "openmrs_entity_id": "opensrp_id", "type": "edit_text", "read_only": "true", - "hint": "UNIQUE ID *", + "hint": "{{family_member_register.step1.unique_id.hint}}", "value": "0", "scanButtonText": "Scan QR Code", "v_numeric": { "value": "true", - "err": "Please enter a valid UNIQUE ID" + "err": "{{family_member_register.step1.unique_id.v_numeric.err}}" }, "v_required": { "value": "true", - "err": "Please enter the UNIQUE ID" + "err": "{{family_member_register.step1.unique_id.v_required.err}}" } }, { @@ -78,13 +78,13 @@ "openmrs_entity_parent": "", "openmrs_entity": "concept", "openmrs_entity_id": "163084AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label_info_text": "What is their national identity number or their voter registration number?", - "label_info_title": "National ID number", + "label_info_text": "{{family_member_register.step1.national_id.label_info_text}}", + "label_info_title": "{{family_member_register.step1.national_id.label_info_title}}", "type": "edit_text", - "hint": "National ID number", + "hint": "{{family_member_register.step1.national_id.hint}}", "v_numeric": { "value": "true", - "err": "Must be a number." + "err": "{{family_member_register.step1.national_id.v_numeric.err}}" } }, { @@ -101,15 +101,15 @@ "openmrs_entity": "person", "openmrs_entity_id": "first_name", "type": "edit_text", - "hint": "First name", + "hint": "{{family_member_register.step1.first_name.hint}}", "edit_type": "name", "v_required": { "value": "true", - "err": "Please enter the first name" + "err": "{{family_member_register.step1.first_name.v_required.err}}" }, "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid name" + "err": "{{family_member_register.step1.first_name.v_regex.err}}" } }, { @@ -118,11 +118,11 @@ "openmrs_entity": "person", "openmrs_entity_id": "middle_name", "type": "edit_text", - "hint": "Middle name", + "hint": "{{family_member_register.step1.middle_name.hint}}", "edit_type": "name", "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid name" + "err": "{{family_member_register.step1.middle_name.v_regex.err}}" } }, { @@ -131,16 +131,16 @@ "openmrs_entity": "person", "openmrs_entity_id": "birthdate", "type": "date_picker", - "hint": "Date of birth (DOB)", + "hint": "{{family_member_register.step1.dob.hint}}", "expanded": false, "duration": { - "label": "Age" + "label": "{{family_member_register.step1.dob.duration.label}}" }, "min_date": "today-150y", "max_date": "today-11y", "v_required": { "value": "true", - "err": "Please enter the date of birth" + "err": "{{family_member_register.step1.dob.v_required.err}}" }, "relevance": { "rules-engine": { @@ -156,11 +156,11 @@ "openmrs_entity": "person", "openmrs_entity_id": "birthdateApprox", "type": "check_box", - "label": "", + "label": "{{family_member_register.step1.dob_unknown.label}}", "options": [ { "key": "dob_unknown", - "text": "DOB unknown?", + "text": "{{family_member_register.step1.dob_unknown.options.dob_unknown.text}}", "text_size": "18px", "value": "false" } @@ -172,22 +172,22 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "age", "type": "edit_text", - "hint": "Age", + "hint": "{{family_member_register.step1.age.hint}}", "v_numeric_integer": { "value": "true", - "err": "Must be a rounded number" + "err": "{{family_member_register.step1.age.v_numeric_integer.err}}" }, "v_numeric": { "value": "true", - "err": "Number must begin with 0 and must be a total of 10 digits in length" + "err": "{{family_member_register.step1.age.v_numeric.err}}" }, "v_min": { "value": "11", - "err": "Age must be equal or greater than 11" + "err": "{{family_member_register.step1.age.v_min.err}}" }, "v_max": { "value": "150", - "err": "Age must be equal or less than 150" + "err": "{{family_member_register.step1.age.v_max.err}}" }, "relevance": { "rules-engine": { @@ -198,7 +198,7 @@ }, "v_required": { "value": true, - "err": "Please enter the age" + "err": "{{family_member_register.step1.age.v_required.err}}" } }, { @@ -207,14 +207,14 @@ "openmrs_entity": "person", "openmrs_entity_id": "gender", "type": "spinner", - "hint": "Sex", + "hint": "{{family_member_register.step1.sex.hint}}", "values": [ - "Male", - "Female" + "{{family_member_register.step1.sex.values[0]}}", + "{{family_member_register.step1.sex.values[1]}}" ], "v_required": { "value": "true", - "err": "Please enter the sex" + "err": "{{family_member_register.step1.sex.v_required.err}}" } }, { @@ -223,10 +223,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "spinner", - "hint": "Is primary caregiver?", + "hint": "{{family_member_register.step1.primary_caregiver.hint}}", "values": [ - "Yes", - "No" + "{{family_member_register.step1.primary_caregiver.values[0]}}", + "{{family_member_register.step1.primary_caregiver.values[1]}}" ], "relevance": { "rules-engine": { @@ -237,5 +237,6 @@ } } ] - } + }, + "properties_file_name": "family_member_register" } \ No newline at end of file diff --git a/opensrp-chw/src/lmh/assets/json.form/family_register.json b/opensrp-chw/src/lmh/assets/json.form/family_register.json index a56a23f6d9..11112a5124 100644 --- a/opensrp-chw/src/lmh/assets/json.form/family_register.json +++ b/opensrp-chw/src/lmh/assets/json.form/family_register.json @@ -54,7 +54,7 @@ } }, "step1": { - "title": "Family details", + "title": "{{family_register.step1.title}}", "next": "step2", "fields": [ { @@ -63,15 +63,15 @@ "openmrs_entity": "person", "openmrs_entity_id": "first_name", "type": "edit_text", - "hint": "Family name", + "hint": "{{family_register.step1.fam_name.hint}}", "edit_type": "name", "v_required": { "value": "true", - "err": "Please enter the family name" + "err": "{{family_register.step1.fam_name.v_required.err}}" }, "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid name" + "err": "{{family_register.step1.fam_name.v_regex.err}}" } }, { @@ -82,11 +82,11 @@ "hidden": "true", "type": "barcode", "barcode_type": "qrcode", - "hint": "ID *", - "scanButtonText": "Scan QR Code", + "hint": "{{family_register.step1.unique_id.hint}}", + "scanButtonText": "{{family_register.step1.unique_id.scanButtonText}}", "v_numeric": { "value": "true", - "err": "Please enter a valid ID" + "err": "{{family_register.step1.unique_id.v_numeric.err}}" } }, { @@ -95,10 +95,10 @@ "openmrs_entity": "person_address", "openmrs_entity_id": "cityVillage", "type": "edit_text", - "hint": "Village/Town", + "hint": "{{family_register.step1.village_town.hint}}", "v_required": { "value": "true", - "err": "Please enter the village or town" + "err": "{{family_register.step1.village_town.v_required.err}}" } }, { @@ -112,7 +112,7 @@ ] }, "step2": { - "title": "Family head", + "title": "{{family_register.step2.title}}", "fields": [ { "key": "unique_id", @@ -120,16 +120,16 @@ "openmrs_entity": "person_identifier", "openmrs_entity_id": "opensrp_id", "type": "edit_text", - "hint": "ID *", + "hint": "{{family_register.step2.unique_id.hint}}", "value": "0", "read_only": "true", "v_numeric": { "value": "true", - "err": "Please enter a valid ID" + "err": "{{family_register.step2.unique_id.v_numeric.err}}" }, "v_required": { "value": "true", - "err": "Please enter the ID" + "err": "{{family_register.step2.unique_id.v_required.err}}" } }, { @@ -137,13 +137,13 @@ "openmrs_entity_parent": "", "openmrs_entity": "concept", "openmrs_entity_id": "163084AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label_info_text": "What is their national identity number or their voter registration number?", - "label_info_title": "National ID number", + "label_info_text": "{{family_register.step2.national_id.label_info_text}}", + "label_info_title": "{{family_register.step2.national_id.label_info_title}}", "type": "edit_text", - "hint": "National ID number", + "hint": "{{family_register.step2.national_id.hint}}", "v_numeric": { "value": "true", - "err": "Must be a number." + "err": "{{family_register.step2.national_id.v_numeric.err}}" } }, { @@ -152,15 +152,15 @@ "openmrs_entity": "person", "openmrs_entity_id": "first_name", "type": "edit_text", - "hint": "First name", + "hint": "{{family_register.step2.first_name.hint}}", "edit_type": "name", "v_required": { "value": "true", - "err": "Please enter the first name" + "err": "{{family_register.step2.first_name.v_required.err}}" }, "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid name" + "err": "{{family_register.step2.first_name.v_regex.err}}" } }, { @@ -169,11 +169,11 @@ "openmrs_entity": "person", "openmrs_entity_id": "middle_name", "type": "edit_text", - "hint": "Middle name", + "hint": "{{family_register.step2.middle_name.hint}}", "edit_type": "name", "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid name" + "err": "{{family_register.step2.middle_name.v_regex.err}}" } }, { @@ -182,16 +182,16 @@ "openmrs_entity": "person", "openmrs_entity_id": "birthdate", "type": "date_picker", - "hint": "Date of birth (DOB)", + "hint": "{{family_register.step2.dob.hint}}", "expanded": false, "duration": { - "label": "Age" + "label": "{{family_register.step2.dob.duration.label}}" }, "min_date": "today-120y", "max_date": "today-15y", "v_required": { "value": "true", - "err": "Please enter the date of birth" + "err": "{{family_register.step2.dob.v_required.err}}" }, "relevance": { "rules-engine": { @@ -207,11 +207,11 @@ "openmrs_entity": "person", "openmrs_entity_id": "birthdateApprox", "type": "check_box", - "label": "", + "label": "{{family_register.step2.dob_unknown.label}}", "options": [ { "key": "dob_unknown", - "text": "DOB unknown?", + "text": "{{family_register.step2.dob_unknown.options.dob_unknown.text}}", "text_size": "18px", "value": "false" } @@ -223,22 +223,22 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "age_entered", "type": "edit_text", - "hint": "Age", + "hint": "{{family_register.step2.age.hint}}", "v_numeric_integer": { "value": "true", - "err": "Must be a rounded number" + "err": "{{family_register.step2.age.v_numeric_integer.err}}" }, "v_numeric": { "value": "true", - "err": "Number must begin with 0 and must be a total of 10 digits in length" + "err": "{{family_register.step2.age.v_numeric.err}}" }, "v_min": { "value": "15", - "err": "Age must be equal or greater than 15" + "err": "{{family_register.step2.age.v_min.err}}" }, "v_max": { "value": "120", - "err": "Age must be equal or less than 120" + "err": "{{family_register.step2.age.v_max.err}}" }, "relevance": { "rules-engine": { @@ -249,7 +249,7 @@ }, "v_required": { "value": true, - "err": "Please enter the age" + "err": "{{family_register.step2.age.v_required.err}}" } }, { @@ -258,16 +258,17 @@ "openmrs_entity": "person", "openmrs_entity_id": "gender", "type": "spinner", - "hint": "Sex", + "hint": "{{family_register.step2.sex.hint}}", "values": [ - "Male", - "Female" + "{{family_register.step2.sex.values[0]}}", + "{{family_register.step2.sex.values[1]}}" ], "v_required": { "value": "true", - "err": "Please enter the sex" + "err": "{{family_register.step2.sex.v_required.err}}" } } ] - } + }, + "properties_file_name": "family_register" } \ No newline at end of file diff --git a/opensrp-chw/src/lmh/assets/json.form/routine_household_visit.json b/opensrp-chw/src/lmh/assets/json.form/routine_household_visit.json index c73ccdee26..ef461b22d7 100644 --- a/opensrp-chw/src/lmh/assets/json.form/routine_household_visit.json +++ b/opensrp-chw/src/lmh/assets/json.form/routine_household_visit.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Routine Household Visit", + "title": "{{routine_household_visit.step1.title}}", "fields": [ { "key": "pregnancies_in_household", @@ -56,18 +56,18 @@ "openmrs_entity_id": "pregnancies_in_household", "type": "edit_text", "edit_type": "number", - "hint": "Number of pregnant (big belly) women in the household", + "hint": "{{routine_household_visit.step1.pregnancies_in_household.hint}}", "v_required": { "value": "true", - "err": "Equal or greater than 0" + "err": "{{routine_household_visit.step1.pregnancies_in_household.v_required.err}}" }, "v_numeric_integer": { "value": "true", - "err": "Must be a rounded number" + "err": "{{routine_household_visit.step1.pregnancies_in_household.v_numeric_integer.err}}" }, "v_min": { "value": "0", - "err": "Number must be equal or greater than 0" + "err": "{{routine_household_visit.step1.pregnancies_in_household.v_min.err}}" } }, { @@ -77,14 +77,14 @@ "openmrs_entity_id": "birth_in_household", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Any births in the household since last visit?", + "hint": "{{routine_household_visit.step1.birth_in_household.hint}}", "values": [ - "Yes", - "No" + "{{routine_household_visit.step1.birth_in_household.values[0]}}", + "{{routine_household_visit.step1.birth_in_household.values[1]}}" ], "v_required": { "value": true, - "err": "Please select option" + "err": "{{routine_household_visit.step1.birth_in_household.v_required.err}}" } }, { @@ -92,22 +92,22 @@ "openmrs_entity_parent": "", "openmrs_entity": "concept", "openmrs_entity_id": "number_of_births_community", - "label_info_text": "Number of births in the community or at home", - "label_info_title": "Info", + "label_info_text": "{{routine_household_visit.step1.number_of_births_community.label_info_text}}", + "label_info_title": "{{routine_household_visit.step1.number_of_births_community.label_info_title}}", "type": "edit_text", "edit_type": "number", - "hint": "How many births since last visit?\nNumber of births that happened in the COMMUNITY/HOME:", + "hint": "{{routine_household_visit.step1.number_of_births_community.hint}}", "v_required": { "value": "true", - "err": "Equal or greater than 0" + "err": "{{routine_household_visit.step1.number_of_births_community.v_required.err}}" }, "v_numeric_integer": { "value": "true", - "err": "Must be a rounded number" + "err": "{{routine_household_visit.step1.number_of_births_community.v_numeric_integer.err}}" }, "v_min": { "value": "0", - "err": "Number must be equal or greater than 0" + "err": "{{routine_household_visit.step1.number_of_births_community.v_min.err}}" }, "relevance": { "rules-engine": { @@ -122,22 +122,22 @@ "openmrs_entity_parent": "", "openmrs_entity": "concept", "openmrs_entity_id": "number_of_births_facility", - "label_info_text": "Number of births that took place at the facility", - "label_info_title": "Info", + "label_info_text": "{{routine_household_visit.step1.number_of_births_facility.label_info_text}}", + "label_info_title": "{{routine_household_visit.step1.number_of_births_facility.label_info_title}}", "type": "edit_text", "edit_type": "number", - "hint": "Number of births that happened in the FACILITY:", + "hint": "{{routine_household_visit.step1.number_of_births_facility.hint}}", "v_required": { "value": "true", - "err": "Equal or greater than 0" + "err": "{{routine_household_visit.step1.number_of_births_facility.v_required.err}}" }, "v_numeric_integer": { "value": "true", - "err": "Must be a rounded number" + "err": "{{routine_household_visit.step1.number_of_births_facility.v_numeric_integer.err}}" }, "v_min": { "value": "0", - "err": "Number must be equal or greater than 0" + "err": "{{routine_household_visit.step1.number_of_births_facility.v_min.err}}" }, "relevance": { "rules-engine": { @@ -154,14 +154,14 @@ "openmrs_entity_id": "death_in_household", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Any deaths in household since last visit?", + "hint": "{{routine_household_visit.step1.death_in_household.hint}}", "values": [ - "Yes", - "No" + "{{routine_household_visit.step1.death_in_household.values[0]}}", + "{{routine_household_visit.step1.death_in_household.values[1]}}" ], "v_required": { "value": true, - "err": "Please select option" + "err": "{{routine_household_visit.step1.death_in_household.v_required.err}}" } }, { @@ -169,22 +169,22 @@ "openmrs_entity_parent": "", "openmrs_entity": "concept", "openmrs_entity_id": "still_births", - "label_info_text": "(dead when born)", - "label_info_title": "Info", + "label_info_text": "{{routine_household_visit.step1.still_births.label_info_text}}", + "label_info_title": "{{routine_household_visit.step1.still_births.label_info_title}}", "type": "edit_text", "edit_type": "number", - "hint": "Count any deaths in the household\nNumber of still births:", + "hint": "{{routine_household_visit.step1.still_births.hint}}", "v_required": { "value": "true", - "err": "Equal or greater than 0" + "err": "{{routine_household_visit.step1.still_births.v_required.err}}" }, "v_numeric_integer": { "value": "true", - "err": "Must be a rounded number" + "err": "{{routine_household_visit.step1.still_births.v_numeric_integer.err}}" }, "v_min": { "value": "0", - "err": "Number must be equal or greater than 0" + "err": "{{routine_household_visit.step1.still_births.v_min.err}}" }, "relevance": { "rules-engine": { @@ -199,22 +199,22 @@ "openmrs_entity_parent": "", "openmrs_entity": "concept", "openmrs_entity_id": "neonatal_death", - "label_info_text": "(0 days - 1 month)", - "label_info_title": "Info", + "label_info_text": "{{routine_household_visit.step1.neonatal_death.label_info_text}}", + "label_info_title": "{{routine_household_visit.step1.neonatal_death.label_info_title}}", "type": "edit_text", "edit_type": "number", - "hint": "Number of neonatal deaths:", + "hint": "{{routine_household_visit.step1.neonatal_death.hint}}", "v_required": { "value": "true", - "err": "Equal or greater than 0" + "err": "{{routine_household_visit.step1.neonatal_death.v_required.err}}" }, "v_numeric_integer": { "value": "true", - "err": "Must be a rounded number" + "err": "{{routine_household_visit.step1.neonatal_death.v_numeric_integer.err}}" }, "v_min": { "value": "0", - "err": "Number must be equal or greater than 0" + "err": "{{routine_household_visit.step1.neonatal_death.v_min.err}}" }, "relevance": { "rules-engine": { @@ -229,22 +229,22 @@ "openmrs_entity_parent": "", "openmrs_entity": "concept", "openmrs_entity_id": "post_neonatal_death", - "label_info_text": "(1 month - 1 year)", - "label_info_title": "Info", + "label_info_text": "{{routine_household_visit.step1.post_neonatal_death.label_info_text}}", + "label_info_title": "{{routine_household_visit.step1.post_neonatal_death.label_info_title}}", "type": "edit_text", "edit_type": "number", - "hint": "Number of Post-neonatal death:", + "hint": "{{routine_household_visit.step1.post_neonatal_death.hint}}", "v_required": { "value": "true", - "err": "Equal or greater than 0" + "err": "{{routine_household_visit.step1.post_neonatal_death.v_required.err}}" }, "v_numeric_integer": { "value": "true", - "err": "Must be a rounded number" + "err": "{{routine_household_visit.step1.post_neonatal_death.v_numeric_integer.err}}" }, "v_min": { "value": "0", - "err": "Number must be equal or greater than 0" + "err": "{{routine_household_visit.step1.post_neonatal_death.v_min.err}}" }, "relevance": { "rules-engine": { @@ -259,22 +259,22 @@ "openmrs_entity_parent": "", "openmrs_entity": "concept", "openmrs_entity_id": "child_death", - "label_info_text": "(1 year - 5 years)", - "label_info_title": "Info", + "label_info_text": "{{routine_household_visit.step1.child_death.label_info_text}}", + "label_info_title": "{{routine_household_visit.step1.child_death.label_info_title}}", "type": "edit_text", "edit_type": "number", - "hint": "Number of child deaths:", + "hint": "{{routine_household_visit.step1.child_death.hint}}", "v_required": { "value": "true", - "err": "Equal or greater than 0" + "err": "{{routine_household_visit.step1.child_death.v_required.err}}" }, "v_numeric_integer": { "value": "true", - "err": "Must be a rounded number" + "err": "{{routine_household_visit.step1.child_death.v_numeric_integer.err}}" }, "v_min": { "value": "0", - "err": "Number must be equal or greater than 0" + "err": "{{routine_household_visit.step1.child_death.v_min.err}}" }, "relevance": { "rules-engine": { @@ -289,22 +289,22 @@ "openmrs_entity_parent": "", "openmrs_entity": "concept", "openmrs_entity_id": "maternal_death", - "label_info_text": "(mothers who die 48 days after birth)", - "label_info_title": "Info", + "label_info_text": "{{routine_household_visit.step1.maternal_death.label_info_text}}", + "label_info_title": "{{routine_household_visit.step1.maternal_death.label_info_title}}", "type": "edit_text", "edit_type": "number", - "hint": "Number of maternal deaths:", + "hint": "{{routine_household_visit.step1.maternal_death.hint}}", "v_required": { "value": "true", - "err": "Equal or greater than 0" + "err": "{{routine_household_visit.step1.maternal_death.v_required.err}}" }, "v_numeric_integer": { "value": "true", - "err": "Must be a rounded number" + "err": "{{routine_household_visit.step1.maternal_death.v_numeric_integer.err}}" }, "v_min": { "value": "0", - "err": "Number must be equal or greater than 0" + "err": "{{routine_household_visit.step1.maternal_death.v_min.err}}" }, "relevance": { "rules-engine": { @@ -319,22 +319,22 @@ "openmrs_entity_parent": "", "openmrs_entity": "concept", "openmrs_entity_id": "community_trigger", - "label_info_text": "Number of CEBS trigger referrals made by the CHA. See Module 1 job aid for list of community triggers.", - "label_info_title": "Info", + "label_info_text": "{{routine_household_visit.step1.community_trigger.label_info_text}}", + "label_info_title": "{{routine_household_visit.step1.community_trigger.label_info_title}}", "type": "edit_text", "edit_type": "number", - "hint": "Number of community triggers:", + "hint": "{{routine_household_visit.step1.community_trigger.hint}}", "v_required": { "value": "true", - "err": "Equal or greater than 0" + "err": "{{routine_household_visit.step1.community_trigger.v_required.err}}" }, "v_numeric_integer": { "value": "true", - "err": "Must be a rounded number" + "err": "{{routine_household_visit.step1.community_trigger.v_numeric_integer.err}}" }, "v_min": { "value": "0", - "err": "Number must be equal or greater than 0" + "err": "{{routine_household_visit.step1.community_trigger.v_min.err}}" } }, { @@ -343,97 +343,97 @@ "openmrs_entity": "concept", "openmrs_entity_id": "community_trigger_type", "type": "check_box", - "label": "What community trigger(s) did you observe?", + "label": "{{routine_household_visit.step1.community_trigger_type.label}}", "label_text_style": "normal", "text_color": "#C0C0C0", "options": [ { "key": "chk_flaccid", - "text": "Acute flaccid paralysis (Polio)", + "text": "{{routine_household_visit.step1.community_trigger_type.options.chk_flaccid.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "chk_flaccid" }, { "key": "chk_watery_diarrhea", - "text": "Acute watery diarrhea/Colera (Runny stomach)", + "text": "{{routine_household_visit.step1.community_trigger_type.options.chk_watery_diarrhea.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "chk_diarrhea" }, { "key": "chk_bloody_diarrhea", - "text": "Bloody Diarrhea (pu-pu with blood)", + "text": "{{routine_household_visit.step1.community_trigger_type.options.chk_bloody_diarrhea.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "chk_bloody_diarrhea" }, { "key": "chk_human_rabies", - "text": "Human Rabies (dog bite)", + "text": "{{routine_household_visit.step1.community_trigger_type.options.chk_human_rabies.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "chk_human_rabies" }, { "key": "chk_measles", - "text": "Measles", + "text": "{{routine_household_visit.step1.community_trigger_type.options.chk_measles.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "chk_measles" }, { "key": "chk_hemorrhagic", - "text": "Hemorrhagic Fever (Ebola, Lassa Fever, Yellow Fever)", + "text": "{{routine_household_visit.step1.community_trigger_type.options.chk_hemorrhagic.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "chk_hemorrhagic" }, { "key": "chk_meningitis", - "text": "Meningitis (Stiff neck)", + "text": "{{routine_household_visit.step1.community_trigger_type.options.chk_meningitis.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "chk_meningitis" }, { "key": "chk_maternal_death", - "text": "Maternal Death (big belly death)", + "text": "{{routine_household_visit.step1.community_trigger_type.options.chk_maternal_death.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "chk_maternal_death" }, { "key": "chk_neonatal_tetanus", - "text": "Neonatal Tetanus (Jerking sickness)", + "text": "{{routine_household_visit.step1.community_trigger_type.options.chk_neonatal_tetanus.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "chk_neonatal_tetanus" }, { "key": "chk_neonatal_death", - "text": "Neonatal Death (Young baby death)", + "text": "{{routine_household_visit.step1.community_trigger_type.options.chk_neonatal_death.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "chk_neonatal_death" }, { "key": "chk_unknown_health_problems", - "text": "Unknown health problems grouped together", + "text": "{{routine_household_visit.step1.community_trigger_type.options.chk_unknown_health_problems.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "chk_unknown_health_problems" }, { "key": "chk_any_death", - "text": "Any death in human or group of animals that you don't know why it happened", + "text": "{{routine_household_visit.step1.community_trigger_type.options.chk_any_death.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "chk_any_death" }, { "key": "chk_other", - "text": "Other", + "text": "{{routine_household_visit.step1.community_trigger_type.options.chk_other.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "chk_other" @@ -441,7 +441,7 @@ ], "v_required": { "value": "true", - "err": "Please select one" + "err": "{{routine_household_visit.step1.community_trigger_type.v_required.err}}" }, "relevance": { "rules-engine": { @@ -457,10 +457,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "community_trigger_other", "type": "edit_text", - "hint": "Other:", + "hint": "{{routine_household_visit.step1.community_trigger_other.hint}}", "v_required": { "value": "true", - "err": "Please enter value" + "err": "{{routine_household_visit.step1.community_trigger_other.v_required.err}}" }, "relevance": { "rules-engine": { @@ -476,8 +476,9 @@ "openmrs_entity": "concept", "openmrs_entity_id": "form_feedback", "type": "edit_text", - "hint": "Optional: Do you have any feedback on how we can improve this form?" + "hint": "{{routine_household_visit.step1.form_feedback.hint}}" } ] - } + }, + "properties_file_name": "routine_household_visit" } \ No newline at end of file diff --git a/opensrp-chw/src/lmh/java/org/smartregister/chw/activity/AncMedicalHistoryActivityFlv.java b/opensrp-chw/src/lmh/java/org/smartregister/chw/activity/AncMedicalHistoryActivityFlv.java index fa9b988ef9..a27fbc9b7a 100644 --- a/opensrp-chw/src/lmh/java/org/smartregister/chw/activity/AncMedicalHistoryActivityFlv.java +++ b/opensrp-chw/src/lmh/java/org/smartregister/chw/activity/AncMedicalHistoryActivityFlv.java @@ -1,6 +1,4 @@ package org.smartregister.chw.activity; -import org.smartregister.chw.core.activity.DefaultAncMedicalHistoryActivityFlv; - -public class AncMedicalHistoryActivityFlv extends DefaultAncMedicalHistoryActivityFlv { +public class AncMedicalHistoryActivityFlv extends DefaultChwAncMedicalHistoryActivityFlv { } diff --git a/opensrp-chw/src/lmh/java/org/smartregister/chw/activity/HivProfileActivityFlv.java b/opensrp-chw/src/lmh/java/org/smartregister/chw/activity/HivProfileActivityFlv.java new file mode 100644 index 0000000000..dd5af7c454 --- /dev/null +++ b/opensrp-chw/src/lmh/java/org/smartregister/chw/activity/HivProfileActivityFlv.java @@ -0,0 +1,4 @@ +package org.smartregister.chw.activity; + +public class HivProfileActivityFlv extends DefaultHivProfileActivityFlv { +} diff --git a/opensrp-chw/src/lmh/java/org/smartregister/chw/activity/TbProfileActivityFlv.java b/opensrp-chw/src/lmh/java/org/smartregister/chw/activity/TbProfileActivityFlv.java new file mode 100644 index 0000000000..524838ce9e --- /dev/null +++ b/opensrp-chw/src/lmh/java/org/smartregister/chw/activity/TbProfileActivityFlv.java @@ -0,0 +1,4 @@ +package org.smartregister.chw.activity; + +public class TbProfileActivityFlv extends DefaultTbProfileActivityFlv { +} diff --git a/opensrp-chw/src/lmh/java/org/smartregister/chw/application/ChwApplicationFlv.java b/opensrp-chw/src/lmh/java/org/smartregister/chw/application/ChwApplicationFlv.java index 071e41b4ce..e7ae90d3db 100644 --- a/opensrp-chw/src/lmh/java/org/smartregister/chw/application/ChwApplicationFlv.java +++ b/opensrp-chw/src/lmh/java/org/smartregister/chw/application/ChwApplicationFlv.java @@ -1,6 +1,7 @@ package org.smartregister.chw.application; public class ChwApplicationFlv extends DefaultChwApplicationFlv { + @Override public boolean hasANC() { return false; @@ -97,6 +98,12 @@ public boolean launchChildClientsAtLogin() { } @Override + public boolean useThinkMd() { + return true; + } + + @Override + public boolean splitUpcomingServicesView() { return true; } @@ -156,4 +163,7 @@ public boolean showChildrenAboveTwoDueStatus(){ public boolean showIconsForChildrenUnderTwoAndGirlsAgeNineToEleven(){ return true; } + + @Override + public boolean showsPhysicallyDisabledView() { return false; } } diff --git a/opensrp-chw/src/lmh/res/xml/authenticator.xml b/opensrp-chw/src/lmh/res/xml/authenticator.xml new file mode 100644 index 0000000000..8607e404c9 --- /dev/null +++ b/opensrp-chw/src/lmh/res/xml/authenticator.xml @@ -0,0 +1,7 @@ + + \ No newline at end of file diff --git a/opensrp-chw/src/lmh/resources/child_enrollment.properties b/opensrp-chw/src/lmh/resources/child_enrollment.properties new file mode 100644 index 0000000000..0b38c58f0d --- /dev/null +++ b/opensrp-chw/src/lmh/resources/child_enrollment.properties @@ -0,0 +1,25 @@ +child_enrollment.step1.gender.values[1] = Female +child_enrollment.step1.first_name.hint = First name +child_enrollment.step1.gender.v_required.err = Please enter the sex +child_enrollment.step1.age.v_min.err = Age must be equal or greater than 0 +child_enrollment.step1.dob.duration.label = Age +child_enrollment.step1.dob.v_required.err = Please enter the date of birth +child_enrollment.step1.dob_unknown.label = +child_enrollment.step1.dob_unknown.options.dob_unknown.text = DOB unknown? +child_enrollment.step1.first_name.v_required.err = Please Enter a Valid Name +child_enrollment.step1.age.v_max.err = Age must be equal or less than 11 +child_enrollment.step1.gender.values[0] = Male +child_enrollment.step1.age.v_numeric.err = Number must begin with 0 and must be a total of 10 digits in length +child_enrollment.step1.age.hint = Age +child_enrollment.step1.gender.hint = Sex +child_enrollment.step1.dob.hint = Date of birth (DOB) +child_enrollment.step1.unique_id.v_numeric.err = Please enter a valid ID +child_enrollment.step1.dob_estimated.label = +child_enrollment.step1.unique_id.hint = ID * +child_enrollment.step1.age.v_required.err = Please enter the age +child_enrollment.step1.title = Eligible child +child_enrollment.step1.middle_name.v_regex.err = Please Enter a Valid Name +child_enrollment.step1.unique_id.v_required.err = Please enter the Child's OpenMRS ID +child_enrollment.step1.first_name.v_regex.err = Please Enter a Valid Name +child_enrollment.step1.dob_estimated.options.dob_estimated.text = DOB is estimated +child_enrollment.step1.middle_name.hint = Middle name diff --git a/opensrp-chw/src/lmh/resources/child_sick_form.properties b/opensrp-chw/src/lmh/resources/child_sick_form.properties new file mode 100644 index 0000000000..e195e12d0b --- /dev/null +++ b/opensrp-chw/src/lmh/resources/child_sick_form.properties @@ -0,0 +1,165 @@ +child_sick_form.step1.gave_rdt.label = Perform an RDT on the child +child_sick_form.step1.danger_signs_present_toaster.v_required.err = Required field +child_sick_form.step1.running_stomach_label.text = Referral - Running Stomach (+) 14 days +child_sick_form.step1.diarrhea_label.text = Diarrhea +child_sick_form.step1.treat_diarrhea.options.No,_I_did_not_give_the_child_ORS_and_Zinc.text = No, I did not give the child ORS and Zinc +child_sick_form.step1.danger_signs.options.chk_other.text = Any other problem you cannot treat +child_sick_form.step1.child_has_danger_sign_toaster_treatment_completed.text = Treatment completed. Ask caregiver to return if the child has any other health problems +child_sick_form.step1.referral_information_one.v_required.err = Required field +child_sick_form.step1.treat_diarrhea.label = DIARRHEA: Teach caregiver how to give treatment and watch caregiver give first dose of ORS and Zinc now. Check caregiver's understanding and ask him/her to explain treatment plan +child_sick_form.step1.sick_child_warning.text = This child is below 2 months of age. If you continue, you will be providing this care outside of the recommended national guidelines. If you do not wish to proceed, please exit the form.. +child_sick_form.step1.referral_complete_form.options.No._I_have_NOT_completed_the_1.3_Community_Trigger_and_Referral_Form.text = No. I have NOT completed the 1.3 Community Trigger and Referral Form +child_sick_form.step1.danger_signs.options.chk_sleepy_unconscious.text = Very sleepy or unconscious +child_sick_form.step1.provided_ors.label = DIARRHEA: Give ORS right away +child_sick_form.step1.referral_provided_amoxicillin.options.Yes._I_have_given_the_child_oral_antibiotics_(amoxicillin).text = Yes. I have given the child oral antibiotics (amoxicillin) +child_sick_form.step1.did_not_treat_diarrhea_reason_other.hint = Other: +child_sick_form.step1.danger_signs.options.chk_muac.text = Red MUAC Strap +child_sick_form.step1.look_for_symptoms_toaster.text = Please look for the following symptoms which can be treated at home +child_sick_form.step1.malaria_dose_given.hint = Dose given: +child_sick_form.step1.danger_signs.options.chk_running_stomach.text = Stomach running more than 14 days +child_sick_form.step1.diarrhea.v_required.err = Required field +child_sick_form.step1.diarrhea_dose_given.label = Dose given: +child_sick_form.step1.treat_pneumonia.label = PNEUMONIA: Treat at home with Amoxicillin. Teach caregiver how to give treatment and watch caregiver give first dose now. Check caregiver's understanding and ask him/her to explain treatment plan +child_sick_form.step1.gave_rdt.v_required.err = Required field +child_sick_form.step1.positive_malaria.options.Positive_RDT.text = Positive RDT +child_sick_form.step1.referral_successful.label = Has the caregiver agreed to take child to health facility? +child_sick_form.step1.child_coughing.options.No.text = No +child_sick_form.step1.fever.label = Child had fever in past 3 days? +child_sick_form.step1.did_not_treat_malaria_reason.options.Treatment_provided_by_outreach_clinic.text = Treatment provided by outreach clinic +child_sick_form.step1.child_has_danger_sign_toaster_warm.text = Advise the caregiver to keep the child warm +child_sick_form.step1.danger_signs.options.chk_convulsions.text = Convulsions (Jerking) +child_sick_form.step1.coughing_or_difficulty_label.text = Coughing or Difficult Breathing +child_sick_form.step1.referral_arranged_transport.options.I_have_attempted_and_was_successful_in_arranging_transport_for_the_child_for_a_referral_visit_to_the_facility.text = I have attempted and was successful in arranging transport for the child for a referral visit to the facility +child_sick_form.step1.did_not_treat_pneumonia_reason_other.label = Other: +child_sick_form.step1.did_not_treat_pneumonia_reason.options.out_of_stock.text = Out of stock +child_sick_form.step1.provided_ors.options.No._I_have_not_given_ORS_to_the_child.text = No. I have not given ORS to the child +child_sick_form.step1.diarrhea_dose_given.v_required.err = Required field +child_sick_form.step1.danger_signs.options.chk_coughing.text = Coughing more than 21 days +child_sick_form.step1.referral_keep_child_cool.label = Advise the caregiver to keep the child cool +child_sick_form.step1.malaria_dose_given.label = Dose given: +child_sick_form.step1.treat_pneumonia.options.Yes.text = Yes, I told the caregiver and gave him/her Amoxicillin +child_sick_form.step1.counseled_for_malnutrition.options.No,_I_did_not_advise_on_malnutrition.text = No, I did not advise on malnutrition +child_sick_form.step1.did_not_treat_diarrhea_reason_other.v_required.err = Required field +child_sick_form.step1.chest_indrawing_label.text = Referral - Chest Indrawing +child_sick_form.step1.did_not_treat_diarrhea_reason_other.label = Other: +child_sick_form.step1.child_has_danger_sign_toaster_cool.text = Advise the caregiver to keep the child cool +child_sick_form.step1.give_act.v_required.err = Required field +child_sick_form.step1.did_not_treat_diarrhea_reason.options.Other.text = Other +child_sick_form.step1.manual_date.v_required.err = Enter the visit date +child_sick_form.step1.give_act.label_info_title = See dose card +child_sick_form.step1.danger_signs.options.chk_fever.text = Fever more than 7 days +child_sick_form.step1.treat_malaria.v_required.err = Required field +child_sick_form.step1.treat_diarrhea.v_required.err = Required field +child_sick_form.step1.fast_breathing.v_required.err = Required field +child_sick_form.step1.fever_group_label.text = Fever +child_sick_form.step1.fever_label.text = Referral - Fever (+) 7 days +child_sick_form.step1.referral_information_one.label = Explain why the caregiver must take the child to a health facility +child_sick_form.step1.referral_arranged_transport.v_required.err = Required field +child_sick_form.step1.fast_breathing.options.Yes,_has_fast_breathing.text = Yes, has fast breathing +child_sick_form.step1.provided_ors.options.Yes._I_have_given_ORS_to_the_child.text = Yes. I have given ORS to the child +child_sick_form.step1.positive_malaria.label = What was the result of the RDT? +child_sick_form.step1.provided_ors.v_required.err = Required field +child_sick_form.step1.give_act.options.Yes._I_provided_the_first_dose_of_ACT_and_Paracetamol.text = Yes. I provided the first dose of ACT and Paracetamol +child_sick_form.step1.referral_provided_amoxicillin.label = PNEUMONIA: If the child can drink, give child first dose of oral antibiotics (amoxicillin) +child_sick_form.step1.gave_rdt.options.No,_I_did_not_give_the_child_an_RDT.text = No, I did not give the child an RDT +child_sick_form.step1.source.v_required.err = Required field +child_sick_form.step1.did_not_treat_diarrhea_reason.label = Why was treatment for Diarrhea not provided? +child_sick_form.step1.did_not_treat_pneumonia_reason.options.other.text = Other +child_sick_form.step1.did_not_treat_pneumonia_reason.label = Why was treatment for Pneumonia not provided? +child_sick_form.step1.danger_signs.options.chk_chest_indrawing.text = Chest indrawing +child_sick_form.step1.fever.options.Yes.text = Yes +child_sick_form.step1.did_not_treat_malaria_reason_other.hint = Other: +child_sick_form.step1.did_not_treat_pneumonia_reason.v_required.err = Required field +child_sick_form.step1.referral_successful.options.Yes.text = Yes +child_sick_form.step1.pneumonia_dose_given.label = Dose given: +child_sick_form.step1.treat_diarrhea.options.Yes,_I_informed_the_caregiver_and_gave_child_ORS_and_Zinc.text = Yes, I informed the caregiver and gave child ORS and Zinc +child_sick_form.step1.referral_successful.v_required.err = Required field +child_sick_form.step1.referral_give_fluids.v_required.err = Required field +child_sick_form.step1.treat_pneumonia.v_required.err = Required field +child_sick_form.step1.visit_type.label = What kind of visit is this? +child_sick_form.step1.referral_keep_child_cool.v_required.err = Required field +child_sick_form.step1.counseled_for_malnutrition.v_required.err = Required field +child_sick_form.step1.fast_breathing.label = Child has fast breathing?\n - If 2-11 months: 50+ breaths per minute\n - If 1-5 years: 40+ breaths per minute +child_sick_form.step1.did_not_treat_diarrhea_reason.options.Out_of_stock.text = Out of stock +child_sick_form.step1.danger_signs.label = Ask and look to see if the child has any DANGER SIGNS: +child_sick_form.step1.did_not_treat_malaria_reason.options.Out_of_stock.text = Out of stock +child_sick_form.step1.source.label = How did you find the child? +child_sick_form.step1.visit_type.options.2nd_follow-up_visit.text = 2nd follow-up visit +child_sick_form.step1.referral_successful.options.No.text = No +child_sick_form.step1.referral_keep_child_warm.v_required.err = Required field +child_sick_form.step1.did_not_treat_diarrhea_reason.v_required.err = Required field +child_sick_form.step1.fever.options.No.text = No +child_sick_form.step1.malaria_dose_given.v_required.err = Required field +child_sick_form.step1.did_not_treat_malaria_reason_other.v_required.err = Required field +child_sick_form.step1.yellow_muac_label.text = GRP-Yellow MUAC +child_sick_form.step1.provided_ors.label_info_title = See dose card +child_sick_form.step1.provided_ors.label_info_text = See dose card +child_sick_form.step1.referral_complete_form.v_required.err = Required field +child_sick_form.step1.title = Sick Child +child_sick_form.step1.yellow_muac.label = Does the child have Yellow MUAC? +child_sick_form.step1.yellow_muac.options.No.text = No +child_sick_form.step1.referral_complete_form.options.Yes._I_have_completed_the_1.3_Community_Trigger_and_Referral_Form.text = Yes. I have completed the 1.3 Community Trigger and Referral Form +child_sick_form.step1.referral_complete_form.label = Complete the 1.3 Community Trigger and Referral Form +child_sick_form.step1.did_not_treat_diarrhea_reason.options.Treatment_provided_by_outreach_clinic.text = Treatment provided by outreach clinic +child_sick_form.step1.diarrhea_dose_given.hint = Dose given: +child_sick_form.step1.yellow_muac.v_required.err = Required field +child_sick_form.step1.did_not_treat_malaria_reason.options.Other.text = Other +child_sick_form.step1.give_act.label_info_text = See dose card +child_sick_form.step1.fever.v_required.err = Required field +child_sick_form.step1.diarrhea.options.Yes.text = Yes +child_sick_form.step1.notify_supervisor_toaster.text = Child has not recovered in three follow up visits. Please notify your supervisor +child_sick_form.step1.source.options.Active_case_finding_(CHA_went_to_sick_child_or_on_routine_visit).text = Active case finding (CHA went to sick child or on routine visit) +child_sick_form.step1.positive_malaria.options.Negative_RDT.text = Negative RDT +child_sick_form.step1.referral_provided_amoxicillin.options.No._Oral_antibiotics_(amoxicillin)_were_not_provided.text = No. Oral antibiotics (amoxicillin) were not provided +child_sick_form.step1.treat_at_home_toaster.text = Begin home treatment. {firstName} has the following symptoms: {symptoms} +child_sick_form.step1.visit_type.options.3rd_follow-up_visit.text = 3rd follow-up visit +child_sick_form.step1.no_danger_signs_toaster.text = Child has no danger signs. Please look for the following symptoms which can be treated at home +child_sick_form.step1.child_coughing.label = Is the child coughing? +child_sick_form.step1.treat_diarrhea.label_info_title = Treat diarrhea +child_sick_form.step1.yellow_muac.options.Yes.text = Yes +child_sick_form.step1.give_act.options.No._I_did_not_provide_the_first_dose_of_ACT_and_Paracetamol.text = No. I did not provide the first dose of ACT and Paracetamol +child_sick_form.step1.referral_keep_child_cool.options.I_have_advised_the_caregiver_to_keep_the_child_cool.text = I have advised the caregiver to keep the child cool +child_sick_form.step1.manual_date.hint = Date of visit +child_sick_form.step1.visit_type.options.1st_follow-up_visit.text = 1st follow-up visit +child_sick_form.step1.treat_pneumonia.options.No.text = No, I did not give the caregiver Amoxicillin +child_sick_form.step1.positive_malaria.v_required.err = Required field +child_sick_form.step1.did_not_treat_pneumonia_reason.options.treatment_provided_by_outreach_or_clinic.text = Treatment provided by outreach or clinic +child_sick_form.step1.visit_type.v_required.err = Required field +child_sick_form.step1.danger_signs.options.chk_feet_swelling.text = Both feet swelling +child_sick_form.step1.did_not_treat_malaria_reason.v_required.err = Required field +child_sick_form.step1.referral_arranged_transport.options.I_have_attempted_but_was_not_successful_in_arranging_transport_for_the_child_for_a_referral_visit_to_the_facility.text = I have attempted but was not successful in arranging transport for the child for a referral visit to the facility +child_sick_form.step1.did_not_treat_pneumonia_reason_other.hint = Other: +child_sick_form.step1.visit_type.options.Initial_Visit.text = Initial Visit +child_sick_form.step1.treat_diarrhea.label_info_text = Use dose card to determine correct treatment plan +child_sick_form.step1.referral_give_fluids.label = Advise the caregiver to give water and continue feeding the child +child_sick_form.step1.treat_malaria.options.No,_I_did_not_give_the_child_ACT_and_Paracetamol.text = No, I did not give the child ACT and Paracetamol +child_sick_form.step1.treat_malaria.options.Yes,_I_informed_the_caregiver_and_gave_child_ACT_and_Paracetamol.text = Yes, I informed the caregiver and gave child ACT and Paracetamol +child_sick_form.step1.referral_give_fluids.options.I_have_advised_the_caregiver_to_give_fluids_and_continue_feeding.text = I have advised the caregiver to give fluids and continue feeding +child_sick_form.step1.counseled_for_malnutrition.options.Yes,_I_advised_on_malnutrition_and_will_notify_my_supervisor.text = Yes, I advised on malnutrition and will notify my supervisor +child_sick_form.step1.fast_breathing.options.Not_fast_breathing.text = Not fast breathing +child_sick_form.step1.pneumonia_dose_given.hint = Dose given: +child_sick_form.step1.diarrhea.label = Has the child had 3 or more diarrhea (watery poo poos) in the last 24 hours? +child_sick_form.step1.did_not_treat_malaria_reason_other.label = Other: +child_sick_form.step1.referral_keep_child_warm.options.I_have_advised_the_caregiver_to_keep_the_child_warm.text = I have advised the caregiver to keep the child warm +child_sick_form.step1.source.options.Passive_case_finding_(Parent_came_to_me).text = Passive case finding (Parent came to me) +child_sick_form.step1.child_coughing.v_required.err = Required field +child_sick_form.step1.diarrhea.options.No.text = No +child_sick_form.step1.give_act.label = MALARIA: Refer + Treat Malaria. Help caregiver give first dose of ACT and Paracetamol +child_sick_form.step1.counseled_for_malnutrition.label = Yellow MUAC - Child is malnourished. Advise the caregiver on malnutrition and how to give child a balanced diet and good food. Notify your supervisor. +child_sick_form.step1.danger_signs.options.chk_vomiting.text = Vomiting everything +child_sick_form.step1.child_has_danger_sign_toaster_no_symptoms.text = Child has no symptoms. Follow up with caregiver to make sure the child stays healthy +child_sick_form.step1.referral_keep_child_warm.label = Advise the caregiver to keep the child warm +child_sick_form.step1.child_has_danger_sign_toaster_follow_up.text = Reminder: Follow up with the child +child_sick_form.step1.child_coughing.options.Yes.text = Yes +child_sick_form.step1.danger_signs.options.chk_blood_in_poo.text = Blood in poo poo +child_sick_form.step1.danger_signs.options.chk_none.text = None of the above +child_sick_form.step1.referral_information_one.options.I_have_explained_to_the_caregiver_why_the_child_must_be_moved_to_the_health_facility.text = I have explained to the caregiver why the child must be moved to the health facility +child_sick_form.step1.gave_rdt.options.Yes,_I_gave_the_child_an_RDT.text = Yes, I gave the child an RDT +child_sick_form.step1.danger_signs.options.chk_unable_to_eat.text = Unable to eat or drink anything +child_sick_form.step1.danger_signs_present_toaster.text = {firstName} has the following danger signs and needs to be referred to a health facility:\n{dangerSigns} +child_sick_form.step1.referral_provided_amoxicillin.v_required.err = Required field +child_sick_form.step1.did_not_treat_malaria_reason.label = Why was treatment for Malaria not provided? +child_sick_form.step1.manual_date.label = Date of visit +child_sick_form.step1.referral_arranged_transport.label = Arrange transport for the child and refer the child to the health facility +child_sick_form.step1.treat_malaria.label = MALARIA: Teach caregiver how to give treatment and watch caregiver give first ACT and Paracetamol doses now. Check caregiver's understanding and ask him/her to explain treatment plan +child_sick_form.step1.child_has_danger_sign_toaster_fluids.text = Advise caregiver to give more fluids and continue feeding diff --git a/opensrp-chw/src/lmh/resources/family_details_register.properties b/opensrp-chw/src/lmh/resources/family_details_register.properties new file mode 100644 index 0000000000..f46dd47315 --- /dev/null +++ b/opensrp-chw/src/lmh/resources/family_details_register.properties @@ -0,0 +1,9 @@ +family_details_register.step1.title = Family Details +family_details_register.step1.unique_id.v_numeric.err = Please enter a valid ID +family_details_register.step1.fam_name.v_regex.err = Please enter a valid name +family_details_register.step1.fam_name.v_required.err = Please enter the family name +family_details_register.step1.fam_name.hint = Family name +family_details_register.step1.unique_id.scanButtonText = Scan QR Code +family_details_register.step1.unique_id.hint = ID * +family_details_register.step1.village_town.hint = Village/Town +family_details_register.step1.village_town.v_required.err = Please enter the village or town diff --git a/opensrp-chw/src/lmh/resources/family_details_remove_child.properties b/opensrp-chw/src/lmh/resources/family_details_remove_child.properties new file mode 100644 index 0000000000..01fd6be155 --- /dev/null +++ b/opensrp-chw/src/lmh/resources/family_details_remove_child.properties @@ -0,0 +1,17 @@ +family_details_remove_child.step1.date_died.v_required.err = Enter the date of death +family_details_remove_child.step1.remove_reason.v_required.err = Select the reason for removing the child's record. +family_details_remove_child.step1.date_died.hint = Date of death +family_details_remove_child.step1.date_moved.constraints.err = Moved away date cannot be before date of birth +family_details_remove_child.step1.age_at_death.label = Age at death +family_details_remove_child.step1.remove_reason.hint = Reason +family_details_remove_child.step1.title = Remove Child Under 11 +family_details_remove_child.step1.date_moved.label = Date moved away +family_details_remove_child.step1.age_at_death.hint = Age at death +family_details_remove_child.step1.remove_reason.values[2] = Other +family_details_remove_child.step1.remove_reason.values[0] = Died +family_details_remove_child.step1.date_moved.v_required.err = Enter the date that the member moved away +family_details_remove_child.step1.remove_reason.values[1] = Moved away +family_details_remove_child.step1.date_died.constraints.err = Date of death can't occur before date of birth +family_details_remove_child.step1.details.text = +family_details_remove_child.step1.date_died.label = Date of death +family_details_remove_child.step1.date_moved.hint = Date moved away diff --git a/opensrp-chw/src/lmh/resources/family_member_register.properties b/opensrp-chw/src/lmh/resources/family_member_register.properties new file mode 100644 index 0000000000..9aff1eb7e5 --- /dev/null +++ b/opensrp-chw/src/lmh/resources/family_member_register.properties @@ -0,0 +1,31 @@ +family_member_register.step1.dob.v_required.err = Please enter the date of birth +family_member_register.step1.first_name.v_regex.err = Please enter a valid name +family_member_register.step1.dob.duration.label = Age +family_member_register.step1.dob.hint = Date of birth (DOB) +family_member_register.step1.primary_caregiver.values[1] = No +family_member_register.step1.sex.v_required.err = Please enter the sex +family_member_register.step1.age.v_max.err = Age must be equal or less than 150 +family_member_register.step1.national_id.v_numeric.err = Must be a number. +family_member_register.step1.age.v_required.err = Please enter the age +family_member_register.step1.sex.values[1] = Female +family_member_register.step1.age.v_numeric_integer.err = Must be a rounded number +family_member_register.step1.national_id.label_info_text = What is their national identity number or their voter registration number? +family_member_register.step1.dob_unknown.options.dob_unknown.text = DOB unknown? +family_member_register.step1.age.hint = Age +family_member_register.step1.unique_id.v_required.err = Please enter the UNIQUE ID +family_member_register.step1.primary_caregiver.hint = Is primary caregiver? +family_member_register.step1.title = Add Family Member +family_member_register.step1.national_id.hint = National ID number +family_member_register.step1.first_name.v_required.err = Please enter the first name +family_member_register.step1.primary_caregiver.values[0] = Yes +family_member_register.step1.national_id.label_info_title = National ID number +family_member_register.step1.unique_id.v_numeric.err = Please enter a valid UNIQUE ID +family_member_register.step1.sex.values[0] = Male +family_member_register.step1.unique_id.hint = UNIQUE ID * +family_member_register.step1.middle_name.hint = Middle name +family_member_register.step1.age.v_min.err = Age must be equal or greater than 11 +family_member_register.step1.sex.hint = Sex +family_member_register.step1.dob_unknown.label = +family_member_register.step1.age.v_numeric.err = Number must begin with 0 and must be a total of 10 digits in length +family_member_register.step1.first_name.hint = First name +family_member_register.step1.middle_name.v_regex.err = Please enter a valid name diff --git a/opensrp-chw/src/lmh/resources/family_register.properties b/opensrp-chw/src/lmh/resources/family_register.properties new file mode 100644 index 0000000000..c92a24b566 --- /dev/null +++ b/opensrp-chw/src/lmh/resources/family_register.properties @@ -0,0 +1,37 @@ +family_register.step2.sex.values[1] = Female +family_register.step2.age.v_max.err = Age must be equal or less than 120 +family_register.step1.fam_name.hint = Family name +family_register.step1.fam_name.v_required.err = Please enter the family name +family_register.step2.national_id.hint = National ID number +family_register.step2.dob.hint = Date of birth (DOB) +family_register.step1.unique_id.scanButtonText = Scan QR Code +family_register.step2.unique_id.hint = ID * +family_register.step2.national_id.label_info_text = What is their national identity number or their voter registration number? +family_register.step2.dob_unknown.label = +family_register.step2.unique_id.v_required.err = Please enter the ID +family_register.step1.fam_name.v_regex.err = Please enter a valid name +family_register.step2.first_name.v_regex.err = Please enter a valid name +family_register.step1.village_town.hint = Village/Town +family_register.step2.dob_unknown.options.dob_unknown.text = DOB unknown? +family_register.step2.age.v_numeric.err = Number must begin with 0 and must be a total of 10 digits in length +family_register.step1.unique_id.hint = ID * +family_register.step2.first_name.v_required.err = Please enter the first name +family_register.step2.sex.hint = Sex +family_register.step2.age.v_min.err = Age must be equal or greater than 15 +family_register.step1.unique_id.v_numeric.err = Please enter a valid ID +family_register.step2.middle_name.v_regex.err = Please enter a valid name +family_register.step2.age.v_required.err = Please enter the age +family_register.step1.village_town.v_required.err = Please enter the village or town +family_register.step2.sex.values[0] = Male +family_register.step2.sex.v_required.err = Please enter the sex +family_register.step2.dob.v_required.err = Please enter the date of birth +family_register.step2.age.hint = Age +family_register.step2.dob.duration.label = Age +family_register.step2.unique_id.v_numeric.err = Please enter a valid ID +family_register.step2.title = Family head +family_register.step2.first_name.hint = First name +family_register.step2.national_id.label_info_title = National ID number +family_register.step1.title = Family details +family_register.step2.age.v_numeric_integer.err = Must be a rounded number +family_register.step2.national_id.v_numeric.err = Must be a number. +family_register.step2.middle_name.hint = Middle name diff --git a/opensrp-chw/src/lmh/resources/routine_household_visit.properties b/opensrp-chw/src/lmh/resources/routine_household_visit.properties new file mode 100644 index 0000000000..991f4db0d3 --- /dev/null +++ b/opensrp-chw/src/lmh/resources/routine_household_visit.properties @@ -0,0 +1,79 @@ +routine_household_visit.step1.community_trigger_type.options.chk_other.text = Other +routine_household_visit.step1.community_trigger_type.label = What community trigger(s) did you observe? +routine_household_visit.step1.community_trigger_type.options.chk_neonatal_tetanus.text = Neonatal Tetanus (Jerking sickness) +routine_household_visit.step1.maternal_death.label_info_title = Info +routine_household_visit.step1.birth_in_household.values[0] = Yes +routine_household_visit.step1.post_neonatal_death.label_info_text = (1 month - 1 year) +routine_household_visit.step1.neonatal_death.v_required.err = Equal or greater than 0 +routine_household_visit.step1.child_death.label_info_title = Info +routine_household_visit.step1.child_death.label_info_text = (1 year - 5 years) +routine_household_visit.step1.community_trigger_type.options.chk_measles.text = Measles +routine_household_visit.step1.child_death.v_min.err = Number must be equal or greater than 0 +routine_household_visit.step1.community_trigger_type.v_required.err = Please select one +routine_household_visit.step1.number_of_births_facility.label_info_title = Info +routine_household_visit.step1.number_of_births_community.v_numeric_integer.err = Must be a rounded number +routine_household_visit.step1.maternal_death.v_min.err = Number must be equal or greater than 0 +routine_household_visit.step1.community_trigger_type.options.chk_meningitis.text = Meningitis (Stiff neck) +routine_household_visit.step1.number_of_births_community.v_required.err = Equal or greater than 0 +routine_household_visit.step1.neonatal_death.v_min.err = Number must be equal or greater than 0 +routine_household_visit.step1.child_death.v_required.err = Equal or greater than 0 +routine_household_visit.step1.post_neonatal_death.v_required.err = Equal or greater than 0 +routine_household_visit.step1.maternal_death.hint = Number of maternal deaths: +routine_household_visit.step1.community_trigger.label_info_text = Number of CEBS trigger referrals made by the CHA. See Module 1 job aid for list of community triggers. +routine_household_visit.step1.community_trigger.hint = Number of community triggers: +routine_household_visit.step1.post_neonatal_death.v_min.err = Number must be equal or greater than 0 +routine_household_visit.step1.community_trigger.v_required.err = Equal or greater than 0 +routine_household_visit.step1.number_of_births_facility.hint = Number of births that happened in the FACILITY: +routine_household_visit.step1.pregnancies_in_household.v_required.err = Equal or greater than 0 +routine_household_visit.step1.still_births.v_min.err = Number must be equal or greater than 0 +routine_household_visit.step1.number_of_births_community.label_info_title = Info +routine_household_visit.step1.neonatal_death.label_info_title = Info +routine_household_visit.step1.maternal_death.v_required.err = Equal or greater than 0 +routine_household_visit.step1.neonatal_death.v_numeric_integer.err = Must be a rounded number +routine_household_visit.step1.community_trigger.v_min.err = Number must be equal or greater than 0 +routine_household_visit.step1.community_trigger_type.options.chk_flaccid.text = Acute flaccid paralysis (Polio) +routine_household_visit.step1.community_trigger_type.options.chk_neonatal_death.text = Neonatal Death (Young baby death) +routine_household_visit.step1.still_births.v_numeric_integer.err = Must be a rounded number +routine_household_visit.step1.community_trigger.v_numeric_integer.err = Must be a rounded number +routine_household_visit.step1.number_of_births_facility.v_min.err = Number must be equal or greater than 0 +routine_household_visit.step1.pregnancies_in_household.v_min.err = Number must be equal or greater than 0 +routine_household_visit.step1.number_of_births_facility.v_numeric_integer.err = Must be a rounded number +routine_household_visit.step1.still_births.hint = Count any deaths in the household\nNumber of still births: +routine_household_visit.step1.neonatal_death.hint = Number of neonatal deaths: +routine_household_visit.step1.maternal_death.label_info_text = (mothers who die 48 days after birth) +routine_household_visit.step1.community_trigger.label_info_title = Info +routine_household_visit.step1.community_trigger_type.options.chk_watery_diarrhea.text = Acute watery diarrhea/Colera (Runny stomach) +routine_household_visit.step1.community_trigger_other.v_required.err = Please enter value +routine_household_visit.step1.title = Routine Household Visit +routine_household_visit.step1.community_trigger_type.options.chk_human_rabies.text = Human Rabies (dog bite) +routine_household_visit.step1.birth_in_household.v_required.err = Please select option +routine_household_visit.step1.community_trigger_type.options.chk_bloody_diarrhea.text = Bloody Diarrhea (pu-pu with blood) +routine_household_visit.step1.community_trigger_type.options.chk_maternal_death.text = Maternal Death (big belly death) +routine_household_visit.step1.death_in_household.values[0] = Yes +routine_household_visit.step1.community_trigger_type.options.chk_unknown_health_problems.text = Unknown health problems grouped together +routine_household_visit.step1.number_of_births_community.label_info_text = Number of births in the community or at home +routine_household_visit.step1.post_neonatal_death.v_numeric_integer.err = Must be a rounded number +routine_household_visit.step1.pregnancies_in_household.hint = Number of pregnant (big belly) women in the household +routine_household_visit.step1.post_neonatal_death.label_info_title = Info +routine_household_visit.step1.maternal_death.v_numeric_integer.err = Must be a rounded number +routine_household_visit.step1.post_neonatal_death.hint = Number of Post-neonatal death: +routine_household_visit.step1.child_death.v_numeric_integer.err = Must be a rounded number +routine_household_visit.step1.number_of_births_facility.label_info_text = Number of births that took place at the facility +routine_household_visit.step1.community_trigger_type.options.chk_any_death.text = Any death in human or group of animals that you don't know why it happened +routine_household_visit.step1.number_of_births_community.v_min.err = Number must be equal or greater than 0 +routine_household_visit.step1.death_in_household.v_required.err = Please select option +routine_household_visit.step1.pregnancies_in_household.v_numeric_integer.err = Must be a rounded number +routine_household_visit.step1.still_births.label_info_text = (dead when born) +routine_household_visit.step1.birth_in_household.values[1] = No +routine_household_visit.step1.birth_in_household.hint = Any births in the household since last visit? +routine_household_visit.step1.neonatal_death.label_info_text = (0 days - 1 month) +routine_household_visit.step1.community_trigger_type.options.chk_hemorrhagic.text = Hemorrhagic Fever (Ebola, Lassa Fever, Yellow Fever) +routine_household_visit.step1.community_trigger_other.hint = Other: +routine_household_visit.step1.still_births.v_required.err = Equal or greater than 0 +routine_household_visit.step1.number_of_births_community.hint = How many births since last visit?\nNumber of births that happened in the COMMUNITY/HOME: +routine_household_visit.step1.death_in_household.hint = Any deaths in household since last visit? +routine_household_visit.step1.form_feedback.hint = Optional: Do you have any feedback on how we can improve this form? +routine_household_visit.step1.death_in_household.values[1] = No +routine_household_visit.step1.number_of_births_facility.v_required.err = Equal or greater than 0 +routine_household_visit.step1.still_births.label_info_title = Info +routine_household_visit.step1.child_death.hint = Number of child deaths: diff --git a/opensrp-chw/src/main/AndroidManifest.xml b/opensrp-chw/src/main/AndroidManifest.xml index 36a582f220..9b29090040 100644 --- a/opensrp-chw/src/main/AndroidManifest.xml +++ b/opensrp-chw/src/main/AndroidManifest.xml @@ -16,20 +16,23 @@ - - + + + + android:launchMode="singleTop" + android:theme="@style/ChwTheme.NoActionBar"> + + + + + + + + + - - - @@ -221,21 +234,21 @@ - + - - @@ -250,6 +265,61 @@ android:name=".core.activity.CoreCommunityRespondersRegisterActivity" android:theme="@style/ChwTheme.NoActionBar" /> + >>>>>> 939cab83bf354adff709f1c84ad320faf058d44c + android:name=".activity.HivRegisterActivity" + android:label="@string/hiv_register" + android:theme="@style/ChwTheme.NoActionBar" /> + + + + + + + + + + + + + + + + + + + + + >>>>>> 939cab83bf354adff709f1c84ad320faf058d44c + android:theme="@style/ChwTheme.NoActionBar" /> + @@ -279,7 +349,7 @@ - + = 10 AND cast(strftime('%Y', 'now') - strftime('%Y', dob) as int) <= 49;" + indicatorQuery: "SELECT count(*) FROM ec_family_member f inner join ec_family on ec_family.base_entity_id = f.relational_id WHERE f.is_closed == '0' AND f.entity_type = 'ec_family_member' AND gender = 'Female' AND dod IS NULL AND cast(strftime('%Y', 'now') - strftime('%Y', dob) as int) >= 10 AND cast(strftime('%Y', 'now') - strftime('%Y', dob) as int) <= 49;" - key: "anc_report_indicator_2" description: "COUNT of all ANC women who are registered in the ANC register" @@ -17,11 +17,11 @@ indicators: - key: "anc_report_indicator_4_1" description: "COUNT of ANC women who are currently not due or due for an ANC health facility visit." - indicatorQuery: "SELECT count(DISTINCT ec_anc_register.base_entity_id) FROM ec_anc_register inner join ec_family_member on ec_family_member.base_entity_id = ec_anc_register.base_entity_id inner join ec_family on ec_family.base_entity_id = ec_family_member.relational_id where ec_family_member.date_removed is null and ec_anc_register.is_closed is 0 AND ec_anc_register.base_entity_id IN (SELECT ec_anc_register.base_entity_id FROM visits INNER JOIN ec_anc_register ON visits.base_entity_id = ec_anc_register.base_entity_id WHERE visit_id IN (select visit_id from (select max(details) m_details , visit_id from visit_details where visit_key = 'anc_hf_next_visit_date' group by visit_id) x where x.m_details > date()) AND ec_anc_register.is_closed = '0' AND visits.visit_type = 'ANC Home Visit')" + indicatorQuery: "SELECT count(DISTINCT ec_anc_register.base_entity_id) FROM ec_anc_register inner join ec_family_member on ec_family_member.base_entity_id = ec_anc_register.base_entity_id inner join ec_family on ec_family.base_entity_id = ec_family_member.relational_id where ec_family_member.date_removed is null and ec_anc_register.is_closed is 0 AND ec_anc_register.base_entity_id IN (SELECT ec_anc_register.base_entity_id FROM visits INNER JOIN ec_pregnancy_outcome ON visits.base_entity_id = ec_anc_register.base_entity_id WHERE ec_pregnancy_outcome.is_closed = '0' AND visits.visit_type = 'ANC Home Visit');" - key: "anc_report_indicator_4_2" description: "COUNT of ANC women who are currently overdue for an ANC health facility visit." - indicatorQuery: "SELECT count(DISTINCT ec_anc_register.base_entity_id) FROM ec_anc_register inner join ec_family_member on ec_family_member.base_entity_id = ec_anc_register.base_entity_id inner join ec_family on ec_family.base_entity_id = ec_family_member.relational_id where ec_family_member.date_removed is null and ec_anc_register.is_closed is 0 AND ec_anc_register.base_entity_id NOT IN (SELECT ec_anc_register.base_entity_id FROM visits INNER JOIN ec_anc_register ON visits.base_entity_id = ec_anc_register.base_entity_id WHERE visit_id IN (select visit_id from (select max(details) m_details , visit_id from visit_details where visit_key = 'anc_hf_next_visit_date' group by visit_id) x where x.m_details > date()) AND ec_anc_register.is_closed = '0' AND visits.visit_type = 'ANC Home Visit')" + indicatorQuery: "SELECT count(DISTINCT ec_anc_register.base_entity_id) FROM ec_anc_register inner join ec_family_member on ec_family_member.base_entity_id = ec_anc_register.base_entity_id inner join ec_family on ec_family.base_entity_id = ec_family_member.relational_id where ec_family_member.date_removed is null and ec_anc_register.is_closed is 0 AND ec_anc_register.base_entity_id NOT IN (SELECT ec_anc_register.base_entity_id FROM visits INNER JOIN ec_pregnancy_outcome ON visits.base_entity_id = ec_anc_register.base_entity_id WHERE ec_pregnancy_outcome.is_closed = '0' AND visits.visit_type = 'ANC Home Visit');" - key: "anc_report_indicator_5_1" description: "Count of ANC women who had an HIV test done at least once during their pregnancy (selected {tests_done}, 'HIV test' during at least one ANC home visit)" diff --git a/opensrp-chw/src/main/assets/config/pnc-reporting-indicator-definitions.yml b/opensrp-chw/src/main/assets/config/pnc-reporting-indicator-definitions.yml index eae27a6398..8cb7e421fd 100644 --- a/opensrp-chw/src/main/assets/config/pnc-reporting-indicator-definitions.yml +++ b/opensrp-chw/src/main/assets/config/pnc-reporting-indicator-definitions.yml @@ -17,11 +17,31 @@ indicators: - key: "pnc_report_indicator_3_1" description: "COUNT of babies born who were early initiated into breastfeeding (last 6 months)" - indicatorQuery: "select count(*) from ec_child where ec_child.early_bf_1hr = 'Yes' and ec_child.dob >= date('now', '-6 month') and ec_child.dod ISNULL and ec_child.relational_id in (select ec_pregnancy_outcome.relational_id from ec_pregnancy_outcome where ec_pregnancy_outcome.preg_outcome = 'Live birth' and (substr(ec_pregnancy_outcome.delivery_date, 7, 4) || '-' || substr(ec_pregnancy_outcome.delivery_date, 4, 2) || '-' || substr(ec_pregnancy_outcome.delivery_date, 1, 2)) >= date('now', '-6 month'));" + indicatorQuery: "select count(*) from ec_child where ec_child.early_bf_1hr = 'Yes' and ec_child.dob >= date('now', '-6 month') and ec_child.dod ISNULL;" - key: "pnc_report_indicator_3_2" description: "COUNT of babies born who were not early initiated into breastfeeding" - indicatorQuery: "select count(*) from ec_child where ec_child.early_bf_1hr = 'No' and ec_child.dob >= date('now', '-6 month') and ec_child.dod ISNULL and ec_child.relational_id in (select ec_pregnancy_outcome.relational_id from ec_pregnancy_outcome where ec_pregnancy_outcome.preg_outcome = 'Live birth' and (substr(ec_pregnancy_outcome.delivery_date, 7, 4) || '-' || substr(ec_pregnancy_outcome.delivery_date, 4, 2) || '-' || substr(ec_pregnancy_outcome.delivery_date, 1, 2)) >= date('now', '-6 month'));" + indicatorQuery: "select count(*) from ec_child where ec_child.early_bf_1hr = 'No' and ec_child.dob >= date('now', '-6 month') and ec_child.dod ISNULL;" + + - key: "pnc_report_indicator_10_1" + description: "Women up to date with their PNC health facility visits" + indicatorQuery: "SELECT count(DISTINCT ec_pregnancy_outcome.base_entity_id) FROM ec_pregnancy_outcome + inner join ec_family_member on ec_family_member.base_entity_id = ec_pregnancy_outcome.base_entity_id + inner join ec_family on ec_family.base_entity_id = ec_family_member.relational_id + where ec_family_member.date_removed is null and ec_pregnancy_outcome.is_closed is 0 + AND ec_pregnancy_outcome.base_entity_id IN (SELECT ec_pregnancy_outcome.base_entity_id + FROM visits INNER JOIN ec_pregnancy_outcome ON visits.base_entity_id = ec_pregnancy_outcome.base_entity_id + WHERE ec_pregnancy_outcome.is_closed = '0' AND visits.visit_type = 'PNC Home Visit');" + + - key: "pnc_report_indicator_10_2" + description: "Women not up to date with their PNC health facility visits" + indicatorQuery: "SELECT count(DISTINCT ec_pregnancy_outcome.base_entity_id) FROM ec_pregnancy_outcome + inner join ec_family_member on ec_family_member.base_entity_id = ec_pregnancy_outcome.base_entity_id + inner join ec_family on ec_family.base_entity_id = ec_family_member.relational_id + where ec_family_member.date_removed is null and ec_pregnancy_outcome.is_closed is 0 + AND ec_pregnancy_outcome.base_entity_id NOT IN (SELECT ec_pregnancy_outcome.base_entity_id + FROM visits INNER JOIN ec_pregnancy_outcome ON visits.base_entity_id = ec_pregnancy_outcome.base_entity_id + WHERE ec_pregnancy_outcome.is_closed = '0' AND visits.visit_type = 'PNC Home Visit');" - key: "pnc_report_indicator_4_1" description: "COUNT of babies born in the last 6 months who received BCG on time (Within 4 weeks of birth)" @@ -30,7 +50,7 @@ indicators: inner join ec_child ec on ec.base_entity_id = vacc.base_entity_id and (ifnull(ec.entry_point,'') = 'PNC') inner join ec_family_member ef on ec.base_entity_id = ef.base_entity_id and ef.date_removed is null inner join ec_pregnancy_outcome po on ec.mother_entity_id = po.base_entity_id - where vacc.name = 'bcg' and ec.dob >= date('now', '-6 month') and STRFTIME('%Y-%m-%d', datetime(vacc.date/1000,'unixepoch')) <= date(ec.dob, '+28 days') + where vacc.name = 'bcg' and vacc.is_voided = '0' and ec.dob >= date('now', '-6 month') and STRFTIME('%Y-%m-%d', datetime(vacc.date/1000,'unixepoch')) <= date(ec.dob, '+28 days') and po.preg_outcome = 'Live birth' and (substr(po.delivery_date, 7, 4) || '-' || substr(po.delivery_date, 4, 2) || '-' || substr(po.delivery_date, 1, 2)) >= date('now', '-6 month');" - key: "pnc_report_indicator_4_2" @@ -40,7 +60,7 @@ indicators: inner join ec_child ec on ec.base_entity_id = vacc.base_entity_id and (ifnull(ec.entry_point,'') = 'PNC') inner join ec_family_member ef on ec.base_entity_id = ef.base_entity_id and ef.date_removed is null inner join ec_pregnancy_outcome po on ec.mother_entity_id = po.base_entity_id - where vacc.name = 'bcg' and ec.dob >= date('now', '-6 month') and STRFTIME('%Y-%m-%d', datetime(vacc.date/1000,'unixepoch')) > date(ec.dob, '+28 days') + where vacc.name = 'bcg' and vacc.is_voided = '0' and ec.dob >= date('now', '-6 month') and STRFTIME('%Y-%m-%d', datetime(vacc.date/1000,'unixepoch')) > date(ec.dob, '+28 days') and po.preg_outcome = 'Live birth' and (substr(po.delivery_date, 7, 4) || '-' || substr(po.delivery_date, 4, 2) || '-' || substr(po.delivery_date, 1, 2)) >= date('now', '-6 month');" - key: "pnc_report_indicator_5_1" @@ -221,4 +241,4 @@ indicators: description: "Count of newborns (0-28 days) who died in the last year" indicatorQuery: "select count(distinct ev.baseEntityId) from event ev inner join ec_child ec on ec.base_entity_id = ev.baseEntityId - where ev.eventType = 'Remove Child Under 5'and date(ec.dob) >= date('now', '-28 days') and date(ec.dod) >= date('now', '-12 month')" \ No newline at end of file + where ev.eventType = 'Remove Child Under 5'and date(ec.dob) >= date('now', '-28 days') and date(ec.dod) >= date('now', '-12 month')" diff --git a/opensrp-chw/src/main/assets/ec_client_classification.json b/opensrp-chw/src/main/assets/ec_client_classification.json index 218094e611..fc1c19752a 100644 --- a/opensrp-chw/src/main/assets/ec_client_classification.json +++ b/opensrp-chw/src/main/assets/ec_client_classification.json @@ -136,6 +136,13 @@ "creates_case": [ "ec_pregnancy_outcome" ] + }, + { + "field": "eventType", + "field_value": "Update ANC Registration", + "creates_case": [ + "ec_anc_register" + ] } ] } diff --git a/opensrp-chw/src/main/assets/img/child_chw_fr.png b/opensrp-chw/src/main/assets/img/child_chw_fr.png new file mode 100644 index 0000000000..abbec21c27 Binary files /dev/null and b/opensrp-chw/src/main/assets/img/child_chw_fr.png differ diff --git a/opensrp-chw/src/main/assets/img/chw_fr.png b/opensrp-chw/src/main/assets/img/chw_fr.png new file mode 100644 index 0000000000..50d49b5d6c Binary files /dev/null and b/opensrp-chw/src/main/assets/img/chw_fr.png differ diff --git a/opensrp-chw/src/main/assets/img/nine_twelve_months_img_one.png b/opensrp-chw/src/main/assets/img/nine_twelve_months_img_one.png new file mode 100644 index 0000000000..5618c6693b Binary files /dev/null and b/opensrp-chw/src/main/assets/img/nine_twelve_months_img_one.png differ diff --git a/opensrp-chw/src/main/assets/img/nine_twelve_months_img_three.png b/opensrp-chw/src/main/assets/img/nine_twelve_months_img_three.png new file mode 100644 index 0000000000..fa8d5acfe0 Binary files /dev/null and b/opensrp-chw/src/main/assets/img/nine_twelve_months_img_three.png differ diff --git a/opensrp-chw/src/main/assets/img/nine_twelve_months_img_two.png b/opensrp-chw/src/main/assets/img/nine_twelve_months_img_two.png new file mode 100644 index 0000000000..d92bd83229 Binary files /dev/null and b/opensrp-chw/src/main/assets/img/nine_twelve_months_img_two.png differ diff --git a/opensrp-chw/src/main/assets/img/one_six_months_img_one.png b/opensrp-chw/src/main/assets/img/one_six_months_img_one.png new file mode 100644 index 0000000000..d4d27b93c9 Binary files /dev/null and b/opensrp-chw/src/main/assets/img/one_six_months_img_one.png differ diff --git a/opensrp-chw/src/main/assets/img/one_six_months_img_two.png b/opensrp-chw/src/main/assets/img/one_six_months_img_two.png new file mode 100644 index 0000000000..3f6303174c Binary files /dev/null and b/opensrp-chw/src/main/assets/img/one_six_months_img_two.png differ diff --git a/opensrp-chw/src/main/assets/img/six_nine_months_img_one.png b/opensrp-chw/src/main/assets/img/six_nine_months_img_one.png new file mode 100644 index 0000000000..9c75e1d068 Binary files /dev/null and b/opensrp-chw/src/main/assets/img/six_nine_months_img_one.png differ diff --git a/opensrp-chw/src/main/assets/img/six_nine_months_img_two.png b/opensrp-chw/src/main/assets/img/six_nine_months_img_two.png new file mode 100644 index 0000000000..c9e89b34b9 Binary files /dev/null and b/opensrp-chw/src/main/assets/img/six_nine_months_img_two.png differ diff --git a/opensrp-chw/src/main/assets/img/twelve_twenty_four_months_img_one.png b/opensrp-chw/src/main/assets/img/twelve_twenty_four_months_img_one.png new file mode 100644 index 0000000000..40508a9554 Binary files /dev/null and b/opensrp-chw/src/main/assets/img/twelve_twenty_four_months_img_one.png differ diff --git a/opensrp-chw/src/main/assets/img/twelve_twenty_four_months_img_two.png b/opensrp-chw/src/main/assets/img/twelve_twenty_four_months_img_two.png new file mode 100644 index 0000000000..ba437b6dba Binary files /dev/null and b/opensrp-chw/src/main/assets/img/twelve_twenty_four_months_img_two.png differ diff --git a/opensrp-chw/src/main/assets/img/two_years_and_old_img_one.png b/opensrp-chw/src/main/assets/img/two_years_and_old_img_one.png new file mode 100644 index 0000000000..d8272a5452 Binary files /dev/null and b/opensrp-chw/src/main/assets/img/two_years_and_old_img_one.png differ diff --git a/opensrp-chw/src/main/assets/img/two_years_and_old_img_two.png b/opensrp-chw/src/main/assets/img/two_years_and_old_img_two.png new file mode 100644 index 0000000000..8ca76b8383 Binary files /dev/null and b/opensrp-chw/src/main/assets/img/two_years_and_old_img_two.png differ diff --git a/opensrp-chw/src/main/assets/img/zero_one_week_img.png b/opensrp-chw/src/main/assets/img/zero_one_week_img.png new file mode 100644 index 0000000000..b75be2ff5e Binary files /dev/null and b/opensrp-chw/src/main/assets/img/zero_one_week_img.png differ diff --git a/opensrp-chw/src/main/assets/json.form-fr/anc_hv_anc_card_received.json b/opensrp-chw/src/main/assets/json.form-fr/anc_hv_anc_card_received.json deleted file mode 100644 index a7a422b444..0000000000 --- a/opensrp-chw/src/main/assets/json.form-fr/anc_hv_anc_card_received.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "count": "1", - "encounter_type": "Child vaccine card received", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Carnet CPN reçu", - "fields": [ - { - "key": "anc_card", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1719AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "image": "form_received_card", - "hint": "Carnet CPN reçu?", - "values": [ - "Oui", - "Non" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form-fr/anc_hv_anc_iptp_sp.json b/opensrp-chw/src/main/assets/json.form-fr/anc_hv_anc_iptp_sp.json deleted file mode 100644 index 0d89d46421..0000000000 --- a/opensrp-chw/src/main/assets/json.form-fr/anc_hv_anc_iptp_sp.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "count": "1", - "encounter_type": "IPTp-SP Service", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "SP {0} dose", - "fields": [ - { - "key": "iptp{0}_date", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "date_picker", - "image": "form_iptp_sp", - "hint": "Quand est-ce que le comprimé SP dose {0} a été administré?", - "min_date": "today-120y", - "max_date": "today", - "v_required": { - "value": "true", - "err": "Please enter the dose date" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form-fr/anc_hv_counseling.json b/opensrp-chw/src/main/assets/json.form-fr/anc_hv_counseling.json deleted file mode 100644 index 63540ada6a..0000000000 --- a/opensrp-chw/src/main/assets/json.form-fr/anc_hv_counseling.json +++ /dev/null @@ -1,145 +0,0 @@ -{ - "count": "1", - "encounter_type": "Home Visit - Anc Counseling", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Conseils CPN", - "fields": [ - { - "key": "anc_counseling", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "165310AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "label_info_title": "Importance des visites CPN", - "label_info_text": "Chaque grossesse est unique. Tous femmes enceintes ont besoin d’au moins huit consultations prénatal pour assurer une grossesse sain et sécuritaire. Les femmes enceintes et leurs familles doivent être capable d’identifier les signes du début de travail et les signes de danger de complications de grossesse. Elles doivent avoir un plan et les ressources pour obtenir de soins qualifiés pour l’accouchement et de l’aide immédiate au besoin.", - "hint": "Importance des visites CPN", - "values": [ - "Oui", - "Non" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1267AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1118AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Please select one option" - } - }, - { - "key": "anc_counseling_toaster", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "toaster_notes", - "text": "Dates de visites à venir:\n\n{0}.", - "text_color": "#1199F9", - "toaster_type": "info" - }, - { - "key": "birth_hf_counseling", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "164108AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "label_info_title": "Importance d'accoucher dans une formation sanitaire", - "label_info_text": "Promouvoir l’accouchement au centre de santé et aborder les avantages d’avoir une assistance qualifiée.", - "hint": "Importance d'accoucher à une structure sanitaire", - "values": [ - "Oui", - "Non" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1267AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1118AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Please select one option" - } - }, - { - "key": "nutrition_counseling", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1380AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "label_info_title": "Conseils en nutrition", - "label_info_text": "Les risques associés avec la maternité pour la maman et son bébé peuvent être largement réduit si la femme est en santé et bien alimenté avent de devenir enceinte. Durant la grossesse et pendant l’allaitment, tous les femmes ont besoin de repas plus nutritifs, une augmentation de nourriture, et plus de repos que normal, le fer et l’acide folique ou de suppléments de micronutriments multiples même si elles consomment d’aliments fortifiés, et le sel iodizé pour assurer le développement mental de leurs enfants.", - "hint": "Conseils en nutrition", - "values": [ - "Oui", - "Non" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1267AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1118AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Please select one option" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form-fr/anc_hv_danger_signs.json b/opensrp-chw/src/main/assets/json.form-fr/anc_hv_danger_signs.json deleted file mode 100644 index e02bdb5215..0000000000 --- a/opensrp-chw/src/main/assets/json.form-fr/anc_hv_danger_signs.json +++ /dev/null @@ -1,183 +0,0 @@ -{ - "count": "1", - "encounter_type": "Home Visit - Danger signs", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Signes de danger", - "fields": [ - { - "key": "danger_signs_present", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "160939AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "check_box", - "label_info_image_src": "img/chw.png", - "label_info_has_image": true, - "label": "Signes de danger présents?", - "label_text_style": "normal", - "text_color": "#C0C0C0", - "exclusive": [ - "chk_none" - ], - "options": [ - { - "key": "chk_none", - "text": "Aucun", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_fever", - "text": "Fièvre", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "140238AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_bleeding_vaginally", - "text": "Saignement vaginale", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "150802AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_server_headache", - "text": "Mal de tête grave", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "139081AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_convulsions", - "text": "Convulsions", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "164483AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_difficulty_breathing", - "text": "Difficulté de respiration", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "142373AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_severe_abdominal_pain", - "text": "Douleur abdominale sévère", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "165271AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_swollen_face", - "text": "Visage et jambes enflés", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "460AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - ], - "v_required": { - "value": "true", - "err": "Please pick at least one" - } - }, - { - "key": "danger_signs_present_toaster", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "toaster_notes", - "text": "Signe de danger! \nReferez immédiatement au centre de santé.", - "text_color": "#CF0800", - "toaster_type": "problem", - "relevance": { - "step1:danger_signs_present": { - "ex-checkbox": [ - { - "or": [ - "chk_fever", - "chk_bleeding_vaginally", - "chk_server_headache", - "chk_convulsions", - "chk_difficulty_breathing", - "chk_severe_abdominal_pain", - "chk_swollen_face" - ] - } - ] - } - } - }, - { - "key": "danger_signs_counseling", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "165310AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Conseils sur chercher des soins immédiatement en case de signes de danger", - "values": [ - "Oui", - "Non" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1267AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1118AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Please select one option" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form-fr/anc_hv_health_facility_visit.json b/opensrp-chw/src/main/assets/json.form-fr/anc_hv_health_facility_visit.json deleted file mode 100644 index 04260abada..0000000000 --- a/opensrp-chw/src/main/assets/json.form-fr/anc_hv_health_facility_visit.json +++ /dev/null @@ -1,320 +0,0 @@ -{ - "count": "1", - "encounter_type": "Home Visit - ANC 1 health facility visit", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Visite CPN {0} à la structure sanitaire", - "fields": [ - { - "key": "anc_hf_visit", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "160939AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "label_info_title": "La femme à t-elle assisté à sa visite {0} à la structure sanitaire?", - "label_info_text": "Si oui ou non La femme à t-elle assisté à sa visite à la structure sanitaire.", - "type": "spinner", - "hint": "La femme à t-elle assisté à sa visite {0} à la structure sanitaire? \n\nDate prévu de la visite: {1}", - "values": [ - "Oui", - "Non" - ], - "keys": [ - "Yes", - "No" - ], - "v_required": { - "value": "true", - "err": "Cette réponse est requise" - } - }, - { - "key": "anc_hf_visit_date", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "159590AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "text", - "label_info_title": "Date de la visite", - "label_info_text": "La date de la dernière visite CPN de la femme visitée à la structure de santé.", - "type": "date_picker", - "label": "Date de la visit", - "hint": "Date de la visite", - "expanded": false, - "min_date": "today-10y", - "max_date": "today", - "v_required": { - "value": "true", - "err": "Cette réponse est requise" - }, - "relevance": { - "step1:anc_hf_visit": { - "type": "string", - "ex": "equalTo(., \"Yes\")" - } - } - }, - { - "key": "weight", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "5089AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "edit_text", - "label_info_title": "Poids (kg)", - "label_info_text": "poids (en kg) de la femme.", - "edit_type": "number", - "hint": "Poids (kg)", - "v_required": { - "value": "false", - "err": "Cette réponse est requise" - }, - "v_numeric": { - "value": "true", - "err": "Entrez un numéro valide" - }, - "v_min": { - "value": "30", - "err": "Poids doit être égal ou supérieur à 30" - }, - "v_max": { - "value": "200", - "err": "Poids doit être égal ou inférieur à 200" - }, - "relevance": { - "step1:anc_hf_visit": { - "type": "string", - "ex": "equalTo(., \"Yes\")" - } - } - }, - { - "key": "anc_hf_next_visit_date", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "anc_hf_next_visit_date", - "type": "spacer" - }, - { - "key": "sys_bp", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "5085AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "edit_text", - "edit_type": "number", - "label_info_title": "Pression systolique (mmHg)", - "label_info_text": "Pression systolique de la femme. ", - "hint": "Pression systolique (mmHg)", - "v_min": { - "value": "0", - "err": "La valeur doit être supérieure ou égale à 0" - }, - "v_required": { - "value": "false", - "err": "Cette réponse est requise." - }, - "v_numeric": { - "value": "true", - "err": "Doit être un nombre arrondi" - }, - "relevance": { - "step1:anc_hf_visit": { - "type": "string", - "ex": "equalTo(., \"Yes\")" - } - } - }, - { - "key": "dia_bp", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "5086AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "edit_text", - "edit_type": "number", - "label_info_title": "Pression diastolique (mmHg)", - "label_info_text": "Pression diastolique de la femme. ", - "hint": "Pression diastolique (mmHg)", - "v_min": { - "value": "0", - "err": "La valeur doit être supérieure ou égale à 0" - }, - "v_required": { - "value": "false", - "err": "Cette réponse est requise." - }, - "v_numeric": { - "value": "true", - "err": "Doit être un nombre arrondi" - }, - "relevance": { - "step1:anc_hf_visit": { - "type": "string", - "ex": "equalTo(., \"Yes\")" - } - } - }, - { - "key": "hb_level", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "21AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "edit_text", - "edit_type": "number", - "label_info_title": "Niveau d'hémoglobine g/dl", - "label_info_text": "The woman's haemoglobin level (g/dl).", - "hint": "Niveau d'hémoglobine g/dl", - "v_required": { - "value": "false", - "err": "Cette réponse est requise." - }, - "v_numeric": { - "value": "true", - "err": "" - }, - "relevance": { - "step1:anc_hf_visit": { - "type": "string", - "ex": "equalTo(., \"Yes\")" - } - } - }, - { - "key": "ifa_received", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "104677AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "spinner", - "label_info_title": "FAF reçu?", - "label_info_text": "Whether the woman has received IFA tablets.", - "hint": "FAF reçu?", - "v_required": { - "value": "true", - "err": "Cette réponse est requise." - }, - "v_numeric": { - "value": "true", - "err": "" - }, - "values": [ - "Oui", - "Non" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "relevance": { - "step1:anc_hf_visit": { - "type": "string", - "ex": "equalTo(., \"Yes\")" - } - } - }, - { - "key": "tests_done", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1271AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "check_box", - "label": "Quels examens ont été administrés?", - "label_text_style": "normal", - "text_color": "#C0C0C0", - "exclusive": [ - "chk_none" - ], - "options": [ - { - "key": "chk_none", - "text": "Aucun", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_urine", - "text": "Analyse urinaire", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "161156AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_hiv", - "text": "Dépistage VIH", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1356AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_syphilis", - "text": "Dépistage Syphilis", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "299AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - ], - "v_required": { - "value": "true", - "err": "Cette réponse est requise." - }, - "relevance": { - "step1:anc_hf_visit": { - "type": "string", - "ex": "equalTo(., \"Yes\")" - } - } - }, - { - "key": "confirmed_visits", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "confirmed_visits", - "type": "spacer", - "read_only": "true", - "hidden": "true", - "value": "0" - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form-fr/anc_hv_sleeping_under_llitn.json b/opensrp-chw/src/main/assets/json.form-fr/anc_hv_sleeping_under_llitn.json deleted file mode 100644 index 56546b8628..0000000000 --- a/opensrp-chw/src/main/assets/json.form-fr/anc_hv_sleeping_under_llitn.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "count": "1", - "encounter_type": "Sleeping under a LLITN", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Dormir sous un MIILD", - "fields": [ - { - "key": "sleeping_llitn", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1802AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "image": "form_llitn", - "hint": "La femme dors-t-elle sous une moustiquaires imprégnées d'insecticide (MIILD)?", - "label_info_title": "Si une femme enceinte dort sous un MIILD", - "label_info_text": "Le paludisme est très dangereux pour les femmes enceintes. En tout lieu ou le paludisme est commun, les femmes devraient le prévenir en prenant de comprimés antipaludéens tels que recommandés par un travailleur de santé formé. Elles devraient aussi dormir en dessous d’une moustiquaire imprégnée d'insecticide.", - "values": [ - "Oui", - "Non" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form-fr/anc_hv_tt_immunization.json b/opensrp-chw/src/main/assets/json.form-fr/anc_hv_tt_immunization.json deleted file mode 100644 index 6d8584d227..0000000000 --- a/opensrp-chw/src/main/assets/json.form-fr/anc_hv_tt_immunization.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "count": "1", - "encounter_type": "TT Vaccination", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Immunisation VAT {0}", - "fields": [ - { - "key": "tt{0}_date", - "openmrs_entity_parent": "vaccine", - "openmrs_entity": "concept", - "openmrs_entity_id": "1418AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "date_picker", - "image": "form_immunization", - "hint": "Quand est-ce que l''immunisation VAT {0} a été administré?", - "min_date": "today-120y", - "max_date": "today", - "v_required": { - "value": "true", - "err": "Please enter the date of immunization" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form-fr/anc_member_registration.json b/opensrp-chw/src/main/assets/json.form-fr/anc_member_registration.json deleted file mode 100644 index 763c148bbc..0000000000 --- a/opensrp-chw/src/main/assets/json.form-fr/anc_member_registration.json +++ /dev/null @@ -1,258 +0,0 @@ -{ - "count": "1", - "encounter_type": "ANC Registration", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Enregistrement CPN", - "fields": [ - { - "key": "relational_id", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "relational_id", - "type": "hidden" - }, - { - "key": "last_menstrual_period", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1427AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "date_picker", - "hint": "Date de dernières règles (DDR)", - "label_info_title": "LMP", - "label_info_text": "DDR = La première journée des dernières règles. Si la date exacte est inconnue mais la période du mois est connue, utiliser jour 5 pour le début du mois, jour 15 pour le milieu du mois, et jour 25 pour la fin du mois.", - "expanded": false, - "max_date": "today", - "min_date": "today-50w", - "v_required": { - "value": "true", - "err": "LMP required" - }, - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_member_registration_calculation.yml" - } - } - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_member_registration_relevance.yml" - } - } - } - }, - { - "key": "last_menstrual_period_unknown", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "last_menstrual_period_unknown", - "openmrs_data_type": "text", - "type": "check_box", - "options": [ - { - "key": "lmp_unknown", - "text": "DDR inconnue?", - "text_size": "18px", - "value": "false" - } - ] - }, - { - "key": "edd", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "5596AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "date_picker", - "hint": "Date probable d'accouchement (DPA)", - "max_date": "today+50w", - "min_date": "today", - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_member_registration_calculation.yml" - } - } - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_member_registration_relevance.yml" - } - } - }, - "v_required": { - "value": "true", - "err": "Required" - } - }, - { - "key": "gest_age_note", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "edit_text", - "hint": "Âge gestationnel (AG)", - "read_only": true, - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_member_registration_calculation.yml" - } - } - } - }, - { - "key": "edd_note", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "type": "edit_text", - "hint": "Date probable d'accouchement (DPA)", - "read_only": true, - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_member_registration_calculation.yml" - } - } - } - }, - { - "key": "gest_age", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1438AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "hidden", - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_member_registration_calculation.yml" - } - } - } - }, - { - "key": "no_prev_preg", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "no_prev_preg", - "type": "edit_text", - "edit_type": "number", - "hint": "Nombre de grossesses antérieures", - "v_required": { - "value": "true", - "err": "Required" - }, - "v_numeric_integer": { - "value": "true", - "err": "Must be a rounded number" - }, - "v_min": { - "value": "0", - "err": "Number must be equal or greater than 0" - }, - "v_max": { - "value": "45", - "err": "Number must be equal or less than 45" - } - }, - { - "key": "gravida", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "5624AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "hidden", - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_member_registration_calculation.yml" - } - } - } - }, - { - "key": "no_surv_children", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "164894AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "edit_text", - "edit_type": "number", - "hint": "Nombre d'enfants survivants", - "v_required": { - "value": "true", - "err": "Required" - }, - "v_numeric_integer": { - "value": "true", - "err": "Must be a rounded number" - }, - "v_relative_max": { - "value": "no_prev_preg", - "err": "Number must be less than or equal to Number of Previous Pregnancies" - } - }, - { - "key": "phone_number", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "159635AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "edit_text", - "hint": "Numéro de téléphone", - "v_numeric": { - "value": "true", - "err": "Must be a number." - }, - "v_required": { - "value": false, - "err": "Please specify the phone number" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form-fr/anc_pregnancy_outcome.json b/opensrp-chw/src/main/assets/json.form-fr/anc_pregnancy_outcome.json deleted file mode 100644 index 2f8f35b8f6..0000000000 --- a/opensrp-chw/src/main/assets/json.form-fr/anc_pregnancy_outcome.json +++ /dev/null @@ -1,473 +0,0 @@ -{ - "validate_on_submit": true, - "show_errors_on_submit": false, - "count": "1", - "encounter_type": "Pregnancy Outcome", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Résultat de la grossesse", - "fields": [ - { - "key": "relational_id", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "relational_id", - "type": "hidden" - }, - { - "key": "pregnancy_outcome_label", - "type": "label", - "text": "Résultat de la grossesse", - "has_bg": true, - "left_padding": "20dp", - "right_padding": "20dp", - "text_size": "7sp" - }, - { - "key": "preg_outcome", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "161033AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Résultat de la grossesse", - "values": [ - "Naissance vivante", - "Mort-né", - "Fausse couche", - "Autre" - ], - "keys": [ - "Live birth", - "Stillbirth", - "Miscarriage", - "Other" - ], - "openmrs_choice_ids": { - "Live birth": "151849AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Stillbirth": "125872AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Miscarriage": "48AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Other": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Sélectionnez une option" - } - }, - { - "key": "miscarriage_date", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "165248AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "date_picker", - "hint": "Date de fausse couche", - "expanded": false, - "max_date": "today", - "v_required": { - "value": "true", - "err": "Entrez la date" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_pregnancy_outcome_relevance.yml" - } - } - } - }, - { - "key": "delivery_date", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "5599AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "date_picker", - "hint": "Date d'accouchement", - "expanded": false, - "max_date": "today", - "v_required": { - "value": "true", - "err": "Entrez la date" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_pregnancy_outcome_relevance.yml" - } - } - } - }, - { - "key": "delivery_place", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1572AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Lieu d'accouchement", - "values": [ - "Maison", - "Formation sanitaire", - "Autre" - ], - "keys": [ - "Home", - "Health facility", - "Other" - ], - "openmrs_choice_ids": { - "Home": "1536AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Health facility": "1588AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Other": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Sélectionnez une option" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_pregnancy_outcome_relevance.yml" - } - } - } - }, - { - "key": "baby_label", - "type": "label", - "text": "Détails de l'enfant", - "left_padding": "20dp", - "right_padding": "20dp", - "text_size": "7sp", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_pregnancy_outcome_relevance.yml" - } - } - } - }, - { - "key": "fam_name", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "fam_name", - "type": "hidden" - }, - { - "key": "no_children", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "164894AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "hidden" - }, - { - "key": "no_children_no", - "type": "repeating_group", - "reference_edit_text_hint": "Nombre d'enfants nés", - "repeating_group_label": "Détails de l'enfant #", - "repeating_group_max": "10", - "openmrs_entity_parent": "", - "openmrs_entity": "", - "openmrs_entity_id": "", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "anc_pregnancy_outcome_relevance.yml" - } - } - }, - "v_required": { - "value": true, - "err": "Nombre d'enfants nés" - }, - "value": [ - { - "key": "surname", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "edit_text", - "hint": "Nom", - "edit_type": "name", - "v_regex": { - "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid name" - }, - "v_required": { - "value": "true", - "err": "obligatoire" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-dynamic": "anc_pregnancy_outcome_relevance.yml" - } - } - } - }, - { - "key": "same_as_fam_name", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "openmrs_data_type": "text", - "type": "check_box", - "options": [ - { - "key": "same_as_fam_name", - "text": "Même nom que ménage", - "text_size": "18px", - "value": "false" - } - ] - }, - { - "key": "first_name", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "first_name", - "type": "edit_text", - "hint": "Prénom", - "edit_type": "name", - "v_required": { - "value": "true", - "err": "obligatoire" - }, - "v_regex": { - "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Entrez un nom valide" - } - }, - { - "key": "middle_name", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "middle_name", - "type": "edit_text", - "hint": "Deuxième prénom", - "edit_type": "name", - "v_regex": { - "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Entrez un nom valide" - } - }, - { - "key": "dob", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "birthdate", - "type": "hidden" - }, - { - "key": "gender", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "gender", - "type": "spinner", - "hint": "Sexe", - "values": [ - "Masculin", - "Feminin" - ], - "keys": [ - "Male", - "Female" - ], - "v_required": { - "value": "true", - "err": "Obligatoire" - } - }, - { - "key": "lbw", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1431AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "spinner", - "hint": "Est-ce que le bébé est de poids faible à la naissance (pèse moins de 2.5 kg)? ", - "values": [ - "Oui", - "Non" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1", - "No": "0" - }, - "v_required": { - "value": "true", - "err": "Obligatoire" - } - }, - { - "key": "early_bf_1hr", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "161543AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "spinner", - "hint": "Mise au sein precoce á la naissance (1 hr)?", - "values": [ - "Oui", - "Non" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Obligatoire" - } - }, - { - "key": "disabilities", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "159522AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "spinner", - "hint": "Enfant vivant avec un handicap?", - "values": [ - "Oui", - "Non" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Obligatoire" - } - }, - { - "key": "essential_newborn_care", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "essential_newborn_care", - "type": "check_box", - "label": "Soins essentiels aux nouveau-nés reçu au structure sanitaire?", - "label_text_style": "normal", - "text_color": "#C0C0C0", - "exclusive": [ - "chk_none" - ], - "options": [ - { - "key": "chk_none", - "text": "Aucun", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_chlorhexidine", - "text": "Cordon ombilical traité avec une solution de chlorhexidine ", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "73263AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_skin_contact", - "text": "Contact peau contre peau pour au moins 2 heures", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "164173AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - ] - }, - { - "key": "opv0_date", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "opv0_date", - "type": "date_picker", - "hint": "Date de VPO", - "expanded": false, - "min_date": "today-120y", - "max_date": "today", - "constraints": [ - { - "type": "date", - "ex": "greaterThanEqualTo(., step1:delivery_date)", - "err": "Date of OPV 0 can't occur before delivery date" - } - ] - }, - { - "key": "bcg_date", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "opv0_date", - "type": "date_picker", - "hint": "Date de BCG", - "expanded": false, - "min_date": "today-120y", - "max_date": "today", - "constraints": [ - { - "type": "date", - "ex": "greaterThanEqualTo(., step1:delivery_date)", - "err": "Date of BCG can't occur before delivery date" - } - ] - } - ] - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form-fr/birth_certification.json b/opensrp-chw/src/main/assets/json.form-fr/birth_certification.json deleted file mode 100644 index 828ac71402..0000000000 --- a/opensrp-chw/src/main/assets/json.form-fr/birth_certification.json +++ /dev/null @@ -1,191 +0,0 @@ -{ - "count": "1", - "encounter_type": "Birth Certification", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Acte de naissance", - "fields": [ - { - "key": "birth_cert", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "165406AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "L'enfant a t-il ou elle un certificat de naissance?", - "values": [ - "Oui", - "Non" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": true, - "err": "Veuillez sélectionner un option" - } - }, - { - "key": "birth_cert_issue_date", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "164129AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "date_picker", - "hint": "Date de délivrance de l'acte de naissance", - "expanded": false, - "max_date": "today", - "min_date": "", - "v_required": { - "value": "true", - "err": "Veuillez entrer la date de delivrance du certificat de naissance" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "birth_certification.yml" - } - } - } - }, - { - "key": "birth_cert_num", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "162052AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "text", - "type": "edit_text", - "hint": "Numéro de l'acte de naissance", - "v_required": { - "value": "true", - "err": "Veuillez entrer le numéro" - }, - "v_numeric": { - "value": "true", - "err": "Numéro doit comporter 15 chiffres ou moins." - }, - "v_regex": { - "value": "([0-9]{1,15})|\\s*", - "err": "Numéro doit comporter 15 chiffres ou moins." - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "birth_certification.yml" - } - } - } - }, - { - "key": "birth_notification", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "165405AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "La déclaration de naissance a-t-elle été fait?", - "values": [ - "Oui", - "Non" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": false, - "err": "Veuillez sélectionner un option" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "birth_certification.yml" - } - } - } - }, - { - "key": "birthinstroductions", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "label", - "text": "Demandez à voir la declaration de naissance et demandez au parent d'enregistrer la naissance auprès des agents d'Etat civil.", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "birth_certification.yml" - } - } - } - }, - { - "key": "caregiverinstroductions", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "label", - "text": "Demandez au parent de faire enregistrer la naissance de l'enfant auprès des agents d'Etat civil.", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "birth_certification.yml" - } - } - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form-fr/child_enrollment.json b/opensrp-chw/src/main/assets/json.form-fr/child_enrollment.json deleted file mode 100644 index 303813669f..0000000000 --- a/opensrp-chw/src/main/assets/json.form-fr/child_enrollment.json +++ /dev/null @@ -1,348 +0,0 @@ -{ - "count": "1", - "encounter_type": "Child Registration", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "", - "look_up": { - "entity_id": "", - "value": "" - } - }, - "step1": { - "title": "Ajouter enfant", - "fields": [ - { - "key": "photo", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "choose_image", - "uploadButtonText": "Prenez un photo de l'enfant" - }, - { - "key": "unique_id", - "openmrs_entity_parent": "", - "openmrs_entity": "person_identifier", - "openmrs_entity_id": "opensrp_id", - "type": "edit_text", - "hint": "ID *", - "v_required": { - "value": "true", - "err": "Veuillez entrer l’ID OpenMRS de l’enfant" - }, - "read_only": "true", - "value": "0", - "v_numeric": { - "value": "true", - "err": "Veuillez entrer une ID valide" - } - }, - { - "key": "surname", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "edit_text", - "hint": "Nom", - "v_required": { - "value": "true", - "err": "Veuillez entrer le nom" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family-child-relevance.yml" - } - } - }, - "edit_type": "name", - "v_regex": { - "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Veuillez entrer un nom valide" - } - }, - { - "key": "same_as_fam_name", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "openmrs_data_type": "text", - "type": "check_box", - "label": "", - "exclusive": [ - "none" - ], - "options": [ - { - "key": "same_as_fam_name", - "text": "Même nom que ménage", - "text_size": "18px", - "value": "false" - } - ] - }, - { - "key": "fam_name", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "label", - "hidden": "true" - }, - { - "key": "surname_calculation", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "last_name", - "type": "hidden", - "hint": "Même nom que ménage", - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "family-child-calculation.yml" - } - } - } - }, - { - "key": "first_name", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "first_name", - "openmrs_data_type": "text", - "type": "edit_text", - "hint": "Prènom", - "expanded": false, - "v_required": { - "value": "true", - "err": "Veuillez entrer un nom valide" - }, - "v_regex": { - "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Veuillez entrer un nom valide" - } - }, - { - "key": "middle_name", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "middle_name", - "openmrs_data_type": "text", - "type": "edit_text", - "hint": "Deuxième prénom", - "expanded": false, - "v_regex": { - "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Veuillez entrer un prénom valide" - } - }, - { - "key": "dob", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "birthdate", - "type": "date_picker", - "hint": "Date de naissance (DDN)", - "expanded": false, - "duration": { - "label": "Âge" - }, - "min_date": "today-5y", - "max_date": "today", - "v_required": { - "value": "true", - "err": "Veuillez entrer la date de naissance (DDN)" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family-child-relevance.yml" - } - } - } - }, - { - "key": "dob_estimated", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "check_box", - "label": "", - "options": [ - { - "key": "dob_estimated", - "text": "DDN estimée", - "text_size": "18px", - "value": "false" - } - ] - }, - { - "key": "dob_unknown", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "birthdateApprox", - "hidden": "true", - "type": "check_box", - "label": "", - "options": [ - { - "key": "dob_unknown", - "text": "DDN inconnue?", - "text_size": "18px", - "value": "false" - } - ] - }, - { - "key": "age", - "openmrs_entity_parent": "", - "openmrs_entity": "person_attribute", - "openmrs_entity_id": "age", - "type": "edit_text", - "hint": "Âge", - "v_numeric": { - "value": "true", - "err": "Numéro doit commencer avec un 0 et doit consister de 10 chiffres au total." - }, - "v_min": { - "value": "0", - "err": "l'Âge doit être égale ou supérieure à 0" - }, - "v_max": { - "value": "5", - "err": "l'âge doit être égale ou moins de 5" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family-child-relevance.yml" - } - } - }, - "v_required": { - "value": true, - "err": "Veuillez entrer l'âge" - } - }, - { - "key": "gender", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "gender", - "type": "spinner", - "hint": "Sexe", - "values": [ - "Masculin", - "Feminin" - ], - "keys": [ - "Male", - "Female" - ], - "v_required": { - "value": "true", - "err": "Veuillez entrer le sexe" - } - }, - { - "key": "early_bf_1hr", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "161543AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "spinner", - "hint": "Mise au sein precoce à la naissance (1 hr)?", - "values": [ - "Oui", - "Non" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "vrai", - "err": "Veuillez entrer nise au sein precoce à la naissance (1 hr)?" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family-child-relevance.yml" - } - } - } - }, - { - "key": "physically_challenged", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "159522AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "spinner", - "hint": "Enfant vivant avec un handicap?", - "values": [ - "Oui", - "Non" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Veuillez entrer si l’enfant vit avec une difficulté physique" - } - } - ] - }, - "relational_id": "" -} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form-fr/child_hv_deworming.json b/opensrp-chw/src/main/assets/json.form-fr/child_hv_deworming.json deleted file mode 100644 index 9c9ba023b6..0000000000 --- a/opensrp-chw/src/main/assets/json.form-fr/child_hv_deworming.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "count": "1", - "encounter_type": "De-worming", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Déparasitage {0} dose", - "fields": [ - { - "key": "deworming{0}_date", - "openmrs_entity_parent": "159922AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity": "concept", - "openmrs_entity_id": "160753AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "date_picker", - "image": "ic_form_deworming", - "hint": "Quand est-ce que le déparasitant {0} dose a été donné?", - "min_date": "today-120y", - "max_date": "today", - "v_required": { - "value": "true", - "err": "Please enter the date deworming a was given" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form-fr/child_hv_dietary_diversity.json b/opensrp-chw/src/main/assets/json.form-fr/child_hv_dietary_diversity.json deleted file mode 100644 index 38ba9dd10a..0000000000 --- a/opensrp-chw/src/main/assets/json.form-fr/child_hv_dietary_diversity.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "count": "1", - "encounter_type": "Minimum dietary diversity", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Diversité alimentaire minimum", - "fields": [ - { - "key": "diet_diversity", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1719AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "radio", - "image": "ic_form_diverity", - "hint": "L'enfant a-t-il ou elle reçu de produits animaux (tels que des oeufs, le foie, le lait) ou des fruits dans les derniers 24 heures?", - "options": [ - { - "key": "chk_no_animal_products", - "text": "0 - aucun produits animaux ou fruits", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "chk_no_animal_products" - }, - { - "key": "chw_one_animal_product_or_fruit", - "text": "1 - un produit animal ou un fruit", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "chw_one_animal_product_or_fruit" - }, - { - "key": "chw_one_animal_product_and_fruit", - "text": "2 - un produit animal ET un fruit", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "chw_one_animal_product_or_fruit" - } - ] - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form-fr/child_hv_mnp.json b/opensrp-chw/src/main/assets/json.form-fr/child_hv_mnp.json deleted file mode 100644 index 95a19d6faa..0000000000 --- a/opensrp-chw/src/main/assets/json.form-fr/child_hv_mnp.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "count": "1", - "encounter_type": "MNP", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "{0} sachet MNP", - "fields": [ - { - "key": "mnp{0}_date", - "openmrs_entity_parent": "165417AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity": "concept", - "openmrs_entity_id": "160753AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "date_picker", - "image": "ic_form_mnp", - "hint": "Quand est-ce que le {0} sachet MNP a été donné?", - "min_date": "today-120y", - "max_date": "today", - "v_required": { - "value": "true", - "err": "Please enter the date mnp was given" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form-fr/child_hv_muac.json b/opensrp-chw/src/main/assets/json.form-fr/child_hv_muac.json deleted file mode 100644 index 63f14bf672..0000000000 --- a/opensrp-chw/src/main/assets/json.form-fr/child_hv_muac.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "count": "1", - "encounter_type": "Mid-upper arm circumference (MUAC)", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Périmètre brachial (PB)", - "fields": [ - { - "key": "muac", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "160908AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "radio", - "image": "ic_muac", - "hint": "Quel est la couleur du ruban PB pour l'enfant?", - "options": [ - { - "key": "chk_green", - "text": "Vert", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "160909AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_yellow", - "text": "Jaune", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "160910AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_red", - "text": "Rouge", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "127778AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - ] - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form-fr/child_hv_sleeping_under_llitn.json b/opensrp-chw/src/main/assets/json.form-fr/child_hv_sleeping_under_llitn.json deleted file mode 100644 index facaebf5e3..0000000000 --- a/opensrp-chw/src/main/assets/json.form-fr/child_hv_sleeping_under_llitn.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "count": "1", - "encounter_type": "Sleeping under a LLITN", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Dormir sous un MIILD", - "fields": [ - { - "key": "llitn", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1802AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "image": "form_llitn", - "hint": "L'enfant dors-t-il ou elle sous une moustiquaire imprégnée d'insecticides de longue durée (MIILD)?", - "values": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form-fr/child_hv_vaccine_card_received.json b/opensrp-chw/src/main/assets/json.form-fr/child_hv_vaccine_card_received.json deleted file mode 100644 index 94fb37b7cc..0000000000 --- a/opensrp-chw/src/main/assets/json.form-fr/child_hv_vaccine_card_received.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "count": "1", - "encounter_type": "Child vaccine card received", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Child vaccine card received", - "fields": [ - { - "key": "child_vaccine_card", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "164147AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "image": "form_received_card", - "hint": "L'enfant a-t-il ou elle reçu son carnet de vaccination?", - "values": [ - "Oui", - "Non" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form-fr/child_hv_vitamin_a.json b/opensrp-chw/src/main/assets/json.form-fr/child_hv_vitamin_a.json deleted file mode 100644 index 3b06e0effc..0000000000 --- a/opensrp-chw/src/main/assets/json.form-fr/child_hv_vitamin_a.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "count": "1", - "encounter_type": "Vitamin A", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Vitamine A {0} dose", - "fields": [ - { - "key": "vitamin_a{0}_date", - "openmrs_entity_parent": "86339AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity": "concept", - "openmrs_entity_id": "160753AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "date_picker", - "image": "ic_form_vitamin", - "hint": "Quand est-ce que le Vitamine A {0} dose a été donné?", - "min_date": "today-120y", - "max_date": "today", - "v_required": { - "value": "true", - "err": "Please enter the date vitamin a was given" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form-fr/early_childhood_development.json b/opensrp-chw/src/main/assets/json.form-fr/early_childhood_development.json deleted file mode 100644 index 1413871a85..0000000000 --- a/opensrp-chw/src/main/assets/json.form-fr/early_childhood_development.json +++ /dev/null @@ -1,124 +0,0 @@ -{ - "count": "1", - "encounter_type": "Early childhood development", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Dévéloppement de la petite enfance (DPE)", - "fields": [ - { - "key": "date_pass", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "value": "", - "type": "hidden" - }, - { - "key": "develop_warning_signs", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1802AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "label_info_title": "L'enfant démontre t-il ou elle des signes d'avertissement d'un délai potentiel dans leur développement?", - "label_info_text": "● 0-1 mois: l’enfant fait très peu de mouvement des bras et des jambes, ou ne réagit pas à des bruits forts ou de lumières vives\n● 0-6 mois: l’enfant répond très peu ou pas du tout aux bruits, des visages familiers, ou le sein, ou démontre une raideur ou difficulté à bouger les membres\n● 6-12 mois: l’enfant ne regarde pas aux objets qui bougent ou il ou elle démontre une apathie et manque de réponse envers sa gardienne\n● 12-24 mois: l’enfant a des difficultés à maintenir son équilibre en marchant ou à des blessures ou changements de comportement\n● 24-36 months: l’enfant ne s’intéresse plus à jouer, tombe fréquemment et a des difficultés avec la manipulation de petits objets.\n● 36-59 mois: l’enfant se comporte d’une manière excessivement aggressive ou timide avec ses amis et sa famille ou a de difficultés à exprimer des besoins, pensées ou émotions.", - "hint": "L'enfant démontre t-il ou elle des signes d'avertissement d'un délai potentiel dans leur développement?", - "values": [ - "Oui", - "Non" - ], - "keys": [ - "Yes", - "No" - ] - }, - { - "key": "stim_skills", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1802AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "label_info_title": "La gardienne démontre-t-elle les attitudes et les connaissances au sujets de stimulation et de soins aimants?", - "label_info_text": "Les attitudes et connaissances au sujet de stimulation et soins aimants spécifiques aux tranches d’âge sont:\n ● 0-1 semaine: la gardienne s’engage dans le contact peau contre peau, regarde aux yeux du bébé et communique avec l’enfant\n ● 0-6 mois: la gardienne manipule et bouge les objets colorés pour que l’enfant puisse les voir, elle sourit, parle, et copie les gestes et les sons de l’enfant\n ● 6-9 mois: la gardienne donne à l’enfant des objets ménagers propres et sécuritaires pour jouer avec, elle répond aux sonds de l’enfant et appelle l’enfant par son nom pour voire si il répond \n ● 9-12 mois: la gardienne cache des jouets (coucou!) et rencontre les noms des personnes et des choses à l’enfant.\n ● 12-24 mois: la gardienne donne des objets à l’enfant pour qu’il ou elle les empilent et lui demande des questions simples\n ● 2 ans et plus âgée: la gardienne crée des jouets simples pour l’enfant, enseigne des histoires, des chansons et des jeux à l’enfant", - "hint": "La gardienne démontre-t-elle les attitudes et les connaissances au sujets de stimulation et de soins aimants?", - "values": [ - "Oui", - "Non" - ], - "keys": [ - "Yes", - "No" - ] - }, - { - "key": "early_learning", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1802AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "L'enfant assiste-il ou elle régulièrement à une programme d'apprentissage pour la petite enfance?", - "values": [ - "Oui", - "Non" - ], - "keys": [ - "Yes", - "No" - ], - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "early_child_development.yml" - } - } - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form-fr/family_details_register.json b/opensrp-chw/src/main/assets/json.form-fr/family_details_register.json deleted file mode 100644 index 8ce64f7161..0000000000 --- a/opensrp-chw/src/main/assets/json.form-fr/family_details_register.json +++ /dev/null @@ -1,187 +0,0 @@ -{ - "count": "1", - "encounter_type": "Family Details", - "entity_id": "", - "relational_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "", - "look_up": { - "entity_id": "", - "value": "" - } - }, - "step1": { - "title": "Détails sur la famille", - "fields": [ - { - "key": "fam_name", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "first_name", - "type": "edit_text", - "hint": "Nom de famille", - "edit_type": "name", - "v_required": { - "value": "true", - "err": "Veuillez entrer le nom de famille" - }, - "v_regex": { - "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Veuillez entrer un nom valide" - } - }, - { - "key": "unique_id", - "openmrs_entity_parent": "", - "openmrs_entity": "person_identifier", - "openmrs_entity_id": "opensrp_id", - "hidden": "true", - "type": "barcode", - "barcode_type": "qrcode", - "hint": "ID *", - "scanButtonText": "Scanner le code QR", - "v_numeric": { - "value": "true", - "err": "Veuillez entrer une ID valide" - } - }, - { - "key": "village_town", - "openmrs_entity_parent": "", - "openmrs_entity": "person_address", - "openmrs_entity_id": "cityVillage", - "type": "edit_text", - "hint": "Village/Ville", - "v_required": { - "value": "true", - "err": "Veuillez entrer le village ou la ville" - } - }, - { - "key": "quarter_clan", - "openmrs_entity_parent": "", - "openmrs_entity": "person_address", - "openmrs_entity_id": "commune", - "type": "edit_text", - "hint": "Quartier", - "v_required": { - "value": "true", - "err": "Veuillez entrer le quartier ou clan" - } - }, - { - "key": "street", - "openmrs_entity_parent": "", - "openmrs_entity": "person_address", - "openmrs_entity_id": "street", - "type": "edit_text", - "hint": "Rue" - }, - { - "key": "landmark", - "openmrs_entity_parent": "", - "openmrs_entity": "person_address", - "openmrs_entity_id": "landmark", - "type": "edit_text", - "hint": "Point de repère" - }, - { - "key": "gps", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "163277AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "text", - "type": "gps" - }, - { - "key": "fam_source_income", - "openmrs_entity_parent": "", - "openmrs_entity": "person_attribute", - "openmrs_entity_id": "fam_source_income", - "openmrs_data_type": "", - "type": "spinner", - "hint": "Source de revenue de la famille", - "values": [ - "Petit commerce", - "Agriculture, chasse et pêche", - "Exploitation of mines and quarries", - "l'industrie manufacturière", - "Construction", - "l'électricité, gas naturel et eau", - "Commerciale, hôtels et restaurants", - "Transport, entrêposage et communications", - "Institutions financières", - "Communications, services sociaux et personnelles", - "Autre" - ], - "keys": [ - "Petty trade", - "Agriculture, hunting and fishing", - "Exploitation of mines and quarries", - "Manufacturing industry", - "Construction", - "Electricity, gas and water", - "Commercial, hotels and restaurants", - "Transport, storage and communications", - "Financial institutions", - "Communication, social and personal services", - "Other" - ], - "openmrs_choice_ids": { - "Petit commerce": "1539AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Agriculture, chasse et pêche": "165411AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "L'exploitation des mines et carrières": "165412AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "l'industrie manufacturière": "165407AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Construction": "165408AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "l'électricité, gas naturel et eau": "165409AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Commerciale, hôtels et restaurants": "165410AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Transport, entrêposage et communications": "165413AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Institutions financières": "165414AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Communications, services sociaux et personnelles": "165415AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Autre": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form-fr/family_details_remove_child.json b/opensrp-chw/src/main/assets/json.form-fr/family_details_remove_child.json deleted file mode 100644 index c2d0511e57..0000000000 --- a/opensrp-chw/src/main/assets/json.form-fr/family_details_remove_child.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "count": "1", - "encounter_type": "Remove Child Under 5", - "entity_id": "", - "relational_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "", - "look_up": { - "entity_id": "", - "value": "" - } - }, - "step1": { - "title": "Enlever enfant", - "fields": [ - { - "key": "spacer", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "spacer", - "spacer_height": "10sp" - }, - { - "key": "details", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "label", - "text": "", - "text_size": "25px" - }, - { - "key": "divider1", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "h_line" - }, - { - "key": "spacer", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "spacer", - "spacer_height": "15dp" - }, - { - "key": "remove_reason", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "160417AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "spinner", - "hint": "Raison", - "openmrs_data_type": "select one", - "values": [ - "Décédé", - "Déménagé", - "Autre" - ], - "keys": [ - "Died", - "Moved away", - "Other" - ], - "v_required": { - "value": "true", - "err": "Sélectionnez la raison pour déplacer le dossier de l'enfant." - }, - "openmrs_choice_ids": { - "Décédé": "160034AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Déménagé": "160415AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Autre": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - }, - { - "key": "dob", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "spacer", - "expanded": false, - "read_only": "true", - "hidden": "false" - }, - { - "key": "date_moved", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "164133AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "text", - "type": "date_picker", - "label": "Date déménagé", - "hint": "Date déménagé", - "expanded": false, - "min_date": "", - "max_date": "today", - "v_required": { - "value": "true", - "err": "Entrez la date que le membre a déménagé" - }, - "constraints": [ - { - "type": "date", - "ex": "greaterThanEqualTo(., step1:dob)", - "err": "Date déménagé ne peut pas être avant la date de naissance" - } - ], - "relevance": { - "step1:remove_reason": { - "type": "string", - "ex": "equalTo(., \"Déménagé\")" - } - } - }, - { - "key": "date_died", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1543AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "text", - "type": "date_picker", - "hint": "Date du décès", - "label": "Date du décès", - "expanded": false, - "min_date": "", - "max_date": "today", - "v_required": { - "value": "true", - "err": "Entrez la date du décès" - }, - "constraints": [ - { - "type": "date", - "ex": "greaterThanEqualTo(., step1:dob)", - "err": "Date déménagé ne peut pas être avant la date de naissance" - } - ], - "relevance": { - "step1:remove_reason": { - "type": "string", - "ex": "equalTo(., \"Décédé\")" - } - } - }, - { - "key": "age_at_death", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "label": "Âge au décès", - "hint": "Âge au décès", - "type": "edit_text", - "read_only": "true", - "relevance": { - "step1:remove_reason": { - "type": "string", - "ex": "equalTo(., \"Décédé\")" - } - }, - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "child_remove_calculation.yml" - } - } - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form-fr/family_details_remove_family.json b/opensrp-chw/src/main/assets/json.form-fr/family_details_remove_family.json deleted file mode 100644 index b6e6671a7b..0000000000 --- a/opensrp-chw/src/main/assets/json.form-fr/family_details_remove_family.json +++ /dev/null @@ -1,154 +0,0 @@ -{ - "count": "1", - "encounter_type": "Remove Family", - "entity_id": "", - "relational_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "", - "look_up": { - "entity_id": "", - "value": "" - } - }, - "step1": { - "title": "Enlever famille", - "fields": [ - { - "key": "spacer", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "spacer", - "spacer_height": "30sp" - }, - { - "key": "fam_name", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "label", - "text": "", - "text_size": "25px" - }, - { - "key": "details", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "label", - "text": "", - "text_size": "25px" - }, - { - "key": "divider1", - "type": "h_line", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "" - }, - { - "key": "spacer", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "spacer", - "spacer_height": "20sp" - }, - { - "key": "remove_reason", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "160417AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Raison", - "values": [ - "Déménagé", - "Autre" - ], - "keys": [ - "Moved away", - "Other" - ], - "v_required": { - "value": "true", - "err": "Sélectionnez la raison pour enlever le dossier de la famille" - }, - "openmrs_choice_ids": { - "Déménagé": "160415AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Autre": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - }, - { - "key": "date_moved", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "164133AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "text", - "type": "date_picker", - "label": "Date déménagé", - "hint": "Date déménagé", - "expanded": false, - "min_date": "today-10y", - "max_date": "today", - "v_required": { - "value": "true", - "err": "Entrez la date que la famille a déménagé" - }, - "constraints": [ - { - "type": "date", - "err": "Date déménagé est avant la date de naissance" - } - ], - "relevance": { - "step1:remove_reason": { - "type": "string", - "ex": "equalTo(., \"Déménagé\")" - } - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form-fr/family_details_remove_member.json b/opensrp-chw/src/main/assets/json.form-fr/family_details_remove_member.json deleted file mode 100644 index 5d54417a17..0000000000 --- a/opensrp-chw/src/main/assets/json.form-fr/family_details_remove_member.json +++ /dev/null @@ -1,214 +0,0 @@ -{ - "count": "1", - "encounter_type": "Remove Family Member", - "entity_id": "", - "relational_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "", - "look_up": { - "entity_id": "", - "value": "" - } - }, - "step1": { - "title": "Enlever membre de famille", - "fields": [ - { - "key": "spacer", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "spacer", - "spacer_height": "10sp" - }, - { - "key": "details", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "label", - "text": "", - "text_size": "25px" - }, - { - "key": "divider1", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "h_line" - }, - { - "key": "spacer", - "type": "spacer", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "spacer_height": "15dp" - }, - { - "key": "remove_reason", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "160417AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "spinner", - "openmrs_data_type": "select one", - "hint": "Raison", - "v_required": { - "value": "true", - "err": "Sélectionnez la raison pour enlever le dossier de la membre de famille" - }, - "values": [ - "Décédé", - "Déménagé", - "Autre" - ], - "keys": [ - "Died", - "Moved away", - "Other" - ], - "openmrs_choice_ids": { - "Décédé": "160034AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Déménagé": "160415AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Autre": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - }, - { - "key": "dob", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "spacer", - "expanded": false, - "read_only": "true", - "hidden": "false" - }, - { - "key": "date_moved", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "164133AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "text", - "type": "date_picker", - "label": "Date déménagé", - "hint": "Date déménagé", - "expanded": false, - "min_date": "", - "max_date": "today", - "v_required": { - "value": "true", - "err": "Entrez la date que le membre de famille a déménagé" - }, - "constraints": [ - { - "type": "date", - "err": "Date déménagé est avant la date de naissance", - "ex": "greaterThanEqualTo(., step1:dob)" - } - ], - "relevance": { - "step1:remove_reason": { - "type": "string", - "ex": "equalTo(., \"Déménagé\")" - } - } - }, - { - "key": "date_died", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1543AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "text", - "type": "date_picker", - "label": "Date du décès", - "hint": "Date du décès", - "expanded": false, - "min_date": "today-80y", - "max_date": "today", - "v_required": { - "value": "true", - "err": "Entrez la date du décès" - }, - "constraints": [ - { - "type": "date", - "ex": "greaterThanEqualTo(., step1:dob)", - "err": "Date du décès ne peut pas être avant la date de naissance" - } - ], - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_remove_relevance.yml" - } - } - } - }, - { - "key": "age_at_death", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "label": "Âge au décès", - "hint": "Âge au décès", - "type": "edit_text", - "read_only": "true", - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_remove_relevance.yml" - } - } - }, - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "family_remove_calculation.yml" - } - } - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form-fr/family_member_register.json b/opensrp-chw/src/main/assets/json.form-fr/family_member_register.json deleted file mode 100644 index 26f6d229a5..0000000000 --- a/opensrp-chw/src/main/assets/json.form-fr/family_member_register.json +++ /dev/null @@ -1,417 +0,0 @@ -{ - "count": "1", - "encounter_type": "Family Member Registration", - "entity_id": "", - "relational_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "", - "look_up": { - "entity_id": "", - "value": "" - } - }, - "step1": { - "title": "Ajouter membre", - "fields": [ - { - "key": "photo", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "choose_image", - "uploadButtonText": "Prenez un photo de la personne" - }, - { - "key": "unique_id", - "openmrs_entity_parent": "", - "openmrs_entity": "person_identifier", - "openmrs_entity_id": "opensrp_id", - "type": "edit_text", - "read_only": "true", - "hint": "ID *", - "value": "0", - "scanButtonText": "Scanner Code QR", - "v_numeric": { - "value": "true", - "err": "Veuillez entrer une identifiant unique valide" - }, - "v_required": { - "value": "true", - "err": "Veuillez entrer l'identifiant unique" - } - }, - { - "key": "national_id", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "163084AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "edit_text", - "label_info_text": "Quel est leur numéro d'identité national ou leur numéro de carte d'électeur?", - "label_info_title": "Numéro d'identification national", - "hint": "Numéro d'identification national", - "v_numeric": { - "value": "true", - "err": "Doit être un nombre." - } - }, - { - "key": "surname", - "type": "edit_text", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "hint": "Nom", - "edit_type": "name", - "v_regex": { - "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Veuillez entrer un nom valide" - }, - "v_required": { - "value": "true", - "err": "Veuillez entrer le nom" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family-member-relevance.yml" - } - } - } - }, - { - "key": "same_as_fam_name", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "check_box", - "openmrs_data_type": "text", - "label": "", - "exclusive": [ - "none" - ], - "options": [ - { - "key": "same_as_fam_name", - "text": "Même nom que ménage", - "text_size": "18px", - "value": "false" - } - ] - }, - { - "key": "fam_name", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "label", - "hidden": "true" - }, - { - "key": "surname_calculation", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "last_name", - "type": "hidden", - "hint": "Même nom que ménage", - "calculation": { - "rules-engine": { - "ex-rules": { - "rules-file": "family-member-calculation.yml" - } - } - } - }, - { - "key": "first_name", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "first_name", - "type": "edit_text", - "hint": "Prénom", - "v_required": { - "value": "true", - "err": "Veuillez entrer le prénom" - }, - "edit_type": "name", - "v_regex": { - "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Veuillez entrer un prénom valide" - } - }, - { - "key": "middle_name", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "middle_name", - "hint": "Deuxième prénom", - "type": "edit_text", - "edit_type": "name", - "v_regex": { - "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Veuillez entrer un deuxième nom valide" - } - }, - { - "key": "dob", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "birthdate", - "type": "date_picker", - "hint": "Date de naissance (DDN)", - "expanded": false, - "duration": { - "label": "Âge" - }, - "min_date": "today-120y", - "max_date": "today-5y", - "v_required": { - "value": "true", - "err": "Veuillez entrer la date de naissance" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family-member-relevance.yml" - } - } - } - }, - { - "key": "dob_unknown", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "birthdateApprox", - "type": "check_box", - "label": "", - "options": [ - { - "key": "dob_unknown", - "text": "DDN inconnue?", - "text_size": "18px", - "value": "false" - } - ] - }, - { - "key": "age", - "openmrs_entity_parent": "", - "openmrs_entity": "person_attribute", - "openmrs_entity_id": "age", - "type": "edit_text", - "hint": "Âge", - "v_numeric_integer": { - "value": "true", - "err": "Must be a rounded number" - }, - "v_numeric": { - "value": "true", - "err": "Le Numéro doit commencer avec 0 et doit consister de 10 chiffres au total" - }, - "v_min": { - "value": "5", - "err": "l'âge doit être égal ou supérieur à 5" - }, - "v_max": { - "value": "120", - "err": "l'âge doit être égal ou moins de 120" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family-member-relevance.yml" - } - } - }, - "v_required": { - "value": true, - "err": "Veuillez entrer l'âge" - } - }, - { - "key": "sex", - "openmrs_entity_parent": "", - "openmrs_entity": "person", - "openmrs_entity_id": "gender", - "type": "spinner", - "hint": "Sexe", - "values": [ - "Masculin", - "Feminin" - ], - "keys": [ - "Male", - "Female" - ], - "v_required": { - "value": "true", - "err": "Veuillez entrer le sexe" - } - }, - { - "key": "primary_caregiver", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "spinner", - "hint": "Est la gardienne?", - "values": [ - "Oui", - "Non" - ], - "keys": [ - "Yes", - "No" - ], - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "family-member-relevance.yml" - } - } - } - }, - { - "key": "phone_number", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "159635AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "edit_text", - "hint": "Numéro de téléphone", - "v_numeric": { - "value": "true", - "err": "Doit être un nombre" - }, - "v_required": { - "value": false, - "err": "Veuillez spécifier un numéro de téléphone" - }, - "relevance": { - "step1:primary_caregiver": { - "type": "string", - "ex": "equalTo(., \"Yes\")" - } - } - }, - { - "key": "other_phone_number", - "openmrs_entity_parent": "159635AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity": "concept", - "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "edit_text", - "hint": "Autre numéro de téléphone", - "v_numeric": { - "value": "true", - "err": "Doit être un nombre" - }, - "relevance": { - "step1:primary_caregiver": { - "type": "string", - "ex": "equalTo(., \"Yes\")" - } - } - }, - { - "key": "highest_edu_level", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1712AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Plus haut niveau d'éducation/de formation", - "values": [ - "Aucun", - "Alphabétiser", - "Primaire", - "Secondaire", - "Université" - ], - "keys": [ - "None", - "Primary", - "Literacy", - "Secondary", - "University" - ], - "openmrs_choice_ids": { - "None": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Literacy": "", - "Primary": "1713AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Secondary": "1714AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "University": "159785AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "relevance": { - "step1:primary_caregiver": { - "type": "string", - "ex": "equalTo(., \"Yes\")" - } - } - }, - { - "key": "marital_status", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "État matrimonial", - "v_required": { - "value": "true", - "err": "Please select one option" - }, - "values": [ - "Mariée", - "Cohabite", - "Célibataire", - "Veuve" - ], - "openmrs_choice_ids": { - "Married": "5555AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Co-habiting": "1060AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Single": "5615AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Widowed": "1059AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form-fr/pnc_danger_signs_baby.json b/opensrp-chw/src/main/assets/json.form-fr/pnc_danger_signs_baby.json deleted file mode 100644 index 4f8f570ea7..0000000000 --- a/opensrp-chw/src/main/assets/json.form-fr/pnc_danger_signs_baby.json +++ /dev/null @@ -1,184 +0,0 @@ -{ - "count": "1", - "encounter_type": "Danger signs - Baby", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Signes de danger - Enfant", - "fields": [ - { - "key": "danger_signs_present", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "159860AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "check_box", - "label_info_image_src": "img/child_chw.png", - "label_info_has_image": true, - "label": "Y a-t-il des signes de danger?", - "label_text_style": "normal", - "text_color": "#C0C0C0", - "exclusive": [ - "chk_none" - ], - "options": [ - { - "key": "chk_none", - "text": "Aucun", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_fast_breathing", - "text": "Respiration rapide", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "125061AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_chest_indrawing", - "text": "Tirage respiratoire", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "136768AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_low_or_high_temp", - "text": "Basse ou haute température", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "159366AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_refuses_to_suckle", - "text": "Refuse de téter", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "159861AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_no_movement", - "text": "Pas de mouvement", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "164455AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_convulsion", - "text": "Convulsions", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "164483AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_jaundice", - "text": "Jaunisse", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "115368AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - ], - "v_required": { - "value": "true", - "err": "Please pick at least one" - } - }, - { - "key": "danger_signs_present_toaster", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "toaster_notes", - "text": "Signe de danger! \nRéférer immédiatement à l'établissement de santé.", - "text_color": "#CF0800", - "toaster_type": "problem", - "relevance": { - "step1:danger_signs_present": { - "ex-checkbox": [ - { - "or": [ - "chk_fast_breathing", - "chk_chest_indrawing", - "chk_low_or_high_temp", - "chk_refuses_to_suckle", - "chk_unable_to_suck", - "chk_no_movement", - "chk_convulsion", - "chk_jaundice" - ] - } - ] - } - } - }, - { - "key": "danger_signs_counseling", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "161541AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Conseil pour rechercher immédiatement des soins pour les signes de danger", - "values": [ - "Oui", - "Non" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Please select one option" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form-fr/pnc_danger_signs_mother.json b/opensrp-chw/src/main/assets/json.form-fr/pnc_danger_signs_mother.json deleted file mode 100644 index 70b67454e2..0000000000 --- a/opensrp-chw/src/main/assets/json.form-fr/pnc_danger_signs_mother.json +++ /dev/null @@ -1,175 +0,0 @@ -{ - "count": "1", - "encounter_type": "Danger signs - Mother", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Signes de danger - Femme", - "fields": [ - { - "key": "danger_signs_present", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "160939AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "check_box", - "label_info_image_src": "img/chw.png", - "label_info_has_image": true, - "label": "Y a-t-il des signes de danger?", - "label_text_style": "normal", - "text_color": "#C0C0C0", - "exclusive": [ - "chk_none" - ], - "options": [ - { - "key": "chk_none", - "text": "Aucun", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_fever", - "text": "Fièvre", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "140238AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_prolonged_bleeding", - "text": "Saignements prolongés", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "150802AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_severe_headache", - "text": "Maux de tête sévères", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "139081AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_convulsions", - "text": "Convulsions", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "164483AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_difficulty_breathing", - "text": "Difficulté à respirer", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "142373AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "key": "chk_severe_abdominal_pain", - "text": "Douleur abdominale sévère", - "value": false, - "openmrs_entity": "concept", - "openmrs_entity_id": "165271AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - ], - "v_required": { - "value": "true", - "err": "Please pick at least one" - } - }, - { - "key": "danger_signs_present_toaster", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "type": "toaster_notes", - "text": "Signe de danger! \nRéférer immédiatement à l'établissement de santé.", - "text_color": "#CF0800", - "toaster_type": "problem", - "relevance": { - "step1:danger_signs_present": { - "ex-checkbox": [ - { - "or": [ - "chk_fever", - "chk_prolonged_bleeding", - "chk_severe_headache", - "chk_convulsions", - "chk_difficulty_breathing", - "chk_severe_abdominal_pain" - ] - } - ] - } - } - }, - { - "key": "danger_signs_counseling", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "161541AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Conseil pour rechercher immédiatement des soins pour les signes de danger", - "values": [ - "Oui", - "Non" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Please select one option" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form-fr/pnc_exclusive_breastfeeding.json b/opensrp-chw/src/main/assets/json.form-fr/pnc_exclusive_breastfeeding.json deleted file mode 100644 index 6ca4a1c2e4..0000000000 --- a/opensrp-chw/src/main/assets/json.form-fr/pnc_exclusive_breastfeeding.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "count": "1", - "encounter_type": "Exclusive breast feeding", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Allaitement maternel exclusif", - "fields": [ - { - "key": "exclusive_breast_feeding", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "openmrs_data_type": "exclusive_breast_feeding", - "type": "spinner", - "image": "ic_form_bf", - "hint": "L'enfant at-il reçu un liquide ou un aliment autre que le lait maternel hier et hier soir?", - "values": [ - "Oui", - "No" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form-fr/pnc_family_planning.json b/opensrp-chw/src/main/assets/json.form-fr/pnc_family_planning.json deleted file mode 100644 index 18eca32f75..0000000000 --- a/opensrp-chw/src/main/assets/json.form-fr/pnc_family_planning.json +++ /dev/null @@ -1,143 +0,0 @@ -{ - "count": "1", - "encounter_type": "Family Planning", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Planning familial", - "fields": [ - { - "key": "fp_counseling", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1382AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Femme conseillée sur le planning familial?", - "values": [ - "Oui", - "Non" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Please select one option" - } - }, - { - "key": "fp_method", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "1382AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Méthode de planification familiale choisie?", - "values": [ - "Aucun", - "Abstinence", - "Préservatif", - "Comprimés", - "Injectable", - "DIU", - "Implant", - "Autre" - ], - "keys": [ - "None", - "Abstinence", - "Condom", - "Tablets", - "Injectable", - "IUD", - "Implant", - "Other" - ], - "openmrs_choice_ids": { - "None": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Abstinence": "159524AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Condom": "190AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Tablets": "780AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Injectable": "5279AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "IUD": "5275AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Implant": "159589AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Other": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": "true", - "err": "Please select one option" - } - }, - { - "key": "fp_start_date", - "openmrs_entity_parent": "163757AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity": "concept", - "openmrs_entity_id": "1418AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "date_picker", - "hint": "Date de début", - "min_date": "today-120y", - "max_date": "today", - "v_required": { - "value": "true", - "err": "Please enter the date of immunization" - }, - "relevance": { - "rules-engine": { - "ex-rules": { - "rules-file": "pnc_family_planning_relevance.yml" - } - } - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form-fr/pnc_health_facility_visit.json b/opensrp-chw/src/main/assets/json.form-fr/pnc_health_facility_visit.json deleted file mode 100644 index ba32a2d40d..0000000000 --- a/opensrp-chw/src/main/assets/json.form-fr/pnc_health_facility_visit.json +++ /dev/null @@ -1,184 +0,0 @@ -{ - "count": "1", - "encounter_type": "PNC health facility visit", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Visite CPoN au centre de santé - Jour {0}", - "fields": [ - { - "key": "pnc_visit_{0}", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "La femme a-t-elle assisté à sa visite CPoN (Jour {0}) au centre de santé?\n\nDate prévu de la visite: {1}", - "v_required": { - "value": "true", - "err": "Veuillez sélectionner une option" - }, - "values": [ - "Oui", - "Non" - ], - "keys": [ - "Yes", - "No" - ] - }, - { - "key": "pnc_hf_visit{0}_date", - "openmrs_entity_parent": "1623AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity": "concept", - "openmrs_entity_id": "164093AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "date_picker", - "hint": "Date de la visite", - "expanded": false, - "max_date": "today", - "v_required": { - "value": "true", - "err": "Veuillez sélectionner une date" - }, - "relevance": { - "step1:pnc_visit_{0}": { - "type": "string", - "ex": "equalTo(., \"Yes\")" - } - } - }, - { - "key": "baby_weight", - "openmrs_entity_parent": "1528AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_entity": "concept", - "openmrs_entity_id": "5089AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "edit_text", - "edit_type": "number", - "hint": "Poids de l'enfant (kg)", - "v_min": { - "value": "0", - "err": "La valeur doit être supérieure ou égale à 0" - }, - "v_max": { - "value": "20", - "err": "La valeur doit être inférieure ou égale à 20" - }, - "v_required": { - "value": "false", - "err": "Required" - }, - "v_numeric": { - "value": "true", - "err": "Doit être un nombre arrondi" - }, - "relevance": { - "step1:pnc_visit_{0}": { - "type": "string", - "ex": "equalTo(., \"Yes\")" - } - } - }, - { - "key": "baby_temp", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "5085AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "edit_text", - "edit_type": "number", - "hint": "Temperature de l'enfant (°C)", - "v_min": { - "value": "35", - "err": "La valeur doit être supérieure ou égale à 35" - }, - "v_max": { - "value": "42", - "err": "La valeur doit être inférieure ou égale à 42" - }, - "v_required": { - "value": "false", - "err": "Required" - }, - "v_numeric": { - "value": "true", - "err": "Doit être un nombre arrondi" - }, - "relevance": { - "step1:pnc_visit_{0}": { - "type": "string", - "ex": "equalTo(., \"Yes\")" - } - } - }, - { - "key": "confirmed_health_facility_visits", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "confirmed_health_facility_visits", - "type": "spacer", - "read_only": "true", - "hidden": "true", - "value": "0" - }, - { - "key": "last_health_facility_visit_date", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "last_health_facility_visit_date", - "type": "spacer", - "read_only": "true", - "hidden": "true", - "value": "0" - }, - { - "key": "pnc_hf_next_visit_date", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "pnc_hf_next_visit_date", - "type": "spacer" - } - ] - } -} diff --git a/opensrp-chw/src/main/assets/json.form-fr/pnc_kangaroo_care.json b/opensrp-chw/src/main/assets/json.form-fr/pnc_kangaroo_care.json deleted file mode 100644 index 9f1f7946e6..0000000000 --- a/opensrp-chw/src/main/assets/json.form-fr/pnc_kangaroo_care.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "count": "1", - "encounter_type": "Kangaroo Care", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Soins Maternels Kangourou (SMK)", - "fields": [ - { - "key": "kangaroo", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "openmrs_data_type": "select one", - "type": "spinner", - "image": "form_kangaroo", - "hint": "Est-ce que la mère suit Soins Maternels Kangourou (SMK)", - "values": [ - "Oui", - "Non" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form-fr/pnc_umbilical_cord.json b/opensrp-chw/src/main/assets/json.form-fr/pnc_umbilical_cord.json deleted file mode 100644 index 13bb400d32..0000000000 --- a/opensrp-chw/src/main/assets/json.form-fr/pnc_umbilical_cord.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "count": "1", - "encounter_type": "Umbilical cord care", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Soins du cordon ombilical", - "fields": [ - { - "key": "cord_care", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "161541AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "hint": "Des produits sont-ils appliqués sur le moignon du cordon ombilical?", - "values": [ - "Aucun produit", - "Chlorhexidine", - "Autre" - ], - "keys": [ - "No products", - "Chlorhexidine", - "Other" - ], - "openmrs_choice_ids": { - "No products": "products", - "Chlorhexidine": "73263AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Other": "Other" - }, - "v_required": { - "value": "true", - "err": "Please select one option" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form-fr/pnc_vaccine_card.json b/opensrp-chw/src/main/assets/json.form-fr/pnc_vaccine_card.json deleted file mode 100644 index 759914847c..0000000000 --- a/opensrp-chw/src/main/assets/json.form-fr/pnc_vaccine_card.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "count": "1", - "encounter_type": "Vaccine Card Received", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Carte de vaccination enfant reçu", - "fields": [ - { - "key": "vaccine_card", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "openmrs_data_type": "164147AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "type": "spinner", - "image": "ic_form_vaccine_card", - "hint": "L'enfant a-t-il reçu sa carte de vaccination?", - "values": [ - "Oui", - "Non" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form-fr/wash_check.json b/opensrp-chw/src/main/assets/json.form-fr/wash_check.json deleted file mode 100644 index fd334559eb..0000000000 --- a/opensrp-chw/src/main/assets/json.form-fr/wash_check.json +++ /dev/null @@ -1,135 +0,0 @@ -{ - "count": "1", - "encounter_type": "WASH check", - "entity_id": "", - "metadata": { - "start": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "start", - "openmrs_entity_id": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "end": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "end", - "openmrs_entity_id": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "today": { - "openmrs_entity_parent": "", - "openmrs_entity": "encounter", - "openmrs_entity_id": "encounter_date" - }, - "deviceid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "deviceid", - "openmrs_entity_id": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "subscriberid": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "subscriberid", - "openmrs_entity_id": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "simserial": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "simserial", - "openmrs_entity_id": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "phonenumber": { - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_data_type": "phonenumber", - "openmrs_entity_id": "163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "encounter_location": "" - }, - "step1": { - "title": "Vérification EHA", - "fields": [ - { - "key": "handwashing_facilities", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "164863AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", - "type": "spinner", - "label_info_title": "Le ménage a-t-il une dispositif pour le lavage des mains?", - "label_info_text": "Répondez \"Oui\" si le ménage dispose d'un espace désigné pour se laver les mains (ou d'un point mobile de lavage des mains), avec de l'eau et du savon. Sinon, répondez \"Non\".", - "hint": "Le ménage a-t-il une dispositif pour le lavage des mains?", - "values": [ - "Oui", - "Non" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1267AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1118AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": true, - "err": "Veuillez sélectionner une option" - } - }, - { - "key": "drinking_water", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "openmrs_data_type": "select one", - "type": "spinner", - "label_info_title": "Le ménage a-t-il accès à de l'eau potable?", - "label_info_text": "Répondez \"oui\" si le ménage a accès à des sources d'eau améliorées, disponibles en cas de besoin et exemptes de contamination. Les sources d'eau potable améliorées sont celles qui, de par leur conception et leur construction, sont susceptibles de fournir de l'eau salubre, et comprennent : l'eau courante, les puits forés ou tubés, les puits creusés protégés, les sources protégées, l'eau de pluie et l'eau conditionnée ou livrée.", - "hint": "Le ménage a-t-il accès à de l'eau potable?", - "values": [ - "Oui", - "Non" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1267AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1118AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": true, - "err": "Veuillez sélectionner une option" - } - }, - { - "key": "hygienic_latrine", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "", - "openmrs_data_type": "select one", - "type": "spinner", - "label_info_title": "Les membres de la famille utilisent-ils des latrines hygiéniques pour l'évacuation des excréments?", - "label_info_text": "Répondez \"oui\" si le ménage utilise des installations sanitaires améliorées qui ne sont pas partagées avec d'autres ménages. Les installations sanitaires améliorées sont celles qui sont conçues pour séparer hygiéniquement les excréments du contact humain, et comprennent : des chasses d'eau/évacuation dans les égouts, des fosses septiques ou des latrines à fosse ; des latrines à fosse améliorées ventilées, des toilettes à compostage ou des latrines à fosse avec dalles.\n\nRépondre \"non\" s'ils pratiquent la défécation à l'air libre : élimination des excréments humains dans les champs, les forêts, les buissons, les plans d'eau ouverts, les plages et autres espaces ouverts ou avec des déchets solides.", - "hint": "Les membres de la famille utilisent-ils des latrines hygiéniques pour l'évacuation des excréments?", - "values": [ - "Oui", - "Non" - ], - "keys": [ - "Yes", - "No" - ], - "openmrs_choice_ids": { - "Yes": "1267AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "No": "1118AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "v_required": { - "value": true, - "err": "Veuillez sélectionner une option" - } - } - ] - } -} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/anc_hv_anc_card_received.json b/opensrp-chw/src/main/assets/json.form/anc_hv_anc_card_received.json index ab63d7794f..1cc70a59a5 100644 --- a/opensrp-chw/src/main/assets/json.form/anc_hv_anc_card_received.json +++ b/opensrp-chw/src/main/assets/json.form/anc_hv_anc_card_received.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "ANC card received", + "title": "{{anc_hv_anc_card_received.step1.title}}", "fields": [ { "key": "anc_card", @@ -57,8 +57,12 @@ "openmrs_data_type": "select one", "type": "spinner", "image": "form_received_card", - "hint": "ANC card received?", + "hint": "{{anc_hv_anc_card_received.step1.anc_card.hint}}", "values": [ + "{{anc_hv_anc_card_received.step1.anc_card.values[0]}}", + "{{anc_hv_anc_card_received.step1.anc_card.values[1]}}" + ], + "keys": [ "Yes", "No" ], @@ -68,5 +72,6 @@ } } ] - } + }, + "properties_file_name": "anc_hv_anc_card_received" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/anc_hv_anc_iptp_sp.json b/opensrp-chw/src/main/assets/json.form/anc_hv_anc_iptp_sp.json index 1b49173123..e716198c95 100644 --- a/opensrp-chw/src/main/assets/json.form/anc_hv_anc_iptp_sp.json +++ b/opensrp-chw/src/main/assets/json.form/anc_hv_anc_iptp_sp.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "IPTp-SP {0} dose", + "title": "{{anc_hv_anc_iptp_sp.step1.title}}", "fields": [ { "key": "iptp{0}_date", @@ -56,14 +56,15 @@ "openmrs_entity_id": "", "type": "date_picker", "image": "form_iptp_sp", - "hint": "When was IPTp-SP {0} dose given?", + "hint": "{{anc_hv_anc_iptp_sp.step1.iptp{0}_date.hint}}", "min_date": "today-120y", "max_date": "today", "v_required": { "value": "true", - "err": "Please enter the dose date" + "err": "{{anc_hv_anc_iptp_sp.step1.iptp{0}_date.v_required.err}}" } } ] - } + }, + "properties_file_name": "anc_hv_anc_iptp_sp" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/anc_hv_counseling.json b/opensrp-chw/src/main/assets/json.form/anc_hv_counseling.json index db045079c8..2000d999f5 100644 --- a/opensrp-chw/src/main/assets/json.form/anc_hv_counseling.json +++ b/opensrp-chw/src/main/assets/json.form/anc_hv_counseling.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "ANC counseling", + "title": "{{anc_hv_counseling.step1.title}}", "fields": [ { "key": "anc_counseling", @@ -56,10 +56,14 @@ "openmrs_entity_id": "165310AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "label_info_title": "Importance of ANC visits", - "label_info_text": "Every pregnancy is special. All pregnant women need at least eight antenatal care visits to help ensure a safe and healthy pregnancy. Pregnant women and their families need to be able to recognize the signs of labour and the warning signs of pregnancy complications. They need to have plans and resources for obtaining skilled care for the birth and immediate help if problems arise.", - "hint": "Importance of ANC visits", + "label_info_title": "{{anc_hv_counseling.step1.anc_counseling.label_info_title}}", + "label_info_text": "{{anc_hv_counseling.step1.anc_counseling.label_info_text}}", + "hint": "{{anc_hv_counseling.step1.anc_counseling.hint}}", "values": [ + "{{anc_hv_counseling.step1.anc_counseling.values[0]}}", + "{{anc_hv_counseling.step1.anc_counseling.values[1]}}" + ], + "keys": [ "Yes", "No" ], @@ -69,7 +73,7 @@ }, "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{anc_hv_counseling.step1.anc_counseling.v_required.err}}" } }, { @@ -78,7 +82,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Upcoming visit dates:\n\n{0}.", + "text": "{{anc_hv_counseling.step1.anc_counseling_toaster.text}}", "text_color": "#1199F9", "toaster_type": "info" }, @@ -89,10 +93,14 @@ "openmrs_entity_id": "164108AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "label_info_title": "Importance of delivering at a health facility", - "label_info_text": "Promote delivery at a health facility and discuss the advantages of having a skilled birth attendant.", - "hint": "Importance of delivering at a health facility", + "label_info_title": "{{anc_hv_counseling.step1.birth_hf_counseling.label_info_title}}", + "label_info_text": "{{anc_hv_counseling.step1.birth_hf_counseling.label_info_text}}", + "hint": "{{anc_hv_counseling.step1.birth_hf_counseling.hint}}", "values": [ + "{{anc_hv_counseling.step1.birth_hf_counseling.values[0]}}", + "{{anc_hv_counseling.step1.birth_hf_counseling.values[1]}}" + ], + "keys": [ "Yes", "No" ], @@ -102,7 +110,7 @@ }, "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{anc_hv_counseling.step1.birth_hf_counseling.v_required.err}}" } }, { @@ -112,10 +120,14 @@ "openmrs_entity_id": "1380AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "label_info_title": "Nutrition counseling", - "label_info_text": "The risks associated with childbearing for the mother and her baby can be greatly reduced if the woman is healthy and well-nourished before becoming pregnant. During pregnancy and while breastfeeding, all women need more nutritious meals, increased quantities of food, more rest than usual, iron and folic acid or multiple micronutrient supplements, even if they are consuming fortified foods, and iodized salt to ensure the proper mental development of their babies.", - "hint": "Nutrition counseling", + "label_info_title": "{{anc_hv_counseling.step1.nutrition_counseling.label_info_title}}", + "label_info_text": "{{anc_hv_counseling.step1.nutrition_counseling.label_info_text}}", + "hint": "{{anc_hv_counseling.step1.nutrition_counseling.hint}}", "values": [ + "{{anc_hv_counseling.step1.nutrition_counseling.values[0]}}", + "{{anc_hv_counseling.step1.nutrition_counseling.values[1]}}" + ], + "keys": [ "Yes", "No" ], @@ -125,9 +137,10 @@ }, "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{anc_hv_counseling.step1.nutrition_counseling.v_required.err}}" } } ] - } + }, + "properties_file_name": "anc_hv_counseling" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/anc_hv_danger_signs.json b/opensrp-chw/src/main/assets/json.form/anc_hv_danger_signs.json index 0e50fd585e..38e5288a64 100644 --- a/opensrp-chw/src/main/assets/json.form/anc_hv_danger_signs.json +++ b/opensrp-chw/src/main/assets/json.form/anc_hv_danger_signs.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Danger signs", + "title": "{{anc_hv_danger_signs.step1.title}}", "fields": [ { "key": "danger_signs_present", @@ -55,9 +55,9 @@ "openmrs_entity": "concept", "openmrs_entity_id": "160939AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "check_box", - "label_info_image_src": "img/chw.png", + "label_info_image_src": "{{anc_hv_danger_signs.step1.danger_signs_present.label_info_image_src}}", "label_info_has_image": true, - "label": "Any danger signs present?", + "label": "{{anc_hv_danger_signs.step1.danger_signs_present.label}}", "label_text_style": "normal", "text_color": "#C0C0C0", "exclusive": [ @@ -66,56 +66,56 @@ "options": [ { "key": "chk_none", - "text": "None", + "text": "{{anc_hv_danger_signs.step1.danger_signs_present.options.chk_none.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_fever", - "text": "Fever", + "text": "{{anc_hv_danger_signs.step1.danger_signs_present.options.chk_fever.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "140238AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_bleeding_vaginally", - "text": "Bleeding vaginally", + "text": "{{anc_hv_danger_signs.step1.danger_signs_present.options.chk_bleeding_vaginally.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "150802AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_server_headache", - "text": "Severe headache", + "text": "{{anc_hv_danger_signs.step1.danger_signs_present.options.chk_server_headache.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "139081AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_convulsions", - "text": "Convulsions", + "text": "{{anc_hv_danger_signs.step1.danger_signs_present.options.chk_convulsions.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "164483AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_difficulty_breathing", - "text": "Difficulty breathing", + "text": "{{anc_hv_danger_signs.step1.danger_signs_present.options.chk_difficulty_breathing.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "142373AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_severe_abdominal_pain", - "text": "Severe abdominal pain", + "text": "{{anc_hv_danger_signs.step1.danger_signs_present.options.chk_severe_abdominal_pain.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "165271AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_swollen_face", - "text": "Swollen face and legs", + "text": "{{anc_hv_danger_signs.step1.danger_signs_present.options.chk_swollen_face.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "460AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" @@ -123,7 +123,7 @@ ], "v_required": { "value": "true", - "err": "Please pick at least one" + "err": "{{anc_hv_danger_signs.step1.danger_signs_present.v_required.err}}" } }, { @@ -132,7 +132,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Danger sign! \nRefer immediately to health facility.", + "text": "{{anc_hv_danger_signs.step1.danger_signs_present_toaster.text}}", "text_color": "#CF0800", "toaster_type": "problem", "relevance": { @@ -160,8 +160,12 @@ "openmrs_entity_id": "165310AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Counseling on seeking care immediately for danger signs", + "hint": "{{anc_hv_danger_signs.step1.danger_signs_counseling.hint}}", "values": [ + "{{anc_hv_danger_signs.step1.danger_signs_counseling.values[0]}}", + "{{anc_hv_danger_signs.step1.danger_signs_counseling.values[1]}}" + ], + "keys": [ "Yes", "No" ], @@ -171,9 +175,10 @@ }, "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{anc_hv_danger_signs.step1.danger_signs_counseling.v_required.err}}" } } ] - } + }, + "properties_file_name": "anc_hv_danger_signs" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/anc_hv_health_facility_visit.json b/opensrp-chw/src/main/assets/json.form/anc_hv_health_facility_visit.json index 9224b4e9d2..c49397758f 100644 --- a/opensrp-chw/src/main/assets/json.form/anc_hv_health_facility_visit.json +++ b/opensrp-chw/src/main/assets/json.form/anc_hv_health_facility_visit.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "ANC {0} health facility visit", + "title": "{{anc_hv_health_facility_visit.step1.title}}", "fields": [ { "key": "anc_hf_visit", @@ -55,17 +55,21 @@ "openmrs_entity": "concept", "openmrs_entity_id": "160939AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", - "label_info_title": "Did the woman attend her ANC {0} visit at the health facility?", - "label_info_text": "Whether or not the woman attended her ANC visit at the health facility.", + "label_info_title": "{{anc_hv_health_facility_visit.step1.anc_hf_visit.label_info_title}}", + "label_info_text": "{{anc_hv_health_facility_visit.step1.anc_hf_visit.label_info_text}}", "type": "spinner", - "hint": "Did the woman attend her ANC {0} visit at the health facility?\n\nVisit due date: {1}", + "hint": "{{anc_hv_health_facility_visit.step1.anc_hf_visit.hint}}", "values": [ + "{{anc_hv_health_facility_visit.step1.anc_hf_visit.values[0]}}", + "{{anc_hv_health_facility_visit.step1.anc_hf_visit.values[1]}}" + ], + "keys": [ "Yes", "No" ], "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{anc_hv_health_facility_visit.step1.anc_hf_visit.v_required.err}}" } }, { @@ -74,17 +78,17 @@ "openmrs_entity": "concept", "openmrs_entity_id": "159590AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "text", - "label_info_title": "Date of visit", - "label_info_text": "The date of the last ANC visit the woman attended at the health facility.", + "label_info_title": "Date de la visite", + "label_info_text": "La date de la dernière visite CPN de la femme visitée à la structure de santé.", "type": "date_picker", - "label": "Date of visit", - "hint": "Date of visit", + "label": "{{anc_hv_health_facility_visit.step1.anc_hf_visit_date.label}}", + "hint": "{{anc_hv_health_facility_visit.step1.anc_hf_visit_date.hint}}", "expanded": false, "min_date": "today-10y", "max_date": "today", "v_required": { "value": "true", - "err": "Enter the date of the ANC visit" + "err": "{{anc_hv_health_facility_visit.step1.anc_hf_visit_date.v_required.err}}" }, "relevance": { "step1:anc_hf_visit": { @@ -93,38 +97,31 @@ } } }, - { - "key": "anc_hf_next_visit_date", - "openmrs_entity_parent": "", - "openmrs_entity": "concept", - "openmrs_entity_id": "anc_hf_next_visit_date", - "type": "spacer" - }, { "key": "weight", "openmrs_entity_parent": "", "openmrs_entity": "concept", "openmrs_entity_id": "5089AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", - "label_info_title": "Weight (kg)", - "label_info_text": "Weight (in kg) of the woman.", + "label_info_title": "{{anc_hv_health_facility_visit.step1.weight.label_info_title}}", + "label_info_text": "{{anc_hv_health_facility_visit.step1.weight.label_info_text}}", "edit_type": "number", - "hint": "Weight (kg)", + "hint": "{{anc_hv_health_facility_visit.step1.weight.hint}}", "v_required": { "value": "false", - "err": "Required" + "err": "{{anc_hv_health_facility_visit.step1.weight.v_required.err}}" }, "v_numeric": { "value": "true", - "err": "" + "err": "{{anc_hv_health_facility_visit.step1.weight.v_numeric.err}}" }, "v_min": { "value": "30", - "err": "Weight must be equal or greater than 30" + "err": "{{anc_hv_health_facility_visit.step1.weight.v_min.err}}" }, "v_max": { "value": "200", - "err": "Weight must be equal or less than 200" + "err": "{{anc_hv_health_facility_visit.step1.weight.v_max.err}}" }, "relevance": { "step1:anc_hf_visit": { @@ -133,6 +130,13 @@ } } }, + { + "key": "anc_hf_next_visit_date", + "openmrs_entity_parent": "", + "openmrs_entity": "concept", + "openmrs_entity_id": "anc_hf_next_visit_date", + "type": "spacer" + }, { "key": "sys_bp", "openmrs_entity_parent": "", @@ -140,20 +144,20 @@ "openmrs_entity_id": "5085AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", "edit_type": "number", - "label_info_title": "Systolic BP (mmHg)", - "label_info_text": "Systolic blood pressure of the woman. ", - "hint": "Systolic BP (mmHg)", + "label_info_title": "{{anc_hv_health_facility_visit.step1.sys_bp.label_info_title}}", + "label_info_text": "{{anc_hv_health_facility_visit.step1.sys_bp.label_info_text}}", + "hint": "{{anc_hv_health_facility_visit.step1.sys_bp.hint}}", "v_min": { "value": "0", - "err": "The value must be greater than or equal to 0" + "err": "{{anc_hv_health_facility_visit.step1.sys_bp.v_min.err}}" }, "v_required": { "value": "false", - "err": "Required" + "err": "{{anc_hv_health_facility_visit.step1.sys_bp.v_required.err}}" }, "v_numeric": { "value": "true", - "err": "Must be a rounded number" + "err": "{{anc_hv_health_facility_visit.step1.sys_bp.v_numeric.err}}" }, "relevance": { "step1:anc_hf_visit": { @@ -169,20 +173,20 @@ "openmrs_entity_id": "5086AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", "edit_type": "number", - "label_info_title": "Diastolic BP (mmHg)", - "label_info_text": "Diastolic blood pressure of the woman. ", - "hint": "Diastolic BP (mmHg)", + "label_info_title": "{{anc_hv_health_facility_visit.step1.dia_bp.label_info_title}}", + "label_info_text": "{{anc_hv_health_facility_visit.step1.dia_bp.label_info_text}}", + "hint": "{{anc_hv_health_facility_visit.step1.dia_bp.hint}}", "v_min": { "value": "0", - "err": "The value must be greater than or equal to 0" + "err": "{{anc_hv_health_facility_visit.step1.dia_bp.v_min.err}}" }, "v_required": { "value": "false", - "err": "Required" + "err": "{{anc_hv_health_facility_visit.step1.dia_bp.v_required.err}}" }, "v_numeric": { "value": "true", - "err": "Must be a rounded number" + "err": "{{anc_hv_health_facility_visit.step1.dia_bp.v_numeric.err}}" }, "relevance": { "step1:anc_hf_visit": { @@ -198,16 +202,16 @@ "openmrs_entity_id": "21AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", "edit_type": "number", - "label_info_title": "Haemoglobin level (g/dl)", - "label_info_text": "The woman's haemoglobin level (g/dl).", - "hint": "Haemoglobin level (g/dl)", + "label_info_title": "{{anc_hv_health_facility_visit.step1.hb_level.label_info_title}}", + "label_info_text": "{{anc_hv_health_facility_visit.step1.hb_level.label_info_text}}", + "hint": "{{anc_hv_health_facility_visit.step1.hb_level.hint}}", "v_required": { "value": "false", - "err": "Required" + "err": "{{anc_hv_health_facility_visit.step1.hb_level.v_required.err}}" }, "v_numeric": { "value": "true", - "err": "" + "err": "{{anc_hv_health_facility_visit.step1.hb_level.v_numeric.err}}" }, "relevance": { "step1:anc_hf_visit": { @@ -222,20 +226,20 @@ "openmrs_entity": "concept", "openmrs_entity_id": "104677AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "spinner", - "label_info_title": "IFA received?", - "label_info_text": "Whether the woman has received IFA tablets.", - "hint": "IFA received?", + "label_info_title": "{{anc_hv_health_facility_visit.step1.ifa_received.label_info_title}}", + "label_info_text": "{{anc_hv_health_facility_visit.step1.ifa_received.label_info_text}}", + "hint": "{{anc_hv_health_facility_visit.step1.ifa_received.hint}}", "v_required": { "value": "true", - "err": "Required" + "err": "{{anc_hv_health_facility_visit.step1.ifa_received.v_required.err}}" }, "v_numeric": { "value": "true", - "err": "" + "err": "{{anc_hv_health_facility_visit.step1.ifa_received.v_numeric.err}}" }, "values": [ - "Yes", - "No" + "{{anc_hv_health_facility_visit.step1.ifa_received.values[0]}}", + "{{anc_hv_health_facility_visit.step1.ifa_received.values[1]}}" ], "openmrs_choice_ids": { "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -254,7 +258,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1271AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "check_box", - "label": "Which tests were done?", + "label": "{{anc_hv_health_facility_visit.step1.tests_done.label}}", "label_text_style": "normal", "text_color": "#C0C0C0", "exclusive": [ @@ -263,28 +267,28 @@ "options": [ { "key": "chk_none", - "text": "None", + "text": "{{anc_hv_health_facility_visit.step1.tests_done.options.chk_none.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_urine", - "text": "Urine analysis", + "text": "{{anc_hv_health_facility_visit.step1.tests_done.options.chk_urine.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "161156AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_hiv", - "text": "HIV test", + "text": "{{anc_hv_health_facility_visit.step1.tests_done.options.chk_hiv.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1356AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_syphilis", - "text": "Syphilis test", + "text": "{{anc_hv_health_facility_visit.step1.tests_done.options.chk_syphilis.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "299AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" @@ -292,7 +296,7 @@ ], "v_required": { "value": "true", - "err": "Please pick at least one" + "err": "{{anc_hv_health_facility_visit.step1.tests_done.v_required.err}}" }, "relevance": { "step1:anc_hf_visit": { @@ -312,5 +316,6 @@ "value": "0" } ] - } + }, + "properties_file_name": "anc_hv_health_facility_visit" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/anc_hv_observations.json b/opensrp-chw/src/main/assets/json.form/anc_hv_observations.json index 3aa00898ad..ba4953c25c 100644 --- a/opensrp-chw/src/main/assets/json.form/anc_hv_observations.json +++ b/opensrp-chw/src/main/assets/json.form/anc_hv_observations.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Observations & Illness Episodes", + "title": "{{anc_hv_observations.step1.title}}", "fields": [ { "key": "date_of_illness", @@ -55,13 +55,12 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1730AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "date_picker", - "hint": "Date", + "hint": "{{anc_hv_observations.step1.date_of_illness.hint}}", "expanded": false, "max_date": "today", - "min_date": "today-10y", "v_required": { "value": "true", - "err": "Please enter illness date" + "err": "{{anc_hv_observations.step1.date_of_illness.v_required.err}}" } }, { @@ -71,10 +70,10 @@ "openmrs_entity_id": "1390AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "text", "type": "edit_text", - "hint": "Description", + "hint": "{{anc_hv_observations.step1.illness_description.hint}}", "v_required": { "value": "true", - "err": "Please enter description" + "err": "{{anc_hv_observations.step1.illness_description.v_required.err}}" } }, { @@ -84,12 +83,17 @@ "openmrs_entity_id": "164378AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Action taken", + "hint": "{{anc_hv_observations.step1.action_taken.hint}}", "v_required": { "value": "true", - "err": "Please select action" + "err": "{{anc_hv_observations.step1.action_taken.v_required.err}}" }, "values": [ + "{{anc_hv_observations.step1.action_taken.values[0]}}", + "{{anc_hv_observations.step1.action_taken.values[1]}}", + "{{anc_hv_observations.step1.action_taken.values[2]}}" + ], + "keys": [ "Managed", "Referred", "No action taken" @@ -101,5 +105,6 @@ } } ] - } + }, + "properties_file_name": "anc_hv_observations" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/anc_hv_sleeping_under_llitn.json b/opensrp-chw/src/main/assets/json.form/anc_hv_sleeping_under_llitn.json index 1dad01a92b..e8722a310e 100644 --- a/opensrp-chw/src/main/assets/json.form/anc_hv_sleeping_under_llitn.json +++ b/opensrp-chw/src/main/assets/json.form/anc_hv_sleeping_under_llitn.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Sleeping under a LLITN", + "title": "{{anc_hv_sleeping_under_llitn.step1.title}}", "fields": [ { "key": "sleeping_llitn", @@ -57,10 +57,14 @@ "openmrs_data_type": "select one", "type": "spinner", "image": "form_llitn", - "hint": "Is the woman sleeping under a Long Lasting Insecticide-Treated Net (LLITN)?", - "label_info_title": "Whether the pregnant woman sleeps under a LLITN", - "label_info_text": "Malaria is very dangerous for pregnant women. Wherever malaria is common, women should prevent malaria by taking anti-malarial tablets recommended by a trained health worker and by sleeping under an insecticide-treated mosquito net.", + "hint": "{{anc_hv_sleeping_under_llitn.step1.sleeping_llitn.hint}}", + "label_info_title": "{{anc_hv_sleeping_under_llitn.step1.sleeping_llitn.label_info_title}}", + "label_info_text": "{{anc_hv_sleeping_under_llitn.step1.sleeping_llitn.label_info_text}}", "values": [ + "{{anc_hv_sleeping_under_llitn.step1.sleeping_llitn.values[0]}}", + "{{anc_hv_sleeping_under_llitn.step1.sleeping_llitn.values[1]}}" + ], + "keys": [ "Yes", "No" ], @@ -70,5 +74,6 @@ } } ] - } + }, + "properties_file_name": "anc_hv_sleeping_under_llitn" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/anc_hv_tt_immunization.json b/opensrp-chw/src/main/assets/json.form/anc_hv_tt_immunization.json index 50c1dcb2a8..9e38aab666 100644 --- a/opensrp-chw/src/main/assets/json.form/anc_hv_tt_immunization.json +++ b/opensrp-chw/src/main/assets/json.form/anc_hv_tt_immunization.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "TT {0} immunization", + "title": "{{anc_hv_tt_immunization.step1.title}}", "fields": [ { "key": "tt{0}_date", @@ -56,14 +56,15 @@ "openmrs_entity_id": "1418AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "date_picker", "image": "form_immunization", - "hint": "When was TT {0} immunization done?", + "hint": "{{anc_hv_tt_immunization.step1.tt{0}_date.hint}}", "min_date": "today-120y", "max_date": "today", "v_required": { "value": "true", - "err": "Please enter the date of immunization" + "err": "{{anc_hv_tt_immunization.step1.tt{0}_date.v_required.err}}" } } ] - } + }, + "properties_file_name": "anc_hv_tt_immunization" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/anc_member_registration.json b/opensrp-chw/src/main/assets/json.form/anc_member_registration.json index 3cb860fa3c..efd251b26a 100644 --- a/opensrp-chw/src/main/assets/json.form/anc_member_registration.json +++ b/opensrp-chw/src/main/assets/json.form/anc_member_registration.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "ANC Registration", + "title": "{{anc_member_registration.step1.title}}", "fields": [ { "key": "relational_id", @@ -62,15 +62,15 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1427AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "date_picker", - "hint": "Last Menstrual Period (LMP)", - "label_info_title": "LMP", - "label_info_text": "LMP = first day of Last Menstrual Period. If the exact date is unknown, but the period of the month is known, use day 5 for beginning of the month, day 15 for middle of the month and day 25 for end of the month.", + "hint": "{{anc_member_registration.step1.last_menstrual_period.hint}}", + "label_info_title": "{{anc_member_registration.step1.last_menstrual_period.label_info_title}}", + "label_info_text": "{{anc_member_registration.step1.last_menstrual_period.label_info_text}}", "expanded": false, "max_date": "today", "min_date": "today-50w", "v_required": { "value": "true", - "err": "LMP required" + "err": "{{anc_member_registration.step1.last_menstrual_period.v_required.err}}" }, "calculation": { "rules-engine": { @@ -97,7 +97,7 @@ "options": [ { "key": "lmp_unknown", - "text": "LMP unknown?", + "text": "{{anc_member_registration.step1.last_menstrual_period_unknown.options.lmp_unknown.text}}", "text_size": "18px", "value": "false" } @@ -109,7 +109,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "5596AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "date_picker", - "hint": "Expected Date of Delivery (EDD)", + "hint": "{{anc_member_registration.step1.edd.hint}}", "max_date": "today+50w", "min_date": "today", "calculation": { @@ -128,7 +128,7 @@ }, "v_required": { "value": "true", - "err": "Required" + "err": "{{anc_member_registration.step1.edd.v_required.err}}" } }, { @@ -137,7 +137,7 @@ "openmrs_entity": "", "openmrs_entity_id": "", "type": "edit_text", - "hint": "Gestational Age (GA)", + "hint": "{{anc_member_registration.step1.gest_age_note.hint}}", "read_only": true, "calculation": { "rules-engine": { @@ -147,13 +147,21 @@ } } }, + { + "key": "weeks", + "openmrs_entity_parent": "", + "openmrs_entity": "", + "openmrs_entity_id": "", + "value": "semaines", + "type": "hidden" + }, { "key": "edd_note", "openmrs_entity_parent": "", "openmrs_entity": "", "openmrs_entity_id": "", "type": "edit_text", - "hint": "Expected Date of Delivery (EDD)", + "hint": "{{anc_member_registration.step1.edd_note.hint}}", "read_only": true, "calculation": { "rules-engine": { @@ -184,22 +192,22 @@ "openmrs_entity_id": "no_prev_preg", "type": "edit_text", "edit_type": "number", - "hint": "No. of previous pregnancies", + "hint": "{{anc_member_registration.step1.no_prev_preg.hint}}", "v_required": { "value": "true", - "err": "Required" + "err": "{{anc_member_registration.step1.no_prev_preg.v_required.err}}" }, "v_numeric_integer": { "value": "true", - "err": "Must be a rounded number" + "err": "{{anc_member_registration.step1.no_prev_preg.v_numeric_integer.err}}" }, "v_min": { "value": "0", - "err": "Number must be equal or greater than 0" + "err": "{{anc_member_registration.step1.no_prev_preg.v_min.err}}" }, "v_max": { "value": "45", - "err": "Number must be equal or less than 45" + "err": "{{anc_member_registration.step1.no_prev_preg.v_max.err}}" } }, { @@ -223,18 +231,21 @@ "openmrs_entity_id": "164894AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", "edit_type": "number", - "hint": "No. of surviving children", + "hint": "{{anc_member_registration.step1.no_surv_children.hint}}", "v_required": { "value": "true", - "err": "Required" + "err": "{{anc_member_registration.step1.no_surv_children.v_required.err}}" }, "v_numeric_integer": { "value": "true", - "err": "Must be a rounded number" + "err": "{{anc_member_registration.step1.no_surv_children.v_numeric_integer.err}}" }, - "v_relative_max": { - "value": "no_prev_preg", - "err": "Number must be less than or equal to Number of Previous Pregnancies" + "relevance": { + "rules-engine": { + "ex-rules": { + "rules-file": "anc_member_registration_relevance.yml" + } + } } }, { @@ -243,16 +254,17 @@ "openmrs_entity": "concept", "openmrs_entity_id": "159635AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", - "hint": "Phone number", + "hint": "{{anc_member_registration.step1.phone_number.hint}}", "v_numeric": { "value": "true", - "err": "Must be a number." + "err": "{{anc_member_registration.step1.phone_number.v_numeric.err}}" }, "v_required": { "value": false, - "err": "Please specify the phone number" + "err": "{{anc_member_registration.step1.phone_number.v_required.err}}" } } ] - } + }, + "properties_file_name": "anc_member_registration" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/anc_pregnancy_outcome.json b/opensrp-chw/src/main/assets/json.form/anc_pregnancy_outcome.json index ace7fe2a56..19c67694bb 100644 --- a/opensrp-chw/src/main/assets/json.form/anc_pregnancy_outcome.json +++ b/opensrp-chw/src/main/assets/json.form/anc_pregnancy_outcome.json @@ -49,7 +49,7 @@ "encounter_location": "" }, "step1": { - "title": "Pregnancy Outcome", + "title": "{{anc_pregnancy_outcome.step1.title}}", "fields": [ { "key": "relational_id", @@ -61,12 +61,11 @@ { "key": "pregnancy_outcome_label", "type": "label", - "text": "PREGNANCY OUTCOME", + "text": "{{anc_pregnancy_outcome.step1.pregnancy_outcome_label.text}}", "has_bg": true, "left_padding": "20dp", "right_padding": "20dp", - "text_size": "7sp", - "text_color": "#000000" + "text_size": "7sp" }, { "key": "preg_outcome", @@ -75,8 +74,14 @@ "openmrs_entity_id": "161033AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Pregnancy outcome", + "hint": "{{anc_pregnancy_outcome.step1.preg_outcome.hint}}", "values": [ + "{{anc_pregnancy_outcome.step1.preg_outcome.values[0]}}", + "{{anc_pregnancy_outcome.step1.preg_outcome.values[1]}}", + "{{anc_pregnancy_outcome.step1.preg_outcome.values[2]}}", + "{{anc_pregnancy_outcome.step1.preg_outcome.values[3]}}" + ], + "keys": [ "Live birth", "Stillbirth", "Miscarriage", @@ -90,7 +95,7 @@ }, "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{anc_pregnancy_outcome.step1.preg_outcome.v_required.err}}" } }, { @@ -99,12 +104,12 @@ "openmrs_entity": "concept", "openmrs_entity_id": "165248AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "date_picker", - "hint": "Date of miscarriage", + "hint": "{{anc_pregnancy_outcome.step1.miscarriage_date.hint}}", "expanded": false, "max_date": "today", "v_required": { "value": "true", - "err": "Please enter date the woman miscarried." + "err": "{{anc_pregnancy_outcome.step1.miscarriage_date.v_required.err}}" }, "relevance": { "rules-engine": { @@ -120,12 +125,12 @@ "openmrs_entity": "concept", "openmrs_entity_id": "5599AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "date_picker", - "hint": "Delivery date", + "hint": "{{anc_pregnancy_outcome.step1.delivery_date.hint}}", "expanded": false, "max_date": "today", "v_required": { "value": "true", - "err": "Please enter date the woman delivered" + "err": "{{anc_pregnancy_outcome.step1.delivery_date.v_required.err}}" }, "relevance": { "rules-engine": { @@ -142,8 +147,13 @@ "openmrs_entity_id": "1572AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Place of delivery", + "hint": "{{anc_pregnancy_outcome.step1.delivery_place.hint}}", "values": [ + "{{anc_pregnancy_outcome.step1.delivery_place.values[0]}}", + "{{anc_pregnancy_outcome.step1.delivery_place.values[1]}}", + "{{anc_pregnancy_outcome.step1.delivery_place.values[2]}}" + ], + "keys": [ "Home", "Health facility", "Other" @@ -155,7 +165,7 @@ }, "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{anc_pregnancy_outcome.step1.delivery_place.v_required.err}}" }, "relevance": { "rules-engine": { @@ -168,7 +178,7 @@ { "key": "baby_label", "type": "label", - "text": "BABY DETAILS", + "text": "{{anc_pregnancy_outcome.step1.baby_label.text}}", "left_padding": "20dp", "right_padding": "20dp", "text_size": "7sp", @@ -197,8 +207,8 @@ { "key": "no_children_no", "type": "repeating_group", - "reference_edit_text_hint": "Number of children born", - "repeating_group_label": "Baby Details #", + "reference_edit_text_hint": "{{anc_pregnancy_outcome.step1.no_children_no.reference_edit_text_hint}}", + "repeating_group_label": "Détails de l\u0027enfant #", "repeating_group_max": "10", "openmrs_entity_parent": "", "openmrs_entity": "", @@ -212,7 +222,7 @@ }, "v_required": { "value": true, - "err": "Please specify the # of babies" + "err": "{{anc_pregnancy_outcome.step1.no_children_no.v_required.err}}" }, "value": [ { @@ -221,7 +231,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "edit_text", - "hint": "Surname", + "hint": "Nom", "edit_type": "name", "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", @@ -229,7 +239,7 @@ }, "v_required": { "value": "true", - "err": "Please enter the surname" + "err": "obligatoire" }, "relevance": { "rules-engine": { @@ -249,7 +259,7 @@ "options": [ { "key": "same_as_fam_name", - "text": "Surname same as family name", + "text": "Même nom que ménage", "text_size": "18px", "value": "false" } @@ -261,15 +271,15 @@ "openmrs_entity": "person", "openmrs_entity_id": "first_name", "type": "edit_text", - "hint": "First name", + "hint": "Prénom", "edit_type": "name", "v_required": { "value": "true", - "err": "Please enter the first name" + "err": "obligatoire" }, "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid name" + "err": "Entrez un nom valide" } }, { @@ -278,11 +288,11 @@ "openmrs_entity": "person", "openmrs_entity_id": "middle_name", "type": "edit_text", - "hint": "Middle name", + "hint": "Deuxième prénom", "edit_type": "name", "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid name" + "err": "Entrez un nom valide" } }, { @@ -298,14 +308,18 @@ "openmrs_entity": "person", "openmrs_entity_id": "gender", "type": "spinner", - "hint": "Sex", + "hint": "Sexe", "values": [ + "Masculin", + "Feminin" + ], + "keys": [ "Male", "Female" ], "v_required": { "value": "true", - "err": "Please enter the sex" + "err": "Obligatoire" } }, { @@ -314,8 +328,12 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1431AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "spinner", - "hint": "Is the baby low birth weight (weighs less than 2.5 kg)?", + "hint": "Est-ce que le bébé est de poids faible à la naissance (pèse moins de 2.5 kg)? ", "values": [ + "Oui", + "Non" + ], + "keys": [ "Yes", "No" ], @@ -325,7 +343,7 @@ }, "v_required": { "value": "true", - "err": "Please select if baby has low the weight" + "err": "Obligatoire" } }, { @@ -334,8 +352,12 @@ "openmrs_entity": "concept", "openmrs_entity_id": "161543AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "spinner", - "hint": "Early initiation of breastfeeding (1 hr)?", + "hint": "Mise au sein precoce á la naissance (1 hr)?", "values": [ + "Oui", + "Non" + ], + "keys": [ "Yes", "No" ], @@ -345,7 +367,7 @@ }, "v_required": { "value": "true", - "err": "Please enter Early initiation of breastfeeding" + "err": "Obligatoire" } }, { @@ -354,8 +376,12 @@ "openmrs_entity": "concept", "openmrs_entity_id": "159522AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "spinner", - "hint": "Physically challenged?", + "hint": "Enfant vivant avec un handicap?", "values": [ + "Oui", + "Non" + ], + "keys": [ "Yes", "No" ], @@ -365,7 +391,7 @@ }, "v_required": { "value": "true", - "err": "Please enter if Physically challenged" + "err": "Obligatoire" } }, { @@ -374,7 +400,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "essential_newborn_care", "type": "check_box", - "label": "Essential newborn care received at the health facility?", + "label": "Soins essentiels aux nouveau-nés reçu au structure sanitaire?", "label_text_style": "normal", "text_color": "#C0C0C0", "exclusive": [ @@ -383,21 +409,21 @@ "options": [ { "key": "chk_none", - "text": "None", + "text": "Aucun", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_chlorhexidine", - "text": "Chlorhexidine applied to umbilical stump", + "text": "Cordon ombilical traité avec une solution de chlorhexidine ", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "73263AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_skin_contact", - "text": "Skin to skin contact for at least 2 hours", + "text": "Contact peau contre peau pour au moins 2 heures", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "164173AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" @@ -410,7 +436,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "opv0_date", "type": "date_picker", - "hint": "OPV 0 date", + "hint": "Date de VPO", "expanded": false, "min_date": "today-120y", "max_date": "today", @@ -418,7 +444,7 @@ { "type": "date", "ex": "greaterThanEqualTo(., step1:delivery_date)", - "err": "Date of OPV 0 can't occur before delivery date" + "err": "Date of OPV 0 can\u0027t occur before delivery date" } ] }, @@ -428,19 +454,21 @@ "openmrs_entity": "concept", "openmrs_entity_id": "opv0_date", "type": "date_picker", - "hint": "BCG date", + "hint": "Date de BCG", "expanded": false, + "min_date": "today-120y", "max_date": "today", "constraints": [ { "type": "date", "ex": "greaterThanEqualTo(., step1:delivery_date)", - "err": "Date of BCG can't occur before delivery date" + "err": "Date of BCG can\u0027t occur before delivery date" } ] } ] } ] - } + }, + "properties_file_name": "anc_pregnancy_outcome" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/birth_certification.json b/opensrp-chw/src/main/assets/json.form/birth_certification.json index 7ec9b260de..857c50fee3 100644 --- a/opensrp-chw/src/main/assets/json.form/birth_certification.json +++ b/opensrp-chw/src/main/assets/json.form/birth_certification.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Birth Certification", + "title": "{{birth_certification.step1.title}}", "fields": [ { "key": "birth_cert", @@ -56,8 +56,12 @@ "openmrs_entity_id": "165406AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Does the child have a birth certificate?", + "hint": "{{birth_certification.step1.birth_cert.hint}}", "values": [ + "{{birth_certification.step1.birth_cert.values[0]}}", + "{{birth_certification.step1.birth_cert.values[1]}}" + ], + "keys": [ "Yes", "No" ], @@ -67,7 +71,7 @@ }, "v_required": { "value": true, - "err": "Please select option" + "err": "{{birth_certification.step1.birth_cert.v_required.err}}" } }, { @@ -76,13 +80,13 @@ "openmrs_entity": "concept", "openmrs_entity_id": "164129AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "date_picker", - "hint": "Birth certificate issuance date", + "hint": "{{birth_certification.step1.birth_cert_issue_date.hint}}", "expanded": false, "max_date": "today", "min_date": "", "v_required": { "value": "true", - "err": "Please enter Birth certificate issuance date" + "err": "{{birth_certification.step1.birth_cert_issue_date.v_required.err}}" }, "relevance": { "rules-engine": { @@ -99,18 +103,18 @@ "openmrs_entity_id": "162052AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "text", "type": "edit_text", - "hint": "Birth certificate number", + "hint": "{{birth_certification.step1.birth_cert_num.hint}}", "v_required": { "value": "true", - "err": "Please enter number" + "err": "{{birth_certification.step1.birth_cert_num.v_required.err}}" }, "v_numeric": { "value": "true", - "err": "Number must be 15 digits or Less." + "err": "{{birth_certification.step1.birth_cert_num.v_numeric.err}}" }, "v_regex": { "value": "([0-9]{1,15})|\\s*", - "err": "Number must be 15 digits or Less." + "err": "{{birth_certification.step1.birth_cert_num.v_regex.err}}" }, "relevance": { "rules-engine": { @@ -127,8 +131,12 @@ "openmrs_entity_id": "165405AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Was the birth notification done?", + "hint": "{{birth_certification.step1.birth_notification.hint}}", "values": [ + "{{birth_certification.step1.birth_notification.values[0]}}", + "{{birth_certification.step1.birth_notification.values[1]}}" + ], + "keys": [ "Yes", "No" ], @@ -138,7 +146,7 @@ }, "v_required": { "value": false, - "err": "Please select option" + "err": "{{birth_certification.step1.birth_notification.v_required.err}}" }, "relevance": { "rules-engine": { @@ -154,7 +162,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "label", - "text": "Ask to see the birth notification and instruct the caregiver to register the birth at County Health.", + "text": "{{birth_certification.step1.birthinstroductions.text}}", "relevance": { "rules-engine": { "ex-rules": { @@ -169,7 +177,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "label", - "text": "Instruct the caregiver to have the birth registered at County Health.", + "text": "{{birth_certification.step1.caregiverinstroductions.text}}", "relevance": { "rules-engine": { "ex-rules": { @@ -179,5 +187,6 @@ } } ] - } + }, + "properties_file_name": "birth_certification" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/child_enrollment.json b/opensrp-chw/src/main/assets/json.form/child_enrollment.json index b33c1d6d6f..8a178bdf8a 100644 --- a/opensrp-chw/src/main/assets/json.form/child_enrollment.json +++ b/opensrp-chw/src/main/assets/json.form/child_enrollment.json @@ -2,7 +2,6 @@ "count": "1", "encounter_type": "Child Registration", "entity_id": "", - "relational_id": "", "metadata": { "start": { "openmrs_entity_parent": "", @@ -52,7 +51,7 @@ } }, "step1": { - "title": "Add Child Under 5", + "title": "{{child_enrollment.step1.title}}", "fields": [ { "key": "photo", @@ -60,7 +59,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "choose_image", - "uploadButtonText": "Take a picture of the child" + "uploadButtonText": "{{child_enrollment.step1.photo.uploadButtonText}}" }, { "key": "unique_id", @@ -68,16 +67,16 @@ "openmrs_entity": "person_identifier", "openmrs_entity_id": "opensrp_id", "type": "edit_text", - "hint": "ID *", + "hint": "{{child_enrollment.step1.unique_id.hint}}", + "v_required": { + "value": "true", + "err": "{{child_enrollment.step1.unique_id.v_required.err}}" + }, "read_only": "true", "value": "0", "v_numeric": { "value": "true", - "err": "Please enter a valid ID" - }, - "v_required": { - "value": "true", - "err": "Please enter the Child's OpenMRS ID" + "err": "{{child_enrollment.step1.unique_id.v_numeric.err}}" } }, { @@ -86,15 +85,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "edit_text", - "hint": "Surname", - "edit_type": "name", - "v_regex": { - "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid name" - }, + "hint": "{{child_enrollment.step1.surname.hint}}", "v_required": { "value": "true", - "err": "Please enter the surname" + "err": "{{child_enrollment.step1.surname.v_required.err}}" }, "relevance": { "rules-engine": { @@ -102,6 +96,11 @@ "rules-file": "family-child-relevance.yml" } } + }, + "edit_type": "name", + "v_regex": { + "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", + "err": "{{child_enrollment.step1.surname.v_regex.err}}" } }, { @@ -111,14 +110,14 @@ "openmrs_entity_id": "", "openmrs_data_type": "text", "type": "check_box", - "label": "", + "label": "{{child_enrollment.step1.same_as_fam_name.label}}", "exclusive": [ "none" ], "options": [ { "key": "same_as_fam_name", - "text": "Surname same as family name", + "text": "{{child_enrollment.step1.same_as_fam_name.options.same_as_fam_name.text}}", "text_size": "18px", "value": "false" } @@ -138,7 +137,7 @@ "openmrs_entity": "person", "openmrs_entity_id": "last_name", "type": "hidden", - "hint": "Surname as Family name", + "hint": "{{child_enrollment.step1.surname_calculation.hint}}", "calculation": { "rules-engine": { "ex-rules": { @@ -154,15 +153,15 @@ "openmrs_entity_id": "first_name", "openmrs_data_type": "text", "type": "edit_text", - "hint": "First name", + "hint": "{{child_enrollment.step1.first_name.hint}}", "expanded": false, "v_required": { "value": "true", - "err": "Please Enter a Valid Name" + "err": "{{child_enrollment.step1.first_name.v_required.err}}" }, "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please Enter a Valid Name" + "err": "{{child_enrollment.step1.first_name.v_regex.err}}" } }, { @@ -172,11 +171,11 @@ "openmrs_entity_id": "middle_name", "openmrs_data_type": "text", "type": "edit_text", - "hint": "Middle name", + "hint": "{{child_enrollment.step1.middle_name.hint}}", "expanded": false, "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please Enter a Valid Name" + "err": "{{child_enrollment.step1.middle_name.v_regex.err}}" } }, { @@ -185,16 +184,16 @@ "openmrs_entity": "person", "openmrs_entity_id": "birthdate", "type": "date_picker", - "hint": "Date of birth (DOB)", + "hint": "{{child_enrollment.step1.dob.hint}}", "expanded": false, "duration": { - "label": "Age" + "label": "{{child_enrollment.step1.dob.duration.label}}" }, "min_date": "today-5y", "max_date": "today", "v_required": { "value": "true", - "err": "Please enter the date of birth" + "err": "{{child_enrollment.step1.dob.v_required.err}}" }, "relevance": { "rules-engine": { @@ -210,11 +209,11 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "check_box", - "label": "", + "label": "{{child_enrollment.step1.dob_estimated.label}}", "options": [ { "key": "dob_estimated", - "text": "DOB is estimated", + "text": "{{child_enrollment.step1.dob_estimated.options.dob_estimated.text}}", "text_size": "18px", "value": "false" } @@ -227,11 +226,11 @@ "openmrs_entity_id": "birthdateApprox", "hidden": "true", "type": "check_box", - "label": "", + "label": "{{child_enrollment.step1.dob_unknown.label}}", "options": [ { "key": "dob_unknown", - "text": "DOB unknown?", + "text": "{{child_enrollment.step1.dob_unknown.options.dob_unknown.text}}", "text_size": "18px", "value": "false" } @@ -243,18 +242,18 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "age", "type": "edit_text", - "hint": "Age", + "hint": "{{child_enrollment.step1.age.hint}}", "v_numeric": { "value": "true", - "err": "Number must begin with 0 and must be a total of 10 digits in length" + "err": "{{child_enrollment.step1.age.v_numeric.err}}" }, "v_min": { "value": "0", - "err": "Age must be equal or greater than 0" + "err": "{{child_enrollment.step1.age.v_min.err}}" }, "v_max": { "value": "5", - "err": "Age must be equal or less than 5" + "err": "{{child_enrollment.step1.age.v_max.err}}" }, "relevance": { "rules-engine": { @@ -265,7 +264,7 @@ }, "v_required": { "value": true, - "err": "Please enter the age" + "err": "{{child_enrollment.step1.age.v_required.err}}" } }, { @@ -274,14 +273,18 @@ "openmrs_entity": "person", "openmrs_entity_id": "gender", "type": "spinner", - "hint": "Sex", + "hint": "{{child_enrollment.step1.gender.hint}}", "values": [ + "{{child_enrollment.step1.gender.values[0]}}", + "{{child_enrollment.step1.gender.values[1]}}" + ], + "keys": [ "Male", "Female" ], "v_required": { "value": "true", - "err": "Please enter the sex" + "err": "{{child_enrollment.step1.gender.v_required.err}}" } }, { @@ -290,8 +293,12 @@ "openmrs_entity": "concept", "openmrs_entity_id": "161543AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "spinner", - "hint": "Early initiation of breastfeeding (1 hr)?", + "hint": "{{child_enrollment.step1.early_bf_1hr.hint}}", "values": [ + "{{child_enrollment.step1.early_bf_1hr.values[0]}}", + "{{child_enrollment.step1.early_bf_1hr.values[1]}}" + ], + "keys": [ "Yes", "No" ], @@ -300,8 +307,8 @@ "No": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, "v_required": { - "value": "true", - "err": "Please enter Early initiation of breastfeeding" + "value": "vrai", + "err": "{{child_enrollment.step1.early_bf_1hr.v_required.err}}" }, "relevance": { "rules-engine": { @@ -317,8 +324,12 @@ "openmrs_entity": "concept", "openmrs_entity_id": "159522AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "spinner", - "hint": "Physically challenged?", + "hint": "{{child_enrollment.step1.physically_challenged.hint}}", "values": [ + "{{child_enrollment.step1.physically_challenged.values[0]}}", + "{{child_enrollment.step1.physically_challenged.values[1]}}" + ], + "keys": [ "Yes", "No" ], @@ -328,9 +339,11 @@ }, "v_required": { "value": "true", - "err": "Please enter if Physically challenged" + "err": "{{child_enrollment.step1.physically_challenged.v_required.err}}" } } ] - } + }, + "relational_id": "", + "properties_file_name": "child_enrollment" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/child_hv_deworming.json b/opensrp-chw/src/main/assets/json.form/child_hv_deworming.json index 472e5d4b27..4fc2924a3a 100644 --- a/opensrp-chw/src/main/assets/json.form/child_hv_deworming.json +++ b/opensrp-chw/src/main/assets/json.form/child_hv_deworming.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Deworming {0} dose", + "title": "{{child_hv_deworming.step1.title}}", "fields": [ { "key": "deworming{0}_date", @@ -56,14 +56,15 @@ "openmrs_entity_id": "160753AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "date_picker", "image": "ic_form_deworming", - "hint": "When was Deworming {0} dose given?", + "hint": "{{child_hv_deworming.step1.deworming{0}_date.hint}}", "min_date": "today-120y", "max_date": "today", "v_required": { "value": "true", - "err": "Please enter the date deworming a was given" + "err": "{{child_hv_deworming.step1.deworming{0}_date.v_required.err}}" } } ] - } + }, + "properties_file_name": "child_hv_deworming" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/child_hv_dietary_diversity.json b/opensrp-chw/src/main/assets/json.form/child_hv_dietary_diversity.json index 20718478b1..8d02eda394 100644 --- a/opensrp-chw/src/main/assets/json.form/child_hv_dietary_diversity.json +++ b/opensrp-chw/src/main/assets/json.form/child_hv_dietary_diversity.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Minimum dietary diversity", + "title": "{{child_hv_dietary_diversity.step1.title}}", "fields": [ { "key": "diet_diversity", @@ -57,25 +57,25 @@ "openmrs_data_type": "select one", "type": "radio", "image": "ic_form_diverity", - "hint": "Has the child received, in the previous 24 hours, any animal products (e.g. eggs, liver, milk) or fruit?", + "hint": "{{child_hv_dietary_diversity.step1.diet_diversity.hint}}", "options": [ { "key": "chk_no_animal_products", - "text": "0 - no animal products or fruit", + "text": "{{child_hv_dietary_diversity.step1.diet_diversity.options.chk_no_animal_products.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "chk_no_animal_products" }, { "key": "chw_one_animal_product_or_fruit", - "text": "1 - one animal product OR one fruit", + "text": "{{child_hv_dietary_diversity.step1.diet_diversity.options.chw_one_animal_product_or_fruit.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "chw_one_animal_product_or_fruit" }, { "key": "chw_one_animal_product_and_fruit", - "text": "2 - one animal product AND one fruit", + "text": "{{child_hv_dietary_diversity.step1.diet_diversity.options.chw_one_animal_product_and_fruit.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "chw_one_animal_product_or_fruit" @@ -83,5 +83,6 @@ ] } ] - } + }, + "properties_file_name": "child_hv_dietary_diversity" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/child_hv_mnp.json b/opensrp-chw/src/main/assets/json.form/child_hv_mnp.json index d2bb11f8b5..44588ee711 100644 --- a/opensrp-chw/src/main/assets/json.form/child_hv_mnp.json +++ b/opensrp-chw/src/main/assets/json.form/child_hv_mnp.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "MNP {0} pack", + "title": "{{child_hv_mnp.step1.title}}", "fields": [ { "key": "mnp{0}_date", @@ -56,14 +56,15 @@ "openmrs_entity_id": "160753AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "date_picker", "image": "ic_form_mnp", - "hint": "When was MNP {0} pack given?", + "hint": "{{child_hv_mnp.step1.mnp{0}_date.hint}}", "min_date": "today-120y", "max_date": "today", "v_required": { "value": "true", - "err": "Please enter the date mnp was given" + "err": "{{child_hv_mnp.step1.mnp{0}_date.v_required.err}}" } } ] - } + }, + "properties_file_name": "child_hv_mnp" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/child_hv_muac.json b/opensrp-chw/src/main/assets/json.form/child_hv_muac.json index 4b91bac58e..cd8cef63f6 100644 --- a/opensrp-chw/src/main/assets/json.form/child_hv_muac.json +++ b/opensrp-chw/src/main/assets/json.form/child_hv_muac.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Mid-upper arm circumference (MUAC)", + "title": "{{child_hv_muac.step1.title}}", "fields": [ { "key": "muac", @@ -57,25 +57,25 @@ "openmrs_data_type": "select one", "type": "radio", "image": "ic_muac", - "hint": "What is the color of the MUAC tape for the child?", + "hint": "{{child_hv_muac.step1.muac.hint}}", "options": [ { "key": "chk_green", - "text": "Green", + "text": "{{child_hv_muac.step1.muac.options.chk_green.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "160909AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_yellow", - "text": "Yellow", + "text": "{{child_hv_muac.step1.muac.options.chk_yellow.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "160910AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_red", - "text": "Red", + "text": "{{child_hv_muac.step1.muac.options.chk_red.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "127778AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" @@ -83,5 +83,6 @@ ] } ] - } + }, + "properties_file_name": "child_hv_muac" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/child_hv_sleeping_under_llitn.json b/opensrp-chw/src/main/assets/json.form/child_hv_sleeping_under_llitn.json index c2daeee2b6..1142ef4dff 100644 --- a/opensrp-chw/src/main/assets/json.form/child_hv_sleeping_under_llitn.json +++ b/opensrp-chw/src/main/assets/json.form/child_hv_sleeping_under_llitn.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Sleeping under a LLITN", + "title": "{{child_hv_sleeping_under_llitn.step1.title}}", "fields": [ { "key": "llitn", @@ -57,10 +57,10 @@ "openmrs_data_type": "select one", "type": "spinner", "image": "form_llitn", - "hint": "Is the child sleeping under a Long Lasting Insecticide-Treated Net (LLITN)?", + "hint": "{{child_hv_sleeping_under_llitn.step1.llitn.hint}}", "values": [ - "Yes", - "No" + "{{child_hv_sleeping_under_llitn.step1.llitn.values[0]}}", + "{{child_hv_sleeping_under_llitn.step1.llitn.values[1]}}" ], "openmrs_choice_ids": { "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -68,5 +68,6 @@ } } ] - } + }, + "properties_file_name": "child_hv_sleeping_under_llitn" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/child_hv_vaccine_card_received.json b/opensrp-chw/src/main/assets/json.form/child_hv_vaccine_card_received.json index d919375b1f..375d218938 100644 --- a/opensrp-chw/src/main/assets/json.form/child_hv_vaccine_card_received.json +++ b/opensrp-chw/src/main/assets/json.form/child_hv_vaccine_card_received.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Child vaccine card received", + "title": "{{child_hv_vaccine_card_received.step1.title}}", "fields": [ { "key": "child_vaccine_card", @@ -57,8 +57,12 @@ "openmrs_data_type": "select one", "type": "spinner", "image": "form_received_card", - "hint": "Did the child receive their vaccine card?", + "hint": "{{child_hv_vaccine_card_received.step1.child_vaccine_card.hint}}", "values": [ + "{{child_hv_vaccine_card_received.step1.child_vaccine_card.values[0]}}", + "{{child_hv_vaccine_card_received.step1.child_vaccine_card.values[1]}}" + ], + "keys": [ "Yes", "No" ], @@ -68,5 +72,6 @@ } } ] - } + }, + "properties_file_name": "child_hv_vaccine_card_received" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/child_hv_vitamin_a.json b/opensrp-chw/src/main/assets/json.form/child_hv_vitamin_a.json index b162417371..36cc26d9c2 100644 --- a/opensrp-chw/src/main/assets/json.form/child_hv_vitamin_a.json +++ b/opensrp-chw/src/main/assets/json.form/child_hv_vitamin_a.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Vitamin A {0} dose", + "title": "{{child_hv_vitamin_a.step1.title}}", "fields": [ { "key": "vitamin_a{0}_date", @@ -56,14 +56,15 @@ "openmrs_entity_id": "160753AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "date_picker", "image": "ic_form_vitamin", - "hint": "When was Vitamin A {0} dose done?", + "hint": "{{child_hv_vitamin_a.step1.vitamin_a{0}_date.hint}}", "min_date": "today-120y", "max_date": "today", "v_required": { "value": "true", - "err": "Please enter the date vitamin a was given" + "err": "{{child_hv_vitamin_a.step1.vitamin_a{0}_date.v_required.err}}" } } ] - } + }, + "properties_file_name": "child_hv_vitamin_a" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/child_sick_form.json b/opensrp-chw/src/main/assets/json.form/child_sick_form.json index c10014e397..1e74e1c0a5 100644 --- a/opensrp-chw/src/main/assets/json.form/child_sick_form.json +++ b/opensrp-chw/src/main/assets/json.form/child_sick_form.json @@ -55,7 +55,7 @@ } }, "step1": { - "title": "CHILD DETAILS", + "title": "{{child_sick_form.step1.title}}", "next": "step2", "fields": [ { @@ -79,10 +79,10 @@ "openmrs_entity_id": "5090AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", "edit_type": "number", - "hint": "Take the child's height (cm)", + "hint": "{{child_sick_form.step1.child_height.hint}}", "v_required": { "value": "true", - "err": "Please enter the child's height" + "err": "{{child_sick_form.step1.child_height.v_required.err}}" } }, { @@ -92,10 +92,10 @@ "openmrs_entity_id": "5089AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", "edit_type": "number", - "hint": "Take the child's weight (kgs)", + "hint": "{{child_sick_form.step1.child_weight.hint}}", "v_required": { "value": "true", - "err": "Please enter the child's weight" + "err": "{{child_sick_form.step1.child_weight.v_required.err}}" } }, { @@ -105,16 +105,16 @@ "openmrs_entity_id": "child_prob", "openmrs_entity_parent": "", "edit_type": "name", - "hint": "What is the child's problem?", + "hint": "{{child_sick_form.step1.child_prob.hint}}", "v_required": { "value": "true", - "err": "Please enter the child's problem" + "err": "{{child_sick_form.step1.child_prob.v_required.err}}" } } ] }, "step2": { - "title": "GENERAL DANGER SIGNS", + "title": "{{child_sick_form.step2.title}}", "display_back_button": "true", "next": "step3", "fields": [ @@ -124,7 +124,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "159860AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Check for general danger signs:", + "label": "{{child_sick_form.step2.danger_signs.label}}", "combine_checkbox_option_values": "true", "exclusive": [ "None" @@ -132,44 +132,44 @@ "options": [ { "key": "not_able_to_drink", - "text": "Child is not able to drink or breastfeed", + "text": "{{child_sick_form.step2.danger_signs.options.not_able_to_drink.text}}", "value": false, "openmrs_choice_id": "159861AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "vomiting_everything", - "text": "Child is vomiting everything", + "text": "{{child_sick_form.step2.danger_signs.options.vomiting_everything.text}}", "value": false, "openmrs_choice_id": "164482AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "convulsions", - "text": "Child has had convulsions", + "text": "{{child_sick_form.step2.danger_signs.options.convulsions.text}}", "value": false, "openmrs_choice_id": "113054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "lethargic", - "text": "Child is lethargic or unconscious", + "text": "{{child_sick_form.step2.danger_signs.options.lethargic.text}}", "value": false, "openmrs_choice_id": "123818AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "child_convulsing_now", - "text": "Child is convulsing now", + "text": "{{child_sick_form.step2.danger_signs.options.child_convulsing_now.text}}", "value": false, "openmrs_choice_id": "164483AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "None", - "text": "None", + "text": "{{child_sick_form.step2.danger_signs.options.None.text}}", "value": false, "openmrs_choice_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } ], "v_required": { "value": "true", - "err": "Please select at least one" + "err": "{{child_sick_form.step2.danger_signs.v_required.err}}" } }, { @@ -178,8 +178,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child Has: VERY SEVERE DISEASE \n- Quickly complete the rest of this assessment \n- Give any pre-referral treatment immediately \n- Treat to prevent low blood sugar \n- Keep the child warm \n- Refer URGENTLY", - "toaster_info_text": "Child Has: VERY SEVERE DISEASE \n- Quickly complete the rest of this assessment \n- Give any pre-referral treatment immediately \n- Treat to prevent low blood sugar \n- Keep the child warm \n- Refer URGENTLY", + "text": "{{child_sick_form.step2.very_sev_disease.text}}", + "toaster_info_text": "{{child_sick_form.step2.very_sev_disease.toaster_info_text}}", "toaster_type": "problem", "relevance": { "rules-engine": { @@ -195,21 +195,21 @@ "openmrs_entity": "concept", "openmrs_entity_id": "74745AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "CHILD IS CONVULSING NOW: Give diazepam", + "label": "{{child_sick_form.step2.diazepam_given.label}}", "options": [ { "key": "yes", "openmrs_entity": "", "openmrs_entity_id": "165169AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Diazepam given" + "text": "{{child_sick_form.step2.diazepam_given.options.yes.text}}" }, { "key": "no", "openmrs_entity": "", "openmrs_entity_id": "162854AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Diazepam NOT given" + "text": "{{child_sick_form.step2.diazepam_given.options.no.text}}" } ], "relevance": { @@ -221,13 +221,13 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step2.diazepam_given.v_required.err}}" } } ] }, "step3": { - "title": "MAIN SYMPTOMS", + "title": "{{child_sick_form.step3.title}}", "display_back_button": "true", "next": "step4", "fields": [ @@ -237,7 +237,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1727AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Does the child have any of these symptoms?", + "label": "{{child_sick_form.step3.main_symptoms.label}}", "combine_checkbox_option_values": "true", "exclusive": [ "no_symptom" @@ -245,38 +245,38 @@ "options": [ { "key": "difficult_breathing", - "text": "Cough or difficulty breathing", + "text": "{{child_sick_form.step3.main_symptoms.options.difficult_breathing.text}}", "value": false, "openmrs_choice_id": "142373AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "diarrhoea", - "text": "Diarrhoea", + "text": "{{child_sick_form.step3.main_symptoms.options.diarrhoea.text}}", "value": false, "openmrs_choice_id": "142412AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "fever", - "text": "Fever", + "text": "{{child_sick_form.step3.main_symptoms.options.fever.text}}", "value": false, "openmrs_choice_id": "140238AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "ear_problems", - "text": "Ear problems", + "text": "{{child_sick_form.step3.main_symptoms.options.ear_problems.text}}", "value": false, "openmrs_choice_id": "141585AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "no_symptom", - "text": "None", + "text": "{{child_sick_form.step3.main_symptoms.options.no_symptom.text}}", "value": false, "openmrs_choice_id": "1660AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } ], "v_required": { "value": "true", - "err": "Please select at least one" + "err": "{{child_sick_form.step3.main_symptoms.v_required.err}}" } }, { @@ -285,8 +285,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has no danger signs or symptoms . \nFollow-up with the caregiver to make sure the child stays healthy.", - "toaster_info_text": "Child has no danger signs or symptoms . \nFollow-up with the caregiver to make sure the child stays healthy.", + "text": "{{child_sick_form.step3.no_symptoms.text}}", + "toaster_info_text": "{{child_sick_form.step3.no_symptoms.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -299,7 +299,7 @@ ] }, "step4": { - "title": "COUGH OR DIFFICULT BREATHING", + "title": "{{child_sick_form.step4.title}}", "next": "step5", "display_back_button": "true", "fields": [ @@ -309,26 +309,26 @@ "openmrs_entity": "concept", "openmrs_entity_id": "142373AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Does the child have cough or difficult breathing?", + "label": "{{child_sick_form.step4.difficult_breathing.label}}", "options": [ { "key": "yes", "openmrs_entity": "", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{child_sick_form.step4.difficult_breathing.options.yes.text}}" }, { "key": "no", "openmrs_entity": "", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{child_sick_form.step4.difficult_breathing.options.no.text}}" } ], "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step4.difficult_breathing.v_required.err}}" }, "relevance": { "rules-engine": { @@ -345,7 +345,7 @@ "openmrs_entity_id": "5959AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", "edit_type": "number", - "hint": "How many days has the child had a cough or difficult breathing?", + "hint": "{{child_sick_form.step4.period_difficult_breathing.hint}}", "relevance": { "rules-engine": { "ex-rules": { @@ -355,7 +355,7 @@ }, "v_required": { "value": "true", - "err": "Please enter the number of days" + "err": "{{child_sick_form.step4.period_difficult_breathing.v_required.err}}" } }, { @@ -364,8 +364,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Procedure:\n- Count the breaths in one minute. \n- Look for chest indrawing.\n- Look and listen for stridor.\n- Look and listen for wheezing.", - "toaster_info_text": "Procedure:\n- Count the breaths in one minute. \n- Look for chest indrawing.\n- Look and listen for stridor.\n- Look and listen for wheezing.", + "text": "{{child_sick_form.step4.breaths_minute_procedure.text}}", + "toaster_info_text": "{{child_sick_form.step4.breaths_minute_procedure.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -382,7 +382,7 @@ "openmrs_entity_id": "5242AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", "edit_type": "number", - "hint": "Number of breaths per minute", + "hint": "{{child_sick_form.step4.breaths_minute.hint}}", "relevance": { "rules-engine": { "ex-rules": { @@ -392,7 +392,7 @@ }, "v_required": { "value": "true", - "err": "Please enter the number of breaths" + "err": "{{child_sick_form.step4.breaths_minute.v_required.err}}" } }, { @@ -415,7 +415,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "142373AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Which of these difficult breathing symptoms does the child display?", + "label": "{{child_sick_form.step4.breathing_symptoms.label}}", "combine_checkbox_option_values": "true", "exclusive": [ "none", @@ -424,25 +424,25 @@ "options": [ { "key": "wheezing", - "text": "Child is wheezing", + "text": "{{child_sick_form.step4.breathing_symptoms.options.wheezing.text}}", "value": false, "openmrs_choice_id": "122863AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chest_indrawing", - "text": "Child has chest indrawing", + "text": "{{child_sick_form.step4.breathing_symptoms.options.chest_indrawing.text}}", "value": false, "openmrs_choice_id": "136768AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "stridor", - "text": "Child has stridor", + "text": "{{child_sick_form.step4.breathing_symptoms.options.stridor.text}}", "value": false, "openmrs_choice_id": "125782AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "none", - "text": "None", + "text": "{{child_sick_form.step4.breathing_symptoms.options.none.text}}", "value": false, "openmrs_choice_id": "1660AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } @@ -456,7 +456,7 @@ }, "v_required": { "value": "true", - "err": "Please select at least one" + "err": "{{child_sick_form.step4.breathing_symptoms.v_required.err}}" } }, { @@ -465,8 +465,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Give a trial of rapid acting bronchodilator up to 3 times, 15-20 minutes apart.", - "toaster_info_text": "Give a trial of rapid acting bronchodilator up to 3 times, 15-20 minutes apart.", + "text": "{{child_sick_form.step4.bronchodilator.text}}", + "toaster_info_text": "{{child_sick_form.step4.bronchodilator.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -482,21 +482,21 @@ "openmrs_entity": "concept", "openmrs_entity_id": "162400AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Did you administer the bronchodilator?", + "label": "{{child_sick_form.step4.bronchodilator_given.label}}", "options": [ { "key": "yes", "openmrs_entity": "", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{child_sick_form.step4.bronchodilator_given.options.yes.text}}" }, { "key": "no", "openmrs_entity": "", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{child_sick_form.step4.bronchodilator_given.options.no.text}}" } ], "relevance": { @@ -508,7 +508,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step4.bronchodilator_given.v_required.err}}" } }, { @@ -517,8 +517,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Count the breaths per minute again and look again for wheezing and/or chest indrawing.", - "toaster_info_text": "Count the breaths per minute again and look again for wheezing and/or chest indrawing.", + "text": "{{child_sick_form.step4.breaths_minute2_procedure.text}}", + "toaster_info_text": "{{child_sick_form.step4.breaths_minute2_procedure.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -535,7 +535,7 @@ "openmrs_entity_id": "5242AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", "edit_type": "number", - "hint": "Number of breaths per minute", + "hint": "{{child_sick_form.step4.breaths_minute2.hint}}", "relevance": { "rules-engine": { "ex-rules": { @@ -545,7 +545,7 @@ }, "v_required": { "value": "true", - "err": "Please enter the number of breaths" + "err": "{{child_sick_form.step4.breaths_minute2.v_required.err}}" } }, { @@ -568,21 +568,21 @@ "openmrs_entity": "concept", "openmrs_entity_id": "165169AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Chest indrawing stopped after administering bronchodilator?", + "label": "{{child_sick_form.step4.indrawing_bronchodilator.label}}", "options": [ { "key": "yes", "openmrs_entity": "", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{child_sick_form.step4.indrawing_bronchodilator.options.yes.text}}" }, { "key": "no", "openmrs_entity": "", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{child_sick_form.step4.indrawing_bronchodilator.options.no.text}}" } ], "relevance": { @@ -594,7 +594,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step4.indrawing_bronchodilator.v_required.err}}" } }, { @@ -631,28 +631,28 @@ "openmrs_entity": "concept", "openmrs_entity_id": "822AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Has the child been exposed to or is infected with HIV?", + "label": "{{child_sick_form.step4.hiv_exposure.label}}", "options": [ { "key": "yes", "openmrs_entity": "", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{child_sick_form.step4.hiv_exposure.options.yes.text}}" }, { "key": "no", "openmrs_entity": "", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{child_sick_form.step4.hiv_exposure.options.no.text}}" }, { "key": "dont_know", "openmrs_entity": "", "openmrs_entity_id": "1067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Don't know" + "text": "{{child_sick_form.step4.hiv_exposure.options.dont_know.text}}" } ], "relevance": { @@ -664,7 +664,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step4.hiv_exposure.v_required.err}}" } }, { @@ -715,8 +715,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has: SEVERE PNEUMONIA OR VERY SEVERE DISEASE\n\n- Give first dose of an appropriate antibiotic \n- Refer URGENTLY to the hospital**", - "toaster_info_text": "Child has: SEVERE PNEUMONIA OR VERY SEVERE DISEASE\n\n- Give first dose of an appropriate antibiotic \n- Refer URGENTLY to the hospital**", + "text": "{{child_sick_form.step4.severe_pneumonia_note.text}}", + "toaster_info_text": "{{child_sick_form.step4.severe_pneumonia_note.toaster_info_text}}", "toaster_type": "problem", "relevance": { "rules-engine": { @@ -732,8 +732,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has: PNEUMONIA\n\n\n- Give oral Amoxicillin for 5 days ***\n- If wheezing (or disappeared afte rapidly acting bronchodilator) give an inhaled bronchodilator for 5 days ****\n- Soothe the throat and relieve the cough with a safe remedy\n- If coughing or more than 14 days or recurrent wheeze, refer for possible TB or asthma assessment\n- Advise mother when to return immediately\n- Follow-up in 3 days", - "toaster_info_text": "Child has: PNEUMONIA\n\n\n- Give oral Amoxicillin for 5 days ***\n- If wheezing (or disappeared afte rapidly acting bronchodilator) give an inhaled bronchodilator for 5 days ****\n- Soothe the throat and relieve the cough with a safe remedy\n- If coughing or more than 14 days or recurrent wheeze, refer for possible TB or asthma assessment\n- Advise mother when to return immediately\n- Follow-up in 3 days", + "text": "{{child_sick_form.step4.pneumonia_note.text}}", + "toaster_info_text": "{{child_sick_form.step4.pneumonia_note.toaster_info_text}}", "toaster_type": "warning", "relevance": { "rules-engine": { @@ -749,8 +749,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has: COUGH OR COLD\n\n- If wheezing (or disappeared afte rapidly acting bronchodilator) give an inhaled bronchodilator for 5 days ****\n- Soothe the throat and relieve the cough with a safe remedy\n- If coughing or more than 14 days or recurrent wheeze, refer for possible TB or asthma assessment\n- Advise mother when to return immediately\n- Follow-up in 5 days if not improving", - "toaster_info_text": "Child has: COUGH OR COLD\n\n- If wheezing (or disappeared afte rapidly acting bronchodilator) give an inhaled bronchodilator for 5 days ****\n- Soothe the throat and relieve the cough with a safe remedy\n- If coughing or more than 14 days or recurrent wheeze, refer for possible TB or asthma assessment\n- Advise mother when to return immediately\n- Follow-up in 5 days if not improving", + "text": "{{child_sick_form.step4.cough_cold_note.text}}", + "toaster_info_text": "{{child_sick_form.step4.cough_cold_note.toaster_info_text}}", "toaster_type": "positive", "relevance": { "rules-engine": { @@ -766,8 +766,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "SEVERE PNEUMONIA OR VERY SEVERE DISEASE", - "toaster_info_text": "SEVERE PNEUMONIA OR VERY SEVERE DISEASE", + "text": "{{child_sick_form.step4.severe_pneumonia_treat_note.text}}", + "toaster_info_text": "{{child_sick_form.step4.severe_pneumonia_treat_note.toaster_info_text}}", "toaster_type": "problem", "relevance": { "rules-engine": { @@ -783,18 +783,18 @@ "openmrs_entity": "concept", "openmrs_entity_id": "severe_pneumonia_treatment", "openmrs_entity_parent": "", - "label": "Treatment given:", + "label": "{{child_sick_form.step4.severe_pneumonia_treatment.label}}", "combine_checkbox_option_values": "true", "options": [ { "key": "first_dose_antibiotic", - "text": "First dose of an appropriate antibiotic given", + "text": "{{child_sick_form.step4.severe_pneumonia_treatment.options.first_dose_antibiotic.text}}", "value": false, "openmrs_choice_id": "1556AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "refrered_urgently2", - "text": "URGENTLY referred to hospital", + "text": "{{child_sick_form.step4.severe_pneumonia_treatment.options.refrered_urgently2.text}}", "value": false, "openmrs_choice_id": "1648AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } @@ -808,7 +808,7 @@ }, "v_required": { "value": "true", - "err": "Please select at least one" + "err": "{{child_sick_form.step4.severe_pneumonia_treatment.v_required.err}}" } }, { @@ -817,8 +817,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "CHEST INDRAWING & HIV EXPOSED/INFECTED TREATMENT:\n\n- Give first dose of amoxicillin and refer.", - "toaster_info_text": "CHEST INDRAWING & HIV EXPOSED/INFECTED TREATMENT:\n\n- Give first dose of amoxicillin and refer.", + "text": "{{child_sick_form.step4.chest_indrawing_treat_note.text}}", + "toaster_info_text": "{{child_sick_form.step4.chest_indrawing_treat_note.toaster_info_text}}", "toaster_type": "warning", "relevance": { "rules-engine": { @@ -834,18 +834,18 @@ "openmrs_entity": "concept", "openmrs_entity_id": "136768AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Treatment given:", + "label": "{{child_sick_form.step4.chest_indraw_hiv.label}}", "combine_checkbox_option_values": "true", "options": [ { "key": "first_dose_antibiotic", - "text": "First dose of amoxicillin given", + "text": "{{child_sick_form.step4.chest_indraw_hiv.options.first_dose_antibiotic.text}}", "value": false, "openmrs_choice_id": "71160AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "referred", - "text": "Referred", + "text": "{{child_sick_form.step4.chest_indraw_hiv.options.referred.text}}", "value": false, "openmrs_choice_id": "1648AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } @@ -859,7 +859,7 @@ }, "v_required": { "value": "true", - "err": "Please select at least one" + "err": "{{child_sick_form.step4.chest_indraw_hiv.v_required.err}}" } }, { @@ -868,8 +868,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "PNEUMONIA TREATMENT:", - "toaster_info_text": "PNEUMONIA TREATMENT:", + "text": "{{child_sick_form.step4.pneumonia_treatment_note.text}}", + "toaster_info_text": "{{child_sick_form.step4.pneumonia_treatment_note.toaster_info_text}}", "toaster_type": "warning", "relevance": { "rules-engine": { @@ -885,30 +885,30 @@ "openmrs_entity": "concept", "openmrs_entity_id": "114100AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Treatment given:", + "label": "{{child_sick_form.step4.pneumonia_treatment.label}}", "combine_checkbox_option_values": "true", "options": [ { "key": "oral_amoxicillin", - "text": "Oral Amoxicillin given for 5 days", + "text": "{{child_sick_form.step4.pneumonia_treatment.options.oral_amoxicillin.text}}", "value": false, "openmrs_choice_id": "71160AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "oral_amoxicillin2", - "text": "Oral Amoxicillin given for 3 days", + "text": "{{child_sick_form.step4.pneumonia_treatment.options.oral_amoxicillin2.text}}", "value": false, "openmrs_choice_id": "71160AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "inhaled_broncodilator", - "text": "Inhaled bronchodilator given for 5 days", + "text": "{{child_sick_form.step4.pneumonia_treatment.options.inhaled_broncodilator.text}}", "value": false, "openmrs_choice_id": "162400AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "referred_tb_asthma", - "text": "Referred for possible TB or asthma assessment", + "text": "{{child_sick_form.step4.pneumonia_treatment.options.referred_tb_asthma.text}}", "value": false, "openmrs_choice_id": "1648AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } @@ -922,7 +922,7 @@ }, "v_required": { "value": "true", - "err": "Please select at least one" + "err": "{{child_sick_form.step4.pneumonia_treatment.v_required.err}}" } }, { @@ -931,8 +931,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "COUGH OR COLD TREATMENT:", - "toaster_info_text": "COUGH OR COLD TREATMENT:", + "text": "{{child_sick_form.step4.cold_treatment_note.text}}", + "toaster_info_text": "{{child_sick_form.step4.cold_treatment_note.toaster_info_text}}", "toaster_type": "warning", "relevance": { "rules-engine": { @@ -948,18 +948,18 @@ "openmrs_entity": "concept", "openmrs_entity_id": "106AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Treatment given:", + "label": "{{child_sick_form.step4.cough_cold_treatment.label}}", "combine_checkbox_option_values": "true", "options": [ { "key": "inhaled_bronchodilator_cough", - "text": "Inhaled bronchodilator given for 5 days", + "text": "{{child_sick_form.step4.cough_cold_treatment.options.inhaled_bronchodilator_cough.text}}", "value": false, "openmrs_choice_id": "162400AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "referred_tb_asthma", - "text": "Referred for possible TB or asthma assessment", + "text": "{{child_sick_form.step4.cough_cold_treatment.options.referred_tb_asthma.text}}", "value": false, "openmrs_choice_id": "1648AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } @@ -973,13 +973,13 @@ }, "v_required": { "value": "true", - "err": "Please select at least one" + "err": "{{child_sick_form.step4.cough_cold_treatment.v_required.err}}" } } ] }, "step5": { - "title": "DIARRHOEA CHECK", + "title": "{{child_sick_form.step5.title}}", "next": "step6", "display_back_button": "true", "fields": [ @@ -989,21 +989,21 @@ "openmrs_entity": "concept", "openmrs_entity_id": "142412AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Does the child have diarrhoea?", + "label": "{{child_sick_form.step5.diarrhoea.label}}", "options": [ { "key": "yes", "openmrs_entity": "", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{child_sick_form.step5.diarrhoea.options.yes.text}}" }, { "key": "no", "openmrs_entity": "", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{child_sick_form.step5.diarrhoea.options.no.text}}" } ], "relevance": { @@ -1015,7 +1015,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step5.diarrhoea.v_required.err}}" } }, { @@ -1025,7 +1025,7 @@ "openmrs_entity_id": "164456AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", "edit_type": "number", - "hint": "For how many days?", + "hint": "{{child_sick_form.step5.diarrhoea_period.hint}}", "relevance": { "rules-engine": { "ex-rules": { @@ -1035,7 +1035,7 @@ }, "v_required": { "value": "true", - "err": "Please enter the number of days" + "err": "{{child_sick_form.step5.diarrhoea_period.v_required.err}}" } }, { @@ -1044,21 +1044,21 @@ "openmrs_entity": "concept", "openmrs_entity_id": "117671AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Is there blood in the stool?", + "label": "{{child_sick_form.step5.blood_stool.label}}", "options": [ { "key": "yes", "openmrs_entity": "", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{child_sick_form.step5.blood_stool.options.yes.text}}" }, { "key": "no", "openmrs_entity": "", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{child_sick_form.step5.blood_stool.options.no.text}}" } ], "relevance": { @@ -1070,7 +1070,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step5.blood_stool.v_required.err}}" } }, { @@ -1079,7 +1079,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "openmrs_entity_parent": "", - "label": "What is the general condition on the child?", + "label": "{{child_sick_form.step5.gen_condition.label}}", "combine_checkbox_option_values": "true", "exclusive": [ "none" @@ -1087,19 +1087,19 @@ "options": [ { "key": "lethargic_unconcious", - "text": "Child is lethargic and unconscious", + "text": "{{child_sick_form.step5.gen_condition.options.lethargic_unconcious.text}}", "value": false, "openmrs_choice_id": "123818AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "restless_irritable", - "text": "Child is restless and irritable", + "text": "{{child_sick_form.step5.gen_condition.options.restless_irritable.text}}", "value": false, "openmrs_choice_id": "152330AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "none", - "text": "Child not lethargic, unconscious, restless or irritable", + "text": "{{child_sick_form.step5.gen_condition.options.none.text}}", "value": false, "openmrs_choice_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } @@ -1113,7 +1113,7 @@ }, "v_required": { "value": "true", - "err": "Please select at least one" + "err": "{{child_sick_form.step5.gen_condition.v_required.err}}" } }, { @@ -1122,21 +1122,21 @@ "openmrs_entity": "concept", "openmrs_entity_id": "164457AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Does the child have sunken eyes?", + "label": "{{child_sick_form.step5.sunken_eyes.label}}", "options": [ { "key": "yes", "openmrs_entity": "", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Child has sunken eyes" + "text": "{{child_sick_form.step5.sunken_eyes.options.yes.text}}" }, { "key": "no", "openmrs_entity": "", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Child does not have sunken eyes" + "text": "{{child_sick_form.step5.sunken_eyes.options.no.text}}" } ], "relevance": { @@ -1148,7 +1148,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step5.sunken_eyes.v_required.err}}" } }, { @@ -1157,21 +1157,21 @@ "openmrs_entity": "concept", "openmrs_entity_id": "drinking", "openmrs_entity_parent": "", - "label": "Offer the child fluid. How is the child drinking?", + "label": "{{child_sick_form.step5.drinking.label}}", "options": [ { "key": "drinking_poorly", "openmrs_entity": "", "openmrs_entity_id": "1983AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Child is not able to drink or drinking poorly" + "text": "{{child_sick_form.step5.drinking.options.drinking_poorly.text}}" }, { "key": "drinking_eargerly", "openmrs_entity": "", "openmrs_entity_id": "1840AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Child is drinking eagerly, thirsty" + "text": "{{child_sick_form.step5.drinking.options.drinking_eargerly.text}}" } ], "relevance": { @@ -1183,7 +1183,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step5.drinking.v_required.err}}" } }, { @@ -1192,21 +1192,21 @@ "openmrs_entity": "concept", "openmrs_entity_id": "164459AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "How does the skin of the abdomen react when pinched?", + "label": "{{child_sick_form.step5.pinching.label}}", "options": [ { "key": "skin_very_slowly", "openmrs_entity": "", "openmrs_entity_id": "164458AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Skin pinch goes back very slowly (longer than 2 seconds)?" + "text": "{{child_sick_form.step5.pinching.options.skin_very_slowly.text}}" }, { "key": "skin_slowly", "openmrs_entity": "", "openmrs_entity_id": "1115AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Skin pinch goes back quickly" + "text": "{{child_sick_form.step5.pinching.options.skin_slowly.text}}" } ], "relevance": { @@ -1218,7 +1218,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step5.pinching.v_required.err}}" } }, { @@ -1227,21 +1227,21 @@ "openmrs_entity": "concept", "openmrs_entity_id": "145621AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Has there been cholera instances in the community or have you visited an area with cholera?", + "label": "{{child_sick_form.step5.cholera_present.label}}", "options": [ { "key": "yes", "openmrs_entity": "", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{child_sick_form.step5.cholera_present.options.yes.text}}" }, { "key": "no", "openmrs_entity": "", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{child_sick_form.step5.cholera_present.options.no.text}}" } ], "relevance": { @@ -1253,7 +1253,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step5.cholera_present.v_required.err}}" } }, { @@ -1374,8 +1374,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has: SEVERE DEHYDRATION\n- If child has no other severe classification:\nGive fluid for severe dehydration (Plan C)\n\nOR\n\nIf child also has another severe\nclassification:\n- Refer URGENTLY to hospital with mother\ngiving frequent sips of ORS on the way\n- Advise the mother to continue\nbreastfeeding\n- If child is 2 years or older and there is\ncholera in your area, give antibiotic for\ncholera", - "toaster_info_text": "Child has: SEVERE DEHYDRATION\n- If child has no other severe classification:\nGive fluid for severe dehydration (Plan C)\n\nOR\n\nIf child also has another severe\nclassification:\n- Refer URGENTLY to hospital with mother\ngiving frequent sips of ORS on the way\n- Advise the mother to continue\nbreastfeeding\n- If child is 2 years or older and there is\ncholera in your area, give antibiotic for\ncholera", + "text": "{{child_sick_form.step5.sev_dehydration_note.text}}", + "toaster_info_text": "{{child_sick_form.step5.sev_dehydration_note.toaster_info_text}}", "toaster_type": "problem", "relevance": { "rules-engine": { @@ -1419,8 +1419,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has: SOME DEHYDRATION\n- Give fluid, zinc supplements, and food for some\ndehydration (Plan B)\n\nIf child also has a severe classification:\n- Refer URGENTLY to hospital with mother\ngiving frequent sips of ORS on the way\n- Advise the mother to continue\nbreastfeeding\n\n- Advise mother when to return immediately\n- Follow-up in 5 days if not improving", - "toaster_info_text": "Child has: SOME DEHYDRATION\n- Give fluid, zinc supplements, and food for some\ndehydration (Plan B)\n\nIf child also has a severe classification:\n- Refer URGENTLY to hospital with mother\ngiving frequent sips of ORS on the way\n- Advise the mother to continue\nbreastfeeding\n\n- Advise mother when to return immediately\n- Follow-up in 5 days if not improving", + "text": "{{child_sick_form.step5.some_dehydration_note.text}}", + "toaster_info_text": "{{child_sick_form.step5.some_dehydration_note.toaster_info_text}}", "toaster_type": "warning", "relevance": { "rules-engine": { @@ -1450,8 +1450,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has: NO DEHYDRATION\n- Give fluid, zinc supplements, and food to treat\ndiarrhoea at home (Plan A)\n- Advise mother when to return immediately\n- Follow-up in 5 days if not improving", - "toaster_info_text": "Child has: NO DEHYDRATION\n- Give fluid, zinc supplements, and food to treat\ndiarrhoea at home (Plan A)\n- Advise mother when to return immediately\n- Follow-up in 5 days if not improving", + "text": "{{child_sick_form.step5.no_dehydration_note.text}}", + "toaster_info_text": "{{child_sick_form.step5.no_dehydration_note.toaster_info_text}}", "toaster_type": "positive", "relevance": { "rules-engine": { @@ -1481,8 +1481,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has: SEVERE PERSISTENT DIARRHOEA\n- Treat dehydration before referral unless the child\nhas another severe classification\n- REFER TO HOSPITAL URGENTLY", - "toaster_info_text": "Child has: SEVERE PERSISTENT DIARRHOEA\n- Treat dehydration before referral unless the child\nhas another severe classification\n- REFER TO HOSPITAL URGENTLY", + "text": "{{child_sick_form.step5.sev_persistent_diarrhoea_note.text}}", + "toaster_info_text": "{{child_sick_form.step5.sev_persistent_diarrhoea_note.toaster_info_text}}", "toaster_type": "problem", "relevance": { "rules-engine": { @@ -1512,8 +1512,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has: PERSISTENT DIARRHOEA\n- Advise the mother on feeding a child who has\nPERSISTENT DIARRHOEA\n- Give multivitamins and minerals (including zinc) for 14 days\n- Follow-up in 5 days\n", - "toaster_info_text": "Child has: PERSISTENT DIARRHOEA\n- Advise the mother on feeding a child who has\nPERSISTENT DIARRHOEA\n- Give multivitamins and minerals (including zinc) for 14 days\n- Follow-up in 5 days\n", + "text": "{{child_sick_form.step5.persistent_diarrhoea_note.text}}", + "toaster_info_text": "{{child_sick_form.step5.persistent_diarrhoea_note.toaster_info_text}}", "toaster_type": "warning", "relevance": { "rules-engine": { @@ -1543,8 +1543,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has: DYSENTERY\n- Give ciprofloxacin for 3 days\n- Follow-up in 3 days", - "toaster_info_text": "Child has: DYSENTERY\n- Give ciprofloxacin for 3 days\n- Follow-up in 3 days", + "text": "{{child_sick_form.step5.dysentery_note.text}}", + "toaster_info_text": "{{child_sick_form.step5.dysentery_note.toaster_info_text}}", "toaster_type": "warning", "relevance": { "rules-engine": { @@ -1574,14 +1574,14 @@ "openmrs_entity": "concept", "openmrs_entity_id": "154015AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Treatment for severe dehydration (Plan C)", + "label": "{{child_sick_form.step5.sev_dehydratn_treat1.label}}", "options": [ { "key": "sev_dehydratn_other_fluids", "openmrs_entity": "", "openmrs_entity_id": "351AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Given fluid for severe dehydration (Plan C)" + "text": "{{child_sick_form.step5.sev_dehydratn_treat1.options.sev_dehydratn_other_fluids.text}}" } ], "relevance": { @@ -1593,7 +1593,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step5.sev_dehydratn_treat1.v_required.err}}" } }, { @@ -1616,30 +1616,30 @@ "openmrs_entity": "concept", "openmrs_entity_id": "154015AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Treatment for Severe dehydration with other classification", + "label": "{{child_sick_form.step5.sev_dehydratn_treat2.label}}", "combine_checkbox_option_values": "true", "options": [ { "key": "sev_dehydratn_no_treat", - "text": "No treatment given", + "text": "{{child_sick_form.step5.sev_dehydratn_treat2.options.sev_dehydratn_no_treat.text}}", "value": false, "openmrs_choice_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "sev_deh_referral", - "text": "Referred URGENTLY to hospital with mother giving frequent sips of ORS on the way", + "text": "{{child_sick_form.step5.sev_dehydratn_treat2.options.sev_deh_referral.text}}", "value": false, "openmrs_choice_id": "1883AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "sev_deh_breastfeed", - "text": "Advised the mother to continue breastfeeding", + "text": "{{child_sick_form.step5.sev_dehydratn_treat2.options.sev_deh_breastfeed.text}}", "value": false, "openmrs_choice_id": "1910AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "sev_deh_no_treat", - "text": "No treatment given", + "text": "{{child_sick_form.step5.sev_dehydratn_treat2.options.sev_deh_no_treat.text}}", "value": false, "openmrs_choice_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } @@ -1653,7 +1653,7 @@ }, "v_required": { "value": "true", - "err": "Please select at least one" + "err": "{{child_sick_form.step5.sev_dehydratn_treat2.v_required.err}}" } }, { @@ -1676,28 +1676,28 @@ "openmrs_entity": "concept", "openmrs_entity_id": "154015AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Treatment for severe dehydration for child in a cholera prone area", + "label": "{{child_sick_form.step5.sev_dehydratn_treat3.label}}", "options": [ { "key": "sev_deh_other_fluids", "openmrs_entity": "", "openmrs_entity_id": "351AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Given fluid for severe dehydration (Plan C)" + "text": "{{child_sick_form.step5.sev_dehydratn_treat3.options.sev_deh_other_fluids.text}}" }, { "key": "sev_deh_antibiotic", "openmrs_entity": "", "openmrs_entity_id": "1556AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Given antibiotic for cholera" + "text": "{{child_sick_form.step5.sev_dehydratn_treat3.options.sev_deh_antibiotic.text}}" }, { "key": "sev_deh_cholera_no_treatmnt", "openmrs_entity": "", "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No treatment" + "text": "{{child_sick_form.step5.sev_dehydratn_treat3.options.sev_deh_cholera_no_treatmnt.text}}" } ], "relevance": { @@ -1709,7 +1709,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step5.sev_dehydratn_treat3.v_required.err}}" } }, { @@ -1718,30 +1718,30 @@ "openmrs_entity": "concept", "openmrs_entity_id": "154016AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Treatment some dehydration: Plan B", + "label": "{{child_sick_form.step5.some_dehydration_others.label}}", "combine_checkbox_option_values": "true", "options": [ { "key": "some_dehydration_referal", - "text": "Refered URGENTLY to hospital with mother\ngiving frequent sips of ORS on the way", + "text": "{{child_sick_form.step5.some_dehydration_others.options.some_dehydration_referal.text}}", "value": false, "openmrs_choice_id": "1883AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "some_dehydration_breastfeeding", - "text": "Advised the mother to continue breastfeeding", + "text": "{{child_sick_form.step5.some_dehydration_others.options.some_dehydration_breastfeeding.text}}", "value": false, "openmrs_choice_id": "1910AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "some_dehydration_return", - "text": "Advised mother when to return immediately", + "text": "{{child_sick_form.step5.some_dehydration_others.options.some_dehydration_return.text}}", "value": false, "openmrs_choice_id": "164480AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "some_dehydration_follow_up", - "text": "Scheduled a follow-up in 5 days", + "text": "{{child_sick_form.step5.some_dehydration_others.options.some_dehydration_follow_up.text}}", "value": false, "openmrs_choice_id": "159489AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } @@ -1755,7 +1755,7 @@ }, "v_required": { "value": "true", - "err": "Please select at least one" + "err": "{{child_sick_form.step5.some_dehydration_others.v_required.err}}" } }, { @@ -1764,24 +1764,24 @@ "openmrs_entity": "concept", "openmrs_entity_id": "154017AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Treatment some dehydration:", + "label": "{{child_sick_form.step5.some_dehydration_treat.label}}", "combine_checkbox_option_values": "true", "options": [ { "key": "some_dehydration_treat_zinc", - "text": "Given fluid, zinc supplements, and food for some dehydration (Plan B)", + "text": "{{child_sick_form.step5.some_dehydration_treat.options.some_dehydration_treat_zinc.text}}", "value": false, "openmrs_choice_id": "161648AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "some_dehydration_treat_return", - "text": "Advised mother when to return immediately", + "text": "{{child_sick_form.step5.some_dehydration_treat.options.some_dehydration_treat_return.text}}", "value": false, "openmrs_choice_id": "164480AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "some_dehydration_treat_follow_up", - "text": "Scheduled a follow-up in 5 days if not improving", + "text": "{{child_sick_form.step5.some_dehydration_treat.options.some_dehydration_treat_follow_up.text}}", "value": false, "openmrs_choice_id": "159489AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } @@ -1795,7 +1795,7 @@ }, "v_required": { "value": "true", - "err": "Please select at least one" + "err": "{{child_sick_form.step5.some_dehydration_treat.v_required.err}}" } }, { @@ -1804,24 +1804,24 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1660AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Treatment: Plan A", + "label": "{{child_sick_form.step5.no_dehydration_treat.label}}", "combine_checkbox_option_values": "true", "options": [ { "key": "no_dehydration_fluids", - "text": "Given fluid, zinc supplements, and food to treat diarrhoea at home (Plan A)", + "text": "{{child_sick_form.step5.no_dehydration_treat.options.no_dehydration_fluids.text}}", "value": false, "openmrs_choice_id": "161648AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "no_dehydration_return", - "text": "Advised mother when to return immediately", + "text": "{{child_sick_form.step5.no_dehydration_treat.options.no_dehydration_return.text}}", "value": false, "openmrs_choice_id": "164480AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "no_dehydration_follow_up", - "text": "Follow-up in 5 days if not improving", + "text": "{{child_sick_form.step5.no_dehydration_treat.options.no_dehydration_follow_up.text}}", "value": false, "openmrs_choice_id": "159489AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } @@ -1835,7 +1835,7 @@ }, "v_required": { "value": "true", - "err": "Please select at least one" + "err": "{{child_sick_form.step5.no_dehydration_treat.v_required.err}}" } }, { @@ -1844,18 +1844,18 @@ "openmrs_entity": "concept", "openmrs_entity_id": "126626AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Treatment:", + "label": "{{child_sick_form.step5.sev_persistent_diarrhoea_treatment.label}}", "combine_checkbox_option_values": "true", "options": [ { "key": "sev_pers_diarrhoea_treatment", - "text": "Treated dehydration before referral unless the child has another severe classification", + "text": "{{child_sick_form.step5.sev_persistent_diarrhoea_treatment.options.sev_pers_diarrhoea_treatment.text}}", "value": false, "openmrs_choice_id": "351AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "sev_pers_referel", - "text": "Refered to hospital", + "text": "{{child_sick_form.step5.sev_persistent_diarrhoea_treatment.options.sev_pers_referel.text}}", "value": false, "openmrs_choice_id": "1589AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } @@ -1869,7 +1869,7 @@ }, "v_required": { "value": "true", - "err": "Please select at least one" + "err": "{{child_sick_form.step5.sev_persistent_diarrhoea_treatment.v_required.err}}" } }, { @@ -1878,18 +1878,18 @@ "openmrs_entity": "concept", "openmrs_entity_id": "5018AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Treatment:", + "label": "{{child_sick_form.step5.persistent_diarrhoea_treatment.label}}", "combine_checkbox_option_values": "true", "options": [ { "key": "sev_pers_feeding", - "text": "Advised the mother on feeding a child who has PERSISTENT DIARRHOEA", + "text": "{{child_sick_form.step5.persistent_diarrhoea_treatment.options.sev_pers_feeding.text}}", "value": false, "openmrs_choice_id": "1380AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "sev_pers_multivitamins", - "text": "Gave multivitamins and minerals (including zinc) for 14 days", + "text": "{{child_sick_form.step5.persistent_diarrhoea_treatment.options.sev_pers_multivitamins.text}}", "value": false, "openmrs_choice_id": "461AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } @@ -1903,7 +1903,7 @@ }, "v_required": { "value": "true", - "err": "Please select at least one" + "err": "{{child_sick_form.step5.persistent_diarrhoea_treatment.v_required.err}}" } }, { @@ -1912,21 +1912,21 @@ "openmrs_entity": "concept", "openmrs_entity_id": "152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Treatment for dysentery: Have you given ciprofloxacin for 3 days?", + "label": "{{child_sick_form.step5.dysentery_treat.label}}", "options": [ { "key": "yes", "openmrs_entity": "", "openmrs_entity_id": "1185AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Ciprofloxacin for 3 days given" + "text": "{{child_sick_form.step5.dysentery_treat.options.yes.text}}" }, { "key": "no", "openmrs_entity": "", "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Ciprofloxacin for 3 days NOT given" + "text": "{{child_sick_form.step5.dysentery_treat.options.no.text}}" } ], "relevance": { @@ -1938,13 +1938,13 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step5.dysentery_treat.v_required.err}}" } } ] }, "step6": { - "title": "FEVER", + "title": "{{child_sick_form.step6.title}}", "display_back_button": "true", "next": "step7", "fields": [ @@ -1954,21 +1954,21 @@ "openmrs_entity": "concept", "openmrs_entity_id": "140238AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Does the child have fever?", + "label": "{{child_sick_form.step6.fever.label}}", "options": [ { "key": "yes", "openmrs_entity": "", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{child_sick_form.step6.fever.options.yes.text}}" }, { "key": "no", "openmrs_entity": "", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{child_sick_form.step6.fever.options.no.text}}" } ], "relevance": { @@ -1980,7 +1980,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step6.fever.v_required.err}}" } }, { @@ -1989,8 +1989,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "By history or feels hot or temperature 37.5°C* or above.", - "toaster_info_text": "By history or feels hot or temperature 37.5°C* or above.", + "text": "{{child_sick_form.step6.fever_note.text}}", + "toaster_info_text": "{{child_sick_form.step6.fever_note.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -2006,28 +2006,28 @@ "openmrs_entity": "concept", "openmrs_entity_id": "164485AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Is the child sleeping under a long-lasting insecticide treated mosquito net?", + "label": "{{child_sick_form.step6.malaria_risk.label}}", "options": [ { "key": "low", "openmrs_entity": "", "openmrs_entity_id": "1407AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Child sleeping under a LLIT mosquito net." + "text": "{{child_sick_form.step6.malaria_risk.options.low.text}}" }, { "key": "high", "openmrs_entity": "", "openmrs_entity_id": "1408AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Child NOT sleeping under a LLIT mosquito net." + "text": "{{child_sick_form.step6.malaria_risk.options.high.text}}" }, { "key": "no_risk", "openmrs_entity": "", "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Child not at risk at all" + "text": "{{child_sick_form.step6.malaria_risk.options.no_risk.text}}" } ], "relevance": { @@ -2039,7 +2039,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step6.malaria_risk.v_required.err}}" } }, { @@ -2048,21 +2048,21 @@ "openmrs_entity": "concept", "openmrs_entity_id": "160906AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Has child travelled to malaria risk areas?", + "label": "{{child_sick_form.step6.travel_malaria_area.label}}", "options": [ { "key": "yes", "openmrs_entity": "", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Have traveled to Malaria Risk Areas" + "text": "{{child_sick_form.step6.travel_malaria_area.options.yes.text}}" }, { "key": "no", "openmrs_entity": "", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Not travel to Malaria risk areas" + "text": "{{child_sick_form.step6.travel_malaria_area.options.no.text}}" } ], "relevance": { @@ -2074,7 +2074,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step6.travel_malaria_area.v_required.err}}" } }, { @@ -2084,7 +2084,7 @@ "openmrs_entity_id": "1731AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", "edit_type": "number", - "hint": "For how many days has the child had fever?", + "hint": "{{child_sick_form.step6.fever_period.hint}}", "relevance": { "rules-engine": { "ex-rules": { @@ -2094,7 +2094,7 @@ }, "v_required": { "value": "true", - "err": "Please enter the number of days" + "err": "{{child_sick_form.step6.fever_period.v_required.err}}" } }, { @@ -2103,21 +2103,21 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1100AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Has the fever been present everyday?\n\nIf fever has been more than 7 days", + "label": "{{child_sick_form.step6.fever_everyday.label}}", "options": [ { "key": "yes", "openmrs_entity": "", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{child_sick_form.step6.fever_everyday.options.yes.text}}" }, { "key": "no", "openmrs_entity": "", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{child_sick_form.step6.fever_everyday.options.no.text}}" } ], "relevance": { @@ -2129,7 +2129,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step6.fever_everyday.v_required.err}}" } }, { @@ -2138,35 +2138,35 @@ "openmrs_entity": "concept", "openmrs_entity_id": "measles", "openmrs_entity_parent": "", - "label": "Has the child had measles within the last 3 months?", + "label": "{{child_sick_form.step6.measles.label}}", "options": [ { "key": "measles_3_months", "openmrs_entity": "", "openmrs_entity_id": "134561AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Child had measles in the last 3 months" + "text": "{{child_sick_form.step6.measles.options.measles_3_months.text}}" }, { "key": "measles_now", "openmrs_entity": "", "openmrs_entity_id": "1729AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Child has measles now" + "text": "{{child_sick_form.step6.measles.options.measles_now.text}}" }, { "key": "no_measles", "openmrs_entity": "", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Child has NOT had measles in the last 3 months" + "text": "{{child_sick_form.step6.measles.options.no_measles.text}}" }, { "key": "not_known", "openmrs_entity": "", "openmrs_entity_id": "163609AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Not known" + "text": "{{child_sick_form.step6.measles.options.not_known.text}}" } ], "relevance": { @@ -2178,7 +2178,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step6.measles.v_required.err}}" } }, { @@ -2187,7 +2187,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1727AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "What fever causes does the child display?", + "label": "{{child_sick_form.step6.fever_causes.label}}", "combine_checkbox_option_values": "true", "exclusive": [ "none_fever_cause" @@ -2195,25 +2195,25 @@ "options": [ { "key": "stiff_neck", - "text": "Stiff neck", + "text": "{{child_sick_form.step6.fever_causes.options.stiff_neck.text}}", "value": false, "openmrs_choice_id": "112721AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "fever_runny_nose", - "text": "Runny nose", + "text": "{{child_sick_form.step6.fever_causes.options.fever_runny_nose.text}}", "value": false, "openmrs_choice_id": "113224AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "fever_bacteria", - "text": "Bacterial cause of fever**", + "text": "{{child_sick_form.step6.fever_causes.options.fever_bacteria.text}}", "value": false, "openmrs_choice_id": "121262AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "none_fever_cause", - "text": "None", + "text": "{{child_sick_form.step6.fever_causes.options.none_fever_cause.text}}", "value": false, "openmrs_choice_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } @@ -2227,7 +2227,7 @@ }, "v_required": { "value": "true", - "err": "Please select at least one" + "err": "{{child_sick_form.step6.fever_causes.v_required.err}}" } }, { @@ -2236,36 +2236,36 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1729AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Which measles symptoms does the child have?", + "label": "{{child_sick_form.step6.measles_symptoms.label}}", "combine_checkbox_option_values": "true", "options": [ { "key": "gen_rash", - "text": "Generalized rash", + "text": "{{child_sick_form.step6.measles_symptoms.options.gen_rash.text}}", "value": false, "openmrs_choice_id": "512AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "cough", - "text": "Cough", + "text": "{{child_sick_form.step6.measles_symptoms.options.cough.text}}", "value": false, "openmrs_choice_id": "1488AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "measles_runny_nose", - "text": "Runny nose", + "text": "{{child_sick_form.step6.measles_symptoms.options.measles_runny_nose.text}}", "value": false, "openmrs_choice_id": "113224AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "red_eyes", - "text": "Red eyes", + "text": "{{child_sick_form.step6.measles_symptoms.options.red_eyes.text}}", "value": false, "openmrs_choice_id": "127777AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "measles_no_symptoms", - "text": "None", + "text": "{{child_sick_form.step6.measles_symptoms.options.measles_no_symptoms.text}}", "value": false, "openmrs_choice_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } @@ -2279,7 +2279,7 @@ }, "v_required": { "value": "true", - "err": "Please select at least one" + "err": "{{child_sick_form.step6.measles_symptoms.v_required.err}}" } }, { @@ -2302,8 +2302,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Do a malaria test", - "toaster_info_text": "Do a malaria test", + "text": "{{child_sick_form.step6.malaria_test_note.text}}", + "toaster_info_text": "{{child_sick_form.step6.malaria_test_note.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -2319,21 +2319,21 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1271AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Was Malaria test done?", + "label": "{{child_sick_form.step6.malaria_test_done.label}}", "options": [ { "key": "yes", "openmrs_entity": "", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Test done" + "text": "{{child_sick_form.step6.malaria_test_done.options.yes.text}}" }, { "key": "no", "openmrs_entity": "", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Test not available or not done" + "text": "{{child_sick_form.step6.malaria_test_done.options.no.text}}" } ], "relevance": { @@ -2345,7 +2345,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step6.malaria_test_done.v_required.err}}" } }, { @@ -2354,21 +2354,21 @@ "openmrs_entity": "concept", "openmrs_entity_id": "32AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "What were the Malaria test results?", + "label": "{{child_sick_form.step6.malaria_results.label}}", "options": [ { "key": "mal_pos", "openmrs_entity": "", "openmrs_entity_id": "703AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Child Malaria test is POSITIVE" + "text": "{{child_sick_form.step6.malaria_results.options.mal_pos.text}}" }, { "key": "mal_neg", "openmrs_entity": "", "openmrs_entity_id": "664AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Child Malaria test in NEGATIVE" + "text": "{{child_sick_form.step6.malaria_results.options.mal_neg.text}}" } ], "relevance": { @@ -2380,7 +2380,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step6.malaria_results.v_required.err}}" } }, { @@ -2389,7 +2389,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "115885AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Does the child display any additional measles symptoms?", + "label": "{{child_sick_form.step6.add_measles_symptoms.label}}", "combine_checkbox_option_values": "true", "exclusive": [ "none" @@ -2397,31 +2397,31 @@ "options": [ { "key": "deep_ulcers", - "text": "Deep mouth ulcers", + "text": "{{child_sick_form.step6.add_measles_symptoms.options.deep_ulcers.text}}", "value": false, "openmrs_choice_id": "111721AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "ext_ulcers", - "text": "Extensive mouth ulcers", + "text": "{{child_sick_form.step6.add_measles_symptoms.options.ext_ulcers.text}}", "value": false, "openmrs_choice_id": "105768BBBBBBBBBBBBBBBBBBBBBBBBBBBBBB" }, { "key": "pus_eye", - "text": "Pus draining from eye", + "text": "{{child_sick_form.step6.add_measles_symptoms.options.pus_eye.text}}", "value": false, "openmrs_choice_id": "164491AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "clouding_cornea", - "text": "Clouding of the cornea", + "text": "{{child_sick_form.step6.add_measles_symptoms.options.clouding_cornea.text}}", "value": false, "openmrs_choice_id": "152939AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "none", - "text": "None", + "text": "{{child_sick_form.step6.add_measles_symptoms.options.none.text}}", "value": false, "openmrs_choice_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } @@ -2435,7 +2435,7 @@ }, "v_required": { "value": "true", - "err": "Please select at least one" + "err": "{{child_sick_form.step6.add_measles_symptoms.v_required.err}}" } }, { @@ -2458,8 +2458,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has: VERY SEVERE FEBRILE\nDISEASE\n- Give first dose of artesunate or quinine for severe malaria\n- Give first dose of an appropriate antibiotic\n- Give one dose of paracetamol in clinic for high fever (38.5°C or above)\n- Treat the child to prevent low blood sugar\n- Refer URGENTLY to hospital", - "toaster_info_text": "Child has: VERY SEVERE FEBRILE\nDISEASE\n- Give first dose of artesunate or quinine for severe malaria\n- Give first dose of an appropriate antibiotic\n- Give one dose of paracetamol in clinic for high fever (38.5°C or above)\n- Treat the child to prevent low blood sugar\n- Refer URGENTLY to hospital", + "text": "{{child_sick_form.step6.vsf_disease_note.text}}", + "toaster_info_text": "{{child_sick_form.step6.vsf_disease_note.toaster_info_text}}", "toaster_type": "problem", "relevance": { "rules-engine": { @@ -2489,8 +2489,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has: MALARIA\n- Give recommended first line oral antimalarial\n- Give one dose of paracetamol in clinic for high fever (38.5°C or above)\n- Give appropriate antibiotic treatment for an identified bacterial cause\nof fever\n- Advise mother when to return immediately\n- Follow-up in 3 days if fever persists\n- If fever is present every day for more than 7 days, refer for\nassessment", - "toaster_info_text": "Child has: MALARIA\n- Give recommended first line oral antimalarial\n- Give one dose of paracetamol in clinic for high fever (38.5°C or above)\n- Give appropriate antibiotic treatment for an identified bacterial cause\nof fever\n- Advise mother when to return immediately\n- Follow-up in 3 days if fever persists\n- If fever is present every day for more than 7 days, refer for\nassessment", + "text": "{{child_sick_form.step6.no_test_malaria_note.text}}", + "toaster_info_text": "{{child_sick_form.step6.no_test_malaria_note.toaster_info_text}}", "toaster_type": "warning", "relevance": { "rules-engine": { @@ -2520,8 +2520,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has: MALARIA\n- Give recommended first line oral antimalarial\n- Give one dose of paracetamol in clinic for high fever (38.5°C or above)\n- Give appropriate antibiotic treatment for an identified bacterial cause\nof fever\n- Advise mother when to return immediately\n- Follow-up in 3 days if fever persists\n- If fever is present every day for more than 7 days, refer for\nassessment", - "toaster_info_text": "Child has: MALARIA\n- Give recommended first line oral antimalarial\n- Give one dose of paracetamol in clinic for high fever (38.5°C or above)\n- Give appropriate antibiotic treatment for an identified bacterial cause\nof fever\n- Advise mother when to return immediately\n- Follow-up in 3 days if fever persists\n- If fever is present every day for more than 7 days, refer for\nassessment", + "text": "{{child_sick_form.step6.malaria_note.text}}", + "toaster_info_text": "{{child_sick_form.step6.malaria_note.toaster_info_text}}", "toaster_type": "warning", "relevance": { "rules-engine": { @@ -2551,8 +2551,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has: FEVER:\nNO MALARIA\n- Give one dose of paracetamol in clinic for high fever (38.5°C or above)\n- Give appropriate antibiotic treatment for an identified bacterial\ncause of fever\n- Advise mother when to return immediately\n- Follow-up in 3 days if fever persists\n- If fever is present every day for more than 7 days, refer for\nassessment", - "toaster_info_text": "Child has: FEVER:\nNO MALARIA\n- Give one dose of paracetamol in clinic for high fever (38.5°C or above)\n- Give appropriate antibiotic treatment for an identified bacterial\ncause of fever\n- Advise mother when to return immediately\n- Follow-up in 3 days if fever persists\n- If fever is present every day for more than 7 days, refer for\nassessment", + "text": "{{child_sick_form.step6.no_malaria_treat_note.text}}", + "toaster_info_text": "{{child_sick_form.step6.no_malaria_treat_note.toaster_info_text}}", "toaster_type": "positive", "relevance": { "rules-engine": { @@ -2582,8 +2582,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has: VERY SEVERE FEBRILE\nDISEASE\n- Give first dose of an appropriate antibiotic.\n- Treat the child to prevent low blood sugar.\n- Give one dose of paracetamol in clinic for high fever (38.5°C or above)\n- Refer URGENTLY to hospital.", - "toaster_info_text": "Child has: VERY SEVERE FEBRILE\nDISEASE\n- Give first dose of an appropriate antibiotic.\n- Treat the child to prevent low blood sugar.\n- Give one dose of paracetamol in clinic for high fever (38.5°C or above)\n- Refer URGENTLY to hospital.", + "text": "{{child_sick_form.step6.vsf_disease2_note.text}}", + "toaster_info_text": "{{child_sick_form.step6.vsf_disease2_note.toaster_info_text}}", "toaster_type": "problem", "relevance": { "rules-engine": { @@ -2613,8 +2613,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has: FEVER\n- Give one dose of paracetamol in clinic for high fever (38.5°C or above)\n- Give appropriate antibiotic treatment for any identified bacterial\ncause of fever\n- Advise mother when to return immediately\n- Follow-up in 2 days if fever persists\n- If fever is present every day for more than 7 days, refer for\nassessment", - "toaster_info_text": "Child has: FEVER\n- Give one dose of paracetamol in clinic for high fever (38.5°C or above)\n- Give appropriate antibiotic treatment for any identified bacterial\ncause of fever\n- Advise mother when to return immediately\n- Follow-up in 2 days if fever persists\n- If fever is present every day for more than 7 days, refer for\nassessment", + "text": "{{child_sick_form.step6.illness_fever_note.text}}", + "toaster_info_text": "{{child_sick_form.step6.illness_fever_note.toaster_info_text}}", "toaster_type": "positive", "relevance": { "rules-engine": { @@ -2644,8 +2644,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has: SEVERE COMPLICATED\nMEASLES****\n- Give Vitamin A treatment\n- Give first dose of an appropriate antibiotic\n- If clouding of the cornea or pus draining from the eye, apply\ntetracycline eye ointment\n- Refer URGENTLY to hospital", - "toaster_info_text": "Child has: SEVERE COMPLICATED\nMEASLES****\n- Give Vitamin A treatment\n- Give first dose of an appropriate antibiotic\n- If clouding of the cornea or pus draining from the eye, apply\ntetracycline eye ointment\n- Refer URGENTLY to hospital", + "text": "{{child_sick_form.step6.complicated_measles_note.text}}", + "toaster_info_text": "{{child_sick_form.step6.complicated_measles_note.toaster_info_text}}", "toaster_type": "problem", "relevance": { "rules-engine": { @@ -2675,8 +2675,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has: MEASLES WITH EYE OR\nMOUTH\nCOMPLICATIONS****\n- Give Vitamin A treatment\n- If pus draining from the eye, treat eye infection with\ntetracycline eye ointment\n- If mouth ulcers, treat with gentian violet\n- Follow-up in 3 days", - "toaster_info_text": "Child has: MEASLES WITH EYE OR\nMOUTH\nCOMPLICATIONS****\n- Give Vitamin A treatment\n- If pus draining from the eye, treat eye infection with\ntetracycline eye ointment\n- If mouth ulcers, treat with gentian violet\n- Follow-up in 3 days", + "text": "{{child_sick_form.step6.measles_eye_mouth_note.text}}", + "toaster_info_text": "{{child_sick_form.step6.measles_eye_mouth_note.toaster_info_text}}", "toaster_type": "warning", "relevance": { "rules-engine": { @@ -2706,8 +2706,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has:\nMEASLES\n- Give Vitamin A treatment", - "toaster_info_text": "Child has:\nMEASLES\n- Give Vitamin A treatment", + "text": "{{child_sick_form.step6.illness_measles_note.text}}", + "toaster_info_text": "{{child_sick_form.step6.illness_measles_note.toaster_info_text}}", "toaster_type": "positive", "relevance": { "rules-engine": { @@ -2723,8 +2723,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "FEVER TREATMENT ", - "toaster_info_text": "FEVER TREATMENT", + "text": "{{child_sick_form.step6.fever_treatment_note.text}}", + "toaster_info_text": "{{child_sick_form.step6.fever_treatment_note.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -2740,8 +2740,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "VERY SEVERE FEBRILE DISEASE", - "toaster_info_text": "VERY SEVERE FEBRILE DISEASE", + "text": "{{child_sick_form.step6.vsf_disease_treat_note.text}}", + "toaster_info_text": "{{child_sick_form.step6.vsf_disease_treat_note.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -2757,42 +2757,42 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1714", "openmrs_entity_parent": "", - "label": "Treatment: \n\nRefer URGENTLY to hospital", + "label": "{{child_sick_form.step6.vsf_disease_treat.label}}", "combine_checkbox_option_values": "true", "options": [ { "key": "1st_dose_quinine_vsf", - "text": "Given first dose of artesunate or quinine for severe malaria", + "text": "{{child_sick_form.step6.vsf_disease_treat.options.1st_dose_quinine_vsf.text}}", "value": false, "openmrs_choice_id": "83023AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "1st_dose_antibiotic_vsf", - "text": "Given first dose of an appropriate antibiotic", + "text": "{{child_sick_form.step6.vsf_disease_treat.options.1st_dose_antibiotic_vsf.text}}", "value": false, "openmrs_choice_id": "1556AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "treat_low_blood_vsf", - "text": "Treated the child to prevent low blood sugar", + "text": "{{child_sick_form.step6.vsf_disease_treat.options.treat_low_blood_vsf.text}}", "value": false, "openmrs_choice_id": "138065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "paracetamol_vsf", - "text": "Given one dose of Paracetamol in clinic for high fever (38.5°C or above)", + "text": "{{child_sick_form.step6.vsf_disease_treat.options.paracetamol_vsf.text}}", "value": false, "openmrs_choice_id": "70116AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "referal_vsf", - "text": "URGENTLY REFERED child to hospital", + "text": "{{child_sick_form.step6.vsf_disease_treat.options.referal_vsf.text}}", "value": false, "openmrs_choice_id": "1883AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "no_treat_vsf", - "text": "No treatment given", + "text": "{{child_sick_form.step6.vsf_disease_treat.options.no_treat_vsf.text}}", "value": false, "openmrs_choice_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } @@ -2806,7 +2806,7 @@ }, "v_required": { "value": "true", - "err": "Please select at least one" + "err": "{{child_sick_form.step6.vsf_disease_treat.v_required.err}}" } }, { @@ -2815,8 +2815,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "MALARIA", - "toaster_info_text": "MALARIA", + "text": "{{child_sick_form.step6.malaria_treat_note.text}}", + "toaster_info_text": "{{child_sick_form.step6.malaria_treat_note.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -2832,48 +2832,48 @@ "openmrs_entity": "concept", "openmrs_entity_id": "116125AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Treatment:", + "label": "{{child_sick_form.step6.malaria_treat.label}}", "combine_checkbox_option_values": "true", "options": [ { "key": "1st_dose_antimalarial", - "text": "Given recommended first line oral antimalarial", + "text": "{{child_sick_form.step6.malaria_treat.options.1st_dose_antimalarial.text}}", "value": false, "openmrs_choice_id": "5839AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "paracetamol_mal", - "text": "Given one dose of Paracetamol in clinic for high fever (38.5°C or above)", + "text": "{{child_sick_form.step6.malaria_treat.options.paracetamol_mal.text}}", "value": false, "openmrs_choice_id": "70116AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "antibiotic_mal", - "text": "Given appropriate antibiotic treatment for an identified bacterial cause of fever", + "text": "{{child_sick_form.step6.malaria_treat.options.antibiotic_mal.text}}", "value": false, "openmrs_choice_id": "1556AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "retrun_mal", - "text": "Advised mother when to return immediately", + "text": "{{child_sick_form.step6.malaria_treat.options.retrun_mal.text}}", "value": false, "openmrs_choice_id": "164480AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "referal_mal", - "text": "Fever was present everyday for more than 7 days, reffered for assessment", + "text": "{{child_sick_form.step6.malaria_treat.options.referal_mal.text}}", "value": false, "openmrs_choice_id": "1648AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "follow_up_mal", - "text": "Scheduled a follow-up visit in 3 days", + "text": "{{child_sick_form.step6.malaria_treat.options.follow_up_mal.text}}", "value": false, "openmrs_choice_id": "159489AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "no_treat_mal", - "text": "No treatment given", + "text": "{{child_sick_form.step6.malaria_treat.options.no_treat_mal.text}}", "value": false, "openmrs_choice_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } @@ -2887,7 +2887,7 @@ }, "v_required": { "value": "true", - "err": "Please select at least one" + "err": "{{child_sick_form.step6.malaria_treat.v_required.err}}" } }, { @@ -2896,8 +2896,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has: FEVER:\nNO MALARIA\n- Give one dose of paracetamol in clinic for high fever (38.5°C or above)\n- Give appropriate antibiotic treatment for an identified bacterial\ncause of fever\n- Advise mother when to return immediately\n- Follow-up in 3 days if fever persists\n- If fever is present every day for more than 7 days, refer for\nassessment", - "toaster_info_text": "Child has: FEVER:\nNO MALARIA\n- Give one dose of paracetamol in clinic for high fever (38.5°C or above)\n- Give appropriate antibiotic treatment for an identified bacterial\ncause of fever\n- Advise mother when to return immediately\n- Follow-up in 3 days if fever persists\n- If fever is present every day for more than 7 days, refer for\nassessment", + "text": "{{child_sick_form.step6.no_malaria_note.text}}", + "toaster_info_text": "{{child_sick_form.step6.no_malaria_note.toaster_info_text}}", "toaster_type": "positive", "relevance": { "rules-engine": { @@ -2913,42 +2913,42 @@ "openmrs_entity": "concept", "openmrs_entity_id": "140238AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Treatment:", + "label": "{{child_sick_form.step6.no_malaria_treat.label}}", "combine_checkbox_option_values": "true", "options": [ { "key": "paracetamol_no_mal", - "text": "Given one dose of Paracetamol in clinic for high fever (38.5°C or above)", + "text": "{{child_sick_form.step6.no_malaria_treat.options.paracetamol_no_mal.text}}", "value": false, "openmrs_choice_id": "70116AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "antibiotic_no_mal", - "text": "Given appropriate antibiotic treatment for an identified bacterial cause of fever", + "text": "{{child_sick_form.step6.no_malaria_treat.options.antibiotic_no_mal.text}}", "value": false, "openmrs_choice_id": "1556AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "retrun_no_mal", - "text": "Advised mother when to return immediately", + "text": "{{child_sick_form.step6.no_malaria_treat.options.retrun_no_mal.text}}", "value": false, "openmrs_choice_id": "164480AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "referal_no_mal", - "text": "Fever was present everyday for more than 7 days, reffered for assessment", + "text": "{{child_sick_form.step6.no_malaria_treat.options.referal_no_mal.text}}", "value": false, "openmrs_choice_id": "1648AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "follow_up_no_mal", - "text": "Scheduled a follow-up visit in 3 days (if fever persists)", + "text": "{{child_sick_form.step6.no_malaria_treat.options.follow_up_no_mal.text}}", "value": false, "openmrs_choice_id": "159489AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "no_treat_no_mal", - "text": "No treatment given", + "text": "{{child_sick_form.step6.no_malaria_treat.options.no_treat_no_mal.text}}", "value": false, "openmrs_choice_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } @@ -2962,7 +2962,7 @@ }, "v_required": { "value": "true", - "err": "Please select at least one" + "err": "{{child_sick_form.step6.no_malaria_treat.v_required.err}}" } }, { @@ -2971,8 +2971,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "VERY SEVERE FEBRILE DISEASE", - "toaster_info_text": "VERY SEVERE FEBRILE DISEASE", + "text": "{{child_sick_form.step6.vsf_disease2_treat_note.text}}", + "toaster_info_text": "{{child_sick_form.step6.vsf_disease2_treat_note.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -2988,36 +2988,36 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1714", "openmrs_entity_parent": "", - "label": "Treatment:", + "label": "{{child_sick_form.step6.vsf_disease2_treat.label}}", "combine_checkbox_option_values": "true", "options": [ { "key": "1st_dose_antibiotic_vsf2", - "text": "Given first dose of an appropriate antibiotic", + "text": "{{child_sick_form.step6.vsf_disease2_treat.options.1st_dose_antibiotic_vsf2.text}}", "value": false, "openmrs_choice_id": "1556AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "treat_low_blood_vsf2", - "text": "Treated the child to prevent low blood sugar", + "text": "{{child_sick_form.step6.vsf_disease2_treat.options.treat_low_blood_vsf2.text}}", "value": false, "openmrs_choice_id": "138065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "paracetamol_vsf2", - "text": "Given one dose of Paracetamol in clinic for high fever (38.5°C or higher)", + "text": "{{child_sick_form.step6.vsf_disease2_treat.options.paracetamol_vsf2.text}}", "value": false, "openmrs_choice_id": "70116AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "referal_vsf2", - "text": "URGENTLY REFERED child to hospital", + "text": "{{child_sick_form.step6.vsf_disease2_treat.options.referal_vsf2.text}}", "value": false, "openmrs_choice_id": "1883AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "no_treat_vsf2", - "text": "No treatment given", + "text": "{{child_sick_form.step6.vsf_disease2_treat.options.no_treat_vsf2.text}}", "value": false, "openmrs_choice_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } @@ -3031,7 +3031,7 @@ }, "v_required": { "value": "true", - "err": "Please select at least one" + "err": "{{child_sick_form.step6.vsf_disease2_treat.v_required.err}}" } }, { @@ -3040,8 +3040,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "FEVER", - "toaster_info_text": "FEVER", + "text": "{{child_sick_form.step6.illness_fever_treat_note.text}}", + "toaster_info_text": "{{child_sick_form.step6.illness_fever_treat_note.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -3057,42 +3057,42 @@ "openmrs_entity": "concept", "openmrs_entity_id": "140238AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Treatment:", + "label": "{{child_sick_form.step6.illness_fever_treat.label}}", "combine_checkbox_option_values": "true", "options": [ { "key": "paracetamol_fever", - "text": "Given one dose of Paracetamol in clinic for high fever (38.5°C or higher)", + "text": "{{child_sick_form.step6.illness_fever_treat.options.paracetamol_fever.text}}", "value": false, "openmrs_choice_id": "70116AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "antibiotic_fever", - "text": "Give appropriate antibiotic treatment for an identified bacterial cause of fever", + "text": "{{child_sick_form.step6.illness_fever_treat.options.antibiotic_fever.text}}", "value": false, "openmrs_choice_id": "1556AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "return_fever", - "text": "Advised mother when to return immediately", + "text": "{{child_sick_form.step6.illness_fever_treat.options.return_fever.text}}", "value": false, "openmrs_choice_id": "164480AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "follow_up_fever", - "text": "Scheduled follow-up in 2 days (if fever persists)", + "text": "{{child_sick_form.step6.illness_fever_treat.options.follow_up_fever.text}}", "value": false, "openmrs_choice_id": "76948AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "referal_fever", - "text": "Fever was present everyday for more than 7 days, reffered for assessment", + "text": "{{child_sick_form.step6.illness_fever_treat.options.referal_fever.text}}", "value": false, "openmrs_choice_id": "1648AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "no_treat_fever", - "text": "No treatment given", + "text": "{{child_sick_form.step6.illness_fever_treat.options.no_treat_fever.text}}", "value": false, "openmrs_choice_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } @@ -3106,7 +3106,7 @@ }, "v_required": { "value": "true", - "err": "Please select at least one" + "err": "{{child_sick_form.step6.illness_fever_treat.v_required.err}}" } }, { @@ -3115,8 +3115,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "COMPLICATED MEASLES\nRefer URGENTLY to hospital!", - "toaster_info_text": "COMPLICATED MEASLES\nRefer URGENTLY to hospital!", + "text": "{{child_sick_form.step6.complicated_measles_treat_note.text}}", + "toaster_info_text": "{{child_sick_form.step6.complicated_measles_treat_note.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -3132,36 +3132,36 @@ "openmrs_entity": "concept", "openmrs_entity_id": "115885AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Treatment:", + "label": "{{child_sick_form.step6.complicated_measles_treat.label}}", "combine_checkbox_option_values": "true", "options": [ { "key": "vit_a_cm", - "text": "Given Vitamin A treatment", + "text": "{{child_sick_form.step6.complicated_measles_treat.options.vit_a_cm.text}}", "value": false, "openmrs_choice_id": "86339AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "1st_dose_antibiotic_cm", - "text": "Given first dose of an appropriate antibiotic", + "text": "{{child_sick_form.step6.complicated_measles_treat.options.1st_dose_antibiotic_cm.text}}", "value": false, "openmrs_choice_id": "1556AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "tetracycline_cm", - "text": "Clouding of the cornea or pus draining from the eye present, applied tetracycline eye ointment", + "text": "{{child_sick_form.step6.complicated_measles_treat.options.tetracycline_cm.text}}", "value": false, "openmrs_choice_id": "86339AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "referal_cm", - "text": "URGENTLY REFERED child to hospital", + "text": "{{child_sick_form.step6.complicated_measles_treat.options.referal_cm.text}}", "value": false, "openmrs_choice_id": "1883AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "no_treat_cm", - "text": "No treatment", + "text": "{{child_sick_form.step6.complicated_measles_treat.options.no_treat_cm.text}}", "value": false, "openmrs_choice_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } @@ -3175,7 +3175,7 @@ }, "v_required": { "value": "true", - "err": "Please select at least one" + "err": "{{child_sick_form.step6.complicated_measles_treat.v_required.err}}" } }, { @@ -3184,8 +3184,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "MEASLES WITH EYE OR MOUTH COMPLICATIONS", - "toaster_info_text": "MEASLES WITH EYE OR MOUTH COMPLICATIONS", + "text": "{{child_sick_form.step6.measles_eye_mouth_treat_note.text}}", + "toaster_info_text": "{{child_sick_form.step6.measles_eye_mouth_treat_note.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -3201,36 +3201,36 @@ "openmrs_entity": "concept", "openmrs_entity_id": "157691AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Treatment:", + "label": "{{child_sick_form.step6.measles_eye_mouth_treat.label}}", "combine_checkbox_option_values": "true", "options": [ { "key": "vit_a_mem", - "text": "Given Vitamin A treatment", + "text": "{{child_sick_form.step6.measles_eye_mouth_treat.options.vit_a_mem.text}}", "value": false, "openmrs_choice_id": "86339AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "tetracycline_mem", - "text": "Pus draining from the eye, treated eye infection with tetracycline eye ointment", + "text": "{{child_sick_form.step6.measles_eye_mouth_treat.options.tetracycline_mem.text}}", "value": false, "openmrs_choice_id": "86339AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "gentian_violet9", - "text": "Mouth has ulcers, treated with gentian violet 9", + "text": "{{child_sick_form.step6.measles_eye_mouth_treat.options.gentian_violet9.text}}", "value": false, "openmrs_choice_id": "84893AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "mem_follow_up", - "text": "Scheduled follow-up in 3 days", + "text": "{{child_sick_form.step6.measles_eye_mouth_treat.options.mem_follow_up.text}}", "value": false, "openmrs_choice_id": "76948AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "no_treat_mem", - "text": "No treatment", + "text": "{{child_sick_form.step6.measles_eye_mouth_treat.options.no_treat_mem.text}}", "value": false, "openmrs_choice_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } @@ -3244,7 +3244,7 @@ }, "v_required": { "value": "true", - "err": "Please select at least one" + "err": "{{child_sick_form.step6.measles_eye_mouth_treat.v_required.err}}" } }, { @@ -3253,8 +3253,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "MEASLES", - "toaster_info_text": "MEASLES", + "text": "{{child_sick_form.step6.illness_measles_treat_note.text}}", + "toaster_info_text": "{{child_sick_form.step6.illness_measles_treat_note.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -3270,21 +3270,21 @@ "openmrs_entity": "concept", "openmrs_entity_id": "152209AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Treatment given to the child for measles", + "label": "{{child_sick_form.step6.illness_measles_treat.label}}", "options": [ { "key": "vit_a_measles", "openmrs_entity": "", "openmrs_entity_id": "86339AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Given Vitamin A treatment" + "text": "{{child_sick_form.step6.illness_measles_treat.options.vit_a_measles.text}}" }, { "key": "no_treat_measles", "openmrs_entity": "", "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No treatment" + "text": "{{child_sick_form.step6.illness_measles_treat.options.no_treat_measles.text}}" } ], "relevance": { @@ -3296,13 +3296,13 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step6.illness_measles_treat.v_required.err}}" } } ] }, "step7": { - "title": "EAR PROBLEMS", + "title": "{{child_sick_form.step7.title}}", "display_back_button": "true", "next": "step8", "fields": [ @@ -3312,21 +3312,21 @@ "openmrs_entity": "concept", "openmrs_entity_id": "141585AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Does the child have an ear problem?", + "label": "{{child_sick_form.step7.ear_problem.label}}", "options": [ { "key": "yes", "openmrs_entity": "", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{child_sick_form.step7.ear_problem.options.yes.text}}" }, { "key": "no", "openmrs_entity": "", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{child_sick_form.step7.ear_problem.options.no.text}}" } ], "relevance": { @@ -3338,7 +3338,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step7.ear_problem.v_required.err}}" } }, { @@ -3347,21 +3347,21 @@ "openmrs_entity": "concept", "openmrs_entity_id": "114403AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Is there ear pain?", + "label": "{{child_sick_form.step7.ear_pain.label}}", "options": [ { "key": "yes", "openmrs_entity": "", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{child_sick_form.step7.ear_pain.options.yes.text}}" }, { "key": "no", "openmrs_entity": "", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{child_sick_form.step7.ear_pain.options.no.text}}" } ], "relevance": { @@ -3373,7 +3373,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step7.ear_pain.v_required.err}}" } }, { @@ -3382,21 +3382,21 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1070AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Is there ear discharge?", + "label": "{{child_sick_form.step7.ear_discharge.label}}", "options": [ { "key": "yes", "openmrs_entity": "", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{child_sick_form.step7.ear_discharge.options.yes.text}}" }, { "key": "no", "openmrs_entity": "", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{child_sick_form.step7.ear_discharge.options.no.text}}" } ], "relevance": { @@ -3408,7 +3408,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step7.ear_discharge.v_required.err}}" } }, { @@ -3418,7 +3418,7 @@ "openmrs_entity_id": "1731AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", "edit_type": "number", - "hint": "For how many days?", + "hint": "{{child_sick_form.step7.ear_discharge_time.hint}}", "relevance": { "rules-engine": { "ex-rules": { @@ -3428,7 +3428,7 @@ }, "v_required": { "value": "true", - "err": "Please enter the number of days" + "err": "{{child_sick_form.step7.ear_discharge_time.v_required.err}}" } }, { @@ -3437,21 +3437,21 @@ "openmrs_entity": "concept", "openmrs_entity_id": "164490AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Is there pus draining from the ear?", + "label": "{{child_sick_form.step7.pus.label}}", "options": [ { "key": "yes", "openmrs_entity": "", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{child_sick_form.step7.pus.options.yes.text}}" }, { "key": "no", "openmrs_entity": "", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{child_sick_form.step7.pus.options.no.text}}" } ], "relevance": { @@ -3463,7 +3463,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step7.pus.v_required.err}}" } }, { @@ -3472,21 +3472,21 @@ "openmrs_entity": "concept", "openmrs_entity_id": "164492AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Is there tender swelling behind the ear?", + "label": "{{child_sick_form.step7.tender_swelling.label}}", "options": [ { "key": "yes", "openmrs_entity": "", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{child_sick_form.step7.tender_swelling.options.yes.text}}" }, { "key": "no", "openmrs_entity": "", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{child_sick_form.step7.tender_swelling.options.no.text}}" } ], "relevance": { @@ -3498,7 +3498,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step7.tender_swelling.v_required.err}}" } }, { @@ -3521,8 +3521,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has: MASTOIDITIS\n- Give first dose of an appropriate antibiotic\n- Give first dose of paracetamol for pain\n- Refer URGENTLY to hospital", - "toaster_info_text": "Child has: MASTOIDITIS\n- Give first dose of an appropriate antibiotic\n- Give first dose of paracetamol for pain\n- Refer URGENTLY to hospital", + "text": "{{child_sick_form.step7.mastoiditis_infection_note.text}}", + "toaster_info_text": "{{child_sick_form.step7.mastoiditis_infection_note.toaster_info_text}}", "toaster_type": "problem", "relevance": { "rules-engine": { @@ -3552,8 +3552,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has: ACUTE EAR INFECTION\n- Give an antibiotic for 5 days\n- Give paracetamol for pain\n- Dry the ear by wicking\n- Follow-up in 5 days", - "toaster_info_text": "Child has: ACUTE EAR INFECTION\n- Give an antibiotic for 5 days\n- Give paracetamol for pain\n- Dry the ear by wicking\n- Follow-up in 5 days", + "text": "{{child_sick_form.step7.acute_ear_infection_note.text}}", + "toaster_info_text": "{{child_sick_form.step7.acute_ear_infection_note.toaster_info_text}}", "toaster_type": "warning", "relevance": { "rules-engine": { @@ -3583,8 +3583,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has: CHRONIC EAR INFECTION\n- Dry the ear by wicking\n- Treat with topical quinolone eardrops for 14 days\n- Follow-up in 5 days", - "toaster_info_text": "Child has: CHRONIC EAR INFECTION\n- Dry the ear by wicking\n- Treat with topical quinolone eardrops for 14 days\n- Follow-up in 5 days", + "text": "{{child_sick_form.step7.chronic_ear_infection_note.text}}", + "toaster_info_text": "{{child_sick_form.step7.chronic_ear_infection_note.toaster_info_text}}", "toaster_type": "warning", "relevance": { "rules-engine": { @@ -3614,8 +3614,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has: NO EAR INFECTION\n- No treatment", - "toaster_info_text": "Child has: NO EAR INFECTION\n- No treatment", + "text": "{{child_sick_form.step7.no_ear_infection_note.text}}", + "toaster_info_text": "{{child_sick_form.step7.no_ear_infection_note.toaster_info_text}}", "toaster_type": "positive", "relevance": { "rules-engine": { @@ -3631,8 +3631,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "EAR PROBLEM TREATMENT", - "toaster_info_text": "EAR PROBLEM TREATMENT", + "text": "{{child_sick_form.step7.ear_problem_treatment_note.text}}", + "toaster_info_text": "{{child_sick_form.step7.ear_problem_treatment_note.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -3648,24 +3648,24 @@ "openmrs_entity": "concept", "openmrs_entity_id": "134614AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Treatment given for mastoiditis:", + "label": "{{child_sick_form.step7.mastoiditis_treat.label}}", "combine_checkbox_option_values": "true", "options": [ { "key": "1st_dose_antibiotic", - "text": "First dose of an appropriate antibiotic given", + "text": "{{child_sick_form.step7.mastoiditis_treat.options.1st_dose_antibiotic.text}}", "value": false, "openmrs_choice_id": "1556AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "1st_dose_paracetamol", - "text": "First dose of paracetamol given for pain", + "text": "{{child_sick_form.step7.mastoiditis_treat.options.1st_dose_paracetamol.text}}", "value": false, "openmrs_choice_id": "70116AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "ear_referral", - "text": "URGENTLY referred to hospital", + "text": "{{child_sick_form.step7.mastoiditis_treat.options.ear_referral.text}}", "value": false, "openmrs_choice_id": "1883AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } @@ -3679,7 +3679,7 @@ }, "v_required": { "value": "true", - "err": "Please select at least one" + "err": "{{child_sick_form.step7.mastoiditis_treat.v_required.err}}" } }, { @@ -3688,24 +3688,24 @@ "openmrs_entity": "concept", "openmrs_entity_id": "117086AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Treatment given for acute ear infection:", + "label": "{{child_sick_form.step7.acute_ear_treat.label}}", "combine_checkbox_option_values": "true", "options": [ { "key": "acute_ear_antibiotic", - "text": "Antibiotic given for 5 days", + "text": "{{child_sick_form.step7.acute_ear_treat.options.acute_ear_antibiotic.text}}", "value": false, "openmrs_choice_id": "1556AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "acute_ear_paracetamol", - "text": "Paracetamol given for pain", + "text": "{{child_sick_form.step7.acute_ear_treat.options.acute_ear_paracetamol.text}}", "value": false, "openmrs_choice_id": "70116AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "acute_ear_dry", - "text": "Ear dried by wicking", + "text": "{{child_sick_form.step7.acute_ear_treat.options.acute_ear_dry.text}}", "value": false, "openmrs_choice_id": "1185AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } @@ -3719,7 +3719,7 @@ }, "v_required": { "value": "true", - "err": "Please select at least one" + "err": "{{child_sick_form.step7.acute_ear_treat.v_required.err}}" } }, { @@ -3728,18 +3728,18 @@ "openmrs_entity": "concept", "openmrs_entity_id": "117087AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Treatment given for chronic ear infection:", + "label": "{{child_sick_form.step7.chronic_ear_treat.label}}", "combine_checkbox_option_values": "true", "options": [ { "key": "chronic_ear_dry", - "text": "Ear dried by wicking", + "text": "{{child_sick_form.step7.chronic_ear_treat.options.chronic_ear_dry.text}}", "value": false, "openmrs_choice_id": "1185AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "topical_quinolone", - "text": "Treated with topical quinolone eardrops for 14 days", + "text": "{{child_sick_form.step7.chronic_ear_treat.options.topical_quinolone.text}}", "value": false, "openmrs_choice_id": "162304AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } @@ -3753,7 +3753,7 @@ }, "v_required": { "value": "true", - "err": "Please select at least one" + "err": "{{child_sick_form.step7.chronic_ear_treat.v_required.err}}" } }, { @@ -3762,8 +3762,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has: NO EAR INFECTION\n- No treatment", - "toaster_info_text": "Child has: NO EAR INFECTION\n- No treatment", + "text": "{{child_sick_form.step7.ear_treatment_note.text}}", + "toaster_info_text": "{{child_sick_form.step7.ear_treatment_note.toaster_info_text}}", "toaster_type": "positive", "relevance": { "rules-engine": { @@ -3776,7 +3776,7 @@ ] }, "step8": { - "title": "CHECK FOR ANAEMIA", + "title": "{{child_sick_form.step8.title}}", "display_back_button": "true", "next": "step9", "fields": [ @@ -3786,33 +3786,33 @@ "openmrs_entity": "concept", "openmrs_entity_id": "5245AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Does the child have palmar pallor?", + "label": "{{child_sick_form.step8.palmar_pallor.label}}", "options": [ { "key": "severe", "openmrs_entity": "", "openmrs_entity_id": "1500AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Child has severe palmar pallor" + "text": "{{child_sick_form.step8.palmar_pallor.options.severe.text}}" }, { "key": "some", "openmrs_entity": "", "openmrs_entity_id": "164493AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Child has some palmar pallor" + "text": "{{child_sick_form.step8.palmar_pallor.options.some.text}}" }, { "key": "no_pallor", "openmrs_entity": "", "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No palmar pallor" + "text": "{{child_sick_form.step8.palmar_pallor.options.no_pallor.text}}" } ], "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step8.palmar_pallor.v_required.err}}" } }, { @@ -3821,8 +3821,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "SEVERE PALMAR PALLOR:\n\n- Check for sickle cell anaemia if common in this area.\n- Refer URGENTLY to hopsital", - "toaster_info_text": "SEVERE PALMAR PALLOR:\n\n- Check for sickle cell anaemia if common in this area.\n- Refer URGENTLY to hopsital", + "text": "{{child_sick_form.step8.sev_palmar_note.text}}", + "toaster_info_text": "{{child_sick_form.step8.sev_palmar_note.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -3852,8 +3852,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has: SEVERE ANAEMIA\n- Refer URGENTLY to hopsital", - "toaster_info_text": "Child has: SEVERE ANAEMIA\n- Refer URGENTLY to hopsital", + "text": "{{child_sick_form.step8.severe_anaemia_note.text}}", + "toaster_info_text": "{{child_sick_form.step8.severe_anaemia_note.toaster_info_text}}", "toaster_type": "problem", "relevance": { "rules-engine": { @@ -3883,8 +3883,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has: ANAEMIA\n- Give iron**\n- Give mebendazole if child is 1 year or older and\nhas not had a dose in the previous 6 months\n- Advise mother when to return immediately\n- Follow-up in 14 days", - "toaster_info_text": "Child has: ANAEMIA\n- Give iron**\n- Give mebendazole if child is 1 year or older and\nhas not had a dose in the previous 6 months\n- Advise mother when to return immediately\n- Follow-up in 14 days", + "text": "{{child_sick_form.step8.anaemia_note.text}}", + "toaster_info_text": "{{child_sick_form.step8.anaemia_note.toaster_info_text}}", "toaster_type": "warning", "relevance": { "rules-engine": { @@ -3914,8 +3914,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has: NO ANAEMIA\n- If child is less than 2 years old, assess the child's feeding and counsel the mother according to the feeding recommendations.", - "toaster_info_text": "Child has: NO ANAEMIA\n- If child is less than 2 years old, assess the child's feeding and counsel the mother according to the feeding recommendations.", + "text": "{{child_sick_form.step8.no_anaemia_note.text}}", + "toaster_info_text": "{{child_sick_form.step8.no_anaemia_note.toaster_info_text}}", "toaster_type": "positive", "relevance": { "rules-engine": { @@ -3931,21 +3931,21 @@ "openmrs_entity": "concept", "openmrs_entity_id": "158420AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Does the child have a feeding problem?", + "label": "{{child_sick_form.step8.feeding_problem.label}}", "options": [ { "key": "yes", "openmrs_entity": "", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{child_sick_form.step8.feeding_problem.options.yes.text}}" }, { "key": "no", "openmrs_entity": "", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{child_sick_form.step8.feeding_problem.options.no.text}}" } ], "relevance": { @@ -3957,7 +3957,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step8.feeding_problem.v_required.err}}" } }, { @@ -3966,8 +3966,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has: NO ANAEMIA\n- No treatment required.", - "toaster_info_text": "Child has: NO ANAEMIA\n- No treatment required.", + "text": "{{child_sick_form.step8.no_anaemia_treat_under2.text}}", + "toaster_info_text": "{{child_sick_form.step8.no_anaemia_treat_under2.toaster_info_text}}", "toaster_type": "positive", "relevance": { "rules-engine": { @@ -3983,8 +3983,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "ANAEMIA TREATMENT", - "toaster_info_text": "ANAEMIA TREATMENT", + "text": "{{child_sick_form.step8.anemia_treatment_note.text}}", + "toaster_info_text": "{{child_sick_form.step8.anemia_treatment_note.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -4000,21 +4000,21 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1788AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Was child referred to the nearest hospital?", + "label": "{{child_sick_form.step8.anaemia_treat_refer.label}}", "options": [ { "key": "yes", "openmrs_entity": "", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{child_sick_form.step8.anaemia_treat_refer.options.yes.text}}" }, { "key": "no", "openmrs_entity": "", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{child_sick_form.step8.anaemia_treat_refer.options.no.text}}" } ], "relevance": { @@ -4026,7 +4026,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step8.anaemia_treat_refer.v_required.err}}" } }, { @@ -4035,24 +4035,24 @@ "openmrs_entity": "concept", "openmrs_entity_id": "121629AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Anaemia treatment provided:", + "label": "{{child_sick_form.step8.anaemia_treat.label}}", "combine_checkbox_option_values": "true", "options": [ { "key": "give_iron", - "text": "Iron given", + "text": "{{child_sick_form.step8.anaemia_treat.options.give_iron.text}}", "value": false, "openmrs_choice_id": "78218AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "mabedazol", - "text": "Mebendazole given", + "text": "{{child_sick_form.step8.anaemia_treat.options.mabedazol.text}}", "value": false, "openmrs_choice_id": "79413AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "anaemia_advise_mother", - "text": "Advised mother when to return immediately", + "text": "{{child_sick_form.step8.anaemia_treat.options.anaemia_advise_mother.text}}", "value": false, "openmrs_choice_id": "164480AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } @@ -4066,7 +4066,7 @@ }, "v_required": { "value": "true", - "err": "Please select at least one" + "err": "{{child_sick_form.step8.anaemia_treat.v_required.err}}" } }, { @@ -4075,8 +4075,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has feeding problem: Follow-up in 5 days", - "toaster_info_text": "Child has feeding problem: Follow-up in 5 days", + "text": "{{child_sick_form.step8.feeding_problem_follow_up.text}}", + "toaster_info_text": "{{child_sick_form.step8.feeding_problem_follow_up.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -4089,7 +4089,7 @@ ] }, "step9": { - "title": "ACUTE MALNUTRITION CHECK", + "title": "{{child_sick_form.step9.title}}", "display_back_button": "true", "next": "step10", "fields": [ @@ -4099,26 +4099,26 @@ "openmrs_entity": "concept", "openmrs_entity_id": "165375AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Does the child have oedema of both feet?", + "label": "{{child_sick_form.step9.oedema.label}}", "options": [ { "key": "yes", "openmrs_entity": "", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{child_sick_form.step9.oedema.options.yes.text}}" }, { "key": "no", "openmrs_entity": "", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{child_sick_form.step9.oedema.options.no.text}}" } ], "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step9.oedema.v_required.err}}" } }, { @@ -4128,10 +4128,10 @@ "openmrs_entity_id": "1343AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", "edit_type": "number", - "hint": "What is the child's MUAC reading (in mm)?", + "hint": "{{child_sick_form.step9.muac.hint}}", "v_required": { "value": "true", - "err": "Please enter the child's reading" + "err": "{{child_sick_form.step9.muac.v_required.err}}" } }, { @@ -4154,8 +4154,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Weight-for-height (WFH) z-score is: \n {wfh_zscore}", - "toaster_info_text": "Weight-for-height (WFH) z-score is: \n {wfh_zscore}", + "text": "{{child_sick_form.step9.wfh_zscore_note.text}}", + "toaster_info_text": "{{child_sick_form.step9.wfh_zscore_note.toaster_info_text}}", "toaster_type": "info", "calculation": { "rules-engine": { @@ -4185,26 +4185,26 @@ "openmrs_entity": "concept", "openmrs_entity_id": "ruft_feed", "openmrs_entity_parent": "", - "label": "Offer the child RUTF** to eat. Child is:", + "label": "{{child_sick_form.step9.rutf_feed.label}}", "options": [ { "key": "not_finished_rutf", "openmrs_entity": "", "openmrs_entity_id": "1118AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Not able to finish RUTF portion" + "text": "{{child_sick_form.step9.rutf_feed.options.not_finished_rutf.text}}" }, { "key": "finished_rutf", "openmrs_entity": "", "openmrs_entity_id": "1267AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Able to finish RUTF portion" + "text": "{{child_sick_form.step9.rutf_feed.options.finished_rutf.text}}" } ], "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step9.rutf_feed.v_required.err}}" }, "relevance": { "rules-engine": { @@ -4220,26 +4220,26 @@ "openmrs_entity": "concept", "openmrs_entity_id": "164467AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Does the child have a breastfeeding\nproblem?", + "label": "{{child_sick_form.step9.breastfeeding_prob.label}}", "options": [ { "key": "yes", "openmrs_entity": "", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{child_sick_form.step9.breastfeeding_prob.options.yes.text}}" }, { "key": "no", "openmrs_entity": "", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{child_sick_form.step9.breastfeeding_prob.options.no.text}}" } ], "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step9.breastfeeding_prob.v_required.err}}" }, "relevance": { "rules-engine": { @@ -4269,8 +4269,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has: COMPLICATED SEVERE ACUTE MALNUTRITION\n- Give first dose of an appropriate antibiotic\n- Treat the child to prevent low blood sugar\n- Keep the child warm\n- Refer URGENTLY to hospital", - "toaster_info_text": "Child has: COMPLICATED SEVERE ACUTE MALNUTRITION\n- Give first dose of an appropriate antibiotic\n- Treat the child to prevent low blood sugar\n- Keep the child warm\n- Refer URGENTLY to hospital", + "text": "{{child_sick_form.step9.complicated_sam_note.text}}", + "toaster_info_text": "{{child_sick_form.step9.complicated_sam_note.toaster_info_text}}", "toaster_type": "problem", "relevance": { "rules-engine": { @@ -4300,8 +4300,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has: UNCOMPLICATED SEVERE ACUTE MALNUTRITION\n- Give oral antibiotics for 5 days\n- Give ready-to-use therapeutic food for a child aged 6 months or more\n- Counsel the mother on how to feed the child\n- Assess for possible TB infection\n- Advise mother when to return immediately\n- Follow up in 7 days", - "toaster_info_text": "Child has: UNCOMPLICATED SEVERE ACUTE MALNUTRITION\n- Give oral antibiotics for 5 days\n- Give ready-to-use therapeutic food for a child aged 6 months or more\n- Counsel the mother on how to feed the child\n- Assess for possible TB infection\n- Advise mother when to return immediately\n- Follow up in 7 days", + "text": "{{child_sick_form.step9.uncomplicated_sam_note.text}}", + "toaster_info_text": "{{child_sick_form.step9.uncomplicated_sam_note.toaster_info_text}}", "toaster_type": "warning", "relevance": { "rules-engine": { @@ -4331,8 +4331,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has: MODERATE ACUTE MALNUTRITION\n- Assess the child's feeding and counsel the mother on the feeding recommendations\n- If feeding problem, follow up in 7 days\n- Assess for possible TB infection.\n- Advise mother when to return immediately\n- Follow-up in 30 days", - "toaster_info_text": "Child has: MODERATE ACUTE MALNUTRITION\n- Assess the child's feeding and counsel the mother on the feeding recommendations\n- If feeding problem, follow up in 7 days\n- Assess for possible TB infection.\n- Advise mother when to return immediately\n- Follow-up in 30 days", + "text": "{{child_sick_form.step9.mam_note.text}}", + "toaster_info_text": "{{child_sick_form.step9.mam_note.toaster_info_text}}", "toaster_type": "warning", "relevance": { "rules-engine": { @@ -4362,8 +4362,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has: NO ACUTE MALNUTRITION\n- If child is less than 2 years old, assess the child's feeding and counsel the mother on feeding according to the feeding recommendations\n- If feeding problem, follow-up in 7 days", - "toaster_info_text": "Child has: NO ACUTE MALNUTRITION\n- If child is less than 2 years old, assess the child's feeding and counsel the mother on feeding according to the feeding recommendations\n- If feeding problem, follow-up in 7 days", + "text": "{{child_sick_form.step9.no_acute_maln_note.text}}", + "toaster_info_text": "{{child_sick_form.step9.no_acute_maln_note.toaster_info_text}}", "toaster_type": "positive", "relevance": { "rules-engine": { @@ -4379,8 +4379,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "ACUTE MALNUTRITION TREATMENT\n", "type": "toaster_notes", - "text": "ACUTE MALNUTRITION TREATMENT", - "toaster_info_text": "ACUTE MALNUTRITION TREATMENT", + "text": "{{child_sick_form.step9.acute_malnutrition_treatment_note.text}}", + "toaster_info_text": "{{child_sick_form.step9.acute_malnutrition_treatment_note.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -4396,30 +4396,30 @@ "openmrs_entity": "concept", "openmrs_entity_id": "162330AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Complicated severe acute malnutrition treatment given:", + "label": "{{child_sick_form.step9.compl_sev_maln_treat.label}}", "combine_checkbox_option_values": "true", "options": [ { "key": "complicated_sam_antibiotic", - "text": "Given first dose appropriate antibiotic", + "text": "{{child_sick_form.step9.compl_sev_maln_treat.options.complicated_sam_antibiotic.text}}", "value": false, "openmrs_choice_id": "1556AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "complicated_sam_low_bllod_sugar", - "text": "Treated the child to prevent low blood sugar", + "text": "{{child_sick_form.step9.compl_sev_maln_treat.options.complicated_sam_low_bllod_sugar.text}}", "value": false, "openmrs_choice_id": "1185AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "complicated_sam_keepwarm", - "text": "Kept the child warm", + "text": "{{child_sick_form.step9.compl_sev_maln_treat.options.complicated_sam_keepwarm.text}}", "value": false, "openmrs_choice_id": "164479AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "complicated_sam_referal", - "text": "Referred URGENTLY to hospital", + "text": "{{child_sick_form.step9.compl_sev_maln_treat.options.complicated_sam_referal.text}}", "value": false, "openmrs_choice_id": "1883AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } @@ -4433,7 +4433,7 @@ }, "v_required": { "value": "true", - "err": "Please select at least one" + "err": "{{child_sick_form.step9.compl_sev_maln_treat.v_required.err}}" } }, { @@ -4442,36 +4442,36 @@ "openmrs_entity": "concept", "openmrs_entity_id": "162331AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Uncomplicated severe acute malnutrition treatment given:", + "label": "{{child_sick_form.step9.sev_acute_maln_treat.label}}", "combine_checkbox_option_values": "true", "options": [ { "key": "sam_anitbiotics", - "text": "Given oral antibiotics for 5 days", + "text": "{{child_sick_form.step9.sev_acute_maln_treat.options.sam_anitbiotics.text}}", "value": false, "openmrs_choice_id": "1556AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "sam_therapeauticfood", - "text": "Given ready-to-use therapeutic food for a child aged 6 months or more", + "text": "{{child_sick_form.step9.sev_acute_maln_treat.options.sam_therapeauticfood.text}}", "value": false, "openmrs_choice_id": "161648AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "sam_maln_councelling", - "text": "Counselled mother on how to feed the child", + "text": "{{child_sick_form.step9.sev_acute_maln_treat.options.sam_maln_councelling.text}}", "value": false, "openmrs_choice_id": "1380AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "sam_maln_tb", - "text": "Assessed child for possible TB infection", + "text": "{{child_sick_form.step9.sev_acute_maln_treat.options.sam_maln_tb.text}}", "value": false, "openmrs_choice_id": "112141AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "sam_maln_return", - "text": "Advised mother when to return immediately", + "text": "{{child_sick_form.step9.sev_acute_maln_treat.options.sam_maln_return.text}}", "value": false, "openmrs_choice_id": "164480AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } @@ -4485,7 +4485,7 @@ }, "v_required": { "value": "true", - "err": "Please select at least one" + "err": "{{child_sick_form.step9.sev_acute_maln_treat.v_required.err}}" } }, { @@ -4494,36 +4494,36 @@ "openmrs_entity": "concept", "openmrs_entity_id": "163303AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Moderate acute malnutrition treatment given:", + "label": "{{child_sick_form.step9.acute_maln_treat.label}}", "combine_checkbox_option_values": "true", "options": [ { "key": "acute_mal_feeding", - "text": "Assessed the child's feeding and counselled the mother on the feeding recommendations", + "text": "{{child_sick_form.step9.acute_maln_treat.options.acute_mal_feeding.text}}", "value": false, "openmrs_choice_id": "1380AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "acute_maln_follow_up7", - "text": "If feeding problem, followed up in 7 days", + "text": "{{child_sick_form.step9.acute_maln_treat.options.acute_maln_follow_up7.text}}", "value": false, "openmrs_choice_id": "159490AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "acute_maln_tb", - "text": "Assessed for possible TB infection", + "text": "{{child_sick_form.step9.acute_maln_treat.options.acute_maln_tb.text}}", "value": false, "openmrs_choice_id": "112141AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "acute_maln_return", - "text": "Advised mother when to return immediately", + "text": "{{child_sick_form.step9.acute_maln_treat.options.acute_maln_return.text}}", "value": false, "openmrs_choice_id": "164480AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "acute_maln_follow_up30", - "text": "Scheduled a follow-up in 30 days", + "text": "{{child_sick_form.step9.acute_maln_treat.options.acute_maln_follow_up30.text}}", "value": false, "openmrs_choice_id": "159489AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } @@ -4537,7 +4537,7 @@ }, "v_required": { "value": "true", - "err": "Please select at least one" + "err": "{{child_sick_form.step9.acute_maln_treat.v_required.err}}" } }, { @@ -4546,24 +4546,24 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1660AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "No acute malnutrition: Counseling given", + "label": "{{child_sick_form.step9.no_acute_maln_treat.label}}", "combine_checkbox_option_values": "true", "options": [ { "key": "no_acute_maln_feeding", - "text": "Assessed the child's feeding", + "text": "{{child_sick_form.step9.no_acute_maln_treat.options.no_acute_maln_feeding.text}}", "value": false, "openmrs_choice_id": "140475AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "no_acute_maln_couselling", - "text": "Counselled the mother on feeding according to the feeding recommendations", + "text": "{{child_sick_form.step9.no_acute_maln_treat.options.no_acute_maln_couselling.text}}", "value": false, "openmrs_choice_id": "1380AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "no_acute_maln_follow_up", - "text": "Scheduled a follow-up after 7 days", + "text": "{{child_sick_form.step9.no_acute_maln_treat.options.no_acute_maln_follow_up.text}}", "value": false, "openmrs_choice_id": "159489AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } @@ -4577,13 +4577,13 @@ }, "v_required": { "value": "true", - "err": "Please select at least one" + "err": "{{child_sick_form.step9.no_acute_maln_treat.v_required.err}}" } } ] }, "step10": { - "title": "CHECK FOR HIV INFECTION", + "title": "{{child_sick_form.step10.title}}", "display_back_button": "true", "fields": [ { @@ -4592,26 +4592,26 @@ "openmrs_entity": "concept", "openmrs_entity_id": "159811AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Is the child already enrolled in HIV care?", + "label": "{{child_sick_form.step10.child_hiv_care.label}}", "options": [ { "key": "yes", "openmrs_entity": "", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{child_sick_form.step10.child_hiv_care.options.yes.text}}" }, { "key": "no", "openmrs_entity": "", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{child_sick_form.step10.child_hiv_care.options.no.text}}" } ], "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step10.child_hiv_care.v_required.err}}" } }, { @@ -4620,21 +4620,21 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1492AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Has the mother had an HIV test?", + "label": "{{child_sick_form.step10.mother_hiv_test.label}}", "options": [ { "key": "yes", "openmrs_entity": "", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{child_sick_form.step10.mother_hiv_test.options.yes.text}}" }, { "key": "no", "openmrs_entity": "", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{child_sick_form.step10.mother_hiv_test.options.no.text}}" } ], "relevance": { @@ -4646,7 +4646,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step10.mother_hiv_test.v_required.err}}" } }, { @@ -4655,21 +4655,21 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1396AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "What was the result for the mother HIV test?", + "label": "{{child_sick_form.step10.mother_test_result.label}}", "options": [ { "key": "positive", "openmrs_entity": "", "openmrs_entity_id": "703AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Mother is HIV+" + "text": "{{child_sick_form.step10.mother_test_result.options.positive.text}}" }, { "key": "negative", "openmrs_entity": "", "openmrs_entity_id": "664AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Mother does not have HIV" + "text": "{{child_sick_form.step10.mother_test_result.options.negative.text}}" } ], "relevance": { @@ -4681,7 +4681,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step10.mother_test_result.v_required.err}}" } }, { @@ -4690,21 +4690,21 @@ "openmrs_entity": "concept", "openmrs_entity_id": "822AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Has the child had an HIV test?", + "label": "{{child_sick_form.step10.child_hiv_test.label}}", "options": [ { "key": "yes", "openmrs_entity": "", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{child_sick_form.step10.child_hiv_test.options.yes.text}}" }, { "key": "no", "openmrs_entity": "", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{child_sick_form.step10.child_hiv_test.options.no.text}}" } ], "relevance": { @@ -4716,7 +4716,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step10.child_hiv_test.v_required.err}}" } }, { @@ -4725,35 +4725,35 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1401AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "What was the result of the child HIV test?", + "label": "{{child_sick_form.step10.child_test_result.label}}", "options": [ { "key": "v_pos", "openmrs_entity": "", "openmrs_entity_id": "163718AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Virological test positive" + "text": "{{child_sick_form.step10.child_test_result.options.v_pos.text}}" }, { "key": "v_neg", "openmrs_entity": "", "openmrs_entity_id": "664AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Virological test negative" + "text": "{{child_sick_form.step10.child_test_result.options.v_neg.text}}" }, { "key": "s_pos", "openmrs_entity": "", "openmrs_entity_id": "163717AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Serological test positive" + "text": "{{child_sick_form.step10.child_test_result.options.s_pos.text}}" }, { "key": "s_neg", "openmrs_entity": "", "openmrs_entity_id": "664AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Serological test negative" + "text": "{{child_sick_form.step10.child_test_result.options.s_neg.text}}" } ], "relevance": { @@ -4765,7 +4765,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step10.child_test_result.v_required.err}}" } }, { @@ -4774,21 +4774,21 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1404AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Was the child breastfeeding at the time or 6 weeks before the test?", + "label": "{{child_sick_form.step10.hiv_breastfeeding.label}}", "options": [ { "key": "yes", "openmrs_entity": "", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{child_sick_form.step10.hiv_breastfeeding.options.yes.text}}" }, { "key": "no", "openmrs_entity": "", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{child_sick_form.step10.hiv_breastfeeding.options.no.text}}" } ], "relevance": { @@ -4800,7 +4800,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step10.hiv_breastfeeding.v_required.err}}" } }, { @@ -4809,21 +4809,21 @@ "openmrs_entity": "concept", "openmrs_entity_id": "5632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Is the child breastfeeding now?", + "label": "{{child_sick_form.step10.hiv_breastfeeding_now.label}}", "options": [ { "key": "yes", "openmrs_entity": "", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{child_sick_form.step10.hiv_breastfeeding_now.options.yes.text}}" }, { "key": "no", "openmrs_entity": "", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{child_sick_form.step10.hiv_breastfeeding_now.options.no.text}}" } ], "relevance": { @@ -4835,7 +4835,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step10.hiv_breastfeeding_now.v_required.err}}" } }, { @@ -4844,21 +4844,21 @@ "openmrs_entity": "concept", "openmrs_entity_id": "on_arv", "openmrs_entity_parent": "", - "label": "Is the mother and child on ARV prophylaxis?", + "label": "{{child_sick_form.step10.on_arv.label}}", "options": [ { "key": "yes", "openmrs_entity": "", "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Yes" + "text": "{{child_sick_form.step10.on_arv.options.yes.text}}" }, { "key": "no", "openmrs_entity": "", "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "No" + "text": "{{child_sick_form.step10.on_arv.options.no.text}}" } ], "relevance": { @@ -4870,7 +4870,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step10.on_arv.v_required.err}}" } }, { @@ -4879,8 +4879,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Mother and child status unknown: TEST mother", - "toaster_info_text": "Mother and child status unknown: TEST mother", + "text": "{{child_sick_form.step10.test_mother_results_note.text}}", + "toaster_info_text": "{{child_sick_form.step10.test_mother_results_note.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -4896,8 +4896,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Mother HIV positive and child status unknown: TEST child", - "toaster_info_text": "Mother HIV positive and child status unknown: TEST child", + "text": "{{child_sick_form.step10.child_hiv_test2_note.text}}", + "toaster_info_text": "{{child_sick_form.step10.child_hiv_test2_note.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -4913,21 +4913,21 @@ "openmrs_entity": "concept", "openmrs_entity_id": "159427AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "What is the mother's HIV status after the test?", + "label": "{{child_sick_form.step10.test_mother_results.label}}", "options": [ { "key": "mother_positive", "openmrs_entity": "", "openmrs_entity_id": "703AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Mother is HIV positive" + "text": "{{child_sick_form.step10.test_mother_results.options.mother_positive.text}}" }, { "key": "mother_negative", "openmrs_entity": "", "openmrs_entity_id": "664AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Mother is HIV negative" + "text": "{{child_sick_form.step10.test_mother_results.options.mother_negative.text}}" } ], "relevance": { @@ -4939,7 +4939,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step10.test_mother_results.v_required.err}}" } }, { @@ -4948,35 +4948,35 @@ "openmrs_entity": "concept", "openmrs_entity_id": "5303AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "What is the child's HIV status after the test?", + "label": "{{child_sick_form.step10.child_hiv_test2.label}}", "options": [ { "key": "v_pos", "openmrs_entity": "", "openmrs_entity_id": "163718AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Virological test positive" + "text": "{{child_sick_form.step10.child_hiv_test2.options.v_pos.text}}" }, { "key": "v_neg", "openmrs_entity": "", "openmrs_entity_id": "664AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Virological test negative" + "text": "{{child_sick_form.step10.child_hiv_test2.options.v_neg.text}}" }, { "key": "s_pos", "openmrs_entity": "", "openmrs_entity_id": "163717AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Serological test positive" + "text": "{{child_sick_form.step10.child_hiv_test2.options.s_pos.text}}" }, { "key": "s_neg", "openmrs_entity": "", "openmrs_entity_id": "664AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Serological test negative" + "text": "{{child_sick_form.step10.child_hiv_test2.options.s_neg.text}}" } ], "relevance": { @@ -5007,8 +5007,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child has: CONFIRMED HIV INFECTION\n\n- Initiate ART treatment and HIV care\n- Give cotrimoxazole prophylaxis*\n- Assess the chil's feeding and provide appropriate counseling to the mother\n- Advise the mother on home care\n- Assess or refer for TB assessment at INH preventive therapy\n- Follow-up regularly as per national guidelines", - "toaster_info_text": "Child has: CONFIRMED HIV INFECTION\n\n- Initiate ART treatment and HIV care\n- Give cotrimoxazole prophylaxis*\n- Assess the chil's feeding and provide appropriate counseling to the mother\n- Advise the mother on home care\n- Assess or refer for TB assessment at INH preventive therapy\n- Follow-up regularly as per national guidelines", + "text": "{{child_sick_form.step10.confirmed_hiv_note.text}}", + "toaster_info_text": "{{child_sick_form.step10.confirmed_hiv_note.toaster_info_text}}", "toaster_type": "warning", "relevance": { "rules-engine": { @@ -5038,8 +5038,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child is: HIV EXPOSED\n\n- Give cotrimoxazole prophylaxis\n- Start or continue ARV prophylaxis as recommended\n- Do virological test to confirm HIV status**\n- Assess the child's feeding and provide appropriate counseling to the mother\n- Advise the mother on home care\n- Follow-up regularly as per national guidelines", - "toaster_info_text": "Child is: HIV EXPOSED\n\n- Give cotrimoxazole prophylaxis\n- Start or continue ARV prophylaxis as recommended\n- Do virological test to confirm HIV status**\n- Assess the child's feeding and provide appropriate counseling to the mother\n- Advise the mother on home care\n- Follow-up regularly as per national guidelines", + "text": "{{child_sick_form.step10.child_hiv_exposed_note.text}}", + "toaster_info_text": "{{child_sick_form.step10.child_hiv_exposed_note.toaster_info_text}}", "toaster_type": "warning", "relevance": { "rules-engine": { @@ -5069,8 +5069,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Child: HIV INFECTION UNLIKELY\n- Treat, counsel and follow-up existing infections", - "toaster_info_text": "Child: HIV INFECTION UNLIKELY\n- Treat, counsel and follow-up existing infections", + "text": "{{child_sick_form.step10.hiv_unlikely_note.text}}", + "toaster_info_text": "{{child_sick_form.step10.hiv_unlikely_note.toaster_info_text}}", "toaster_type": "positive", "relevance": { "rules-engine": { @@ -5086,8 +5086,8 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "HIV TREATMENT", - "toaster_info_text": "HIV TREATMENT", + "text": "{{child_sick_form.step10.hiv_treatment_note.text}}", + "toaster_info_text": "{{child_sick_form.step10.hiv_treatment_note.toaster_info_text}}", "toaster_type": "info", "relevance": { "rules-engine": { @@ -5103,42 +5103,42 @@ "openmrs_entity": "concept", "openmrs_entity_id": "164361AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "HIV treatment given for child:", + "label": "{{child_sick_form.step10.confirmed_hiv_treat.label}}", "combine_checkbox_option_values": "true", "options": [ { "key": "art_initiated", - "text": "Initiated ART treatment and HIV care", + "text": "{{child_sick_form.step10.confirmed_hiv_treat.options.art_initiated.text}}", "value": false, "openmrs_choice_id": "159811AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "cotrimoxazole", - "text": "Given Cotrimoxazole prophylaxis", + "text": "{{child_sick_form.step10.confirmed_hiv_treat.options.cotrimoxazole.text}}", "value": false, "openmrs_choice_id": "164361AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "hiv_feeding_assessment", - "text": "Assessed the child's feeding and provided appropriate counselling to the mother", + "text": "{{child_sick_form.step10.confirmed_hiv_treat.options.hiv_feeding_assessment.text}}", "value": false, "openmrs_choice_id": "1380AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "hiv_advise", - "text": "Advised the mother on home care", + "text": "{{child_sick_form.step10.confirmed_hiv_treat.options.hiv_advise.text}}", "value": false, "openmrs_choice_id": "165328AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "tb_assessment", - "text": "Conducted TB assessment", + "text": "{{child_sick_form.step10.confirmed_hiv_treat.options.tb_assessment.text}}", "value": false, "openmrs_choice_id": "112141AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "hiv_referal", - "text": "Referred for TB assessment and INH preventive therapy", + "text": "{{child_sick_form.step10.confirmed_hiv_treat.options.hiv_referal.text}}", "value": false, "openmrs_choice_id": "1648AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } @@ -5152,7 +5152,7 @@ }, "v_required": { "value": "true", - "err": "Please select at least one" + "err": "{{child_sick_form.step10.confirmed_hiv_treat.v_required.err}}" } }, { @@ -5161,36 +5161,36 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1405AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "HIV treatment given for exposed child:", + "label": "{{child_sick_form.step10.hiv_exposed.label}}", "combine_checkbox_option_values": "true", "options": [ { "key": "cotrimoxazole2", - "text": "Given cotrimoxazole prophylaxis", + "text": "{{child_sick_form.step10.hiv_exposed.options.cotrimoxazole2.text}}", "value": false, "openmrs_choice_id": "164361AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "hiv_arv_start", - "text": "Started or continued ARV prophylaxis as recommended", + "text": "{{child_sick_form.step10.hiv_exposed.options.hiv_arv_start.text}}", "value": false, "openmrs_choice_id": "163768AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "virological_test", - "text": "Done virological test to confirm HIV status", + "text": "{{child_sick_form.step10.hiv_exposed.options.virological_test.text}}", "value": false, "openmrs_choice_id": "164401AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "hiv_feeding_assessment2", - "text": "Assessed the child's feeding and provided appropriate counselling to the mother", + "text": "{{child_sick_form.step10.hiv_exposed.options.hiv_feeding_assessment2.text}}", "value": false, "openmrs_choice_id": "1380AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "hiv_advise2", - "text": "Advised the mother on home care", + "text": "{{child_sick_form.step10.hiv_exposed.options.hiv_advise2.text}}", "value": false, "openmrs_choice_id": "1914AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } @@ -5204,7 +5204,7 @@ }, "v_required": { "value": "true", - "err": "Please select at least one" + "err": "{{child_sick_form.step10.hiv_exposed.v_required.err}}" } }, { @@ -5213,21 +5213,21 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1660AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "label": "Treatment for HIV unlikely child:", + "label": "{{child_sick_form.step10.hiv_unlikely_treat.label}}", "options": [ { "key": "treated", "openmrs_entity": "", "openmrs_entity_id": "1185AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "Child treated, mother counseled and followed up for other infections" + "text": "{{child_sick_form.step10.hiv_unlikely_treat.options.treated.text}}" }, { "key": "not_treated", "openmrs_entity": "", "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_entity_parent": "", - "text": "None" + "text": "{{child_sick_form.step10.hiv_unlikely_treat.options.not_treated.text}}" } ], "relevance": { @@ -5239,9 +5239,10 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{child_sick_form.step10.hiv_unlikely_treat.v_required.err}}" } } ] - } + }, + "properties_file_name": "child_sick_form" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/early_childhood_development.json b/opensrp-chw/src/main/assets/json.form/early_childhood_development.json index 74825d2f2a..0431792835 100644 --- a/opensrp-chw/src/main/assets/json.form/early_childhood_development.json +++ b/opensrp-chw/src/main/assets/json.form/early_childhood_development.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Early childhood development (ECD)", + "title": "{{early_childhood_development.step1.title}}", "fields": [ { "key": "date_pass", @@ -64,17 +64,17 @@ "openmrs_entity_id": "1802AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "label_info_title": "Does the child show any warning signs, indicating a potential developmental delay?", - "label_info_text": "The different warning signs per age group are: \n● 0-1 month: the baby shows little movement of arms and legs or little or no reaction to loud sounds or bright lights \n● 0-6 months: the child shows little or no response to sounds, familiar faces or breast, or shows stiffness or difficulty moving limbs\n● 6-12 months: the child does not look at objects that move or shows listlessness and lack of response to the caregiver\n● 12-24 months: the child has difficulty to keep balance while walking or has injuries or unexplained changes in behavior\n● 24-36 months: the child shows loss of interest in playing, frequently falls and has difficulties in manipulating small objects\n● 36-59 months: the child shows excessive aggression or shyness with friends and family or has trouble communicating needs, thoughts and emotions", - "hint": "Does the child show any warning signs, indicating a potential developmental delay?", + "label_info_title": "{{early_childhood_development.step1.develop_warning_signs.label_info_title}}", + "label_info_text": "{{early_childhood_development.step1.develop_warning_signs.label_info_text}}", + "hint": "{{early_childhood_development.step1.develop_warning_signs.hint}}", "values": [ + "{{early_childhood_development.step1.develop_warning_signs.values[0]}}", + "{{early_childhood_development.step1.develop_warning_signs.values[1]}}" + ], + "keys": [ "Yes", "No" - ], - "v_required": { - "value": "true", - "err": "Please select action" - } + ] }, { "key": "stim_skills", @@ -83,17 +83,79 @@ "openmrs_entity_id": "1802AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "label_info_title": "Does the caregiver show attitudes and knowledge on stimulation and nurturing care?", - "label_info_text": "Specific attitudes and knowledge on stimulation and nurturing care per age group are: \n ● 0-1 week: the caregiver engages in skin to skin contact, looks into baby’s eyes and communicates to the child\n ● 0-6 months: the caregiver moves colorful things for the child to see, smiles, talks and copies the child's sounds and gestures\n ● 6-9 months: the caregiver gives clean and safe household things to play with, responds to the child's sounds and calls the child's name to see if the child responds\n ● 9-12 months: the caregiver hides toys (peek-a-boo) and tells the child names of things and people\n ● 12-24 months: the caregiver gives the child things to stack up and asks the child simple questions\n ● 2 years and older: the caregiver makes simple toys for the child, teaches stories, songs and games to the child", - "hint": "Does the caregiver show attitudes and knowledge on stimulation and nurturing care?", + "label_info_title": "{{early_childhood_development.step1.stim_skills.label_info_title}}", + "dynamic_label_info": [ + { + "dynamic_label_title": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[0].dynamic_label_title}}", + "dynamic_label_text": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[0].dynamic_label_text}}", + "dynamic_label_image_src": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[0].dynamic_label_image_src}}" + }, + { + "dynamic_label_title": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[1].dynamic_label_title}}", + "dynamic_label_text": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[1].dynamic_label_text}}", + "dynamic_label_image_src": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[1].dynamic_label_image_src}}" + }, + { + "dynamic_label_title": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[2].dynamic_label_title}}", + "dynamic_label_text": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[2].dynamic_label_text}}", + "dynamic_label_image_src": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[2].dynamic_label_image_src}}" + }, + { + "dynamic_label_title": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[3].dynamic_label_title}}", + "dynamic_label_text": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[3].dynamic_label_text}}", + "dynamic_label_image_src": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[3].dynamic_label_image_src}}" + }, + { + "dynamic_label_title": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[4].dynamic_label_title}}", + "dynamic_label_text": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[4].dynamic_label_text}}", + "dynamic_label_image_src": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[4].dynamic_label_image_src}}" + }, + { + "dynamic_label_title": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[5].dynamic_label_title}}", + "dynamic_label_text": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[5].dynamic_label_text}}", + "dynamic_label_image_src": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[5].dynamic_label_image_src}}" + }, + { + "dynamic_label_title": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[6].dynamic_label_title}}", + "dynamic_label_text": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[6].dynamic_label_text}}", + "dynamic_label_image_src": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[6].dynamic_label_image_src}}" + }, + { + "dynamic_label_title": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[7].dynamic_label_title}}", + "dynamic_label_text": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[7].dynamic_label_text}}", + "dynamic_label_image_src": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[7].dynamic_label_image_src}}" + }, + { + "dynamic_label_title": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[8].dynamic_label_title}}", + "dynamic_label_text": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[8].dynamic_label_text}}", + "dynamic_label_image_src": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[8].dynamic_label_image_src}}" + }, + { + "dynamic_label_title": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[9].dynamic_label_title}}", + "dynamic_label_text": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[9].dynamic_label_text}}", + "dynamic_label_image_src": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[9].dynamic_label_image_src}}" + }, + { + "dynamic_label_title": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[10].dynamic_label_title}}", + "dynamic_label_text": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[10].dynamic_label_text}}", + "dynamic_label_image_src": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[10].dynamic_label_image_src}}" + }, + { + "dynamic_label_title": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[11].dynamic_label_title}}", + "dynamic_label_text": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[11].dynamic_label_text}}", + "dynamic_label_image_src": "{{early_childhood_development.step1.stim_skills.dynamic_label_info[11].dynamic_label_image_src}}" + } + ], + "hint": "{{early_childhood_development.step1.stim_skills.hint}}", + "label_is_dynamic": true, "values": [ + "{{early_childhood_development.step1.stim_skills.values[0]}}", + "{{early_childhood_development.step1.stim_skills.values[1]}}" + ], + "keys": [ "Yes", "No" - ], - "v_required": { - "value": "true", - "err": "Please select action" - } + ] }, { "key": "early_learning", @@ -102,15 +164,15 @@ "openmrs_entity_id": "1802AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Is the child regularly attending an early learning program (formal or not formal)?", + "hint": "{{early_childhood_development.step1.early_learning.hint}}", "values": [ + "{{early_childhood_development.step1.early_learning.values[0]}}", + "{{early_childhood_development.step1.early_learning.values[1]}}" + ], + "keys": [ "Yes", "No" ], - "v_required": { - "value": "true", - "err": "Please select action" - }, "relevance": { "rules-engine": { "ex-rules": { @@ -120,5 +182,6 @@ } } ] - } + }, + "properties_file_name": "early_childhood_development" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/family_details_register.json b/opensrp-chw/src/main/assets/json.form/family_details_register.json index 53e2d650d8..d1e9540cf7 100644 --- a/opensrp-chw/src/main/assets/json.form/family_details_register.json +++ b/opensrp-chw/src/main/assets/json.form/family_details_register.json @@ -52,7 +52,7 @@ } }, "step1": { - "title": "Family Details", + "title": "{{family_details_register.step1.title}}", "fields": [ { "key": "fam_name", @@ -60,15 +60,15 @@ "openmrs_entity": "person", "openmrs_entity_id": "first_name", "type": "edit_text", - "hint": "Family name", + "hint": "{{family_details_register.step1.fam_name.hint}}", "edit_type": "name", "v_required": { "value": "true", - "err": "Please enter the family name" + "err": "{{family_details_register.step1.fam_name.v_required.err}}" }, "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid name" + "err": "{{family_details_register.step1.fam_name.v_regex.err}}" } }, { @@ -79,11 +79,11 @@ "hidden": "true", "type": "barcode", "barcode_type": "qrcode", - "hint": "ID *", - "scanButtonText": "Scan QR Code", + "hint": "{{family_details_register.step1.unique_id.hint}}", + "scanButtonText": "{{family_details_register.step1.unique_id.scanButtonText}}", "v_numeric": { "value": "true", - "err": "Please enter a valid ID" + "err": "{{family_details_register.step1.unique_id.v_numeric.err}}" } }, { @@ -92,10 +92,10 @@ "openmrs_entity": "person_address", "openmrs_entity_id": "cityVillage", "type": "edit_text", - "hint": "Village/Town", + "hint": "{{family_details_register.step1.village_town.hint}}", "v_required": { "value": "true", - "err": "Please enter the village or town" + "err": "{{family_details_register.step1.village_town.v_required.err}}" } }, { @@ -104,10 +104,10 @@ "openmrs_entity": "person_address", "openmrs_entity_id": "commune", "type": "edit_text", - "hint": "Quarter", + "hint": "{{family_details_register.step1.quarter_clan.hint}}", "v_required": { "value": "true", - "err": "Please enter the quarter or clan" + "err": "{{family_details_register.step1.quarter_clan.v_required.err}}" } }, { @@ -116,7 +116,7 @@ "openmrs_entity": "person_address", "openmrs_entity_id": "street", "type": "edit_text", - "hint": "Street" + "hint": "{{family_details_register.step1.street.hint}}" }, { "key": "landmark", @@ -124,7 +124,7 @@ "openmrs_entity": "person_address", "openmrs_entity_id": "landmark", "type": "edit_text", - "hint": "Landmark" + "hint": "{{family_details_register.step1.landmark.hint}}" }, { "key": "gps", @@ -141,8 +141,21 @@ "openmrs_entity_id": "fam_source_income", "openmrs_data_type": "", "type": "spinner", - "hint": "Family source of income", + "hint": "{{family_details_register.step1.fam_source_income.hint}}", "values": [ + "{{family_details_register.step1.fam_source_income.values[0]}}", + "{{family_details_register.step1.fam_source_income.values[1]}}", + "{{family_details_register.step1.fam_source_income.values[2]}}", + "{{family_details_register.step1.fam_source_income.values[3]}}", + "{{family_details_register.step1.fam_source_income.values[4]}}", + "{{family_details_register.step1.fam_source_income.values[5]}}", + "{{family_details_register.step1.fam_source_income.values[6]}}", + "{{family_details_register.step1.fam_source_income.values[7]}}", + "{{family_details_register.step1.fam_source_income.values[8]}}", + "{{family_details_register.step1.fam_source_income.values[9]}}", + "{{family_details_register.step1.fam_source_income.values[10]}}" + ], + "keys": [ "Petty trade", "Agriculture, hunting and fishing", "Exploitation of mines and quarries", @@ -156,19 +169,20 @@ "Other" ], "openmrs_choice_ids": { - "Petty trade": "1539AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Agriculture, hunting and fishing": "165411AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Exploitation of mines and quarries": "165412AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Manufacturing industry": "165407AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "Petit commerce": "1539AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "Agriculture, chasse et pêche": "165411AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "L\u0027exploitation des mines et carrières": "165412AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "l\u0027industrie manufacturière": "165407AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "Construction": "165408AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Electricity, gas and water": "165409AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Commercial, hotels and restaurants": "165410AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Transport, storage and communications": "165413AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Financial institutions": "165414AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Communication, social and personal services": "165415AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Other": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + "l\u0027électricité, gas naturel et eau": "165409AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "Commerciale, hôtels et restaurants": "165410AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "Transport, entrêposage et communications": "165413AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "Institutions financières": "165414AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "Communications, services sociaux et personnelles": "165415AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "Autre": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } } ] - } + }, + "properties_file_name": "family_details_register" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/family_details_remove_child.json b/opensrp-chw/src/main/assets/json.form/family_details_remove_child.json index 646ff74dcd..e8b58420db 100644 --- a/opensrp-chw/src/main/assets/json.form/family_details_remove_child.json +++ b/opensrp-chw/src/main/assets/json.form/family_details_remove_child.json @@ -52,7 +52,7 @@ } }, "step1": { - "title": "Remove Child Under 5", + "title": "{{family_details_remove_child.step1.title}}", "fields": [ { "key": "spacer", @@ -68,7 +68,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "label", - "text": "", + "text": "{{family_details_remove_child.step1.details.text}}", "text_size": "25px" }, { @@ -93,15 +93,20 @@ "openmrs_entity_id": "160417AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Reason", + "hint": "{{family_details_remove_child.step1.remove_reason.hint}}", "values": [ + "{{family_details_remove_child.step1.remove_reason.values[0]}}", + "{{family_details_remove_child.step1.remove_reason.values[1]}}", + "{{family_details_remove_child.step1.remove_reason.values[2]}}" + ], + "keys": [ "Died", "Moved away", "Other" ], "v_required": { "value": "true", - "err": "Select the reason for removing the child's record." + "err": "{{family_details_remove_child.step1.remove_reason.v_required.err}}" }, "openmrs_choice_ids": { "Died": "160034AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -126,20 +131,20 @@ "openmrs_entity_id": "164133AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "text", "type": "date_picker", - "label": "Date moved away", - "hint": "Date moved away", + "label": "{{family_details_remove_child.step1.date_moved.label}}", + "hint": "{{family_details_remove_child.step1.date_moved.hint}}", "expanded": false, "min_date": "", "max_date": "today", "v_required": { "value": "true", - "err": "Enter the date that the member moved away" + "err": "{{family_details_remove_child.step1.date_moved.v_required.err}}" }, "constraints": [ { "type": "date", "ex": "greaterThanEqualTo(., step1:dob)", - "err": "Moved away date cannot be before date of birth" + "err": "{{family_details_remove_child.step1.date_moved.constraints.err}}" } ], "relevance": { @@ -156,20 +161,20 @@ "openmrs_entity_id": "1543AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "text", "type": "date_picker", - "label": "Date of death", - "hint": "Date of death", + "label": "{{family_details_remove_child.step1.date_died.label}}", + "hint": "{{family_details_remove_child.step1.date_died.hint}}", "expanded": false, "min_date": "", "max_date": "today", "v_required": { "value": "true", - "err": "Enter the date of death" + "err": "{{family_details_remove_child.step1.date_died.v_required.err}}" }, "constraints": [ { "type": "date", "ex": "greaterThanEqualTo(., step1:dob)", - "err": "Date of death can't occur before date of birth" + "err": "{{family_details_remove_child.step1.date_died.constraints.err}}" } ], "relevance": { @@ -184,8 +189,8 @@ "openmrs_entity_parent": "", "openmrs_entity": "concept", "openmrs_entity_id": "", - "label": "Age at death", - "hint": "Age at death", + "label": "{{family_details_remove_child.step1.age_at_death.label}}", + "hint": "{{family_details_remove_child.step1.age_at_death.hint}}", "type": "edit_text", "read_only": "true", "relevance": { @@ -203,5 +208,6 @@ } } ] - } + }, + "properties_file_name": "family_details_remove_child" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/family_details_remove_family.json b/opensrp-chw/src/main/assets/json.form/family_details_remove_family.json index 20a775cf07..e1e7dcac8c 100644 --- a/opensrp-chw/src/main/assets/json.form/family_details_remove_family.json +++ b/opensrp-chw/src/main/assets/json.form/family_details_remove_family.json @@ -52,7 +52,7 @@ } }, "step1": { - "title": "Remove Family", + "title": "{{family_details_remove_family.step1.title}}", "fields": [ { "key": "spacer", @@ -68,7 +68,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "label", - "text": "", + "text": "{{family_details_remove_family.step1.fam_name.text}}", "text_size": "25px" }, { @@ -77,7 +77,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "label", - "text": "", + "text": "{{family_details_remove_family.step1.details.text}}", "text_size": "25px" }, { @@ -102,18 +102,22 @@ "openmrs_entity_id": "160417AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Reason", + "hint": "{{family_details_remove_family.step1.remove_reason.hint}}", "values": [ + "{{family_details_remove_family.step1.remove_reason.values[0]}}", + "{{family_details_remove_family.step1.remove_reason.values[1]}}" + ], + "keys": [ "Moved away", "Other" ], "v_required": { "value": "true", - "err": "Select the reason for removing the family's record." + "err": "{{family_details_remove_family.step1.remove_reason.v_required.err}}" }, "openmrs_choice_ids": { - "Moved away": "160415AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Other": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + "Déménagé": "160415AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "Autre": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } }, { @@ -123,19 +127,19 @@ "openmrs_entity_id": "164133AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "text", "type": "date_picker", - "label": "Date moved away", - "hint": "Date moved away", + "label": "{{family_details_remove_family.step1.date_moved.label}}", + "hint": "{{family_details_remove_family.step1.date_moved.hint}}", "expanded": false, "min_date": "today-10y", "max_date": "today", "v_required": { "value": "true", - "err": "Enter the date that the member moved away" + "err": "{{family_details_remove_family.step1.date_moved.v_required.err}}" }, "constraints": [ { "type": "date", - "err": "Date moved away occur before date of birth" + "err": "Date déménagé est avant la date de naissance" } ], "relevance": { @@ -146,5 +150,6 @@ } } ] - } + }, + "properties_file_name": "family_details_remove_family" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/family_details_remove_member.json b/opensrp-chw/src/main/assets/json.form/family_details_remove_member.json index d92d28347f..70a01c7923 100644 --- a/opensrp-chw/src/main/assets/json.form/family_details_remove_member.json +++ b/opensrp-chw/src/main/assets/json.form/family_details_remove_member.json @@ -52,7 +52,7 @@ } }, "step1": { - "title": "Remove Family Member", + "title": "{{family_details_remove_member.step1.title}}", "fields": [ { "key": "spacer", @@ -68,22 +68,22 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "label", - "text": "", + "text": "{{family_details_remove_member.step1.details.text}}", "text_size": "25px" }, { "key": "divider1", - "type": "h_line", "openmrs_entity_parent": "", "openmrs_entity": "concept", - "openmrs_entity_id": "" + "openmrs_entity_id": "", + "type": "h_line" }, { "key": "spacer", + "type": "spacer", "openmrs_entity_parent": "", "openmrs_entity": "concept", "openmrs_entity_id": "", - "type": "spacer", "spacer_height": "15dp" }, { @@ -91,22 +91,27 @@ "openmrs_entity_parent": "", "openmrs_entity": "concept", "openmrs_entity_id": "160417AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", "type": "spinner", - "hint": "Reason", + "openmrs_data_type": "select one", + "hint": "{{family_details_remove_member.step1.remove_reason.hint}}", "v_required": { "value": "true", - "err": "Select the reason for removing the family member's record" + "err": "{{family_details_remove_member.step1.remove_reason.v_required.err}}" }, "values": [ + "{{family_details_remove_member.step1.remove_reason.values[0]}}", + "{{family_details_remove_member.step1.remove_reason.values[1]}}", + "{{family_details_remove_member.step1.remove_reason.values[2]}}" + ], + "keys": [ "Died", "Moved away", "Other" ], "openmrs_choice_ids": { - "Died": "160034AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Moved away": "160415AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Other": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + "Décédé": "160034AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "Déménagé": "160415AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "Autre": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } }, { @@ -126,20 +131,20 @@ "openmrs_entity_id": "164133AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "text", "type": "date_picker", - "label": "Date moved away", - "hint": "Date moved away", + "label": "{{family_details_remove_member.step1.date_moved.label}}", + "hint": "{{family_details_remove_member.step1.date_moved.hint}}", "expanded": false, "min_date": "", "max_date": "today", "v_required": { "value": "true", - "err": "Enter the date that the member moved away" + "err": "{{family_details_remove_member.step1.date_moved.v_required.err}}" }, "constraints": [ { "type": "date", - "ex": "greaterThanEqualTo(., step1:dob)", - "err": "Date moved away occur before date of birth" + "err": "Date déménagé est avant la date de naissance", + "ex": "greaterThanEqualTo(., step1:dob)" } ], "relevance": { @@ -156,20 +161,20 @@ "openmrs_entity_id": "1543AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "text", "type": "date_picker", - "label": "Date of death", - "hint": "Date of death", + "label": "{{family_details_remove_member.step1.date_died.label}}", + "hint": "{{family_details_remove_member.step1.date_died.hint}}", "expanded": false, "min_date": "today-80y", "max_date": "today", "v_required": { "value": "true", - "err": "Enter the date of death" + "err": "{{family_details_remove_member.step1.date_died.v_required.err}}" }, "constraints": [ { "type": "date", "ex": "greaterThanEqualTo(., step1:dob)", - "err": "Date of death can't occur before date of birth" + "err": "Date du décès ne peut pas être avant la date de naissance" } ], "relevance": { @@ -185,8 +190,8 @@ "openmrs_entity_parent": "", "openmrs_entity": "concept", "openmrs_entity_id": "", - "label": "Age at death", - "hint": "Age at death", + "label": "{{family_details_remove_member.step1.age_at_death.label}}", + "hint": "{{family_details_remove_member.step1.age_at_death.hint}}", "type": "edit_text", "read_only": "true", "relevance": { @@ -205,5 +210,6 @@ } } ] - } + }, + "properties_file_name": "family_details_remove_member" } \ No newline at end of file diff --git a/opensrp-chw/src/drc/assets/json.form/family_kit.json b/opensrp-chw/src/main/assets/json.form/family_kit.json similarity index 78% rename from opensrp-chw/src/drc/assets/json.form/family_kit.json rename to opensrp-chw/src/main/assets/json.form/family_kit.json index 200bab897b..b3043f7489 100644 --- a/opensrp-chw/src/drc/assets/json.form/family_kit.json +++ b/opensrp-chw/src/main/assets/json.form/family_kit.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Family Kit", + "title": "{{family_kit.step1.title}}", "fields": [ { "key": "illustration_text_description", @@ -56,7 +56,7 @@ "openmrs_entity_id": "", "type": "image_view", "image_folder": "img/", - "text": "Family Kit Task", + "text": "{{family_kit.step1.illustration_text_description.text}}", "image_file": "family_kit.png", "text_color": "#ffffff" }, @@ -67,9 +67,14 @@ "openmrs_entity_id": "family_kit_entity_id", "openmrs_data_type": "select one", "type": "spinner", - "label_info_title": "What type of kit has the family received?", - "hint": "What type of kit has the family received?", + "label_info_title": "{{family_kit.step1.family_kit_received.label_info_title}}", + "hint": "{{family_kit.step1.family_kit_received.hint}}", "values": [ + "{{family_kit.step1.family_kit_received.values[0]}}", + "{{family_kit.step1.family_kit_received.values[1]}}", + "{{family_kit.step1.family_kit_received.values[2]}}" + ], + "keys": [ "Simple Kit (ORS/ZINC and Paracetamol)", "Simple Kit (ORS/ZINC and Paracetamol) with micronutrients", "No kit received" @@ -81,7 +86,7 @@ }, "v_required": { "value": true, - "err": "Please select option" + "err": "{{family_kit.step1.family_kit_received.v_required.err}}" } }, { @@ -92,8 +97,12 @@ "openmrs_data_type": "select one", "expanded": false, "type": "spinner", - "hint": "Has the kit been used?", + "hint": "{{family_kit.step1.family_kit_used.hint}}", "values": [ + "{{family_kit.step1.family_kit_used.values[0]}}", + "{{family_kit.step1.family_kit_used.values[1]}}" + ], + "keys": [ "Yes", "No" ], @@ -103,7 +112,7 @@ }, "v_required": { "value": true, - "err": "Please select option" + "err": "{{family_kit.step1.family_kit_used.v_required.err}}" }, "relevance": { "rules-engine": { @@ -114,5 +123,6 @@ } } ] - } -} + }, + "properties_file_name": "family_kit" +} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/family_member_register.json b/opensrp-chw/src/main/assets/json.form/family_member_register.json index f8820b9ce9..aafa126f6e 100644 --- a/opensrp-chw/src/main/assets/json.form/family_member_register.json +++ b/opensrp-chw/src/main/assets/json.form/family_member_register.json @@ -52,7 +52,7 @@ } }, "step1": { - "title": "Add Family Member", + "title": "{{family_member_register.step1.title}}", "fields": [ { "key": "photo", @@ -60,7 +60,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "choose_image", - "uploadButtonText": "Take a picture of the person" + "uploadButtonText": "{{family_member_register.step1.photo.uploadButtonText}}" }, { "key": "unique_id", @@ -69,16 +69,16 @@ "openmrs_entity_id": "opensrp_id", "type": "edit_text", "read_only": "true", - "hint": "UNIQUE ID *", + "hint": "{{family_member_register.step1.unique_id.hint}}", "value": "0", - "scanButtonText": "Scan QR Code", + "scanButtonText": "Scanner Code QR", "v_numeric": { "value": "true", - "err": "Please enter a valid UNIQUE ID" + "err": "{{family_member_register.step1.unique_id.v_numeric.err}}" }, "v_required": { "value": "true", - "err": "Please enter the UNIQUE ID" + "err": "{{family_member_register.step1.unique_id.v_required.err}}" } }, { @@ -86,30 +86,30 @@ "openmrs_entity_parent": "", "openmrs_entity": "concept", "openmrs_entity_id": "163084AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label_info_text": "What is their national identity number or their voter registration number?", - "label_info_title": "National ID number", "type": "edit_text", - "hint": "National ID number", + "label_info_text": "{{family_member_register.step1.national_id.label_info_text}}", + "label_info_title": "{{family_member_register.step1.national_id.label_info_title}}", + "hint": "{{family_member_register.step1.national_id.hint}}", "v_numeric": { "value": "true", - "err": "Must be a number." + "err": "{{family_member_register.step1.national_id.v_numeric.err}}" } }, { "key": "surname", + "type": "edit_text", "openmrs_entity_parent": "", "openmrs_entity": "concept", "openmrs_entity_id": "", - "type": "edit_text", - "hint": "Surname", + "hint": "{{family_member_register.step1.surname.hint}}", "edit_type": "name", "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid name" + "err": "{{family_member_register.step1.surname.v_regex.err}}" }, "v_required": { "value": "true", - "err": "Please enter the surname" + "err": "{{family_member_register.step1.surname.v_required.err}}" }, "relevance": { "rules-engine": { @@ -124,16 +124,16 @@ "openmrs_entity_parent": "", "openmrs_entity": "concept", "openmrs_entity_id": "", - "openmrs_data_type": "text", "type": "check_box", - "label": "", + "openmrs_data_type": "text", + "label": "{{family_member_register.step1.same_as_fam_name.label}}", "exclusive": [ "none" ], "options": [ { "key": "same_as_fam_name", - "text": "Surname same as family name", + "text": "{{family_member_register.step1.same_as_fam_name.options.same_as_fam_name.text}}", "text_size": "18px", "value": "false" } @@ -153,7 +153,7 @@ "openmrs_entity": "person", "openmrs_entity_id": "last_name", "type": "hidden", - "hint": "Surname as Family name", + "hint": "{{family_member_register.step1.surname_calculation.hint}}", "calculation": { "rules-engine": { "ex-rules": { @@ -168,15 +168,15 @@ "openmrs_entity": "person", "openmrs_entity_id": "first_name", "type": "edit_text", - "hint": "First name", - "edit_type": "name", + "hint": "{{family_member_register.step1.first_name.hint}}", "v_required": { "value": "true", - "err": "Please enter the first name" + "err": "{{family_member_register.step1.first_name.v_required.err}}" }, + "edit_type": "name", "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid name" + "err": "{{family_member_register.step1.first_name.v_regex.err}}" } }, { @@ -184,12 +184,12 @@ "openmrs_entity_parent": "", "openmrs_entity": "person", "openmrs_entity_id": "middle_name", + "hint": "{{family_member_register.step1.middle_name.hint}}", "type": "edit_text", - "hint": "Middle name", "edit_type": "name", "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid name" + "err": "{{family_member_register.step1.middle_name.v_regex.err}}" } }, { @@ -198,16 +198,16 @@ "openmrs_entity": "person", "openmrs_entity_id": "birthdate", "type": "date_picker", - "hint": "Date of birth (DOB)", + "hint": "{{family_member_register.step1.dob.hint}}", "expanded": false, "duration": { - "label": "Age" + "label": "{{family_member_register.step1.dob.duration.label}}" }, "min_date": "today-120y", "max_date": "today-5y", "v_required": { "value": "true", - "err": "Please enter the date of birth" + "err": "{{family_member_register.step1.dob.v_required.err}}" }, "relevance": { "rules-engine": { @@ -223,11 +223,11 @@ "openmrs_entity": "person", "openmrs_entity_id": "birthdateApprox", "type": "check_box", - "label": "", + "label": "{{family_member_register.step1.dob_unknown.label}}", "options": [ { "key": "dob_unknown", - "text": "DOB unknown?", + "text": "{{family_member_register.step1.dob_unknown.options.dob_unknown.text}}", "text_size": "18px", "value": "false" } @@ -239,22 +239,22 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "age", "type": "edit_text", - "hint": "Age", + "hint": "{{family_member_register.step1.age.hint}}", "v_numeric_integer": { "value": "true", - "err": "Must be a rounded number" + "err": "{{family_member_register.step1.age.v_numeric_integer.err}}" }, "v_numeric": { "value": "true", - "err": "Number must begin with 0 and must be a total of 10 digits in length" + "err": "{{family_member_register.step1.age.v_numeric.err}}" }, "v_min": { "value": "5", - "err": "Age must be equal or greater than 5" + "err": "{{family_member_register.step1.age.v_min.err}}" }, "v_max": { "value": "120", - "err": "Age must be equal or less than 120" + "err": "{{family_member_register.step1.age.v_max.err}}" }, "relevance": { "rules-engine": { @@ -265,7 +265,7 @@ }, "v_required": { "value": true, - "err": "Please enter the age" + "err": "{{family_member_register.step1.age.v_required.err}}" } }, { @@ -274,14 +274,18 @@ "openmrs_entity": "person", "openmrs_entity_id": "gender", "type": "spinner", - "hint": "Sex", + "hint": "{{family_member_register.step1.sex.hint}}", "values": [ + "{{family_member_register.step1.sex.values[0]}}", + "{{family_member_register.step1.sex.values[1]}}" + ], + "keys": [ "Male", "Female" ], "v_required": { "value": "true", - "err": "Please enter the sex" + "err": "{{family_member_register.step1.sex.v_required.err}}" } }, { @@ -291,8 +295,12 @@ "openmrs_entity_id": "everSchool", "type": "spinner", "expanded": false, - "hint": "Has the child ever attended school or any early childhood education programme?", + "hint": "{{family_member_register.step1.ever_school.hint}}", "values": [ + "{{family_member_register.step1.ever_school.values[0]}}", + "{{family_member_register.step1.ever_school.values[1]}}" + ], + "keys": [ "Yes", "No" ], @@ -304,7 +312,6 @@ } } }, - { "key": "school_level", "openmrs_entity_parent": "", @@ -312,8 +319,17 @@ "openmrs_entity_id": "schoolLevel", "type": "spinner", "expanded": false, - "hint": "What level or year of school is s/he attending right now?", + "hint": "{{family_member_register.step1.school_level.hint}}", "values": [ + "{{family_member_register.step1.school_level.values[0]}}", + "{{family_member_register.step1.school_level.values[1]}}", + "{{family_member_register.step1.school_level.values[2]}}", + "{{family_member_register.step1.school_level.values[3]}}", + "{{family_member_register.step1.school_level.values[4]}}", + "{{family_member_register.step1.school_level.values[5]}}", + "{{family_member_register.step1.school_level.values[6]}}" + ], + "keys": [ "Not currently attending school or any learning program", "Early childhood programme", "Primary", @@ -336,8 +352,12 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "spinner", - "hint": "Is primary caregiver?", + "hint": "{{family_member_register.step1.primary_caregiver.hint}}", "values": [ + "{{family_member_register.step1.primary_caregiver.values[0]}}", + "{{family_member_register.step1.primary_caregiver.values[1]}}" + ], + "keys": [ "Yes", "No" ], @@ -355,14 +375,14 @@ "openmrs_entity": "concept", "openmrs_entity_id": "159635AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", - "hint": "Phone number", + "hint": "{{family_member_register.step1.phone_number.hint}}", "v_numeric": { "value": "true", - "err": "Must be a number." + "err": "{{family_member_register.step1.phone_number.v_numeric.err}}" }, "v_required": { "value": false, - "err": "Please specify the phone number" + "err": "{{family_member_register.step1.phone_number.v_required.err}}" }, "relevance": { "step1:primary_caregiver": { @@ -377,10 +397,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", - "hint": "Other phone number", + "hint": "{{family_member_register.step1.other_phone_number.hint}}", "v_numeric": { "value": "true", - "err": "Must be a number." + "err": "{{family_member_register.step1.other_phone_number.v_numeric.err}}" }, "relevance": { "step1:primary_caregiver": { @@ -396,11 +416,18 @@ "openmrs_entity_id": "1712AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Highest education level", + "hint": "{{family_member_register.step1.highest_edu_level.hint}}", "values": [ + "{{family_member_register.step1.highest_edu_level.values[0]}}", + "{{family_member_register.step1.highest_edu_level.values[1]}}", + "{{family_member_register.step1.highest_edu_level.values[2]}}", + "{{family_member_register.step1.highest_edu_level.values[3]}}", + "{{family_member_register.step1.highest_edu_level.values[4]}}" + ], + "keys": [ "None", - "Literacy", "Primary", + "Literacy", "Secondary", "University" ], @@ -425,12 +452,18 @@ "openmrs_entity_id": "1054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Marital status", + "hint": "{{family_member_register.step1.marital_status.hint}}", "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{family_member_register.step1.marital_status.v_required.err}}" }, "values": [ + "{{family_member_register.step1.marital_status.values[0]}}", + "{{family_member_register.step1.marital_status.values[1]}}", + "{{family_member_register.step1.marital_status.values[2]}}", + "{{family_member_register.step1.marital_status.values[3]}}" + ], + "keys": [ "Married", "Co-habiting", "Single", @@ -444,5 +477,6 @@ } } ] - } + }, + "properties_file_name": "family_member_register" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/family_register.json b/opensrp-chw/src/main/assets/json.form/family_register.json index dfc9769c0b..fff3cd4e43 100644 --- a/opensrp-chw/src/main/assets/json.form/family_register.json +++ b/opensrp-chw/src/main/assets/json.form/family_register.json @@ -1,6 +1,4 @@ { - "validate_on_submit": true, - "show_errors_on_submit": false, "count": "2", "encounter_type": "Family Registration", "entity_id": "", @@ -54,8 +52,7 @@ } }, "step1": { - "title": "Family details", - "next": "step2", + "title": "{{family_register.step1.title}}", "fields": [ { "key": "fam_name", @@ -63,15 +60,15 @@ "openmrs_entity": "person", "openmrs_entity_id": "first_name", "type": "edit_text", - "hint": "Family name", + "hint": "{{family_register.step1.fam_name.hint}}", "edit_type": "name", "v_required": { "value": "true", - "err": "Please enter the family name" + "err": "{{family_register.step1.fam_name.v_required.err}}" }, "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid name" + "err": "{{family_register.step1.fam_name.v_regex.err}}" } }, { @@ -79,15 +76,15 @@ "openmrs_entity_parent": "", "openmrs_entity": "person_identifier", "openmrs_entity_id": "opensrp_id", - "hidden": "true", "type": "barcode", - "barcode_type": "qrcode", - "hint": "ID *", - "scanButtonText": "Scan QR Code", + "hint": "{{family_register.step1.unique_id.hint}}", + "scanButtonText": "{{family_register.step1.unique_id.scanButtonText}}", "v_numeric": { "value": "true", - "err": "Please enter a valid ID" - } + "err": "{{family_register.step1.unique_id.v_numeric.err}}" + }, + "hidden": "true", + "barcode_type": "qrcode" }, { "key": "village_town", @@ -95,22 +92,22 @@ "openmrs_entity": "person_address", "openmrs_entity_id": "cityVillage", "type": "edit_text", - "hint": "Village/Town", + "hint": "{{family_register.step1.village_town.hint}}", "v_required": { "value": "true", - "err": "Please enter the village or town" + "err": "{{family_register.step1.village_town.v_required.err}}" } }, { "key": "quarter_clan", + "type": "edit_text", "openmrs_entity_parent": "", "openmrs_entity": "person_address", "openmrs_entity_id": "commune", - "type": "edit_text", - "hint": "Quarter", + "hint": "{{family_register.step1.quarter_clan.hint}}", "v_required": { "value": "true", - "err": "Please enter the quarter" + "err": "{{family_register.step1.quarter_clan.v_required.err}}" } }, { @@ -119,7 +116,7 @@ "openmrs_entity": "person_address", "openmrs_entity_id": "street", "type": "edit_text", - "hint": "Street" + "hint": "{{family_register.step1.street.hint}}" }, { "key": "landmark", @@ -127,15 +124,15 @@ "openmrs_entity": "person_address", "openmrs_entity_id": "landmark", "type": "edit_text", - "hint": "Landmark" + "hint": "{{family_register.step1.landmark.hint}}" }, { "key": "gps", "openmrs_entity_parent": "", "openmrs_entity": "concept", "openmrs_entity_id": "163277AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "text", - "type": "gps" + "type": "gps", + "openmrs_data_type": "text" }, { "key": "spacer", @@ -150,10 +147,23 @@ "openmrs_entity_parent": "", "openmrs_entity": "person_attribute", "openmrs_entity_id": "fam_source_income", - "openmrs_data_type": "", + "hint": "{{family_register.step1.fam_source_income.hint}}", "type": "spinner", - "hint": "Family source of income", + "openmrs_data_type": "", "values": [ + "{{family_register.step1.fam_source_income.values[0]}}", + "{{family_register.step1.fam_source_income.values[1]}}", + "{{family_register.step1.fam_source_income.values[2]}}", + "{{family_register.step1.fam_source_income.values[3]}}", + "{{family_register.step1.fam_source_income.values[4]}}", + "{{family_register.step1.fam_source_income.values[5]}}", + "{{family_register.step1.fam_source_income.values[6]}}", + "{{family_register.step1.fam_source_income.values[7]}}", + "{{family_register.step1.fam_source_income.values[8]}}", + "{{family_register.step1.fam_source_income.values[9]}}", + "{{family_register.step1.fam_source_income.values[10]}}" + ], + "keys": [ "Petty trade", "Agriculture, hunting and fishing", "Exploitation of mines and quarries", @@ -180,10 +190,13 @@ "Other": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } } - ] + ], + "next": "step2" }, + "validate_on_submit": true, + "show_errors_on_submit": false, "step2": { - "title": "Family head", + "title": "{{family_register.step2.title}}", "fields": [ { "key": "photo", @@ -191,7 +204,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "choose_image", - "uploadButtonText": "Take a picture of the person" + "uploadButtonText": "{{family_register.step2.photo.uploadButtonText}}" }, { "key": "unique_id", @@ -199,16 +212,16 @@ "openmrs_entity": "person_identifier", "openmrs_entity_id": "opensrp_id", "type": "edit_text", - "hint": "ID *", + "hint": "{{family_register.step2.unique_id.hint}}", "value": "0", "read_only": "true", "v_numeric": { "value": "true", - "err": "Please enter a valid ID" + "err": "{{family_register.step2.unique_id.v_numeric.err}}" }, "v_required": { "value": "true", - "err": "Please enter the ID" + "err": "{{family_register.step2.unique_id.v_required.err}}" } }, { @@ -216,13 +229,13 @@ "openmrs_entity_parent": "", "openmrs_entity": "concept", "openmrs_entity_id": "163084AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label_info_text": "What is their national identity number or their voter registration number?", - "label_info_title": "National ID number", + "label_info_text": "{{family_register.step2.national_id.label_info_text}}", + "label_info_title": "{{family_register.step2.national_id.label_info_title}}", "type": "edit_text", - "hint": "National ID number", + "hint": "{{family_register.step2.national_id.hint}}", "v_numeric": { "value": "true", - "err": "Must be a number." + "err": "{{family_register.step2.national_id.v_numeric.err}}" } }, { @@ -231,15 +244,15 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "edit_text", - "hint": "Surname", + "hint": "{{family_register.step2.surname.hint}}", "edit_type": "name", "v_required": { "value": "true", - "err": "Please enter the surname" + "err": "{{family_register.step2.surname.v_required.err}}" }, "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid name" + "err": "{{family_register.step2.surname.v_regex.err}}" }, "relevance": { "rules-engine": { @@ -255,11 +268,11 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "check_box", - "label": "", + "label": "{{family_register.step2.same_as_fam_name.label}}", "options": [ { "key": "same_as_fam_name", - "text": "Surname same as family name", + "text": "{{family_register.step2.same_as_fam_name.options.same_as_fam_name.text}}", "text_size": "18px", "value": "false" } @@ -272,7 +285,7 @@ "openmrs_entity_id": "last_name", "type": "edit_text", "hidden": true, - "hint": "Surname as Family name", + "hint": "{{family_register.step2.surname_calculation.hint}}", "calculation": { "rules-engine": { "ex-rules": { @@ -287,15 +300,15 @@ "openmrs_entity": "person", "openmrs_entity_id": "first_name", "type": "edit_text", - "hint": "First name", + "hint": "{{family_register.step2.first_name.hint}}", "edit_type": "name", "v_required": { "value": "true", - "err": "Please enter the first name" + "err": "{{family_register.step2.first_name.v_required.err}}" }, "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid name" + "err": "{{family_register.step2.first_name.v_regex.err}}" } }, { @@ -304,11 +317,11 @@ "openmrs_entity": "person", "openmrs_entity_id": "middle_name", "type": "edit_text", - "hint": "Middle name", + "hint": "{{family_register.step2.middle_name.hint}}", "edit_type": "name", "v_regex": { "value": "[A-Za-z\\u00C0-\\u017F\\s\\u00C0-\\u017F\\.\\-]*", - "err": "Please enter a valid name" + "err": "{{family_register.step2.middle_name.v_regex.err}}" } }, { @@ -317,16 +330,16 @@ "openmrs_entity": "person", "openmrs_entity_id": "birthdate", "type": "date_picker", - "hint": "Date of birth (DOB)", + "hint": "{{family_register.step2.dob.hint}}", "expanded": false, "duration": { - "label": "Age" + "label": "{{family_register.step2.dob.duration.label}}" }, "min_date": "today-120y", "max_date": "today-15y", "v_required": { "value": "true", - "err": "Please enter the date of birth" + "err": "{{family_register.step2.dob.v_required.err}}" }, "relevance": { "rules-engine": { @@ -342,11 +355,11 @@ "openmrs_entity": "person", "openmrs_entity_id": "birthdateApprox", "type": "check_box", - "label": "", + "label": "{{family_register.step2.dob_unknown.label}}", "options": [ { "key": "dob_unknown", - "text": "DOB unknown?", + "text": "{{family_register.step2.dob_unknown.options.dob_unknown.text}}", "text_size": "18px", "value": "false" } @@ -358,22 +371,22 @@ "openmrs_entity": "person_attribute", "openmrs_entity_id": "age_entered", "type": "edit_text", - "hint": "Age", + "hint": "{{family_register.step2.age.hint}}", "v_numeric_integer": { "value": "true", - "err": "Must be a rounded number" + "err": "{{family_register.step2.age.v_numeric_integer.err}}" }, "v_numeric": { "value": "true", - "err": "Number must begin with 0 and must be a total of 10 digits in length" + "err": "{{family_register.step2.age.v_numeric.err}}" }, "v_min": { "value": "15", - "err": "Age must be equal or greater than 15" + "err": "{{family_register.step2.age.v_min.err}}" }, "v_max": { "value": "120", - "err": "Age must be equal or less than 120" + "err": "{{family_register.step2.age.v_max.err}}" }, "relevance": { "rules-engine": { @@ -384,7 +397,7 @@ }, "v_required": { "value": true, - "err": "Please enter the age" + "err": "{{family_register.step2.age.v_required.err}}" } }, { @@ -393,14 +406,18 @@ "openmrs_entity": "person", "openmrs_entity_id": "gender", "type": "spinner", - "hint": "Sex", + "hint": "{{family_register.step2.sex.hint}}", "values": [ + "{{family_register.step2.sex.values[0]}}", + "{{family_register.step2.sex.values[1]}}" + ], + "keys": [ "Male", "Female" ], "v_required": { "value": "true", - "err": "Please enter the sex" + "err": "{{family_register.step2.sex.v_required.err}}" } }, { @@ -409,14 +426,14 @@ "openmrs_entity": "concept", "openmrs_entity_id": "159635AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", - "hint": "Phone number", + "hint": "{{family_register.step2.phone_number.hint}}", "v_numeric": { "value": "true", - "err": "Must be a number." + "err": "{{family_register.step2.phone_number.v_numeric.err}}" }, "v_required": { "value": false, - "err": "Please specify the phone number" + "err": "{{family_register.step2.phone_number.v_required.err}}" } }, { @@ -425,10 +442,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", - "hint": "Other phone number", + "hint": "{{family_register.step2.other_phone_number.hint}}", "v_numeric": { "value": "true", - "err": "Must be a number." + "err": "{{family_register.step2.other_phone_number.v_numeric.err}}" } }, { @@ -438,8 +455,15 @@ "openmrs_entity_id": "1712AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Highest education level", + "hint": "{{family_register.step2.highest_edu_level.hint}}", "values": [ + "{{family_register.step2.highest_edu_level.values[0]}}", + "{{family_register.step2.highest_edu_level.values[1]}}", + "{{family_register.step2.highest_edu_level.values[2]}}", + "{{family_register.step2.highest_edu_level.values[3]}}", + "{{family_register.step2.highest_edu_level.values[4]}}" + ], + "keys": [ "None", "Literacy", "Primary", @@ -461,16 +485,16 @@ "openmrs_entity_id": "1054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Marital status", + "hint": "{{family_register.step2.marital_status.hint}}", "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{family_register.step2.marital_status.v_required.err}}" }, "values": [ - "Married", - "Co-habiting", - "Single", - "Widowed" + "{{family_register.step2.marital_status.values[0]}}", + "{{family_register.step2.marital_status.values[1]}}", + "{{family_register.step2.marital_status.values[2]}}", + "{{family_register.step2.marital_status.values[3]}}" ], "openmrs_choice_ids": { "Married": "5555AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -480,5 +504,6 @@ } } ] - } + }, + "properties_file_name": "family_register" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/observation_illness.json b/opensrp-chw/src/main/assets/json.form/observation_illness.json index d95f46dfb5..520c21567c 100644 --- a/opensrp-chw/src/main/assets/json.form/observation_illness.json +++ b/opensrp-chw/src/main/assets/json.form/observation_illness.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Observations & Illness Episodes", + "title": "{{observation_illness.step1.title}}", "fields": [ { "key": "date_of_illness", @@ -55,26 +55,26 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1730AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "date_picker", - "hint": "Date", - "expanded": false, - "max_date": "today", - "min_date": "", + "hint": "{{observation_illness.step1.date_of_illness.hint}}", "v_required": { "value": "true", - "err": "Please enter illness date" - } + "err": "{{observation_illness.step1.date_of_illness.v_required.err}}" + }, + "expanded": false, + "max_date": "today", + "min_date": "" }, { "key": "illness_description", "openmrs_entity_parent": "", "openmrs_entity": "concept", "openmrs_entity_id": "1390AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "text", "type": "edit_text", - "hint": "Description", + "hint": "{{observation_illness.step1.illness_description.hint}}", + "openmrs_data_type": "text", "v_required": { "value": "true", - "err": "Please enter description" + "err": "{{observation_illness.step1.illness_description.v_required.err}}" } }, { @@ -82,14 +82,19 @@ "openmrs_entity_parent": "", "openmrs_entity": "concept", "openmrs_entity_id": "164378AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "openmrs_data_type": "select one", "type": "spinner", - "hint": "Action taken", + "hint": "{{observation_illness.step1.action_taken.hint}}", "v_required": { "value": "true", - "err": "Please select action" + "err": "{{observation_illness.step1.action_taken.v_required.err}}" }, + "openmrs_data_type": "select one", "values": [ + "{{observation_illness.step1.action_taken.values[0]}}", + "{{observation_illness.step1.action_taken.values[1]}}", + "{{observation_illness.step1.action_taken.values[2]}}" + ], + "keys": [ "Managed", "Referred", "No action taken" @@ -101,5 +106,6 @@ } } ] - } + }, + "properties_file_name": "observation_illness" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/pnc_child_enrollment.json b/opensrp-chw/src/main/assets/json.form/pnc_child_enrollment.json index a09f5bec75..e404fa4c89 100644 --- a/opensrp-chw/src/main/assets/json.form/pnc_child_enrollment.json +++ b/opensrp-chw/src/main/assets/json.form/pnc_child_enrollment.json @@ -76,15 +76,15 @@ "openmrs_entity_id": "opensrp_id", "type": "barcode", "barcode_type": "qrcode", - "hint": "Boresha Afya ID", - "scanButtonText": "Scan QR Code", + "hint": "{{pnc_child_enrollment.step1.unique_id.hint}}", + "scanButtonText": "{{pnc_child_enrollment.step1.unique_id.scanButtonText}}", "v_numeric": { "value": "true", - "err": "Please enter a valid ID" + "err": "{{pnc_child_enrollment.step1.unique_id.v_numeric.err}}" }, "v_required": { "value": "true", - "err": "Please enter the UNIQUE ID" + "err": "{{pnc_child_enrollment.step1.unique_id.v_required.err}}" } }, { @@ -93,15 +93,15 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "edit_text", - "hint": "Surname", + "hint": "{{pnc_child_enrollment.step1.surname.hint}}", "edit_type": "name", "v_regex": { "value": "[A-Za-z\\s\\.\\-]*", - "err": "Please enter a valid name" + "err": "{{pnc_child_enrollment.step1.surname.v_regex.err}}" }, "v_required": { "value": "true", - "err": "Please enter the surname" + "err": "{{pnc_child_enrollment.step1.surname.v_required.err}}" } }, { @@ -111,14 +111,14 @@ "openmrs_entity_id": "", "openmrs_data_type": "text", "type": "check_box", - "label": "", + "label": "{{pnc_child_enrollment.step1.same_as_fam_name.label}}", "exclusive": [ "none" ], "options": [ { "key": "same_as_fam_name", - "text": "Surname same as family name", + "text": "{{pnc_child_enrollment.step1.same_as_fam_name.options.same_as_fam_name.text}}", "text_size": "18px", "value": "false" } @@ -130,7 +130,7 @@ "openmrs_entity": "person", "openmrs_entity_id": "last_name", "type": "hidden", - "hint": "Surname as Family name" + "hint": "{{pnc_child_enrollment.step1.last_name.hint}}" }, { "key": "first_name", @@ -139,16 +139,16 @@ "openmrs_entity_id": "first_name", "openmrs_data_type": "text", "type": "edit_text", - "hint": "First name", + "hint": "{{pnc_child_enrollment.step1.first_name.hint}}", "expanded": false, "edit_type": "name", "v_required": { "value": "true", - "err": "Please Enter first name" + "err": "{{pnc_child_enrollment.step1.first_name.v_required.err}}" }, "v_regex": { "value": "[A-Za-z\\s\\-]*", - "err": "Please Enter a Valid Name" + "err": "{{pnc_child_enrollment.step1.first_name.v_regex.err}}" } }, { @@ -158,16 +158,16 @@ "openmrs_entity_id": "middle_name", "openmrs_data_type": "text", "type": "edit_text", - "hint": "Middle name", + "hint": "{{pnc_child_enrollment.step1.middle_name.hint}}", "expanded": false, "edit_type": "name", "v_required": { "value": "true", - "err": "Please Enter middle name" + "err": "{{pnc_child_enrollment.step1.middle_name.v_required.err}}" }, "v_regex": { "value": "[A-Za-z\\s\\.\\-]*", - "err": "Please Enter a Valid Name" + "err": "{{pnc_child_enrollment.step1.middle_name.v_regex.err}}" } }, { @@ -176,16 +176,16 @@ "openmrs_entity": "person", "openmrs_entity_id": "birthdate", "type": "date_picker", - "hint": "Date of birth (DOB)", + "hint": "{{pnc_child_enrollment.step1.dob.hint}}", "expanded": false, "duration": { - "label": "Age" + "label": "{{pnc_child_enrollment.step1.dob.duration.label}}" }, "min_date": "today-5y", "max_date": "today", "v_required": { "value": "true", - "err": "Please enter the date of birth" + "err": "{{pnc_child_enrollment.step1.dob.v_required.err}}" } }, { @@ -194,7 +194,7 @@ "openmrs_entity": "person", "openmrs_entity_id": "gender", "type": "edit_text", - "hint": "Sex" + "hint": "{{pnc_child_enrollment.step1.gender.hint}}" }, { "key": "disabilities", @@ -202,10 +202,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "159522AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "spinner", - "hint": "Physical disabilities", + "hint": "{{pnc_child_enrollment.step1.disabilities.hint}}", "values": [ - "Yes", - "No" + "{{pnc_child_enrollment.step1.disabilities.values[0]}}", + "{{pnc_child_enrollment.step1.disabilities.values[1]}}" ], "openmrs_choice_ids": { "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -213,7 +213,7 @@ }, "v_required": { "value": "true", - "err": "Please select one" + "err": "{{pnc_child_enrollment.step1.disabilities.v_required.err}}" } }, { @@ -222,10 +222,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "161543AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "spinner", - "hint": "Early initiation of breastfeeding (1 hr)?", + "hint": "{{pnc_child_enrollment.step1.early_bf_1hr.hint}}", "values": [ - "Yes", - "No" + "{{pnc_child_enrollment.step1.early_bf_1hr.values[0]}}", + "{{pnc_child_enrollment.step1.early_bf_1hr.values[1]}}" ], "openmrs_choice_ids": { "Yes": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", @@ -233,7 +233,7 @@ }, "v_required": { "value": "true", - "err": "Please enter Early initiation of breastfeeding" + "err": "{{pnc_child_enrollment.step1.early_bf_1hr.v_required.err}}" } }, { @@ -242,10 +242,10 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1431AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "spinner", - "hint": "Is the baby low birth weight (weighs less than 2.5 kg)?", + "hint": "{{pnc_child_enrollment.step1.lbw.hint}}", "values": [ - "Yes", - "No" + "{{pnc_child_enrollment.step1.lbw.values[0]}}", + "{{pnc_child_enrollment.step1.lbw.values[1]}}" ], "openmrs_choice_ids": { "Yes": "1", @@ -253,7 +253,7 @@ }, "v_required": { "value": "true", - "err": "Please select if baby has low the weight" + "err": "{{pnc_child_enrollment.step1.lbw.v_required.err}}" } }, { @@ -263,10 +263,10 @@ "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", "edit_type": "name", - "hint": "Type of physical disabilities", + "hint": "{{pnc_child_enrollment.step1.type_of_disability.hint}}", "v_required": { "value": true, - "err": "Please enter type of physical disabilities" + "err": "{{pnc_child_enrollment.step1.type_of_disability.v_required.err}}" } }, { @@ -275,7 +275,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "essential_newborn_care", "type": "check_box", - "label": "Essential newborn care received at the health facility?", + "label": "{{pnc_child_enrollment.step1.essential_newborn_care.label}}", "label_text_style": "normal", "text_color": "#C0C0C0", "exclusive": [ @@ -284,21 +284,21 @@ "options": [ { "key": "chk_none", - "text": "None", + "text": "{{pnc_child_enrollment.step1.essential_newborn_care.options.chk_none.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_chlorhexidine", - "text": "Chlorhexidine applied to umbilical stump", + "text": "{{pnc_child_enrollment.step1.essential_newborn_care.options.chk_chlorhexidine.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "73263AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_skin_contact", - "text": "Skin to skin contact for at least 2 hours", + "text": "{{pnc_child_enrollment.step1.essential_newborn_care.options.chk_skin_contact.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "164173AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" @@ -306,5 +306,6 @@ ] } ] - } + }, + "properties_file_name": "pnc_child_enrollment" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/pnc_danger_signs_baby.json b/opensrp-chw/src/main/assets/json.form/pnc_danger_signs_baby.json index b77452657d..f8819a157c 100644 --- a/opensrp-chw/src/main/assets/json.form/pnc_danger_signs_baby.json +++ b/opensrp-chw/src/main/assets/json.form/pnc_danger_signs_baby.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Danger signs - Baby", + "title": "{{pnc_danger_signs_baby.step1.title}}", "fields": [ { "key": "danger_signs_present", @@ -55,9 +55,9 @@ "openmrs_entity": "concept", "openmrs_entity_id": "159860AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "check_box", - "label_info_image_src": "img/child_chw.png", + "label_info_image_src": "{{pnc_danger_signs_baby.step1.danger_signs_present.label_info_image_src}}", "label_info_has_image": true, - "label": "Any danger signs present?", + "label": "{{pnc_danger_signs_baby.step1.danger_signs_present.label}}", "label_text_style": "normal", "text_color": "#C0C0C0", "exclusive": [ @@ -66,56 +66,56 @@ "options": [ { "key": "chk_none", - "text": "None", + "text": "{{pnc_danger_signs_baby.step1.danger_signs_present.options.chk_none.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_fast_breathing", - "text": "Fast breathing", + "text": "{{pnc_danger_signs_baby.step1.danger_signs_present.options.chk_fast_breathing.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "125061AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_chest_indrawing", - "text": "Chest indrawing", + "text": "{{pnc_danger_signs_baby.step1.danger_signs_present.options.chk_chest_indrawing.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "136768AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_low_or_high_temp", - "text": "Low or high temperature", + "text": "{{pnc_danger_signs_baby.step1.danger_signs_present.options.chk_low_or_high_temp.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "159366AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_refuses_to_suckle", - "text": "Refuses to suckle", + "text": "{{pnc_danger_signs_baby.step1.danger_signs_present.options.chk_refuses_to_suckle.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "159861AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_no_movement", - "text": "No movement", + "text": "{{pnc_danger_signs_baby.step1.danger_signs_present.options.chk_no_movement.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "164455AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_convulsion", - "text": "Convulsions", + "text": "{{pnc_danger_signs_baby.step1.danger_signs_present.options.chk_convulsion.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "164483AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_jaundice", - "text": "Jaundice", + "text": "{{pnc_danger_signs_baby.step1.danger_signs_present.options.chk_jaundice.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "115368AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" @@ -123,7 +123,7 @@ ], "v_required": { "value": "true", - "err": "Please pick at least one" + "err": "{{pnc_danger_signs_baby.step1.danger_signs_present.v_required.err}}" } }, { @@ -132,7 +132,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Danger sign! \nRefer immediately to health facility.", + "text": "{{pnc_danger_signs_baby.step1.danger_signs_present_toaster.text}}", "text_color": "#CF0800", "toaster_type": "problem", "relevance": { @@ -161,8 +161,12 @@ "openmrs_entity_id": "161541AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Counseling on seeking care immediately for danger signs", + "hint": "{{pnc_danger_signs_baby.step1.danger_signs_counseling.hint}}", "values": [ + "{{pnc_danger_signs_baby.step1.danger_signs_counseling.values[0]}}", + "{{pnc_danger_signs_baby.step1.danger_signs_counseling.values[1]}}" + ], + "keys": [ "Yes", "No" ], @@ -172,9 +176,10 @@ }, "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{pnc_danger_signs_baby.step1.danger_signs_counseling.v_required.err}}" } } ] - } + }, + "properties_file_name": "pnc_danger_signs_baby" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/pnc_danger_signs_mother.json b/opensrp-chw/src/main/assets/json.form/pnc_danger_signs_mother.json index 1baa5207d6..c9595aa553 100644 --- a/opensrp-chw/src/main/assets/json.form/pnc_danger_signs_mother.json +++ b/opensrp-chw/src/main/assets/json.form/pnc_danger_signs_mother.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Danger signs - Mother", + "title": "{{pnc_danger_signs_mother.step1.title}}", "fields": [ { "key": "danger_signs_present", @@ -55,9 +55,9 @@ "openmrs_entity": "concept", "openmrs_entity_id": "160939AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "check_box", - "label_info_image_src": "img/chw.png", + "label_info_image_src": "{{pnc_danger_signs_mother.step1.danger_signs_present.label_info_image_src}}", "label_info_has_image": true, - "label": "Any danger signs present?", + "label": "{{pnc_danger_signs_mother.step1.danger_signs_present.label}}", "label_text_style": "normal", "text_color": "#C0C0C0", "exclusive": [ @@ -66,49 +66,49 @@ "options": [ { "key": "chk_none", - "text": "None", + "text": "{{pnc_danger_signs_mother.step1.danger_signs_present.options.chk_none.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_fever", - "text": "Fever", + "text": "{{pnc_danger_signs_mother.step1.danger_signs_present.options.chk_fever.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "140238AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_prolonged_bleeding", - "text": "Prolonged bleeding", + "text": "{{pnc_danger_signs_mother.step1.danger_signs_present.options.chk_prolonged_bleeding.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "150802AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_severe_headache", - "text": "Severe headache", + "text": "{{pnc_danger_signs_mother.step1.danger_signs_present.options.chk_severe_headache.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "139081AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_convulsions", - "text": "Convulsions", + "text": "{{pnc_danger_signs_mother.step1.danger_signs_present.options.chk_convulsions.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "164483AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_difficulty_breathing", - "text": "Difficulty breathing", + "text": "{{pnc_danger_signs_mother.step1.danger_signs_present.options.chk_difficulty_breathing.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "142373AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, { "key": "chk_severe_abdominal_pain", - "text": "Severe abdominal pain", + "text": "{{pnc_danger_signs_mother.step1.danger_signs_present.options.chk_severe_abdominal_pain.text}}", "value": false, "openmrs_entity": "concept", "openmrs_entity_id": "165271AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" @@ -116,7 +116,7 @@ ], "v_required": { "value": "true", - "err": "Please pick at least one" + "err": "{{pnc_danger_signs_mother.step1.danger_signs_present.v_required.err}}" } }, { @@ -125,7 +125,7 @@ "openmrs_entity": "concept", "openmrs_entity_id": "", "type": "toaster_notes", - "text": "Danger sign! \nRefer immediately to health facility.", + "text": "{{pnc_danger_signs_mother.step1.danger_signs_present_toaster.text}}", "text_color": "#CF0800", "toaster_type": "problem", "relevance": { @@ -152,8 +152,12 @@ "openmrs_entity_id": "161541AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Counseling on seeking care immediately for danger signs", + "hint": "{{pnc_danger_signs_mother.step1.danger_signs_counseling.hint}}", "values": [ + "{{pnc_danger_signs_mother.step1.danger_signs_counseling.values[0]}}", + "{{pnc_danger_signs_mother.step1.danger_signs_counseling.values[1]}}" + ], + "keys": [ "Yes", "No" ], @@ -163,9 +167,10 @@ }, "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{pnc_danger_signs_mother.step1.danger_signs_counseling.v_required.err}}" } } ] - } + }, + "properties_file_name": "pnc_danger_signs_mother" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/pnc_exclusive_breastfeeding.json b/opensrp-chw/src/main/assets/json.form/pnc_exclusive_breastfeeding.json index 47b9671f8e..66bf90784d 100644 --- a/opensrp-chw/src/main/assets/json.form/pnc_exclusive_breastfeeding.json +++ b/opensrp-chw/src/main/assets/json.form/pnc_exclusive_breastfeeding.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Exclusive breastfeeding", + "title": "{{pnc_exclusive_breastfeeding.step1.title}}", "fields": [ { "key": "exclusive_breast_feeding", @@ -57,8 +57,12 @@ "openmrs_data_type": "exclusive_breast_feeding", "type": "spinner", "image": "ic_form_bf", - "hint": "Did the child receive any liquid or food other than breast milk yesterday and last night?", + "hint": "{{pnc_exclusive_breastfeeding.step1.exclusive_breast_feeding.hint}}", "values": [ + "{{pnc_exclusive_breastfeeding.step1.exclusive_breast_feeding.values[0]}}", + "{{pnc_exclusive_breastfeeding.step1.exclusive_breast_feeding.values[1]}}" + ], + "keys": [ "Yes", "No" ], @@ -68,5 +72,6 @@ } } ] - } + }, + "properties_file_name": "pnc_exclusive_breastfeeding" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/pnc_family_planning.json b/opensrp-chw/src/main/assets/json.form/pnc_family_planning.json index 9bef98cfd4..482e86aace 100644 --- a/opensrp-chw/src/main/assets/json.form/pnc_family_planning.json +++ b/opensrp-chw/src/main/assets/json.form/pnc_family_planning.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Family Planning", + "title": "{{pnc_family_planning.step1.title}}", "fields": [ { "key": "fp_counseling", @@ -56,8 +56,12 @@ "openmrs_entity_id": "1382AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Woman counseled on Family Planning?", + "hint": "{{pnc_family_planning.step1.fp_counseling.hint}}", "values": [ + "{{pnc_family_planning.step1.fp_counseling.values[0]}}", + "{{pnc_family_planning.step1.fp_counseling.values[1]}}" + ], + "keys": [ "Yes", "No" ], @@ -67,7 +71,7 @@ }, "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{pnc_family_planning.step1.fp_counseling.v_required.err}}" } }, { @@ -77,8 +81,18 @@ "openmrs_entity_id": "1382AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Family Planning method chosen?", + "hint": "{{pnc_family_planning.step1.fp_method.hint}}", "values": [ + "{{pnc_family_planning.step1.fp_method.values[0]}}", + "{{pnc_family_planning.step1.fp_method.values[1]}}", + "{{pnc_family_planning.step1.fp_method.values[2]}}", + "{{pnc_family_planning.step1.fp_method.values[3]}}", + "{{pnc_family_planning.step1.fp_method.values[4]}}", + "{{pnc_family_planning.step1.fp_method.values[5]}}", + "{{pnc_family_planning.step1.fp_method.values[6]}}", + "{{pnc_family_planning.step1.fp_method.values[7]}}" + ], + "keys": [ "None", "Abstinence", "Condom", @@ -100,7 +114,7 @@ }, "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{pnc_family_planning.step1.fp_method.v_required.err}}" } }, { @@ -109,12 +123,12 @@ "openmrs_entity": "concept", "openmrs_entity_id": "1418AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "date_picker", - "hint": "Start date", + "hint": "{{pnc_family_planning.step1.fp_start_date.hint}}", "min_date": "today-120y", "max_date": "today", "v_required": { "value": "true", - "err": "Please enter the date of immunization" + "err": "{{pnc_family_planning.step1.fp_start_date.v_required.err}}" }, "relevance": { "rules-engine": { @@ -125,5 +139,6 @@ } } ] - } + }, + "properties_file_name": "pnc_family_planning" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/pnc_health_facility_visit.json b/opensrp-chw/src/main/assets/json.form/pnc_health_facility_visit.json index 329f23cb64..41cf46c450 100644 --- a/opensrp-chw/src/main/assets/json.form/pnc_health_facility_visit.json +++ b/opensrp-chw/src/main/assets/json.form/pnc_health_facility_visit.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "PNC Health Facility Visit - Day {0}", + "title": "{{pnc_health_facility_visit.step1.title}}", "fields": [ { "key": "pnc_visit_{0}", @@ -56,12 +56,16 @@ "openmrs_entity_id": "", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Did the woman attend her PNC visit (Day {0}) at the health facility?\n\nVisit due date: {1}", + "hint": "{{pnc_health_facility_visit.step1.pnc_visit_{0}.hint}}", "v_required": { "value": "true", - "err": "Please select option" + "err": "{{pnc_health_facility_visit.step1.pnc_visit_{0}.v_required.err}}" }, "values": [ + "{{pnc_health_facility_visit.step1.pnc_visit_{0}.values[0]}}", + "{{pnc_health_facility_visit.step1.pnc_visit_{0}.values[1]}}" + ], + "keys": [ "Yes", "No" ] @@ -72,12 +76,12 @@ "openmrs_entity": "concept", "openmrs_entity_id": "164093AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "date_picker", - "hint": "Date of visit", + "hint": "{{pnc_health_facility_visit.step1.pnc_hf_visit{0}_date.hint}}", "expanded": false, "max_date": "today", "v_required": { "value": "true", - "err": "Please enter date" + "err": "{{pnc_health_facility_visit.step1.pnc_hf_visit{0}_date.v_required.err}}" }, "relevance": { "step1:pnc_visit_{0}": { @@ -93,22 +97,22 @@ "openmrs_entity_id": "5089AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", "edit_type": "number", - "hint": "Baby's weight (kg)", + "hint": "{{pnc_health_facility_visit.step1.baby_weight.hint}}", "v_min": { - "value": "0.0", - "err": "The value must be greater than or equal to 0" + "value": "0", + "err": "{{pnc_health_facility_visit.step1.baby_weight.v_min.err}}" }, "v_max": { - "value": "20.0", - "err": "The value must be less than or equal to 20" + "value": "20", + "err": "{{pnc_health_facility_visit.step1.baby_weight.v_max.err}}" }, "v_required": { "value": "false", - "err": "Required" + "err": "{{pnc_health_facility_visit.step1.baby_weight.v_required.err}}" }, "v_numeric": { "value": "true", - "err": "Enter a valid weight" + "err": "{{pnc_health_facility_visit.step1.baby_weight.v_numeric.err}}" }, "relevance": { "step1:pnc_visit_{0}": { @@ -124,22 +128,22 @@ "openmrs_entity_id": "5085AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "edit_text", "edit_type": "number", - "hint": "Baby's temperature (°C)", + "hint": "{{pnc_health_facility_visit.step1.baby_temp.hint}}", "v_min": { - "value": "35.0", - "err": "The value must be greater than or equal to 35" + "value": "35", + "err": "{{pnc_health_facility_visit.step1.baby_temp.v_min.err}}" }, "v_max": { - "value": "42.0", - "err": "The value must be less than or equal to 42" + "value": "42", + "err": "{{pnc_health_facility_visit.step1.baby_temp.v_max.err}}" }, "v_required": { "value": "false", - "err": "Required" + "err": "{{pnc_health_facility_visit.step1.baby_temp.v_required.err}}" }, "v_numeric": { "value": "true", - "err": "Enter a valid weight" + "err": "{{pnc_health_facility_visit.step1.baby_temp.v_numeric.err}}" }, "relevance": { "step1:pnc_visit_{0}": { @@ -176,5 +180,6 @@ "type": "spacer" } ] - } -} + }, + "properties_file_name": "pnc_health_facility_visit" +} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/pnc_health_facility_visit_day_one.json b/opensrp-chw/src/main/assets/json.form/pnc_health_facility_visit_day_one.json index e5a608e46e..b9e682f96f 100644 --- a/opensrp-chw/src/main/assets/json.form/pnc_health_facility_visit_day_one.json +++ b/opensrp-chw/src/main/assets/json.form/pnc_health_facility_visit_day_one.json @@ -27,10 +27,10 @@ } ], "v_required": { - "value": "true", - "err": null + "value": "true" } } ] - } -} + }, + "properties_file_name": "pnc_health_facility_visit_day_one" +} \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/pnc_kangaroo_care.json b/opensrp-chw/src/main/assets/json.form/pnc_kangaroo_care.json index 10d8cfdf09..0aafa128e1 100644 --- a/opensrp-chw/src/main/assets/json.form/pnc_kangaroo_care.json +++ b/opensrp-chw/src/main/assets/json.form/pnc_kangaroo_care.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Kangaroo Mother Care (KMC)", + "title": "{{pnc_kangaroo_care.step1.title}}", "fields": [ { "key": "kangaroo", @@ -57,8 +57,12 @@ "openmrs_data_type": "select one", "type": "spinner", "image": "form_kangaroo", - "hint": "Is mother following Kangaroo Mother Care (KMC)?", + "hint": "{{pnc_kangaroo_care.step1.kangaroo.hint}}", "values": [ + "{{pnc_kangaroo_care.step1.kangaroo.values[0]}}", + "{{pnc_kangaroo_care.step1.kangaroo.values[1]}}" + ], + "keys": [ "Yes", "No" ], @@ -68,5 +72,6 @@ } } ] - } + }, + "properties_file_name": "pnc_kangaroo_care" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/pnc_umbilical_cord.json b/opensrp-chw/src/main/assets/json.form/pnc_umbilical_cord.json index 4bbb45142b..9b28f7c456 100644 --- a/opensrp-chw/src/main/assets/json.form/pnc_umbilical_cord.json +++ b/opensrp-chw/src/main/assets/json.form/pnc_umbilical_cord.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Umbilical cord care", + "title": "{{pnc_umbilical_cord.step1.title}}", "fields": [ { "key": "cord_care", @@ -56,8 +56,13 @@ "openmrs_entity_id": "161541AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "hint": "Are any products being applied to the umbilical cord stump?", + "hint": "{{pnc_umbilical_cord.step1.cord_care.hint}}", "values": [ + "{{pnc_umbilical_cord.step1.cord_care.values[0]}}", + "{{pnc_umbilical_cord.step1.cord_care.values[1]}}", + "{{pnc_umbilical_cord.step1.cord_care.values[2]}}" + ], + "keys": [ "No products", "Chlorhexidine", "Other" @@ -69,9 +74,10 @@ }, "v_required": { "value": "true", - "err": "Please select one option" + "err": "{{pnc_umbilical_cord.step1.cord_care.v_required.err}}" } } ] - } + }, + "properties_file_name": "pnc_umbilical_cord" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/pnc_vaccine_card.json b/opensrp-chw/src/main/assets/json.form/pnc_vaccine_card.json index 4c90b1ff5e..b2292125f0 100644 --- a/opensrp-chw/src/main/assets/json.form/pnc_vaccine_card.json +++ b/opensrp-chw/src/main/assets/json.form/pnc_vaccine_card.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "Child vaccine card received", + "title": "{{pnc_vaccine_card.step1.title}}", "fields": [ { "key": "vaccine_card", @@ -57,8 +57,12 @@ "openmrs_data_type": "164147AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "spinner", "image": "ic_form_vaccine_card", - "hint": "Did the child receive their vaccine card?", + "hint": "{{pnc_vaccine_card.step1.vaccine_card.hint}}", "values": [ + "{{pnc_vaccine_card.step1.vaccine_card.values[0]}}", + "{{pnc_vaccine_card.step1.vaccine_card.values[1]}}" + ], + "keys": [ "Yes", "No" ], @@ -68,5 +72,6 @@ } } ] - } + }, + "properties_file_name": "pnc_vaccine_card" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/json.form/wash_check.json b/opensrp-chw/src/main/assets/json.form/wash_check.json index 1aed644021..58064b1539 100644 --- a/opensrp-chw/src/main/assets/json.form/wash_check.json +++ b/opensrp-chw/src/main/assets/json.form/wash_check.json @@ -47,7 +47,7 @@ "encounter_location": "" }, "step1": { - "title": "WASH check", + "title": "{{wash_check.step1.title}}", "fields": [ { "key": "handwashing_facilities", @@ -56,10 +56,14 @@ "openmrs_entity_id": "164863AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "openmrs_data_type": "select one", "type": "spinner", - "label_info_title": "Does the household have handwashing facilities?", - "label_info_text": "Respond \"Yes\" if the household has a designated space to wash hands (or a mobile handwashing point), water, and soap. Otherwise, respond \"No\".", - "hint": "Does the household have handwashing facilities?", + "label_info_title": "{{wash_check.step1.handwashing_facilities.label_info_title}}", + "label_info_text": "{{wash_check.step1.handwashing_facilities.label_info_text}}", + "hint": "{{wash_check.step1.handwashing_facilities.hint}}", "values": [ + "{{wash_check.step1.handwashing_facilities.values[0]}}", + "{{wash_check.step1.handwashing_facilities.values[1]}}" + ], + "keys": [ "Yes", "No" ], @@ -69,7 +73,7 @@ }, "v_required": { "value": true, - "err": "Please select option" + "err": "{{wash_check.step1.handwashing_facilities.v_required.err}}" } }, { @@ -79,10 +83,14 @@ "openmrs_entity_id": "", "openmrs_data_type": "select one", "type": "spinner", - "label_info_title": "Does the household have access to clean drinking water?", - "label_info_text": "Respond \"yes\" if the household has access to improved water sources that are available when needed and free from contamination. Improved drinking water sources are those that have the potential to deliver safe water by nature of their design and construction, and include: piped water, boreholes or tubewells, protected dug wells, protected springs, rainwater, and packaged or delivered water.", - "hint": "Does the household have access to clean drinking water?", + "label_info_title": "{{wash_check.step1.drinking_water.label_info_title}}", + "label_info_text": "{{wash_check.step1.drinking_water.label_info_text}}", + "hint": "{{wash_check.step1.drinking_water.hint}}", "values": [ + "{{wash_check.step1.drinking_water.values[0]}}", + "{{wash_check.step1.drinking_water.values[1]}}" + ], + "keys": [ "Yes", "No" ], @@ -92,7 +100,7 @@ }, "v_required": { "value": true, - "err": "Please select option" + "err": "{{wash_check.step1.drinking_water.v_required.err}}" } }, { @@ -102,10 +110,14 @@ "openmrs_entity_id": "", "openmrs_data_type": "select one", "type": "spinner", - "label_info_title": "Do household members use a hygienic latrine for the disposal of feces?", - "label_info_text": "Respond \"yes\" if the household uses improved sanitation facilities which are not shared with other households. Improved sanitation facilities are those designed to hygienically separate excreta from human contact, and include: flush/pour flush to piped sewer system, septic tanks or pit latrines; ventilated improved pit latrines, composting toilets or pit latrines with slabs.\n\nRespond \"no\" if they are practicing open defecation: disposal of human feces in fields, forests, bushes, open bodies of water, beaches and other open spaces or with solid waste.", - "hint": "Do household members use a hygienic latrine for the disposal of feces?", + "label_info_title": "{{wash_check.step1.hygienic_latrine.label_info_title}}", + "label_info_text": "{{wash_check.step1.hygienic_latrine.label_info_text}}", + "hint": "{{wash_check.step1.hygienic_latrine.hint}}", "values": [ + "{{wash_check.step1.hygienic_latrine.values[0]}}", + "{{wash_check.step1.hygienic_latrine.values[1]}}" + ], + "keys": [ "Yes", "No" ], @@ -115,9 +127,10 @@ }, "v_required": { "value": true, - "err": "Please select option" + "err": "{{wash_check.step1.hygienic_latrine.v_required.err}}" } } ] - } + }, + "properties_file_name": "wash_check" } \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/rule/anc_member_registration_calculation.yml b/opensrp-chw/src/main/assets/rule/anc_member_registration_calculation.yml index d24dbb0d0b..e58a1523dd 100644 --- a/opensrp-chw/src/main/assets/rule/anc_member_registration_calculation.yml +++ b/opensrp-chw/src/main/assets/rule/anc_member_registration_calculation.yml @@ -12,7 +12,7 @@ description: Gestational age calculated priority: 1 condition: "true" actions: - - "calculation = step1_gest_age + ' weeks'" + - "calculation = step1_gest_age + ' ' + step1_weeks" --- name: step1_edd diff --git a/opensrp-chw/src/main/assets/rule/anc_member_registration_relevance.yml b/opensrp-chw/src/main/assets/rule/anc_member_registration_relevance.yml index afef0dc1a2..237b9b641e 100644 --- a/opensrp-chw/src/main/assets/rule/anc_member_registration_relevance.yml +++ b/opensrp-chw/src/main/assets/rule/anc_member_registration_relevance.yml @@ -24,5 +24,12 @@ name: step1_edd description: edd relevance priority: 1 condition: "step1_last_menstrual_period_unknown.contains('lmp_unknown')" +actions: + - "isRelevant = true" +--- +name: step1_no_surv_children +description: no of surviving children +priority: 1 +condition: "step1_no_prev_preg > 0 && step1_no_prev_preg != ''" actions: - "isRelevant = true" \ No newline at end of file diff --git a/opensrp-chw/src/main/assets/thinkmd_assessment_parser.html b/opensrp-chw/src/main/assets/thinkmd_assessment_parser.html new file mode 100644 index 0000000000..3a0b895e50 --- /dev/null +++ b/opensrp-chw/src/main/assets/thinkmd_assessment_parser.html @@ -0,0 +1,270 @@ + + + + + + THINKMD Assessment + + + + +
+ +
+

Conditions

+
    +
    +
    + + + + + diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/actionhelper/IPTPAction.java b/opensrp-chw/src/main/java/org/smartregister/chw/actionhelper/IPTPAction.java index 026398990c..4daa055b97 100644 --- a/opensrp-chw/src/main/java/org/smartregister/chw/actionhelper/IPTPAction.java +++ b/opensrp-chw/src/main/java/org/smartregister/chw/actionhelper/IPTPAction.java @@ -36,9 +36,12 @@ public IPTPAction(Context context, String serviceIteration) { this.serviceIteration = serviceIteration; } - public JSONObject preProcess(JSONObject jsonObject, String iteration) throws JSONException { + public JSONObject preProcess(JSONObject jsonObject, String iteration, String lastMenstrualPeriod) throws JSONException { JSONArray fields = JsonFormUtils.fields(jsonObject); + JSONObject iptpJsonObject = JsonFormUtils.getFieldJSONObject(fields, "iptp{0}_date"); + iptpJsonObject.put(JsonFormConstants.MIN_DATE, lastMenstrualPeriod); + String title = jsonObject.getJSONObject(JsonFormConstants.STEP1).getString("title"); String formatted_count = MessageFormat.format("{0}{1}", iteration, Utils.getDayOfMonthSuffix(iteration)); @@ -46,13 +49,11 @@ public JSONObject preProcess(JSONObject jsonObject, String iteration) throws JSO JSONObject visit_field = JsonFormUtils.getFieldJSONObject(fields, "iptp{0}_date"); visit_field.put("key", MessageFormat.format(visit_field.getString("key"), iteration)); - if(iteration.equalsIgnoreCase("1")){ + if (iteration.equalsIgnoreCase("1")) { visit_field.put("hint", MessageFormat.format(visit_field.getString("hint"), context.getString(R.string.one))); - } - else if(iteration.equalsIgnoreCase("2")){ + } else if (iteration.equalsIgnoreCase("2")) { visit_field.put("hint", MessageFormat.format(visit_field.getString("hint"), context.getString(R.string.two))); - } - else if(iteration.equalsIgnoreCase("3")){ + } else if (iteration.equalsIgnoreCase("3")) { visit_field.put("hint", MessageFormat.format(visit_field.getString("hint"), context.getString(R.string.three))); } @@ -63,29 +64,7 @@ else if(iteration.equalsIgnoreCase("3")){ public void onJsonFormLoaded(String s, Context context, Map> map) { Timber.v("onJsonFormLoaded"); } -/* - @Override - public void onPayloadReceived(BaseAncHomeVisitAction ba) { - try { - JSONObject jsonObject = new JSONObject(ba.getJsonPayload()); - String value = org.smartregister.chw.util.JsonFormUtils.getValue(jsonObject, MessageFormat.format("iptp{0}_date", serviceIteration)); - - try { - if (ba.getServiceWrapper() != null && ba.getServiceWrapper().size() > 0) { - DateTime updateDate = DateTimeFormat.forPattern("dd-MM-yyyy").parseDateTime(value); - ba.getServiceWrapper().get(0).setUpdatedVaccineDate(updateDate, false); - } - } catch (Exception e) { - Timber.e(e); - } - - } catch (JSONException e) { - Timber.e(e); - } - } - -*/ @Override public BaseAncHomeVisitAction.ScheduleStatus getPreProcessedStatus() { return null; diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/actionhelper/ObservationAction.java b/opensrp-chw/src/main/java/org/smartregister/chw/actionhelper/ObservationAction.java index d28e183af2..a94c0b4f89 100644 --- a/opensrp-chw/src/main/java/org/smartregister/chw/actionhelper/ObservationAction.java +++ b/opensrp-chw/src/main/java/org/smartregister/chw/actionhelper/ObservationAction.java @@ -2,9 +2,12 @@ import android.content.Context; +import com.vijay.jsonwizard.constants.JsonFormConstants; + import org.apache.commons.lang3.StringUtils; import org.joda.time.LocalDate; import org.joda.time.format.DateTimeFormat; +import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import org.smartregister.chw.R; @@ -24,15 +27,38 @@ public class ObservationAction implements BaseAncHomeVisitAction.AncHomeVisitAct private String illness_description; private String action_taken; private LocalDate illnessDate = null; + private JSONObject jsonObject; + private String dob; + + public ObservationAction() { + } + + public ObservationAction(String dob) { + this.dob = dob; + } @Override public void onJsonFormLoaded(String jsonString, Context context, Map> details) { this.context = context; + try { + if (StringUtils.isNotBlank(dob)) { + jsonObject = new JSONObject(jsonString); + JSONArray fields = JsonFormUtils.fields(jsonObject); + JSONObject dateOfIllness = org.smartregister.util.JsonFormUtils.getFieldJSONObject(fields, "date_of_illness"); + dateOfIllness.put(JsonFormConstants.MIN_DATE, dob); + } + } catch (JSONException e) { + Timber.e(e); + } } @Override public String getPreProcessed() { - return null; + if (StringUtils.isNotBlank(dob)) { + return jsonObject.toString(); + } else { + return null; + } } @Override diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/activity/AboveFiveChildProfileActivity.java b/opensrp-chw/src/main/java/org/smartregister/chw/activity/AboveFiveChildProfileActivity.java index 229eb4e398..63c2542e3c 100644 --- a/opensrp-chw/src/main/java/org/smartregister/chw/activity/AboveFiveChildProfileActivity.java +++ b/opensrp-chw/src/main/java/org/smartregister/chw/activity/AboveFiveChildProfileActivity.java @@ -12,6 +12,7 @@ import org.smartregister.chw.R; import org.smartregister.chw.application.ChwApplication; import org.smartregister.chw.core.activity.CoreAboveFiveChildProfileActivity; +import org.smartregister.chw.core.contract.CoreChildProfileContract; import org.smartregister.chw.core.model.CoreChildProfileModel; import org.smartregister.chw.core.utils.CoreConstants; import org.smartregister.chw.custom_view.FamilyMemberFloatingMenu; @@ -26,7 +27,7 @@ import static org.smartregister.chw.util.Constants.MALARIA_REFERRAL_FORM; -public class AboveFiveChildProfileActivity extends CoreAboveFiveChildProfileActivity { +public class AboveFiveChildProfileActivity extends CoreAboveFiveChildProfileActivity implements CoreChildProfileContract.Flavor { public FamilyMemberFloatingMenu familyFloatingMenu; private List referralTypeModels = new ArrayList<>(); private ChildProfileActivity.Flavor flavor = new ChildProfileActivityFlv(); @@ -68,7 +69,7 @@ protected void initializePresenter() { familyName = ""; } - presenter = new AboveFiveChildProfilePresenter(this, new CoreChildProfileModel(familyName), childBaseEntityId); + presenter = new AboveFiveChildProfilePresenter(this, this, new CoreChildProfileModel(familyName), childBaseEntityId); } @Override @@ -159,4 +160,12 @@ private void addChildReferralTypes() { } } + @Override + public void togglePhysicallyDisabled(boolean show) { + if (show) { + physicallyChallenged.setVisibility(View.VISIBLE); + } else { + physicallyChallenged.setVisibility(View.GONE); + } + } } diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/activity/AllClientsMemberProfileActivity.java b/opensrp-chw/src/main/java/org/smartregister/chw/activity/AllClientsMemberProfileActivity.java index a977cf95ff..c827d8225e 100644 --- a/opensrp-chw/src/main/java/org/smartregister/chw/activity/AllClientsMemberProfileActivity.java +++ b/opensrp-chw/src/main/java/org/smartregister/chw/activity/AllClientsMemberProfileActivity.java @@ -1,32 +1,21 @@ package org.smartregister.chw.activity; -import android.app.Activity; import android.content.Context; -import android.content.Intent; import android.view.Menu; -import android.view.MenuItem; -import android.view.View; -import android.widget.RelativeLayout; -import android.widget.TextView; -import androidx.appcompat.app.ActionBar; -import androidx.appcompat.widget.Toolbar; import androidx.viewpager.widget.ViewPager; -import com.vijay.jsonwizard.constants.JsonFormConstants; -import com.vijay.jsonwizard.domain.Form; +import com.vijay.jsonwizard.utils.FormUtils; -import org.jetbrains.annotations.NotNull; +import org.json.JSONException; import org.json.JSONObject; import org.smartregister.chw.R; -import org.smartregister.chw.contract.AllClientsMemberContract; -import org.smartregister.chw.core.activity.CoreFamilyOtherMemberProfileActivity; +import org.smartregister.chw.core.activity.CoreAllClientsMemberProfileActivity; import org.smartregister.chw.core.activity.CoreFamilyProfileActivity; +import org.smartregister.chw.core.contract.CoreAllClientsMemberContract; import org.smartregister.chw.core.form_data.NativeFormsDataBinder; import org.smartregister.chw.core.fragment.FamilyCallDialogFragment; -import org.smartregister.chw.core.listener.OnClickFloatingMenu; import org.smartregister.chw.core.utils.CoreConstants; -import org.smartregister.chw.core.utils.CoreJsonFormUtils; import org.smartregister.chw.custom_view.FamilyMemberFloatingMenu; import org.smartregister.chw.dataloader.FamilyMemberDataLoader; import org.smartregister.chw.fp.util.FamilyPlanningConstants; @@ -35,89 +24,19 @@ import org.smartregister.chw.presenter.FamilyOtherMemberActivityPresenter; import org.smartregister.chw.util.Constants; import org.smartregister.chw.util.Utils; -import org.smartregister.commonregistry.CommonPersonObject; import org.smartregister.commonregistry.CommonPersonObjectClient; import org.smartregister.family.adapter.ViewPagerAdapter; import org.smartregister.family.fragment.BaseFamilyOtherMemberProfileFragment; import org.smartregister.family.model.BaseFamilyOtherMemberProfileActivityModel; -import org.smartregister.family.util.Constants.JSON_FORM_EXTRA; import org.smartregister.family.util.DBConstants; -import org.smartregister.family.util.JsonFormUtils; -import org.smartregister.helper.ImageRenderHelper; -import org.smartregister.opd.activity.BaseOpdFormActivity; -import org.smartregister.opd.utils.OpdConstants; import org.smartregister.view.contract.BaseProfileContract; -import org.smartregister.view.customcontrols.CustomFontTextView; import timber.log.Timber; -import static com.vijay.jsonwizard.constants.JsonFormConstants.COUNT; -import static com.vijay.jsonwizard.constants.JsonFormConstants.STEP1; -import static org.smartregister.chw.core.utils.CoreReferralUtils.getCommonRepository; -import static org.smartregister.family.util.JsonFormUtils.STEP2; - -public class AllClientsMemberProfileActivity extends CoreFamilyOtherMemberProfileActivity implements OnClickFloatingMenu, AllClientsMemberContract.View { +public class AllClientsMemberProfileActivity extends CoreAllClientsMemberProfileActivity { private FamilyMemberFloatingMenu familyFloatingMenu; - private RelativeLayout layoutFamilyHasRow; - private CustomFontTextView familyHeadTextView; - private CustomFontTextView careGiverTextView; - private AllClientsMemberContract.Presenter allClientsMemberPresenter; - - @Override - protected void onCreation() { - setIndependentClient(true); - setContentView(R.layout.activity_all_clients_member_profile); - - Toolbar toolbar = findViewById(org.smartregister.family.R.id.family_toolbar); - setSupportActionBar(toolbar); - - ActionBar actionBar = getSupportActionBar(); - if (actionBar != null) { - actionBar.setDisplayHomeAsUpEnabled(true); - actionBar.setTitle(""); - } - - appBarLayout = findViewById(org.smartregister.family.R.id.toolbar_appbarlayout); - - imageRenderHelper = new ImageRenderHelper(this); - - initializePresenter(); - - setupViews(); - } - - - @Override - public void setFamilyServiceStatus(String status) { - layoutFamilyHasRow.setVisibility(View.GONE); - } - - @Override - protected void setupViews() { - super.setupViews(); - TextView toolbarTitle = findViewById(R.id.toolbar_title); - toolbarTitle.setText(getString(R.string.return_to_all_client)); - layoutFamilyHasRow = findViewById(R.id.family_has_row); - familyHeadTextView = findViewById(R.id.family_head); - careGiverTextView = findViewById(R.id.primary_caregiver); - } - - @Override - protected void onResumption() { - super.onResumption(); - layoutFamilyHasRow.setVisibility(View.GONE); - } - - @Override - public void toggleFamilyHead(boolean show) { - familyHeadTextView.setVisibility(View.GONE); - } - - @Override - public void togglePrimaryCaregiver(boolean show) { - careGiverTextView.setVisibility(View.GONE); - } + private CoreAllClientsMemberContract.Presenter allClientsMemberPresenter; @Override public boolean onCreateOptionsMenu(Menu menu) { @@ -131,25 +50,6 @@ public boolean onCreateOptionsMenu(Menu menu) { return true; } - @Override - public boolean onOptionsItemSelected(MenuItem item) { - super.onOptionsItemSelected(item); - int itemId = item.getItemId(); - if (itemId == R.id.action_location_info) { - JSONObject preFilledForm = CoreJsonFormUtils.getAutoPopulatedJsonEditFormString( - CoreConstants.JSON_FORM.getFamilyDetailsRegister(), this, - getFamilyRegistrationDetails(), Utils.metadata().familyRegister.updateEventType); - if (preFilledForm != null) startFormActivity(preFilledForm); - return true; - } else if (itemId == R.id.action_hiv_registration) { - //TODO Start HIV registration form - return true; - } else if (itemId == R.id.action_tb_registration) { - //TODO Start HIV registration form - return true; - } - return true; - } @Override public FamilyOtherMemberActivityPresenter presenter() { @@ -167,6 +67,24 @@ protected void startMalariaRegister() { MalariaRegisterActivity.startMalariaRegistrationActivity(AllClientsMemberProfileActivity.this, baseEntityId, familyBaseEntityId); } + @Override + protected void startHivRegister() { + try { + HivRegisterActivity.startHIVFormActivity(AllClientsMemberProfileActivity.this, baseEntityId, Constants.JSON_FORM.getHivRegistration(), (new FormUtils()).getFormJsonFromRepositoryOrAssets(this, Constants.JSON_FORM.getHivRegistration()).toString()); + } catch (JSONException e) { + Timber.e(e); + } + } + + @Override + protected void startTbRegister() { + try { + TbRegisterActivity.startTbFormActivity(AllClientsMemberProfileActivity.this, baseEntityId, Constants.JSON_FORM.getTbRegistration(), (new FormUtils()).getFormJsonFromRepositoryOrAssets(this, Constants.JSON_FORM.getTbRegistration()).toString()); + } catch (JSONException e) { + Timber.e(e); + } + } + @Override protected void startFpRegister() { String dob = org.smartregister.family.util.Utils.getValue(commonPersonObject.getColumnmaps(), DBConstants.KEY.DOB, false); @@ -202,52 +120,15 @@ protected void startEditMemberJsonForm(Integer title_resource, CommonPersonObjec NativeFormsDataBinder binder = new NativeFormsDataBinder(getContext(), commonPersonObject.getCaseId()); binder.setDataLoader(new FamilyMemberDataLoader(familyName, isPrimaryCareGiver, titleString, Utils.metadata().familyMemberRegister.updateEventType, uniqueID)); - JSONObject jsonObject = binder.getPrePopulatedForm(Constants.ALL_CLIENT_REGISTRATION_FORM); + JSONObject jsonObject = binder.getPrePopulatedForm(CoreConstants.JSON_FORM.getAllClientUpdateRegistrationInfoForm()); try { - //Remove the first step and use the updated one - if (jsonObject != null && jsonObject.has(STEP1)) { - - jsonObject.put(JsonFormUtils.ENTITY_ID, baseEntityId); - jsonObject.put(COUNT, "1"); - jsonObject.remove(STEP1); - jsonObject.put(STEP1, jsonObject.getJSONObject(STEP2)); - jsonObject.remove(STEP2); - startFormActivity(jsonObject); - } - + startFormActivity(jsonObject); } catch (Exception e) { Timber.e(e); } } - @NotNull - private CommonPersonObjectClient getFamilyRegistrationDetails() { - //Update common person client object with all details from family register table - final CommonPersonObject personObject = getCommonRepository(Utils.metadata().familyRegister.tableName) - .findByBaseEntityId(familyBaseEntityId); - CommonPersonObjectClient commonPersonObjectClient = new CommonPersonObjectClient(personObject.getCaseId(), - personObject.getDetails(), ""); - commonPersonObjectClient.setColumnmaps(personObject.getColumnmaps()); - commonPersonObjectClient.setDetails(personObject.getDetails()); - return commonPersonObjectClient; - } - - @Override - public void startFormActivity(JSONObject jsonForm) { - Intent intent = new Intent(this, BaseOpdFormActivity.class); - intent.putExtra(OpdConstants.JSON_FORM_EXTRA.JSON, jsonForm.toString()); - Form form = new Form(); - form.setName(getString(R.string.update_client_registration)); - form.setActionBarBackground(R.color.family_actionbar); - form.setNavigationBackground(R.color.family_navigation); - form.setHomeAsUpIndicator(R.mipmap.ic_cross_white); - form.setPreviousLabel(getResources().getString(R.string.back)); - form.setWizard(false); - intent.putExtra(JsonFormConstants.JSON_FORM_KEY.FORM, form); - startActivityForResult(intent, JsonFormUtils.REQUEST_CODE_GET_JSON); - } - @Override protected BaseProfileContract.Presenter getFamilyOtherMemberActivityPresenter( String familyBaseEntityId, String baseEntityId, String familyHead, String primaryCaregiver, String villageTown, String familyName) { @@ -280,21 +161,6 @@ protected void initializePresenter() { allClientsMemberPresenter = new AllClientsMemberPresenter(this, baseEntityId); } - @Override - protected void onActivityResult(int requestCode, int resultCode, Intent data) { - super.onActivityResult(requestCode, resultCode, data); - if (resultCode != Activity.RESULT_OK) return; - try { - String jsonString = data.getStringExtra(JSON_FORM_EXTRA.JSON); - JSONObject form = new JSONObject(jsonString); - if (form.getString(JsonFormUtils.ENCOUNTER_TYPE).equals(Utils.metadata().familyRegister.updateEventType)) { - getAllClientsMemberPresenter().updateLocationInfo(jsonString, familyBaseEntityId); - } - } catch (Exception e) { - Timber.e(e); - } - } - @Override protected ViewPager setupViewPager(ViewPager viewPager) { adapter = new ViewPagerAdapter(getSupportFragmentManager()); @@ -341,7 +207,7 @@ public void onClickMenu(int viewId) { } @Override - public AllClientsMemberContract.Presenter getAllClientsMemberPresenter() { + public CoreAllClientsMemberContract.Presenter getAllClientsMemberPresenter() { return allClientsMemberPresenter; } } diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/activity/AllClientsRegisterActivity.java b/opensrp-chw/src/main/java/org/smartregister/chw/activity/AllClientsRegisterActivity.java index c302fc85f7..63a26a4431 100644 --- a/opensrp-chw/src/main/java/org/smartregister/chw/activity/AllClientsRegisterActivity.java +++ b/opensrp-chw/src/main/java/org/smartregister/chw/activity/AllClientsRegisterActivity.java @@ -7,12 +7,6 @@ import androidx.annotation.NonNull; import androidx.annotation.Nullable; -import com.google.android.material.bottomnavigation.BottomNavigationView; -import com.vijay.jsonwizard.constants.JsonFormConstants; -import com.vijay.jsonwizard.domain.Form; - -import org.json.JSONException; -import org.json.JSONObject; import org.smartregister.AllConstants; import org.smartregister.chw.R; import org.smartregister.chw.application.ChwApplication; @@ -21,22 +15,18 @@ import org.smartregister.chw.model.ChwAllClientsRegisterModel; import org.smartregister.chw.presenter.ChwAllClientRegisterPresenter; import org.smartregister.chw.util.Constants; -import org.smartregister.chw.util.JsonFormUtils; import org.smartregister.chw.util.Utils; import org.smartregister.helper.BottomNavigationHelper; -import org.smartregister.opd.activity.BaseOpdFormActivity; +import org.smartregister.listener.BottomNavigationListener; import org.smartregister.opd.contract.OpdRegisterActivityContract; -import org.smartregister.opd.pojo.RegisterParams; import org.smartregister.opd.presenter.BaseOpdRegisterActivityPresenter; -import org.smartregister.opd.utils.OpdConstants; -import org.smartregister.opd.utils.OpdJsonFormUtils; -import org.smartregister.opd.utils.OpdUtils; import org.smartregister.view.fragment.BaseRegisterFragment; +import java.util.Map; + import timber.log.Timber; -public class AllClientsRegisterActivity extends CoreAllClientsRegisterActivity - implements BottomNavigationView.OnNavigationItemSelectedListener { +public class AllClientsRegisterActivity extends CoreAllClientsRegisterActivity { @Override public void onCreate(@Nullable Bundle savedInstanceState) { @@ -49,16 +39,21 @@ protected BaseRegisterFragment getRegisterFragment() { return new AllClientsRegisterFragment(); } + @Override + public void startFormActivity(String s, String s1, Map map) { + Timber.v("startFormActivity"); + } + @Override public void startRegistration() { - startFormActivity(Constants.ALL_CLIENT_REGISTRATION_FORM,null, null); + this.startFormActivity(Constants.ALL_CLIENT_REGISTRATION_FORM, null, ""); } @Override public void startFormActivity(String formName, String entityId, String metaData) { try { String locationId = org.smartregister.family.util.Utils.context().allSharedPreferences().getPreference(AllConstants.CURRENT_LOCATION_ID); - ((ChwAllClientRegisterPresenter)presenter()).startForm(formName, entityId, metaData, locationId); + ((ChwAllClientRegisterPresenter) presenter()).startForm(formName, entityId, metaData, locationId); } catch (Exception e) { Timber.e(e); @@ -66,49 +61,12 @@ public void startFormActivity(String formName, String entityId, String metaData) } } - @Override - public void startFormActivity(JSONObject jsonObject) { - Intent intent = new Intent(this, BaseOpdFormActivity.class); - intent.putExtra(OpdConstants.JSON_FORM_EXTRA.JSON, jsonObject.toString()); - - Form form = new Form(); - form.setName(getString(R.string.client_registration)); - form.setActionBarBackground(R.color.family_actionbar); - form.setNavigationBackground(R.color.family_navigation); - form.setHomeAsUpIndicator(R.mipmap.ic_cross_white); - form.setPreviousLabel(getResources().getString(R.string.back)); - intent.putExtra(JsonFormConstants.JSON_FORM_KEY.FORM, form); - - startActivityForResult(intent, JsonFormUtils.REQUEST_CODE_GET_JSON); - } - - @Override - protected void onActivityResultExtended(int requestCode, int resultCode, Intent data) { - if (requestCode == OpdJsonFormUtils.REQUEST_CODE_GET_JSON && resultCode == RESULT_OK) { - try { - String jsonString = data.getStringExtra(OpdConstants.JSON_FORM_EXTRA.JSON); - Timber.d("JSONResult : %s", jsonString); - - JSONObject form = new JSONObject(jsonString); - String encounterType = form.getString(OpdJsonFormUtils.ENCOUNTER_TYPE); - if (encounterType.equals(Constants.EventType.FAMILY_REGISTRATION)) { - RegisterParams registerParam = new RegisterParams(); - registerParam.setEditMode(false); - registerParam.setFormTag(OpdJsonFormUtils.formTag(OpdUtils.context().allSharedPreferences())); - showProgressDialog(R.string.saving_dialog_title); - presenter().saveForm(jsonString, registerParam); - } - } catch (JSONException e) { - Timber.e(e); - } - } - } - @Override protected void registerBottomNavigation() { bottomNavigationHelper = new BottomNavigationHelper(); bottomNavigationView = findViewById(R.id.bottom_navigation); - Utils.setupBottomNavigation(bottomNavigationHelper, bottomNavigationView, this); + BottomNavigationListener bottomNavigationListener = new BottomNavigationListener(this); + Utils.setupBottomNavigation(bottomNavigationHelper, bottomNavigationView, bottomNavigationListener); bottomNavigationView.getMenu().findItem(R.id.action_register).setTitle(R.string.add_client).setIcon(R.drawable.ic_input_add); } @@ -125,7 +83,6 @@ public void switchToBaseFragment() { finish(); } - @Override public boolean onNavigationItemSelected(@NonNull MenuItem menuItem) { switch (menuItem.getItemId()) { case R.id.action_scan_qr: diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/activity/AncHomeVisitActivity.java b/opensrp-chw/src/main/java/org/smartregister/chw/activity/AncHomeVisitActivity.java index fa4a415d93..7d99e85513 100644 --- a/opensrp-chw/src/main/java/org/smartregister/chw/activity/AncHomeVisitActivity.java +++ b/opensrp-chw/src/main/java/org/smartregister/chw/activity/AncHomeVisitActivity.java @@ -1,7 +1,6 @@ package org.smartregister.chw.activity; import android.app.Activity; -import android.content.Context; import android.content.Intent; import com.vijay.jsonwizard.constants.JsonFormConstants; @@ -18,7 +17,6 @@ import org.smartregister.family.util.Constants; import org.smartregister.family.util.JsonFormUtils; import org.smartregister.family.util.Utils; -import org.smartregister.util.LangUtils; import java.util.Date; @@ -63,13 +61,6 @@ public void startFormActivity(JSONObject jsonForm) { startActivityForResult(intent, JsonFormUtils.REQUEST_CODE_GET_JSON); } - @Override - protected void attachBaseContext(Context base) { - // get language from prefs - String lang = LangUtils.getLanguage(base.getApplicationContext()); - super.attachBaseContext(LangUtils.setAppLocale(base, lang)); - } - @Override public void onDestroy() { try { diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/activity/AncMemberProfileActivity.java b/opensrp-chw/src/main/java/org/smartregister/chw/activity/AncMemberProfileActivity.java index 4df229134e..7bbdffb868 100644 --- a/opensrp-chw/src/main/java/org/smartregister/chw/activity/AncMemberProfileActivity.java +++ b/opensrp-chw/src/main/java/org/smartregister/chw/activity/AncMemberProfileActivity.java @@ -152,12 +152,6 @@ private void addAncReferralTypes() { BuildConfig.USE_UNIFIED_REFERRAL_APPROACH ? org.smartregister.chw.util.Constants.JSON_FORM.getAncUnifiedReferralForm() : org.smartregister.chw.util.Constants.JSON_FORM.getAncReferralForm(), CoreConstants.TASKS_FOCUS.ANC_DANGER_SIGNS)); if (BuildConfig.USE_UNIFIED_REFERRAL_APPROACH) { - referralTypeModels.add(new ReferralTypeModel(getString(R.string.hiv_referral), - org.smartregister.chw.util.Constants.JSON_FORM.getHivReferralForm(), CoreConstants.TASKS_FOCUS.SUSPECTED_HIV)); - - referralTypeModels.add(new ReferralTypeModel(getString(R.string.tb_referral), - org.smartregister.chw.util.Constants.JSON_FORM.getTbReferralForm(), CoreConstants.TASKS_FOCUS.SUSPECTED_TB)); - referralTypeModels.add(new ReferralTypeModel(getString(R.string.gbv_referral), org.smartregister.chw.util.Constants.JSON_FORM.getGbvReferralForm(), CoreConstants.TASKS_FOCUS.SUSPECTED_GBV)); } diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/activity/AncRegisterActivity.java b/opensrp-chw/src/main/java/org/smartregister/chw/activity/AncRegisterActivity.java index 9345158aeb..3562ea9cb3 100644 --- a/opensrp-chw/src/main/java/org/smartregister/chw/activity/AncRegisterActivity.java +++ b/opensrp-chw/src/main/java/org/smartregister/chw/activity/AncRegisterActivity.java @@ -21,18 +21,22 @@ import static org.smartregister.chw.core.utils.CoreConstants.EventType.ANC_REGISTRATION; public class AncRegisterActivity extends CoreAncRegisterActivity { + protected static boolean shouldFinishOnBack; public static void startAncRegistrationActivity(Activity activity, String memberBaseEntityID, String phoneNumber, String formName, String uniqueId, String familyBaseID, String family_name) { Intent intent = new Intent(activity, AncRegisterActivity.class); intent.putExtra(org.smartregister.chw.anc.util.Constants.ACTIVITY_PAYLOAD.BASE_ENTITY_ID, memberBaseEntityID); - phone_number = phoneNumber; - familyBaseEntityId = familyBaseID; - form_name = formName; - familyName = family_name; - unique_id = uniqueId; + + shouldFinishOnBack = activity instanceof FamilyOtherMemberProfileActivity; + + intent.putExtra(CoreConstants.ACTIVITY_PAYLOAD.PHONE_NUMBER, phoneNumber); + intent.putExtra(CoreConstants.ACTIVITY_PAYLOAD.FAMILY_BASE_ENTITY_ID, familyBaseID); + intent.putExtra(CoreConstants.ACTIVITY_PAYLOAD.FORM_NAME, formName); + intent.putExtra(CoreConstants.ACTIVITY_PAYLOAD.FAMILY_NAME, family_name); + intent.putExtra(CoreConstants.ACTIVITY_PAYLOAD.UNIQUE_ID, uniqueId); intent.putExtra(org.smartregister.chw.anc.util.Constants.ACTIVITY_PAYLOAD.ACTION, org.smartregister.chw.anc.util.Constants.ACTIVITY_PAYLOAD_TYPE.REGISTRATION); - intent.putExtra(Constants.ACTIVITY_PAYLOAD.TABLE_NAME, getFormTable()); + intent.putExtra(Constants.ACTIVITY_PAYLOAD.TABLE_NAME, "ec_anc_register"); activity.startActivity(intent); } @@ -83,7 +87,7 @@ protected void onActivityResult(int requestCode, int resultCode, Intent data) { } catch (Exception e) { Timber.e(e); } - } else { + } else if (shouldFinishOnBack) { finish(); } } diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/activity/ChildProfileActivity.java b/opensrp-chw/src/main/java/org/smartregister/chw/activity/ChildProfileActivity.java index 343a88bdb1..195a1b7546 100644 --- a/opensrp-chw/src/main/java/org/smartregister/chw/activity/ChildProfileActivity.java +++ b/opensrp-chw/src/main/java/org/smartregister/chw/activity/ChildProfileActivity.java @@ -12,6 +12,7 @@ import android.widget.RelativeLayout; import android.widget.TextView; +import org.apache.commons.lang3.StringUtils; import org.json.JSONObject; import org.smartregister.chw.BuildConfig; import org.smartregister.chw.R; @@ -19,6 +20,7 @@ import org.smartregister.chw.application.ChwApplication; import org.smartregister.chw.core.activity.CoreChildProfileActivity; import org.smartregister.chw.core.adapter.NotificationListAdapter; +import org.smartregister.chw.core.contract.CoreChildProfileContract; import org.smartregister.chw.core.listener.OnClickFloatingMenu; import org.smartregister.chw.core.listener.OnRetrieveNotifications; import org.smartregister.chw.core.model.CoreChildProfileModel; @@ -38,13 +40,16 @@ import java.util.List; import static org.smartregister.chw.anc.util.Constants.ANC_MEMBER_OBJECTS.MEMBER_PROFILE_OBJECT; +import static org.smartregister.chw.core.dao.ChildDao.queryColumnWithIdentifier; +import static org.smartregister.chw.core.utils.CoreConstants.ThinkMdConstants.CARE_PLAN_DATE; +import static org.smartregister.chw.core.utils.CoreConstants.ThinkMdConstants.FHIR_BUNDLE_INTENT; import static org.smartregister.chw.core.utils.Utils.updateToolbarTitle; import static org.smartregister.chw.util.Constants.MALARIA_REFERRAL_FORM; import static org.smartregister.chw.util.NotificationsUtil.handleNotificationRowClick; import static org.smartregister.chw.util.NotificationsUtil.handleReceivedNotifications; import static org.smartregister.opd.utils.OpdConstants.DateFormat.YYYY_MM_DD; -public class ChildProfileActivity extends CoreChildProfileActivity implements OnRetrieveNotifications { +public class ChildProfileActivity extends CoreChildProfileActivity implements OnRetrieveNotifications, CoreChildProfileContract.Flavor { public FamilyMemberFloatingMenu familyFloatingMenu; private Flavor flavor = new ChildProfileActivityFlv(); private List referralTypeModels = new ArrayList<>(); @@ -71,8 +76,17 @@ protected void onCreation() { } @Override + protected void onNewIntent(Intent intent) { + super.onNewIntent(intent); + if (intent.hasExtra(FHIR_BUNDLE_INTENT) + && StringUtils.isNotBlank(intent.getStringExtra(FHIR_BUNDLE_INTENT))) { + presenter().createCarePlanEvent(getContext(), intent.getStringExtra(FHIR_BUNDLE_INTENT)); + } + } + public void setUpToolbar() { - updateToolbarTitle(this, R.id.toolbar_title, flavor.getToolbarTitleName(memberObject)); + if (memberObject != null && memberObject.getFirstName() != null) + updateToolbarTitle(this, R.id.toolbar_title, flavor.getToolbarTitleName(memberObject)); } @Override @@ -119,7 +133,7 @@ protected void initializePresenter() { familyName = ""; } - presenter = new ChildProfilePresenter(this, new CoreChildProfileModel(familyName), childBaseEntityId); + presenter = new ChildProfilePresenter(this, this, new CoreChildProfileModel(familyName), childBaseEntityId); } @Override @@ -154,14 +168,19 @@ public boolean onOptionsItemSelected(MenuItem item) { IndividualProfileRemoveActivity.startIndividualProfileActivity(ChildProfileActivity.this, presenter().getChildClient(), ((ChildProfilePresenter) presenter()).getFamilyID() , ((ChildProfilePresenter) presenter()).getFamilyHeadID(), ((ChildProfilePresenter) presenter()).getPrimaryCareGiverID(), ChildRegisterActivity.class.getCanonicalName()); - return true; + case R.id.action_thinkmd_health_assessment: + presenter().launchThinkMDHealthAssessment(getContext()); + break; + case R.id.action_thinkmd_careplan: + presenter().showThinkMDCarePlan(getContext()); + break; default: break; } return super.onOptionsItemSelected(item); } - + @Override public boolean onCreateOptionsMenu(Menu menu) { super.onCreateOptionsMenu(menu); @@ -173,6 +192,13 @@ public boolean onCreateOptionsMenu(Menu menu) { menu.findItem(R.id.action_malaria_followup_visit).setVisible(false); menu.findItem(R.id.action_thinkmd_health_assessment).setVisible(ChwApplication.getApplicationFlavor().useThinkMd() && flavor.isChildOverTwoMonths(((CoreChildProfilePresenter) presenter).getChildClient())); + if (ChwApplication.getApplicationFlavor().useThinkMd() + && StringUtils.isNotBlank(queryColumnWithIdentifier(CoreConstants.DB_CONSTANTS.BASE_ENTITY_ID, childBaseEntityId, CARE_PLAN_DATE))) { + menu.findItem(R.id.action_thinkmd_careplan).setVisible(true); + menu.findItem(R.id.action_thinkmd_careplan).setTitle( + String.format(getResources().getString(R.string.thinkmd_careplan), queryColumnWithIdentifier(CoreConstants.DB_CONSTANTS.BASE_ENTITY_ID, childBaseEntityId, CARE_PLAN_DATE)) + ); + } return true; } @@ -275,6 +301,15 @@ public void setFamilyHasNothingElseDue() { textViewFamilyHas.setText(getString(R.string.family_has_nothing_else_due)); } + @Override + public void togglePhysicallyDisabled(boolean show) { + if (show) { + physicallyChallenged.setVisibility(View.VISIBLE); + } else { + physicallyChallenged.setVisibility(View.GONE); + } + } + public interface Flavor { OnClickFloatingMenu getOnClickFloatingMenu(Activity activity, ChildProfilePresenter presenter); diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/activity/DefaultChildProfileActivityFlv.java b/opensrp-chw/src/main/java/org/smartregister/chw/activity/DefaultChildProfileActivityFlv.java index a992e58480..085d73455f 100644 --- a/opensrp-chw/src/main/java/org/smartregister/chw/activity/DefaultChildProfileActivityFlv.java +++ b/opensrp-chw/src/main/java/org/smartregister/chw/activity/DefaultChildProfileActivityFlv.java @@ -34,6 +34,9 @@ public abstract class DefaultChildProfileActivityFlv implements ChildProfileActi @Override public boolean isChildOverTwoMonths(CommonPersonObjectClient client) { + if (client == null) { + return false; + } String dobStr = Utils.getValue(client.getColumnmaps(), DBConstants.KEY.DOB, false); Date dobDate = null; try { diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/activity/DefaultChwAncMedicalHistoryActivityFlv.java b/opensrp-chw/src/main/java/org/smartregister/chw/activity/DefaultChwAncMedicalHistoryActivityFlv.java new file mode 100644 index 0000000000..5759e5cee3 --- /dev/null +++ b/opensrp-chw/src/main/java/org/smartregister/chw/activity/DefaultChwAncMedicalHistoryActivityFlv.java @@ -0,0 +1,21 @@ +package org.smartregister.chw.activity; + +import android.content.Context; +import android.view.View; + +import org.smartregister.chw.anc.domain.Visit; +import org.smartregister.chw.application.ChwApplication; +import org.smartregister.chw.core.activity.DefaultAncMedicalHistoryActivityFlv; + +import java.util.List; + + +class DefaultChwAncMedicalHistoryActivityFlv extends DefaultAncMedicalHistoryActivityFlv { + @Override + public void processViewData(List visits, Context context) { + super.processViewData(visits, context); + if (!ChwApplication.getApplicationFlavor().hasDeliveryKit()) { + linearLayoutDeliveryKit.setVisibility(View.GONE); + } + } +} diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/activity/DefaultFamilyOtherMemberProfileActivityFlv.java b/opensrp-chw/src/main/java/org/smartregister/chw/activity/DefaultFamilyOtherMemberProfileActivityFlv.java index fc6210ae45..f2f74b365b 100644 --- a/opensrp-chw/src/main/java/org/smartregister/chw/activity/DefaultFamilyOtherMemberProfileActivityFlv.java +++ b/opensrp-chw/src/main/java/org/smartregister/chw/activity/DefaultFamilyOtherMemberProfileActivityFlv.java @@ -3,6 +3,8 @@ import android.app.Activity; import android.view.Menu; +import androidx.annotation.Nullable; + import org.smartregister.chw.R; import org.smartregister.chw.core.fragment.FamilyCallDialogFragment; import org.smartregister.chw.core.listener.OnClickFloatingMenu; @@ -49,6 +51,16 @@ public void updateMalariaMenuItems(String baseEntityId, Menu menu) { // TODO implement if wcaro would need malaria module } + @Override + public void updateHivMenuItems(@Nullable String baseEntityId, @Nullable Menu menu) { +// TODO implement if wcaro would need hiv module + } + + @Override + public void updateTbMenuItems(@Nullable String baseEntityId, @Nullable Menu menu) { +// TODO implement if wcaro would need tb module + } + @Override public boolean hasANC() { return true; diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/activity/DefaultHivProfileActivityFlv.java b/opensrp-chw/src/main/java/org/smartregister/chw/activity/DefaultHivProfileActivityFlv.java new file mode 100644 index 0000000000..3306014ebd --- /dev/null +++ b/opensrp-chw/src/main/java/org/smartregister/chw/activity/DefaultHivProfileActivityFlv.java @@ -0,0 +1,13 @@ +package org.smartregister.chw.activity; + +import android.view.Menu; + +import org.smartregister.chw.R; + +public abstract class DefaultHivProfileActivityFlv implements HivProfileActivity.Flavor { + + @Override + public void updateTbMenuItems(String baseEntityId, Menu menu) { + menu.findItem(R.id.action_tb_registration).setVisible(false); + } +} diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/activity/DefaultTbProfileActivityFlv.java b/opensrp-chw/src/main/java/org/smartregister/chw/activity/DefaultTbProfileActivityFlv.java new file mode 100644 index 0000000000..fde7b42e5d --- /dev/null +++ b/opensrp-chw/src/main/java/org/smartregister/chw/activity/DefaultTbProfileActivityFlv.java @@ -0,0 +1,12 @@ +package org.smartregister.chw.activity; + +import android.view.Menu; + +import org.smartregister.chw.R; + +public abstract class DefaultTbProfileActivityFlv implements TbProfileActivity.Flavor { + @Override + public void updateHivMenuItems(String baseEntityId, Menu menu) { + menu.findItem(R.id.action_hiv_registration).setVisible(false); + } +} diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/activity/FamilyOtherMemberProfileActivity.java b/opensrp-chw/src/main/java/org/smartregister/chw/activity/FamilyOtherMemberProfileActivity.java index 2252fe1e2c..b8bccdc9cd 100644 --- a/opensrp-chw/src/main/java/org/smartregister/chw/activity/FamilyOtherMemberProfileActivity.java +++ b/opensrp-chw/src/main/java/org/smartregister/chw/activity/FamilyOtherMemberProfileActivity.java @@ -7,8 +7,12 @@ import androidx.annotation.Nullable; import androidx.viewpager.widget.ViewPager; +import com.vijay.jsonwizard.utils.FormUtils; + +import org.json.JSONException; import org.json.JSONObject; import org.smartregister.chw.R; +import org.smartregister.chw.application.ChwApplication; import org.smartregister.chw.core.activity.CoreFamilyOtherMemberProfileActivity; import org.smartregister.chw.core.activity.CoreFamilyProfileActivity; import org.smartregister.chw.core.form_data.NativeFormsDataBinder; @@ -19,6 +23,7 @@ import org.smartregister.chw.fp.util.FamilyPlanningConstants; import org.smartregister.chw.fragment.FamilyOtherMemberProfileFragment; import org.smartregister.chw.presenter.FamilyOtherMemberActivityPresenter; +import org.smartregister.chw.util.Constants; import org.smartregister.chw.util.Utils; import org.smartregister.commonregistry.CommonPersonObjectClient; import org.smartregister.family.adapter.ViewPagerAdapter; @@ -47,7 +52,7 @@ public boolean onCreateOptionsMenu(Menu menu) { super.onCreateOptionsMenu(menu); String gender = Utils.getValue(commonPersonObject.getColumnmaps(), DBConstants.KEY.GENDER, false); // Check if woman is already registered - if (flavor.hasANC() && !presenter().isWomanAlreadyRegisteredOnAnc(commonPersonObject) && flavor.isOfReproductiveAge(commonPersonObject, "Female") && gender.equalsIgnoreCase("Female") ) { + if (flavor.hasANC() && !presenter().isWomanAlreadyRegisteredOnAnc(commonPersonObject) && flavor.isOfReproductiveAge(commonPersonObject, "Female") && gender.equalsIgnoreCase("Female")) { flavor.updateFpMenuItems(baseEntityId, menu); menu.findItem(R.id.action_anc_registration).setVisible(true); } else { @@ -63,6 +68,17 @@ public boolean onCreateOptionsMenu(Menu menu) { flavor.updateMaleFpMenuItems(baseEntityId, menu); } + if (!ChwApplication.getApplicationFlavor().hasHIV()) { + menu.findItem(R.id.action_hiv_registration).setVisible(false); + } else { + flavor.updateHivMenuItems(baseEntityId, menu); + } + + if (!ChwApplication.getApplicationFlavor().hasTB()) { + menu.findItem(R.id.action_tb_registration).setVisible(false); + } else { + flavor.updateTbMenuItems(baseEntityId, menu); + } return true; } @@ -104,6 +120,24 @@ protected void removeIndividualProfile() { commonPersonObject, familyBaseEntityId, familyHead, primaryCaregiver, FamilyRegisterActivity.class.getCanonicalName()); } + @Override + protected void startHivRegister() { + try { + HivRegisterActivity.startHIVFormActivity(FamilyOtherMemberProfileActivity.this, baseEntityId, Constants.JSON_FORM.getHivRegistration(), (new FormUtils()).getFormJsonFromRepositoryOrAssets(this, Constants.JSON_FORM.getHivRegistration()).toString()); + } catch (JSONException e) { + Timber.e(e); + } + } + + @Override + protected void startTbRegister() { + try { + TbRegisterActivity.startTbFormActivity(FamilyOtherMemberProfileActivity.this, baseEntityId, Constants.JSON_FORM.getTbRegistration(), (new FormUtils()).getFormJsonFromRepositoryOrAssets(this, Constants.JSON_FORM.getTbRegistration()).toString()); + } catch (JSONException e) { + Timber.e(e); + } + } + @Override protected void startEditMemberJsonForm(Integer title_resource, CommonPersonObjectClient client) { String titleString = title_resource != null ? getResources().getString(title_resource) : null; @@ -154,7 +188,7 @@ protected Class getFamilyProfileActivity() @Override protected void initializePresenter() { super.initializePresenter(); - onClickFloatingMenu = flavor.getOnClickFloatingMenu(this, familyBaseEntityId,baseEntityId); + onClickFloatingMenu = flavor.getOnClickFloatingMenu(this, familyBaseEntityId, baseEntityId); } @Override @@ -173,11 +207,26 @@ protected BaseFamilyOtherMemberProfileFragment getFamilyOtherMemberProfileFragme return FamilyOtherMemberProfileFragment.newInstance(getIntent().getExtras()); } + @Override + protected void startMalariaFollowUpVisit() { + MalariaFollowUpVisitActivity.startMalariaFollowUpActivity(this, baseEntityId); + } + + @Override + protected void setIndependentClient(boolean isIndependentClient) { + super.isIndependent = isIndependentClient; + } + + @Override + protected void startHfMalariaFollowupForm() { + //Implements from super + } + /** * build implementation differences file */ public interface Flavor { - OnClickFloatingMenu getOnClickFloatingMenu(final Activity activity, final String familyBaseEntityId , final String baseEntityId); + OnClickFloatingMenu getOnClickFloatingMenu(final Activity activity, final String familyBaseEntityId, final String baseEntityId); boolean isOfReproductiveAge(CommonPersonObjectClient commonPersonObject, String gender); @@ -187,21 +236,10 @@ public interface Flavor { void updateMaleFpMenuItems(@Nullable String baseEntityId, @Nullable Menu menu); - boolean hasANC(); - } - - @Override - protected void startMalariaFollowUpVisit() { - MalariaFollowUpVisitActivity.startMalariaFollowUpActivity(this, baseEntityId); - } + void updateHivMenuItems(@Nullable String baseEntityId, @Nullable Menu menu); - @Override - protected void startHfMalariaFollowupForm() { - //Implements from super - } + void updateTbMenuItems(@Nullable String baseEntityId, @Nullable Menu menu); - @Override - protected void setIndependentClient(boolean isIndependentClient) { - super.isIndependent = isIndependentClient; + boolean hasANC(); } } diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/activity/FamilyProfileActivity.java b/opensrp-chw/src/main/java/org/smartregister/chw/activity/FamilyProfileActivity.java index 33071f9369..5576144632 100644 --- a/opensrp-chw/src/main/java/org/smartregister/chw/activity/FamilyProfileActivity.java +++ b/opensrp-chw/src/main/java/org/smartregister/chw/activity/FamilyProfileActivity.java @@ -27,9 +27,11 @@ import org.smartregister.chw.fragment.FamilyProfileActivityFragment; import org.smartregister.chw.fragment.FamilyProfileDueFragment; import org.smartregister.chw.fragment.FamilyProfileMemberFragment; +import org.smartregister.chw.hiv.dao.HivDao; import org.smartregister.chw.model.FamilyProfileModel; import org.smartregister.chw.pnc.activity.BasePncMemberProfileActivity; import org.smartregister.chw.presenter.FamilyProfilePresenter; +import org.smartregister.chw.tb.dao.TbDao; import org.smartregister.commonregistry.CommonPersonObject; import org.smartregister.commonregistry.CommonPersonObjectClient; import org.smartregister.family.adapter.ViewPagerAdapter; @@ -40,6 +42,7 @@ import org.smartregister.view.fragment.BaseRegisterFragment; import java.util.HashMap; +import java.util.Objects; import static org.smartregister.chw.core.utils.Utils.passToolbarTitle; @@ -170,6 +173,16 @@ protected void goToFpProfile(String baseEntityId, Activity activity) { FamilyPlanningMemberProfileActivity.startFpMemberProfileActivity(activity, FpDao.getMember(baseEntityId)); } + @Override + protected void goToHivProfile(String baseEntityId, Activity activity) { + HivProfileActivity.startHivProfileActivity(this, Objects.requireNonNull(HivDao.getMember(baseEntityId))); + } + + @Override + protected void goToTbProfile(String baseEntityId, Activity activity) { + TbProfileActivity.startTbProfileActivity(this, Objects.requireNonNull(TbDao.getMember(baseEntityId))); + } + @Override protected boolean isAncMember(String baseEntityId) { diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/activity/FamilyRegisterActivity.java b/opensrp-chw/src/main/java/org/smartregister/chw/activity/FamilyRegisterActivity.java index effd2a622e..da3df78a9b 100644 --- a/opensrp-chw/src/main/java/org/smartregister/chw/activity/FamilyRegisterActivity.java +++ b/opensrp-chw/src/main/java/org/smartregister/chw/activity/FamilyRegisterActivity.java @@ -16,6 +16,10 @@ import org.smartregister.helper.BottomNavigationHelper; import org.smartregister.view.fragment.BaseRegisterFragment; +import java.util.Map; + +import timber.log.Timber; + public class FamilyRegisterActivity extends CoreFamilyRegisterActivity { public static void startFamilyRegisterForm(Activity activity) { @@ -52,4 +56,9 @@ protected void onCreate(Bundle savedInstanceState) { protected BaseRegisterFragment getRegisterFragment() { return new FamilyRegisterFragment(); } + + @Override + public void startFormActivity(String s, String s1, Map map) { + Timber.v("startFormActivity"); + } } \ No newline at end of file diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/activity/FpFollowUpVisitActivity.java b/opensrp-chw/src/main/java/org/smartregister/chw/activity/FpFollowUpVisitActivity.java index bdc43e2073..f25cc8c4af 100644 --- a/opensrp-chw/src/main/java/org/smartregister/chw/activity/FpFollowUpVisitActivity.java +++ b/opensrp-chw/src/main/java/org/smartregister/chw/activity/FpFollowUpVisitActivity.java @@ -1,7 +1,6 @@ package org.smartregister.chw.activity; import android.app.Activity; -import android.content.Context; import android.content.Intent; import com.vijay.jsonwizard.constants.JsonFormConstants; @@ -20,7 +19,6 @@ import org.smartregister.chw.schedulers.ChwScheduleTaskExecutor; import org.smartregister.family.util.Constants; import org.smartregister.family.util.JsonFormUtils; -import org.smartregister.util.LangUtils; import java.util.Date; @@ -80,11 +78,5 @@ public void startFormActivity(JSONObject jsonForm) { startActivityForResult(intent, JsonFormUtils.REQUEST_CODE_GET_JSON); } - @Override - protected void attachBaseContext(Context base) { - // get language from prefs - String lang = LangUtils.getLanguage(base.getApplicationContext()); - super.attachBaseContext(LangUtils.setAppLocale(base, lang)); - } } diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/activity/GuideBooksCounselingActivity.java b/opensrp-chw/src/main/java/org/smartregister/chw/activity/GuideBooksCounselingActivity.java new file mode 100644 index 0000000000..e1091fbf06 --- /dev/null +++ b/opensrp-chw/src/main/java/org/smartregister/chw/activity/GuideBooksCounselingActivity.java @@ -0,0 +1,130 @@ +package org.smartregister.chw.activity; + + +import android.app.Activity; +import android.content.Context; +import android.os.Bundle; +import android.view.View; +import android.widget.ProgressBar; + +import androidx.recyclerview.widget.DividerItemDecoration; +import androidx.recyclerview.widget.LinearLayoutManager; +import androidx.recyclerview.widget.RecyclerView; + +import com.github.barteksc.pdfviewer.PDFView; +import com.github.barteksc.pdfviewer.util.FitPolicy; + +import org.jetbrains.annotations.Nullable; +import org.smartregister.chw.R; +import org.smartregister.chw.adapter.GuideBooksAdapter; +import org.smartregister.chw.application.ChwApplication; +import org.smartregister.chw.contract.GuideBooksFragmentContract; +import org.smartregister.chw.interactor.GuideBooksFragmentInteractor; +import org.smartregister.chw.presenter.GuideBooksFragmentPresenter; +import org.smartregister.chw.util.DownloadGuideBooksUtils; + +import java.io.File; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + + +public class GuideBooksCounselingActivity extends Activity implements GuideBooksFragmentContract.View { + + protected RecyclerView.Adapter mAdapter; + protected PDFView pdfView; + protected GuideBooksFragmentContract.Presenter presenter; + private List videos = new ArrayList<>(); + private ProgressBar progressBar; + private Map allVideos = new HashMap<>(); + + @Override + protected void onCreate(@androidx.annotation.Nullable Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_guide_books_counseling); + RecyclerView recyclerView = findViewById(R.id.recyclerView); + progressBar = findViewById(R.id.progress_bar); + pdfView = findViewById(R.id.pdfView); + + RecyclerView.LayoutManager layoutManager = new LinearLayoutManager(getViewContext()); + recyclerView.setLayoutManager(layoutManager); + + mAdapter = new GuideBooksAdapter(videos, this, ChwApplication.getCounselingDocsDirectory()); + recyclerView.setAdapter(mAdapter); + recyclerView.addItemDecoration(new DividerItemDecoration(recyclerView.getContext(), DividerItemDecoration.VERTICAL)); + + initializePresenter(); + presenter.initialize("pdf_files.json", ChwApplication.getCounselingDocsDirectory()); + } + + @Override + public void initializePresenter() { + presenter = new GuideBooksFragmentPresenter(this, new GuideBooksFragmentInteractor()); + } + + @Override + public GuideBooksFragmentContract.Presenter getPresenter() { + return presenter; + } + + @Override + public void onDataReceived(List receivedVideos) { + + for (GuideBooksFragmentContract.RemoteFile video : receivedVideos) { + GuideBooksFragmentContract.RemoteFile available = allVideos.get(video.getID()); + if (available == null) { + allVideos.put(video.getID(), video); + } else if (video.isDowloaded() && !available.isDowloaded()) { + allVideos.put(video.getID(), video); + } + } + + List res = new ArrayList<>(allVideos.values()); + Collections.sort(res, (video1, video2) -> video1.getTitle().compareTo(video2.getTitle())); + + this.videos.clear(); + this.videos.addAll(res); + this.mAdapter.notifyDataSetChanged(); + this.displayLoadingState(false); + } + + @Override + public @Nullable Context getViewContext() { + return this; + } + + @Override + public void displayLoadingState(boolean state) { + progressBar.setVisibility(state ? View.VISIBLE : View.GONE); + } + + @Override + public void openFile(GuideBooksFragmentContract.RemoteFile remoteFile) { + pdfView.setVisibility(View.VISIBLE); + pdfView.fromFile(new File(remoteFile.getLocalPath())) + .pageFitPolicy(FitPolicy.WIDTH) + .spacing(0) + .load(); + } + + @Override + public void downloadFile(GuideBooksFragmentContract.DownloadListener downloadListener, GuideBooksFragmentContract.RemoteFile video) { + new DownloadGuideBooksUtils(downloadListener, video.getName(), ChwApplication.getCounselingDocsDirectory(), getViewContext()).execute(); + } + + @Override + public void onBackPressed() { + if (pdfView.getVisibility() == View.VISIBLE) { + pdfView.recycle(); + pdfView.setVisibility(View.GONE); + } + else + super.onBackPressed(); + } + + public void onBackIconClicked(View view) { + onBackPressed(); + } +} diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/fragment/JobAidsGuideBooksFragment.java b/opensrp-chw/src/main/java/org/smartregister/chw/activity/GuideBooksTutorialsActivity.java similarity index 58% rename from opensrp-chw/src/main/java/org/smartregister/chw/fragment/JobAidsGuideBooksFragment.java rename to opensrp-chw/src/main/java/org/smartregister/chw/activity/GuideBooksTutorialsActivity.java index d516448504..f429adaaf1 100644 --- a/opensrp-chw/src/main/java/org/smartregister/chw/fragment/JobAidsGuideBooksFragment.java +++ b/opensrp-chw/src/main/java/org/smartregister/chw/activity/GuideBooksTutorialsActivity.java @@ -1,16 +1,14 @@ -package org.smartregister.chw.fragment; +package org.smartregister.chw.activity; +import android.app.Activity; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.Bundle; -import android.view.LayoutInflater; import android.view.View; -import android.view.ViewGroup; import android.widget.ProgressBar; -import androidx.fragment.app.Fragment; import androidx.recyclerview.widget.DividerItemDecoration; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; @@ -18,6 +16,7 @@ import org.jetbrains.annotations.Nullable; import org.smartregister.chw.R; import org.smartregister.chw.adapter.GuideBooksAdapter; +import org.smartregister.chw.application.ChwApplication; import org.smartregister.chw.contract.GuideBooksFragmentContract; import org.smartregister.chw.interactor.GuideBooksFragmentInteractor; import org.smartregister.chw.presenter.GuideBooksFragmentPresenter; @@ -30,39 +29,30 @@ import java.util.Map; -public class JobAidsGuideBooksFragment extends Fragment implements GuideBooksFragmentContract.View { +public class GuideBooksTutorialsActivity extends Activity implements GuideBooksFragmentContract.View { protected RecyclerView.Adapter mAdapter; protected GuideBooksFragmentContract.Presenter presenter; - private List videos = new ArrayList<>(); + private List videos = new ArrayList<>(); private ProgressBar progressBar; - private Map allVideos = new HashMap<>(); - - public static JobAidsGuideBooksFragment newInstance() { - JobAidsGuideBooksFragment fragment = new JobAidsGuideBooksFragment(); - Bundle args = new Bundle(); - fragment.setArguments(args); - return fragment; - } + private Map allVideos = new HashMap<>(); @Override - public View onCreateView(LayoutInflater inflater, ViewGroup container, - Bundle savedInstanceState) { - // Inflate the layout for this fragment - View rootView = inflater.inflate(R.layout.fragment_job_aids_guide_books, container, false); - RecyclerView recyclerView = rootView.findViewById(R.id.recyclerView); - progressBar = rootView.findViewById(R.id.progress_bar); + protected void onCreate(@androidx.annotation.Nullable Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_guide_books_tutorials); + RecyclerView recyclerView = findViewById(R.id.recyclerView); + progressBar = findViewById(R.id.progress_bar); RecyclerView.LayoutManager layoutManager = new LinearLayoutManager(getViewContext()); recyclerView.setLayoutManager(layoutManager); - mAdapter = new GuideBooksAdapter(videos, this); + mAdapter = new GuideBooksAdapter(videos, this, ChwApplication.getGuideBooksDirectory()); recyclerView.setAdapter(mAdapter); recyclerView.addItemDecoration(new DividerItemDecoration(recyclerView.getContext(), DividerItemDecoration.VERTICAL)); initializePresenter(); - presenter.initialize(); - return rootView; + presenter.initialize("files.json", ChwApplication.getGuideBooksDirectory()); } @Override @@ -76,10 +66,10 @@ public GuideBooksFragmentContract.Presenter getPresenter() { } @Override - public void onDataReceived(List receivedVideos) { + public void onDataReceived(List receivedVideos) { - for (GuideBooksFragmentContract.Video video : receivedVideos) { - GuideBooksFragmentContract.Video available = allVideos.get(video.getID()); + for (GuideBooksFragmentContract.RemoteFile video : receivedVideos) { + GuideBooksFragmentContract.RemoteFile available = allVideos.get(video.getID()); if (available == null) { allVideos.put(video.getID(), video); } else if (video.isDowloaded() && !available.isDowloaded()) { @@ -87,7 +77,7 @@ public void onDataReceived(List receivedVideos } } - List res = new ArrayList<>(allVideos.values()); + List res = new ArrayList<>(allVideos.values()); Collections.sort(res, (video1, video2) -> video1.getTitle().compareTo(video2.getTitle())); this.videos.clear(); @@ -98,7 +88,7 @@ public void onDataReceived(List receivedVideos @Override public @Nullable Context getViewContext() { - return getContext(); + return this; } @Override @@ -107,15 +97,19 @@ public void displayLoadingState(boolean state) { } @Override - public void playVideo(GuideBooksFragmentContract.Video video) { + public void openFile(GuideBooksFragmentContract.RemoteFile remoteFile) { Intent intent = new Intent(Intent.ACTION_VIEW); - intent.setDataAndType(Uri.parse(video.getLocalPath()), "video/*"); + intent.setDataAndType(Uri.parse(remoteFile.getLocalPath()), "video/*"); intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); startActivity(intent); } @Override - public void downloadVideo(GuideBooksFragmentContract.DownloadListener downloadListener, GuideBooksFragmentContract.Video video) { - new DownloadGuideBooksUtils(downloadListener, video.getName(), getViewContext()).execute(); + public void downloadFile(GuideBooksFragmentContract.DownloadListener downloadListener, GuideBooksFragmentContract.RemoteFile video) { + new DownloadGuideBooksUtils(downloadListener, video.getName(), ChwApplication.getGuideBooksDirectory(), getViewContext()).execute(); + } + + public void onBackIconClicked(View view) { + onBackPressed(); } } diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/activity/HivCommunityFollowupDetailsActivity.java b/opensrp-chw/src/main/java/org/smartregister/chw/activity/HivCommunityFollowupDetailsActivity.java new file mode 100644 index 0000000000..3251cb492c --- /dev/null +++ b/opensrp-chw/src/main/java/org/smartregister/chw/activity/HivCommunityFollowupDetailsActivity.java @@ -0,0 +1,21 @@ +package org.smartregister.chw.activity; + +import com.vijay.jsonwizard.utils.FormUtils; + +import org.json.JSONException; +import org.smartregister.chw.hiv.activity.BaseHivCommunityFollowupDetailsActivity; + +import timber.log.Timber; + +public class HivCommunityFollowupDetailsActivity extends BaseHivCommunityFollowupDetailsActivity { + @Override + protected void openFollowupForm() { + try { + HivRegisterActivity.startHIVFormActivity(this, getMemberObject().getBaseEntityId(), org.smartregister.chw.util.Constants.JSON_FORM.getHivCommunityFollowFeedback(), (new FormUtils()).getFormJsonFromRepositoryOrAssets(this, org.smartregister.chw.util.Constants.JSON_FORM.getHivCommunityFollowFeedback()).toString()); + } catch (JSONException e) { + Timber.e(e); + } + } + +} + \ No newline at end of file diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/activity/HivProfileActivity.java b/opensrp-chw/src/main/java/org/smartregister/chw/activity/HivProfileActivity.java new file mode 100644 index 0000000000..24d4f3f2dc --- /dev/null +++ b/opensrp-chw/src/main/java/org/smartregister/chw/activity/HivProfileActivity.java @@ -0,0 +1,281 @@ +package org.smartregister.chw.activity; + +import android.app.Activity; +import android.content.Context; +import android.content.Intent; +import android.os.Bundle; +import android.util.Pair; +import android.view.Gravity; +import android.view.Menu; +import android.view.MenuItem; +import android.view.View; +import android.widget.LinearLayout; + +import com.vijay.jsonwizard.utils.FormUtils; + +import org.apache.commons.lang3.StringUtils; +import org.json.JSONException; +import org.smartregister.chw.BuildConfig; +import org.smartregister.chw.R; +import org.smartregister.chw.application.ChwApplication; +import org.smartregister.chw.core.activity.CoreHivProfileActivity; +import org.smartregister.chw.core.activity.CoreHivUpcomingServicesActivity; +import org.smartregister.chw.core.adapter.NotificationListAdapter; +import org.smartregister.chw.core.contract.FamilyProfileExtendedContract; +import org.smartregister.chw.core.interactor.CoreHivProfileInteractor; +import org.smartregister.chw.core.listener.OnClickFloatingMenu; +import org.smartregister.chw.core.listener.OnRetrieveNotifications; +import org.smartregister.chw.core.task.RunnableTask; +import org.smartregister.chw.core.utils.ChwNotificationUtil; +import org.smartregister.chw.core.utils.CoreConstants; +import org.smartregister.chw.custom_view.HivFloatingMenu; +import org.smartregister.chw.hiv.activity.BaseHivRegistrationFormsActivity; +import org.smartregister.chw.hiv.domain.HivMemberObject; +import org.smartregister.chw.hiv.util.HivUtil; +import org.smartregister.chw.model.ReferralTypeModel; +import org.smartregister.chw.presenter.HivProfilePresenter; +import org.smartregister.chw.schedulers.ChwScheduleTaskExecutor; +import org.smartregister.chw.tb.util.Constants; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +import io.reactivex.annotations.Nullable; +import timber.log.Timber; + +import static org.smartregister.chw.util.NotificationsUtil.handleNotificationRowClick; +import static org.smartregister.chw.util.NotificationsUtil.handleReceivedNotifications; + +public class HivProfileActivity extends CoreHivProfileActivity + implements FamilyProfileExtendedContract.PresenterCallBack, OnRetrieveNotifications { + + private List referralTypeModels = new ArrayList<>(); + private NotificationListAdapter notificationListAdapter = new NotificationListAdapter(); + private Flavor flavor = new HivProfileActivityFlv(); + + public static void startHivProfileActivity(Activity activity, HivMemberObject memberObject) { + Intent intent = new Intent(activity, HivProfileActivity.class); + intent.putExtra(Constants.ActivityPayload.MEMBER_OBJECT, memberObject); + activity.startActivity(intent); + } + + public static void startHivFollowupActivity(Activity activity, String baseEntityID) throws JSONException { + Intent intent = new Intent(activity, BaseHivRegistrationFormsActivity.class); + intent.putExtra(org.smartregister.chw.hiv.util.Constants.ActivityPayload.BASE_ENTITY_ID, baseEntityID); + intent.putExtra(org.smartregister.chw.hiv.util.Constants.ActivityPayload.JSON_FORM, (new FormUtils()).getFormJsonFromRepositoryOrAssets(activity, org.smartregister.chw.util.Constants.JSON_FORM.getHivFollowupVisit()).toString()); + intent.putExtra(org.smartregister.chw.hiv.util.Constants.ActivityPayload.ACTION, Constants.ActivityPayloadType.FOLLOW_UP_VISIT); + intent.putExtra(org.smartregister.chw.hiv.util.Constants.ActivityPayload.USE_DEFAULT_NEAT_FORM_LAYOUT, false); + + activity.startActivityForResult(intent, org.smartregister.chw.anc.util.Constants.REQUEST_CODE_HOME_VISIT); + } + + @Override + protected void onCreation() { + super.onCreation(); + addHivReferralTypes(); + } + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + notificationAndReferralRecyclerView.setAdapter(notificationListAdapter); + notificationListAdapter.setOnClickListener(this); + } + + @Override + protected void onResume() { + super.onResume(); + notificationListAdapter.canOpen = true; + ChwNotificationUtil.retrieveNotifications(ChwApplication.getApplicationFlavor().hasReferrals(), + getHivMemberObject().getBaseEntityId(), this); + } + + @Override + protected void removeMember() { + IndividualProfileRemoveActivity.startIndividualProfileActivity(HivProfileActivity.this, + getClientDetailsByBaseEntityID(getHivMemberObject().getBaseEntityId()), + getHivMemberObject().getFamilyBaseEntityId(), getHivMemberObject().getFamilyHead(), + getHivMemberObject().getPrimaryCareGiver(), FpRegisterActivity.class.getCanonicalName()); + } + + @Override + protected void initializePresenter() { + showProgressBar(true); + setHivProfilePresenter(new HivProfilePresenter(this, new CoreHivProfileInteractor(this), getHivMemberObject())); + fetchProfileData(); + } + + private void checkPhoneNumberProvided() { + boolean phoneNumberAvailable = (StringUtils.isNotBlank(getHivMemberObject().getPhoneNumber()) + || StringUtils.isNotBlank(getHivMemberObject().getPrimaryCareGiverPhoneNumber())); + + ((HivFloatingMenu) getHivFloatingMenu()).redraw(phoneNumberAvailable); + } + + @Override + public void onClick(View view) { + super.onClick(view); + int id = view.getId(); + if (id == R.id.record_hiv_followup_visit) { + openFollowUpVisitForm(false); + } + handleNotificationRowClick(this, view, notificationListAdapter, getHivMemberObject().getBaseEntityId()); + } + + @Override + public Context getContext() { + return null; + } + + @Override + public void verifyHasPhone() { + // Implement + } + + @Override + public void notifyHasPhone(boolean b) { + // Implement + } + + @Override + protected void onActivityResult(int requestCode, int resultCode, Intent data) { + // recompute schedule + Runnable runnable = () -> ChwScheduleTaskExecutor.getInstance().execute(getHivMemberObject().getBaseEntityId(), org.smartregister.chw.hiv.util.Constants.EventType.FOLLOW_UP_VISIT, new Date()); + org.smartregister.chw.util.Utils.startAsyncTask(new RunnableTask(runnable), null); + + super.onActivityResult(requestCode, resultCode, data); + if (requestCode == CoreConstants.ProfileActivityResults.CHANGE_COMPLETED && resultCode == Activity.RESULT_OK) { + Intent intent = new Intent(this, HivRegisterActivity.class); + intent.putExtras(getIntent().getExtras()); + startActivity(intent); + finish(); + } + } + + @Override + public void openMedicalHistory() { + //TODO implement + } + + @Override + public void openHivRegistrationForm() { + try { + HivRegisterActivity.startHIVFormActivity(this, getHivMemberObject().getBaseEntityId(), CoreConstants.JSON_FORM.getHivRegistration(), (new FormUtils()).getFormJsonFromRepositoryOrAssets(this, CoreConstants.JSON_FORM.getHivRegistration()).toString()); + } catch (JSONException e) { + Timber.e(e); + } + + } + + @Override + public void openUpcomingServices() { + CoreHivUpcomingServicesActivity.startMe(this, HivUtil.toMember(getHivMemberObject())); + } + + @Override + public void openFamilyDueServices() { + Intent intent = new Intent(this, FamilyProfileActivity.class); + + intent.putExtra(org.smartregister.family.util.Constants.INTENT_KEY.FAMILY_BASE_ENTITY_ID, getHivMemberObject().getFamilyBaseEntityId()); + intent.putExtra(org.smartregister.family.util.Constants.INTENT_KEY.FAMILY_HEAD, getHivMemberObject().getFamilyHead()); + intent.putExtra(org.smartregister.family.util.Constants.INTENT_KEY.PRIMARY_CAREGIVER, getHivMemberObject().getPrimaryCareGiver()); + intent.putExtra(org.smartregister.family.util.Constants.INTENT_KEY.FAMILY_NAME, getHivMemberObject().getFamilyName()); + + intent.putExtra(CoreConstants.INTENT_KEY.SERVICE_DUE, true); + startActivity(intent); + } + + @Override + public void openFollowUpVisitForm(boolean isEdit) { + if (!isEdit) { + try { + startHivFollowupActivity(this, getHivMemberObject().getBaseEntityId()); + } catch (JSONException e) { + Timber.e(e); + } + } + } + + private void addHivReferralTypes() { + if (BuildConfig.USE_UNIFIED_REFERRAL_APPROACH) { + referralTypeModels.add(new ReferralTypeModel(getString(R.string.hiv_referral), + CoreConstants.JSON_FORM.getHivReferralForm(), CoreConstants.TASKS_FOCUS.SUSPECTED_HIV)); + + referralTypeModels.add(new ReferralTypeModel(getString(R.string.gbv_referral), + CoreConstants.JSON_FORM.getGbvReferralForm(), CoreConstants.TASKS_FOCUS.SUSPECTED_GBV)); + } + + } + + public List getReferralTypeModels() { + return referralTypeModels; + } + + @Override + public void initializeCallFAB() { + setHivFloatingMenu(new HivFloatingMenu(this, getHivMemberObject())); + + OnClickFloatingMenu onClickFloatingMenu = viewId -> { + switch (viewId) { + case R.id.hiv_fab: + checkPhoneNumberProvided(); + ((HivFloatingMenu) getHivFloatingMenu()).animateFAB(); + break; + case R.id.call_layout: + ((HivFloatingMenu) getHivFloatingMenu()).launchCallWidget(); + ((HivFloatingMenu) getHivFloatingMenu()).animateFAB(); + break; + case R.id.refer_to_facility_layout: + ((HivProfilePresenter) getHivProfilePresenter()).referToFacility(); + break; + default: + Timber.d("Unknown fab action"); + break; + } + + }; + + ((HivFloatingMenu) getHivFloatingMenu()).setFloatMenuClickListener(onClickFloatingMenu); + getHivFloatingMenu().setGravity(Gravity.BOTTOM | Gravity.END); + LinearLayout.LayoutParams linearLayoutParams = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, + LinearLayout.LayoutParams.MATCH_PARENT); + addContentView(getHivFloatingMenu(), linearLayoutParams); + } + + @Override + public void onReceivedNotifications(List> notifications) { + handleReceivedNotifications(this, notifications, notificationListAdapter); + } + + @Override + public boolean onCreateOptionsMenu(Menu menu) { + getMenuInflater().inflate(org.smartregister.chw.core.R.menu.hiv_profile_menu, menu); + + flavor.updateTbMenuItems(getHivMemberObject().getBaseEntityId(), menu); + return true; + } + + @Override + public boolean onOptionsItemSelected(MenuItem item) { + int itemId = item.getItemId(); + if (itemId == org.smartregister.chw.core.R.id.action_tb_registration) { + startTbRegister(); + return true; + } + return super.onOptionsItemSelected(item); + } + + protected void startTbRegister() { + try { + TbRegisterActivity.startTbFormActivity(HivProfileActivity.this, getHivMemberObject().getBaseEntityId(), CoreConstants.JSON_FORM.getTbRegistration(), (new FormUtils()).getFormJsonFromRepositoryOrAssets(this, CoreConstants.JSON_FORM.getTbRegistration()).toString()); + } catch (JSONException e) { + Timber.e(e); + } + } + + public interface Flavor { + void updateTbMenuItems(@Nullable String baseEntityId, @Nullable Menu menu); + } +} + diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/activity/HivRegisterActivity.java b/opensrp-chw/src/main/java/org/smartregister/chw/activity/HivRegisterActivity.java new file mode 100644 index 0000000000..71b5c4f4a3 --- /dev/null +++ b/opensrp-chw/src/main/java/org/smartregister/chw/activity/HivRegisterActivity.java @@ -0,0 +1,76 @@ +package org.smartregister.chw.activity; + +import android.app.Activity; +import android.content.Intent; +import android.os.Bundle; + +import com.google.android.material.bottomnavigation.LabelVisibilityMode; + +import org.jetbrains.annotations.NotNull; +import org.smartregister.chw.core.activity.CoreHivRegisterActivity; +import org.smartregister.chw.core.custom_views.NavigationMenu; +import org.smartregister.chw.fragment.HivFollowupRegisterFragment; +import org.smartregister.chw.fragment.HivRegisterFragment; +import org.smartregister.chw.hiv.fragment.BaseHivCommunityFollowupRegisterFragment; +import org.smartregister.chw.hiv.fragment.BaseHivRegisterFragment; +import org.smartregister.helper.BottomNavigationHelper; +import org.smartregister.listener.BottomNavigationListener; + +import java.util.List; + +public class HivRegisterActivity extends CoreHivRegisterActivity { + + public static void startHIVFormActivity(Activity activity, String baseEntityID, String formName, String payloadType) { + Intent intent = new Intent(activity, HivRegisterActivity.class); + intent.putExtra(org.smartregister.chw.hiv.util.Constants.ActivityPayload.BASE_ENTITY_ID, baseEntityID); + intent.putExtra(org.smartregister.chw.hiv.util.Constants.ActivityPayload.ACTION, payloadType); + intent.putExtra(org.smartregister.chw.hiv.util.Constants.ActivityPayload.HIV_REGISTRATION_FORM_NAME, formName); + activity.startActivity(intent); + } + + @NotNull + @Override + protected BaseHivRegisterFragment getRegisterFragment() { + return new HivRegisterFragment(); + } + + @Override + public List getViewIdentifiers() { + return null; + } + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + NavigationMenu.getInstance(this, null, null); + } + + @Override + protected void registerBottomNavigation() { + bottomNavigationHelper = new BottomNavigationHelper(); + bottomNavigationView = findViewById(org.smartregister.R.id.bottom_navigation); + + if (bottomNavigationView != null) { + bottomNavigationView.setLabelVisibilityMode(LabelVisibilityMode.LABEL_VISIBILITY_LABELED); + bottomNavigationView.getMenu().removeItem(org.smartregister.R.id.action_clients); + bottomNavigationView.getMenu().removeItem(org.smartregister.chw.hiv.R.id.action_register); + bottomNavigationView.getMenu().removeItem(org.smartregister.R.id.action_search); + bottomNavigationView.getMenu().removeItem(org.smartregister.R.id.action_library); + + bottomNavigationView.inflateMenu(getMenuResource()); + bottomNavigationHelper.disableShiftMode(bottomNavigationView); + + BottomNavigationListener hivBottomNavigationListener = getBottomNavigation(this); + bottomNavigationView.setOnNavigationItemSelectedListener(hivBottomNavigationListener); + + } + } + + @NotNull + @Override + protected BaseHivCommunityFollowupRegisterFragment[] getOtherFragments() { + return new HivFollowupRegisterFragment[]{ + new HivFollowupRegisterFragment()}; + } +} + \ No newline at end of file diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/activity/JobAidsActivity.java b/opensrp-chw/src/main/java/org/smartregister/chw/activity/JobAidsActivity.java index 8f015b1805..368a42a7f7 100644 --- a/opensrp-chw/src/main/java/org/smartregister/chw/activity/JobAidsActivity.java +++ b/opensrp-chw/src/main/java/org/smartregister/chw/activity/JobAidsActivity.java @@ -27,7 +27,7 @@ import org.smartregister.chw.application.ChwApplication; import org.smartregister.chw.core.job.ChwIndicatorGeneratingJob; import org.smartregister.chw.fragment.JobAidsDashboardFragment; -import org.smartregister.chw.fragment.JobAidsGuideBooksFragment; +import org.smartregister.chw.fragment.GuideBooksFragment; import org.smartregister.chw.listener.JobsAidsBottomNavigationListener; import org.smartregister.chw.util.Utils; import org.smartregister.helper.BottomNavigationHelper; @@ -86,7 +86,7 @@ public Fragment getItem(int position) { case 0: return JobAidsDashboardFragment.newInstance(); case 1: - return JobAidsGuideBooksFragment.newInstance(); + return GuideBooksFragment.newInstance(); default: return JobAidsDashboardFragment.newInstance(); } @@ -120,7 +120,7 @@ protected void onCreate(Bundle savedInstanceState) { Manifest.permission.READ_EXTERNAL_STORAGE }; boolean hasPermission = PermissionUtils.isPermissionGranted(this, request_permissions, PermissionUtils.READ_EXTERNAL_STORAGE_REQUEST_CODE); - if (hasPermission) ChwApplication.prepareGuideBooksFolder(); + if (hasPermission) ChwApplication.prepareDirectories(); ChwIndicatorGeneratingJob.scheduleJobImmediately(ChwIndicatorGeneratingJob.TAG); } @@ -197,7 +197,7 @@ public void onRequestPermissionsResult(int requestCode, @NotNull String[] permis if (!granted) { showPermissionDeniedDialog(); } else { - ChwApplication.prepareGuideBooksFolder(); + ChwApplication.prepareDirectories(); } } diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/activity/LoginActivity.java b/opensrp-chw/src/main/java/org/smartregister/chw/activity/LoginActivity.java index 5a00917ac7..c602547574 100644 --- a/opensrp-chw/src/main/java/org/smartregister/chw/activity/LoginActivity.java +++ b/opensrp-chw/src/main/java/org/smartregister/chw/activity/LoginActivity.java @@ -1,13 +1,21 @@ package org.smartregister.chw.activity; +import android.Manifest; +import android.content.Context; import android.content.Intent; import android.os.Bundle; +import android.os.Environment; import android.view.Menu; import android.view.MenuItem; import android.widget.EditText; +import android.widget.ImageView; +import android.widget.Toast; +import androidx.core.content.ContextCompat; +import org.smartregister.chw.BuildConfig; import org.smartregister.chw.R; import org.smartregister.chw.application.ChwApplication; +import org.smartregister.chw.core.utils.CoreConstants; import org.smartregister.chw.fragment.ChooseLoginMethodFragment; import org.smartregister.chw.fragment.PinLoginFragment; import org.smartregister.chw.pinlogin.PinLogger; @@ -18,12 +26,21 @@ import org.smartregister.growthmonitoring.service.intent.WeightForHeightIntentService; import org.smartregister.repository.AllSharedPreferences; import org.smartregister.task.SaveTeamLocationsTask; +import org.smartregister.util.PermissionUtils; import org.smartregister.view.activity.BaseLoginActivity; import org.smartregister.view.contract.BaseLoginContract; +import java.io.File; +import java.io.FileInputStream; +import java.io.FileOutputStream; +import java.io.OutputStream; +import java.text.SimpleDateFormat; +import java.util.Date; +import java.util.Locale; +import timber.log.Timber; public class LoginActivity extends BaseLoginActivity implements BaseLoginContract.View { - public static final String TAG = BaseLoginActivity.class.getCanonicalName(); + private static final String WFH_CSV_PARSED = "WEIGHT_FOR_HEIGHT_CSV_PARSED"; private PinLogger pinLogger = PinLoginUtil.getPinLogger(); @@ -31,6 +48,12 @@ public class LoginActivity extends BaseLoginActivity implements BaseLoginContrac @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); + ImageView imageView = findViewById(R.id.login_logo); + if (BuildConfig.BUILD_FOR_BORESHA_AFYA_SOUTH) { + imageView.setImageDrawable(ContextCompat.getDrawable(this, R.drawable.ic_logo)); + } else { + imageView.setImageDrawable(ContextCompat.getDrawable(this, R.drawable.ic_logo_ba)); + } } @Override @@ -62,7 +85,7 @@ private void pinLoginAttempt() { } } - private boolean hasPinLogin(){ + private boolean hasPinLogin() { return ChwApplication.getApplicationFlavor().hasPinLogin(); } @@ -70,21 +93,61 @@ private boolean hasPinLogin(){ public boolean onCreateOptionsMenu(Menu menu) { super.onCreateOptionsMenu(menu); if (hasPinLogin() && !pinLogger.isFirstAuthentication()) { - menu.add("Reset Pin Login"); + menu.add(getString(R.string.reset_pin_login)); } + menu.add(getString(R.string.export_database)); return true; } @Override public boolean onOptionsItemSelected(MenuItem item) { - if (item.getTitle().toString().equalsIgnoreCase("Reset Pin Login")) { + if (item.getTitle().toString().equalsIgnoreCase(getString(R.string.reset_pin_login))) { pinLogger.resetPinLogin(); this.recreate(); return true; + } else if (item.getTitle().toString().equalsIgnoreCase(getString(R.string.export_database))) { + String DBNAME = "drishti.db"; + String COPYDBNAME = "chw"; + + Toast.makeText(this, R.string.export_db_notification, Toast.LENGTH_SHORT).show(); + String currentTimeStamp = new SimpleDateFormat("yyyy-MM-dd-HHmmss", Locale.ENGLISH).format(new Date()); + if (hasPermissions()) { + copyDatabase(DBNAME, COPYDBNAME + "-" + currentTimeStamp + ".db", this); + Toast.makeText(this, R.string.export_db_done_notification, Toast.LENGTH_SHORT).show(); + } } return super.onOptionsItemSelected(item); } + public boolean hasPermissions(){ + return PermissionUtils.isPermissionGranted(this + , new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE, Manifest.permission.READ_EXTERNAL_STORAGE} + , CoreConstants.RQ_CODE.STORAGE_PERMISIONS); + } + + public void copyDatabase(String dbName, String copyDbName, Context context) { + try { + final String inFileName = context.getDatabasePath(dbName).getPath(); + final String outFileName = Environment.getExternalStorageDirectory() + File.separator + Environment.DIRECTORY_DOWNLOADS + "/" + copyDbName; + File dbFile = new File(inFileName); + FileInputStream fis = new FileInputStream(dbFile); + + OutputStream output = new FileOutputStream(outFileName); + byte[] buffer = new byte[1024]; + int length; + while ((length = fis.read(buffer)) > 0) { + output.write(buffer, 0, length); + } + + output.flush(); + output.close(); + fis.close(); + + } catch (Exception e) { + Timber.e("copyDatabase: backup error " + e.toString()); + } + } + @Override protected int getContentView() { return R.layout.activity_login; @@ -104,7 +167,7 @@ public void goToHome(boolean remote) { if (hasPinLogin()) { startPinHome(remote); - }else{ + } else { startHome(remote); } @@ -147,5 +210,4 @@ private void processWeightForHeightZscoreCSV() { allSharedPreferences.savePreference(WFH_CSV_PARSED, "true"); } } - } \ No newline at end of file diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/activity/PncHomeVisitActivity.java b/opensrp-chw/src/main/java/org/smartregister/chw/activity/PncHomeVisitActivity.java index c84e9d8798..76d08dc41a 100644 --- a/opensrp-chw/src/main/java/org/smartregister/chw/activity/PncHomeVisitActivity.java +++ b/opensrp-chw/src/main/java/org/smartregister/chw/activity/PncHomeVisitActivity.java @@ -1,7 +1,6 @@ package org.smartregister.chw.activity; import android.app.Activity; -import android.content.Context; import android.content.Intent; import com.vijay.jsonwizard.constants.JsonFormConstants; @@ -19,7 +18,6 @@ import org.smartregister.family.util.Constants; import org.smartregister.family.util.JsonFormUtils; import org.smartregister.family.util.Utils; -import org.smartregister.util.LangUtils; import java.util.Date; @@ -59,10 +57,4 @@ public void startFormActivity(JSONObject jsonForm) { startActivityForResult(intent, JsonFormUtils.REQUEST_CODE_GET_JSON); } - @Override - protected void attachBaseContext(Context base) { - // get language from prefs - String lang = LangUtils.getLanguage(base.getApplicationContext()); - super.attachBaseContext(LangUtils.setAppLocale(base, lang)); - } } diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/activity/PncMemberProfileActivity.java b/opensrp-chw/src/main/java/org/smartregister/chw/activity/PncMemberProfileActivity.java index fbfc1880f4..a283714613 100644 --- a/opensrp-chw/src/main/java/org/smartregister/chw/activity/PncMemberProfileActivity.java +++ b/opensrp-chw/src/main/java/org/smartregister/chw/activity/PncMemberProfileActivity.java @@ -9,9 +9,12 @@ import android.view.View; import android.widget.LinearLayout; +import com.vijay.jsonwizard.utils.FormUtils; + import org.apache.commons.lang3.StringUtils; import org.joda.time.DateTime; import org.joda.time.Days; +import org.json.JSONException; import org.json.JSONObject; import org.smartregister.chw.BuildConfig; import org.smartregister.chw.R; @@ -147,31 +150,40 @@ public void setupViews() { super.setupViews(); PncVisitAlertRule summaryVisit = getVisitDetails(); String statusVisit = summaryVisit.getButtonStatus(); + if (statusVisit.equals("OVERDUE")) { - textview_record_visit.setVisibility(View.VISIBLE); - textview_record_visit.setBackgroundResource(R.drawable.rounded_red_btn); + updateUiForVisitsOverdue(); } else if (statusVisit.equals("DUE")) { - textview_record_visit.setVisibility(View.VISIBLE); - textview_record_visit.setBackgroundResource(R.drawable.rounded_blue_btn); + updateUiForVisitsDue(); } else if (ChildProfileInteractor.VisitType.VISIT_DONE.name().equals(statusVisit)) { Visit lastVisit = getVisit(Constants.EVENT_TYPE.PNC_HOME_VISIT); if (lastVisit != null) { if ((Days.daysBetween(new DateTime(lastVisit.getCreatedAt()), new DateTime()).getDays() < 1) && (Days.daysBetween(new DateTime(lastVisit.getDate()), new DateTime()).getDays() <= 1)) { setEditViews(true, true, lastVisit.getDate().getTime()); - } else { - textview_record_visit.setVisibility(View.GONE); - layoutRecordView.setVisibility(View.GONE); - } + } else updateUiForNoVisits(); - } else { - textview_record_visit.setVisibility(View.VISIBLE); - textview_record_visit.setBackgroundResource(R.drawable.rounded_blue_btn); - } - } else { - textview_record_visit.setVisibility(View.GONE); - layoutRecordView.setVisibility(View.GONE); - } + } else updateUiForVisitsDue(); + + } else updateUiForNoVisits(); + + } + + protected void updateUiForNoVisits() { + textview_record_visit.setVisibility(View.GONE); + layoutRecordView.setVisibility(View.GONE); + } + + protected void updateUiForVisitsDue() { + layoutRecordView.setVisibility(View.VISIBLE); + textview_record_visit.setVisibility(View.VISIBLE); + textview_record_visit.setBackgroundResource(R.drawable.rounded_blue_btn); + } + + protected void updateUiForVisitsOverdue() { + layoutRecordView.setVisibility(View.VISIBLE); + textview_record_visit.setVisibility(View.VISIBLE); + textview_record_visit.setBackgroundResource(R.drawable.rounded_red_btn); } private void refreshOnHomeVisitResult() { @@ -290,6 +302,10 @@ public void openUpcomingService() { public boolean onCreateOptionsMenu(Menu menu) { super.onCreateOptionsMenu(menu); flavor.onCreateOptionsMenu(menu, memberObject.getBaseEntityId()); + menu.findItem(R.id.action_malaria_diagnosis).setVisible(ChwApplication.getApplicationFlavor().hasMalaria()); + menu.findItem(R.id.action_malaria_registration).setVisible(ChwApplication.getApplicationFlavor().hasMalaria()); + menu.findItem(R.id.action_malaria_followup_visit).setVisible(ChwApplication.getApplicationFlavor().hasMalaria()); + menu.findItem(R.id.action_malaria_diagnosis).setVisible(ChwApplication.getApplicationFlavor().hasMalaria()); return true; } @@ -376,17 +392,8 @@ private void addPncReferralTypes() { BuildConfig.USE_UNIFIED_REFERRAL_APPROACH ? JSON_FORM.getPncUnifiedReferralForm() : JSON_FORM.getPncReferralForm(), CoreConstants.TASKS_FOCUS.PNC_DANGER_SIGNS)); if (BuildConfig.USE_UNIFIED_REFERRAL_APPROACH) { - referralTypeModels.add(new ReferralTypeModel(getString(R.string.suspected_malaria), - JSON_FORM.getMalariaReferralForm(), CoreConstants.TASKS_FOCUS.SUSPECTED_MALARIA)); - - referralTypeModels.add(new ReferralTypeModel(getString(R.string.hiv_referral), - JSON_FORM.getHivReferralForm(), CoreConstants.TASKS_FOCUS.SUSPECTED_HIV)); - - referralTypeModels.add(new ReferralTypeModel(getString(R.string.tb_referral), - JSON_FORM.getTbReferralForm(), CoreConstants.TASKS_FOCUS.SUSPECTED_TB)); - referralTypeModels.add(new ReferralTypeModel(getString(R.string.gbv_referral), - JSON_FORM.getGbvReferralForm(), CoreConstants.TASKS_FOCUS.SUSPECTED_GBV)); + CoreConstants.JSON_FORM.getGbvReferralForm(), CoreConstants.TASKS_FOCUS.SUSPECTED_GBV)); } } @@ -401,6 +408,24 @@ protected void startFpRegister() { FpRegisterActivity.startFpRegistrationActivity(this, memberObject.getBaseEntityId(), memberObject.getDob(), CoreConstants.JSON_FORM.getFpRegistrationForm("Female"), FamilyPlanningConstants.ActivityPayload.REGISTRATION_PAYLOAD_TYPE); } + @Override + protected void startHivRegister() { + try { + HivRegisterActivity.startHIVFormActivity(this, memberObject.getBaseEntityId(), JSON_FORM.getHivRegistration(), (new FormUtils()).getFormJsonFromRepositoryOrAssets(this, JSON_FORM.getHivRegistration()).toString()); + } catch (JSONException e) { + Timber.e(e); + } + } + + @Override + protected void startTbRegister() { + try { + TbRegisterActivity.startTbFormActivity(this, memberObject.getBaseEntityId(), JSON_FORM.getTbRegistration(), (new FormUtils()).getFormJsonFromRepositoryOrAssets(this, JSON_FORM.getTbRegistration()).toString()); + } catch (JSONException e) { + Timber.e(e); + } + } + @Override protected void startFpChangeMethod() { FpRegisterActivity.startFpRegistrationActivity(this, memberObject.getBaseEntityId(), memberObject.getDob(), CoreConstants.JSON_FORM.getFpChangeMethodForm("female"), FamilyPlanningConstants.ActivityPayload.CHANGE_METHOD_PAYLOAD_TYPE); diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/activity/PncRegisterActivity.java b/opensrp-chw/src/main/java/org/smartregister/chw/activity/PncRegisterActivity.java index 750eee95a8..d07bdc5e22 100644 --- a/opensrp-chw/src/main/java/org/smartregister/chw/activity/PncRegisterActivity.java +++ b/opensrp-chw/src/main/java/org/smartregister/chw/activity/PncRegisterActivity.java @@ -3,42 +3,65 @@ import android.app.Activity; import android.content.Intent; +import android.os.Bundle; import org.apache.commons.lang3.EnumUtils; import org.json.JSONArray; import org.json.JSONObject; import org.smartregister.chw.anc.util.Constants; import org.smartregister.chw.anc.util.JsonFormUtils; +import org.smartregister.chw.application.ChwApplication; import org.smartregister.chw.core.activity.CoreFamilyRegisterActivity; import org.smartregister.chw.core.activity.CorePncRegisterActivity; +import org.smartregister.chw.core.task.RunnableTask; import org.smartregister.chw.core.utils.CoreConstants; import org.smartregister.chw.fragment.PncRegisterFragment; +import org.smartregister.chw.schedulers.ChwScheduleTaskExecutor; import org.smartregister.job.SyncServiceJob; import org.smartregister.view.fragment.BaseRegisterFragment; +import java.util.Date; + import timber.log.Timber; public class PncRegisterActivity extends CorePncRegisterActivity { + private boolean closeOnCancel = false; + public static void startPncRegistrationActivity(Activity activity, String memberBaseEntityID, String phoneNumber, String formName, String uniqueId, String familyBaseID, String family_name, String last_menstrual_period) { Intent intent = new Intent(activity, PncRegisterActivity.class); intent.putExtra(org.smartregister.chw.anc.util.Constants.ACTIVITY_PAYLOAD.BASE_ENTITY_ID, memberBaseEntityID); - phone_number = phoneNumber; - familyBaseEntityId = familyBaseID; - form_name = formName; - familyName = family_name; - unique_id = uniqueId; - lastMenstrualPeriod = last_menstrual_period; + + intent.putExtra(CoreConstants.ACTIVITY_PAYLOAD.PHONE_NUMBER, phoneNumber); + intent.putExtra(CoreConstants.ACTIVITY_PAYLOAD.FAMILY_BASE_ENTITY_ID, familyBaseID); + intent.putExtra(CoreConstants.ACTIVITY_PAYLOAD.FORM_NAME, formName); + intent.putExtra(CoreConstants.ACTIVITY_PAYLOAD.FAMILY_NAME, family_name); + intent.putExtra(CoreConstants.ACTIVITY_PAYLOAD.UNIQUE_ID, uniqueId); + intent.putExtra(CoreConstants.ACTIVITY_PAYLOAD.LAST_LMP, last_menstrual_period); + intent.putExtra(org.smartregister.chw.anc.util.Constants.ACTIVITY_PAYLOAD.ACTION, org.smartregister.chw.anc.util.Constants.ACTIVITY_PAYLOAD_TYPE.REGISTRATION); - intent.putExtra(Constants.ACTIVITY_PAYLOAD.TABLE_NAME, getFormTable()); + intent.putExtra(Constants.ACTIVITY_PAYLOAD.TABLE_NAME, "ec_pregnancy_outcome"); + intent.putExtra("closeOnCancel", true); activity.startActivity(intent); } + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + if (getIntent() != null && getIntent().getExtras() != null && getIntent().getExtras().getBoolean("closeOnCancel")) { + closeOnCancel = true; + } + } + @Override public void onRegistrationSaved(String encounterType, boolean isEdit, boolean hasChildren) { if (encounterType.equalsIgnoreCase(Constants.EVENT_TYPE.PREGNANCY_OUTCOME)) { Timber.d("We are home - PNC Register"); + if (ChwApplication.getApplicationFlavor().hasFamilyKitCheck()) { + Runnable runnable = () -> ChwScheduleTaskExecutor.getInstance().execute(familyBaseEntityId, CoreConstants.EventType.FAMILY_KIT, new Date()); + org.smartregister.chw.util.Utils.startAsyncTask(new RunnableTask(runnable), null); + } } else { super.onRegistrationSaved(encounterType, isEdit, hasChildren); } @@ -81,6 +104,8 @@ protected void onActivityResult(int requestCode, int resultCode, Intent data) { } catch (Exception e) { Timber.e(e); } + } else if (resultCode == Activity.RESULT_CANCELED && closeOnCancel) { + this.finish(); } } } diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/activity/TbCommunityFollowupDetailsActivity.java b/opensrp-chw/src/main/java/org/smartregister/chw/activity/TbCommunityFollowupDetailsActivity.java new file mode 100644 index 0000000000..768e3af8a2 --- /dev/null +++ b/opensrp-chw/src/main/java/org/smartregister/chw/activity/TbCommunityFollowupDetailsActivity.java @@ -0,0 +1,23 @@ +package org.smartregister.chw.activity; + + +import com.vijay.jsonwizard.utils.FormUtils; + +import org.json.JSONException; +import org.smartregister.chw.tb.activity.BaseTbCommunityFollowupDetailsActivity; +import org.smartregister.chw.util.Constants; + +import timber.log.Timber; + +public class TbCommunityFollowupDetailsActivity extends BaseTbCommunityFollowupDetailsActivity { + + @Override + public void openFollowupForm() { + try { + TbRegisterActivity.startTbFormActivity(this, getMemberObject().getBaseEntityId(), Constants.JSON_FORM.getHivCommunityFollowFeedback(), (new FormUtils()).getFormJsonFromRepositoryOrAssets(this, Constants.JSON_FORM.getHivCommunityFollowFeedback()).toString()); + } catch (JSONException e) { + Timber.e(e); + } + } +} + \ No newline at end of file diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/activity/TbProfileActivity.java b/opensrp-chw/src/main/java/org/smartregister/chw/activity/TbProfileActivity.java new file mode 100644 index 0000000000..f899621075 --- /dev/null +++ b/opensrp-chw/src/main/java/org/smartregister/chw/activity/TbProfileActivity.java @@ -0,0 +1,290 @@ +package org.smartregister.chw.activity; + +import android.app.Activity; +import android.content.Context; +import android.content.Intent; +import android.os.Bundle; +import android.util.Pair; +import android.view.Gravity; +import android.view.Menu; +import android.view.MenuItem; +import android.view.View; +import android.widget.LinearLayout; + +import com.vijay.jsonwizard.utils.FormUtils; + +import org.apache.commons.lang3.StringUtils; +import org.json.JSONException; +import org.smartregister.chw.BuildConfig; +import org.smartregister.chw.R; +import org.smartregister.chw.application.ChwApplication; +import org.smartregister.chw.core.activity.CoreTbProfileActivity; +import org.smartregister.chw.core.activity.CoreTbUpcomingServicesActivity; +import org.smartregister.chw.core.adapter.NotificationListAdapter; +import org.smartregister.chw.core.contract.FamilyProfileExtendedContract; +import org.smartregister.chw.core.interactor.CoreTbProfileInteractor; +import org.smartregister.chw.core.listener.OnClickFloatingMenu; +import org.smartregister.chw.core.listener.OnRetrieveNotifications; +import org.smartregister.chw.core.task.RunnableTask; +import org.smartregister.chw.core.utils.ChwNotificationUtil; +import org.smartregister.chw.core.utils.CoreConstants; +import org.smartregister.chw.custom_view.TbFloatingMenu; +import org.smartregister.chw.model.ReferralTypeModel; +import org.smartregister.chw.presenter.TbProfilePresenter; +import org.smartregister.chw.schedulers.ChwScheduleTaskExecutor; +import org.smartregister.chw.tb.activity.BaseTbRegistrationFormsActivity; +import org.smartregister.chw.tb.domain.TbMemberObject; +import org.smartregister.chw.tb.util.Constants; +import org.smartregister.chw.tb.util.TbUtil; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +import io.reactivex.annotations.Nullable; +import timber.log.Timber; + +import static org.smartregister.chw.util.NotificationsUtil.handleNotificationRowClick; +import static org.smartregister.chw.util.NotificationsUtil.handleReceivedNotifications; + +public class TbProfileActivity extends CoreTbProfileActivity + implements FamilyProfileExtendedContract.PresenterCallBack, OnRetrieveNotifications { + + private List referralTypeModels = new ArrayList<>(); + private NotificationListAdapter notificationListAdapter = new NotificationListAdapter(); + private Flavor flavor = new TbProfileActivityFlv(); + + public static void startTbProfileActivity(Activity activity, TbMemberObject memberObject) { + Intent intent = new Intent(activity, TbProfileActivity.class); + intent.putExtra(Constants.ActivityPayload.MEMBER_OBJECT, memberObject); + activity.startActivity(intent); + } + + public void startTbFollowupActivity(Activity activity, String baseEntityID) throws JSONException { + Intent intent = new Intent(activity, BaseTbRegistrationFormsActivity.class); + intent.putExtra(org.smartregister.chw.tb.util.Constants.ActivityPayload.BASE_ENTITY_ID, baseEntityID); + intent.putExtra(org.smartregister.chw.tb.util.Constants.ActivityPayload.JSON_FORM, (new FormUtils()).getFormJsonFromRepositoryOrAssets(this, org.smartregister.chw.util.Constants.JSON_FORM.getTbFollowupVisit()).toString()); + intent.putExtra(org.smartregister.chw.tb.util.Constants.ActivityPayload.USE_DEFAULT_NEAT_FORM_LAYOUT, false); + + activity.startActivityForResult(intent, org.smartregister.chw.anc.util.Constants.REQUEST_CODE_HOME_VISIT); + } + + @Override + protected void onCreation() { + super.onCreation(); + addTbReferralTypes(); + } + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + notificationAndReferralRecyclerView.setAdapter(notificationListAdapter); + notificationListAdapter.setOnClickListener(this); + } + + @Override + protected void onResume() { + super.onResume(); + notificationListAdapter.canOpen = true; + ChwNotificationUtil.retrieveNotifications(ChwApplication.getApplicationFlavor().hasReferrals(), + getTbMemberObject().getBaseEntityId(), this); + } + + @Override + protected void removeMember() { + IndividualProfileRemoveActivity.startIndividualProfileActivity(TbProfileActivity.this, + getClientDetailsByBaseEntityID(getTbMemberObject().getBaseEntityId()), + getTbMemberObject().getFamilyBaseEntityId(), getTbMemberObject().getFamilyHead(), + getTbMemberObject().getPrimaryCareGiver(), FpRegisterActivity.class.getCanonicalName()); + } + + @Override + protected void startTbCaseClosure() { + try { + TbRegisterActivity.startTbFormActivity(this, getTbMemberObject().getBaseEntityId(), CoreConstants.JSON_FORM.getTbCaseClosure(), (new FormUtils()).getFormJsonFromRepositoryOrAssets(this, CoreConstants.JSON_FORM.getTbCaseClosure()).toString()); + } catch (JSONException e) { + Timber.e(e); + } + } + + @Override + protected void initializePresenter() { + showProgressBar(true); + setTbProfilePresenter(new TbProfilePresenter(this, new CoreTbProfileInteractor(this), getTbMemberObject())); + fetchProfileData(); + } + + private void checkPhoneNumberProvided() { + boolean phoneNumberAvailable = (StringUtils.isNotBlank(getTbMemberObject().getPhoneNumber()) + || StringUtils.isNotBlank(getTbMemberObject().getPrimaryCareGiverPhoneNumber())); + + ((TbFloatingMenu) getTbFloatingMenu()).redraw(phoneNumberAvailable); + } + + @Override + public void onClick(View view) { + super.onClick(view); + int id = view.getId(); + if (id == R.id.record_tb_followup_visit) { + openFollowUpVisitForm(false); + } + handleNotificationRowClick(this, view, notificationListAdapter, getTbMemberObject().getBaseEntityId()); + + } + + @Override + public Context getContext() { + return null; + } + + @Override + public void verifyHasPhone() { + // Implement + } + + @Override + public void notifyHasPhone(boolean b) { + // Implement + } + + @Override + protected void onActivityResult(int requestCode, int resultCode, Intent data) { + // recompute schedule + Runnable runnable = () -> ChwScheduleTaskExecutor.getInstance().execute(getTbMemberObject().getBaseEntityId(), org.smartregister.chw.tb.util.Constants.EventType.FOLLOW_UP_VISIT, new Date()); + org.smartregister.chw.util.Utils.startAsyncTask(new RunnableTask(runnable), null); + + super.onActivityResult(requestCode, resultCode, data); + if (requestCode == CoreConstants.ProfileActivityResults.CHANGE_COMPLETED && resultCode == Activity.RESULT_OK) { + Intent intent = new Intent(this, TbRegisterActivity.class); + intent.putExtras(getIntent().getExtras()); + startActivity(intent); + finish(); + + } + } + + @Override + public void openMedicalHistory() { + //TODO implement + } + + @Override + public void openTbRegistrationForm() { + try { + TbRegisterActivity.startTbFormActivity(this, getTbMemberObject().getBaseEntityId(), CoreConstants.JSON_FORM.getTbRegistration(), (new FormUtils()).getFormJsonFromRepositoryOrAssets(this, CoreConstants.JSON_FORM.getTbRegistration()).toString()); + } catch (JSONException e) { + Timber.e(e); + } + } + + @Override + public void openUpcomingServices() { + CoreTbUpcomingServicesActivity.startMe(this, TbUtil.toMember(getTbMemberObject())); + } + + @Override + public void openFamilyDueServices() { + Intent intent = new Intent(this, FamilyProfileActivity.class); + + intent.putExtra(org.smartregister.family.util.Constants.INTENT_KEY.FAMILY_BASE_ENTITY_ID, getTbMemberObject().getFamilyBaseEntityId()); + intent.putExtra(org.smartregister.family.util.Constants.INTENT_KEY.FAMILY_HEAD, getTbMemberObject().getFamilyHead()); + intent.putExtra(org.smartregister.family.util.Constants.INTENT_KEY.PRIMARY_CAREGIVER, getTbMemberObject().getPrimaryCareGiver()); + intent.putExtra(org.smartregister.family.util.Constants.INTENT_KEY.FAMILY_NAME, getTbMemberObject().getFamilyName()); + + intent.putExtra(CoreConstants.INTENT_KEY.SERVICE_DUE, true); + startActivity(intent); + } + + @Override + public void openFollowUpVisitForm(boolean isEdit) { + if (!isEdit) { + try { + startTbFollowupActivity(this, getTbMemberObject().getBaseEntityId()); + } catch (JSONException e) { + Timber.e(e); + } + } + } + + private void addTbReferralTypes() { + if (BuildConfig.USE_UNIFIED_REFERRAL_APPROACH) { + referralTypeModels.add(new ReferralTypeModel(getString(R.string.tb_referral), + CoreConstants.JSON_FORM.getTbReferralForm(), CoreConstants.TASKS_FOCUS.SUSPECTED_TB)); + + referralTypeModels.add(new ReferralTypeModel(getString(R.string.gbv_referral), + CoreConstants.JSON_FORM.getGbvReferralForm(), CoreConstants.TASKS_FOCUS.SUSPECTED_GBV)); + } + + } + + public List getReferralTypeModels() { + return referralTypeModels; + } + + @Override + public void initializeCallFAB() { + setTbFloatingMenu(new TbFloatingMenu(this, getTbMemberObject())); + + OnClickFloatingMenu onClickFloatingMenu = viewId -> { + switch (viewId) { + case R.id.tb_fab: + checkPhoneNumberProvided(); + ((TbFloatingMenu) getTbFloatingMenu()).animateFAB(); + break; + case R.id.call_layout: + ((TbFloatingMenu) getTbFloatingMenu()).launchCallWidget(); + ((TbFloatingMenu) getTbFloatingMenu()).animateFAB(); + break; + case R.id.refer_to_facility_layout: + ((TbProfilePresenter) getTbProfilePresenter()).referToFacility(); + break; + default: + Timber.d("Unknown fab action"); + break; + } + + }; + + ((TbFloatingMenu) getTbFloatingMenu()).setFloatMenuClickListener(onClickFloatingMenu); + getTbFloatingMenu().setGravity(Gravity.BOTTOM | Gravity.END); + LinearLayout.LayoutParams linearLayoutParams = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, + LinearLayout.LayoutParams.MATCH_PARENT); + addContentView(getTbFloatingMenu(), linearLayoutParams); + } + + @Override + public void onReceivedNotifications(List> notifications) { + handleReceivedNotifications(this, notifications, notificationListAdapter); + } + + @Override + public boolean onCreateOptionsMenu(Menu menu) { + getMenuInflater().inflate(org.smartregister.chw.core.R.menu.tb_profile_menu, menu); + flavor.updateHivMenuItems(getTbMemberObject().getBaseEntityId(), menu); + return true; + } + + @Override + public boolean onOptionsItemSelected(MenuItem item) { + int itemId = item.getItemId(); + if (itemId == org.smartregister.chw.core.R.id.action_hiv_registration) { + startHivRegister(); + return true; + } + return super.onOptionsItemSelected(item); + } + + protected void startHivRegister() { + try { + HivRegisterActivity.startHIVFormActivity(TbProfileActivity.this, getTbMemberObject().getBaseEntityId(), CoreConstants.JSON_FORM.getHivRegistration(), (new FormUtils()).getFormJsonFromRepositoryOrAssets(this, CoreConstants.JSON_FORM.getHivRegistration()).toString()); + } catch (JSONException e) { + Timber.e(e); + } + } + + public interface Flavor { + void updateHivMenuItems(@Nullable String baseEntityId, @Nullable Menu menu); + } + +} + diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/activity/TbRegisterActivity.java b/opensrp-chw/src/main/java/org/smartregister/chw/activity/TbRegisterActivity.java new file mode 100644 index 0000000000..a9534eb8e6 --- /dev/null +++ b/opensrp-chw/src/main/java/org/smartregister/chw/activity/TbRegisterActivity.java @@ -0,0 +1,71 @@ +package org.smartregister.chw.activity; + +import android.app.Activity; +import android.content.Intent; +import android.os.Bundle; + +import com.google.android.material.bottomnavigation.LabelVisibilityMode; + +import org.jetbrains.annotations.NotNull; +import org.smartregister.chw.core.activity.CoreTbRegisterActivity; +import org.smartregister.chw.core.custom_views.NavigationMenu; +import org.smartregister.chw.fragment.TbFollowupRegisterFragment; +import org.smartregister.chw.fragment.TbRegisterFragment; +import org.smartregister.chw.tb.fragment.BaseTbCommunityFollowupRegisterFragment; +import org.smartregister.chw.tb.fragment.BaseTbRegisterFragment; +import org.smartregister.family.util.JsonFormUtils; +import org.smartregister.helper.BottomNavigationHelper; +import org.smartregister.listener.BottomNavigationListener; + +public class TbRegisterActivity extends CoreTbRegisterActivity { + + public static void startTbFormActivity(Activity activity, String baseEntityID, String formName, String payloadType) { + Intent intent = new Intent(activity, TbRegisterActivity.class); + intent.putExtra(org.smartregister.chw.tb.util.Constants.ActivityPayload.BASE_ENTITY_ID, baseEntityID); + intent.putExtra(org.smartregister.chw.tb.util.Constants.ActivityPayload.ACTION, payloadType); + intent.putExtra(org.smartregister.chw.tb.util.Constants.ActivityPayload.TB_REGISTRATION_FORM_NAME, formName); + activity.startActivityForResult(intent, JsonFormUtils.REQUEST_CODE_GET_JSON); + } + + @NotNull + @Override + protected BaseTbRegisterFragment getRegisterFragment() { + return new TbRegisterFragment(); + } + + @NotNull + @Override + protected BaseTbCommunityFollowupRegisterFragment[] getOtherFragments() { + return new TbFollowupRegisterFragment[]{ + new TbFollowupRegisterFragment()}; + } + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + NavigationMenu.getInstance(this, null, null); + } + + @Override + protected void registerBottomNavigation() { + bottomNavigationHelper = new BottomNavigationHelper(); + bottomNavigationView = findViewById(org.smartregister.R.id.bottom_navigation); + + if (bottomNavigationView != null) { + bottomNavigationView.setLabelVisibilityMode(LabelVisibilityMode.LABEL_VISIBILITY_LABELED); + bottomNavigationView.getMenu().removeItem(org.smartregister.R.id.action_clients); + bottomNavigationView.getMenu().removeItem(org.smartregister.chw.tb.R.id.action_register); + bottomNavigationView.getMenu().removeItem(org.smartregister.R.id.action_search); + bottomNavigationView.getMenu().removeItem(org.smartregister.R.id.action_library); + + bottomNavigationView.inflateMenu(getMenuResource()); + bottomNavigationHelper.disableShiftMode(bottomNavigationView); + + BottomNavigationListener tbBottomNavigationListener = getBottomNavigation(this); + bottomNavigationView.setOnNavigationItemSelectedListener(tbBottomNavigationListener); + + } + } + +} + \ No newline at end of file diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/activity/UpdatesRegisterActivity.java b/opensrp-chw/src/main/java/org/smartregister/chw/activity/UpdatesRegisterActivity.java index 5edd855f8d..622a5a5972 100644 --- a/opensrp-chw/src/main/java/org/smartregister/chw/activity/UpdatesRegisterActivity.java +++ b/opensrp-chw/src/main/java/org/smartregister/chw/activity/UpdatesRegisterActivity.java @@ -12,6 +12,9 @@ import org.smartregister.view.fragment.BaseRegisterFragment; import java.util.List; +import java.util.Map; + +import timber.log.Timber; public class UpdatesRegisterActivity extends BaseChwNotificationRegister { @@ -35,6 +38,11 @@ protected Fragment[] getOtherFragments() { return new Fragment[0]; } + @Override + public void startFormActivity(String s, String s1, Map map) { + Timber.v("startFormActivity"); + } + @Override public void startFormActivity(String formName, String entityId, String metaData) { //Overridden not needed diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/adapter/GuideBooksAdapter.java b/opensrp-chw/src/main/java/org/smartregister/chw/adapter/GuideBooksAdapter.java index 9ed0bbd9c7..8fa592dbfd 100644 --- a/opensrp-chw/src/main/java/org/smartregister/chw/adapter/GuideBooksAdapter.java +++ b/opensrp-chw/src/main/java/org/smartregister/chw/adapter/GuideBooksAdapter.java @@ -16,19 +16,25 @@ import androidx.recyclerview.widget.RecyclerView; import org.smartregister.chw.R; +import org.smartregister.chw.application.ChwApplication; import org.smartregister.chw.contract.GuideBooksFragmentContract; import org.smartregister.chw.util.DownloadGuideBooksUtils; import java.util.List; import java.util.concurrent.atomic.AtomicReference; +import static org.smartregister.chw.adapter.GuideBooksAdapter.FileType.PDF; +import static org.smartregister.chw.adapter.GuideBooksAdapter.FileType.VIDEO; + public class GuideBooksAdapter extends RecyclerView.Adapter { - private List videos; + private List remoteFiles; private GuideBooksFragmentContract.View view; + private String directory; - public GuideBooksAdapter(List videos, GuideBooksFragmentContract.View view) { - this.videos = videos; + public GuideBooksAdapter(List remoteFiles, GuideBooksFragmentContract.View view, String directory) { + this.remoteFiles = remoteFiles; this.view = view; + this.directory = directory; } @NonNull @@ -41,16 +47,17 @@ public GuideBooksAdapter.MyViewHolder onCreateViewHolder(@NonNull ViewGroup view @Override public void onBindViewHolder(@NonNull GuideBooksAdapter.MyViewHolder myViewHolder, int position) { - GuideBooksFragmentContract.Video video = videos.get(position); + GuideBooksFragmentContract.RemoteFile remoteFile = remoteFiles.get(position); myViewHolder.icon.setVisibility(View.VISIBLE); - if (video.isDowloaded()) { - myViewHolder.icon.setImageResource(R.drawable.ic_play_circle_black); + if (remoteFile.isDowloaded()) { + showDownloadedIcon(myViewHolder); + } else { myViewHolder.icon.setImageResource(R.drawable.ic_save_outline_black); } myViewHolder.progressBar.setVisibility(View.GONE); - AtomicReference downloadTask = new AtomicReference<>(getDownloadTask(video, myViewHolder)); + AtomicReference downloadTask = new AtomicReference<>(getDownloadTask(remoteFile, myViewHolder, position)); myViewHolder.progressBar.setOnClickListener(v -> { if (myViewHolder.progressBar.getVisibility() == View.VISIBLE) { @@ -62,7 +69,7 @@ public void onBindViewHolder(@NonNull GuideBooksAdapter.MyViewHolder myViewHolde if (downloadTask.get() != null) downloadTask.get().cancelDownload(); - downloadTask.set(getDownloadTask(video, myViewHolder)); + downloadTask.set(getDownloadTask(remoteFile, myViewHolder, position)); dialog.dismiss(); myViewHolder.progressBar.setVisibility(View.GONE); @@ -75,44 +82,58 @@ public void onBindViewHolder(@NonNull GuideBooksAdapter.MyViewHolder myViewHolde }); myViewHolder.icon.setOnClickListener(v -> { - if (video.isDowloaded()) { - view.playVideo(video); + if (remoteFile.isDowloaded()) { + view.openFile(remoteFile); } else { if (downloadTask.get() != null) { if (downloadTask.get().getStatus() == AsyncTask.Status.FINISHED) - downloadTask.set(getDownloadTask(video, myViewHolder)); + downloadTask.set(getDownloadTask(remoteFile, myViewHolder, position)); downloadTask.get().execute(); } } }); - myViewHolder.title.setText(video.getTitle()); + myViewHolder.title.setText(remoteFile.getTitle()); + } + + private void showDownloadedIcon(@NonNull MyViewHolder myViewHolder) { + switch (getFileType(directory)) { + case PDF: + myViewHolder.icon.setImageResource(R.drawable.ic_pdf_icon); + break; + case VIDEO: + myViewHolder.icon.setImageResource(R.drawable.ic_play_circle_black); + break; + default: + myViewHolder.icon.setImageResource(R.drawable.ic_save_outline_black); + break; + } } @Nullable - private DownloadGuideBooksUtils getDownloadTask(GuideBooksFragmentContract.Video video, @NonNull GuideBooksAdapter.MyViewHolder myViewHolder) { + private DownloadGuideBooksUtils getDownloadTask(GuideBooksFragmentContract.RemoteFile remoteFile, @NonNull GuideBooksAdapter.MyViewHolder myViewHolder, int position) { DownloadGuideBooksUtils downloadTask = null; - if (!video.isDowloaded()) { + if (!remoteFile.isDowloaded()) { GuideBooksFragmentContract.DownloadListener listener = new GuideBooksFragmentContract.DownloadListener() { @Override public void onDownloadComplete(boolean successful, String localPath) { - video.setDownloaded(successful); - video.setLocalPath(localPath); + remoteFile.setDownloaded(successful); + remoteFile.setLocalPath(localPath); myViewHolder.progressBar.setVisibility(View.GONE); myViewHolder.icon.setVisibility(View.VISIBLE); if (successful) { - myViewHolder.icon.setImageResource(R.drawable.ic_play_circle_black); + remoteFiles.get(position).setDownloaded(true); } else { - myViewHolder.icon.setImageResource(R.drawable.ic_save_outline_black); - + remoteFiles.get(position).setDownloaded(false); if (view.getViewContext() != null) Toast.makeText(view.getViewContext(), - view.getViewContext().getString(R.string.jobs_aid_failed_download, video.getTitle()) + view.getViewContext().getString(R.string.jobs_aid_failed_download, remoteFile.getTitle()) , Toast.LENGTH_SHORT).show(); } + notifyDataSetChanged(); } @Override @@ -122,18 +143,18 @@ public void onStarted() { } }; - downloadTask = new DownloadGuideBooksUtils(listener, video.getName(), myViewHolder.getContext()); + downloadTask = new DownloadGuideBooksUtils(listener, remoteFile.getName(), directory, myViewHolder.getContext()); } return downloadTask; } @Override public int getItemCount() { - return videos.size(); + return remoteFiles.size(); } - public class MyViewHolder extends RecyclerView.ViewHolder { + public static class MyViewHolder extends RecyclerView.ViewHolder { private TextView title; private ImageView icon; private ProgressBar progressBar; @@ -152,4 +173,16 @@ private Context getContext() { } } + private FileType getFileType(String directory) { + if (directory.equals(ChwApplication.getGuideBooksDirectory())) + return VIDEO; + else if (directory.equals(ChwApplication.getCounselingDocsDirectory())) + return PDF; + return VIDEO; + } + + public enum FileType { + VIDEO, + PDF + } } diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/application/ChwApplication.java b/opensrp-chw/src/main/java/org/smartregister/chw/application/ChwApplication.java index 78a7a54153..f3d3ae3d72 100644 --- a/opensrp-chw/src/main/java/org/smartregister/chw/application/ChwApplication.java +++ b/opensrp-chw/src/main/java/org/smartregister/chw/application/ChwApplication.java @@ -2,12 +2,13 @@ import android.Manifest; import android.content.Intent; +import android.content.IntentFilter; import android.content.pm.PackageManager; import android.content.res.Configuration; import android.os.Build; -import com.crashlytics.android.Crashlytics; -import com.crashlytics.android.core.CrashlyticsCore; +import androidx.localbroadcastmanager.content.LocalBroadcastManager; + import com.evernote.android.job.JobManager; import com.mapbox.mapboxsdk.Mapbox; import com.vijay.jsonwizard.NativeFormLibrary; @@ -30,24 +31,29 @@ import org.smartregister.chw.activity.FamilyProfileActivity; import org.smartregister.chw.activity.FamilyRegisterActivity; import org.smartregister.chw.activity.FpRegisterActivity; +import org.smartregister.chw.activity.HivRegisterActivity; import org.smartregister.chw.activity.LoginActivity; import org.smartregister.chw.activity.MalariaRegisterActivity; import org.smartregister.chw.activity.PncRegisterActivity; import org.smartregister.chw.activity.ReferralRegisterActivity; +import org.smartregister.chw.activity.TbRegisterActivity; import org.smartregister.chw.activity.UpdatesRegisterActivity; import org.smartregister.chw.anc.AncLibrary; import org.smartregister.chw.anc.domain.Visit; import org.smartregister.chw.configs.AllClientsRegisterRowOptions; import org.smartregister.chw.core.application.CoreChwApplication; import org.smartregister.chw.core.custom_views.NavigationMenu; -import org.smartregister.chw.core.loggers.CrashlyticsTree; import org.smartregister.chw.core.provider.CoreAllClientsRegisterQueryProvider; import org.smartregister.chw.core.service.CoreAuthorizationService; import org.smartregister.chw.core.utils.CoreConstants; import org.smartregister.chw.core.utils.FormUtils; import org.smartregister.chw.custom_view.NavigationMenuFlv; import org.smartregister.chw.fp.FpLibrary; +import org.smartregister.chw.fp.util.FamilyPlanningConstants; +import org.smartregister.chw.hiv.HivLibrary; +import org.smartregister.chw.job.BasePncCloseJob; import org.smartregister.chw.job.ChwJobCreator; +import org.smartregister.chw.job.ScheduleJob; import org.smartregister.chw.malaria.MalariaLibrary; import org.smartregister.chw.model.NavigationModelFlv; import org.smartregister.chw.pnc.PncLibrary; @@ -56,6 +62,7 @@ import org.smartregister.chw.schedulers.ChwScheduleTaskExecutor; import org.smartregister.chw.service.ChildAlertService; import org.smartregister.chw.sync.ChwClientProcessor; +import org.smartregister.chw.tb.TbLibrary; import org.smartregister.chw.util.ChwLocationBasedClassifier; import org.smartregister.chw.util.FailSafeRecalledID; import org.smartregister.chw.util.FileUtils; @@ -64,6 +71,7 @@ import org.smartregister.commonregistry.CommonFtsObject; import org.smartregister.configurableviews.ConfigurableViewsLibrary; import org.smartregister.configurableviews.helper.JsonSpecHelper; +import org.smartregister.domain.FetchStatus; import org.smartregister.family.FamilyLibrary; import org.smartregister.family.domain.FamilyMetadata; import org.smartregister.family.util.AppExecutors; @@ -74,11 +82,14 @@ import org.smartregister.location.helper.LocationHelper; import org.smartregister.opd.OpdLibrary; import org.smartregister.opd.configuration.OpdConfiguration; +import org.smartregister.receiver.P2pProcessingStatusBroadcastReceiver; import org.smartregister.receiver.SyncStatusBroadcastReceiver; import org.smartregister.reporting.ReportingLibrary; import org.smartregister.repository.AllSharedPreferences; import org.smartregister.repository.Repository; import org.smartregister.sync.P2PClassifier; +import org.smartregister.thinkmd.ThinkMDConfig; +import org.smartregister.thinkmd.ThinkMDLibrary; import java.util.ArrayList; import java.util.Arrays; @@ -86,22 +97,32 @@ import java.util.Locale; import java.util.Map; -import io.fabric.sdk.android.Fabric; import io.ona.kujaku.KujakuLibrary; import timber.log.Timber; import static org.koin.core.context.GlobalContext.getOrNull; -public class ChwApplication extends CoreChwApplication { +public class ChwApplication extends CoreChwApplication implements SyncStatusBroadcastReceiver.SyncStatusListener, P2pProcessingStatusBroadcastReceiver.StatusUpdate { private static Flavor flavor = new ChwApplicationFlv(); private AppExecutors appExecutors; private CommonFtsObject commonFtsObject; +<<<<<<< HEAD + private P2pProcessingStatusBroadcastReceiver p2pProcessingStatusBroadcastReceiver; + private boolean isBulkProcessing; + private boolean fetchedLoad = false; +======= +>>>>>>> 939cab83bf354adff709f1c84ad320faf058d44c public static Flavor getApplicationFlavor() { return flavor; } + public static void prepareDirectories() { + prepareGuideBooksFolder(); + prepareCounselingDocsFolder(); + } + public static void prepareGuideBooksFolder() { String rootFolder = getGuideBooksDirectory(); createFolders(rootFolder, false); @@ -110,6 +131,14 @@ public static void prepareGuideBooksFolder() { createFolders(rootFolder, true); } + public static void prepareCounselingDocsFolder() { + String rootFolder = getCounselingDocsDirectory(); + createFolders(rootFolder, false); + boolean onSdCard = FileUtils.canWriteToExternalDisk(); + if (onSdCard) + createFolders(rootFolder, true); + } + private static void createFolders(String rootFolder, boolean onSdCard) { try { FileUtils.createDirectory(rootFolder, onSdCard); @@ -124,6 +153,15 @@ public static String getGuideBooksDirectory() { return "opensrp_guidebooks_" + (suffix.equalsIgnoreCase("chw") ? "liberia" : suffix); } +<<<<<<< HEAD + public static String getCounselingDocsDirectory() { + String[] packageName = ChwApplication.getInstance().getContext().applicationContext().getPackageName().split("\\."); + String suffix = packageName[packageName.length - 1]; + return "opensrp_counseling_docs_" + (suffix.equalsIgnoreCase("chw") ? "liberia" : suffix); + } + +======= +>>>>>>> 939cab83bf354adff709f1c84ad320faf058d44c public CommonFtsObject getCommonFtsObject() { if (commonFtsObject == null) { @@ -158,13 +196,6 @@ public void onCreate() { NavigationMenu.setupNavigationMenu(this, new NavigationMenuFlv(), new NavigationModelFlv(), getRegisteredActivities(), flavor.hasP2P()); - if (BuildConfig.DEBUG) { - Timber.plant(new Timber.DebugTree()); - } else { - Timber.plant(new CrashlyticsTree(ChwApplication.getInstance().getContext().allSharedPreferences().fetchRegisteredANM())); - } - - Fabric.with(this, new Crashlytics.Builder().core(new CrashlyticsCore.Builder().disabled(BuildConfig.DEBUG).build()).build()); initializeLibraries(); @@ -193,10 +224,10 @@ public void onCreate() { // create a folder for guidebooks if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { if (checkSelfPermission(Manifest.permission.WRITE_EXTERNAL_STORAGE) == PackageManager.PERMISSION_GRANTED) { - prepareGuideBooksFolder(); + prepareDirectories(); } } else { - prepareGuideBooksFolder(); + prepareDirectories(); } EventBus.getDefault().register(this); @@ -204,6 +235,8 @@ public void onCreate() { if (getApplicationFlavor().hasMap()) { initializeMapBox(); } + + reloadLanguage(); } protected void initializeMapBox() { @@ -215,7 +248,7 @@ protected void initializeMapBox() { private void initializeLibraries() { //Initialize Modules P2POptions p2POptions = new P2POptions(true); - p2POptions.setAuthorizationService(flavor.hasForeignData() ? new LmhAuthorizationService() : new CoreAuthorizationService()); + p2POptions.setAuthorizationService(flavor.hasForeignData() ? new LmhAuthorizationService() : new CoreAuthorizationService(false)); p2POptions.setRecalledIdentifier(new FailSafeRecalledID()); CoreLibrary.init(context, new ChwSyncConfiguration(), BuildConfig.BUILD_TIMESTAMP, p2POptions); @@ -246,6 +279,20 @@ private void initializeLibraries() { ReferralLibrary.getInstance().setDatabaseVersion(BuildConfig.DATABASE_VERSION); } + if (hasHIV()) { + //Setup hiv library + HivLibrary.init(this); + HivLibrary.getInstance().setAppVersion(BuildConfig.VERSION_CODE); + HivLibrary.getInstance().setDatabaseVersion(BuildConfig.DATABASE_VERSION); + } + + if (hasTB()) { + //Setup tb library + TbLibrary.init(this); + TbLibrary.getInstance().setAppVersion(BuildConfig.VERSION_CODE); + TbLibrary.getInstance().setDatabaseVersion(BuildConfig.DATABASE_VERSION); + } + OpdLibrary.init(context, getRepository(), new OpdConfiguration.Builder(CoreAllClientsRegisterQueryProvider.class) .setBottomNavigationEnabled(true) @@ -255,6 +302,15 @@ private void initializeLibraries() { ); SyncStatusBroadcastReceiver.init(this); + SyncStatusBroadcastReceiver.getInstance().addSyncStatusListener(this); + + if (p2pProcessingStatusBroadcastReceiver == null) + p2pProcessingStatusBroadcastReceiver = new P2pProcessingStatusBroadcastReceiver(this); + + LocalBroadcastManager.getInstance(this) + .registerReceiver(p2pProcessingStatusBroadcastReceiver + , new IntentFilter(AllConstants.PeerToPeer.PROCESSING_ACTION)); + LocationHelper.init(new ArrayList<>(Arrays.asList(BuildConfig.DEBUG ? BuildConfig.ALLOWED_LOCATION_LEVELS_DEBUG : BuildConfig.ALLOWED_LOCATION_LEVELS)), BuildConfig.DEBUG ? BuildConfig.DEFAULT_LOCATION_DEBUG : BuildConfig.DEFAULT_LOCATION); @@ -265,7 +321,13 @@ private void initializeLibraries() { Form form = new Form(); form.setDatePickerDisplayFormat("dd MMM yyyy"); + NativeFormLibrary.getInstance().setPerformFormTranslation(true); NativeFormLibrary.getInstance().setClientFormDao(CoreLibrary.getInstance().context().getClientFormRepository()); + // ThinkMD library + ThinkMDConfig thinkMDConfig = new ThinkMDConfig(); + thinkMDConfig.setThinkmdEndPoint(BuildConfig.THINKMD_BASE_URL); + thinkMDConfig.setThinkmdBaseUrl(BuildConfig.THINKMD_END_POINT); + ThinkMDLibrary.init(getApplicationContext(), thinkMDConfig); } @Override @@ -324,6 +386,9 @@ public Map getRegisteredActivities() { } if (BuildConfig.USE_UNIFIED_REFERRAL_APPROACH && BuildConfig.BUILD_FOR_BORESHA_AFYA_SOUTH) { registeredActivities.put(CoreConstants.REGISTERED_ACTIVITIES.ALL_CLIENTS_REGISTERED_ACTIVITY, AllClientsRegisterActivity.class); + registeredActivities.put(CoreConstants.REGISTERED_ACTIVITIES.HIV_REGISTER_ACTIVITY, HivRegisterActivity.class); + registeredActivities.put(CoreConstants.REGISTERED_ACTIVITIES.TB_REGISTER_ACTIVITY, TbRegisterActivity.class); + } registeredActivities.put(CoreConstants.REGISTERED_ACTIVITIES.FP_REGISTER_ACTIVITY, FpRegisterActivity.class); registeredActivities.put(CoreConstants.REGISTERED_ACTIVITIES.UPDATES_REGISTER_ACTIVITY, UpdatesRegisterActivity.class); @@ -353,10 +418,21 @@ public boolean hasReferrals() { return flavor.hasReferrals(); } + public boolean hasHIV() { + return flavor.hasHIV(); + } + + public boolean hasTB() { + return flavor.hasTB(); + } + @Subscribe(threadMode = ThreadMode.MAIN) public void onVisitEvent(Visit visit) { if (visit != null) { Timber.v("Visit Submitted re processing Schedule for event ' %s ' : %s", visit.getVisitType(), visit.getBaseEntityId()); + if (CoreLibrary.getInstance().isPeerToPeerProcessing() || SyncStatusBroadcastReceiver.getInstance().isSyncing() || isBulkProcessing()) + return; + ChwScheduleTaskExecutor.getInstance().execute(visit.getBaseEntityId(), visit.getVisitType(), visit.getDate()); ChildAlertService.updateAlerts(visit.getBaseEntityId()); @@ -380,6 +456,93 @@ public boolean getChildFlavorUtil() { return flavor.getChildFlavorUtil(); } + @Override + public void onSyncStart() { + Timber.v("Sync started"); + setBulkProcessing(false); + fetchedLoad = false; + } + + @Override + public void onSyncInProgress(FetchStatus fetchStatus) { + if ((fetchStatus == FetchStatus.fetched) || (fetchStatus == FetchStatus.fetchProgress)) + fetchedLoad = true; + + Timber.v("Sync progressing : Status " + FetchStatus.fetched.name()); + } + + @Override + public boolean allowLazyProcessing() { + return true; + } + + @Override + public String[] lazyProcessedEvents() { + return new String[]{ + CoreConstants.EventType.CHILD_HOME_VISIT, + CoreConstants.EventType.FAMILY_KIT, + CoreConstants.EventType.CHILD_VISIT_NOT_DONE, + CoreConstants.EventType.WASH_CHECK, + CoreConstants.EventType.ROUTINE_HOUSEHOLD_VISIT, + CoreConstants.EventType.MINIMUM_DIETARY_DIVERSITY, + CoreConstants.EventType.MUAC, + CoreConstants.EventType.LLITN, + CoreConstants.EventType.ECD, + CoreConstants.EventType.DEWORMING, + CoreConstants.EventType.VITAMIN_A, + CoreConstants.EventType.EXCLUSIVE_BREASTFEEDING, + CoreConstants.EventType.MNP, + CoreConstants.EventType.IPTP_SP, + CoreConstants.EventType.TT, + CoreConstants.EventType.VACCINE_CARD_RECEIVED, + CoreConstants.EventType.DANGER_SIGNS_BABY, + CoreConstants.EventType.PNC_HEALTH_FACILITY_VISIT, + CoreConstants.EventType.KANGAROO_CARE, + CoreConstants.EventType.UMBILICAL_CORD_CARE, + CoreConstants.EventType.IMMUNIZATION_VISIT, + CoreConstants.EventType.OBSERVATIONS_AND_ILLNESS, + CoreConstants.EventType.SICK_CHILD, + CoreConstants.EventType.ANC_HOME_VISIT, + org.smartregister.chw.anc.util.Constants.EVENT_TYPE.ANC_HOME_VISIT_NOT_DONE, + org.smartregister.chw.anc.util.Constants.EVENT_TYPE.ANC_HOME_VISIT_NOT_DONE_UNDO, + CoreConstants.EventType.PNC_HOME_VISIT, + CoreConstants.EventType.PNC_HOME_VISIT_NOT_DONE, + FamilyPlanningConstants.EventType.FP_FOLLOW_UP_VISIT, + FamilyPlanningConstants.EventType.FAMILY_PLANNING_REGISTRATION, + org.smartregister.chw.malaria.util.Constants.EVENT_TYPE.MALARIA_FOLLOW_UP_VISIT, + CoreConstants.EventType.CHILD_VACCINE_CARD_RECEIVED, + CoreConstants.EventType.BIRTH_CERTIFICATION + }; + } + + @Override + public void onSyncComplete(FetchStatus fetchStatus) { + if (fetchedLoad) { + Timber.v("Sync complete scheduling"); + startProcessing(); + fetchedLoad = false; + } + } + + private void startProcessing() { + ScheduleJob.scheduleJobImmediately(ScheduleJob.TAG); + BasePncCloseJob.scheduleJobImmediately(BasePncCloseJob.TAG); + } + + @Override + public void onStatusUpdate(boolean isProcessing) { + if (!isProcessing) + startProcessing(); + } + + public boolean isBulkProcessing() { + return isBulkProcessing; + } + + public void setBulkProcessing(boolean bulkProcessing) { + isBulkProcessing = bulkProcessing; + } + public interface Flavor { boolean hasP2P(); @@ -425,6 +588,10 @@ public interface Flavor { boolean hasJobAidsVitaminAGraph(); + boolean hasHIV(); + + boolean hasTB(); + boolean hasJobAidsDewormingGraph(); boolean hasChildrenMNPSupplementationGraph(); @@ -439,6 +606,8 @@ public interface Flavor { boolean useThinkMd(); + boolean hasDeliveryKit(); + boolean hasFamilyLocationRow(); boolean usesPregnancyRiskProfileLayout(); @@ -475,6 +644,8 @@ public interface Flavor { boolean hasMap(); + boolean showsPhysicallyDisabledView(); + boolean hasEventDateOnFamilyProfile(); String[] getFTSTables(); diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/application/ChwSyncConfiguration.java b/opensrp-chw/src/main/java/org/smartregister/chw/application/ChwSyncConfiguration.java index 66dc50d0b8..d72444de1c 100644 --- a/opensrp-chw/src/main/java/org/smartregister/chw/application/ChwSyncConfiguration.java +++ b/opensrp-chw/src/main/java/org/smartregister/chw/application/ChwSyncConfiguration.java @@ -1,14 +1,18 @@ package org.smartregister.chw.application; -import com.google.common.collect.ImmutableList; - +import org.apache.commons.lang3.StringUtils; import org.smartregister.SyncConfiguration; import org.smartregister.SyncFilter; import org.smartregister.chw.BuildConfig; -import org.smartregister.chw.core.utils.Utils; +import org.smartregister.chw.activity.LoginActivity; +import org.smartregister.location.helper.LocationHelper; +import org.smartregister.view.activity.BaseLoginActivity; +import java.util.Arrays; import java.util.List; +import static org.smartregister.util.Utils.isEmptyCollection; + /** * Created by samuelgithengi on 10/19/18. */ @@ -25,7 +29,15 @@ public SyncFilter getSyncFilterParam() { @Override public String getSyncFilterValue() { - return Utils.getSyncFilterValue(); + String providerId = org.smartregister.Context.getInstance().allSharedPreferences().fetchRegisteredANM(); + String userLocationId = org.smartregister.Context.getInstance().allSharedPreferences().fetchUserLocalityId(providerId); + List locationIds = LocationHelper.getInstance().locationsFromHierarchy(true, null); + if (!isEmptyCollection(locationIds)) { + int index = locationIds.indexOf(userLocationId); + List subLocationIds = locationIds.subList(index, locationIds.size()); + return StringUtils.join(subLocationIds, ","); + } + return userLocationId; } @Override @@ -50,7 +62,7 @@ public boolean isSyncSettings() { @Override public SyncFilter getEncryptionParam() { - return SyncFilter.LOCATION; + return SyncFilter.TEAM_ID; } @Override @@ -65,11 +77,36 @@ public boolean isSyncUsingPost() { @Override public List getSynchronizedLocationTags() { - return ImmutableList.of("MOH Jhpiego Facility Name", "Health Facility", "Facility"); + return Arrays.asList("MOH Jhpiego Facility Name", "Health Facility", "Facility"); + } + + @Override + public SyncFilter getSettingsSyncFilterParam() { + return SyncFilter.TEAM_ID; + } + + @Override + public boolean clearDataOnNewTeamLogin() { + return false; } @Override public String getTopAllowedLocationLevel() { return "District"; } + + @Override + public String getOauthClientId() { + return BuildConfig.OAUTH_CLIENT_ID; + } + + @Override + public String getOauthClientSecret() { + return BuildConfig.OAUTH_CLIENT_SECRET; + } + + @Override + public Class getAuthenticationActivity() { + return LoginActivity.class; + } } diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/application/DefaultChwApplicationFlv.java b/opensrp-chw/src/main/java/org/smartregister/chw/application/DefaultChwApplicationFlv.java index c4c1374fbb..75acc457a3 100644 --- a/opensrp-chw/src/main/java/org/smartregister/chw/application/DefaultChwApplicationFlv.java +++ b/opensrp-chw/src/main/java/org/smartregister/chw/application/DefaultChwApplicationFlv.java @@ -33,6 +33,11 @@ public boolean hasANC() { return true; } + @Override + public boolean hasDeliveryKit() { + return false; + } + @Override public boolean hasPNC() { return true; @@ -162,11 +167,21 @@ public boolean useThinkMd() { return false; } + @Override + public boolean hasHIV() { + return false; + } + @Override public boolean hasFamilyLocationRow() { return false; } + @Override + public boolean hasTB() { + return false; + } + @Override public boolean usesPregnancyRiskProfileLayout() { return false; @@ -289,4 +304,12 @@ public Map getFTSSortMap() { }); return map; } +<<<<<<< HEAD + + @Override + public boolean showsPhysicallyDisabledView() { + return true; + } +======= +>>>>>>> 939cab83bf354adff709f1c84ad320faf058d44c } diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/application/LmhAuthorizationService.java b/opensrp-chw/src/main/java/org/smartregister/chw/application/LmhAuthorizationService.java index 5558cd92b1..e40e9aa592 100644 --- a/opensrp-chw/src/main/java/org/smartregister/chw/application/LmhAuthorizationService.java +++ b/opensrp-chw/src/main/java/org/smartregister/chw/application/LmhAuthorizationService.java @@ -25,9 +25,6 @@ public class LmhAuthorizationService implements P2PAuthorizationService { @Override public void authorizeConnection(@NonNull final Map peerDeviceMap, @NonNull final AuthorizationCallback authorizationCallback) { getAuthorizationDetails(map -> { - Object peerDeviceTeamId = peerDeviceMap.get(AllConstants.PeerToPeer.KEY_TEAM_ID); - if (peerDeviceTeamId instanceof String - && peerDeviceTeamId.equals(map.get(AllConstants.PeerToPeer.KEY_TEAM_ID))) { Object peerDeviceLocationId = peerDeviceMap.get(CoreConstants.PEER_TO_PEER.LOCATION_ID); Object myLocationId = authorizationDetails.get(CoreConstants.PEER_TO_PEER.LOCATION_ID); Object myPeerStatus = authorizationDetails.get(org.smartregister.p2p.util.Constants.AuthorizationKeys.PEER_STATUS); @@ -43,9 +40,6 @@ public void authorizeConnection(@NonNull final Map peerDeviceMap } else { rejectConnection(authorizationCallback); } - } else { - rejectConnection(authorizationCallback); - } }); } diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/contract/AllClientsMemberContract.java b/opensrp-chw/src/main/java/org/smartregister/chw/contract/AllClientsMemberContract.java deleted file mode 100644 index 624291076b..0000000000 --- a/opensrp-chw/src/main/java/org/smartregister/chw/contract/AllClientsMemberContract.java +++ /dev/null @@ -1,31 +0,0 @@ -package org.smartregister.chw.contract; - -import org.smartregister.family.contract.FamilyOtherMemberContract; -import org.smartregister.family.contract.FamilyProfileContract; -import org.smartregister.family.domain.FamilyEventClient; - -public interface AllClientsMemberContract { - - interface Model { - FamilyEventClient processJsonForm(String jsonString, String familyBaseEntityId); - } - - interface Presenter { - void updateLocationInfo(String jsonString, String familyBaseEntityId); - - View getView(); - - void refreshProfileView(); - } - - interface Interactor { - void updateLocationInfo(String jsonString, FamilyEventClient familyEventClient, - FamilyProfileContract.InteractorCallBack interactorCallback); - - void updateProfileInfo(String baseEntityId, FamilyOtherMemberContract.InteractorCallBack callback); - } - - interface View { - Presenter getAllClientsMemberPresenter(); - } -} diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/contract/ChildMedicalHistoryContract.java b/opensrp-chw/src/main/java/org/smartregister/chw/contract/ChildMedicalHistoryContract.java deleted file mode 100644 index 760f4cd09f..0000000000 --- a/opensrp-chw/src/main/java/org/smartregister/chw/contract/ChildMedicalHistoryContract.java +++ /dev/null @@ -1,133 +0,0 @@ -package org.smartregister.chw.contract; - - -import android.content.Context; - -import org.smartregister.chw.util.BaseService; -import org.smartregister.chw.util.BaseVaccine; -import org.smartregister.commonregistry.CommonPersonObjectClient; - -import java.util.ArrayList; -import java.util.Date; -import java.util.Map; - -public interface ChildMedicalHistoryContract { - interface View { - - Presenter initializePresenter(); - - void updateVaccinationData(); - - void updateGrowthNutrition(); - - void updateBirthCertification(); - - void updateObsIllness(); - - void updateFullyImmunization(String text); - - void updateVaccineCard(String value); - - void updateDietaryData(); - - void updateMuacData(); - - void updateLLitnData(); - - void updateEcdData(); - - Context getContext(); - } - - interface Presenter { - - //void generateHomeVisitServiceList(long homeVisitDate); - - void setInitialVaccineList(Map veccineList); - - void fetchFullyImmunization(String dateOfBirth); - - void fetchGrowthNutrition(CommonPersonObjectClient commonPersonObjectClient); - - void fetchDietaryData(CommonPersonObjectClient commonPersonObjectClient); - - void fetchMuacData(CommonPersonObjectClient commonPersonObjectClient); - - void fetchLLitnData(CommonPersonObjectClient commonPersonObjectClient); - - void fetchEcdData(CommonPersonObjectClient commonPersonObjectClient); - - void fetchBirthData(CommonPersonObjectClient commonPersonObjectClient); - - void fetchIllnessData(CommonPersonObjectClient commonPersonObjectClient); - - ArrayList getVaccineBaseItem(); - - ArrayList getGrowthNutrition(); - - ArrayList getDietaryList(); - - ArrayList getMuacList(); - - ArrayList getLlitnList(); - - ArrayList getEcdList(); - - ArrayList getBirthCertification(); - - ArrayList getObsIllness(); - - ChildMedicalHistoryContract.View getView(); - - void onDestroy(boolean isChangingConfiguration); - } - - interface Interactor { - - //void generateHomeVisitServiceList(long homeVisitDate); - - void fetchBirthCertificateData(CommonPersonObjectClient commonPersonObjectClient, InteractorCallBack callBack); - - void fetchIllnessData(CommonPersonObjectClient commonPersonObjectClient, InteractorCallBack callBack); - - void setInitialVaccineList(Map recievedVaccines, InteractorCallBack callBack); - - void fetchGrowthNutritionData(CommonPersonObjectClient commonPersonObjectClient, InteractorCallBack callBack); - - void fetchDietaryData(CommonPersonObjectClient commonPersonObjectClient, InteractorCallBack callBack); - - void fetchMuacData(CommonPersonObjectClient commonPersonObjectClient, InteractorCallBack callBack); - - void fetchLLitnData(CommonPersonObjectClient commonPersonObjectClient, InteractorCallBack callBack); - - void fetchEcdData(CommonPersonObjectClient commonPersonObjectClient, InteractorCallBack callBack); - - void fetchFullyImmunizationData(String dob, Map recievedVaccines, InteractorCallBack callBack); - - void onDestroy(boolean isChangingConfiguration); - } - - interface InteractorCallBack { - - void updateBirthCertification(ArrayList birthCertification); - - void updateIllnessData(ArrayList obsIllnessArrayList); - - void updateVaccineData(ArrayList recievedVaccines); - - void updateGrowthNutrition(ArrayList services); - - void updateDietaryData(ArrayList services); - - void updateMuacData(ArrayList services); - - void updateLLitnDataData(ArrayList services); - - void updateEcdDataData(ArrayList services); - - void updateFullyImmunization(String text); - - void updateVaccineCard(String value); - - } -} diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/contract/GuideBooksFragmentContract.java b/opensrp-chw/src/main/java/org/smartregister/chw/contract/GuideBooksFragmentContract.java index de54ea25ee..5cae0d76f3 100644 --- a/opensrp-chw/src/main/java/org/smartregister/chw/contract/GuideBooksFragmentContract.java +++ b/opensrp-chw/src/main/java/org/smartregister/chw/contract/GuideBooksFragmentContract.java @@ -14,21 +14,21 @@ interface View { Presenter getPresenter(); - void onDataReceived(List