{
	"name": "Positive Tracking",
	"version": "1.0",
	"published": true,
	"retired": false,
	"encounter": "Positive Tracking",
	"pages": [
		{
			"label": "POSITIVE TRACKING",
			"sections": [
				{
					"label": "REGISTRATION INFORMATION",
					"isExpanded": "true",
					"questions": [
						{
							"label": "Registraton date",
							"type": "obs",
							"required": true,
							"questionOptions": {
								"rendering": "date",
								"concept": "1ebc345c-6f09-43e1-a616-d7e52fff4c7d"
							},
							"validators": [
								{
                                    "type": "date",
                                    "allowFutureDates": "false"
                                }
							],
							"id": "registrationDate"
						},
						{
							"label": "HIV positive date",
							"type": "obs",
							"required": true,
							"questionOptions": {
								"rendering": "date",
								"concept": "160554AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
								"weeksList": "",
								"conceptMappings": [
									{
										"type": "SNOMED-CT",
										"value": "432213005"
									},
									{
										"type": "SNOMED-CT",
										"value": "86406008"
									},
									{
										"type": "CIEL",
										"value": "160554"
									},
									{
										"type": "PIH",
										"value": "2515"
									},
									{
										"type": "CIEL",
										"value": "160554"
									},
									{
										"type": "PIH",
										"value": "2515"
									}
								]
							},
							"validators": [
								{
                                    "type": "date",
                                    "allowFutureDates": "false"
                                }
							],
							"id": "hivPostiveDate"
						}
					]
				},
				{
					"label": "ENTRY POINT",
					"isExpanded": "true",
					"questions": [
						{
							"label": "Entry point",
							"type": "obs",
							"questionOptions": {
								"rendering": "radio",
								"concept": "dd282c99-ea69-44e7-9252-aff0198cc1e8",
								"conceptMappings": [
									{
										"type": "ETHIOHRI",
										"value": "entryPoint"
									}
								],
								"answers": [
									{
										"concept": "163266AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
										"label": "From within the facility",
										"conceptMappings": [
											{
												"type": "CIEL",
												"value": "163266"
											},
											{
												"type": "SNOMED-CT",
												"value": "257622000"
											}
										]
									},
									{
										"concept": "164407AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
										"label": "Other health facility",
										"conceptMappings": [
											{
												"type": "SNOMED-CT",
												"value": "4563007"
											},
											{
												"type": "CIEL",
												"value": "164407"
											}
										]
									}
								]
							},
							"id": "entryPoint"
						},
						{
							"label": "Entry point within the facility",
							"type": "obs",
							"required": false,
							"id": "entryPointWithinTheFacility",
							"hide": {
								"hideWhenExpression": "entryPoint !== '163266AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
							},
							"questionOptions": {
							  "rendering": "select",
							  "concept": "d2b461e5-dd7f-4d16-968e-354ac68cbd38",
							  "conceptMappings": [],
							  "answers": [
								{
									"concept": "af37cab4-73ad-49ff-b9d7-2a89d54d7118",
									"label": "TB Clinic"
								},
								{
									"concept": "8c4138ca-84e0-48bf-aff6-6287f62bb208",
									"label": "OPD1"
								},
								{
									"concept": "f2d606b8-6f46-4d84-aacd-f7deae4e65a3",
									"label": "OPD2"
								},
								{
									"concept": "e832eb29-4dbc-443e-b385-f8a1ec69143b",
									"label": "OPD3"
								},
								{
									"concept": "5f00bbb4-80ba-4201-a4f5-93d2e0a021ce",
									"label": "OPD4"
								},
								{
									"concept": "160546AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
									"label": "STI"
								},
								{
									"concept": "160460AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
									"label": "Dermatology"
								},
								{
									"concept": "2309a42c-1e6c-489e-927e-ba6738ce5683",
									"label": "Pedi OPD 1"
								},
								{
									"concept": "3b221bcb-77d6-4868-bad5-fda94b37ab4b",
									"label": "Pedi OPD 2"
								},
								{
									"concept": "115122AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
									"label": "Malnutrition"
								},
								{
									"concept": "e7e85a1a-1e45-4043-99d7-216034965bc5",
									"label": "Other OPD"
								},
								{
									"concept": "159940AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
									"label": "VCT"
								},
								{
								  "concept": "2959b6f7-1f9b-49cd-9f3a-1e42e87b4ae5",
								  "label": "ANC Client"
								},
								{
								  "concept": "7f56577d-b09b-43b9-be0c-78ef81470c83",
								  "label": "ANC partner"
								},
								{
									"concept": "d1e97037-c599-47c3-93cb-c256b9c27fbc",
									"label": "L&D Client"
								},
								{
									"concept": "b939ea35-5e85-4d5b-9443-a823645b7446",
									"label": "L&D Partner"
								},
								{
									"concept": "14497d04-ec43-4ac4-9cab-02007a0ff273",
									"label": "PNC Client"
								},
								{
									"concept": "661a2141-4476-4ec9-b35b-3bceec16f044",
									"label": "PNC Partner"
								},
								{
									"concept": "166563AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
									"label": "HEI"
								},
								{
									"concept": "9d6e28e2-dd0a-4b53-b45d-278ebc219d79",
									"label": "Medical Ward"
								},
								{
									"concept": "838445f2-713d-49dc-b584-917457336218",
									"label": "Pedi Ward"
								},
								{
									"concept": "46c6d199-e290-4dc8-bc48-e050392ebd18",
									"label": "Gyn Ward"
								},
								{
									"concept": "f0152d8f-5dae-4598-ba92-000952a3f436",
									"label": "Index case testing children"
								},
								{
									"concept": "974ef745-16f5-439f-a4e5-e78135eca5ed",
									"label": "Index case testing partners"
								},
								{
									"concept": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
									"label": "Other"
								}
							  ]
							},
							"validators": []
						  },
						{
							"label": "Other entry point within the facility",
							"type": "obs",
							"questionOptions": {
								"rendering": "text",
								"concept": "a0368d36-686d-4b98-b60e-e62cb3d46c9b",
								"conceptMappings": [
									{
										"type": "ETHIOHRI",
										"value": "outsideTheFacility"
									}
								]
							},
							"hide": {
								"hideWhenExpression": "entryPointWithinTheFacility !== '5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
							},
							"validators": [
								{
								  "type": "js_expression",
								  "failsWhenExpression": "myValue.length > 50",
								  "message": "Please use a maximum of 50 characters"
								}
							  ],
							"id": "otherEntryPointWithinTheFacility"
						},
						{
							"label": "Entry point outside the facility",
							"type": "obs",
							"required": false,
							"id": "entryPointOutsideTheFacility",
							"hide": {
								"hideWhenExpression": "entryPoint !== '164407AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
							},
							"questionOptions": {
							  "rendering": "select",
							  "concept": "73d76014-365e-484c-bf5b-0959add4e3f3",
							  "conceptMappings": [],
							  "answers": [

								{
									"concept": "1275AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
									"label": "HF Outreach testing"
								  },
								{
								  "concept": "163488AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
								  "label": "Referred from Community testing outlets"
								},
								{
								  "concept": "160480AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
								  "label": "Public HF"
								},
								{
									"concept": "160479AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
									"label": "Private HF"
								},
								{
									"concept": "163014AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
									"label": "NGO HF"
								},
								{
									"concept": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
									"label": "Other"
								}
							  ]
							},
							"validators": []
						  },
						{
							"label": "Other entry point outside the facility",
							"type": "obs",
							"questionOptions": {
								"rendering": "text",
								"concept": "2c30c599-1e4f-46f9-8488-5ab57cdc8ac3",
								"conceptMappings": [
									{
										"type": "ETHIOHRI",
										"value": "outsideTheFacility"
									}
								]
							},
							"hide": {
								"hideWhenExpression": "entryPointOutsideTheFacility !== '5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
							},
							"validators": [
								{
								  "type": "js_expression",
								  "failsWhenExpression": "myValue.length > 50",
								  "message": "Please use a maximum of 50 characters"
								}
							  ],
							"id": "otherEntryPointOutsideTheFacility"
						}
					]
				},
				{
					"label": "LINKED TO CARE AND TREATMENT",
					"isExpanded": "true",
					"questions": [
						{
							"label": "Linked to care and treatment",
							"type": "obs",
							"questionOptions": {
								"rendering": "radio",
								"concept": "c1bb9738-10aa-4905-bb5d-af4e55b4bb69",
								"answers": [
									{
										"concept": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
										"label": "Yes",
										"conceptMappings": [
											{
												"type": "SNOMED-CT",
												"value": "373066001"
											},
											{
												"type": "PIH",
												"value": "1065"
											},
											{
												"type": "PIH",
												"value": "1065"
											},
											{
												"type": "AMPATH",
												"value": "1065"
											},
											{
												"type": "CIEL",
												"value": "1065"
											},
											{
												"type": "CIEL",
												"value": "1065"
											},
											{
												"type": "PIH-Malawi",
												"value": "1065"
											},
											{
												"type": "CIEL",
												"value": "1065"
											},
											{
												"type": "SNOMED-CT",
												"value": "373066001"
											},
											{
												"type": "SNOMED CT",
												"value": "CT: 373066001"
											},
											{
												"type": "PIH-Malawi",
												"value": "1065"
											},
											{
												"type": "AMPATH",
												"value": "1065"
											}
										]
									},
									{
										"concept": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
										"label": "No",
										"conceptMappings": [
											{
												"type": "PIH",
												"value": "1066"
											},
											{
												"type": "SNOMED-CT",
												"value": "373067005"
											},
											{
												"type": "PIH",
												"value": "1066"
											},
											{
												"type": "PIH-Malawi",
												"value": "1066"
											},
											{
												"type": "CIEL",
												"value": "1066"
											},
											{
												"type": "AMPATH",
												"value": "1066"
											},
											{
												"type": "SNOMED-CT",
												"value": "373067005"
											},
											{
												"type": "PIH-Malawi",
												"value": "1066"
											},
											{
												"type": "AMPATH",
												"value": "1066"
											}
										]
									}
								]
							},
							"id": "linkedToCareAndTreatment"
						},
						{
							"label": "Date linked to care and treatment ",
							"type": "obs",
							"questionOptions": {
								"rendering": "date",
								"concept": "902faabc-57bd-4fdf-bcaa-e3f8866ebbaf",
								"weeksList": ""
							},
							"hide": {
								"hideWhenExpression": "linkedToCareAndTreatment !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
							},
							"validators": [
								{
                                    "type": "date",
                                    "allowFutureDates": "false"
                                },
								{
									"type": "js_expression",
									"failsWhenExpression": "myValue < new Date(hivPostiveDate)",
									"message": "Date Linked should not be earlier than HIV Positive date"
								}
							],
							"id": "dateLinkedToCareAndTreatment"
						}
					]
				},
				{
					"label": "STARTED ART",
					"isExpanded": "true",
					"questions": [
						{
							"label": "Started ART",
							"type": "obs",
							"questionOptions": {
								"rendering": "radio",
								"concept": "1149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
								"conceptMappings": [
									{
										"type": "PIH-Malawi",
										"value": "7010"
									},
									{
										"type": "CIEL",
										"value": "1149"
									},
									{
										"type": "PIH",
										"value": "1432"
									},
									{
										"type": "AMPATH",
										"value": "1149"
									},
									{
										"type": "PIH",
										"value": "1622"
									},
									{
										"type": "PIH",
										"value": "2589"
									},
									{
										"type": "PIH",
										"value": "1577"
									}
								],
								"answers": [
									{
										"concept": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
										"label": "Yes",
										"conceptMappings": [
											{
												"type": "SNOMED-CT",
												"value": "373066001"
											},
											{
												"type": "PIH",
												"value": "1065"
											},
											{
												"type": "PIH",
												"value": "1065"
											},
											{
												"type": "AMPATH",
												"value": "1065"
											},
											{
												"type": "CIEL",
												"value": "1065"
											},
											{
												"type": "CIEL",
												"value": "1065"
											},
											{
												"type": "PIH-Malawi",
												"value": "1065"
											},
											{
												"type": "CIEL",
												"value": "1065"
											},
											{
												"type": "SNOMED-CT",
												"value": "373066001"
											},
											{
												"type": "SNOMED CT",
												"value": "CT: 373066001"
											},
											{
												"type": "PIH-Malawi",
												"value": "1065"
											},
											{
												"type": "AMPATH",
												"value": "1065"
											}
										]
									},
									{
										"concept": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
										"label": "No",
										"conceptMappings": [
											{
												"type": "PIH",
												"value": "1066"
											},
											{
												"type": "SNOMED-CT",
												"value": "373067005"
											},
											{
												"type": "PIH",
												"value": "1066"
											},
											{
												"type": "PIH-Malawi",
												"value": "1066"
											},
											{
												"type": "CIEL",
												"value": "1066"
											},
											{
												"type": "AMPATH",
												"value": "1066"
											},
											{
												"type": "SNOMED-CT",
												"value": "373067005"
											},
											{
												"type": "PIH-Malawi",
												"value": "1066"
											},
											{
												"type": "AMPATH",
												"value": "1066"
											}
										]
									}
								]
							},
							"hide": {
								"hideWhenExpression": "linkedToCareAndTreatment !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
							},
							"id": "startedArt"
						},
						{
							"label": "Reason for not starting ART the same day",
							"type": "obs",
							"required": false,
							"id": "reasonForNotStartingArtTheSameDay",
							"hide": {
								"hideWhenExpression": "startedArt !== '1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
							},
							"questionOptions": {
							  "rendering": "select",
							  "concept": "d8ffb301-9a47-45ee-a465-f053cc060aab",
							  "conceptMappings": [],
							  "answers": [
								{
								  "concept": "97c667c6-567b-4b7b-adc1-12f06c584cd4",
								  "label": "Referred TX not initiated"
								},
								{
								  "concept": "160034AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
								  "label": "Died"
								},
								{
								  "concept": "127750AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
								  "label": "Declined"
								},
								{
								  "concept": "95daa4f8-b45d-4dee-b5d0-5f9446d22c19",
								  "label": "Known positive(+) on ART"
								},
								{
								  "concept": "d0409cbe-1932-446a-a2d6-149922204080",
								  "label": "On adherence preparation"
								},
								{
								  "concept": "f6ce58c8-1346-48ab-8f62-74edd9b8a7b7",
								  "label": "On OI management"
								},
								{
								  "concept": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
								  "label": "Other"
								}
							  ]
							},
							"validators": []
						  },
						{
							"label": "Other reason for not starting ART the same day",
							"type": "obs",
							"questionOptions": {
								"rendering": "text",
								"concept": "0e10d5b1-ff3f-4c87-a6bb-0b5bbc8ebec2"
							},
							"hide": {
								"hideWhenExpression": "reasonForNotStartingArtTheSameDay !== '5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
							},
							"validators": [
								{
								  "type": "js_expression",
								  "failsWhenExpression": "myValue.length > 50",
								  "message": "Please use a maximum of 50 characters"
								}
							  ],
							"id": "otherReasonForNotStartingArtTheSameDay"
						},
						{
							"label": "Plan for next step",
							"type": "obs",
							"questionOptions": {
								"rendering": "select",
								"concept": "e96ea7a2-5285-41d3-bb0d-4f199cf5b8ee",
								"answers": [
									{
										"concept": "5a99502c-4545-456f-8c40-dc4a7f18e275",
										"label": "Linked to ACMs for counseling and tracking",
										"conceptMappings": []
									},
									{
										"concept": "0691212c-094e-4c3c-aa21-ab5e7433f4f8",
										"label": "Address adherance barriers",
										"conceptMappings": []
									},
									{
										"concept": "b690f83a-0382-4fcc-acc8-30b459e0910f",
										"label": "Initiate ART when the patient is ready after OI management",
										"conceptMappings": []
									},
									{
										"concept": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
										"label": "Other non-coded",
										"conceptMappings": [
											{
												"type": "AMPATH",
												"value": "5622"
											},
											{
												"type": "org.openmrs.module.mdrtb",
												"value": "OTHER"
											},
											{
												"type": "CIEL",
												"value": "5622"
											},
											{
												"type": "CIEL",
												"value": "5622"
											},
											{
												"type": "org.openmrs.module.mdrtb",
												"value": "OTHER"
											},
											{
												"type": "SNOMED-MVP",
												"value": "56221000105001"
											},
											{
												"type": "PIH",
												"value": "5622"
											},
											{
												"type": "SNOMED-MVP",
												"value": "56221000105001"
											},
											{
												"type": "PIH-Malawi",
												"value": "6408"
											},
											{
												"type": "AMPATH",
												"value": "5622"
											},
											{
												"type": "PIH",
												"value": "5622"
											},
											{
												"type": "SNOMED-CT",
												"value": "74964007"
											}
										]
									}
								]
							},
							"id": "planForNextStep",
							"hide": {
								"hideWhenExpression": "startedArt !== '1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
							}
						},
						{
							"label": "Other plan for next step",
							"type": "obs",
							"questionOptions": {
								"rendering": "text",
								"concept": "88db7cd8-3425-4189-9d7c-dd14d00308af"
							},
							"hide": {
								"hideWhenExpression": "planForNextStep !== '5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
							},
							"validators": [
								{
								  "type": "js_expression",
								  "failsWhenExpression": "myValue.length > 50",
								  "message": "Please use a maximum of 50 characters"
								}
							  ],
							"id": "otherPlanForNextStep"
						}
					]
				},
				{
					"label": "FINAL OUTCOME",
					"isExpanded": "true",
					"questions": [
						{
							"label": "Final outcome known",
							"type": "obs",
							"questionOptions": {
								"rendering": "radio",
								"concept": "4599ebf7-6120-4593-80f0-72458b9fadad",
								"answers": [
									{
										"concept": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
										"label": "Yes",
										"conceptMappings": [
											{
												"type": "SNOMED-CT",
												"value": "373066001"
											},
											{
												"type": "PIH",
												"value": "1065"
											},
											{
												"type": "PIH",
												"value": "1065"
											},
											{
												"type": "AMPATH",
												"value": "1065"
											},
											{
												"type": "CIEL",
												"value": "1065"
											},
											{
												"type": "CIEL",
												"value": "1065"
											},
											{
												"type": "PIH-Malawi",
												"value": "1065"
											},
											{
												"type": "CIEL",
												"value": "1065"
											},
											{
												"type": "SNOMED-CT",
												"value": "373066001"
											},
											{
												"type": "SNOMED CT",
												"value": "CT: 373066001"
											},
											{
												"type": "PIH-Malawi",
												"value": "1065"
											},
											{
												"type": "AMPATH",
												"value": "1065"
											}
										]
									},
									{
										"concept": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
										"label": "No",
										"conceptMappings": [
											{
												"type": "PIH",
												"value": "1066"
											},
											{
												"type": "SNOMED-CT",
												"value": "373067005"
											},
											{
												"type": "PIH",
												"value": "1066"
											},
											{
												"type": "PIH-Malawi",
												"value": "1066"
											},
											{
												"type": "CIEL",
												"value": "1066"
											},
											{
												"type": "AMPATH",
												"value": "1066"
											},
											{
												"type": "SNOMED-CT",
												"value": "373067005"
											},
											{
												"type": "PIH-Malawi",
												"value": "1066"
											},
											{
												"type": "AMPATH",
												"value": "1066"
											}
										]
									}
								]
							},
							"id": "finalOutcomeKnown"
						},
						{
							"label": "Final outcome known date",
							"type": "obs",
							"questionOptions": {
								"rendering": "date",
								"concept": "e83fbaa5-073b-4a6d-b8ba-23f41d0c7302",
								"weeksList": ""
							},
							"validators": [
								{
                                    "type": "date",
                                    "allowFutureDates": "false"
                                },
								{
									"type": "js_expression",
									"failsWhenExpression": "myValue < new Date(dateLinkedToCareAndTreatment)",
									"message": "Final outcome known date should not be earlier than Date Linked to Care and Treatment"
								},
								{
									"type": "js_expression",
									"failsWhenExpression": "myValue < new Date(hivPostiveDate)",
									"message": "Final outcome known date should not be earlier than HIV Positive Confirmation date"
								}
							],
							"hide": {
								"hideWhenExpression": "finalOutcomeKnown !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
							},
							"id": "finalOutcomeKnownDate"
						},
						{
							"label": "Final outcome",
							"type": "obs",
							"questionOptions": {
								"rendering": "select",
								"concept": "413b265c-87ef-4988-a7bc-1bfc6b5e5528",
								"answers": [
									{
										"concept": "1149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
										"label": "Started ART",
										"conceptMappings": [
											{
												"type": "PIH-Malawi",
												"value": "7010"
											},
											{
												"type": "CIEL",
												"value": "1149"
											},
											{
												"type": "PIH",
												"value": "1432"
											},
											{
												"type": "AMPATH",
												"value": "1149"
											},
											{
												"type": "PIH",
												"value": "1622"
											},
											{
												"type": "PIH",
												"value": "2589"
											},
											{
												"type": "PIH",
												"value": "1577"
											}
										]
									},
									{
										"concept": "127750AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
										"label": "Declined",
										"conceptMappings": [
											{
												"type": "IMO-ProblemIT",
												"value": "332345"
											},
											{
												"type": "SNOMED-CT",
												"value": "105480006"
											},
											{
												"type": "PIH",
												"value": "1483"
											},
											{
												"type": "IMO-ProblemIT",
												"value": "332345"
											},
											{
												"type": "SNOMED-CT",
												"value": "105480006"
											},
											{
												"type": "CIEL",
												"value": "127750"
											},
											{
												"type": "PIH",
												"value": "1483"
											},
											{
												"type": "ICD-10-WHO",
												"value": "Z53.2"
											},
											{
												"type": "CIEL",
												"value": "127750"
											}
										]
									},
									{
										"concept": "160034AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
										"label": "Died",
										"conceptMappings": [
											{
												"type": "CIEL",
												"value": "160034"
											},
											{
												"type": "SNOMED-CT",
												"value": "397709008"
											},
											{
												"type": "org.openmrs.module.mdrtb",
												"value": "DIED"
											}
										]
									},
									{
										"concept": "4680464a-47ba-4b9c-bd62-ec228c2c1822",
										"label": "Confirmed referral",
										"conceptMappings": []
									},
									{
										"concept": "4de0ba18-205b-4df9-be26-bdd08d964e6a",
										"label": "Started ART in other health facility",
										"conceptMappings": []
									},
									{
										"concept": "27e28afa-b4a6-44e0-b331-ea7250121a0e",
										"label": "Lost to followup",
										"conceptMappings": []
									},
									{
										"concept": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
										"label": "Other",
										"conceptMappings": [
											{
												"type": "AMPATH",
												"value": "5622"
											},
											{
												"type": "org.openmrs.module.mdrtb",
												"value": "OTHER"
											},
											{
												"type": "CIEL",
												"value": "5622"
											},
											{
												"type": "CIEL",
												"value": "5622"
											},
											{
												"type": "org.openmrs.module.mdrtb",
												"value": "OTHER"
											},
											{
												"type": "SNOMED-MVP",
												"value": "56221000105001"
											},
											{
												"type": "PIH",
												"value": "5622"
											},
											{
												"type": "SNOMED-MVP",
												"value": "56221000105001"
											},
											{
												"type": "PIH-Malawi",
												"value": "6408"
											},
											{
												"type": "AMPATH",
												"value": "5622"
											},
											{
												"type": "PIH",
												"value": "5622"
											},
											{
												"type": "SNOMED-CT",
												"value": "74964007"
											}
										]
									}
								]
							},
							"hide": {
								"hideWhenExpression": "finalOutcomeKnown !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
							},
							"id": "finalOutcome"
						},
						{
							"label": "Name of facility referred to",
							"type": "obs",
							"questionOptions": {
								"rendering": "text",
								"concept": "161562AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
								"conceptMappings": [
									{
										"type": "CIEL",
										"value": "161562"
									},
									{
										"type": "CIEL",
										"value": "161562"
									}
								]
							},
							"hide": {
								"hideWhenExpression": "finalOutcome !== '4de0ba18-205b-4df9-be26-bdd08d964e6a'"
							},
							"validators": [
								{
								  "type": "js_expression",
								  "failsWhenExpression": "myValue.length > 20",
								  "message": "Please use a maximum of 20 characters"
								}
							  ],
							"id": "nameOfFacilityReferredTo"
						},
						{
							"label": "Other final outcome",
							"type": "obs",
							"questionOptions": {
								"rendering": "text",
								"concept": "bd4d94eb-e120-488b-bb5d-8551719646d5"
							},
							"hide": {
								"hideWhenExpression": "finalOutcome !== '5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
							},
							"validators": [
								{
								  "type": "js_expression",
								  "failsWhenExpression": "myValue.length > 50",
								  "message": "Please use a maximum of 50 characters"
								}
							  ],
							"id": "otherFinalOutcome"
						},
						{
							"label": "Remark",
							"type": "obs",
							"questionOptions": {
								"rendering": "textarea",
								"concept": "165095AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
								"rows": "",
								"conceptMappings": [
									{
										"type": "LOINC",
										"value": "34109-9"
									},
									{
										"type": "CIEL",
										"value": "165095"
									},
									{
										"type": "CIEL",
										"value": "165095"
									}
								]
							},
							"validators": [
								{
								  "type": "js_expression",
								  "failsWhenExpression": "myValue.length > 250",
								  "message": "Please use a maximum of 250 characters"
								}
							  ],
							"id": "remark "
						}
					]
				}
			]
		}
	],
	"availableIntents": [
		{
			"intent": "*",
			"display": "default_intent"
		}
	],
	"processor": "EncounterFormProcessor",
	"uuid": "4d8b5416-29d7-4c8f-997a-c91a17378f18",
	"referencedForms": [],
	"encounterType": "f28bb488-0f83-417c-98ba-06ea5f1765e3",
	"allowUnspecifiedAll": true
}