OpenSRP/opensrp-client-anc

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

Summary

Maintainability
Test Coverage
{
  "validate_on_submit": true,
  "display_scroll_bars": true,
  "count": "8",
  "encounter_type": "Profile",
  "entity_id": "",
  "relational_id": "",
  "form_version": "0.0.15",
  "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": "44de66fb-e6c6-4bae-92bb-386dfe626eba",
    "look_up": {
      "entity_id": "",
      "value": ""
    }
  },
  "editable_fields": [
    "educ_level",
    "marital_status",
    "occupation",
    "occupation_other",
    "lmp_known",
    "lmp_known_date",
    "ultrasound_done",
    "ultrasound_done_date",
    "ultrasound_gest_age_wks",
    "sfh_gest_age",
    "select_gest_age_edd",
    "gravida",
    "previous_pregnancies",
    "miscarriages_abortions",
    "live_births",
    "stillbirths",
    "parity",
    "c_sections",
    "prev_preg_comps",
    "allergies",
    "allergies_other",
    "surgeries",
    "surgeries_other_gyn_proced",
    "surgeries_other",
    "health_conditions",
    "health_conditions_other",
    "hiv_diagnosis_date",
    "tt_immun_status",
    "flu_immun_status",
    "medications",
    "medications_other",
    "caffeine_intake",
    "tobacco_user",
    "shs_exposure",
    "condom_use",
    "alcohol_substance_enquiry",
    "alcohol_substance_use",
    "other_substance_use",
    "partner_hiv_status"
  ],
  "default_values": [
    "educ_level",
    "marital_status",
    "occupation",
    "occupation_other",
    "lmp_known",
    "lmp_known_date",
    "ultrasound_done",
    "ultrasound_done_date",
    "ultrasound_gest_age_wks",
    "sfh_gest_age",
    "select_gest_age_edd",
    "gravida",
    "previous_pregnancies",
    "miscarriages_abortions",
    "live_births",
    "stillbirths",
    "parity",
    "c_sections",
    "prev_preg_comps",
    "allergies",
    "allergies_other",
    "surgeries",
    "surgeries_other_gyn_proced",
    "surgeries_other",
    "health_conditions",
    "health_conditions_other",
    "hiv_diagnosis_date",
    "tt_immun_status",
    "flu_immun_status",
    "medications",
    "medications_other",
    "caffeine_intake",
    "tobacco_user",
    "shs_exposure",
    "condom_use",
    "alcohol_substance_enquiry",
    "alcohol_substance_use",
    "other_substance_use",
    "partner_hiv_status",
    "lmp_gest_age_selection",
    "ultrasound_gest_age_selection",
    "sfh_gest_age_selection",
    "lmp_ultrasound_gest_age_selection",
    "sfh_ultrasound_gest_age_selection"
  ],
  "global_previous": [
    "age"
  ],
  "step1": {
    "title": "{{anc_profile.step1.title}}",
    "next": "step2",
    "fields": [
      {
        "key": "headss_toaster",
        "openmrs_entity_parent": "",
        "openmrs_entity": "person_attribute",
        "openmrs_entity_id": "toaster_notes",
        "type": "toaster_notes",
        "text": "{{anc_profile.step1.headss_toaster.text}}",
        "text_color": "#1199F9",
        "toaster_info_text": "{{anc_profile.step1.headss_toaster.toaster_info_text}}",
        "toaster_info_title": "{{anc_profile.step1.headss_toaster.toaster_info_title}}",
        "toaster_type": "info",
        "relevance": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_relevance_rules.yml"
            }
          }
        }
      },
      {
        "key": "educ_level",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "1712AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "native_radio",
        "label": "{{anc_profile.step1.educ_level.label}}",
        "label_text_style": "bold",
        "options": [
          {
            "key": "none",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "text": "{{anc_profile.step1.educ_level.options.none.text}}"
          },
          {
            "key": "dont_know",
            "text": "{{anc_profile.step1.educ_level.options.dont_know.text}}",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          },
          {
            "key": "primary",
            "text": "{{anc_profile.step1.educ_level.options.primary.text}}",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1713AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          },
          {
            "key": "secondary",
            "text": "{{anc_profile.step1.educ_level.options.secondary.text}}",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1714AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          },
          {
            "key": "higher",
            "text": "{{anc_profile.step1.educ_level.options.higher.text}}",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "160292AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          }
        ],
        "v_required": {
          "value": true,
          "err": "{{anc_profile.step1.educ_level.v_required.err}}"
        }
      },
      {
        "key": "marital_status",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "1054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "native_radio",
        "label": "{{anc_profile.step1.marital_status.label}}",
        "label_text_style": "bold",
        "options": [
          {
            "key": "married",
            "text": "{{anc_profile.step1.marital_status.options.married.text}}",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1055AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          },
          {
            "key": "divorced",
            "text": "{{anc_profile.step1.marital_status.options.divorced.text}}",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1058AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          },
          {
            "key": "single",
            "text": "{{anc_profile.step1.marital_status.options.single.text}}",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "5615AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          },
          {
            "key": "widowed",
            "text": "{{anc_profile.step1.marital_status.options.widowed.text}}",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1059AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          }
        ],
        "v_required": {
          "value": true,
          "err": "{{anc_profile.step1.marital_status.v_required.err}}"
        }
      },
      {
        "key": "occupation",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "1542AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "openmrs_data_type": "select multiple",
        "type": "check_box",
        "label": "{{anc_profile.step1.occupation.label}}",
        "hint": "{{anc_profile.step1.occupation.hint}}",
        "label_text_style": "bold",
        "options": [
          {
            "key": "student",
            "text": "{{anc_profile.step1.occupation.options.student.text}}",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "159465AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          },
          {
            "key": "unemployed",
            "text": "{{anc_profile.step1.occupation.options.unemployed.text}}",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "123801AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          },
          {
            "key": "formal_employment",
            "text": "{{anc_profile.step1.occupation.options.formal_employment.text}}",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "165219AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          },
          {
            "key": "informal_employment_sex_worker",
            "text": "{{anc_profile.step1.occupation.options.informal_employment_sex_worker.text}}",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "160579AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          },
          {
            "key": "informal_employment_other",
            "text": "{{anc_profile.step1.occupation.options.informal_employment_other.text}}",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "159613AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          },
          {
            "key": "other",
            "text": "{{anc_profile.step1.occupation.options.other.text}}",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          }
        ],
        "v_required": {
          "value": true,
          "err": "{{anc_profile.step1.occupation.v_required.err}}"
        }
      },
      {
        "key": "occupation_other",
        "openmrs_entity_parent": "1542AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "edit_text",
        "hint": "{{anc_profile.step1.occupation_other.hint}}",
        "edit_type": "name",
        "relevance": {
          "step1:occupation": {
            "ex-checkbox": [
              {
                "or": [
                  "other"
                ]
              }
            ]
          }
        },
        "v_required": {
          "value": false,
          "err": "{{anc_profile.step1.occupation_other.v_required.err}}"
        },
        "v_regex": {
          "value": "[A-Za-z\\s\\.\\-]*",
          "err": "{{anc_profile.step1.occupation_other.v_regex.err}}"
        }
      },
      {
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "165257AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "key": "hiv_risk",
        "type": "hidden",
        "label_text_style": "bold",
        "text_color": "#FF0000",
        "v_required": {
          "value": false
        },
        "calculation": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_calculation_rules.yml"
            }
          }
        }
      },
      {
        "key": "hiv_risk_counseling_toaster",
        "openmrs_entity_parent": "",
        "openmrs_entity": "Counselling (Human immunodeficiency virus [HIV] counselling)",
        "openmrs_entity_id": "2047",
        "type": "toaster_notes",
        "text": "{{anc_profile.step1.hiv_risk_counseling_toaster.text}}",
        "toaster_info_text": "{{anc_profile.step1.hiv_risk_counseling_toaster.toaster_info_text}}",
        "toaster_info_title": "{{anc_profile.step1.hiv_risk_counseling_toaster.toaster_info_title}}",
        "toaster_type": "problem",
        "text_color": "#CF0800",
        "relevance": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_relevance_rules.yml"
            }
          }
        }
      }
    ]
  },
  "step2": {
    "title": "{{anc_profile.step2.title}}",
    "next": "step3",
    "fields": [
      {
        "key": "lmp_known",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "165258AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "native_radio",
        "label": "{{anc_profile.step2.lmp_known.label}}",
        "label_info_text": "{{anc_profile.step2.lmp_known.label_info_text}}",
        "label_info_title": "{{anc_profile.step2.lmp_known.label_info_title}}",
        "label_text_style": "bold",
        "max_date": "today",
        "options": [
          {
            "key": "yes",
            "text": "{{anc_profile.step2.lmp_known.options.yes.text}}",
            "translation_text": "anc_profile.step2.lmp_known.options.yes.text",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "specify_info": "specify date",
            "specify_widget": "date_picker",
            "max_date": "today-14d",
            "min_date": "today-280d",
            "default": "today"
          },
          {
            "key": "no",
            "text": "{{anc_profile.step2.lmp_known.options.no.text}}",
            "translation_text": "anc_profile.step2.lmp_known.options.no.text",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          }
        ],
        "v_required": {
          "value": true,
          "err": "{{anc_profile.step2.lmp_known.v_required.err}}"
        }
      },
      {
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "1427AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "key": "lmp_known_date",
        "type": "hidden",
        "label_text_style": "bold",
        "text_color": "#FF0000",
        "calculation": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_calculation_rules.yml"
            }
          }
        }
      },
      {
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "",
        "key": "lmp_edd",
        "type": "hidden",
        "label_text_style": "bold",
        "text_color": "#FF0000",
        "v_required": {
          "value": false
        },
        "calculation": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_calculation_rules.yml"
            }
          }
        }
      },
      {
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "",
        "key": "lmp_gest_age",
        "type": "hidden",
        "label_text_style": "bold",
        "text_color": "#FF0000",
        "v_required": {
          "value": false
        },
        "calculation": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_calculation_rules.yml"
            }
          }
        }
      },
      {
        "key": "ultrasound_done",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "159617AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "native_radio",
        "label": "{{anc_profile.step2.ultrasound_done.label}}",
        "label_info_text": "{{anc_profile.step2.ultrasound_done.label_info_text}}",
        "label_info_title": "{{anc_profile.step2.ultrasound_done.label_info_title}}",
        "label_text_style": "bold",
        "options": [
          {
            "key": "yes",
            "text": "{{anc_profile.step2.ultrasound_done.options.yes.text}}",
            "translation_text": "anc_profile.step2.ultrasound_done.options.yes.text",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "specify_info": "ultrasound date",
            "specify_widget": "date_picker",
            "max_date": "today",
            "min_date": "today-9m",
            "default": "today"
          },
          {
            "key": "no",
            "text": "{{anc_profile.step2.ultrasound_done.options.no.text}}",
            "translation_text": "anc_profile.step2.ultrasound_done.options.no.text",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          }
        ],
        "v_required": {
          "value": true,
          "err": "{{anc_profile.step2.ultrasound_done.v_required.err}}"
        }
      },
      {
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "163165AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "key": "ultrasound_done_date",
        "type": "hidden",
        "label_text_style": "bold",
        "text_color": "#FF0000",
        "calculation": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_calculation_rules.yml"
            }
          }
        }
      },
      {
        "key": "ultrasound_toaster",
        "openmrs_entity_parent": "",
        "openmrs_entity": "person_attribute",
        "openmrs_entity_id": "toaster_notes",
        "type": "toaster_notes",
        "text": "{{anc_profile.step2.ultrasound_toaster.text}}",
        "text_color": "#1199F9",
        "toaster_info_text": "{{anc_profile.step2.ultrasound_toaster.toaster_info_text}}",
        "toaster_info_title": "{{anc_profile.step2.ultrasound_toaster.toaster_info_title}}",
        "toaster_type": "info",
        "relevance": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_relevance_rules.yml"
            }
          }
        }
      },
      {
        "key": "facility_in_us_toaster",
        "openmrs_entity_parent": "",
        "openmrs_entity": "person_attribute",
        "openmrs_entity_id": "toaster_notes",
        "type": "toaster_notes",
        "text": "{{anc_profile.step2.facility_in_us_toaster.text}}",
        "text_color": "#1199F9",
        "toaster_info_text": "{{anc_profile.step2.facility_in_us_toaster.toaster_info_text}}",
        "toaster_info_title": "{{anc_profile.step2.facility_in_us_toaster.toaster_info_title}}",
        "toaster_type": "info",
        "relevance": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_relevance_rules.yml"
            }
          }
        }
      },
      {
        "key": "ultrasound_gest_age_wks",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "",
        "type": "edit_text",
        "hint": "{{anc_profile.step2.ultrasound_gest_age_wks.hint}}",
        "relevance": {
          "step2:ultrasound_done": {
            "type": "string",
            "ex": "equalTo(., \"yes\")"
          }
        },
        "v_required": {
          "value": true,
          "err": "{{anc_profile.step2.ultrasound_gest_age_wks.v_required.err}}"
        },
        "v_numeric_integer": {
          "value": true,
          "err": "Enter a Valid GA from ultrasound - weeks value"
        },
        "v_min": {
          "value": "4",
          "err": "GA from ultrasound - weeks should be equal to or greater than 4"
        },
        "v_max": {
          "value": "40",
          "err": "GA from ultrasound - weeks should be less than or equal to 40"
        }
      },
      {
        "key": "ultrasound_gest_age_days",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "",
        "type": "edit_text",
        "hint": "{{anc_profile.step2.ultrasound_gest_age_days.hint}}",
        "relevance": {
          "step2:ultrasound_done": {
            "type": "string",
            "ex": "equalTo(., \"yes\")"
          }
        },
        "v_required": {
          "value": false,
          "err": "{{anc_profile.step2.ultrasound_gest_age_days.v_required.err}}"
        },
        "v_numeric_integer": {
          "value": true,
          "err": "Enter a Valid GA from ultrasound - days value"
        },
        "v_min": {
          "value": "1",
          "err": "GA from ultrasound - days should be equal to or greater than 1"
        },
        "v_max": {
          "value": "6",
          "err": "GA from ultrasound - days should be less than or equal to 6"
        }
      },
      {
        "key": "ultrasound_gest_age_concept",
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "165220AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "hidden",
        "v_required": {
          "value": false
        },
        "calculation": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_calculation_rules.yml"
            }
          }
        }
      },
      {
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "",
        "key": "ultrasound_edd",
        "type": "hidden",
        "label_text_style": "bold",
        "text_color": "#FF0000",
        "v_required": {
          "value": false
        },
        "calculation": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_calculation_rules.yml"
            }
          }
        }
      },
      {
        "key": "ultrasound_ga_hidden",
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "",
        "type": "hidden",
        "text_color": "#000000",
        "calculation": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_calculation_rules.yml"
            }
          }
        }
      },
      {
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "",
        "key": "ultrasound_gest_age",
        "type": "hidden",
        "label_text_style": "bold",
        "text_color": "#FF0000",
        "v_required": {
          "value": false
        },
        "calculation": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_calculation_rules.yml"
            }
          }
        }
      },
      {
        "key": "sfh_gest_age",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "1439AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "edit_text",
        "label_info_text": "If LMP is unknown and ultrasound wasn\u0027t done or it wasn\u0027t done early (before 24 weeks), then assess GA based on Symphysis Fundal Height (SFH) or abdominal palpation. Compare this GA against ultrasound GA (if done).",
        "label_info_title": "GA from SFH or abdominal palpation - weeks",
        "hint": "{{anc_profile.step2.sfh_gest_age.hint}}",
        "v_required": {
          "value": true,
          "err": "{{anc_profile.step2.sfh_gest_age.v_required.err}}"
        },
        "v_numeric_integer": {
          "value": true,
          "err": "Enter a Valid GA from SFH or abdominal palpation - weeks value"
        },
        "v_min": {
          "value": "4",
          "err": "GA from SFH or abdominal palpation - weeks should 4 or greater"
        },
        "v_max": {
          "value": "40",
          "err": "GA from SFH or abdominal palpation - weeks should be 40 or less"
        },
        "relevance": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_relevance_rules.yml"
            }
          }
        }
      },
      {
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "",
        "key": "sfh_edd",
        "type": "hidden",
        "label_text_style": "bold",
        "text_color": "#FF0000",
        "v_required": {
          "value": false
        },
        "calculation": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_calculation_rules.yml"
            }
          }
        }
      },
      {
        "key": "sfh_ga_hidden",
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "",
        "type": "hidden",
        "text_color": "#000000",
        "calculation": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_calculation_rules.yml"
            }
          }
        }
      },
      {
        "key": "select_gest_age_edd_label",
        "type": "label",
        "text": "{{anc_profile.step2.select_gest_age_edd_label.text}}",
        "label_info_text": "If the difference between GA from LMP and early ultrasound is one week or less, then use GA from LMP. If the difference is more than 7 days, use the early ultrasound GA. If ultrasound was done late, use GA from LMP. Between late ultrasound and SFH or abdominal palpation, use your best judgment to select GA.",
        "label_text_style": "bold",
        "text_color": "#000000",
        "v_required": {
          "value": true,
          "err": "{{anc_profile.step2.select_gest_age_edd_label.v_required.err}}"
        }
      },
      {
        "key": "lmp_gest_age_selection",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "160697AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "native_radio",
        "options": [
          {
            "key": "lmp",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1427AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "text": "{{anc_profile.step2.lmp_gest_age_selection.options.lmp.text}}",
            "extra_info": "GA: {lmp_gest_age}\u003cbr/\u003eEDD: {lmp_edd}"
          }
        ],
        "v_required": {
          "value": true,
          "err": "{{anc_profile.step2.lmp_gest_age_selection.v_required.err}}"
        },
        "calculation": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_calculation_rules.yml"
            }
          }
        },
        "relevance": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_relevance_rules.yml"
            }
          }
        }
      },
      {
        "key": "ultrasound_gest_age_selection",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "160697AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "native_radio",
        "options": [
          {
            "key": "ultrasound",
            "text": "{{anc_profile.step2.ultrasound_gest_age_selection.options.ultrasound.text}}",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "159618AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "extra_info": "GA: {ultrasound_gest_age} \u003cbr/\u003e EDD: {ultrasound_edd}"
          }
        ],
        "v_required": {
          "value": true,
          "err": "{{anc_profile.step2.ultrasound_gest_age_selection.v_required.err}}"
        },
        "calculation": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_calculation_rules.yml"
            }
          }
        },
        "relevance": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_relevance_rules.yml"
            }
          }
        }
      },
      {
        "key": "sfh_gest_age_selection",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "160697AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "native_radio",
        "options": [
          {
            "key": "sfh",
            "text": "{{anc_profile.step2.sfh_gest_age_selection.options.sfh.text}}",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1439AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "extra_info": "GA: {sfh_gest_age} \u003cbr/\u003e EDD: {sfh_edd}"
          }
        ],
        "v_required": {
          "value": true,
          "err": "{{anc_profile.step2.sfh_gest_age_selection.v_required.err}}"
        },
        "calculation": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_calculation_rules.yml"
            }
          }
        },
        "relevance": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_relevance_rules.yml"
            }
          }
        }
      },
      {
        "key": "lmp_ultrasound_gest_age_selection",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "160697AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "native_radio",
        "options": [
          {
            "key": "lmp",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1427AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "text": "{{anc_profile.step2.lmp_ultrasound_gest_age_selection.options.lmp.text}}",
            "extra_info": "GA: {lmp_gest_age}\u003cbr/\u003eEDD: {lmp_edd}"
          },
          {
            "key": "ultrasound",
            "text": "{{anc_profile.step2.lmp_ultrasound_gest_age_selection.options.ultrasound.text}}",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "159618AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "extra_info": "GA: {ultrasound_gest_age} \u003cbr/\u003e EDD: {ultrasound_edd}"
          }
        ],
        "v_required": {
          "value": true,
          "err": "{{anc_profile.step2.lmp_ultrasound_gest_age_selection.v_required.err}}"
        },
        "calculation": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_calculation_rules.yml"
            }
          }
        },
        "relevance": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_relevance_rules.yml"
            }
          }
        }
      },
      {
        "key": "sfh_ultrasound_gest_age_selection",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "160697AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "native_radio",
        "options": [
          {
            "key": "ultrasound",
            "text": "{{anc_profile.step2.sfh_ultrasound_gest_age_selection.options.ultrasound.text}}",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "159618AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "extra_info": "GA: {ultrasound_gest_age} \u003cbr/\u003e EDD: {ultrasound_edd}"
          },
          {
            "key": "sfh",
            "text": "{{anc_profile.step2.sfh_ultrasound_gest_age_selection.options.sfh.text}}",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1439AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "extra_info": "GA: {sfh_gest_age} \u003cbr/\u003e EDD: {sfh_edd}"
          }
        ],
        "v_required": {
          "value": true,
          "err": "{{anc_profile.step2.sfh_ultrasound_gest_age_selection.v_required.err}}"
        },
        "calculation": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_calculation_rules.yml"
            }
          }
        },
        "relevance": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_relevance_rules.yml"
            }
          }
        }
      },
      {
        "key": "select_gest_age_edd_all_values",
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "",
        "type": "hidden",
        "label_text_style": "bold",
        "text_color": "#FF0000",
        "v_required": {
          "value": false
        },
        "calculation": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_calculation_rules.yml"
            }
          }
        }
      },
      {
        "key": "select_gest_age_edd_lmp_ultrasound",
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "",
        "type": "hidden",
        "label_text_style": "bold",
        "text_color": "#FF0000",
        "v_required": {
          "value": false
        },
        "calculation": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_calculation_rules.yml"
            }
          }
        }
      },
      {
        "key": "select_gest_age_edd_sfh_ultrasound",
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "",
        "type": "hidden",
        "label_text_style": "bold",
        "text_color": "#FF0000",
        "v_required": {
          "value": false
        },
        "calculation": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_calculation_rules.yml"
            }
          }
        }
      },
      {
        "key": "select_gest_age_edd",
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "",
        "type": "hidden",
        "label_text_style": "bold",
        "text_color": "#FF0000",
        "v_required": {
          "value": false
        },
        "calculation": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_calculation_rules.yml"
            }
          }
        }
      },
      {
        "key": "gest_age",
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "",
        "type": "hidden",
        "label_text_style": "bold",
        "text_color": "#FF0000",
        "v_required": {
          "value": false
        },
        "calculation": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_calculation_rules.yml"
            }
          }
        }
      },
      {
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "1438AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "key": "gest_age_openmrs",
        "type": "hidden",
        "label_text_style": "bold",
        "text_color": "#FF0000",
        "v_required": {
          "value": false
        },
        "calculation": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_calculation_rules.yml"
            }
          }
        }
      },
      {
        "key": "edd",
        "openmrs_entity_parent": "",
        "openmrs_entity": "person_attribute",
        "openmrs_entity_id": "5596AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "hidden",
        "label_text_style": "bold",
        "text_color": "#FF0000",
        "v_required": {
          "value": false
        },
        "calculation": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_calculation_rules.yml"
            }
          }
        }
      }
    ]
  },
  "step3": {
    "title": "{{anc_profile.step3.title}}",
    "next": "step4",
    "fields": [
      {
        "key": "spacer",
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "spacer",
        "type": "spacer",
        "spacer_height": "20dp"
      },
      {
        "key": "gravida_label",
        "type": "label",
        "label_text_style": "bold",
        "text": "{{anc_profile.step3.gravida_label.text}}",
        "text_color": "#000000",
        "v_required": {
          "value": true,
          "err": "{{anc_profile.step3.gravida_label.v_required.err}}"
        }
      },
      {
        "key": "gravida",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "5624AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "numbers_selector",
        "number_of_selectors": "5",
        "start_number": "1",
        "max_value": "15",
        "text_size": "16px",
        "text_color": "#000000",
        "selected_text_color": "#ffffff",
        "v_required": {
          "value": true,
          "err": "{{anc_profile.step3.gravida.v_required.err}}"
        }
      },
      {
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "",
        "key": "previous_pregnancies",
        "type": "hidden",
        "label_text_style": "bold",
        "text_color": "#FF0000",
        "v_required": {
          "value": true,
          "err": "{{anc_profile.step3.previous_pregnancies.v_required.err}}"
        },
        "calculation": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_calculation_rules.yml"
            }
          }
        }
      },
      {
        "key": "spacer",
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "spacer",
        "type": "spacer",
        "spacer_height": "24dp"
      },
      {
        "key": "miscarriages_abortions_label",
        "type": "label",
        "label_text_style": "bold",
        "text": "{{anc_profile.step3.miscarriages_abortions_label.text}}",
        "text_color": "#000000",
        "v_required": {
          "value": true
        },
        "relevance": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_relevance_rules.yml"
            }
          }
        }
      },
      {
        "key": "miscarriages_abortions",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "1823AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "numbers_selector",
        "number_of_selectors": "5",
        "start_number": "0",
        "max_value": "15",
        "text_size": "16px",
        "text_color": "#000000",
        "selected_text_color": "#ffffff",
        "v_required": {
          "value": true,
          "err": "{{anc_profile.step3.miscarriages_abortions.v_required.err}}"
        },
        "constraints": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_constraint_rules.yml"
            }
          }
        },
        "relevance": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_relevance_rules.yml"
            }
          }
        }
      },
      {
        "key": "spacer",
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "spacer",
        "type": "spacer",
        "spacer_height": "24dp"
      },
      {
        "key": "live_births_label",
        "type": "label",
        "label_text_style": "bold",
        "text": "{{anc_profile.step3.live_births_label.text}}",
        "text_color": "#000000",
        "v_required": {
          "value": true
        },
        "relevance": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_relevance_rules.yml"
            }
          }
        }
      },
      {
        "key": "live_births",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "160601AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "numbers_selector",
        "number_of_selectors": "5",
        "start_number": "0",
        "max_value": "15",
        "text_size": "16px",
        "text_color": "#000000",
        "selected_text_color": "#ffffff",
        "v_required": {
          "value": true,
          "err": "{{anc_profile.step3.live_births.v_required.err}}"
        },
        "constraints": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_constraint_rules.yml"
            }
          }
        },
        "relevance": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_relevance_rules.yml"
            }
          }
        }
      },
      {
        "key": "spacer",
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "spacer",
        "type": "spacer",
        "spacer_height": "24dp"
      },
      {
        "key": "last_live_birth_preterm",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "",
        "type": "native_radio",
        "label": "{{anc_profile.step3.last_live_birth_preterm.label}}",
        "text_color": "#000000",
        "label_text_style": "bold",
        "options": [
          {
            "key": "yes",
            "text": "{{anc_profile.step3.last_live_birth_preterm.options.yes.text}}",
            "openmrs_entity": "",
            "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          },
          {
            "key": "no",
            "text": "{{anc_profile.step3.last_live_birth_preterm.options.no.text}}",
            "openmrs_entity": "",
            "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          },
          {
            "key": "dont_know",
            "text": "{{anc_profile.step3.last_live_birth_preterm.options.dont_know.text}}",
            "openmrs_entity": "",
            "openmrs_entity_id": ""
          }
        ],
        "relevance": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_relevance_rules.yml"
            }
          }
        },
        "v_required": {
          "value": false,
          "err": "{{anc_profile.step3.last_live_birth_preterm.v_required.err}}"
        }
      },
      {
        "key": "stillbirths_label",
        "type": "label",
        "label_text_style": "bold",
        "text": "{{anc_profile.step3.stillbirths_label.text}}",
        "text_color": "#000000",
        "v_required": {
          "value": true,
          "err": "{{anc_profile.step3.stillbirths_label.v_required.err}}"
        },
        "relevance": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_relevance_rules.yml"
            }
          }
        }
      },
      {
        "key": "stillbirths",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "160077AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "numbers_selector",
        "number_of_selectors": "5",
        "start_number": "0",
        "max_value": "15",
        "text_size": "16px",
        "text_color": "#000000",
        "selected_text_color": "#ffffff",
        "v_required": {
          "value": true,
          "err": "{{anc_profile.step3.stillbirths.v_required.err}}"
        },
        "constraints": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_constraint_rules.yml"
            }
          }
        },
        "relevance": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_relevance_rules.yml"
            }
          }
        }
      },
      {
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "1053AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "key": "parity",
        "type": "hidden",
        "label_text_style": "bold",
        "text_color": "#FF0000",
        "v_required": {
          "value": false
        },
        "calculation": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_calculation_rules.yml"
            }
          }
        }
      },
      {
        "key": "spacer",
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "spacer",
        "type": "spacer",
        "spacer_height": "24dp"
      },
      {
        "key": "c_sections_label",
        "type": "label",
        "label_text_style": "bold",
        "text": "{{anc_profile.step3.c_sections_label.text}}",
        "text_color": "#000000",
        "v_required": {
          "value": true
        },
        "relevance": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_relevance_rules.yml"
            }
          }
        }
      },
      {
        "key": "c_sections",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "160081AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "numbers_selector",
        "number_of_selectors": "5",
        "start_number": "0",
        "max_value": "15",
        "text_size": "16px",
        "text_color": "#000000",
        "selected_text_color": "#ffffff",
        "v_required": {
          "value": true,
          "err": "{{anc_profile.step3.c_sections.v_required.err}}"
        },
        "constraints": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_constraint_rules.yml"
            }
          }
        },
        "relevance": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_relevance_rules.yml"
            }
          }
        }
      },
      {
        "key": "spacer",
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "spacer",
        "type": "spacer",
        "spacer_height": "24dp"
      },
      {
        "key": "prev_preg_comps",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "1430AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "openmrs_data_type": "select multiple",
        "type": "check_box",
        "label": "{{anc_profile.step3.prev_preg_comps.label}}",
        "label_text_style": "bold",
        "exclusive": [
          "none",
          "dont_know"
        ],
        "options": [
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "none",
            "text": "{{anc_profile.step3.prev_preg_comps.options.none.text}}"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "dont_know",
            "text": "{{anc_profile.step3.prev_preg_comps.options.dont_know.text}}"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "129251AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "pre_eclampsia",
            "text": "{{anc_profile.step3.prev_preg_comps.options.pre_eclampsia.text}}"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "118744AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "eclampsia",
            "text": "{{anc_profile.step3.prev_preg_comps.options.eclampsia.text}}"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "113054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "convulsions",
            "text": "{{anc_profile.step3.prev_preg_comps.options.convulsions.text}}"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1449AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "gestational_diabetes",
            "text": "{{anc_profile.step3.prev_preg_comps.options.gestational_diabetes.text}}"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "159084AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "tobacco_use",
            "text": "{{anc_profile.step3.prev_preg_comps.options.tobacco_use.text}}"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "143098AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "alcohol_use",
            "text": "{{anc_profile.step3.prev_preg_comps.options.alcohol_use.text}}"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "160246AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "illicit_substance",
            "text": "{{anc_profile.step3.prev_preg_comps.options.illicit_substance.text}}"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "230AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "heavy_bleeding",
            "text": "{{anc_profile.step3.prev_preg_comps.options.heavy_bleeding.text}}"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "165259AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "baby_died_in_24_hrs",
            "text": "{{anc_profile.step3.prev_preg_comps.options.baby_died_in_24_hrs.text}}"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "140951AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "macrosomia",
            "text": "{{anc_profile.step3.prev_preg_comps.options.macrosomia.text}}"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "118159AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "vacuum_delivery",
            "text": "{{anc_profile.step3.prev_preg_comps.options.vacuum_delivery.text}}"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "",
            "key": "vacuum",
            "text": "{{anc_profile.step3.prev_preg_comps.options.vacuum.text}}"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "124858AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "3rd_degree_tear",
            "text": "{{anc_profile.step3.prev_preg_comps.options.3rd_degree_tear.text}}"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "other",
            "text": "{{anc_profile.step3.prev_preg_comps.options.other.text}}"
          }
        ],
        "v_required": {
          "value": true,
          "err": "{{anc_profile.step3.prev_preg_comps.v_required.err}}"
        },
        "relevance": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_relevance_rules.yml"
            }
          }
        }
      },
      {
        "key": "prev_preg_comps_other",
        "openmrs_entity_parent": "1430AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "edit_text",
        "hint": "{{anc_profile.step3.prev_preg_comps_other.hint}}",
        "relevance": {
          "step3:prev_preg_comps": {
            "ex-checkbox": [
              {
                "or": [
                  "other"
                ]
              }
            ]
          }
        },
        "v_required": {
          "value": false,
          "err": "{{anc_profile.step3.prev_preg_comps_other.v_required.err}}"
        },
        "v_regex": {
          "value": "[A-Za-z\\s\\.\\-]*",
          "err": "{{anc_profile.step3.prev_preg_comps_other.v_regex.err}}"
        }
      },
      {
        "key": "substances_used",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "165222AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "openmrs_data_type": "select multiple",
        "type": "check_box",
        "label": "{{anc_profile.step3.substances_used.label}}",
        "label_text_style": "bold",
        "relevance": {
          "step3:prev_preg_comps": {
            "ex-checkbox": [
              {
                "or": [
                  "illicit_substance"
                ]
              }
            ]
          }
        },
        "options": [
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "165221AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "marijuana",
            "text": "{{anc_profile.step3.substances_used.options.marijuana.text}}",
            "translation_text": "anc_profile.step3.substances_used.options.marijuana.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "155793AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "cocaine",
            "text": "{{anc_profile.step3.substances_used.options.cocaine.text}}",
            "translation_text": "anc_profile.step3.substances_used.options.cocaine.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "157351AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "injectable_drugs",
            "text": "{{anc_profile.step3.substances_used.options.injectable_drugs.text}}",
            "translation_text": "anc_profile.step3.substances_used.options.injectable_drugs.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "other",
            "text": "{{anc_profile.step3.substances_used.options.other.text}}",
            "translation_text": "anc_profile.step3.substances_used.options.other.text"
          }
        ],
        "v_required": {
          "value": false,
          "err": "{{anc_profile.step3.substances_used.v_required.err}}"
        }
      },
      {
        "key": "substances_used_other",
        "openmrs_entity_parent": "165222AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "edit_text",
        "hint": "{{anc_profile.step3.substances_used_other.hint}}",
        "relevance": {
          "step3:substances_used": {
            "ex-checkbox": [
              {
                "or": [
                  "other"
                ]
              }
            ]
          }
        },
        "v_required": {
          "value": false,
          "err": "{{anc_profile.step3.substances_used_other.v_required.err}}"
        },
        "v_regex": {
          "value": "[A-Za-z\\s\\.\\-]*",
          "err": "{{anc_profile.step3.substances_used_other.v_regex.err}}"
        }
      },
      {
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "165260AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "key": "preeclampsia_risk",
        "type": "hidden",
        "label_text_style": "bold",
        "text_color": "#FF0000",
        "v_required": {
          "value": false
        },
        "calculation": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_calculation_rules.yml"
            }
          }
        }
      },
      {
        "key": "pre_eclampsia_toaster",
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "",
        "type": "toaster_notes",
        "text": "{{anc_profile.step3.pre_eclampsia_toaster.text}}",
        "text_color": "#000000",
        "toaster_info_text": "{{anc_profile.step3.pre_eclampsia_toaster.toaster_info_text}}",
        "toaster_info_title": "{{anc_profile.step3.pre_eclampsia_toaster.toaster_info_title}}",
        "toaster_type": "warning",
        "relevance": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_relevance_rules.yml"
            }
          }
        }
      },
      {
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "165261AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "key": "gdm_risk",
        "type": "hidden",
        "label_text_style": "bold",
        "text_color": "#FF0000",
        "v_required": {
          "value": false
        },
        "calculation": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_calculation_rules.yml"
            }
          }
        }
      },
      {
        "key": "gestational_diabetes_toaster",
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "",
        "type": "toaster_notes",
        "text": "{{anc_profile.step3.gestational_diabetes_toaster.text}}",
        "text_color": "#000000",
        "toaster_info_text": "{{anc_profile.step3.gestational_diabetes_toaster.toaster_info_text}}",
        "toaster_info_title": "{{anc_profile.step3.gestational_diabetes_toaster.toaster_info_title}}",
        "toaster_type": "warning",
        "relevance": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_relevance_rules.yml"
            }
          }
        }
      }
    ]
  },
  "step4": {
    "title": "{{anc_profile.step4.title}}",
    "next": "step5",
    "fields": [
      {
        "key": "allergies",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "160643AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "openmrs_data_type": "select multiple",
        "type": "check_box",
        "label": "{{anc_profile.step4.allergies.label}}",
        "label_text_style": "bold",
        "hint": "{{anc_profile.step4.allergies.hint}}",
        "exclusive": [
          "none",
          "dont_know"
        ],
        "options": [
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "none",
            "text": "{{anc_profile.step4.allergies.options.none.text}}",
            "translation_text": "anc_profile.step4.allergies.options.none.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "dont_know",
            "text": "{{anc_profile.step4.allergies.options.dont_know.text}}",
            "translation_text": "anc_profile.step4.allergies.options.dont_know.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "70439AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "albendazole",
            "text": "{{anc_profile.step4.allergies.options.albendazole.text}}",
            "translation_text": "anc_profile.step4.allergies.options.albendazole.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "70991AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "aluminium_hydroxide",
            "text": "{{anc_profile.step4.allergies.options.aluminium_hydroxide.text}}",
            "translation_text": "anc_profile.step4.allergies.options.aluminium_hydroxide.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "72650AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "calcium",
            "text": "{{anc_profile.step4.allergies.options.calcium.text}}",
            "translation_text": "anc_profile.step4.allergies.options.calcium.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "73154AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "chamomile",
            "text": "{{anc_profile.step4.allergies.options.chamomile.text}}",
            "translation_text": "anc_profile.step4.allergies.options.chamomile.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "76613AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "folic_acid",
            "text": "{{anc_profile.step4.allergies.options.folic_acid.text}}",
            "translation_text": "anc_profile.step4.allergies.options.folic_acid.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "77001AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "ginger",
            "text": "{{anc_profile.step4.allergies.options.ginger.text}}",
            "translation_text": "anc_profile.step4.allergies.options.ginger.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "78218AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "iron",
            "text": "{{anc_profile.step4.allergies.options.iron.text}}",
            "translation_text": "anc_profile.step4.allergies.options.iron.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "79229AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "magnesium_carbonate",
            "text": "{{anc_profile.step4.allergies.options.magnesium_carbonate.text}}",
            "translation_text": "anc_profile.step4.allergies.options.magnesium_carbonate.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "924AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "malaria_medication",
            "text": "{{anc_profile.step4.allergies.options.malaria_medication.text}}",
            "translation_text": "anc_profile.step4.allergies.options.malaria_medication.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "79413AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "mebendazole",
            "text": "{{anc_profile.step4.allergies.options.mebendazole.text}}",
            "translation_text": "anc_profile.step4.allergies.options.mebendazole.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "81724AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "penicillin",
            "text": "{{anc_profile.step4.allergies.options.penicillin.text}}",
            "translation_text": "anc_profile.step4.allergies.options.penicillin.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "84797AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "prep_tenofovir_disoproxil_fumarate",
            "text": "{{anc_profile.step4.allergies.options.prep_tenofovir_disoproxil_fumarate.text}}",
            "translation_text": "anc_profile.step4.allergies.options.prep_tenofovir_disoproxil_fumarate.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "other",
            "text": "{{anc_profile.step4.allergies.options.other.text}}",
            "translation_text": "anc_profile.step4.allergies.options.other.text"
          }
        ],
        "v_required": {
          "value": false,
          "err": "{{anc_profile.step4.allergies.v_required.err}}"
        }
      },
      {
        "key": "allergies_other",
        "openmrs_entity_parent": "160643AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "edit_text",
        "hint": "{{anc_profile.step4.allergies_other.hint}}",
        "edit_type": "edit_text",
        "relevance": {
          "step4:allergies": {
            "ex-checkbox": [
              {
                "or": [
                  "other"
                ]
              }
            ]
          }
        }
      },
      {
        "key": "surgeries",
        "openmrs_entity_parent": "160714AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "1651AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "openmrs_data_type": "select multiple",
        "type": "check_box",
        "label": "{{anc_profile.step4.surgeries.label}}",
        "label_text_style": "bold",
        "hint": "{{anc_profile.step4.surgeries.hint}}",
        "exclusive": [
          "none",
          "dont_know"
        ],
        "options": [
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "none",
            "text": "{{anc_profile.step4.surgeries.options.none.text}}",
            "translation_text": "anc_profile.step4.surgeries.options.none.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "dont_know",
            "text": "{{anc_profile.step4.surgeries.options.dont_know.text}}",
            "translation_text": "anc_profile.step4.surgeries.options.dont_know.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1637AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "dilation_and_curettage",
            "text": "{{anc_profile.step4.surgeries.options.dilation_and_curettage.text}}",
            "translation_text": "anc_profile.step4.surgeries.options.dilation_and_curettage.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "161829AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "removal_of_fibroid",
            "text": "{{anc_profile.step4.surgeries.options.removal_of_fibroid.text}}",
            "translation_text": "anc_profile.step4.surgeries.options.removal_of_fibroid.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "165262AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "removal_of_ovarian_cysts",
            "text": "{{anc_profile.step4.surgeries.options.removal_of_ovarian_cysts.text}}",
            "translation_text": "anc_profile.step4.surgeries.options.removal_of_ovarian_cysts.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "161844AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "removal_of_ovary",
            "text": "{{anc_profile.step4.surgeries.options.removal_of_ovary.text}}",
            "translation_text": "anc_profile.step4.surgeries.options.removal_of_ovary.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "161835AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "removal_of_the_tube",
            "text": "{{anc_profile.step4.surgeries.options.removal_of_the_tube.text}}",
            "translation_text": "anc_profile.step4.surgeries.options.removal_of_the_tube.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "162811AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "cervical_cone",
            "text": "{{anc_profile.step4.surgeries.options.cervical_cone.text}}",
            "translation_text": "anc_profile.step4.surgeries.options.cervical_cone.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "165263AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "other_gynecological_procedures",
            "text": "{{anc_profile.step4.surgeries.options.other_gynecological_procedures.text}}",
            "translation_text": "anc_profile.step4.surgeries.options.other_gynecological_procedures.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "other",
            "text": "{{anc_profile.step4.surgeries.options.other.text}}",
            "translation_text": "anc_profile.step4.surgeries.options.other.text"
          }
        ],
        "v_required": {
          "value": false,
          "err": "{{anc_profile.step4.surgeries.v_required.err}}"
        }
      },
      {
        "key": "surgeries_other_gyn_proced",
        "openmrs_entity_parent": "165263AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "165264AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "edit_text",
        "hint": "{{anc_profile.step4.surgeries_other_gyn_proced.hint}}",
        "edit_type": "edit_text",
        "other_for": {
          "parent_key": "surgeries",
          "label": "Other gynecological procedures (specify)"
        },
        "relevance": {
          "step4:surgeries": {
            "ex-checkbox": [
              {
                "or": [
                  "other_gynecological_procedures"
                ]
              }
            ]
          }
        },
        "v_required": {
          "value": false,
          "err": "{{anc_profile.step4.surgeries_other_gyn_proced.v_required.err}}"
        }
      },
      {
        "key": "surgeries_other",
        "openmrs_entity_parent": "160714AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "edit_text",
        "hint": "{{anc_profile.step4.surgeries_other.hint}}",
        "edit_type": "edit_text",
        "v_required": {
          "value": false,
          "err": "{{anc_profile.step4.surgeries_other.v_required.err}}"
        },
        "relevance": {
          "step4:surgeries": {
            "ex-checkbox": [
              {
                "or": [
                  "other"
                ]
              }
            ]
          }
        }
      },
      {
        "key": "health_conditions",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "1628AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "openmrs_data_type": "select multiple",
        "type": "check_box",
        "label": "{{anc_profile.step4.health_conditions.label}}",
        "label_text_style": "bold",
        "hint": "{{anc_profile.step4.health_conditions.hint}}",
        "exclusive": [
          "none",
          "dont_know"
        ],
        "options": [
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "none",
            "text": "{{anc_profile.step4.health_conditions.options.none.text}}",
            "translation_text": "anc_profile.step4.health_conditions.options.none.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "dont_know",
            "text": "{{anc_profile.step4.health_conditions.options.dont_know.text}}",
            "translation_text": "anc_profile.step4.health_conditions.options.dont_know.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "148117AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "autoimmune_disease",
            "text": "{{anc_profile.step4.health_conditions.options.autoimmune_disease.text}}",
            "translation_text": "anc_profile.step4.health_conditions.options.autoimmune_disease.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "165223AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "blood_disorder",
            "text": "{{anc_profile.step4.health_conditions.options.blood_disorder.text}}",
            "translation_text": "anc_profile.step4.health_conditions.options.blood_disorder.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "151286AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "cancer",
            "text": "{{anc_profile.step4.health_conditions.options.cancer.text}}",
            "translation_text": "anc_profile.step4.health_conditions.options.cancer.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "",
            "key": "cancer_other",
            "text": "{{anc_profile.step4.health_conditions.options.cancer_other.text}}",
            "translation_text": "anc_profile.step4.health_conditions.options.cancer_other.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "",
            "key": "gest_diabetes",
            "text": "{{anc_profile.step4.health_conditions.options.gest_diabetes.text}}",
            "translation_text": "anc_profile.step4.health_conditions.options.gest_diabetes.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "",
            "key": "diabetes_other",
            "text": "{{anc_profile.step4.health_conditions.options.diabetes_other.text}}",
            "translation_text": "anc_profile.step4.health_conditions.options.diabetes_other.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "119481AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "diabetes",
            "text": "{{anc_profile.step4.health_conditions.options.diabetes.text}}",
            "translation_text": "anc_profile.step4.health_conditions.options.diabetes.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "",
            "key": "diabetes_type2",
            "text": "{{anc_profile.step4.health_conditions.options.diabetes_type2.text}}",
            "translation_text": "anc_profile.step4.health_conditions.options.diabetes_type2.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "155AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "epilepsy",
            "text": "{{anc_profile.step4.health_conditions.options.epilepsy.text}}",
            "translation_text": "anc_profile.step4.health_conditions.options.epilepsy.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "138571AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "hiv",
            "text": "{{anc_profile.step4.health_conditions.options.hiv.text}}",
            "translation_text": "anc_profile.step4.health_conditions.options.hiv.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "117399AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "hypertension",
            "text": "{{anc_profile.step4.health_conditions.options.hypertension.text}}",
            "translation_text": "anc_profile.step4.health_conditions.options.hypertension.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "6033AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "kidney_disease",
            "text": "{{anc_profile.step4.health_conditions.options.kidney_disease.text}}",
            "translation_text": "anc_profile.step4.health_conditions.options.kidney_disease.text"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "other",
            "text": "{{anc_profile.step4.health_conditions.options.other.text}}",
            "translation_text": "anc_profile.step4.health_conditions.options.other.text"
          }
        ],
        "v_required": {
          "value": false,
          "err": "{{anc_profile.step4.health_conditions.v_required.err}}"
        }
      },
      {
        "key": "health_conditions_cancer_other",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "",
        "type": "edit_text",
        "hint": "{{anc_profile.step4.health_conditions_cancer_other.hint}}",
        "edit_type": "edit_text",
        "v_required": {
          "value": false,
          "err": "{{anc_profile.step4.health_conditions_cancer_other.v_required.err}}"
        },
        "relevance": {
          "step4:health_conditions": {
            "ex-checkbox": [
              {
                "or": [
                  "cancer_other"
                ]
              }
            ]
          }
        }
      },
      {
        "key": "health_conditions_other",
        "openmrs_entity_parent": "1628AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "edit_text",
        "hint": "{{anc_profile.step4.health_conditions_other.hint}}",
        "edit_type": "edit_text",
        "v_required": {
          "value": false,
          "err": "{{anc_profile.step4.health_conditions_other.v_required.err}}"
        },
        "relevance": {
          "step4:health_conditions": {
            "ex-checkbox": [
              {
                "or": [
                  "other"
                ]
              }
            ]
          }
        }
      },
      {
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "165260AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "key": "preeclampsia_risk",
        "type": "hidden",
        "label_text_style": "bold",
        "text_color": "#FF0000",
        "v_required": {
          "value": false
        },
        "calculation": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_calculation_rules.yml"
            }
          }
        }
      },
      {
        "key": "pre_eclampsia_two_toaster",
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "",
        "type": "toaster_notes",
        "text": "{{anc_profile.step4.pre_eclampsia_two_toaster.text}}",
        "text_color": "#000000",
        "toaster_info_text": "{{anc_profile.step4.pre_eclampsia_two_toaster.toaster_info_text}}",
        "toaster_info_title": "{{anc_profile.step4.pre_eclampsia_two_toaster.toaster_info_title}}",
        "toaster_type": "warning",
        "relevance": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_relevance_rules.yml"
            }
          }
        }
      },
      {
        "key": "hiv_diagnosis_date",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "160554AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "date_picker",
        "hint": "{{anc_profile.step4.hiv_diagnosis_date.hint}}",
        "expanded": false,
        "relevance": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_relevance_rules.yml"
            }
          }
        },
        "max_date": "today",
        "v_required": {
          "value": true,
          "err": "{{anc_profile.step4.hiv_diagnosis_date.v_required.err}}"
        }
      },
      {
        "key": "hiv_diagnosis_date_unknown",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "165224AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "openmrs_data_type": "select one",
        "type": "check_box",
        "label_text_style": "bold",
        "options": [
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "",
            "openmrs_entity_id": "",
            "key": "yes",
            "text": "{{anc_profile.step4.hiv_diagnosis_date_unknown.options.yes.text}}",
            "value": false
          }
        ],
        "v_required": {
          "value": false,
          "err": "{{anc_profile.step4.hiv_diagnosis_date_unknown.v_required.err}}"
        },
        "relevance": {
          "step4:health_conditions": {
            "ex-checkbox": [
              {
                "or": [
                  "hiv"
                ]
              }
            ]
          }
        }
      },
      {
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "138571AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "key": "hiv_positive",
        "type": "hidden",
        "label_text_style": "bold",
        "text_color": "#FF0000",
        "v_required": {
          "value": false
        },
        "calculation": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_calculation_rules.yml"
            }
          }
        }
      }
    ]
  },
  "step5": {
    "title": "{{anc_profile.step5.title}}",
    "next": "step6",
    "fields": [
      {
        "key": "tt_immun_status",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "165225AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "native_radio",
        "label": "{{anc_profile.step5.tt_immun_status.label}}",
        "label_text_style": "bold",
        "label_info_text": "{{anc_profile.step6.tt_immun_status.label_info_text}}",
        "multi_relevance": true,
        "options": [
          {
            "key": "3_doses",
            "text": "{{anc_profile.step5.tt_immun_status.options.3_doses.text}}",
            "translation_text": "anc_profile.step5.tt_immun_status.options.3_doses.text",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "164134AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          },
          {
            "key": "1-4_doses",
            "text": "{{anc_profile.step5.tt_immun_status.options.1-4_doses.text}}",
            "translation_text": "anc_profile.step5.tt_immun_status.options.1-4_doses.text",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "165226AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          },
          {
            "key": "ttcv_not_received",
            "text": "{{anc_profile.step5.tt_immun_status.options.ttcv_not_received.text}}",
            "translation_text": "anc_profile.step5.tt_immun_status.options.ttcv_not_received.text",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "165227AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          },
          {
            "key": "unknown",
            "text": "{{anc_profile.step5.tt_immun_status.options.unknown.text}}",
            "translation_text": "anc_profile.step5.tt_immun_status.options.unknown.text",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          }
        ],
        "v_required": {
          "value": true,
          "err": "{{anc_profile.step5.tt_immun_status.v_required.err}}"
        }
      },
      {
        "key": "tt_immunisation_toaster",
        "openers_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "",
        "type": "toaster_notes",
        "text": "{{anc_profile.step5.tt_immunisation_toaster.text}}",
        "text_color": "#000000",
        "toaster_info_text": "{{anc_profile.step5.tt_immunisation_toaster.toaster_info_text}}",
        "toaster_info_title": "{{anc_profile.step5.tt_immunisation_toaster.toaster_info_title}}",
        "toaster_type": "info",
        "relevance": {
          "step5:tt_immun_status": {
            "ex-checkbox": [
              {
                "or": [
                  "1-4_doses",
                  "ttcv_not_received",
                  "unknown"
                ]
              }
            ]
          }
        }
      },
      {
        "key": "fully_immunised_toaster",
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "",
        "type": "toaster_notes",
        "text": "{{anc_profile.step5.fully_immunised_toaster.text}}",
        "text_color": "#000000",
        "toaster_type": "positive",
        "relevance": {
          "step5:tt_immun_status": {
            "ex-checkbox": [
              {
                "or": [
                  "3_doses"
                ]
              }
            ]
          }
        }
      },
      {
        "key": "flu_immun_status",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "165227AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "native_radio",
        "label": "{{anc_profile.step5.flu_immun_status.label}}",
        "label_text_style": "bold",
        "multi_relevance": true,
        "options": [
          {
            "key": "seasonal_flu_dose_given",
            "text": "{{anc_profile.step5.flu_immun_status.options.seasonal_flu_dose_given.text}}",
            "translation_text": "anc_profile.step5.flu_immun_status.options.seasonal_flu_dose_given.text",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "165229AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          },
          {
            "key": "seasonal_flu_dose_missing",
            "text": "{{anc_profile.step5.flu_immun_status.options.seasonal_flu_dose_missing.text}}",
            "translation_text": "anc_profile.step5.flu_immun_status.options.seasonal_flu_dose_missing.text",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "165228AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          },
          {
            "key": "unknown",
            "text": "{{anc_profile.step5.flu_immun_status.options.unknown.text}}",
            "translation_text": "anc_profile.step5.flu_immun_status.options.unknown.text",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          }
        ],
        "v_required": {
          "value": true,
          "err": "{{anc_profile.step5.flu_immun_status.v_required.err}}"
        }
      },
      {
        "key": "flu_immunisation_toaster",
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "",
        "type": "toaster_notes",
        "text": "{{anc_profile.step5.flu_immunisation_toaster.text}}",
        "text_color": "#000000",
        "toaster_info_text": "{{anc_profile.step5.flu_immunisation_toaster.toaster_info_text}}",
        "toaster_info_title": "{{anc_profile.step5.flu_immunisation_toaster.toaster_info_title}}",
        "toaster_type": "info",
        "relevance": {
          "step5:flu_immun_status": {
            "ex-checkbox": [
              {
                "or": [
                  "seasonal_flu_dose_missing",
                  "unknown"
                ]
              }
            ]
          }
        }
      },
      {
        "key": "immunised_against_flu_toaster",
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "",
        "type": "toaster_notes",
        "text": "{{anc_profile.step5.immunised_against_flu_toaster.text}}",
        "text_color": "#000000",
        "toaster_type": "positive",
        "relevance": {
          "step5:flu_immun_status": {
            "ex-checkbox": [
              {
                "or": [
                  "seasonal_flu_dose_given"
                ]
              }
            ]
          }
        }
      }
    ]
  },
  "step6": {
    "title": "{{anc_profile.step6.title}}",
    "next": "step7",
    "fields": [
      {
        "key": "medications",
        "openmrs_entity_parent": "160741AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "159367AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "check_box",
        "label": "{{anc_profile.step6.medications.label}}",
        "label_text_style": "bold",
        "text_color": "#000000",
        "exclusive": [
          "dont_know",
          "none"
        ],
        "options": [
          {
            "key": "none",
            "text": "{{anc_profile.step6.medications.options.none.text}}",
            "translation_text": "anc_profile.step6.medications.options.none.text",
            "value": false,
            "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept"
          },
          {
            "key": "dont_know",
            "text": "{{anc_profile.step6.medications.options.dont_know.text}}",
            "translation_text": "anc_profile.step6.medications.options.dont_know.text",
            "value": false,
            "openmrs_entity_id": "1067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept"
          },
          {
            "key": "antacids",
            "text": "{{anc_profile.step6.medications.options.antacids.text}}",
            "translation_text": "anc_profile.step6.medications.options.antacids.text",
            "value": false,
            "openmrs_entity": "concept",
            "openmrs_entity_id": "944AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "openmrs_entity_parent": ""
          },
          {
            "key": "aspirin",
            "text": "{{anc_profile.step6.medications.options.aspirin.text}}",
            "translation_text": "anc_profile.step6.medications.options.aspirin.text",
            "value": false,
            "openmrs_entity": "concept",
            "openmrs_entity_id": "71617AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "openmrs_entity_parent": ""
          },
          {
            "key": "calcium",
            "text": "{{anc_profile.step6.medications.options.calcium.text}}",
            "translation_text": "anc_profile.step6.medications.options.calcium.text",
            "value": false,
            "openmrs_entity": "concept",
            "openmrs_entity_id": "72650AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "openmrs_entity_parent": ""
          },
          {
            "key": "doxylamine",
            "text": "{{anc_profile.step6.medications.options.doxylamine.text}}",
            "translation_text": "anc_profile.step6.medications.options.doxylamine.text",
            "value": false,
            "openmrs_entity": "concept",
            "openmrs_entity_id": "75229AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "openmrs_entity_parent": ""
          },
          {
            "key": "folic_acid",
            "text": "{{anc_profile.step6.medications.options.folic_acid.text}}",
            "translation_text": "anc_profile.step6.medications.options.folic_acid.text",
            "value": false,
            "openmrs_entity": "concept",
            "openmrs_entity_id": "76613AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "openmrs_entity_parent": ""
          },
          {
            "key": "iron",
            "text": "{{anc_profile.step6.medications.options.iron.text}}",
            "translation_text": "anc_profile.step6.medications.options.iron.text",
            "value": false,
            "openmrs_entity": "concept",
            "openmrs_entity_id": "78218AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "openmrs_entity_parent": ""
          },
          {
            "key": "magnesium",
            "text": "{{anc_profile.step6.medications.options.magnesium.text}}",
            "translation_text": "anc_profile.step6.medications.options.magnesium.text",
            "value": false,
            "openmrs_entity": "concept",
            "openmrs_entity_id": "79224AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "openmrs_entity_parent": ""
          },
          {
            "key": "metoclopramide",
            "text": "{{anc_profile.step6.medications.options.metoclopramide.text}}",
            "translation_text": "anc_profile.step6.medications.options.metoclopramide.text",
            "value": false,
            "openmrs_entity": "concept",
            "openmrs_entity_id": "79755AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "openmrs_entity_parent": ""
          },
          {
            "key": "vitamina",
            "text": "{{anc_profile.step6.medications.options.vitamina.text}}",
            "translation_text": "anc_profile.step6.medications.options.vitamina.text",
            "value": false,
            "openmrs_entity": "concept",
            "openmrs_entity_id": "86339AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "openmrs_entity_parent": ""
          },
          {
            "key": "analgesic",
            "text": "{{anc_profile.step6.medications.options.analgesic.text}}",
            "translation_text": "anc_profile.step6.medications.options.analgesic.text",
            "value": false,
            "openmrs_entity": "concept",
            "openmrs_entity_id": "165231AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "openmrs_entity_parent": ""
          },
          {
            "key": "anti_convulsive",
            "text": "{{anc_profile.step6.medications.options.anti_convulsive.text}}",
            "translation_text": "anc_profile.step6.medications.options.anti_convulsive.text",
            "value": false,
            "openmrs_entity": "concept",
            "openmrs_entity_id": "165230AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "openmrs_entity_parent": ""
          },
          {
            "key": "anti_diabetic",
            "text": "{{anc_profile.step6.medications.options.anti_diabetic.text}}",
            "translation_text": "anc_profile.step6.medications.options.anti_diabetic.text",
            "value": false,
            "openmrs_entity": "concept",
            "openmrs_entity_id": "159460AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "openmrs_entity_parent": ""
          },
          {
            "key": "anthelmintic",
            "text": "{{anc_profile.step6.medications.options.anthelmintic.text}}",
            "translation_text": "anc_profile.step6.medications.options.anthelmintic.text",
            "value": false,
            "openmrs_entity": "concept",
            "openmrs_entity_id": "165238AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "openmrs_entity_parent": ""
          },
          {
            "key": "anti_hypertensive",
            "text": "{{anc_profile.step6.medications.options.anti_hypertensive.text}}",
            "translation_text": "anc_profile.step6.medications.options.anti_hypertensive.text",
            "value": false,
            "openmrs_entity": "concept",
            "openmrs_entity_id": "165237AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "openmrs_entity_parent": ""
          },
          {
            "key": "anti_malarials",
            "text": "{{anc_profile.step6.medications.options.anti_malarials.text}}",
            "translation_text": "anc_profile.step6.medications.options.anti_malarials.text",
            "value": false,
            "openmrs_entity": "concept",
            "openmrs_entity_id": "5839AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "openmrs_entity_parent": ""
          },
          {
            "key": "antivirals",
            "text": "{{anc_profile.step6.medications.options.antivirals.text}}",
            "translation_text": "anc_profile.step6.medications.options.antivirals.text",
            "value": false,
            "openmrs_entity": "concept",
            "openmrs_entity_id": "165236AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "openmrs_entity_parent": ""
          },
          {
            "key": "arvs",
            "text": "{{anc_profile.step6.medications.options.arvs.text}}",
            "translation_text": "anc_profile.step6.medications.options.arvs.text",
            "value": false,
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1085AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "openmrs_entity_parent": ""
          },
          {
            "key": "prep_hiv",
            "text": "{{anc_profile.step6.medications.options.prep_hiv.text}}",
            "translation_text": "anc_profile.step6.medications.options.prep_hiv.text",
            "value": false,
            "openmrs_entity": "concept",
            "openmrs_entity_id": "",
            "openmrs_entity_parent": ""
          },
          {
            "key": "antitussive",
            "text": "{{anc_profile.step6.medications.options.antitussive.text}}",
            "translation_text": "anc_profile.step6.medications.options.antitussive.text",
            "value": false,
            "openmrs_entity": "concept",
            "openmrs_entity_id": "165235AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "openmrs_entity_parent": ""
          },
          {
            "key": "asthma",
            "text": "{{anc_profile.step6.medications.options.asthma.text}}",
            "translation_text": "anc_profile.step6.medications.options.asthma.text",
            "value": false,
            "openmrs_entity": "concept",
            "openmrs_entity_id": "165234AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "openmrs_entity_parent": ""
          },
          {
            "key": "cotrimoxazole",
            "text": "{{anc_profile.step6.medications.options.cotrimoxazole.text}}",
            "translation_text": "anc_profile.step6.medications.options.cotrimoxazole.text",
            "value": false,
            "openmrs_entity": "concept",
            "openmrs_entity_id": "105281AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "openmrs_entity_parent": ""
          },
          {
            "key": "antibiotics",
            "text": "{{anc_profile.step6.medications.options.antibiotics.text}}",
            "translation_text": "anc_profile.step6.medications.options.antibiotics.text",
            "value": false,
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1195AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "openmrs_entity_parent": ""
          },
          {
            "key": "hematinic",
            "text": "{{anc_profile.step6.medications.options.hematinic.text}}",
            "translation_text": "anc_profile.step6.medications.options.hematinic.text",
            "value": false,
            "openmrs_entity": "concept",
            "openmrs_entity_id": "165233AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "openmrs_entity_parent": ""
          },
          {
            "key": "hemorrhoidal",
            "text": "{{anc_profile.step6.medications.options.hemorrhoidal.text}}",
            "translation_text": "anc_profile.step6.medications.options.hemorrhoidal.text",
            "value": false,
            "openmrs_entity": "concept",
            "openmrs_entity_id": "165255AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "openmrs_entity_parent": ""
          },
          {
            "key": "multivitamin",
            "text": "{{anc_profile.step6.medications.options.multivitamin.text}}",
            "translation_text": "anc_profile.step6.medications.options.multivitamin.text",
            "value": false,
            "openmrs_entity": "concept",
            "openmrs_entity_id": "461AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "openmrs_entity_parent": ""
          },
          {
            "key": "thyroid",
            "text": "{{anc_profile.step6.medications.options.thyroid.text}}",
            "translation_text": "anc_profile.step6.medications.options.thyroid.text",
            "value": false,
            "openmrs_entity": "concept",
            "openmrs_entity_id": "165232AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "openmrs_entity_parent": ""
          },
          {
            "key": "other",
            "text": "{{anc_profile.step6.medications.options.other.text}}",
            "translation_text": "anc_profile.step6.medications.options.other.text",
            "value": false,
            "openmrs_entity": "concept",
            "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "openmrs_entity_parent": ""
          }
        ],
        "v_required": {
          "value": true,
          "err": "{{anc_profile.step6.medications.v_required.err}}"
        }
      },
      {
        "key": "medications_other",
        "openmrs_entity_parent": "159367AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "edit_text",
        "hint": "{{anc_profile.step6.medications_other.hint}}",
        "edit_type": "edit_text",
        "v_required": {
          "value": false,
          "err": "{{anc_profile.step6.medications_other.v_required.err}}"
        },
        "relevance": {
          "step6:medications": {
            "ex-checkbox": [
              {
                "or": [
                  "other"
                ]
              }
            ]
          }
        }
      }
    ]
  },
  "step7": {
    "title": "{{anc_profile.step7.title}}",
    "next": "step8",
    "fields": [
      {
        "key": "caffeine_intake",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "165243AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "openmrs_data_type": "select multiple",
        "type": "check_box",
        "label": "{{anc_profile.step7.caffeine_intake.label}}",
        "label_text_style": "bold",
        "hint": "{{anc_profile.step7.caffeine_intake.hint}}",
        "label_info_text": "{{anc_profile.step7.caffeine_intake.label_info_text}}",
        "exclusive": [
          "none"
        ],
        "options": [
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "165239AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "commercially_brewed_coffee",
            "text": "{{anc_profile.step7.caffeine_intake.options.commercially_brewed_coffee.text}}"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "",
            "key": "tea",
            "text": "{{anc_profile.step7.caffeine_intake.options.tea.text}}"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "165242AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "more_than_48_pieces_squares_of_chocolate",
            "text": "{{anc_profile.step7.caffeine_intake.options.more_than_48_pieces_squares_of_chocolate.text}}"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "",
            "key": "soda",
            "text": "{{anc_profile.step7.caffeine_intake.options.soda.text}}"
          },
          {
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "key": "none",
            "text": "{{anc_profile.step7.caffeine_intake.options.none.text}}"
          }
        ],
        "v_required": {
          "value": true,
          "err": "{{anc_profile.step7.caffeine_intake.v_required.err}}"
        }
      },
      {
        "key": "caffeine_reduction_toaster",
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "",
        "type": "toaster_notes",
        "text": "{{anc_profile.step7.caffeine_reduction_toaster.text}}",
        "text_color": "#000000",
        "toaster_info_text": "{{anc_profile.step7.caffeine_reduction_toaster.toaster_info_text}}",
        "toaster_info_title": "{{anc_profile.step7.caffeine_reduction_toaster.toaster_info_title}}",
        "toaster_type": "warning",
        "relevance": {
          "step7:caffeine_intake": {
            "ex-checkbox": [
              {
                "or": [
                  "commercially_brewed_coffee",
                  "tea",
                  "soda",
                  "more_than_48_pieces_squares_of_chocolate"
                ]
              }
            ]
          }
        }
      },
      {
        "key": "tobacco_user",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "163731AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "native_radio",
        "label": "{{anc_profile.step7.tobacco_user.label}}",
        "label_text_style": "bold",
        "multi_relevance": true,
        "options": [
          {
            "key": "yes",
            "text": "{{anc_profile.step7.tobacco_user.options.yes.text}}",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "159450AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          },
          {
            "key": "no",
            "text": "{{anc_profile.step7.tobacco_user.options.no.text}}",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1090AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          },
          {
            "key": "recently_quit",
            "text": "{{anc_profile.step7.tobacco_user.options.recently_quit.text}}",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "165267AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          }
        ],
        "v_required": {
          "value": true,
          "err": "{{anc_profile.step7.tobacco_user.v_required.err}}"
        }
      },
      {
        "key": "tobacco_cessation_toaster",
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "",
        "type": "toaster_notes",
        "text": "{{anc_profile.step7.tobacco_cessation_toaster.text}}",
        "text_color": "#000000",
        "toaster_info_text": "{{anc_profile.step7.tobacco_cessation_toaster.toaster_info_text}}",
        "toaster_info_title": "{{anc_profile.step7.tobacco_cessation_toaster.toaster_info_title}}",
        "toaster_type": "problem",
        "relevance": {
          "step7:tobacco_user": {
            "ex-checkbox": [
              {
                "or": [
                  "yes",
                  "recently_quit"
                ]
              }
            ]
          }
        }
      },
      {
        "key": "shs_exposure",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "152721AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "native_radio",
        "label": "{{anc_profile.step7.shs_exposure.label}}",
        "label_text_style": "bold",
        "options": [
          {
            "key": "yes",
            "text": "{{anc_profile.step7.shs_exposure.options.yes.text}}",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          },
          {
            "key": "no",
            "text": "{{anc_profile.step7.shs_exposure.options.no.text}}",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          }
        ],
        "v_required": {
          "value": false,
          "err": "{{anc_profile.step7.shs_exposure.v_required.err}}"
        }
      },
      {
        "key": "second_hand_smoke_toaster",
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "",
        "type": "toaster_notes",
        "text": "{{anc_profile.step7.second_hand_smoke_toaster.text}}",
        "text_color": "#000000",
        "toaster_info_text": "{{anc_profile.step7.second_hand_smoke_toaster.toaster_info_text}}",
        "toaster_info_title": "{{anc_profile.step7.second_hand_smoke_toaster.toaster_info_title}}",
        "toaster_type": "warning",
        "relevance": {
          "step7:shs_exposure": {
            "type": "string",
            "ex": "equalTo(., \"yes\")"
          }
        }
      },
      {
        "key": "condom_use",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "1357AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "native_radio",
        "label": "{{anc_profile.step7.condom_use.label}}",
        "label_text_style": "bold",
        "options": [
          {
            "key": "yes",
            "text": "{{anc_profile.step7.condom_use.options.yes.text}}",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          },
          {
            "key": "no",
            "text": "{{anc_profile.step7.condom_use.options.no.text}}",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          }
        ],
        "v_required": {
          "value": false,
          "err": "{{anc_profile.step7.condom_use.v_required.err}}"
        }
      },
      {
        "key": "condom_counseling_toaster",
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "",
        "type": "toaster_notes",
        "text": "{{anc_profile.step7.condom_counseling_toaster.text}}",
        "text_color": "#000000",
        "toaster_info_text": "{{anc_profile.step7.condom_counseling_toaster.toaster_info_text}}",
        "toaster_info_title": "{{anc_profile.step7.condom_counseling_toaster.toaster_info_title}}",
        "toaster_type": "problem",
        "relevance": {
          "step7:condom_use": {
            "type": "string",
            "ex": "equalTo(., \"no\")"
          }
        }
      },
      {
        "key": "alcohol_substance_enquiry",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "165268AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "native_radio",
        "label": "{{anc_profile.step7.alcohol_substance_enquiry.label}}",
        "label_text_style": "bold",
        "label_info_text": "{{anc_profile.step7.alcohol_substance_enquiry.label_info_text}}",
        "options": [
          {
            "key": "yes",
            "text": "{{anc_profile.step7.alcohol_substance_enquiry.options.yes.text}}",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          },
          {
            "key": "no",
            "text": "{{anc_profile.step7.alcohol_substance_enquiry.options.no.text}}",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          }
        ],
        "v_required": {
          "value": true,
          "err": "{{anc_profile.step7.alcohol_substance_enquiry.v_required.err}}"
        }
      },
      {
        "key": "alcohol_substance_use",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "165222AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "check_box",
        "label": "{{anc_profile.step7.alcohol_substance_use.label}}",
        "label_text_style": "bold",
        "exclusive": [
          "none"
        ],
        "options": [
          {
            "key": "none",
            "text": "{{anc_profile.step7.alcohol_substance_use.options.none.text}}",
            "translation_text": "anc_profile.step7.alcohol_substance_use.options.none.text",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          },
          {
            "key": "alcohol",
            "text": "{{anc_profile.step7.alcohol_substance_use.options.alcohol.text}}",
            "translation_text": "anc_profile.step7.alcohol_substance_use.options.alcohol.text",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "143098AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          },
          {
            "key": "marijuana",
            "text": "{{anc_profile.step7.alcohol_substance_use.options.marijuana.text}}",
            "translation_text": "anc_profile.step7.alcohol_substance_use.options.marijuana.text",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "165221AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          },
          {
            "key": "cocaine",
            "text": "{{anc_profile.step7.alcohol_substance_use.options.cocaine.text}}",
            "translation_text": "anc_profile.step7.alcohol_substance_use.options.cocaine.text",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "155793AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          },
          {
            "key": "injectable_drugs",
            "text": "{{anc_profile.step7.alcohol_substance_use.options.injectable_drugs.text}}",
            "translation_text": "anc_profile.step7.alcohol_substance_use.options.injectable_drugs.text",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "157351AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          },
          {
            "key": "other",
            "text": "{{anc_profile.step7.alcohol_substance_use.options.other.text}}",
            "translation_text": "anc_profile.step7.alcohol_substance_use.options.other.text",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          }
        ],
        "v_required": {
          "value": true,
          "err": "{{anc_profile.step7.alcohol_substance_use.v_required.err}}"
        }
      },
      {
        "key": "other_substance_use",
        "openmrs_entity_parent": "165222AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "edit_text",
        "hint": "{{anc_profile.step7.other_substance_use.hint}}",
        "edit_type": "edit_text",
        "v_required": {
          "value": false,
          "err": "{{anc_profile.step7.other_substance_use.v_required.err}}"
        },
        "relevance": {
          "step7:alcohol_substance_use": {
            "ex-checkbox": [
              {
                "or": [
                  "other"
                ]
              }
            ]
          }
        }
      },
      {
        "key": "substance_use_toaster",
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "",
        "type": "toaster_notes",
        "text": "{{anc_profile.step7.substance_use_toaster.text}}",
        "text_color": "#000000",
        "toaster_info_text": "{{anc_profile.step7.substance_use_toaster.toaster_info_text}}",
        "toaster_info_title": "{{anc_profile.step7.substance_use_toaster.toaster_info_title}}",
        "toaster_type": "problem",
        "relevance": {
          "step7:alcohol_substance_use": {
            "ex-checkbox": [
              {
                "or": [
                  "alcohol",
                  "marijuana",
                  "cocaine",
                  "injectable_drugs",
                  "other"
                ]
              }
            ]
          }
        }
      },
      {
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "165257AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "key": "hiv_risk",
        "type": "hidden",
        "label_text_style": "bold",
        "text_color": "#FF0000",
        "v_required": {
          "value": false
        },
        "calculation": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_calculation_rules.yml"
            }
          }
        }
      },
      {
        "key": "hiv_counselling_toaster",
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "",
        "type": "toaster_notes",
        "text": "{{anc_profile.step7.hiv_counselling_toaster.text}}",
        "text_color": "#000000",
        "toaster_info_text": "{{anc_profile.step7.hiv_counselling_toaster.toaster_info_text}}",
        "toaster_info_title": "{{anc_profile.step7.hiv_counselling_toaster.toaster_info_title}}",
        "toaster_type": "problem",
        "relevance": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_relevance_rules.yml"
            }
          }
        }
      }
    ]
  },
  "step8": {
    "title": "{{anc_profile.step8.title}}",
    "fields": [
      {
        "key": "partner_hiv_status",
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "1436AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "type": "native_radio",
        "label": "{{anc_profile.step8.partner_hiv_status.label}}",
        "label_text_style": "bold",
        "options": [
          {
            "key": "dont_know",
            "text": "{{anc_profile.step8.partner_hiv_status.options.dont_know.text}}",
            "translation_text": "anc_profile.step8.partner_hiv_status.options.dont_know.text",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "1067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          },
          {
            "key": "positive",
            "text": "{{anc_profile.step8.partner_hiv_status.options.positive.text}}",
            "translation_text": "anc_profile.step8.partner_hiv_status.options.positive.text",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "703AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          },
          {
            "key": "negative",
            "text": "{{anc_profile.step8.partner_hiv_status.options.negative.text}}",
            "translation_text": "anc_profile.step8.partner_hiv_status.options.negative.text",
            "openmrs_entity_parent": "",
            "openmrs_entity": "concept",
            "openmrs_entity_id": "664AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
          }
        ],
        "v_required": {
          "value": false,
          "err": "{{anc_profile.step8.partner_hiv_status.v_required.err}}"
        }
      },
      {
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "",
        "key": "partner_hiv_positive",
        "type": "hidden",
        "label_text_style": "bold",
        "text_color": "#FF0000",
        "v_required": {
          "value": false
        },
        "calculation": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_calculation_rules.yml"
            }
          }
        }
      },
      {
        "key": "bring_partners_toaster",
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "",
        "type": "toaster_notes",
        "text": "{{anc_profile.step8.bring_partners_toaster.text}}",
        "text_color": "#000000",
        "toaster_info_text": "{{anc_profile.step8.bring_partners_toaster.toaster_info_text}}",
        "toaster_info_title": "{{anc_profile.step8.bring_partners_toaster.toaster_info_title}}",
        "toaster_type": "info",
        "relevance": {
          "step8:partner_hiv_status": {
            "type": "string",
            "ex": "equalTo(., \"dont_know\")"
          }
        }
      },
      {
        "openmrs_entity_parent": "",
        "openmrs_entity": "concept",
        "openmrs_entity_id": "165257AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "key": "hiv_risk",
        "type": "hidden",
        "label_text_style": "bold",
        "text_color": "#FF0000",
        "v_required": {
          "value": false
        },
        "calculation": {
          "rules-engine": {
            "ex-rules": {
              "rules-file": "profile_calculation_rules.yml"
            }
          }
        }
      },
      {
        "key": "hiv_risk_counselling_toaster",
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "",
        "type": "toaster_notes",
        "text": "{{anc_profile.step8.hiv_risk_counselling_toaster.text}}",
        "text_color": "#000000",
        "toaster_info_text": "{{anc_profile.step8.hiv_risk_counselling_toaster.toaster_info_text}}",
        "toaster_info_title": "{{anc_profile.step8.hiv_risk_counselling_toaster.toaster_info_title}}",
        "toaster_type": "problem",
        "relevance": {
          "step8:partner_hiv_status": {
            "type": "string",
            "ex": "equalTo(., \"positive\")"
          }
        }
      }
    ]
  },
  "properties_file_name": "anc_profile"
}