From e7a106ac83ef1c864557d593b63460b84833b1ac Mon Sep 17 00:00:00 2001 From: Agnibho Mondal Date: Thu, 10 Jun 2021 00:17:45 +0530 Subject: [PATCH] New forms --- www/forms/report-cd4.schema.json | 28 +++++++++++++++++++++++++++ www/forms/report-crag.schema.json | 32 +++++++++++++++++++++++++++++++ www/forms/report-pvl.schema.json | 28 +++++++++++++++++++++++++++ 3 files changed, 88 insertions(+) create mode 100644 www/forms/report-cd4.schema.json create mode 100644 www/forms/report-crag.schema.json create mode 100644 www/forms/report-pvl.schema.json diff --git a/www/forms/report-cd4.schema.json b/www/forms/report-cd4.schema.json new file mode 100644 index 0000000..bf7e314 --- /dev/null +++ b/www/forms/report-cd4.schema.json @@ -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 index 0000000..de68169 --- /dev/null +++ b/www/forms/report-crag.schema.json @@ -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 index 0000000..2af8e52 --- /dev/null +++ b/www/forms/report-pvl.schema.json @@ -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"] +} -- 2.39.5