Token导航 LogoToken导航TokenDH.com
开发需要联网github未标认证来源可访问许可证需确认审计异常

fhir-hl7-validatorFhir hl7 验证器

Agent Skill

fhir-hl7-validator 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

881

周安装

36

GitHub Stars

4

下载量

282
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:fhir-hl7-validator(Fhir hl7 验证器)
来源仓库:https://github.com/1mangesh1/dev-skills
仓库路径:skills/fhir-hl7-validator
安装命令:
npx skills add https://github.com/1mangesh1/dev-skills --skill fhir-hl7-validator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/1mangesh1/dev-skills --skill fhir-hl7-validator

简介

fhir-hl7-validator 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合围绕仓库状态和代码变更进行整理。

  • 适用于需要围绕仓库状态、代码变更或协作事项进行整理的场景。
  • 支持仓库状态查询、代码变更跟踪和协作事项管理。
  • 安装命令:npx skills add https://github.com/1mangesh1/dev-skills --skill fhir-hl7-validator。
  • 建议确认权限范围和维护状态后再使用。

SKILL.md

FHIR & HL7 Validator

Healthcare data format validation skill for AI agents. Validates FHIR R5 resources, HL7 v2 messages, and CDA clinical documents. Ensures healthcare data interchange compliance with HL7 standards and identifies schema violations, missing required fields, and interoperability issues.

Capabilities

  1. FHIR Validation - Validate FHIR R5 resources against official schemas
  2. HL7 Message Parsing - Parse and validate HL7 v2.x messages (ADT, ORU, OBX, RXO)
  3. CDA Document Validation - Validate Clinical Document Architecture (CDA) R2 documents
  4. Schema Compliance - Check resources against FHIR specification and UK Core
  5. Data Type Validation - Verify FHIR data types (Identifier, CodeableConcept, Reference, etc.)
  6. Reference Resolution - Validate internal and external references
  7. Cardinality Checking - Ensure required vs. optional field compliance
  8. Terminology Validation - Check value sets and coding systems (SNOMED CT, LOINC, ICD-10)
  9. Interoperability Analysis - Identify implementation guide adherence
  10. Error Reporting - Generate detailed validation error reports with remediation

Usage

/fhir-hl7-validator [command] [target] [options]

Commands

  • validate-fhir <file> - Validate FHIR JSON/XML resource
  • validate-hl7 <file> - Validate HL7 v2 message
  • validate-cda <file> - Validate CDA clinical document
  • parse-fhir <file> - Parse and display FHIR resource structure
  • parse-hl7 <file> - Parse and display HL7 segments
  • check-references <file> - Validate all resource references
  • check-terminology <file> - Validate coding systems and value sets
  • bulk-validate <directory> - Validate multiple files
  • report <output-format> - Generate validation report (JSON, markdown, HTML)

Options

  • --version <ver> - FHIR version (default: R5; also 4.0, 3.0)
  • --variant <name> - Implementation guide (e.g., uk-core, us-core)
  • --strict - Enforce must-support constraints
  • --terminology-check - Validate coding systems (enables online lookup)
  • --output <file> - Write report to file
  • --format <type> - Output format: json, markdown, html, xml

Workflow

Follow this workflow when invoked:

Step 1: Identify Healthcare Data Type

Ask user to specify:

  • Data format (FHIR, HL7 v2, CDA)
  • FHIR version or HL7 dialect
  • Implementation guide/profile (if applicable)
  • Data source (EHR, lab system, imaging system)

Step 2: Validate Structure

Check:

  • JSON/XML well-formedness
  • Required elements present
  • Data type conformance
  • Cardinality compliance (min/max occurrences)
  • Pattern and regex validation

Step 3: Semantic Validation

Verify:

  • Code system membership (SNOMED CT, LOINC, ICD-10, etc.)
  • Reference consistency (local vs. external)
  • Identifier uniqueness and format
  • Date/time format accuracy (ISO 8601)
  • Quantity unit validity

Step 4: Interoperability Check

Ensure compliance with:

  • FHIR implementation guides
  • US Core or UK Core profiles
  • HL7 message specifications
  • Clinical data interchange standards

Step 5: Generate Report

Provide:

  • List of validation errors with line numbers
  • Severity level (error, warning, info)
  • Remediation guidance
  • Reference to relevant standards

FHIR Resource Examples

Patient Resource

{
  "resourceType": "Patient",
  "id": "example",
  "identifier": [
    {
      "system": "http://example.org/medical-record",
      "value": "12345"
    }
  ],
  "name": [
    {
      "use": "official",
      "given": ["Jane"],
      "family": "Doe"
    }
  ],
  "birthDate": "1990-01-15",
  "address": [
    {
      "use": "home",
      "line": ["123 Main St"],
      "city": "Springfield",
      "state": "IL",
      "postalCode": "62701"
    }
  ]
}

Observation Resource

{
  "resourceType": "Observation",
  "id": "example",
  "status": "final",
  "code": {
    "coding": [
      {
        "system": "http://loinc.org",
        "code": "39156-5",
        "display": "BMI"
      }
    ]
  },
  "subject": {
    "reference": "Patient/example"
  },
  "valueQuantity": {
    "value": 24.5,
    "unit": "kg/m2",
    "system": "http://unitsofmeasure.org",
    "code": "kg/m2"
  }
}

HL7 v2 Segment Examples

ADT Message (Patient Admission)

MSH|^~\&|SendingApp|SendingFac|ReceivingApp|ReceivingFac|202502071350||ADT^A01|123456|P|2.5
PID^^^12345||JaneDoe||19900115|F|||123 Main St^^Springfield^IL^62701|||||||S
PV1||I|ICU^FL2^BED01|||||||||||||||||||||||||||

Common Validation Errors

ErrorCauseSolution
Missing required elementElement marked cardinality: 1..1 not presentAdd the required element
Invalid data typeValue doesn't match specified typeConvert to correct type (e.g., date to YYYY-MM-DD)
Unknown code systemCode not in specified value setUse code from official code system (SNOMED CT, LOINC)
Broken referenceReference target doesn't existVerify reference path and ID
Invalid identifier formatID format doesn't match patternFollow system-specific identifier format

Standards & Implementation Guides

References

  • Fast Healthcare Interoperability Resources (FHIR) - R5 Specification
  • HL7 Version 2.5.1 - Standard for Healthcare Data Exchange
  • Clinical Document Architecture R2 - CDA Specification
  • NIST SP 800-66 Rev. 2 - HIPAA Security Implementation Guidance
  • HL7 FHIR Implementation Guides

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.95%
按下载量换算99

Claude

30.23%
按下载量换算85

Cursor

17.15%
按下载量换算48

Gemini CLI

9.66%
按下载量换算27

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills