-
Notifications
You must be signed in to change notification settings - Fork 143
Setting DataRequirement.type value in CQL library errors #856
Copy link
Copy link
Open
Labels
Description
IS: setting the DataRequirement.type value results in the following either when evaluating CQL either in the VS Code extension or through $care-gaps:
org.opencds.cqf.cql.engine.exception.DataProviderException: Configuration error encountered: Can not set org.hl7.fhir.r4.model.CodeType field org.hl7.fhir.r4.model.DataRequirement.type to org.hl7.fhir.r4.model.Enumeration
SHOULD BE:
There should be no error
REPRO:
Include the following define in a CQL file and right-click Execute CQL in VS Code:
define "DataRequirement Type Repro":
GuidanceResponse {
dataRequirement: List<FHIR.DataRequirement> {
FHIR.DataRequirement {
type: FHIR.FHIRAllTypes { value: 'Observation' }
}
}
}
Acceptance Criteria:
- The REPRO executes successfully (does not error).
Reactions are currently unavailable