@haste-health/generated-ops 0.12.3
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/README.md +14 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +3 -0
- package/lib/index.js.map +1 -0
- package/lib/r4/ops.d.ts +741 -0
- package/lib/r4/ops.js +5184 -0
- package/lib/r4/ops.js.map +1 -0
- package/package.json +40 -0
package/README.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Generated Operations
|
|
2
|
+
|
|
3
|
+
Generated Operation classes based on OperationDefintions found in load-artifacts (covers hl7 and haste-health operations).
|
|
4
|
+
Provides utility methods to validate parameters and parses parameters from simple javascript maps using internally stored OperationDefinition.
|
|
5
|
+
|
|
6
|
+
## Usage
|
|
7
|
+
|
|
8
|
+
```typescript
|
|
9
|
+
import httpClient from "@haste-health/client/http";
|
|
10
|
+
import { ValueSetExpand } from "./ops.js";
|
|
11
|
+
|
|
12
|
+
const client = httpClient(configuration);
|
|
13
|
+
const response = await client.invoke_system(ValueSetExpand.Op, ctx, { url: "value-set-url" }))
|
|
14
|
+
```
|
package/lib/index.d.ts
ADDED
package/lib/index.js
ADDED
package/lib/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,aAAa,CAAC;AAElC,OAAO,EAAE,EAAE,EAAE,CAAC"}
|