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.zipInstalls 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.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
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
whereclause for accurate data retrieval. - Retrieve example instances from simplifier.net and save them in
input/examples/<ZibName>-Nictiz.jsonfor reference.
Workflow
When given a ZIB FHIR profile (e.g., http://nictiz.nl/fhir/StructureDefinition/zib-Alert):
- Identify the ZIB and Base Resource: Determine the ZIB name (e.g., Alert) and the underlying FHIR resource type (e.g., Flag).
- Map ZIB Elements to FHIR Paths: Identify the key elements in the ZIB and their corresponding FHIR paths in the Nictiz profile.
- Generate Artifacts:
- StructureDefinition: Create a JSON file that inherits from the Nictiz profile and adds
mustSupport: trueto the key ZIB elements. - ViewDefinition: Create a JSON file using the SQL-on-FHIR
ViewDefinitionresource, 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.
- StructureDefinition: Create a JSON file that inherits from the Nictiz profile and adds
Artifact Guidelines
Refer to references/templates.md for the exact structure and placeholders for each file.
Mapping Principles
- StructureDefinition: Use
derivation: constraintand setmustSupport: trueonly 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
tagfield for traceability.
File Naming Convention
input/profiles/StructureDefinition-<ZibName>.jsoninput/images/ViewDefinition-<ZibName>.jsoninput/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.jsoninput/images/ViewDefinition-Alert.jsoninput/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.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| zib-fhir-generator (this skill) | 0 | 3mo | No flags | Intermediate |
| fastapi-templates | 520 | 2mo | No flags | Intermediate |
| android-kotlin-development | 268 | 5mo | Review | Advanced |
| fastapi-pro | 79 | 4mo | No flags | Advanced |
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.
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.
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.
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.
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.
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.