Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#BlueJ class context
comment0.target=HealthTech
comment1.params=id\ idt
comment1.target=int\ searchid(int[],\ int)
comment2.params=id\ idt
comment2.target=int\ searchph(long[],\ long)
comment3.params=s
comment3.target=java.lang.String\ test_analyser(java.lang.String)
comment4.params=
comment4.target=void\ main()
numComments=5
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
import java.util.*;
class HealthTech
{
int searchid(int id[],int idt)
{
int l=id.length,r=-1;
for(int i=0;i<l;i++)
{
if(idt==id[i])
r=i;
}
return r;
}

int searchph(long id[],long idt)
{
int l=id.length,r=-1;
for(int i=0;i<l;i++)
{
if(idt==id[i])
r=i;
}
return r;
}
String test_analyser(String s)
{
String sy="";
if(s.equalsIgnoreCase("FRACTURE"))
sy="X-RAY";
if(s.equalsIgnoreCase("Fever"))
sy="COVID TEST or any other viral infection blood test";
if(s.equalsIgnoreCase("loss of vision"))
sy="EYE REPORT";
if(s.equalsIgnoreCase("chest pain"))
sy="MRI";
if(s.equalsIgnoreCase("weight loss")||s.equalsIgnoreCase("frequent urination"))
sy="FAST BLOOD SUGAR TEST";
if(s.equalsIgnoreCase("STOMACH PAIN"))
sy="ULTRASONOGRAPHY";
return sy;
//OTHER SYMPTOMS TO BE IMPORTED FROM DATABASE
}
void main()
{
Scanner sc=new Scanner(System.in);
String name[]=new String[1000];
String gen[]=new String[1000];
String sym[]=new String[1000];
int age[]=new int[1000];
int id[]=new int[1000]; //ID should be a 5 DIGIT NUMBER BETWEEN 10000-99999
long mob[]=new long[1000];
int month[][]=new int[30][10];
int n=0,i,j,pat_id,pos,posph;
long pat_ph;
String pat_name,symp="",test="";
for(i=0;i<30;i++)
for(j=0;j<10;j++)
month[i][j]=0;

while(n<1000)
{
System.out.println("WELCOME HEALTHTECH SOLUTIONS");
System.out.println("1.OLD PATIENT");
System.out.println("2.NEW PATIENT");
System.out.println(" ENTER YOUR CHOICE : ");
int ch=sc.nextInt();
switch(ch)
{
case 1:
System.out.println("ENTER PATIENT ID OF THE PATIENT, if you have forgotten please enter 0 in patient id and entered registered mobile number: ");
System.out.println("ENTER PATIENT ID NO : ");
pat_id=sc.nextInt();
pos=searchid(id,pat_id);
if(pat_id==0)
{
System.out.println("ENTER MOBILE NO OF THE PATIENT : ");
pat_ph=sc.nextLong();
pos=searchph(mob,pat_ph);
}

//search will be conducted after linking it to the database
System.out.println("--------------------------------------------------------------------------------------");
System.out.println("PATIENT NAME - "+name[pos]);
System.out.println("PATIENT ID - "+id[pos]);
System.out.println("PATIENT PHONE NO - "+mob[pos]);
System.out.println("PATIENT AGE - "+age[pos]);
System.out.println("PATIENT PREVIOUS REPORTS - "+sym[pos]);
System.out.println("--------------------------------------------------------------------------------------");
System.out.println("Enter the new symptoms : ");
sc.next();
symp=sc.next();

break;

case 2:
System.out.println("ENTER NAME OF THE PATIENT : ");
sc.next();
name[n]=sc.nextLine();
System.out.println("ENTER MOBILE NO OF THE PATIENT : ");
mob[n]=sc.nextLong();
System.out.println("ENTER GENDER OF THE PATIENT : ");
gen[n]=sc.next();
System.out.println("ENTER AGE OF THE PATIENT : ");
age[n]=sc.nextInt();
System.out.println("ENTER PATIENT ID NO : ");
id[n]=sc.nextInt();
System.out.println("ENTER SYMPTOMS : ");
sc.next();
sym[n]=sc.next();
break;

default:
System.out.println("INVALID ENTRY");
}
if(ch==1||ch==2)
{
System.out.println("ENTER APPOINTMENT DATE : ");
int date=sc.nextInt();
System.out.println("SLOT AVAILABLE : ");
for(i=0;i<10;i++)
{
if(month[date][i]==0)
System.out.println("Slot - "+(i+1));
else
System.out.println("Slot - "+(i+1)+" HAS BEEN BOOKED");
}
System.out.println("ENTER SLOT NO. THAT NEEDS TO BE BOOKED");
int slot = sc.nextInt();


System.out.println("TEST that you need to perform : ");
if(ch==1)
test=test_analyser(symp);
else
test=test_analyser(sym[n]);
month[date][slot-1]=1;
System.out.println("--------------------------------------------------------------------------------------");
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Appointment directory management done by Sourav Biswas
by using
JAVA
3 changes: 3 additions & 0 deletions OVERNITE/HEALTHTECH PROTOTYPES/Interface/Readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Frontend prototype developed by Amrit Dhandharia
by using
HTML and CSS
82 changes: 82 additions & 0 deletions OVERNITE/HEALTHTECH PROTOTYPES/Interface/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
header{
text-align: center;
}
*{
box-sizing: border-box;
background-color: rgb(255, 255, 255);
color: rgb(0, 0, 0);
}
.patientinfo{
text-align: center;
text-decoration: underline;
}

.pleasefill{
text-align: center;
}
/* Full-width input fields */
input[type=text], input[type=password], input[type=number], input[type=date] {
width: 100%;
padding: 15px;
margin: 5px 0 22px 0;
display: inline-block;
border: none;
background: #f1f1f1;
}

input[type=text]:focus, input[type=password]:focus {
background-color: #ddd;
outline: none;
}

hr {
border: 1px solid #f1f1f1;
margin-bottom: 25px;
}

/* Set a style for all buttons */
button {
background-color: #4CAF50;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 100%;
opacity: 0.9;
}

button:hover {
opacity:1;
}

/* Extra styles for the cancel button */
.cancelbtn {
padding: 14px 20px;
background-color: #f44336;
}

/* Float cancel and signup buttons and add an equal width */
.cancelbtn, .signupbtn {
float: left;
width: 50%;
}

/* Add padding to container elements */
.container {
padding: 16px;
}

/* Clear floats */
.clearfix::after {
content: "";
clear: both;
display: table;
}

/* Change styles for cancel button and signup button on extra small screens */
@media screen and (max-width: 300px) {
.cancelbtn, .signupbtn {
width: 100%;
}
}
53 changes: 53 additions & 0 deletions OVERNITE/HEALTHTECH PROTOTYPES/Interface/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Healthtech by Overnite</title>
<link rel="stylesheet" href="index.css">
</head>
<body>
<header><h1>Healthtech by Overnite</h1></header>
<form action="symptoms.html" style="border:1px solid #ccc" >
<div class="container">
<h2 class="patientinfo">Patient Information</h2>
<p class="pleasefill">Please fill in this form to proceed.</p>
<hr>

<label for="patientname"><b>Name of Patient</b></label>
<input type="text" placeholder="Enter Name" name="patientname" required>

<fieldset>
<legend><strong>Gender</strong></legend>
<input type="radio" id="male" name="gender" value="male" required>
<label for="male">Male</label><br>
<input type="radio" id="female" name="gender" value="female">
<label for="female">Female</label><br>
<input type="radio" id="other" name="gender" value="other">
<label for="other">Other</label>
</fieldset> <br>

<label for="dateofbirth"><strong>Date of Birth</strong></label>
<input type="date" placeholder="Select Date of Birth" name="dateofbirth" id="dateofbirth" required><br>

<label for="phonenumber"><strong>Phone Number</strong></label>
<input type="number" placeholder="Enter your Phone Number" name="phonenumber" id="phonenumber"><br>

<label for="id"><strong>Enter id</strong> (if already have one)</label>
<input type="number" placeholder="Enter your id here" name="id" id="id">

<label>
<input type="checkbox" checked="checked" name="remember" style="margin-bottom:15px"> Remember me
</label>

<p>By clicking <strong>Proceed</strong> you agree to our <a href="#" style="color:dodgerblue">Terms of Service | Privacy Policy</a>.</p>

<div class="clearfix">
<button type="button" class="cancelbtn">Cancel</button>
<a href=""><button type="submit" class="signupbtn" a>Proceed</button></a>
</div>
</div>
</form>
</body>
</html>
38 changes: 38 additions & 0 deletions OVERNITE/HEALTHTECH PROTOTYPES/Interface/symptoms.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@


header{
text-align: center;
}


.first{
text-align: center;
}

textarea{
display: block;
margin-left: auto;
margin-right: auto;
border: 2px solid black;
}
button {
background-color: #4CAF50;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 100%;
opacity: 0.9;
}
button:hover {
opacity:1;
}
.cancelbtn, .signupbtn {
/* float: left; */
width: 50%;
}

.button{
text-align: center;
}
47 changes: 47 additions & 0 deletions OVERNITE/HEALTHTECH PROTOTYPES/Interface/symptoms.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Symptom Description</title>
<link rel="stylesheet" href="symptoms.css" />
</head>
<body>
<header><h1>Patient Symptoms</h1></header>
<hr />
<br />
<div class="first">
<p>
Please enter the description of patient's symptoms in the box provided
below <br />
Note that the information entered here will be used to suggest possible
medications and treatments for the given patients<br />
You can change the size of the box using the button in the bottom right
corner of the box
</p>
</div>
<br />
<fieldset>
<legend><strong>Describe Symptoms of the patient</strong></legend>
<textarea
placeholder="Enter text here"
name="paragraph_text"
cols="50"
rows="10"
></textarea>
</fieldset>
<br />
<br />
<footer>
By clicking on <strong>Submit</strong> button below, you agree with our
<a href="#" style="color: dodgerblue"
>Terms of Service | Privacy Policy</a
>
</footer>
<br />
<div class="button">
<a href=""><button type="submit" class="signupbtn">Submit</button></a>
</div>
</body>
</html>
Binary file not shown.
5 changes: 5 additions & 0 deletions OVERNITE/HEALTHTECH PROTOTYPES/Python based DBMS/Readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
The DATABASES have been created by Sanjib Kumar Das
using MS EXCEL

The PYTHON based system has been created by Chirantan Das
to extract data from the HEATHDATA.xlsx sheet and a custom input to be compared
Loading