OpenSRP/opensrp-client-anc

View on GitHub
opensrp-anc/src/main/assets/json.form/sub_form/tests_other_tests_sub_form.json

Summary

Maintainability
Test Coverage
{
  "content_form": [
    {
      "key": "other_test",
      "openmrs_entity_parent": "165398AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "openmrs_entity": "concept",
      "openmrs_entity_id": "163725AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "label": "{{tests_other_tests_sub_form.step1.other_test.label}}",
      "label_text_style": "bold",
      "text_color": "#000000",
      "type": "extended_radio_button",
      "options": [
        {
          "key": "done_today",
          "text": "{{tests_other_tests_sub_form.step1.other_test.options.done_today.text}}",
          "type": "done_today",
          "openmrs_entity_parent": "",
          "openmrs_entity": "concept",
          "openmrs_entity_id": "165383AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
        },
        {
          "key": "done_earlier",
          "text": "{{tests_other_tests_sub_form.step1.other_test.options.done_earlier.text}}",
          "type": "done_earlier",
          "openmrs_entity_parent": "",
          "openmrs_entity": "concept",
          "openmrs_entity_id": "165385AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
        }
      ],
      "v_required": {
        "value": false
      }
    },
    {
      "key": "spacer",
      "openmrs_entity_parent": "",
      "openmrs_entity": "",
      "openmrs_entity_id": "spacer",
      "type": "spacer",
      "spacer_height": "10dp"
    },
    {
      "key": "other_test_name",
      "openmrs_entity_parent": "",
      "openmrs_entity": "concept",
      "openmrs_entity_id": "165398AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "type": "edit_text",
      "hint": "{{tests_other_tests_sub_form.step1.other_test_name.hint}}",
      "edit_type": "name",
      "relevance": {
        "rules-engine": {
          "ex-rules": {
            "rules-file": "tests_relevance_rules.yml"
          }
        }
      }
    },
    {
      "openmrs_entity_parent": "",
      "openmrs_entity": "",
      "openmrs_entity_id": "",
      "key": "other_test_date_today_hidden",
      "type": "hidden",
      "label_text_style": "bold",
      "text_color": "#000000",
      "calculation": {
        "rules-engine": {
          "ex-rules": {
            "rules-file": "tests_calculation_rules.yml"
          }
        }
      }
    },
    {
      "key": "other_test_date",
      "openmrs_entity_parent": "165398AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "openmrs_entity": "concept",
      "openmrs_entity_id": "163724AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "type": "date_picker",
      "hint": "{{tests_other_tests_sub_form.step1.other_test_date.hint}}",
      "expanded": "false",
      "max_date": "today",
      "relevance": {
        "step2:other_test": {
          "type": "string",
          "ex": "equalTo(., \"done_earlier\")"
        }
      },
      "calculation": {
        "rules-engine": {
          "ex-rules": {
            "rules-file": "tests_calculation_rules.yml"
          }
        }
      }
    },
    {
      "key": "other_test_result",
      "openmrs_entity_parent": "165398AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "openmrs_entity": "concept",
      "openmrs_entity_id": "165399AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "type": "edit_text",
      "hint": "{{tests_other_tests_sub_form.step1.other_test_result.hint}}",
      "edit_type": "name",
      "relevance": {
        "rules-engine": {
          "ex-rules": {
            "rules-file": "tests_relevance_rules.yml"
          }
        }
      }
    }
  ],
  "count": 1,
  "properties_file_name": "tests_other_tests_sub_form"
}