@openfn/language-fhir-4 0.2.0 → 0.2.2
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/package.json +3 -3
- package/types/Adaptor.d.ts +2 -1
- package/types/builders.d.ts +6878 -7946
- package/types/util.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openfn/language-fhir-4",
|
|
3
3
|
"label": "FHIR r4",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.2",
|
|
5
5
|
"description": "OpenFn FHIR r4 adaptor",
|
|
6
6
|
"author": "Open Function Group",
|
|
7
7
|
"license": "LGPLv3",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"fhir": {
|
|
10
10
|
"specUrl": "https://hl7.org/fhir/R4B/definitions.json.zip",
|
|
11
|
-
"adaptorGeneratedDate": "2025-
|
|
11
|
+
"adaptorGeneratedDate": "2025-10-22T09:37:48.441Z",
|
|
12
12
|
"generatorVersion": "0.3.0",
|
|
13
13
|
"options": {
|
|
14
14
|
"simpleBuilders": true
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"fhir": "^4.12.0",
|
|
21
21
|
"swc-loader": "^0.2.6",
|
|
22
22
|
"tsx": "^4.19.2",
|
|
23
|
-
"@openfn/language-common": "3.1.
|
|
23
|
+
"@openfn/language-common": "3.1.2"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@types/mocha": "^10.0.10",
|
package/types/Adaptor.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* @returns Operation
|
|
11
11
|
*/
|
|
12
12
|
export declare function read(reference: string): (state: any) => Promise<any>;
|
|
13
|
-
|
|
13
|
+
type SearchQuery = {
|
|
14
14
|
/** k/v pairs. Can do stuff like given:contains=eve and [parameter]=ge2013-03-14. So the parameter can have criteria */
|
|
15
15
|
query?: Record<string, string>;
|
|
16
16
|
filter?: Record<string, string>;
|
|
@@ -62,6 +62,7 @@ export declare function update(reference: string, resource: any): (state: any) =
|
|
|
62
62
|
* Delete a single FHIR resource.
|
|
63
63
|
* @public
|
|
64
64
|
* @function
|
|
65
|
+
* @alias delete
|
|
65
66
|
* @param {string} reference - The type and ID of the resource to delete, eg, `Patient/123`
|
|
66
67
|
* @state response - the HTTP response returned by the server.
|
|
67
68
|
* @example <caption>Delete a single Patient resource</caption>
|