Skip to content

Instantly share code, notes, and snippets.

View gigincg's full-sized avatar
:octocat:

Gigin George gigincg

:octocat:
View GitHub Profile
@gigincg
gigincg / diagnostic_report.md
Created September 3, 2025 09:59
Diagnostic Report

Diagnostic Report

A Diagnostic report holds findings and interpretations of diagnostic tests performed on patients.

The diagnostic report by itself does not hold any relevant clinical information, all clinical information are stored as Observations, references to observations created through a diagnostic report is maintained in both Diagnostic report and Observations.

To start with Diagnostic reports can only be created from Service Requests, But in theory, a diagnostic report could be created based off of any resource

The spec for Diagnostic Report is as follows

@gigincg
gigincg / oss_contrib_ranking.md
Created November 3, 2024 04:29
The Document describes the an Evaluation Strategy for scoring GitHub Users based on their open source contributions

Open Source Activity Evaluation Strategy

The Open Source Activity Evaluation strategy assesses a user’s engagement and contributions within open-source communities on GitHub. This document outlines the criteria and weightages used to measure a user’s participation, impact, and collaboration across various open-source projects.

  1. Total Events

    • Description: Total number of events generated by the user on GitHub, including code contributions, issues, and discussions. • Weightage: 1 point per event • Significance: A high number of events indicates frequent interaction with open-source projects, showing consistent activity and involvement in the community.

@gigincg
gigincg / cloudflared_worker_medispeak.js
Last active October 23, 2024 03:57 — forked from tellmeY18/worker.js
Cloudflare-Inject script for cloudflare inject
addEventListener('fetch', event => {
event.respondWith(handleRequest(event.request))
})
async function handleRequest(request) {
// Fetch the original HTML response
const response = await fetch(request)
// If the response is a redirect, return it immediately without modification
if (response.redirected || response.status === 301 || response.status === 302) {
@gigincg
gigincg / react_contact.jsx
Created August 29, 2024 06:46
React Contact Form for Cloudflare Worker
import React, { useState } from "react";
const ContactForm = () => {
const [formData, setFormData] = useState({
name: "",
eml: "",
message: "",
eml2: "", // Honeypot field, should be hidden
});
@gigincg
gigincg / comen_hl7_out.txt
Created August 20, 2024 16:34
HL7 Output from Comen Patient Monitor
MSH|^~\&||KC450512668G|||20240820214743+0500||ORU^R01|202408202147431020|P|2.4
PID||||||||M
PV1||I|^^&1|0
OBR|||||||20240820214743+0500
OBX||NM|147842^MDC_ECG_HEART_RATE^MDC|1.7.4.147842|-100|264864^MDC_DIM_BEAT_PER_MIN^MDC|50^120||||F|||20240820214743+0500
OBX||NM|148066^MDC_ECG_V_P_C_RATE^MDC|1.7.2.148066|-100|264864^MDC_DIM_BEAT_PER_MIN^MDC|||||F|||20240820214743+0500
OBX||NM|131841^MDC_ECG_AMPL_ST_I^MDC|1.7.3.131841|-10000|266418^MDC_DIM_MILLI_VOLT^MDC|-0.20^0.20||||F|||20240820214743+0500
OBX||NM|131842^MDC_ECG_AMPL_ST_II^MDC|1.7.3.131842|-10000|266418^MDC_DIM_MILLI_VOLT^MDC|-0.20^0.20||||F|||20240820214743+0500
OBX||NM|131901^MDC_ECG_AMPL_ST_III^MDC|1.7.3.131901|-10000|266418^MDC_DIM_MILLI_VOLT^MDC|-0.20^0.20||||F|||20240820214743+0500
OBX||NM|131904^MDC_ECG_AMPL_ST_AVF^MDC|1.7.3.131904|-10000|266418^MDC_DIM_MILLI_VOLT^MDC|-0.20^0.20||||F|||20240820214743+0500
@gigincg
gigincg / index.html
Created August 6, 2024 05:16
Medispeak Test Page
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Audio Upload</title>
</head>
<body>
<button id="start-rec">Start Recording</button>
<button id="stop-rec" disabled>Stop Recording</button>
<button id="upload-rec" disabled>Upload Recording</button>
@gigincg
gigincg / README.md
Last active May 30, 2024 06:33
Dahua Camera Testing Report

Dahua Camera Testing Report


Introduction

@gigincg
gigincg / CONTRIBUTORS_GUIDE.md
Last active August 5, 2024 18:15
ohc.network Contributor's Guide

CARE Contributor's Guide

Introduction to CARE

CARE is an open-source EMR system developed using Django Rest Framework for the backend and React TypeScript for the frontend. It aims to provide cost-effective, adaptable, and sustainable healthcare solutions.

Prerequisites

Before you start contributing, it is recommended that you have a basic understanding of:

  • Git and GitHub
  • Web development (HTML, CSS, JavaScript)

Global Digital Corps - Software Engineering Test Problem | Priority list

Thanks for applying to the Global Digital Corps!

In this step we want to see how you implement a command-line (CLI) program that lets you manage your tasks.

The specification for this problem is written down as tests. Since we haven’t actually implemented anything, the tests are currently failing. You have to solve the problem by implementing the application and getting all the tests to pass.

You can download your starter files here

const fs = require("fs");
const jose = require("node-jose");
const jwktopem = require("jwk-to-pem");
const jwt = require("jsonwebtoken");
// Generate a new JWKS
// const keyStore = jose.JWK.createKeyStore();
// keyStore.generate("RSA", 2048, { alg: "RS256", use: "sig" }).then((result) => {
// fs.writeFileSync(