From: Agnibho Mondal Date: Mon, 24 May 2021 08:01:15 +0000 (+0530) Subject: Added disk-diffusion report X-Git-Url: https://code.agnibho.com/repo?a=commitdiff_plain;h=0c73f28666da9e25c319e3f8490ac03fae1854f8;p=simpleipd.git Added disk-diffusion report --- diff --git a/www/forms/reportx-dd.schema.json b/www/forms/reportx-dd.schema.json new file mode 100644 index 0000000..cbeee8e --- /dev/null +++ b/www/forms/reportx-dd.schema.json @@ -0,0 +1,132 @@ +{ + "$schema": "http://json-schema.org/draft/2020-12/schema", + "title": "disk_diffusion", + "description": "Culture Sensitivity by Disk Diffusion", + "type": "object", + + "properties": { + "date": { + "description": "Date", + "type": "string", + "format": "date" + }, + "time": { + "description": "Time", + "type": "string", + "format": "time" + }, + "sample": { + "description": "Sample", + "type": "string" + }, + "organism": { + "description": "Organism", + "type": "string" + }, + "amoxyclav": { + "description": "Amoxyclav", + "type": "string" + }, + "piperacillintazobactum": { + "description": "Piperacillin/Tazobactum", + "type": "string" + }, + "ticarcillinclavulinic": { + "description": "Ticarcillin/Clavulinic Acid", + "type": "string" + }, + "oxacillin": { + "description": "Oxacillin", + "type": "string" + }, + "azithromycin": { + "description": "Azithromycin", + "type": "string" + }, + "cotrimoxazole": { + "description": "Cotrimoxazole", + "type": "string" + }, + "doxycycline": { + "description": "Doxycycline", + "type": "string" + }, + "chloramphenicol": { + "description": "Chloramphenicol", + "type": "string" + }, + "nitrofurantoin": { + "description": "Nitrofurantoin", + "type": "string" + }, + "norfloxacin": { + "description": "Norfloxacin", + "type": "string" + }, + "ciprofloxacin": { + "description": "Ciprofloxacin", + "type": "string" + }, + "ofloxacin": { + "description": "Ofloxacin", + "type": "string" + }, + "sparfloxacin": { + "description": "Sparfloxacin", + "type": "string" + }, + "levofloxacin": { + "description": "Levofloxacin", + "type": "string" + }, + "gatifloxacin": { + "description": "Gatifloxacin", + "type": "string" + }, + "cefadroxyl": { + "description": "Cefadroxyl", + "type": "string" + }, + "cefixime": { + "description": "Cefixime", + "type": "string" + }, + "ceftriaxone": { + "description": "Ceftriaxone", + "type": "string" + }, + "ceftazidime": { + "description": "Ceftazidime", + "type": "string" + }, + "cefepime": { + "description": "Cefepime", + "type": "string" + }, + "cefoperazonesulbactam": { + "description": "Cefoperazone/Sulbactum", + "type": "string" + }, + "gentamicin": { + "description": "Gentamicin", + "type": "string" + }, + "amikacin": { + "description": "Amikacin", + "type": "string" + }, + "vancomycin": { + "description": "Vancomycin", + "type": "string" + }, + "meropenem": { + "description": "Meropenem", + "type": "string" + }, + "linezolid": { + "description": "Linezolid", + "type": "string" + } + }, + "required": ["date"] +} diff --git a/www/laboratory.php b/www/laboratory.php index 75e27d6..9d9f287 100644 --- a/www/laboratory.php +++ b/www/laboratory.php @@ -2,7 +2,7 @@ require(dirname(__DIR__)."/require.php"); $list=""; if(isSet($_GET["pid"])){ - foreach(glob("forms/report*.json") as $file){ + foreach(glob("forms/report-*.json") as $file){ $pid=$_GET["pid"]; $form=json_decode(file_get_contents($file)); if($form->title=="culture_sensitivity"){ diff --git a/www/requisition.php b/www/requisition.php index f45faa2..dd56343 100644 --- a/www/requisition.php +++ b/www/requisition.php @@ -18,7 +18,7 @@ if(isSet($_GET["pid"])){ } $inv=json_decode(file_get_contents("autocomplete/investigation.json")); $testList=""; - foreach(glob("forms/report*.json") as $file){ + foreach(glob("forms/report-*.json") as $file){ $form=json_decode(file_get_contents($file)); $testList=$testList.""; } diff --git a/www/vitek.php b/www/vitek.php index a72ee20..8dbf6ce 100644 --- a/www/vitek.php +++ b/www/vitek.php @@ -43,6 +43,7 @@ else{
  • Vitek Report (Gram Positive)
  • Vitek Report (Gram Negative)
  • Vitek Report (Fungal)
  • +
  • Disk Diffusion