Skip to content

Instantly share code, notes, and snippets.

View niquola's full-sized avatar

Nikolai Ryzhikov niquola

View GitHub Profile
@niquola
niquola / external-tables-draft.md
Created November 10, 2026 17:53
SQL on FHIR: external tables / relations — discussion draft

External tables in SQL on FHIR — draft for discussion

Status: local draft (Niquola), not a PR. Built from the WG calls of 2026‑04‑07, 05‑12 and 10‑06.

1. The problem, in the group's own words

Steve: "Let's say list of states in the United States. Could we use that in the [query]?" — Nikolai: "So you mean the table which is not FHIR, non view definition, some just arbitrary table. This is interesting." — John: "I think that's a good use case actually… in data‑lake land you just want to pick up CSV, parquet, whatever… but it doesn't really fit into either a query or view definition." (7 Apr)

Nikolai: "If we bring Athena tables, those are non‑view‑definition tables, but they will participate in the queries, and we need some way to describe this — external tables… just some kind of tables which are coming from outside." (12 May)

@niquola
niquola / binary-security-context-ru.md
Created September 1, 2026 08:54
Binary.securityContext — семантика авторизации и обсуждение в FHIR Zulip

Binary.securityContext: применение контекста безопасности к Binary

Краткий вывод

Наша интерпретация соответствует смыслу элемента и обсуждениям в FHIR Zulip:

При операции над Binary сервер должен применить проверки авторизации, соответствующие ресурсу, указанному в Binary.securityContext.

Для чтения это можно выразить так:

@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?