Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Aarsh Talati aarshtalati

🎯
Focusing
View GitHub Profile
@aarshtalati
aarshtalati / RangeIndicator.html
Created Apr 21, 2018
Bootstrap 3.0 Progress Bar Meter
View RangeIndicator.html
<!DOCTYPE html>
<!--
Created using JS Bin
http://jsbin.com
Copyright (c) 2018 by aarsh (http://jsbin.com/xozumih/2/edit)
Released under the MIT license: http://jsbin.mit-license.org
-->
<meta name="robots" content="noindex">
View result.partial.html
<div class="row">
<div class="col-md-5 panel panel-primary">
<div class="panel-heading">
<h3 id="hImpairmentText" class="text-center">Impairment Domain: Not Well Controlled</h3>
</div>
<div class="row unselectable">
<p class="text-center">Recommended Action for treatment <i>
<small> (editable)</small>
</i>:
</p>
@aarshtalati
aarshtalati / patients_before.json
Last active Apr 19, 2018
The amount of infomation being loaded before, just 50 rows like this, would bloat your browser
View patients_before.json
{
"id": 1,
"username": "cory.rempel",
"password": "c705d522bab6e3ba27b3f717062a116f81f7d7ca",
"active": true,
"personType": "PATIENT",
"firstName": "Rafael",
"middleName": "Cassandra",
"lastName": "Pagac",
"contactPhone": "05942567846",
@aarshtalati
aarshtalati / Questionnaire.json
Created Apr 18, 2018
http://localhost:8080/baseDstu3/Questionnaire/5205
View Questionnaire.json
{
"resourceType": "Questionnaire",
"id": "5205",
"meta": {
"versionId": "1",
"lastUpdated": "2018-04-18T02:09:03.488+00:00"
},
"title": "5-11 yrs of age",
"status": "active",
"date": "2018-04-17T22:09:02-04:00",
@aarshtalati
aarshtalati / QuestionnaireResponse.json
Created Apr 18, 2018
http://localhost:8080/baseDstu3/QuestionnaireResponse/5206
View QuestionnaireResponse.json
{
"resourceType": "QuestionnaireResponse",
"id": "5206",
"meta": {
"versionId": "1",
"lastUpdated": "2018-04-18T02:10:06.187+00:00"
},
"questionnaire": {
"reference": "Questionnaire/5205"
},
View index.jsp
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="t" tagdir="/WEB-INF/tags" %>
<t:wrapper>
<jsp:attribute name="header">
</jsp:attribute>
View home.jsp
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="t" tagdir="/WEB-INF/tags" %>
<t:wrapper>
<jsp:attribute name="header">
</jsp:attribute>
View Login.java
package edu.gatech.epidemics.viewmodel;
/**
* @author atalati
*/
public class Login {
private String username;
private String password;
public Login() {
View HomeController.java
package edu.gatech.epidemics.controller;
import edu.gatech.epidemics.viewmodel.Login;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
/**
* @author atalati
*/
@Controller
View 01_schema_aarsh.sql
# MySQL Setup
SET default_storage_engine=InnoDB;
USE epidemics;
DROP TABLE IF EXISTS person_type;
CREATE TABLE person_type (
`id` INT NOT NULL PRIMARY KEY,
`person_type_name` VARCHAR(100) NOT NULL