WorldHealthOrganization / smart-ig-starter-kit

Other
11 stars 12 forks source link

Make a decision and provide guidance on NPM vs package operation #67

Open brynrhodes opened 7 months ago

brynrhodes commented 7 months ago

We need to provide guidance for applications to determine whether to download an NPM package vs calling the $package operation (or pre-packaging $packaged operations and making those available for download).

There is concern that the NPM packages do not easily support the mobile application environment due to dependency size and inclusion of unnecessary resources in the NPM package, with no way to parameterize the package content.

costateixeira commented 7 months ago

Agree to the main point - and the NPM packages may not contain all the content (e.g. terminology like for expanding a SNOMED ValueSet) This is related to https://github.com/WorldHealthOrganization/smart-ig-starter-kit/issues/54 - I think not duplicate. To unblock, I suggest to define / mock the package (s) for key artifacts in the Measles-ig (could be any other IG but the Measles has decent QA status).

brynrhodes commented 6 months ago

We should be able to do this currently for Questionnaire with the latest release of CQF Tooling

costateixeira commented 6 months ago

@brynrhodes I ran _refresh, but no Bundles are generated. How should I try to do this?

brynrhodes commented 5 months ago

MITRE measure repository implementation has a $package: https://github.com/projecttacoma/measure-repository

brynrhodes commented 5 months ago

https://github.com/brianpos/UploadFIG/blob/d04f6bba2914cb9ecab5c6e6a847ab7464b455e9/UploadFIG/DependencyChecker.cs#L65

costateixeira commented 5 months ago

From discussion 22-Jan-2024: