@openfn/language-fhir-ndr-et 0.1.1 → 0.1.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.
@@ -1,81 +0,0 @@
1
-
2
- // THIS FILE WAS AUTO-GENERATED
3
- // DO NOT MAKE CHANGES MANUALLY OR THEY WILL BE LOST
4
- // SEE THE README FILE FOR DETAILS
5
-
6
- // TODO use v4
7
- // import { HumanName } from 'fhir/r5';
8
-
9
- // Global fhir types
10
- // maybe we should use types/fhir for this
11
- // But that has its own problems and I think this is fairly simple
12
-
13
- type Identifier = {
14
- system: string;
15
- value: string;
16
- };
17
-
18
- // TODO this probably isn't complete
19
- type Meta = {
20
- profile: string[];
21
- };
22
-
23
- type Coding = {
24
- system: string;
25
- code: string;
26
- };
27
-
28
- type CodeableConcept = {
29
- coding: Coding[];
30
- text?: string;
31
- extension?: Extension[];
32
- };
33
-
34
- type Narrative = {
35
- status: string;
36
- div: string;
37
- };
38
-
39
- type BackboneElement = {
40
- extension?: Extension[];
41
- id?: string;
42
- modifierExtension?: Extension[];
43
- };
44
-
45
- type Extension = {
46
- // TODO this supports lods of value types...
47
- url: string;
48
- valueCodeableConcept: CodeableConcept;
49
- };
50
-
51
- type Reference = {
52
- display?: string;
53
- identifier?: Identifier;
54
- reference?: string;
55
- type?: string;
56
- };
57
-
58
- type Period = {
59
- start: 'string';
60
- end: 'string';
61
- };
62
-
63
- type Resource = {
64
- resourceType: string;
65
- id?: string;
66
- implicitRules?: string;
67
- language?: string;
68
- meta?: Meta;
69
- };
70
-
71
- // TODO humanname is a bit more complex.. maybe I should be exporting from fhir after all
72
- // interface HumanName extends HN {}
73
- // type HumanName = HN;
74
-
75
- // these are stubbed exports
76
- type Duration = {};
77
- type HumanName = {};
78
- type ContactPoint = {};
79
- type Address = {};
80
- type Annotation = {};
81
- type Attachment = {};
package/types/index.d.ts DELETED
@@ -1,4 +0,0 @@
1
- import './builders';
2
- export * as util from './utils';
3
- export * as builders from './builders';
4
- export * as b from './builders';
package/types/utils.d.ts DELETED
@@ -1,21 +0,0 @@
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;