HL7 FHIR code systems on OCL are missing their nested concepts (concept-map-equivalence has 2 of 10 codes)
还没有人认领这个 Issue。
评估
调研方向
Start with core/code_systems/serializers.py, especially CodeSystemConceptSerializer and CodeSystemDetailSerializer.create/update, to trace how FHIR CodeSystem concepts are written. Check the existing tests for nested concepts, then verify the HL7 code systems and value sets against the acceptance criteria, including $validate-code for wider. Done means nested concepts and parent relationships are saved, duplicate listings are addressed, and the specified R4 and R5 resources validate.
由索引模型根据 Issue 内容生成。
描述
Found while following up OpenConceptLab/ocl_issues#2924.
OCL's copy of HL7's R4 ConceptMap equivalence code system (/orgs/HL7/sources/concept-map-equivalence/, loaded 2021-08-19) holds only relatedto and unmatched, its two top-level codes. The eight codes nested under them (equivalent, equal, wider, subsumes, narrower, specializes, inexact, disjoint) are missing. Its value set (/orgs/HL7/collections/concept-map-equivalence/) has no references, so it expands to nothing. Since OpenConceptLab/oclapi2#956, OCL's $translate returns these codes, so OCL can't validate its own answers. R5's concept-map-relationship isn't loaded.
The cause looks general. issue-type also has only its 5 top-level codes out of about 30. The FHIR CodeSystem write still ignores nested concept elements, because CodeSystemConceptSerializer (core/code_systems/serializers.py) reads only code, display, definition, designation and property. Version 4.0.1 of these HL7 code systems also lists each concept twice, in the native API and the FHIR read alike. For example, administrative-gender lists 8 entries for its 4 codes, and resource-types reports a count of 296 and lists each code twice.
Acceptance criteria
- A FHIR CodeSystem write keeps nested concepts: each child becomes a concept, with its parent recorded in OCL's hierarchy.
-
HL7/concept-map-equivalenceholds R4's 10 codes with their displays, each listed once, in a released 4.0.1 version.HL7/collections/concept-map-equivalencereferences them and expands to the 10. - R5's
concept-map-relationshipcode system and value set (5.0.0) are loaded under HL7. - The HL7 org's other code systems (270 sources) are checked for missing nested concepts and duplicate listings. The affected ones are reloaded, or listed on this ticket.
- On openconceptlab.org,
$validate-codeofwideragainsthttp://hl7.org/fhir/ValueSet/concept-map-equivalenceanswers true.
Components: core/code_systems/serializers.py (CodeSystemConceptSerializer, CodeSystemDetailSerializer.create/update); content in the HL7 org.
- 主要语言
- 没有语言数据
- 星标
- 4
- 派生
- 2
- 平均合并
- 2 小时 12 分钟
- 30 天内合并 PR
- 1
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
OpenConceptLab/ocl_issues 的其他 Issue
-
component/fhir type/bug
难度 2/5 1-3 小时 新手友好度 82/100
OpenConceptLab/ocl_issues#3026 ·
-
component/api decision/human-review signal/needs-access signal/quick-win signal/small-scope signal/well-specified stage/triaged type/bug
难度 2/5 1-3 小时 新手友好度 72/100
OpenConceptLab/ocl_issues#3012 · 2 条评论 ·
-
component/design-system decision/ai-ready signal/low-risk signal/quick-win signal/small-scope signal/well-specified stage/triaged type/docs
难度 2/5 半天 新手友好度 70/100
OpenConceptLab/ocl_issues#2983 · 1 条评论 ·
-
component/mapper decision/ai-ready signal/low-risk signal/quick-win signal/small-scope signal/well-specified stage/triaged type/bug
难度 2/5 1-3 小时 新手友好度 78/100
OpenConceptLab/ocl_issues#2966 · 2 条评论 ·
-
component/mapper component/web decision/human-review signal/low-risk signal/needs-human signal/quick-win signal/small-scope signal/well-specified stage/triaged type/bug
难度 2/5 1-3 小时 新手友好度 76/100
OpenConceptLab/ocl_issues#2920 · 1 条评论 ·
查看 OpenConceptLab/ocl_issues 的全部 Issue
相似的 Issue
-
needs-triage
难度 2/5 1-3 小时 新手友好度 72/100
coder/claudecode.nvim#587 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
digitalbazaar/http-client#60 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
fivetran/dbt_recurly#55 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
topmonks/hlidac-shopu#3687 ·
维护者通常 1 天内回复
-
bug lane: fast
难度 2/5 1-3 小时 新手友好度 76/100
unicef/adt-studio#1109 ·
维护者通常 2 天内回复