diff --git a/src/features/review/execution-extraction/components/forms/ExtractionForm/index.tsx b/src/features/review/execution-extraction/components/forms/ExtractionForm/index.tsx
index be26a151..61ce5d11 100644
--- a/src/features/review/execution-extraction/components/forms/ExtractionForm/index.tsx
+++ b/src/features/review/execution-extraction/components/forms/ExtractionForm/index.tsx
@@ -1,6 +1,5 @@
-// External library
-//import React from "react";
-import { Box } from "@chakra-ui/react";
+import { Box, Flex, Text, Icon, VStack } from "@chakra-ui/react";
+import { LockIcon } from "@chakra-ui/icons";
// Components
import HeaderForm from "../DataExtraction/subcomponents/Header";
@@ -27,21 +26,61 @@ export default function ExtractionForm({ studyData }: ArticlePreviewProps) {
if (isLoading) return ;
- if (!question || !currentArticleId || !question[currentArticleId])
- return null;
+ const isAvailableForExtraction = studyData.extractionStatus === "INCLUDED";
+ const hasQuestions = !!(
+ question &&
+ currentArticleId &&
+ question[currentArticleId]
+ );
return (
-
+
-
-
+
+
+ {isAvailableForExtraction ? (
+ hasQuestions ? (
+
+ ) : (
+
+ Loading questions...
+
+ )
+ ) : (
+
+
+
+
+
+ Extraction Disabled
+
+
+ This study is currently marked as{" "}
+ {studyData.extractionStatus}. Extraction is
+ only allowed for included studies.
+
+
+
+
+ )}
);
-}
\ No newline at end of file
+}