example.fhir.npm.init.project3
v1.0.0
Published
Cql Content project for example fhir npm init project3
Readme
Welcome to your new CQL Content Project!
This project is generated by npm init kalm and includes starter CQL + example FHIR resources.
Getting Started
- Ensure you have installed the Smile Digital Health KALM Tools VS Code extension.
- Install dependencies:
npm i - Explore the CLI:
kalm pack --help
Note: this project depends on official HL7/FHIR packages (e.g. [email protected]), which are hosted on https://packages.simplifier.net. The generated package.json pins these to a tarball URL so npm install can still use the public npm registry by default.
More info on the FHIR package registry: https://registry.fhir.org/learn
kalm pack supports versioning and packing the CQL + FHIR resources in this project.
What Was Created
src/cql/HelloWorld.cql: example CQL you can execute and navigate.tests/data/fhir/.../simple-test.json: example Patient test data.src/fhir/library/*.json: example Library resources.
Using VS Code
Open src/cql/HelloWorld.cql and right-click a define statement to:
- Execute a single expression
- Execute the full file (all definitions)
- View dependency graphs for expressions and libraries
