]> Softwares of Agnibho - simpleipd.git/commitdiff
New forms
authorAgnibho Mondal <mondal@agnibho.com>
Wed, 9 Jun 2021 18:47:45 +0000 (00:17 +0530)
committerAgnibho Mondal <mondal@agnibho.com>
Wed, 9 Jun 2021 18:47:45 +0000 (00:17 +0530)
www/forms/report-cd4.schema.json [new file with mode: 0644]
www/forms/report-crag.schema.json [new file with mode: 0644]
www/forms/report-pvl.schema.json [new file with mode: 0644]

diff --git a/www/forms/report-cd4.schema.json b/www/forms/report-cd4.schema.json
new file mode 100644 (file)
index 0000000..bf7e314
--- /dev/null
@@ -0,0 +1,28 @@
+{
+    "$schema": "http://json-schema.org/draft/2020-12/schema",
+    "title": "cd4",
+    "description": "CD4",
+    "type": "object",
+
+    "properties": {
+        "date": {
+            "description": "Date",
+            "type": "string",
+            "format": "date"
+        },
+        "time": {
+            "description": "Time",
+            "type": "string",
+            "format": "time"
+        },
+        "sample": {
+            "description": "Sample",
+            "type": "string"
+        },
+        "cd4": {
+            "description": "Absolute CD4 count",
+            "type": "number"
+        }
+    },
+    "required": ["date"]
+}
diff --git a/www/forms/report-crag.schema.json b/www/forms/report-crag.schema.json
new file mode 100644 (file)
index 0000000..de68169
--- /dev/null
@@ -0,0 +1,32 @@
+{
+    "$schema": "http://json-schema.org/draft/2020-12/schema",
+    "title": "crag",
+    "description": "CRAG",
+    "type": "object",
+
+    "properties": {
+        "date": {
+            "description": "Date",
+            "type": "string",
+            "format": "date"
+        },
+        "time": {
+            "description": "Time",
+            "type": "string",
+            "format": "time"
+        },
+        "sample": {
+            "description": "Sample",
+            "type": "string"
+        },
+        "crag": {
+            "description": "Result",
+            "type": "string"
+        },
+        "titer": {
+            "description": "Titer",
+            "type": "string"
+        }
+    },
+    "required": ["date"]
+}
diff --git a/www/forms/report-pvl.schema.json b/www/forms/report-pvl.schema.json
new file mode 100644 (file)
index 0000000..2af8e52
--- /dev/null
@@ -0,0 +1,28 @@
+{
+    "$schema": "http://json-schema.org/draft/2020-12/schema",
+    "title": "hiv_pvl",
+    "description": "HIV PVL",
+    "type": "object",
+
+    "properties": {
+        "date": {
+            "description": "Date",
+            "type": "string",
+            "format": "date"
+        },
+        "time": {
+            "description": "Time",
+            "type": "string",
+            "format": "time"
+        },
+        "sample": {
+            "description": "Sample",
+            "type": "string"
+        },
+        "pvl": {
+            "description": "PVL",
+            "type": "string"
+        }
+    },
+    "required": ["date"]
+}