Skip to content

Instantly share code, notes, and snippets.

@jdjkelly
jdjkelly / SKILL.md
Created December 28, 2025 02:38
ASCII Diagram Skill
name description
ascii-diagram
Create ASCII architecture diagrams, system designs, tables, and technical illustrations using box-drawing characters. Use when asked to draw diagrams, visualize architecture, create flowcharts, or illustrate system components.

ASCII Architecture Diagrams

Create clean, professional ASCII diagrams for system architecture, flowcharts, tables, and technical documentation.

When to Use This Skill

<?xml version="1.0" encoding="UTF-8"?>
<ClinicalDocument xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<realmCode code="US"/>
<typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040"/>
<templateId root="2.16.840.1.113883.10.20.22.1.1" extension="2015-08-01"/>
<templateId root="2.16.840.1.113883.10.20.22.1.2" extension="2015-08-01"/>
<id root="2.16.840.1.113883.19.5.99999.1" extension="TEST-DOC-001"/>
<code code="34133-9" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Summarization of Episode Note"/>
<title>Continuity of Care Document - Test Patient</title>
<effectiveTime value="20241005120000-0500"/>
@jdjkelly
jdjkelly / slack.ts
Created April 8, 2024 17:29
LLM Channel summary Slackbot
import { App, } from '@slack/bolt';
import { Anthropic } from '@anthropic-ai/sdk';
const app = new App({
signingSecret: process.env.SLACK_SIGNING_SECRET,
token: process.env.SLACK_BOT_TOKEN,
});
const anthropic = new Anthropic({ apiKey: process.env.ANTHROPIC_API_KEY });
@jdjkelly
jdjkelly / cms.md
Created April 5, 2024 23:15
claude-cms-auth

Overview of CMS Prior Authorization Final Rule

Key Points of the Final Rule

The CMS Prior Authorization Final Rule, officially known as CMS-0057-F, aims to streamline the prior authorization process and improve health information exchange. Some key points of the rule include:

  • Requires payers to provide a specific reason for denied prior authorization decisions starting in 2026
  • Establishes time limits for prior authorization decisions - 72 hours for urgent requests and 7 calendar days for standard requests
  • Mandates that payers support electronic prior authorization on EHR systems
  • Requires payers to add prior authorization information to data available via the Patient Access API
@jdjkelly
jdjkelly / fhir.ts
Created July 9, 2021 22:12
FHIR Client
/**
* @module client
* @remarks Almost no-dependency TS FHIR client (we use cross fetch to give us a fetch instance)
*/
import fetch from "cross-fetch";
type Summary = "true" | "false" | "text" | "count" | "data";
export default function(baseUrl: string, init: RequestInit) {
import Resource from "../resources"
export type Status = 'create' | 'updated' | 'deleted' | 'recreated';
type IStore = {
[key in Resource]: {
id: {
id: string;
txid: number;
ts: number;
Verifying my Blockstack ID is secured with the address 1BYTD7LegnE7BuvwMfr13yT2hXQfbp9NAc https://explorer.blockstack.org/address/1BYTD7LegnE7BuvwMfr13yT2hXQfbp9NAc
@jdjkelly
jdjkelly / message.rs
Created October 22, 2017 22:39
Parity's Envelope Struct
pub struct Envelope {
/// Expiry timestamp
pub expiry: u64,
/// Time-to-live in seconds
pub ttl: u64,
/// series of 4-byte topics.
pub topics: SmallVec<[Topic; 4]>,
/// The message contained within.
pub data: Vec<u8>,
/// Arbitrary value used to target lower PoW hash.
0xc12Ec306a31af08dfC2d3E35E158FABbBD37C4CC
@jdjkelly
jdjkelly / schema.flow.js
Created August 11, 2017 19:43
schema.flow.js
/* @flow */
// interfaces/schema.flow.js
// This file was automatically generated and should not be edited.
export type DemoQueryQueryVariables = {|
id: string,
|};
export type DemoQueryQuery = {|
order: ? {|