@openfn/language-fhir-fr 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/LICENSE +674 -0
- package/LICENSE.LESSER +165 -0
- package/README.md +31 -0
- package/ast.json +525 -0
- package/configuration-schema.json +64 -0
- package/dist/index.cjs +11797 -0
- package/dist/index.js +11787 -0
- package/package.json +57 -0
- package/types/Adaptor.d.ts +1 -0
- package/types/index.d.ts +6 -0
- package/types/utils.d.ts +21 -0
package/package.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@openfn/language-fhir-fr",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "OpenFn fhir-fr adaptor",
|
|
5
|
+
"author": "Open Function Group",
|
|
6
|
+
"license": "LGPLv3",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"fhir": {
|
|
9
|
+
"spec": "https://hl7.fr/ig/fhir/core/2.0.0/definitions.json.zip",
|
|
10
|
+
"adaptorGeneratedDate": "2024-11-28T13:38:53.488Z",
|
|
11
|
+
"name": "hl7.fhir.fr.core",
|
|
12
|
+
"specVersion": "4.0.1",
|
|
13
|
+
"specDate": "2024-03-25"
|
|
14
|
+
},
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"@openfn/language-common": "2.1.1"
|
|
17
|
+
},
|
|
18
|
+
"devDependencies": {
|
|
19
|
+
"assertion-error": "2.0.0",
|
|
20
|
+
"chai": "4.3.6",
|
|
21
|
+
"deep-eql": "4.1.1",
|
|
22
|
+
"esno": "^0.16.3",
|
|
23
|
+
"mocha": "^10.7.3",
|
|
24
|
+
"rimraf": "3.0.2",
|
|
25
|
+
"undici": "^5.22.1"
|
|
26
|
+
},
|
|
27
|
+
"repository": {
|
|
28
|
+
"type": "git",
|
|
29
|
+
"url": "https://github.com/openfn/adaptors.git"
|
|
30
|
+
},
|
|
31
|
+
"types": "types/index.d.ts",
|
|
32
|
+
"main": "dist/index.cjs",
|
|
33
|
+
"exports": {
|
|
34
|
+
".": {
|
|
35
|
+
"import": "./dist/index.js",
|
|
36
|
+
"types": "./types/index.d.ts",
|
|
37
|
+
"require": "./dist/index.cjs"
|
|
38
|
+
},
|
|
39
|
+
"./package.json": "./package.json"
|
|
40
|
+
},
|
|
41
|
+
"files": [
|
|
42
|
+
"dist/",
|
|
43
|
+
"types/",
|
|
44
|
+
"ast.json",
|
|
45
|
+
"configuration-schema.json"
|
|
46
|
+
],
|
|
47
|
+
"scripts": {
|
|
48
|
+
"build": "pnpm clean && build-adaptor fhir-fr",
|
|
49
|
+
"build:src": "pnpm generate-fhir fhir-fr",
|
|
50
|
+
"build:spec": "pnpm generate-fhir fhir-fr --respec",
|
|
51
|
+
"test": "mocha --experimental-specifier-resolution=node --no-warnings",
|
|
52
|
+
"test:watch": "mocha -w --experimental-specifier-resolution=node --no-warnings",
|
|
53
|
+
"clean": "rimraf dist types docs",
|
|
54
|
+
"pack": "pnpm pack --pack-destination ../../dist",
|
|
55
|
+
"lint": "eslint src"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { dataPath, dataValue, dateFns, cursor, each, field, fields, fn, lastReferenceValue, merge, sourceValue } from "@openfn/language-common";
|
package/types/index.d.ts
ADDED
package/types/utils.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export function mapSystems(obj: any): any;
|
|
2
|
+
export function setSystemMap(newMappings: any): void;
|
|
3
|
+
export function identifier(input: any, system?: string): any;
|
|
4
|
+
export function id(input: any, system?: string): any;
|
|
5
|
+
export function addExtension(resource: any, url: string, value: any): void;
|
|
6
|
+
export function findExtension(obj: any, targetUrl: string, path?: string): any;
|
|
7
|
+
export function coding(code: string, system: string): {
|
|
8
|
+
code: string;
|
|
9
|
+
system: any;
|
|
10
|
+
};
|
|
11
|
+
export function concept(text: any, ...codings: any[]): {
|
|
12
|
+
text: string;
|
|
13
|
+
coding: any[];
|
|
14
|
+
};
|
|
15
|
+
export function cc(text: any, ...codings: any[]): {
|
|
16
|
+
text: string;
|
|
17
|
+
coding: any[];
|
|
18
|
+
};
|
|
19
|
+
export function reference(ref: any, opts: any): any;
|
|
20
|
+
export function ref(ref: any, opts: any): any;
|
|
21
|
+
export function composite(object: any, key: string, value: any): void;
|