FHIR / FHIR/GoFSH

Incorrect translations of cross-version extensions

Đang mở
#280 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
40
Fork
7
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

If source JSON uses cross-version extensions, GoFSH recognizes it enough to emit an error saying to add the extension to your dependencies, but does not add it for you. As a result, when a profile specifies a cross-version extension, GoFSH incorrectly translates it as an inline extension instead of a standalone extension.

Unfortunately, specifying the cross-version dependency on the commandline (e.g., `-d hl7.fhir.extensions.r5@4.0.1`) also does not work, as GoFSH apparently doesn't know how to load that virtual package (because it's actually quite complicated).

Probably the best way to handle this is to detect cross-version extensions in an optimizer and convert them to standalone extensions in profiles even if it doesn't know the definition. And it should add the relevant cross-version dependency to the config.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.