Skip to content

Instantly share code, notes, and snippets.

View aarshtalati's full-sized avatar
🎯
Focusing

Aarsh Talati aarshtalati

🎯
Focusing
View GitHub Profile
@aarshtalati
aarshtalati / RangeIndicator.html
Created April 21, 2018 19:09
Bootstrap 3.0 Progress Bar Meter
<!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">
<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 April 19, 2018 23:43
The amount of infomation being loaded before, just 50 rows like this, would bloat your browser
{
"id": 1,
"username": "cory.rempel",
"password": "c705d522bab6e3ba27b3f717062a116f81f7d7ca",
"active": true,
"personType": "PATIENT",
"firstName": "Rafael",
"middleName": "Cassandra",
"lastName": "Pagac",
"contactPhone": "05942567846",
@aarshtalati
aarshtalati / Questionnaire.json
Created April 18, 2018 02:20
http://localhost:8080/baseDstu3/Questionnaire/5205
{
"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 April 18, 2018 02:19
http://localhost:8080/baseDstu3/QuestionnaireResponse/5206
{
"resourceType": "QuestionnaireResponse",
"id": "5206",
"meta": {
"versionId": "1",
"lastUpdated": "2018-04-18T02:10:06.187+00:00"
},
"questionnaire": {
"reference": "Questionnaire/5205"
},
<%@ 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>
<%@ 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>
package edu.gatech.epidemics.viewmodel;
/**
* @author atalati
*/
public class Login {
private String username;
private String password;
public Login() {
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
# 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