{
  "name": "HTS Form - Classic",
  "pages": [
    {
      "label": "Introduction",
      "sections": [
        {
          "label": "",
          "isExpanded": "true",
          "questions": [
            {
              "type": "markdown",
              "questionOptions": {
                "rendering": "markdown"
              },
              "id": "fooMarkdown",
              "value": [
                "Use this form to perform HIV Testing Services"
              ]
            },
            {
              "label": "HTS Form Strategy",
              "type": "obs",
              "questionOptions": {
                "rendering": "fixed-value",
                "concept": "f0d85da0-c235-4540-a0d1-63640594f98b"
              },
              "value": "43105ef4-afde-4f33-89bd-fb318d3f07a3",
              "id": "htsFormStrategy"
            }
          ]
        }
      ]
    },
    {
      "label": "Pre-Test Counselling",
      "sections": [
        {
          "label": "Approach",
          "isExpanded": "true",
          "questions": [
            {
              "label": "Setting of HIV test",
              "type": "obs",
              "questionOptions": {
                "rendering": "radio",
                "concept": "13abe5c9-6de2-4970-b348-36d352ee8eeb",
                "answers": [
                  {
                    "concept": "42dd1e18-00cb-471c-911c-cb254d5b01a5",
                    "label": "Community Level testing",
                    "conceptMappings": []
                  },
                  {
                    "concept": "5995ebd5-11ae-47ca-ac12-bcb8c0117aec",
                    "label": "Facility Level Testing",
                    "conceptMappings": []
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true"
                },
                {
                  "intent": "HTS_PRETEST",
                  "required": "true"
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true"
                }
              ],
              "id": "testingLocation"
            },
            {
              "label": "Approach",
              "type": "obs",
              "questionOptions": {
                "rendering": "radio",
                "concept": "9641ead9-8821-4898-b633-a8e96c0933cf",
                "answers": [
                  {
                    "concept": "e6924b2c-8f27-44d8-8228-9c5d2e8eae84",
                    "label": "Client initiated testing and counseling (CICT)",
                    "conceptMappings": []
                  },
                  {
                    "concept": "164163AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Provider-initiated testing and counseling (PITC)",
                    "conceptMappings": [
                      {
                        "type": "SNOMED-NP",
                        "value": "270430005"
                      }
                    ]
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true"
                },
                {
                  "intent": "HTS_PRETEST",
                  "required": "true"
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true"
                }
              ],
              "id": "htsApproach"
            },
            {
              "label": "Community service delivery point",
              "type": "obs",
              "questionOptions": {
                "rendering": "select",
                "concept": "74a3b695-30f7-403b-8f63-3f766461e104",
                "answers": [
                  {
                    "concept": "b12b2d5e-9e9b-4af8-b326-a9de5ea0acfe",
                    "label": "Drop In Centre",
                    "conceptMappings": []
                  },
                  {
                    "concept": "c15aecde-acac-49b6-bffe-cd1bb291c28b",
                    "label": "Workplace",
                    "conceptMappings": []
                  },
                  {
                    "concept": "7ac53e4f-c5c4-4bd9-a948-1df1fb73740a",
                    "label": "Hotspot",
                    "conceptMappings": []
                  },
                  {
                    "concept": "160545AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Outreach Program",
                    "conceptMappings": []
                  },
                  {
                    "concept": "159938AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Home Based HIV Testing Program",
                    "conceptMappings": [
                      {
                        "type": "AMPATH",
                        "value": "2049"
                      }
                    ]
                  },
                  {
                    "concept": "159939AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Mobile Voluntary Counselling and Testing Program",
                    "conceptMappings": [
                      {
                        "type": "AMPATH",
                        "value": "2048"
                      }
                    ]
                  },
                  {
                    "concept": "159940AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Voluntary Counselling and Testing Center",
                    "conceptMappings": [
                      {
                        "type": "AMPATH",
                        "value": "2047"
                      }
                    ]
                  },
                  {
                    "concept": "1067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Unknown",
                    "conceptMappings": [
                      {
                        "type": "CIEL",
                        "value": "1067"
                      },
                      {
                        "type": "AMPATH",
                        "value": "1067"
                      },
                      {
                        "type": "SNOMED CT",
                        "value": "CT: 261665006"
                      },
                      {
                        "type": "PIH",
                        "value": "1067"
                      }
                    ]
                  },
                  {
                    "concept": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Other",
                    "conceptMappings": [
                      {
                        "type": "PIH-Malawi",
                        "value": "6408"
                      },
                      {
                        "type": "org.openmrs.module.mdrtb",
                        "value": "OTHER"
                      },
                      {
                        "type": "SNOMED-MVP",
                        "value": "56221000105001"
                      },
                      {
                        "type": "PIH",
                        "value": "5622"
                      },
                      {
                        "type": "AMPATH",
                        "value": "5622"
                      },
                      {
                        "type": "SNOMED-CT",
                        "value": "74964007"
                      }
                    ]
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "isEmpty(testingLocation) || testingLocation !== '42dd1e18-00cb-471c-911c-cb254d5b01a5'"
                  }
                },
                {
                  "intent": "HTS_PRETEST",
                  "required": "true"
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "isEmpty(testingLocation) || testingLocation !== '42dd1e18-00cb-471c-911c-cb254d5b01a5'"
                  }
                }
              ],
              "id": "serviceDeliveryPoint"
            },
            {
              "label": "Facility service delivery point",
              "type": "obs",
              "questionOptions": {
                "rendering": "select",
                "concept": "80bcc9c1-e328-47e8-affe-6d1bffe4adf1",
                "answers": [
                  {
                    "concept": "6007b076-9e67-47e5-8e57-ee5d1331fbe0",
                    "label": "Post Natal Program",
                    "conceptMappings": []
                  },
                  {
                    "concept": "261855fb-32d6-43c3-b0bf-e8737db154f7",
                    "label": "Family Planning Clinic",
                    "conceptMappings": []
                  },
                  {
                    "concept": "165475AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Antenatal Program",
                    "conceptMappings": []
                  },
                  {
                    "concept": "162050AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Comprehensive Care Centre",
                    "conceptMappings": []
                  },
                  {
                    "concept": "160546AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Sexually Transmitted Infection Program/Clinic",
                    "conceptMappings": []
                  },
                  {
                    "concept": "160552AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Nutrition Program",
                    "conceptMappings": []
                  },
                  {
                    "concept": "160541AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Tuberculosis Treatment Program",
                    "conceptMappings": [
                      {
                        "type": "SNOMED-CT",
                        "value": "401173007"
                      }
                    ]
                  },
                  {
                    "concept": "164835AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Labour and Delivery Unit",
                    "conceptMappings": []
                  },
                  {
                    "concept": "5485AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Inpatient Care or Hospitalization",
                    "conceptMappings": [
                      {
                        "type": "AMPATH",
                        "value": "5485"
                      },
                      {
                        "type": "PIH",
                        "value": "1429"
                      },
                      {
                        "type": "SNOMED-CT",
                        "value": "394656005"
                      }
                    ]
                  },
                  {
                    "concept": "160542AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Outpatient Department",
                    "conceptMappings": [
                      {
                        "type": "PIH",
                        "value": "1651"
                      },
                      {
                        "type": "AMPATH",
                        "value": "1965"
                      },
                      {
                        "type": "SNOMED-CT",
                        "value": "33022008"
                      }
                    ]
                  },
                  {
                    "concept": "f78c35e6-7cfd-4ce7-8307-86d2fec5b631",
                    "label": "Pediatric <5 Clinic",
                    "conceptMappings": []
                  },
                  {
                    "concept": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Other",
                    "conceptMappings": [
                      {
                        "type": "PIH-Malawi",
                        "value": "6408"
                      },
                      {
                        "type": "org.openmrs.module.mdrtb",
                        "value": "OTHER"
                      },
                      {
                        "type": "SNOMED-MVP",
                        "value": "56221000105001"
                      },
                      {
                        "type": "PIH",
                        "value": "5622"
                      },
                      {
                        "type": "AMPATH",
                        "value": "5622"
                      },
                      {
                        "type": "SNOMED-CT",
                        "value": "74964007"
                      }
                    ]
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "isEmpty(testingLocation) || testingLocation !== '5995ebd5-11ae-47ca-ac12-bcb8c0117aec'"
                  }
                },
                {
                  "intent": "HTS_PRETEST",
                  "required": "true"
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "isEmpty(testingLocation) || testingLocation !== '5995ebd5-11ae-47ca-ac12-bcb8c0117aec'"
                  }
                }
              ],
              "id": "facilityServiceDeliveryPoint"
            }
          ]
        },
        {
          "label": "Risk Assessment & Eligibility",
          "isExpanded": "true",
          "questions": [
            {
              "label": "Reason for this HIV test?",
              "type": "obs",
              "questionOptions": {
                "rendering": "select",
                "concept": "ce3816e7-082d-496b-890b-a2b169922c22",
                "answers": [
                  {
                    "concept": "7398c91a-8db8-480d-8130-1a92cc208ded",
                    "label": "Inconclusive HIV Result",
                    "conceptMappings": []
                  },
                  {
                    "concept": "a6ad599d-2bc4-47b7-81fe-a38e88867c1d",
                    "label": "Self Initiative",
                    "conceptMappings": []
                  },
                  {
                    "concept": "0e65e5fd-a1d8-4730-a991-75a1d703cba6",
                    "label": "HIV Self Test Positive",
                    "conceptMappings": []
                  },
                  {
                    "concept": "6e768c50-a239-45ff-9920-2c6a9352320e",
                    "label": "Index Client Testing",
                    "conceptMappings": []
                  },
                  {
                    "concept": "cb099534-b609-4561-9d4c-dd2fc74cedaf",
                    "label": "Assisted Partner Notification (APN)",
                    "conceptMappings": []
                  },
                  {
                    "concept": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Other",
                    "conceptMappings": [
                      {
                        "type": "PIH-Malawi",
                        "value": "6408"
                      },
                      {
                        "type": "org.openmrs.module.mdrtb",
                        "value": "OTHER"
                      },
                      {
                        "type": "SNOMED-MVP",
                        "value": "56221000105001"
                      },
                      {
                        "type": "PIH",
                        "value": "5622"
                      },
                      {
                        "type": "AMPATH",
                        "value": "5622"
                      },
                      {
                        "type": "SNOMED-CT",
                        "value": "74964007"
                      }
                    ]
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true"
                },
                {
                  "intent": "HTS_PRETEST",
                  "required": "true"
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true"
                }
              ],
              "id": "reasonForTesting"
            },
            {
              "label": "Previously tested for HIV",
              "type": "obs",
              "questionOptions": {
                "rendering": "radio",
                "concept": "1492AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                "answers": [
                  {
                    "label": "Yes",
                    "concept": "cf82933b-3f3f-45e7-a5ab-5d31aaee3da3",
                    "conceptMappings": [
                      {
                        "type": "CIEL",
                        "value": "1065"
                      },
                      {
                        "type": "AMPATH",
                        "value": "1065"
                      },
                      {
                        "type": "PIH",
                        "value": "1065"
                      },
                      {
                        "type": "SNOMED CT",
                        "value": "CT: 373066001"
                      }
                    ]
                  },
                  {
                    "label": "No",
                    "concept": "488b58ff-64f5-4f8a-8979-fa79940b1594"
                  },
                  {
                    "concept": "1067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Unknown",
                    "conceptMappings": [
                      {
                        "type": "CIEL",
                        "value": "1067"
                      },
                      {
                        "type": "AMPATH",
                        "value": "1067"
                      },
                      {
                        "type": "SNOMED CT",
                        "value": "CT: 261665006"
                      },
                      {
                        "type": "PIH",
                        "value": "1067"
                      }
                    ]
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true"
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true"
                }
              ],
              "id": "everTestedForHIV"
            },
            {
              "label": "Duration since last HIV test",
              "type": "obs",
              "questionOptions": {
                "rendering": "select",
                "concept": "e7947a45-acff-49e1-ba1c-33e43a710e0d",
                "answers": [
                  {
                    "concept": "909edba5-c9b1-44e3-92ee-f95269964fe1",
                    "label": "0-3 Months",
                    "conceptMappings": []
                  },
                  {
                    "concept": "8df190d5-7a65-4b53-9b4a-b35b9cf400b1",
                    "label": "3-6 Months",
                    "conceptMappings": []
                  },
                  {
                    "concept": "c85e6df3-7184-400e-a686-f41aaae08113",
                    "label": "6-12 Months",
                    "conceptMappings": []
                  },
                  {
                    "concept": "8de5bf3f-8058-4735-ae50-b5a986b2362b",
                    "label": "More Than 12 Months",
                    "conceptMappings": []
                  },
                  {
                    "concept": "1067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Unknown",
                    "conceptMappings": [
                      {
                        "type": "CIEL",
                        "value": "1067"
                      },
                      {
                        "type": "AMPATH",
                        "value": "1067"
                      },
                      {
                        "type": "SNOMED CT",
                        "value": "CT: 261665006"
                      },
                      {
                        "type": "PIH",
                        "value": "1067"
                      }
                    ]
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "everTestedForHIV !== 'cf82933b-3f3f-45e7-a5ab-5d31aaee3da3'"
                  }
                },
                {
                  "intent": "HTS_PRETEST",
                  "required": "true",
                  "hide": {
                    "hideWhenExpression": "everTestedForHIV !== 'cf82933b-3f3f-45e7-a5ab-5d31aaee3da3'"
                  }
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "everTestedForHIV !== 'cf82933b-3f3f-45e7-a5ab-5d31aaee3da3'"
                  }
                }
              ],
              "id": "durationSinceLastHIVTest"
            },
            {
              "label": "Last HIV test result?",
              "type": "obs",
              "questionOptions": {
                "rendering": "select",
                "concept": "159427AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                "answers": [
                  {
                    "concept": "6378487b-584d-4422-a6a6-56c8830873ff",
                    "label": "Positive",
                    "conceptMappings": []
                  },
                  {
                    "concept": "664AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Negative",
                    "conceptMappings": [
                      {
                        "type": "AMPATH",
                        "value": "664"
                      },
                      {
                        "type": "SNOMED-CT",
                        "value": "260385009"
                      },
                      {
                        "type": "PIH",
                        "value": "664"
                      },
                      {
                        "type": "org.openmrs.module.mdrtb",
                        "value": "NEGATIVE"
                      },
                      {
                        "type": "AMPATH",
                        "value": "665"
                      }
                    ]
                  },
                  {
                    "concept": "7398c91a-8db8-480d-8130-1a92cc208ded",
                    "label": "Inconclusive",
                    "conceptMappings": []
                  },
                  {
                    "concept": "1067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Unknown",
                    "conceptMappings": [
                      {
                        "type": "CIEL",
                        "value": "1067"
                      },
                      {
                        "type": "AMPATH",
                        "value": "1067"
                      },
                      {
                        "type": "SNOMED CT",
                        "value": "CT: 261665006"
                      },
                      {
                        "type": "PIH",
                        "value": "1067"
                      }
                    ]
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "everTestedForHIV !== 'cf82933b-3f3f-45e7-a5ab-5d31aaee3da3'"
                  }
                },
                {
                  "intent": "HTS_PRETEST",
                  "required": "true",
                  "hide": {
                    "hideWhenExpression": "everTestedForHIV !== 'cf82933b-3f3f-45e7-a5ab-5d31aaee3da3'"
                  }
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "everTestedForHIV !== 'cf82933b-3f3f-45e7-a5ab-5d31aaee3da3'"
                  }
                }
              ],
              "id": "lastHIVTestResult"
            },
            {
              "label": "Population type",
              "type": "obs",
              "questionOptions": {
                "rendering": "radio",
                "concept": "166432AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                "answers": [
                  {
                    "concept": "166430AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "General population",
                    "conceptMappings": [
                      {
                        "type": "SNOMED-CT",
                        "value": "385436007"
                      }
                    ]
                  },
                  {
                    "concept": "166431AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Key/Priority Population",
                    "conceptMappings": [
                      {
                        "type": "SNOMED-CT",
                        "value": "385436007"
                      }
                    ]
                  }
                ],
                "conceptMappings": [
                  {
                    "type": "SNOMED-CT",
                    "value": "363787002"
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true"
                },
                {
                  "intent": "HTS_PRETEST",
                  "required": "true"
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true"
                }
              ],
              "id": "populationType"
            },
            {
              "label": "Key populations",
              "type": "obs",
              "questionOptions": {
                "rendering": "checkbox",
                "concept": "d3d4ae96-8c8a-43db-a9dc-dac951f5dcb3",
                "answers": [
                  {
                    "concept": "63ea75cb-205f-4e7b-9ede-5f9b8a4dda9f",
                    "label": "Migrant Workers",
                    "conceptMappings": []
                  },
                  {
                    "concept": "b282bb08-62a7-42c2-9bea-8751c267d13e",
                    "label": "Uniformed Forces",
                    "conceptMappings": []
                  },
                  {
                    "concept": "22b202fc-67de-4af9-8c88-46e22559d4b2",
                    "label": "Transgender Persons",
                    "conceptMappings": []
                  },
                  {
                    "concept": "678f3144-302f-493e-ba22-7ec60a84732a",
                    "label": "Adolescent Girls & Young Women",
                    "conceptMappings": []
                  },
                  {
                    "concept": "def00c73-f6d5-42fb-bcec-0b192b5be22d",
                    "label": "Fisher Folk",
                    "conceptMappings": []
                  },
                  {
                    "concept": "8da9bf92-22f6-40be-b468-1ad08de7d457",
                    "label": "Prisoners",
                    "conceptMappings": []
                  },
                  {
                    "concept": "dc1058ea-4edd-4780-aeaa-a474f7f3a437",
                    "label": "Refugees",
                    "conceptMappings": []
                  },
                  {
                    "concept": "160578AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Male who has sex with men",
                    "conceptMappings": [
                      {
                        "type": "SNOMED-CT",
                        "value": "266974005"
                      }
                    ]
                  },
                  {
                    "concept": "160579AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Sex worker",
                    "conceptMappings": [
                      {
                        "type": "SNOMED-CT",
                        "value": "53713009"
                      }
                    ]
                  },
                  {
                    "concept": "162198AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Long distance truck driver",
                    "conceptMappings": [
                      {
                        "type": "SNOMED-CT",
                        "value": "87447002"
                      }
                    ]
                  },
                  {
                    "concept": "365371fd-0106-4a53-abc4-575e3d65d372",
                    "label": "People With Disability",
                    "conceptMappings": []
                  },
                  {
                    "concept": "c038bff0-8e33-408c-b51f-7fb6448d2f6c",
                    "label": "People Who Inject Drugs",
                    "conceptMappings": []
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "populationType !== '166431AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
                  }
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "populationType !== '166431AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
                  }
                }
              ],
              "id": "patientPopulationType"
            },
            {
              "label": "Sexually active",
              "type": "obs",
              "questionOptions": {
                "rendering": "radio",
                "concept": "160109AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                "conceptMappings": [
                  {
                    "type": "PIH",
                    "value": "2730"
                  }
                ],
                "answers": [
                  {
                    "label": "Yes",
                    "concept": "cf82933b-3f3f-45e7-a5ab-5d31aaee3da3",
                    "conceptMappings": [
                      {
                        "type": "CIEL",
                        "value": "1065"
                      },
                      {
                        "type": "AMPATH",
                        "value": "1065"
                      },
                      {
                        "type": "PIH",
                        "value": "1065"
                      },
                      {
                        "type": "SNOMED CT",
                        "value": "CT: 373066001"
                      }
                    ]
                  },
                  {
                    "label": "No",
                    "concept": "488b58ff-64f5-4f8a-8979-fa79940b1594"
                  },
                  {
                    "concept": "1067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Unknown",
                    "conceptMappings": [
                      {
                        "type": "CIEL",
                        "value": "1067"
                      },
                      {
                        "type": "AMPATH",
                        "value": "1067"
                      },
                      {
                        "type": "SNOMED CT",
                        "value": "CT: 261665006"
                      },
                      {
                        "type": "PIH",
                        "value": "1067"
                      }
                    ]
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true"
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true"
                }
              ],
              "id": "clientSexualActivity"
            },
            {
              "label": "Unprotected sex with a partner of unknown/positive HIV status in the past 12 months",
              "type": "obs",
              "questionOptions": {
                "rendering": "radio",
                "concept": "159218AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                "conceptMappings": [
                  {
                    "type": "IMO-ProblemIT",
                    "value": "816022"
                  },
                  {
                    "type": "ICD-10-WHO",
                    "value": "Z72.5"
                  },
                  {
                    "type": "SNOMED-CT",
                    "value": "2314005"
                  }
                ],
                "answers": [
                  {
                    "label": "Yes",
                    "concept": "cf82933b-3f3f-45e7-a5ab-5d31aaee3da3",
                    "conceptMappings": [
                      {
                        "type": "CIEL",
                        "value": "1065"
                      },
                      {
                        "type": "AMPATH",
                        "value": "1065"
                      },
                      {
                        "type": "PIH",
                        "value": "1065"
                      },
                      {
                        "type": "SNOMED CT",
                        "value": "CT: 373066001"
                      }
                    ]
                  },
                  {
                    "label": "No",
                    "concept": "488b58ff-64f5-4f8a-8979-fa79940b1594"
                  },
                  {
                    "concept": "1067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Unknown",
                    "conceptMappings": [
                      {
                        "type": "CIEL",
                        "value": "1067"
                      },
                      {
                        "type": "AMPATH",
                        "value": "1067"
                      },
                      {
                        "type": "SNOMED CT",
                        "value": "CT: 261665006"
                      },
                      {
                        "type": "PIH",
                        "value": "1067"
                      }
                    ]
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "clientSexualActivity !== 'cf82933b-3f3f-45e7-a5ab-5d31aaee3da3'"
                  }
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "clientSexualActivity !== 'cf82933b-3f3f-45e7-a5ab-5d31aaee3da3'"
                  }
                }
              ],
              "id": "unprotectedSexualIntercourse"
            },
            {
              "label": "STI in the last 6 months",
              "type": "obs",
              "questionOptions": {
                "rendering": "radio",
                "concept": "156660AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                "answers": [
                  {
                    "label": "Yes",
                    "concept": "cf82933b-3f3f-45e7-a5ab-5d31aaee3da3",
                    "conceptMappings": [
                      {
                        "type": "CIEL",
                        "value": "1065"
                      },
                      {
                        "type": "AMPATH",
                        "value": "1065"
                      },
                      {
                        "type": "PIH",
                        "value": "1065"
                      },
                      {
                        "type": "SNOMED CT",
                        "value": "CT: 373066001"
                      }
                    ]
                  },
                  {
                    "label": "No",
                    "concept": "488b58ff-64f5-4f8a-8979-fa79940b1594"
                  },
                  {
                    "concept": "1067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Unknown",
                    "conceptMappings": [
                      {
                        "type": "CIEL",
                        "value": "1067"
                      },
                      {
                        "type": "AMPATH",
                        "value": "1067"
                      },
                      {
                        "type": "SNOMED CT",
                        "value": "CT: 261665006"
                      },
                      {
                        "type": "PIH",
                        "value": "1067"
                      }
                    ]
                  }
                ],
                "conceptMappings": [
                  {
                    "type": "ICD-10-WHO",
                    "value": "Z86.1"
                  },
                  {
                    "type": "IMO-ProblemIT",
                    "value": "824556"
                  },
                  {
                    "type": "SNOMED-CT",
                    "value": "275881005"
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "false"
                  }
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "clientSexualActivity !== 'cf82933b-3f3f-45e7-a5ab-5d31aaee3da3'"
                  }
                }
              ],
              "id": "clientSTIHistory"
            }
          ]
        },
        {
          "label": "Pre-Test Information",
          "isExpanded": "true",
          "questions": [
            {
              "label": "Pretest counselling  done",
              "type": "obs",
              "questionOptions": {
                "rendering": "radio",
                "concept": "de32152d-93b0-412a-908a-20af0c46f215",
                "answers": [
                  {
                    "concept": "cf82933b-3f3f-45e7-a5ab-5d31aaee3da3",
                    "label": "Yes",
                    "conceptMappings": [
                      {
                        "type": "CIEL",
                        "value": "1065"
                      },
                      {
                        "type": "AMPATH",
                        "value": "1065"
                      },
                      {
                        "type": "PIH",
                        "value": "1065"
                      },
                      {
                        "type": "SNOMED CT",
                        "value": "CT: 373066001"
                      }
                    ]
                  },
                  {
                    "concept": "488b58ff-64f5-4f8a-8979-fa79940b1594",
                    "label": "No",
                    "conceptMappings": []
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true"
                },
                {
                  "intent": "HTS_PRETEST",
                  "required": "true"
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true"
                }
              ],
              "id": "preTestCounsellingConducted"
            },
            {
              "label": "Counseled as",
              "type": "obs",
              "questionOptions": {
                "rendering": "radio",
                "concept": "0473ec07-2f34-4447-9c58-e35a1c491b6f",
                "answers": [
                  {
                    "concept": "02586245-99c3-4d47-ac34-7121156afeab",
                    "label": "Group Counselling",
                    "conceptMappings": []
                  },
                  {
                    "concept": "09472f39-6030-4f71-a8f2-30b2fdc734ed",
                    "label": "Couple Counselling",
                    "conceptMappings": []
                  },
                  {
                    "concept": "0c78532a-f2e8-4793-874e-90b0c9485cef",
                    "label": "Individual Counselling",
                    "conceptMappings": []
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "preTestCounsellingConducted !== 'cf82933b-3f3f-45e7-a5ab-5d31aaee3da3'"
                  }
                },
                {
                  "intent": "HTS_PRETEST",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "preTestCounsellingConducted !== 'cf82933b-3f3f-45e7-a5ab-5d31aaee3da3'"
                  }
                },
                {
                  "intent": "*",
                  "required": "false",
                  "hide": {
                    "hideWhenExpression": "preTestCounsellingConducted !== 'cf82933b-3f3f-45e7-a5ab-5d31aaee3da3'"
                  }
                }
              ],
              "id": "counselingSessionType"
            },
            {
              "label": "Consent for testing provided",
              "type": "obs",
              "questionOptions": {
                "rendering": "radio",
                "concept": "1710AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                "answers": [
                  {
                    "label": "Yes",
                    "concept": "cf82933b-3f3f-45e7-a5ab-5d31aaee3da3",
                    "conceptMappings": [
                      {
                        "type": "CIEL",
                        "value": "1065"
                      },
                      {
                        "type": "AMPATH",
                        "value": "1065"
                      },
                      {
                        "type": "PIH",
                        "value": "1065"
                      },
                      {
                        "type": "SNOMED CT",
                        "value": "CT: 373066001"
                      }
                    ]
                  },
                  {
                    "label": "No",
                    "concept": "488b58ff-64f5-4f8a-8979-fa79940b1594"
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true"
                },
                {
                  "intent": "HTS_PRETEST",
                  "required": "true"
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true"
                }
              ],
              "id": "preTestCounselingConsent"
            }
          ]
        }
      ]
    },
    {
      "label": "TB/STI Screening",
      "sections": [
        {
          "label": "Tuberculosis Screening",
          "isExpanded": "true",
          "questions": [
            {
              "label": "TB screening",
              "type": "obs",
              "questionOptions": {
                "rendering": "checkbox",
                "concept": "159800AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                "answers": [
                  {
                    "concept": "1494AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Fever lasting more than 3 weeks",
                    "conceptMappings": [
                      {
                        "type": "AMPATH",
                        "value": "6173"
                      },
                      {
                        "type": "SNOMED-CT",
                        "value": "386661006"
                      },
                      {
                        "type": "ICD-10-WHO",
                        "value": "R50.9"
                      }
                    ]
                  },
                  {
                    "concept": "159799AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Cough lasting more than 2 weeks",
                    "conceptMappings": [
                      {
                        "type": "PIH",
                        "value": "2573"
                      },
                      {
                        "type": "SNOMED-CT",
                        "value": "49727002"
                      },
                      {
                        "type": "SNOMED-MVP",
                        "value": "1597991000105004"
                      },
                      {
                        "type": "AMPATH",
                        "value": "6171"
                      }
                    ]
                  },
                  {
                    "concept": "138905AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Hemoptysis",
                    "conceptMappings": [
                      {
                        "type": "3BT",
                        "value": "10040493"
                      },
                      {
                        "type": "ICD-10-WHO",
                        "value": "R04.2"
                      },
                      {
                        "type": "PIH",
                        "value": "970"
                      },
                      {
                        "type": "ICPC2",
                        "value": "R24"
                      },
                      {
                        "type": "IMO-ProblemIT",
                        "value": "27441"
                      },
                      {
                        "type": "AMPATH",
                        "value": "6172"
                      },
                      {
                        "type": "SNOMED-CT",
                        "value": "66857006"
                      },
                      {
                        "type": "AMPATH",
                        "value": "967"
                      }
                    ]
                  },
                  {
                    "concept": "133027AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Night sweats",
                    "conceptMappings": [
                      {
                        "type": "ICPC2",
                        "value": "A09"
                      },
                      {
                        "type": "ICD-10-WHO",
                        "value": "R61.1"
                      },
                      {
                        "type": "AMPATH",
                        "value": "6029"
                      },
                      {
                        "type": "SNOMED-CT",
                        "value": "42984000"
                      },
                      {
                        "type": "PIH",
                        "value": "6029"
                      },
                      {
                        "type": "IMO-ProblemIT",
                        "value": "50760"
                      },
                      {
                        "type": "3BT",
                        "value": "10063085"
                      }
                    ]
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true"
                },
                {
                  "intent": "HTS_HIVTEST",
                  "required": "true",
                  "unspecified": "true"
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true"
                }
              ],
              "id": "tbSymptoms"
            }
          ]
        },
        {
          "label": "STI Screening",
          "isExpanded": "true",
          "questions": [
            {
              "label": "Any of the following symptoms?",
              "type": "obs",
              "questionOptions": {
                "rendering": "checkbox",
                "concept": "c4f81292-61a3-4561-a4ae-78be7d16d928",
                "answers": [
                  {
                    "concept": "d8e46cc0-4d08-45d9-a46d-bd083db63057",
                    "label": "Scrotal swelling and pain (Male)",
                    "conceptMappings": []
                  },
                  {
                    "concept": "60817acb-90f1-4d46-be87-2c47e150770b",
                    "label": "Urethral discharge/burning when urinating",
                    "conceptMappings": []
                  },
                  {
                    "concept": "06be8996-ef55-438b-bbb9-5bebeb18e779",
                    "label": "Lower abdominal pain +/- vaginal discharge (Female)",
                    "conceptMappings": []
                  },
                  {
                    "concept": "faf06026-fce9-4d2c-9ef2-24fb45343804",
                    "label": "Genital sores/swollen inguinal lymph nodes with or without pain",
                    "conceptMappings": []
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true"
                },
                {
                  "intent": "HTS_HIVTEST",
                  "required": "true",
                  "unspecified": "true"
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true"
                }
              ],
              "id": "stiSymptoms"
            }
          ]
        }
      ]
    },
    {
      "label": "HIV Testing",
      "behaviours": [
        {
          "intent": "HTS_RETROSPECTIVE",
          "hide": {
            "hideWhenExpression": "false"
          }
        },
        {
          "intent": "HTS_PRETEST",
          "hide": {
            "hideWhenExpression": "true"
          }
        },
        {
          "intent": "HTS_POSTTEST",
          "readonly": "true"
        },
        {
          "intent": "*",
          "hide": {
            "hideWhenExpression": "false"
          }
        }
      ],
      "sections": [
        {
          "label": "General Information",
          "isExpanded": "true",
          "questions": [
            {
              "label": "HIV Test conducted",
              "type": "obs",
              "questionOptions": {
                "rendering": "radio",
                "concept": "164401AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                "answers": [
                  {
                    "concept": "cf82933b-3f3f-45e7-a5ab-5d31aaee3da3",
                    "label": "Yes",
                    "conceptMappings": [
                      {
                        "type": "CIEL",
                        "value": "1065"
                      },
                      {
                        "type": "AMPATH",
                        "value": "1065"
                      },
                      {
                        "type": "PIH",
                        "value": "1065"
                      },
                      {
                        "type": "SNOMED CT",
                        "value": "CT: 373066001"
                      }
                    ]
                  },
                  {
                    "concept": "488b58ff-64f5-4f8a-8979-fa79940b1594",
                    "label": "No",
                    "conceptMappings": []
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true"
                },
                {
                  "intent": "HTS_HIVTEST",
                  "required": "true"
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true"
                }
              ],
              "id": "hivTestConducted"
            },
            {
              "label": "Date HIV test done",
              "type": "obs",
              "questionOptions": {
                "rendering": "date",
                "concept": "164400AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                "weeksList": ""
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "hivTestConducted !== 'cf82933b-3f3f-45e7-a5ab-5d31aaee3da3'"
                  },
                  "validators": [
                    {
                      "type": "date",
                      "allowFutureDates": "false"
                    },
                    {
                      "type": "js_expression",
                      "failsWhenExpression": "isDateBefore(myValue, '1980-01-01') || myValue > today()"
                    }
                  ]
                },
                {
                  "intent": "HTS_HIVTEST",
                  "required": "true",
                  "hide": {
                    "hideWhenExpression": "hivTestConducted !== 'cf82933b-3f3f-45e7-a5ab-5d31aaee3da3'"
                  },
                  "validators": [
                    {
                      "type": "date",
                      "allowFutureDates": "false"
                    },
                    {
                      "type": "js_expression",
                      "failsWhenExpression": "isDateBefore(myValue, '1980-01-01') || myValue > today()"
                    }
                  ]
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "hivTestConducted !== 'cf82933b-3f3f-45e7-a5ab-5d31aaee3da3'"
                  },
                  "validators": [
                    {
                      "type": "date",
                      "allowFutureDates": "false"
                    },
                    {
                      "type": "js_expression",
                      "failsWhenExpression": "isDateBefore(myValue, '1980-01-01') || myValue > today()"
                    }
                  ]
                }
              ],
              "id": "dateTestPerformed"
            }
          ]
        },
        {
          "label": "Initial HIV Test",
          "isExpanded": "true",
          "questions": [
            {
              "label": "Initial HIV Test RDT",
              "type": "obs",
              "questionOptions": {
                "rendering": "select",
                "concept": "afa64df8-50af-4bc3-8135-6e6603f62068",
                "answers": [
                  {
                    "concept": "166453AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Abbott SD Bioline HIV/Syphilis Duo test kit",
                    "conceptMappings": []
                  },
                  {
                    "concept": "166451AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Abbott Determine(R) test kit",
                    "conceptMappings": []
                  },
                  {
                    "concept": "166452AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Premier First Response(R) test kit",
                    "conceptMappings": []
                  },
                  {
                    "concept": "166454AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Human immunodeficiency virus testing kit type (text)",
                    "conceptMappings": []
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "hivTestConducted !== 'cf82933b-3f3f-45e7-a5ab-5d31aaee3da3'"
                  }
                },
                {
                  "intent": "HTS_HIVTEST",
                  "required": "true"
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "hivTestConducted !== 'cf82933b-3f3f-45e7-a5ab-5d31aaee3da3'"
                  }
                }
              ],
              "id": "initialTestRdt"
            },
            {
              "label": "Initial (first test) result",
              "type": "obs",
              "questionOptions": {
                "rendering": "radio",
                "concept": "dbc4f8e9-7098-4585-9509-e2f84a4d8c6e",
                "answers": [
                  {
                    "concept": "664AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Negative",
                    "conceptMappings": [
                      {
                        "type": "AMPATH",
                        "value": "665"
                      },
                      {
                        "type": "org.openmrs.module.mdrtb",
                        "value": "NEGATIVE"
                      },
                      {
                        "type": "AMPATH",
                        "value": "664"
                      },
                      {
                        "type": "CIEL",
                        "value": "664"
                      },
                      {
                        "type": "PIH",
                        "value": "664"
                      },
                      {
                        "type": "SNOMED-CT",
                        "value": "260385009"
                      }
                    ]
                  },
                  {
                    "concept": "6378487b-584d-4422-a6a6-56c8830873ff",
                    "label": "Positive",
                    "conceptMappings": []
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "hivTestConducted !== 'cf82933b-3f3f-45e7-a5ab-5d31aaee3da3'"
                  }
                },
                {
                  "intent": "HTS_HIVTEST",
                  "required": "true"
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "hivTestConducted !== 'cf82933b-3f3f-45e7-a5ab-5d31aaee3da3'"
                  }
                }
              ],
              "id": "initialFirstTestResult"
            },
            {
              "label": "RDT syphilis test result",
              "type": "obs",
              "questionOptions": {
                "rendering": "radio",
                "concept": "165303AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                "answers": [
                  {
                    "concept": "1138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Indeterminate",
                    "conceptMappings": [
                      {
                        "type": "AMPATH",
                        "value": "1138"
                      },
                      {
                        "type": "SNOMED-CT",
                        "value": "82334004"
                      },
                      {
                        "type": "CIEL",
                        "value": "1138"
                      }
                    ]
                  },
                  {
                    "concept": "664AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Negative",
                    "conceptMappings": [
                      {
                        "type": "org.openmrs.module.mdrtb",
                        "value": "NEGATIVE"
                      },
                      {
                        "type": "SNOMED-CT",
                        "value": "260385009"
                      },
                      {
                        "type": "AMPATH",
                        "value": "665"
                      },
                      {
                        "type": "CIEL",
                        "value": "664"
                      },
                      {
                        "type": "AMPATH",
                        "value": "664"
                      },
                      {
                        "type": "PIH",
                        "value": "664"
                      }
                    ]
                  },
                  {
                    "concept": "6378487b-584d-4422-a6a6-56c8830873ff",
                    "label": "Positive",
                    "conceptMappings": []
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "initialTestRdt !== '166453AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
                  }
                },
                {
                  "intent": "HTS_PRETEST",
                  "required": "false"
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "initialTestRdt !== '166453AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
                  }
                }
              ],
              "id": "syphilisResult"
            }
          ]
        },
        {
          "label": "Confirmatory (second) Test",
          "isExpanded": "true",
          "questions": [
            {
              "label": "Confirmatory (second HIV test) done",
              "type": "obs",
              "questionOptions": {
                "rendering": "radio",
                "concept": "1201b688-45f8-4e56-b089-0b31138a19dd",
                "answers": [
                  {
                    "concept": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Yes",
                    "conceptMappings": [
                      {
                        "type": "SNOMED CT",
                        "value": "CT: 373066001"
                      },
                      {
                        "type": "PIH",
                        "value": "1065"
                      },
                      {
                        "type": "CIEL",
                        "value": "1065"
                      },
                      {
                        "type": "AMPATH",
                        "value": "1065"
                      }
                    ]
                  },
                  {
                    "concept": "1118AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Not done",
                    "conceptMappings": [
                      {
                        "type": "PIH",
                        "value": "1118"
                      },
                      {
                        "type": "CIEL",
                        "value": "1118"
                      },
                      {
                        "type": "SNOMED-CT",
                        "value": "385660001"
                      },
                      {
                        "type": "AMPATH",
                        "value": "1118"
                      }
                    ]
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "initialFirstTestResult !== '6378487b-584d-4422-a6a6-56c8830873ff'"
                  }
                },
                {
                  "intent": "HTS_PRETEST",
                  "required": "false"
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "initialFirstTestResult !== '6378487b-584d-4422-a6a6-56c8830873ff'"
                  }
                }
              ],
              "id": "confirmatoryTest"
            },
            {
              "label": "Confirmatory (second test) RDT",
              "type": "obs",
              "questionOptions": {
                "rendering": "select",
                "concept": "b78d89e7-08aa-484f-befb-1e3e70cd6985",
                "answers": [
                  {
                    "concept": "166453AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Abbott SD Bioline HIV/Syphilis Duo test kit",
                    "conceptMappings": []
                  },
                  {
                    "concept": "166451AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Abbott Determine(R) test kit",
                    "conceptMappings": []
                  },
                  {
                    "concept": "166452AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Premier First Response(R) test kit",
                    "conceptMappings": []
                  },
                  {
                    "concept": "166454AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Human immunodeficiency virus testing kit type (text)",
                    "conceptMappings": []
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "confirmatoryTest !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
                  }
                },
                {
                  "intent": "HTS_PRETEST",
                  "required": "false"
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "confirmatoryTest !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
                  }
                }
              ],
              "id": "confirmatoryTestRdt"
            },
            {
              "label": "Confirmatory (second test) result",
              "type": "obs",
              "questionOptions": {
                "rendering": "radio",
                "concept": "dbc4f8e9-7098-4585-9509-e2f84a4d8c6e",
                "answers": [
                  {
                    "concept": "664AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Negative",
                    "conceptMappings": [
                      {
                        "type": "AMPATH",
                        "value": "665"
                      },
                      {
                        "type": "org.openmrs.module.mdrtb",
                        "value": "NEGATIVE"
                      },
                      {
                        "type": "AMPATH",
                        "value": "664"
                      },
                      {
                        "type": "CIEL",
                        "value": "664"
                      },
                      {
                        "type": "PIH",
                        "value": "664"
                      },
                      {
                        "type": "SNOMED-CT",
                        "value": "260385009"
                      }
                    ]
                  },
                  {
                    "concept": "6378487b-584d-4422-a6a6-56c8830873ff",
                    "label": "Positive",
                    "conceptMappings": []
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "confirmatoryTest !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
                  }
                },
                {
                  "intent": "HTS_PRETEST",
                  "required": "false"
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "confirmatoryTest !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
                  }
                }
              ],
              "id": "confirmatoryTestResult"
            }
          ]
        },
        {
          "label": "Tie-breaker",
          "isExpanded": "true",
          "questions": [
            {
              "label": "Tie-breaker Done",
              "type": "obs",
              "questionOptions": {
                "rendering": "radio",
                "concept": "b221ce19-9292-4117-bdff-0adcf13f82d6",
                "answers": [
                  {
                    "concept": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Yes",
                    "conceptMappings": [
                      {
                        "type": "SNOMED CT",
                        "value": "CT: 373066001"
                      },
                      {
                        "type": "PIH",
                        "value": "1065"
                      },
                      {
                        "type": "CIEL",
                        "value": "1065"
                      },
                      {
                        "type": "AMPATH",
                        "value": "1065"
                      }
                    ]
                  },
                  {
                    "concept": "1118AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Not done",
                    "conceptMappings": [
                      {
                        "type": "PIH",
                        "value": "1118"
                      },
                      {
                        "type": "CIEL",
                        "value": "1118"
                      },
                      {
                        "type": "SNOMED-CT",
                        "value": "385660001"
                      },
                      {
                        "type": "AMPATH",
                        "value": "1118"
                      }
                    ]
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "isEmpty(confirmatoryTestResult) || initialFirstTestResult !== '6378487b-584d-4422-a6a6-56c8830873ff'"
                  }
                },
                {
                  "intent": "HTS_PRETEST",
                  "required": "false"
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "isEmpty(confirmatoryTestResult) || initialFirstTestResult !== '6378487b-584d-4422-a6a6-56c8830873ff'"
                  }
                }
              ],
              "id": "tiebreakerHIVTestDone"
            },
            {
              "label": "Tie-breaker RDT",
              "type": "obs",
              "questionOptions": {
                "rendering": "select",
                "concept": "73434a78-e4fc-42f7-a812-f30f3b3cabe3",
                "answers": [
                  {
                    "concept": "166453AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Abbott SD Bioline HIV/Syphilis Duo test kit",
                    "conceptMappings": []
                  },
                  {
                    "concept": "166451AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Abbott Determine(R) test kit",
                    "conceptMappings": []
                  },
                  {
                    "concept": "166452AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Premier First Response(R) test kit",
                    "conceptMappings": []
                  },
                  {
                    "concept": "166454AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Human immunodeficiency virus testing kit type (text)",
                    "conceptMappings": []
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "tiebreakerHIVTestDone !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
                  }
                },
                {
                  "intent": "HTS_PRETEST",
                  "required": "false"
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "tiebreakerHIVTestDone !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
                  }
                }
              ],
              "id": "tieBreakerRdt"
            },
            {
              "label": "Tie-breaker Results",
              "type": "obs",
              "questionOptions": {
                "rendering": "radio",
                "concept": "bfc5fbb9-2b23-422e-a741-329bb2597032",
                "answers": [
                  {
                    "concept": "664AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Negative",
                    "conceptMappings": [
                      {
                        "type": "AMPATH",
                        "value": "665"
                      },
                      {
                        "type": "org.openmrs.module.mdrtb",
                        "value": "NEGATIVE"
                      },
                      {
                        "type": "AMPATH",
                        "value": "664"
                      },
                      {
                        "type": "CIEL",
                        "value": "664"
                      },
                      {
                        "type": "PIH",
                        "value": "664"
                      },
                      {
                        "type": "SNOMED-CT",
                        "value": "260385009"
                      }
                    ]
                  },
                  {
                    "concept": "6378487b-584d-4422-a6a6-56c8830873ff",
                    "label": "Positive",
                    "conceptMappings": []
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "initialFirstTestResult !== '6378487b-584d-4422-a6a6-56c8830873ff' || confirmatoryTestResult === '6378487b-584d-4422-a6a6-56c8830873ff' || isEmpty(confirmatoryTestResult)"
                  }
                },
                {
                  "intent": "HTS_HIVTEST",
                  "required": "true",
                  "hide": {
                    "hideWhenExpression": "initialFirstTestResult !== '6378487b-584d-4422-a6a6-56c8830873ff' || confirmatoryTestResult === '6378487b-584d-4422-a6a6-56c8830873ff' || isEmpty(confirmatoryTestResult)"
                  }
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "initialFirstTestResult !== '6378487b-584d-4422-a6a6-56c8830873ff' || confirmatoryTestResult === '6378487b-584d-4422-a6a6-56c8830873ff' || isEmpty(confirmatoryTestResult)"
                  }
                }
              ],
              "id": "tieBreakerTestResult"
            }
          ]
        },
        {
          "label": "HIV Results",
          "isExpanded": "true",
          "questions": [
            {
              "label": "Final HIV Result",
              "type": "obs",
              "questionOptions": {
                "rendering": "radio",
                "concept": "e16b0068-b6a2-46b7-aba9-e3be00a7b4ab",
                "answers": [
                  {
                    "concept": "664AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Negative",
                    "conceptMappings": [
                      {
                        "type": "org.openmrs.module.mdrtb",
                        "value": "NEGATIVE"
                      },
                      {
                        "type": "SNOMED-CT",
                        "value": "260385009"
                      },
                      {
                        "type": "AMPATH",
                        "value": "665"
                      },
                      {
                        "type": "CIEL",
                        "value": "664"
                      },
                      {
                        "type": "AMPATH",
                        "value": "664"
                      },
                      {
                        "type": "PIH",
                        "value": "664"
                      }
                    ]
                  },
                  {
                    "concept": "6378487b-584d-4422-a6a6-56c8830873ff",
                    "label": "Positive",
                    "conceptMappings": []
                  },
                  {
                    "concept": "7398c91a-8db8-480d-8130-1a92cc208ded",
                    "label": "Inconclusive HIV Result",
                    "conceptMappings": []
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "hivTestConducted !== 'cf82933b-3f3f-45e7-a5ab-5d31aaee3da3'"
                  },
                  "validators": [
                    {
                      "type": "js_expression",
                      "failsWhenExpression": "false"
                    }
                  ]
                },
                {
                  "intent": "HTS_HIVTEST",
                  "required": "true"
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "hivTestConducted !== 'cf82933b-3f3f-45e7-a5ab-5d31aaee3da3'"
                  },
                  "validators": [
                    {
                      "type": "js_expression",
                      "failsWhenExpression": "false"
                    }
                  ]
                }
              ],
              "id": "finalHIVTestResult"
            },
            {
              "label": "Received HIV results",
              "type": "obs",
              "questionOptions": {
                "rendering": "radio",
                "concept": "164848AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                "answers": [
                  {
                    "concept": "488b58ff-64f5-4f8a-8979-fa79940b1594",
                    "label": "No",
                    "conceptMappings": []
                  },
                  {
                    "concept": "1067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Unknown",
                    "conceptMappings": [
                      {
                        "type": "SNOMED CT",
                        "value": "CT: 261665006"
                      },
                      {
                        "type": "PIH",
                        "value": "1067"
                      },
                      {
                        "type": "AMPATH",
                        "value": "1067"
                      },
                      {
                        "type": "CIEL",
                        "value": "1067"
                      }
                    ]
                  },
                  {
                    "concept": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Yes",
                    "conceptMappings": [
                      {
                        "type": "SNOMED CT",
                        "value": "CT: 373066001"
                      },
                      {
                        "type": "PIH",
                        "value": "1065"
                      },
                      {
                        "type": "CIEL",
                        "value": "1065"
                      },
                      {
                        "type": "AMPATH",
                        "value": "1065"
                      }
                    ]
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true"
                },
                {
                  "intent": "HTS_HIVTEST",
                  "required": "true"
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true"
                }
              ],
              "id": "receivedHIVTestResult"
            },
            {
              "label": "Date client received final result",
              "type": "obs",
              "questionOptions": {
                "rendering": "date",
                "concept": "160082AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                "weeksList": "",
                "conceptMappings": [
                  {
                    "type": "SNOMED-CT",
                    "value": "439771001"
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "receivedHIVTestResult !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
                  },
                  "validators": [
                    {
                      "type": "date",
                      "allowFutureDates": "false"
                    },
                    {
                      "type": "js_expression",
                      "failsWhenExpression": "isDateBefore(myValue, '1980-01-01') || myValue >= today()"
                    }
                  ]
                },
                {
                  "intent": "HTS_HIVTEST",
                  "required": "true",
                  "hide": {
                    "hideWhenExpression": "receivedHIVTestResult !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
                  },
                  "validators": [
                    {
                      "type": "date",
                      "allowFutureDates": "false"
                    },
                    {
                      "type": "js_expression",
                      "failsWhenExpression": "isDateBefore(myValue, '1980-01-01') || myValue >= today()"
                    }
                  ]
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "receivedHIVTestResult !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
                  },
                  "validators": [
                    {
                      "type": "date",
                      "allowFutureDates": "false"
                    },
                    {
                      "type": "js_expression",
                      "failsWhenExpression": "isDateBefore(myValue, '1980-01-01') || myValue >= today()"
                    }
                  ]
                }
              ],
              "id": "hIVTestResultsReceivedDate"
            }
          ]
        },
        {
          "label": "Couple Testing",
          "isExpanded": "true",
          "questions": [
            {
              "label": "Results received as a couple",
              "type": "obs",
              "questionOptions": {
                "rendering": "radio",
                "concept": "445846e9-b929-4519-bc83-d51c051918f5",
                "answers": [
                  {
                    "concept": "488b58ff-64f5-4f8a-8979-fa79940b1594",
                    "label": "No",
                    "conceptMappings": []
                  },
                  {
                    "concept": "1067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Unknown",
                    "conceptMappings": [
                      {
                        "type": "SNOMED CT",
                        "value": "CT: 261665006"
                      },
                      {
                        "type": "PIH",
                        "value": "1067"
                      },
                      {
                        "type": "AMPATH",
                        "value": "1067"
                      },
                      {
                        "type": "CIEL",
                        "value": "1067"
                      }
                    ]
                  },
                  {
                    "concept": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Yes",
                    "conceptMappings": [
                      {
                        "type": "SNOMED CT",
                        "value": "CT: 373066001"
                      },
                      {
                        "type": "PIH",
                        "value": "1065"
                      },
                      {
                        "type": "CIEL",
                        "value": "1065"
                      },
                      {
                        "type": "AMPATH",
                        "value": "1065"
                      }
                    ]
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "receivedHIVTestResult !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' || counselingSessionType !== '09472f39-6030-4f71-a8f2-30b2fdc734ed'"
                  }
                },
                {
                  "intent": "HTS_HIVTEST",
                  "required": "true",
                  "hide": {
                    "hideWhenExpression": "receivedHIVTestResult !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' || counselingSessionType !== '09472f39-6030-4f71-a8f2-30b2fdc734ed'"
                  }
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "receivedHIVTestResult !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' || counselingSessionType !== '09472f39-6030-4f71-a8f2-30b2fdc734ed'"
                  }
                }
              ],
              "id": "resultReceivedCouple"
            },
            {
              "label": "Couple Testing Outcome",
              "type": "obs",
              "questionOptions": {
                "rendering": "radio",
                "concept": "5f38bc97-d6ca-43f8-a019-b9a9647d0c6a",
                "answers": [
                  {
                    "concept": "c1504c2b-a8bf-44bf-ab1e-1d342ba051ae",
                    "label": "Concordant Negative",
                    "conceptMappings": []
                  },
                  {
                    "concept": "c2d2bea8-2db5-4730-86b1-592c9408f567",
                    "label": "Discordant",
                    "conceptMappings": []
                  },
                  {
                    "concept": "3a27187f-da7a-4f6b-986d-6521f343326d",
                    "label": "Concordant Positive",
                    "conceptMappings": []
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "resultReceivedCouple !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
                  }
                },
                {
                  "intent": "HTS_HIVTEST",
                  "required": "true",
                  "hide": {
                    "hideWhenExpression": "resultReceivedCouple !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
                  }
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "resultReceivedCouple !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
                  }
                }
              ],
              "id": "coupleResults"
            }
          ]
        }
      ]
    },
    {
      "label": "Recency Testing",
      "sections": [
        {
          "label": "Recency Details",
          "isExpanded": "true",
          "questions": [
            {
              "label": "Consent for recency provided",
              "type": "obs",
              "questionOptions": {
                "rendering": "radio",
                "concept": "976ca997-fb2b-4bef-a299-f7c9e16b50a8",
                "answers": [
                  {
                    "label": "Yes",
                    "concept": "cf82933b-3f3f-45e7-a5ab-5d31aaee3da3"
                  },
                  {
                    "label": "No",
                    "concept": "488b58ff-64f5-4f8a-8979-fa79940b1594"
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true"
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true"
                }
              ],
              "id": "recencyTestingConsent"
            },
            {
              "label": "Recency conducted",
              "type": "obs",
              "questionOptions": {
                "rendering": "radio",
                "concept": "4fe5857e-c804-41cf-b3c9-0acc1f516ab7",
                "answers": [
                  {
                    "concept": "cf82933b-3f3f-45e7-a5ab-5d31aaee3da3",
                    "label": "Yes",
                    "conceptMappings": [
                      {
                        "type": "CIEL",
                        "value": "1065"
                      },
                      {
                        "type": "AMPATH",
                        "value": "1065"
                      },
                      {
                        "type": "PIH",
                        "value": "1065"
                      },
                      {
                        "type": "SNOMED CT",
                        "value": "CT: 373066001"
                      }
                    ]
                  },
                  {
                    "concept": "488b58ff-64f5-4f8a-8979-fa79940b1594",
                    "label": "No",
                    "conceptMappings": []
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "recencyTestingConsent !== 'cf82933b-3f3f-45e7-a5ab-5d31aaee3da3'"
                  }
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "recencyTestingConsent !== 'cf82933b-3f3f-45e7-a5ab-5d31aaee3da3'"
                  }
                }
              ],
              "id": "recencyTestConducted"
            },
            {
              "label": "Recency results",
              "type": "obs",
              "questionOptions": {
                "rendering": "radio",
                "concept": "165092AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                "conceptMappings": [
                  {
                    "type": "SNOMED-CT",
                    "value": "271918004"
                  }
                ],
                "answers": [
                  {
                    "concept": "165090AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Recent",
                    "conceptMappings": [
                      {
                        "type": "SNOMED-CT",
                        "value": "6493001"
                      }
                    ]
                  },
                  {
                    "concept": "165091AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Long duration",
                    "conceptMappings": [
                      {
                        "type": "SNOMED-CT",
                        "value": "260384008"
                      }
                    ]
                  },
                  {
                    "concept": "664AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Negative",
                    "conceptMappings": [
                      {
                        "type": "AMPATH",
                        "value": "664"
                      },
                      {
                        "type": "SNOMED-CT",
                        "value": "260385009"
                      },
                      {
                        "type": "PIH",
                        "value": "664"
                      },
                      {
                        "type": "org.openmrs.module.mdrtb",
                        "value": "NEGATIVE"
                      },
                      {
                        "type": "AMPATH",
                        "value": "665"
                      }
                    ]
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "recencyTestConducted !== 'cf82933b-3f3f-45e7-a5ab-5d31aaee3da3'"
                  }
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "recencyTestConducted !== 'cf82933b-3f3f-45e7-a5ab-5d31aaee3da3'"
                  }
                }
              ],
              "id": "recencyTestResult"
            },
            {
              "label": "Viral Load for RTRI recent done",
              "type": "obs",
              "questionOptions": {
                "rendering": "radio",
                "concept": "163310AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                "conceptMappings": [
                  {
                    "type": "SNOMED-CT",
                    "value": "364712009"
                  },
                  {
                    "type": "CIEL",
                    "value": "163310"
                  }
                ],
                "answers": [
                  {
                    "concept": "1267AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Completed",
                    "conceptMappings": [
                      {
                        "type": "CIEL",
                        "value": "1267"
                      },
                      {
                        "type": "AMPATH",
                        "value": "1267"
                      },
                      {
                        "type": "SNOMED-CT",
                        "value": "255594003"
                      }
                    ]
                  },
                  {
                    "concept": "1118AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Not done",
                    "conceptMappings": [
                      {
                        "type": "PIH",
                        "value": "1118"
                      },
                      {
                        "type": "CIEL",
                        "value": "1118"
                      },
                      {
                        "type": "PIH",
                        "value": "2475"
                      },
                      {
                        "type": "AMPATH",
                        "value": "1118"
                      },
                      {
                        "type": "SNOMED-CT",
                        "value": "385660001"
                      },
                      {
                        "type": "SNOMED-CT",
                        "value": "385660001"
                      },
                      {
                        "type": "AMPATH",
                        "value": "1118"
                      }
                    ]
                  },
                  {
                    "concept": "1067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Unknown",
                    "conceptMappings": [
                      {
                        "type": "AMPATH",
                        "value": "1067"
                      },
                      {
                        "type": "CIEL",
                        "value": "1067"
                      },
                      {
                        "type": "SNOMED CT",
                        "value": "CT: 261665006"
                      },
                      {
                        "type": "SNOMED-CT",
                        "value": "261665006"
                      },
                      {
                        "type": "PIH",
                        "value": "1067"
                      },
                      {
                        "type": "org.openmrs.module.mdrtb",
                        "value": "UNKNOWN"
                      },
                      {
                        "type": "AMPATH",
                        "value": "1067"
                      },
                      {
                        "type": "PIH",
                        "value": "1067"
                      }
                    ]
                  }
                ]
              },
              "id": "viralLoadForRtri"
            },
            {
              "label": "VL recency test result",
              "type": "obs",
              "questionOptions": {
                "rendering": "radio",
                "concept": "04c32f8c-7070-4cad-976b-1a6bb45fa85b",
                "answers": [
                  {
                    "concept": "076f6417-7e18-44ea-a1aa-382a792fabd1",
                    "label": "VL <1000 copies/ml (RITA longterm)",
                    "conceptMappings": []
                  },
                  {
                    "concept": "a0d39eef-490f-47c0-8921-97fc810d9929",
                    "label": "VL >=1000 copies/ml (RITA Recent)",
                    "conceptMappings": []
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "false",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "false"
                  }
                },
                {
                  "intent": "HTS_POSTTEST",
                  "required": "false"
                },
                {
                  "intent": "*",
                  "required": "false",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "false"
                  }
                }
              ],
              "id": "vlRecencyTestResult"
            }
          ]
        }
      ]
    },
    {
      "label": "Post-Test Counselling",
      "sections": [
        {
          "label": "Post-Test Information",
          "isExpanded": "true",
          "questions": [
            {
              "label": "Post test counselling done",
              "type": "obs",
              "questionOptions": {
                "rendering": "radio",
                "concept": "159382AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                "conceptMappings": [
                  {
                    "type": "PIH",
                    "value": "969"
                  },
                  {
                    "type": "SNOMED-CT",
                    "value": "313077009"
                  }
                ],
                "answers": [
                  {
                    "concept": "cf82933b-3f3f-45e7-a5ab-5d31aaee3da3",
                    "label": "Yes",
                    "conceptMappings": [
                      {
                        "type": "CIEL",
                        "value": "1065"
                      },
                      {
                        "type": "AMPATH",
                        "value": "1065"
                      },
                      {
                        "type": "PIH",
                        "value": "1065"
                      },
                      {
                        "type": "SNOMED CT",
                        "value": "CT: 373066001"
                      }
                    ]
                  },
                  {
                    "concept": "488b58ff-64f5-4f8a-8979-fa79940b1594",
                    "label": "No",
                    "conceptMappings": []
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true"
                },
                {
                  "intent": "HTS_POSTTEST",
                  "required": "true"
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true"
                }
              ],
              "id": "postTestCounsellingDone"
            }
          ]
        },
        {
          "label": "Referrals",
          "isExpanded": "true",
          "questions": [
            {
              "label": "Services referred to",
              "type": "obs",
              "questionOptions": {
                "rendering": "checkbox",
                "concept": "5f394708-ca7d-4558-8d23-a73de181b02d",
                "answers": [
                  {
                    "concept": "88cdde2b-753b-48ac-a51a-ae5e1ab24846",
                    "label": "Pre Exposure Prophylaxis (PEP)",
                    "conceptMappings": []
                  },
                  {
                    "concept": "46da10c7-49e3-45e5-8e82-7c529d52a1a8",
                    "label": "STI Testing and Treatment",
                    "conceptMappings": []
                  },
                  {
                    "concept": "1691AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Post-exposure prophylaxis",
                    "conceptMappings": []
                  },
                  {
                    "concept": "162223AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Voluntary male circumcision clinic",
                    "conceptMappings": []
                  },
                  {
                    "concept": "da0238c1-0ddd-49cc-b10d-c552391b6332",
                    "label": "Harm Reduction for People Who Inject Drugs",
                    "conceptMappings": []
                  },
                  {
                    "concept": "ac2e75dc-fceb-4591-9ffb-3f852c0750d9",
                    "label": "Behavioural Interventions to Support Risk Reduction - for KP",
                    "conceptMappings": []
                  },
                  {
                    "concept": "0be6a668-b4ff-4fc5-bbae-0e2a86af1bd1",
                    "label": "Post-GBV Care",
                    "conceptMappings": []
                  },
                  {
                    "concept": "e7ee9ec2-3cc7-4e59-8172-9fd08911e8c5",
                    "label": "Prevention Information",
                    "conceptMappings": []
                  },
                  {
                    "concept": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Other",
                    "conceptMappings": [
                      {
                        "type": "PIH-Malawi",
                        "value": "6408"
                      },
                      {
                        "type": "org.openmrs.module.mdrtb",
                        "value": "OTHER"
                      },
                      {
                        "type": "SNOMED-MVP",
                        "value": "56221000105001"
                      },
                      {
                        "type": "PIH",
                        "value": "5622"
                      },
                      {
                        "type": "AMPATH",
                        "value": "5622"
                      },
                      {
                        "type": "SNOMED-CT",
                        "value": "74964007"
                      }
                    ]
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true"
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true"
                }
              ],
              "id": "referredToPreventionServices"
            },
            {
              "label": "Sexual and Reproductive Health services",
              "type": "obs",
              "questionOptions": {
                "rendering": "checkbox",
                "concept": "bf634be9-197a-433b-8e4e-7a04242a4e1d",
                "answers": [
                  {
                    "concept": "a56cdd43-f2eb-49d6-88fd-113aaea2e85f",
                    "label": "HIV Testing for Partners and Social Contacts of People from KP",
                    "conceptMappings": []
                  },
                  {
                    "concept": "f0589be1-d457-4138-b244-bfb115cdea21",
                    "label": "HIV Testing for Partners and Biological Children",
                    "conceptMappings": []
                  },
                  {
                    "concept": "46da10c7-49e3-45e5-8e82-7c529d52a1a8",
                    "label": "STI Testing and Treatment",
                    "conceptMappings": []
                  },
                  {
                    "concept": "9d4c029a-2ac3-44c3-9a20-fb32c81a9ba2",
                    "label": "Anal Cancer Screening",
                    "conceptMappings": []
                  },
                  {
                    "concept": "060dd5b2-2d65-4db5-85f0-cd1ba809350f",
                    "label": "Cervical Cancer Screening and Treatment",
                    "conceptMappings": []
                  },
                  {
                    "concept": "0097d9b1-6758-4754-8713-91638efe12ea",
                    "label": "Check Pregnancy Status",
                    "conceptMappings": []
                  },
                  {
                    "concept": "6488e62a-314b-49da-b8d4-ca9c7a6941fc",
                    "label": "Contraception and FP",
                    "conceptMappings": []
                  },
                  {
                    "concept": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Other",
                    "conceptMappings": [
                      {
                        "type": "PIH-Malawi",
                        "value": "6408"
                      },
                      {
                        "type": "org.openmrs.module.mdrtb",
                        "value": "OTHER"
                      },
                      {
                        "type": "SNOMED-MVP",
                        "value": "56221000105001"
                      },
                      {
                        "type": "PIH",
                        "value": "5622"
                      },
                      {
                        "type": "AMPATH",
                        "value": "5622"
                      },
                      {
                        "type": "SNOMED-CT",
                        "value": "74964007"
                      }
                    ]
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true"
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true"
                }
              ],
              "id": "referredToSRHServices"
            },
            {
              "label": "Clinical Services",
              "type": "obs",
              "questionOptions": {
                "rendering": "checkbox",
                "concept": "960f2980-35e2-4677-88ed-79424fe0fc91",
                "answers": [
                  {
                    "concept": "160541AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Tuberculosis treatment program",
                    "conceptMappings": [
                      {
                        "type": "SNOMED-CT",
                        "value": "401173007"
                      }
                    ]
                  },
                  {
                    "concept": "164128AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Isoniazid Preventive Treatment Program",
                    "conceptMappings": []
                  },
                  {
                    "concept": "858f0f06-bc62-4b04-b864-cef98a2f3845",
                    "label": "Cotrimoxazole Chemoprophylaxis to Prevent Pneumocystis Carinii Pneumonia",
                    "conceptMappings": []
                  },
                  {
                    "concept": "0cf2ce2c-cd3f-478b-89b7-542018674dba",
                    "label": "Assessment and Provision of Vaccinations",
                    "conceptMappings": []
                  },
                  {
                    "concept": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Other",
                    "conceptMappings": [
                      {
                        "type": "PIH-Malawi",
                        "value": "6408"
                      },
                      {
                        "type": "org.openmrs.module.mdrtb",
                        "value": "OTHER"
                      },
                      {
                        "type": "SNOMED-MVP",
                        "value": "56221000105001"
                      },
                      {
                        "type": "PIH",
                        "value": "5622"
                      },
                      {
                        "type": "AMPATH",
                        "value": "5622"
                      },
                      {
                        "type": "SNOMED-CT",
                        "value": "74964007"
                      }
                    ]
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true"
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true"
                }
              ],
              "id": "referredToClinicalServices"
            },
            {
              "label": "Other services",
              "type": "obs",
              "questionOptions": {
                "rendering": "checkbox",
                "concept": "b5afd495-00fc-4d94-9e26-8f6c8cc8caa0",
                "answers": [
                  {
                    "concept": "5490AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Psychosocial counseling",
                    "conceptMappings": []
                  },
                  {
                    "concept": "5489AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Mental health services",
                    "conceptMappings": [
                      {
                        "type": "SNOMED-CT",
                        "value": "390808007"
                      },
                      {
                        "type": "AMPATH",
                        "value": "5489"
                      }
                    ]
                  },
                  {
                    "concept": "ea08440d-41d4-4795-bb4d-4639cf32645c",
                    "label": "Services for Responding to Violence Against Women",
                    "conceptMappings": []
                  },
                  {
                    "concept": "a046ce31-e0d9-4044-a384-ecc429dc4035",
                    "label": "Legal and Social Services",
                    "conceptMappings": []
                  },
                  {
                    "concept": "846a63c0-4530-4008-b6a1-12201b9e0b88",
                    "label": "Support for Disclosure and Partner Services",
                    "conceptMappings": []
                  },
                  {
                    "concept": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                    "label": "Other",
                    "conceptMappings": [
                      {
                        "type": "PIH-Malawi",
                        "value": "6408"
                      },
                      {
                        "type": "org.openmrs.module.mdrtb",
                        "value": "OTHER"
                      },
                      {
                        "type": "SNOMED-MVP",
                        "value": "56221000105001"
                      },
                      {
                        "type": "PIH",
                        "value": "5622"
                      },
                      {
                        "type": "AMPATH",
                        "value": "5622"
                      },
                      {
                        "type": "SNOMED-CT",
                        "value": "74964007"
                      }
                    ]
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true"
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true"
                }
              ],
              "id": "referredToOtherServices"
            }
          ]
        },
        {
          "label": "Linkage to Care",
          "isExpanded": "true",
          "questions": [
            {
              "label": "Linked to care and treatment in this facility",
              "type": "obs",
              "questionOptions": {
                "rendering": "radio",
                "concept": "e8e8fe71-adbb-48e7-b531-589985094d30",
                "answers": [
                  {
                    "concept": "cf82933b-3f3f-45e7-a5ab-5d31aaee3da3",
                    "label": "Yes",
                    "conceptMappings": [
                      {
                        "type": "CIEL",
                        "value": "1065"
                      },
                      {
                        "type": "AMPATH",
                        "value": "1065"
                      },
                      {
                        "type": "PIH",
                        "value": "1065"
                      },
                      {
                        "type": "SNOMED CT",
                        "value": "CT: 373066001"
                      }
                    ]
                  },
                  {
                    "concept": "488b58ff-64f5-4f8a-8979-fa79940b1594",
                    "label": "No",
                    "conceptMappings": []
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true"
                },
                {
                  "intent": "HTS_POSTTEST",
                  "required": "true"
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true"
                }
              ],
              "id": "linkedToCare"
            },
            {
              "label": "Facility where the client was referred for care and treatment",
              "type": "obs",
              "questionOptions": {
                "rendering": "text",
                "concept": "161562AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                "conceptMappings": [
                  {
                    "type": "CIEL",
                    "value": "161562"
                  },
                  {
                    "type": "CIEL",
                    "value": "161562"
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "linkedToCare !== '488b58ff-64f5-4f8a-8979-fa79940b1594'"
                  }
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "linkedToCare !== '488b58ff-64f5-4f8a-8979-fa79940b1594'"
                  }
                }
              ],
              "id": "facilityClientReferredTo"
            },
            {
              "label": "Service Identification Number",
              "type": "obs",
              "questionOptions": {
                "rendering": "text",
                "concept": "162576AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "false"
                  }
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "false"
                  }
                }
              ],
              "id": "patientIdentificationNumber"
            },
            {
              "label": "HTS provider’s name",
              "type": "obs",
              "questionOptions": {
                "rendering": "text",
                "concept": "1473AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                "conceptMappings": [
                  {
                    "type": "PIH",
                    "value": "1392"
                  }
                ]
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true",
                  "hide": {
                    "hideWhenExpression": "false"
                  }
                },
                {
                  "intent": "HTS_POSTTEST",
                  "required": "true"
                },
                {
                  "intent": "*",
                  "required": "false",
                  "hide": {
                    "hideWhenExpression": "finalHIVTestResult !== '6378487b-584d-4422-a6a6-56c8830873ff'"
                  }
                }
              ],
              "id": "htsProviderName"
            }
          ]
        }
      ]
    },
    {
      "label": "Notes",
      "sections": [
        {
          "label": "Comments",
          "isExpanded": "true",
          "questions": [
            {
              "label": "HTS provider comments",
              "type": "obs",
              "questionOptions": {
                "rendering": "textarea",
                "concept": "437d1e25-e7ab-481c-aabc-01f21c6cdef1",
                "rows": "5"
              },
              "behaviours": [
                {
                  "intent": "HTS_RETROSPECTIVE",
                  "required": "true",
                  "unspecified": "true"
                },
                {
                  "intent": "*",
                  "required": "true",
                  "unspecified": "true"
                }
              ],
              "id": "htsProviderRemarks"
            }
          ]
        }
      ]
    }
  ],
  "availableIntents": [
    {
      "intent": "*",
      "display": "HTS Classic"
    },
    {
      "intent": "HTS_RETROSPECTIVE",
      "display": "HTS Restrospective"
    },
    {
      "intent": "HTS_PRETEST",
      "display": "HTS Pretest"
    },
    {
      "intent": "HTS_HIVTEST",
      "display": "HIV Test",
      "defaultPage": "HIV Testing"
    },
    {
      "intent": "HTS_POSTTEST",
      "display": "HTS Post Test",
      "defaultPage": "Referrals"
    }
  ],
  "processor": "EncounterFormProcessor",
  "uuid": "xxxx",
  "referencedForms": [],
  "encounterType": "79c1f50f-f77d-42e2-ad2a-d29304dde2fe",
  "allowUnspecifiedAll": true
}
