FirelyTeam / firely-cql-sdk

BSD 3-Clause "New" or "Revised" License
31 stars 17 forks source link

Measure library creation overwriting the library resource file. Measure output incomplete. #516

Open richfirely opened 2 months ago

richfirely commented 2 months ago

Describe the bug When compiling libraries with the packager, if the library is also a measure, it will overwrite the FHIR library resource file. Measures should be written to a different filename or folder. ResourcePackager.cs CreateMeasureResource.

We should also produce the full and correct measure FHIR resource.

To Reproduce Steps to reproduce the behavior: Compile elm that is both a library and a measure. Notice only the measure is created.

Version used: 2.0 branches.

⚠️ Must be discussed at September WGM as this is not per spec.

baseTwo commented 4 days ago

Reopened - see comments https://github.com/FirelyTeam/firely-cql-sdk/pull/531#issuecomment-2385481213