exporting-to-fhir

仓库创建 2025年10月4日最近提交 3 小时前SkillHot 收录 3 小时前
▸ 精选理由

把NER结果结构化为可交换的FHIR资源,便于下游系统接入。

▸ 风险提示

需保证实体映射的临床准确性与术语编码合规。

这个 Skill 做什么

将OpenMed的实体输出封装为FHIR R4资源(Condition等)并编码。

把 openmed.analyze_text 抽出的实体(NER spans)包装成合规的 FHIR R4 资源(如 Condition、MedicationStatement、Observation),生成 CodeableConcept、确定性 fullUrl 并产出 OperationOutcome 报告。在完成实体抽取后、需要把结果以标准 FHIR JSON 回写 EHR 或做互操作时使用。内置 openmed.clinical.exporters,能生成带 RxNorm/LOINC/ICD-10/SNOMED 编码的可验证资源。

▸ 展开 SKILL.md 英文原文

Convert OpenMed NER output (entities from openmed.analyze_text) into FHIR R4 resources — Condition, MedicationStatement, Observation — using OpenMed's built-in FHIR R4 export helpers in openmed.clinical.exporters. Covers the verified CodeableConcept builder (coding, codeable_concept, system_uri), deterministic fullUrl references, and OperationOutcome reporting. Use after running OpenMed NER when the user wants standards-conformant FHIR JSON, mentions FHIR, Condition/Observation/MedicationStatement, CodeableConcept, RxNorm/LOINC/ICD-10/SNOMED coding, or interoperability with an EHR. Pairs after extracting-clinical-entities; feeds assembling-fhir-bundles and validating-us-core.

垂直行业NER转FHIRCodeableConcept互操作性R4通用
4.7k
Stars
581
Forks
40
仓库内 Skill
积累中
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/maziyarpanahi/openmed/master/skills/exporting-to-fhir/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/maziyarpanahi/openmed/master/skills/exporting-to-fhir/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Exporting to FHIR

OpenMed's NER (`openmed.analyze_text`) returns spans — text, label, offsets,
confidence. To make those spans interoperable you wrap each clinically relevant
span in a **FHIR R4 resource** (`Condition`, `MedicationStatement`,
`Observation`, ...) carrying a coded `CodeableConcept`. OpenMed ships the
**mechanical** R4 export helpers for this in `openmed.clinical.exporters`; you
own the small amount of clinical mapping (which span becomes which resource).

## When to use

Use this after NER, when the consumer is a FHIR system (an EHR, a registry, a
data lake on FHIR). Reach for it when the user says "export to FHIR", "make a
Condition/Observation", "build a CodeableConcept",
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有