@zackaustin/simple-test-npmjs-dependency-project 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.index.json ADDED
@@ -0,0 +1 @@
1
+ {"index-version":1,"files":[{"resourceType":"Library","id":"FHIRHelpers","url":"http://hl7.org/fhir/Library/FHIRHelpers","version":"1.0.2","filename":"src-fhir-library-FHIRHelpers.resource.json"},{"resourceType":"Library","id":"HelloWorld","url":"http://content.smiledigitalhealth.com/fhir/uv/simple-test-npmjs-dependency-project/Library/HelloWorld","version":"1.0.0","filename":"src-fhir-library-HelloWorld.resource.json"}]}
package/README.md ADDED
@@ -0,0 +1,35 @@
1
+ ## Welcome to your new CQL Content Project!
2
+
3
+ This project is generated by `npm init kalm` and includes starter CQL + example FHIR resources.
4
+
5
+ ### Getting Started
6
+
7
+ 1. Ensure you have installed the Smile Digital Health KALM Tools VS Code extension.
8
+ 2. Install dependencies:
9
+ ```sh
10
+ npm i
11
+ ```
12
+ 3. Explore the CLI:
13
+ ```sh
14
+ kalm pack --help
15
+ ```
16
+
17
+ Note: this project depends on official HL7/FHIR packages (e.g. `hl7.fhir.r4.core@4.0.1`), 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.
18
+
19
+ More info on the FHIR package registry: https://registry.fhir.org/learn
20
+
21
+ `kalm pack` supports versioning and packing the CQL + FHIR resources in this project.
22
+
23
+ ### What Was Created
24
+
25
+ - `src/cql/HelloWorld.cql`: example CQL you can execute and navigate.
26
+ - `tests/data/fhir/.../simple-test.json`: example Patient test data.
27
+ - `src/fhir/library/*.json`: example Library resources.
28
+
29
+ ### Using VS Code
30
+
31
+ Open `src/cql/HelloWorld.cql` and right-click a `define` statement to:
32
+
33
+ - Execute a single expression
34
+ - Execute the full file (all definitions)
35
+ - View dependency graphs for expressions and libraries
package/package.json ADDED
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "@zackaustin/simple-test-npmjs-dependency-project",
3
+ "version": "1.0.0",
4
+ "canonical": "http://content.smiledigitalhealth.com/fhir/uv/simple-test-npmjs-dependency-project",
5
+ "description": "Mock dependency for KALM dependency resolution testing.",
6
+ "dependencies": {
7
+ "hl7.fhir.core": "4.0.1"
8
+ },
9
+ "scripts": {
10
+ "test": "echo \"Error: no test specified\" && exit 1",
11
+ "prepack": "kalm pack",
12
+ "postpack": "kalm pack cleanup"
13
+ },
14
+ "files": [
15
+ "*.resource.json",
16
+ ".index.json"
17
+ ],
18
+ "author": "Smile Digital Health",
19
+ "contributors": [
20
+ "Zackary Austin"
21
+ ],
22
+ "license": "ISC",
23
+ "publishConfig": {
24
+ "registry": "https://registry.npmjs.org/",
25
+ "access": "public"
26
+ },
27
+ "kalm": {
28
+ "fhirServerUrl": "http://localhost:8002"
29
+ }
30
+ }