From 18efb6ecca909ee7629d867383a5b4fbe8ffda16 Mon Sep 17 00:00:00 2001 From: Bodhish Thomas Date: Tue, 14 Jan 2025 22:44:22 +0530 Subject: [PATCH] add medication request questionnaire to structured form data --- .../Questionnaire/data/StructuredFormData.tsx | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/components/Questionnaire/data/StructuredFormData.tsx b/src/components/Questionnaire/data/StructuredFormData.tsx index 757b4a688f1..7a5aca3c248 100644 --- a/src/components/Questionnaire/data/StructuredFormData.tsx +++ b/src/components/Questionnaire/data/StructuredFormData.tsx @@ -20,6 +20,27 @@ const encounterQuestionnaire: QuestionnaireDetail = { tags: [], }; +const medication_request_questionnaire: QuestionnaireDetail = { + id: "medication_request", + slug: "medication_request", + version: "0.0.1", + title: "Medication Request", + status: "active", + subject_type: "patient", + questions: [ + { + id: "medication_request", + text: "Medication Request", + type: "structured", + structured_type: "medication_request", + link_id: "1.1", + required: true, + }, + ], + tags: [], +}; + export const FIXED_QUESTIONNAIRES: Record = { encounter: encounterQuestionnaire, + medication_request: medication_request_questionnaire, };