From 5932a93634abe1470ad92c780e2dc8ecd9e3b7c9 Mon Sep 17 00:00:00 2001 From: Agnibho Mondal Date: Sat, 15 May 2021 08:49:00 +0530 Subject: [PATCH] New forms --- forms/admission.schema.json | 4 ++ forms/report-abg.schema.json | 44 ++++++++++++++++++++ forms/report-blood-cs.schema.json | 24 +++++++++++ forms/report-crp.schema.json | 25 ++++++++++++ forms/report-ddimer.schema.json | 25 ++++++++++++ forms/report-fluid.schema.json | 65 ++++++++++++++++++++++++++++++ forms/report-glycemic.schema.json | 33 +++++++++++++++ forms/report-ldh.schema.json | 25 ++++++++++++ forms/report-lipid.schema.json | 37 +++++++++++++++++ forms/report-other.schema.json | 24 +++++++++++ forms/report-sputum-cs.schema.json | 24 +++++++++++ forms/report-sputum-me.schema.json | 28 +++++++++++++ forms/report-stool-ova.schema.json | 28 +++++++++++++ forms/report-stool-re.schema.json | 32 +++++++++++++++ forms/report-urine-cs.schema.json | 24 +++++++++++ forms/report-urine-re.schema.json | 40 ++++++++++++++++++ 16 files changed, 482 insertions(+) create mode 100644 forms/report-abg.schema.json create mode 100644 forms/report-blood-cs.schema.json create mode 100644 forms/report-crp.schema.json create mode 100644 forms/report-ddimer.schema.json create mode 100644 forms/report-fluid.schema.json create mode 100644 forms/report-glycemic.schema.json create mode 100644 forms/report-ldh.schema.json create mode 100644 forms/report-lipid.schema.json create mode 100644 forms/report-other.schema.json create mode 100644 forms/report-sputum-cs.schema.json create mode 100644 forms/report-sputum-me.schema.json create mode 100644 forms/report-stool-ova.schema.json create mode 100644 forms/report-stool-re.schema.json create mode 100644 forms/report-urine-cs.schema.json create mode 100644 forms/report-urine-re.schema.json diff --git a/forms/admission.schema.json b/forms/admission.schema.json index f620c1c..a87274b 100644 --- a/forms/admission.schema.json +++ b/forms/admission.schema.json @@ -9,6 +9,10 @@ "description": "Admission ID", "type": "string" }, + "srfid": { + "description": "SRF ID", + "type": "string" + }, "name": { "description": "Name", "type": "string" diff --git a/forms/report-abg.schema.json b/forms/report-abg.schema.json new file mode 100644 index 0000000..0ed6f56 --- /dev/null +++ b/forms/report-abg.schema.json @@ -0,0 +1,44 @@ +{ + "$schema": "http://json-schema.org/draft/2020-12/schema", + "title": "ABG", + "description": "ABG", + "type": "object", + + "properties": { + "date": { + "description": "Date", + "type": "string", + "format": "date" + }, + "time": { + "description": "Time", + "type": "string", + "format": "time" + }, + "ph": { + "description": "pH", + "type": "number" + }, + "pao2": { + "description": "PaO2", + "type": "number" + }, + "paco2": { + "description": "PaCO2", + "type": "number" + }, + "hco3": { + "description": "HCO3", + "type": "number" + }, + "na": { + "description": "Na", + "type": "number" + }, + "k": { + "description": "K", + "type": "number" + } + }, + "required": ["date"] +} diff --git a/forms/report-blood-cs.schema.json b/forms/report-blood-cs.schema.json new file mode 100644 index 0000000..51dfa1d --- /dev/null +++ b/forms/report-blood-cs.schema.json @@ -0,0 +1,24 @@ +{ + "$schema": "http://json-schema.org/draft/2020-12/schema", + "title": "Blood CS", + "description": "Blood CS", + "type": "object", + + "properties": { + "date": { + "description": "Date", + "type": "string", + "format": "date" + }, + "time": { + "description": "Time", + "type": "string", + "format": "time" + }, + "organism": { + "description": "Organism", + "type": "string" + } + }, + "required": ["date"] +} diff --git a/forms/report-crp.schema.json b/forms/report-crp.schema.json new file mode 100644 index 0000000..08ce181 --- /dev/null +++ b/forms/report-crp.schema.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft/2020-12/schema", + "title": "CRP", + "description": "CRP", + "type": "object", + + "properties": { + "date": { + "description": "Date", + "type": "string", + "format": "date" + }, + "time": { + "description": "Time", + "type": "string", + "format": "time" + }, + + "ldh": { + "description": "CRP", + "type": "number" + } + }, + "required": ["date"] +} diff --git a/forms/report-ddimer.schema.json b/forms/report-ddimer.schema.json new file mode 100644 index 0000000..f638073 --- /dev/null +++ b/forms/report-ddimer.schema.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft/2020-12/schema", + "title": "D-Dimer", + "description": "D-Dimer", + "type": "object", + + "properties": { + "date": { + "description": "Date", + "type": "string", + "format": "date" + }, + "time": { + "description": "Time", + "type": "string", + "format": "time" + }, + + "ddimer": { + "description": "D-Dimer", + "type": "number" + } + }, + "required": ["date"] +} diff --git a/forms/report-fluid.schema.json b/forms/report-fluid.schema.json new file mode 100644 index 0000000..62bd4dc --- /dev/null +++ b/forms/report-fluid.schema.json @@ -0,0 +1,65 @@ +{ + "$schema": "http://json-schema.org/draft/2020-12/schema", + "title": "Fluid Study", + "description": "Fluid Study", + "type": "object", + + "properties": { + "date": { + "description": "Date", + "type": "string", + "format": "date" + }, + "time": { + "description": "Time", + "type": "string", + "format": "time" + }, + "fluid": { + "description": "Fluid", + "type": "string", + "enum": ["pleural fluid", "ascitic fluid", "csf", "other"] + }, + "cellCount": { + "description": "Cell Count", + "type": "integer" + }, + "cellType": { + "description": "Cell Type", + "type": "string" + }, + "protein": { + "description": "Protein", + "type": "integer" + }, + "sugar": { + "description": "Sugar", + "type": "integer" + }, + "ldh": { + "description": "LDH", + "type": "integer" + }, + "gram": { + "description": "Gram Stain", + "type": "string" + }, + "afb": { + "description": "AFB Stain", + "type": "string" + }, + "fungal": { + "description": "Fungal Stain", + "type": "string" + }, + "cs": { + "description": "Culture/Sensitivity", + "type": "string" + }, + "cbnaat": { + "description": "CBNAAT", + "type": "string" + } + }, + "required": ["date"] +} diff --git a/forms/report-glycemic.schema.json b/forms/report-glycemic.schema.json new file mode 100644 index 0000000..0875fb0 --- /dev/null +++ b/forms/report-glycemic.schema.json @@ -0,0 +1,33 @@ +{ + "$schema": "http://json-schema.org/draft/2020-12/schema", + "title": "Glycemic Status", + "description": "Glycemic Status", + "type": "object", + + "properties": { + "date": { + "description": "Date", + "type": "string", + "format": "date" + }, + "time": { + "description": "Time", + "type": "string", + "format": "time" + }, + + "fbs": { + "description": "FBS", + "type": "number" + }, + "ppbs": { + "description": "PPBS", + "type": "number" + }, + "hba1c": { + "description": "HbA1C", + "type": "number" + } + }, + "required": ["date"] +} diff --git a/forms/report-ldh.schema.json b/forms/report-ldh.schema.json new file mode 100644 index 0000000..cce1e38 --- /dev/null +++ b/forms/report-ldh.schema.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft/2020-12/schema", + "title": "LDH", + "description": "LDH", + "type": "object", + + "properties": { + "date": { + "description": "Date", + "type": "string", + "format": "date" + }, + "time": { + "description": "Time", + "type": "string", + "format": "time" + }, + + "ldh": { + "description": "LDH", + "type": "number" + } + }, + "required": ["date"] +} diff --git a/forms/report-lipid.schema.json b/forms/report-lipid.schema.json new file mode 100644 index 0000000..a203b15 --- /dev/null +++ b/forms/report-lipid.schema.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft/2020-12/schema", + "title": "Lipid Profile", + "description": "Lipid Profile", + "type": "object", + + "properties": { + "date": { + "description": "Date", + "type": "string", + "format": "date" + }, + "time": { + "description": "Time", + "type": "string", + "format": "time" + }, + + "ldl": { + "description": "LDL", + "type": "number" + }, + "hdl": { + "description": "HDL", + "type": "number" + }, + "tgl": { + "description": "Triglyceride", + "type": "number" + }, + "chol": { + "description": "Cholesterol", + "type": "number" + } + }, + "required": ["date"] +} diff --git a/forms/report-other.schema.json b/forms/report-other.schema.json new file mode 100644 index 0000000..ba613ec --- /dev/null +++ b/forms/report-other.schema.json @@ -0,0 +1,24 @@ +{ + "$schema": "http://json-schema.org/draft/2020-12/schema", + "title": "Other Reports", + "description": "Other Reports", + "type": "object", + + "properties": { + "date": { + "description": "Date", + "type": "string", + "format": "date" + }, + "time": { + "description": "Time", + "type": "string", + "format": "time" + }, + "report": { + "description": "Report", + "type": "string" + } + }, + "required": ["date"] +} diff --git a/forms/report-sputum-cs.schema.json b/forms/report-sputum-cs.schema.json new file mode 100644 index 0000000..8ebf011 --- /dev/null +++ b/forms/report-sputum-cs.schema.json @@ -0,0 +1,24 @@ +{ + "$schema": "http://json-schema.org/draft/2020-12/schema", + "title": "Sputum CS", + "description": "Sputum CS", + "type": "object", + + "properties": { + "date": { + "description": "Date", + "type": "string", + "format": "date" + }, + "time": { + "description": "Time", + "type": "string", + "format": "time" + }, + "organism": { + "description": "Organism", + "type": "string" + } + }, + "required": ["date"] +} diff --git a/forms/report-sputum-me.schema.json b/forms/report-sputum-me.schema.json new file mode 100644 index 0000000..596507f --- /dev/null +++ b/forms/report-sputum-me.schema.json @@ -0,0 +1,28 @@ +{ + "$schema": "http://json-schema.org/draft/2020-12/schema", + "title": "Sputum ME", + "description": "Sputum ME", + "type": "object", + + "properties": { + "date": { + "description": "Date", + "type": "string", + "format": "date" + }, + "time": { + "description": "Time", + "type": "string", + "format": "time" + }, + "description": { + "description": "Description", + "type": "string" + }, + "organism": { + "description": "Organism", + "type": "string" + } + }, + "required": ["date"] +} diff --git a/forms/report-stool-ova.schema.json b/forms/report-stool-ova.schema.json new file mode 100644 index 0000000..3551731 --- /dev/null +++ b/forms/report-stool-ova.schema.json @@ -0,0 +1,28 @@ +{ + "$schema": "http://json-schema.org/draft/2020-12/schema", + "title": "Stool for Ova", + "description": "Stool for Ova", + "type": "object", + + "properties": { + "date": { + "description": "Date", + "type": "string", + "format": "date" + }, + "time": { + "description": "Time", + "type": "string", + "format": "time" + }, + "description": { + "description": "Description", + "type": "string" + }, + "ova": { + "description": "Ova", + "type": "string" + } + }, + "required": ["date"] +} diff --git a/forms/report-stool-re.schema.json b/forms/report-stool-re.schema.json new file mode 100644 index 0000000..ab7ac56 --- /dev/null +++ b/forms/report-stool-re.schema.json @@ -0,0 +1,32 @@ +{ + "$schema": "http://json-schema.org/draft/2020-12/schema", + "title": "Stool RE", + "description": "Stool RE", + "type": "object", + + "properties": { + "date": { + "description": "Date", + "type": "string", + "format": "date" + }, + "time": { + "description": "Time", + "type": "string", + "format": "time" + }, + "description": { + "description": "Description", + "type": "string" + }, + "obt": { + "description": "OBT", + "type": "string" + }, + "opc": { + "description": "Ova Parasite Cyst", + "type": "string" + } + }, + "required": ["date"] +} diff --git a/forms/report-urine-cs.schema.json b/forms/report-urine-cs.schema.json new file mode 100644 index 0000000..93d8d5a --- /dev/null +++ b/forms/report-urine-cs.schema.json @@ -0,0 +1,24 @@ +{ + "$schema": "http://json-schema.org/draft/2020-12/schema", + "title": "Urine CS", + "description": "Urine CS", + "type": "object", + + "properties": { + "date": { + "description": "Date", + "type": "string", + "format": "date" + }, + "time": { + "description": "Time", + "type": "string", + "format": "time" + }, + "organism": { + "description": "Organism", + "type": "string" + } + }, + "required": ["date"] +} diff --git a/forms/report-urine-re.schema.json b/forms/report-urine-re.schema.json new file mode 100644 index 0000000..ac114f2 --- /dev/null +++ b/forms/report-urine-re.schema.json @@ -0,0 +1,40 @@ +{ + "$schema": "http://json-schema.org/draft/2020-12/schema", + "title": "Urine RE", + "description": "Urine RE", + "type": "object", + + "properties": { + "date": { + "description": "Date", + "type": "string", + "format": "date" + }, + "time": { + "description": "Time", + "type": "string", + "format": "time" + }, + "description": { + "description": "Description", + "type": "string" + }, + "albumin": { + "description": "Albumin", + "type": "string" + }, + "ketone": { + "description": "Ketone Body", + "type": "string" + }, + "rbc": { + "description": "RBC cells", + "type": "string" + }, + "pus": { + "description": "Pus cells", + "type": "string" + } + }, + "required": ["date"] +} -- 2.39.2