generate-types

Official

Automate FHIR type generation for efficient development and maintenance.

AuthorHealthSamurai
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill streamlines the creation and updating of FHIR types, enhancing the efficiency of development and maintenance processes.

Core Features & Use Cases

  • FHIR Type Generation: Automatically generates FHIR types using @atomic-ehr/codegen with tree-shaking capabilities.
  • Resource Type Addition: Supports adding new resource types and custom StructureDefinitions to FHIR implementations.
  • Custom Resource Management: Facilitates the management of custom resources within a FHIR context.

Quick Start

To add a new FHIR resource type, follow these steps:

  1. Read the scripts/generate-types.ts script.
  2. Add the StructureDefinition URL to the treeShake section.
  3. Run the generate-types command.
  4. Update imports in code to use the generated type from src/fhir-types/.

Dependency Matrix

Required Modules

@atomic-ehr/codegen

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: generate-types
Download link: https://github.com/HealthSamurai/phr/archive/main.zip#generate-types

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.