]> Softwares of Agnibho - simpleipd.git/blob - forms/admission.schema.json
Workable version
[simpleipd.git] / forms / admission.schema.json
1 {
2 "$schema": "http://json-schema.org/draft/2020-12/schema",
3 "title": "Admission Form",
4 "description": "Admission Form",
5 "type": "object",
6
7 "properties": {
8 "pid": {
9 "description": "Admission ID",
10 "type": "string"
11 },
12 "name": {
13 "description": "Name",
14 "type": "string"
15 },
16 "age": {
17 "description": "Age",
18 "type": "integer"
19 },
20 "sex": {
21 "description": "Sex",
22 "type": "string",
23 "enum": ["male", "female", "others"]
24 },
25 "date": {
26 "description": "Date of Admission",
27 "type": "string",
28 "format": "date"
29 },
30 "ward": {
31 "description": "Ward",
32 "type": "string"
33 },
34 "bed": {
35 "description": "Bed Number",
36 "type": "string"
37 },
38 "diagnosis": {
39 "description": "Diagnosis",
40 "type": "string"
41 },
42 "summary": {
43 "description": "Summary",
44 "type": "string"
45 }
46 },
47 "required": ["pid", "name", "age", "sex", "date", "ward", "bed", "status"]
48 }