cqframework / clinical_quality_language

Clinical Quality Language (CQL) is an HL7 specification for the expression of clinical knowledge that can be used within both the Clinical Decision Support (CDS) and Clinical Quality Measurement (CQM) domains. This repository contains complementary tooling in support of that specification.
https://confluence.hl7.org/display/CDS/Clinical+Quality+Language
Apache License 2.0
267 stars 123 forks source link

Retrieval of DomainResource should warn/error #1392

Closed jbyrdevans closed 3 months ago

jbyrdevans commented 4 months ago

Expectation is that DomainResource type should not be retrievable since it is an abstract resource. No warnings/errors encountered with the following CQL:

library Foo

using FHIR version '4.0.1'

include FHIRHelpers version '4.1.000'

context Patient

define "Bar":
  [DomainResource] // should be marked non-retrievable, should give error/warning in translator