From: Agnibho Mondal Date: Wed, 9 Jun 2021 18:47:45 +0000 (+0530) Subject: New forms X-Git-Url: https://code.agnibho.com/repo?a=commitdiff_plain;h=e7a106ac83ef1c864557d593b63460b84833b1ac;p=simpleipd.git New forms --- 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"] +}