跳到正文

D001 医疗数据接收与清单整理

检查本地医疗数据包的文件格式、数据表、文档类型、关联字段与敏感信息风险,形成可供后续处理的数据清单。

个人 Skill知识加工10 个文件浏览次数 1
开始使用

下载前阅读 SKILL.md 中的使用条件,并确认所用工具支持对应能力。

输入资料
Accept one local file or directory representing a medical-data package.Typical examples: Hospital exports: HIS / EMR / LIS / PACS extracts FHIR JSON/XML resources or Bundles OMOP-style CSV tables HL7 v2 text messages CSV… 阅读本节完整说明
交付内容
Always produce: source_manifest.json intake_report.md Prefer creating them under:./runs/haonan-d001/<case-key>/The machine-readable contract is defined in assets/source_manifest.schema.json and explained in references/so… 阅读本节完整说明
  1. 获取完整包,保留配套文件的目录结构。
  2. 按照原文准备所需工具、依赖与输入资料。
  3. 阅读对应使用步骤与输入输出说明,在自己的环境中验证结果。

使用提示摘自原文,配套文件保留来源版本;实际运行条件以各包说明为准。

正文

获取原文件

references/source-manifest-contract.md

SourceManifest is the output contract for haonan-d001-clinical-data-intake. It is a local restricted artifact and may contain operational path metadata such as filenames. It must not be treated as de-identified data.

Purpose

The manifest describes the package without interpreting clinical meaning. It supports later skills that need to know:

  • what files exist;
  • which formats are present;
  • which files appear structured;
  • what columns exist;
  • which fields may link patients, encounters, specimens, or orders;
  • which surfaces may contain PHI;
  • what unsafe or ambiguous content was found;
  • what remains unresolved.

Core fields

package_id

Stable identifier derived from the package fingerprint for the current intake snapshot. It is not a patient identifier.

input_root

Contains a local package name and fingerprint. Absolute paths are omitted by design.

files[]

One entry per inventoried file. relative_path is local operational metadata and can itself contain identifiers if a source system used patient names in filenames. Keep the manifest local until PHI review.

structured_tables[]

A header-only/shape-only profile. D001 must not place row samples or patient values here.

candidate_linkage

Suggests possible linkage fields based on names and structural co-occurrence. It does not assert PK/FK validity. D002 must verify uniqueness, cardinality, orphans, and join behavior.

phi_risk_surfaces

Lists column names likely to contain direct identifiers, quasi-identifiers, or narrative text. It does not claim that PHI is present in every listed column.

risks[]

Operational/security findings such as scripts, macro documents, credential files, archives, external symlinks, or a truncated inventory.

unresolved_items[]

Anything D001 could not safely establish.

intake_status

  • ready_for_schema_profiling: structured sources exist and should proceed to D002.
  • ready_for_phi_gate: no meaningful structured table was found; document/text processing should proceed through D003 first.
  • needs_manual_review: readable package, but intake ambiguity or safety risk requires review.
  • blocked: D001 could not establish a safe/reliable inventory.

Privacy rule

SourceManifest is intentionally value-minimized, not de-identified.

Never add:

  • patient-row samples;
  • note excerpts;
  • names;
  • MRNs;
  • phone numbers;
  • addresses;
  • free-text previews;
  • credentials.

Versioning

Breaking changes require a new schema_version. Downstream skills must reject unsupported schema versions rather than guessing.

CONTACT HAONAN

联系haonan

医疗 AI · 产品与独立开发

刘浩南

关注医疗 AI 从 demo 到真实落地,聚焦产品化、商业化与院内工作流效率提升。

12年医疗产研经验,大湾区头部医疗AI公司前产品总监,独立开发者

医疗 AI 产品化医疗 AI 商业化院内工作流效率
刘浩南的微信联系二维码
微信扫一扫,联系 haonan