-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ModelInfo for singular elements derived from plural ones #427
Comments
Same issue as #428 as I'm facing this error when trying to build the ModelInfo. This seems to be due to an now outdated library that we rely on.
|
When a profile changes cardinality of a plural element to singular, the ModelInfo outputs the element in the profile as a singular element, rather than as a List of elements. This results in run-time errors because the underlying classes still have the plural modeling based on the ancestor profile and ultimately resource definition.
The issue was reported on the translator here (for QICore 4.1.1):
cqframework/clinical_quality_language#1136
The issue was addressed there by manually updating the MedicationNotRequested.reasonCode element to be plural, but the tooling in general should not reduce cardinality of derived elements to avoid this runtime issue.
The text was updated successfully, but these errors were encountered: