From: Agnibho Mondal Date: Thu, 20 May 2021 16:53:16 +0000 (+0530) Subject: new access group tech X-Git-Url: https://code.agnibho.com/repo?a=commitdiff_plain;h=413c7b65eca881f851cd952c8e89e60ad86142ea;p=simpleipd.git new access group tech --- diff --git a/access.json b/access.json index 569c3a5..f4b2374 100644 --- a/access.json +++ b/access.json @@ -5,6 +5,7 @@ "resident": "all", "nursing": "all", "lab": "all", + "tech": "all", "clerk": "view" }, "diagnosis": { @@ -13,6 +14,7 @@ "resident": "all", "nursing": "view", "lab": "view", + "tech": "view", "clerk": "view" }, "summary": { @@ -21,6 +23,7 @@ "resident": "all", "nursing": "view", "lab": "view", + "tech": "view", "clerk": "view" }, "admission": { @@ -29,6 +32,7 @@ "resident": "all", "nursing": "all", "lab": "view", + "tech": "view", "clerk": "all" }, "attachments": { @@ -37,6 +41,7 @@ "resident": "all", "nursing": "all", "lab": "all", + "tech": "all", "clerk": "view" }, "death": { @@ -45,6 +50,7 @@ "resident": "all", "nursing": "view", "lab": "view", + "tech": "view", "clerk": "view" }, "discharge": { @@ -53,6 +59,7 @@ "resident": "all", "nursing": "view", "lab": "view", + "tech": "view", "clerk": "view" }, "history": { @@ -61,6 +68,7 @@ "resident": "all", "nursing": "view", "lab": "view", + "tech": "view", "clerk": "view" }, "laboratory": { @@ -69,6 +77,7 @@ "resident": "all", "nursing": "all", "lab": "all", + "tech": "all", "clerk": "view" }, "nursing": { @@ -77,6 +86,7 @@ "resident": "view", "nursing": "all", "lab": "view", + "tech": "view", "clerk": "view" }, "physician": { @@ -85,6 +95,7 @@ "resident": "all", "nursing": "view", "lab": "view", + "tech": "view", "clerk": "view" }, "print-discharge": { @@ -93,6 +104,7 @@ "resident": "all", "nursing": "view", "lab": "view", + "tech": "view", "clerk": "view" }, "report": { @@ -101,6 +113,7 @@ "resident": "all", "nursing": "view", "lab": "all", + "tech": "all", "clerk": "view" }, "requisition": { @@ -109,6 +122,7 @@ "resident": "all", "nursing": "all", "lab": "all", + "tech": "all", "clerk": "view" }, "treatment": { @@ -117,6 +131,7 @@ "resident": "all", "nursing": "view", "lab": "view", + "tech": "view", "clerk": "view" }, "view": { @@ -125,6 +140,7 @@ "resident": "all", "nursing": "all", "lab": "all", + "tech": "all", "clerk": "view" }, "vitek": { @@ -133,6 +149,7 @@ "resident": "all", "nursing": "all", "lab": "all", + "tech": "view", "clerk": "view" }, @@ -142,6 +159,7 @@ "resident": "all", "nursing": "view", "lab": "all", + "tech": "view", "clerk": "view" } } diff --git a/www/treatment.php b/www/treatment.php index 39da3fa..72b6ad0 100644 --- a/www/treatment.php +++ b/www/treatment.php @@ -6,7 +6,7 @@ if(!empty($_GET["pid"])){ $db->omitDrug($_POST["omit"]); } elseif(!empty($_POST["drug"])){ - $db->addDrug($pid, $_POST["drug"], $_POST["dose"], $_POST["route"], $_POST["frequency"], $_POST["date"], $_POST["time"], $_POST["duration"], $_POST["extra-note"]); + $db->addDrug($pid, $_POST["drug"], $_POST["dose"], $_POST["route"], $_POST["frequency"], $_POST["date"], $_POST["time"], $_POST["duration"], $_POST["extra_note"]); } $list=$db->getDrugs($pid); $view="";