Skip to content

Instantly share code, notes, and snippets.

View niquola's full-sized avatar

Nikolai Ryzhikov niquola

View GitHub Profile
@niquola
niquola / fhir-native-data-quality-EN.md
Created July 7, 2026 11:33
FHIR-native Data Quality & Observability — expressing DQ checks on SQL on FHIR (ViewDefinition + SQLQuery Library). Discussion sketch.

FHIR-native Data Quality & Observability

A proposal sketch for the SQL on FHIR community — how to express data-quality checks on top of the primitives we already have (ViewDefinition, SQLQuery Library, and query-to-query dependencies).

Compiled by Claude, working with @niquola, as background for discussion. Feedback very welcome.


TL;DR

@niquola
niquola / MaterializedView.md
Last active July 7, 2026 19:02
SQL on FHIR — MaterializedView resource (draft for community discussion)

Materialized View

SQL on FHIR — draft for community discussion (branch).

Maturity Level: 1 · Standards Status: Draft · Security Category: Patient · Compartments: Patient, Group

Description

A MaterializedView is a server-managed, persisted representation of the output of a single ViewDefinition or SQLView (a SQLQuery Library) — its data processed into an efficient form for future query or load, such as a SQL table or view, or a Parquet/CSV file.

@niquola
niquola / materialize.md
Last active June 23, 2026 19:03
SQL on FHIR: дизайн $materialize / MaterializedView (RU + EN)

Design: $materialize Operation & MaterializedView Resource

Status: Draft

Date: 2026-06-23

Issue: #326


1. Problem Statement

@niquola
niquola / materialize-prior-art-research-en.md
Created June 2, 2026 18:58
Prior art for $materialize freshness control across analytical platforms (SQL-on-FHIR issue #326)

$materialize: prior art for freshness control in analytical platforms

Research in support of the SQL-on-FHIR $materialize operation design (issue #326). Question: how does the industry (a) create / refresh / drop materializations, and (b) let clients control acceptable data staleness? Sourced from official documentation (links at the bottom).

The current $materialize proposal uses 3 HTTP verbs on one URL (POST = create-or-refresh idempotently, GET = status, DELETE = drop), an async poll pattern, a parameter expressing acceptable staleness (working name freshnessTarget / maxAge, a Duration; absent = manual, 0 = always-live, PT5M = lag ≤ 5 min, server may accept or reject), and a validAsOf output reporting actual freshness.


Databases & warehouses

@niquola
niquola / sl.md
Created April 16, 2026 15:45
Possible Futures with AI — sl.md

Possible Futures with AI

an semi-astrological essay for IT people and not only

Nikolai Ryzhikov


What will happen with your job and company in the next 2-5 years?


@niquola
niquola / slides.md
Created April 16, 2026 15:44
Possible Futures with AI — presentation slides (reveal.js markdown)

Will your company exist in 5 years?

Note: Pause. Let the silence work. Look around the room. Then click to the title.


@niquola
niquola / wsjet-ru.md
Last active April 4, 2026 18:02
Wsjet: гипермедиа-виджеты для взаимодействия агента и человека

Wsjet: гипермедиа-виджеты для агентных воркспейсов

TL;DR

Агент создаёт скрипт → в UI появляется ⚡ виджет → пользователь взаимодействует → всё в браузере, без серверов. Скрипт на любом языке, который говорит HTML через stdout. CGI 2026.

Архитектура

graph TB
@niquola
niquola / wsjet.md
Last active April 4, 2026 14:12
Wsjet: CGI-style widgets for agentic workspaces

Wsjet: Hypermedia Widgets for Human-Agent Collaboration

The Insight

In agentic workflows, communication between human and AI is mostly text — chat messages back and forth. But many interactions are better served by structured UI: a form to fill, a table to review, a dashboard to monitor, a diff to approve.

What if the agent could create UI as easily as it creates files?

What is Wsjet?

@niquola
niquola / cql-to-omop.md
Last active March 27, 2026 11:58
Translating CQL to OMOP CDM SQL: Chlamydia Screening Measure (CMS153)

Translating CQL to OMOP CDM SQL: Chlamydia Screening (CMS153)

This document demonstrates how Clinical Quality Language (CQL) artifacts — both quality measures (CQM) and clinical decision support (CDS) — can be expressed as SQL against the OMOP Common Data Model.

The example uses two versions of the same clinical logic: the Chlamydia Screening for Women measure (CMS153 / NQF0033).


@niquola
niquola / SKILL.md
Last active March 23, 2026 10:34
OMOP CDM Knowledge Graph — Claude Code skill (omop-kg)
name omop-kg
description OMOP CDM Knowledge Graph — ontology of 643 canonical concepts, 1067 relationships, 1099 doc chunks with embeddings. Extracted from CommonDataModel docs + The Book of OHDSI. Use when user asks about OMOP CDM tables, fields, concepts, ETL, cohorts, vocabularies, or needs to search OMOP documentation.
allowed-tools Bash(curl *https://omop-kg.apki.dev*)

OMOP CDM Knowledge Graph

643 canonical concepts, 1057 raw extractions, 1067 canonical relationships, 1099 chunks, 66 pages, 1666 embeddings.