ZI

zib-fhir-generator

Creates technical FHIR artifacts for Zorginformatiebouwstenen (ZIB) automatically.

Install

mkdir -p .claude/skills/zib-fhir-generator && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/14339" && unzip -o skill.zip -d .claude/skills/zib-fhir-generator && rm skill.zip

Installs to .claude/skills/zib-fhir-generator

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Generates ViewDefinition, StructureDefinition (must-support), and markdown intro files from a ZIB FHIR profile URL or canonical (e.g. zib-Alert). Use this when asked to create technical artifacts for Zorginformatiebouwstenen (ZIBs) in FHIR.
240 chars✓ has a “when” trigger
Intermediate

Key capabilities

  • Generate ViewDefinition files from ZIB FHIR profiles
  • Generate StructureDefinition files with must-support flags
  • Generate markdown intro files for ZIB FHIR profiles
  • Map ZIB elements to FHIR paths
  • Retrieve example instances from simplifier.net

How it works

The skill identifies the ZIB and base resource from a given FHIR profile, maps ZIB elements to FHIR paths, and then generates JSON files for StructureDefinition and ViewDefinition, along with a markdown intro file, ensuring consistency and compliance with Zorgviewer-specific FHIR artifacts.

Inputs & outputs

You give it
a ZIB FHIR profile URL or canonical name (e.g., zib-Alert)
You get back
ViewDefinition, StructureDefinition, and markdown intro files

When to use zib-fhir-generator

  • Generating ZIB-compliant FHIR artifacts
  • Creating must-support StructureDefinitions
  • Mapping ZIB elements to FHIR paths

About this skill

ZIB FHIR Generator

Overview

This skill automates the creation of Zorgviewer-specific FHIR artifacts based on Nictiz ZIB profiles. It ensures consistency across ViewDefinitions, StructureDefinitions with Must-Support flags, and documentation intros.

Constraints

  • Only search for definitions on zibs.nl and simplifier.net.
  • Use FHIR STU3 as the base version for all generated artifacts and FHIR R4 when a STU3 version is not available.
  • Generate only the templated files for the specified ZIB, without creating or changing additional includes or unrelated artifacts.
  • Use only the codes defined in the ZIB profiles for mapping.
  • Ensure that query code parameters are included in the ViewDefinition's where clause for accurate data retrieval.
  • Retrieve example instances from simplifier.net and save them in input/examples/<ZibName>-Nictiz.json for reference.

Workflow

When given a ZIB FHIR profile (e.g., http://nictiz.nl/fhir/StructureDefinition/zib-Alert):

  1. Identify the ZIB and Base Resource: Determine the ZIB name (e.g., Alert) and the underlying FHIR resource type (e.g., Flag).
  2. Map ZIB Elements to FHIR Paths: Identify the key elements in the ZIB and their corresponding FHIR paths in the Nictiz profile.
  3. Generate Artifacts:
    • StructureDefinition: Create a JSON file that inherits from the Nictiz profile and adds mustSupport: true to the key ZIB elements.
    • ViewDefinition: Create a JSON file using the SQL-on-FHIR ViewDefinition resource, mapping FHIR paths to ZIB elements for the Zorgviewer UI.
    • Markdown Intro: Create a markdown file following the standard template with links to the ZIB wiki and the ViewDefinition.

Artifact Guidelines

Refer to references/templates.md for the exact structure and placeholders for each file.

Mapping Principles

  • StructureDefinition: Use derivation: constraint and set mustSupport: true only for elements that are essential for the Zorgviewer display.
  • ViewDefinition:
    • Always include the "Bron" (Source) column as the first column.
    • Use iif(exists(...), ...) or | (choice) for flexible path mapping (e.g., code.text | code.coding[0].display).
    • Include ZIB element names in the tag field for traceability.

File Naming Convention

  • input/profiles/StructureDefinition-<ZibName>.json
  • input/images/ViewDefinition-<ZibName>.json
  • input/intro-notes/StructureDefinition-<ZibName>-intro.md

Where <ZibName> is the name of the Zorginformatiebouwsteen (e.g., Alert, Mobiliteit, Probleem).

Example: zib-Alert

User Request: "Maak de bestanden voor zib-Alert"

Output Files:

  • input/profiles/StructureDefinition-Alert.json
  • input/images/ViewDefinition-Alert.json
  • input/intro-notes/StructureDefinition-Alert-intro.md

When not to use it

  • When searching for definitions outside zibs.nl and simplifier.net
  • When generating files for ZIBs not based on FHIR STU3 or R4
  • When creating or changing additional includes or unrelated artifacts

Limitations

  • Only searches for definitions on zibs.nl and simplifier.net
  • Uses FHIR STU3 as the base version, or R4 if STU3 is unavailable
  • Generates only templated files for the specified ZIB

How it compares

This skill automates the creation of Zorgviewer-specific FHIR artifacts from ZIB profiles, ensuring consistency and compliance, which is more efficient than manual creation.

Compared to similar skills

zib-fhir-generator side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
zib-fhir-generator (this skill)03moNo flagsIntermediate
fastapi-templates5202moNo flagsIntermediate
android-kotlin-development2685moReviewAdvanced
fastapi-pro794moNo flagsAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

fastapi-templates

wshobson

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

5201,086

android-kotlin-development

aj-geddes

Develop native Android apps with Kotlin. Covers MVVM with Jetpack, Compose for modern UI, Retrofit for API calls, Room for local storage, and navigation architecture.

268679

fastapi-pro

sickn33

Build high-performance async APIs with FastAPI, SQLAlchemy 2.0, and Pydantic V2. Master microservices, WebSockets, and modern Python async patterns. Use PROACTIVELY for FastAPI development, async optimization, or API architecture.

79181

telegram-bot-builder

davila7

Expert in building Telegram bots that solve real problems - from simple automation to complex AI-powered bots. Covers bot architecture, the Telegram Bot API, user experience, monetization strategies, and scaling bots to thousands of users. Use when: telegram bot, bot api, telegram automation, chat bot telegram, tg bot.

106130

telegram-mini-app

davila7

Expert in building Telegram Mini Apps (TWA) - web apps that run inside Telegram with native-like experience. Covers the TON ecosystem, Telegram Web App API, payments, user authentication, and building viral mini apps that monetize. Use when: telegram mini app, TWA, telegram web app, TON app, mini app.

62163

stripe-integration

wshobson

Implement Stripe payment processing for robust, PCI-compliant payment flows including checkout, subscriptions, and webhooks. Use when integrating Stripe payments, building subscription systems, or implementing secure checkout flows.

48165

Search skills

Search the agent skills registry