Skip to content

CodeSystem name is not supported #1591

@elsaperelli

Description

@elsaperelli

While addressing this cql-execution Issue, I noticed that the translator doesn't recognize CodeSystem.name, which was introduced in CQL 1.5: https://cql.hl7.org/09-b-cqlreference.html#codesystem.

When I try translating the following CQL, I get the following Error: "Member name not found for type System.CodeSystem".

codesystem "MyCS": "http://example.com" version '1'
define function GetCodeSystemName(cs CodeSystem): cs.name
define MyCSName: GetCodeSystemName(MyCS)

I also tried the following CQL and got the same error:

define CanConstructCS: exists (
    (CodeSystem { id: 'foo', version: '1', name: 'Foo' }) CS
      where CS.id = 'foo' and version = '1' and name = 'Foo'
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions