@medplum/fhirtypes 2.1.10 → 2.1.11
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/dist/BackboneElement.d.ts +33 -0
- package/dist/Expression.d.ts +1 -1
- package/dist/IdentityProvider.d.ts +12 -0
- package/dist/MoneyQuantity.d.ts +2 -3
- package/dist/Reference.d.ts +2 -1
- package/dist/SimpleQuantity.d.ts +1 -1
- package/package.json +21 -21
|
@@ -5,11 +5,44 @@
|
|
|
5
5
|
|
|
6
6
|
import { Extension } from './Extension';
|
|
7
7
|
|
|
8
|
+
/**
|
|
9
|
+
* Base definition for all elements that are defined inside a resource -
|
|
10
|
+
* but not those in a data type.
|
|
11
|
+
*/
|
|
8
12
|
export interface BackboneElement {
|
|
9
13
|
|
|
14
|
+
/**
|
|
15
|
+
* Unique id for the element within a resource (for internal references).
|
|
16
|
+
* This may be any string value that does not contain spaces.
|
|
17
|
+
*/
|
|
10
18
|
id?: string;
|
|
11
19
|
|
|
20
|
+
/**
|
|
21
|
+
* May be used to represent additional information that is not part of
|
|
22
|
+
* the basic definition of the element. To make the use of extensions
|
|
23
|
+
* safe and manageable, there is a strict set of governance applied to
|
|
24
|
+
* the definition and use of extensions. Though any implementer can
|
|
25
|
+
* define an extension, there is a set of requirements that SHALL be met
|
|
26
|
+
* as part of the definition of the extension.
|
|
27
|
+
*/
|
|
12
28
|
extension?: Extension[];
|
|
13
29
|
|
|
30
|
+
/**
|
|
31
|
+
* May be used to represent additional information that is not part of
|
|
32
|
+
* the basic definition of the element and that modifies the
|
|
33
|
+
* understanding of the element in which it is contained and/or the
|
|
34
|
+
* understanding of the containing element's descendants. Usually
|
|
35
|
+
* modifier elements provide negation or qualification. To make the use
|
|
36
|
+
* of extensions safe and manageable, there is a strict set of governance
|
|
37
|
+
* applied to the definition and use of extensions. Though any
|
|
38
|
+
* implementer can define an extension, there is a set of requirements
|
|
39
|
+
* that SHALL be met as part of the definition of the extension.
|
|
40
|
+
* Applications processing a resource are required to check for modifier
|
|
41
|
+
* extensions.
|
|
42
|
+
*
|
|
43
|
+
* Modifier extensions SHALL NOT change the meaning of any elements on
|
|
44
|
+
* Resource or DomainResource (including cannot change the meaning of
|
|
45
|
+
* modifierExtension itself).
|
|
46
|
+
*/
|
|
14
47
|
modifierExtension?: Extension[];
|
|
15
48
|
}
|
package/dist/Expression.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export interface Expression {
|
|
|
44
44
|
/**
|
|
45
45
|
* The media type of the language for the expression.
|
|
46
46
|
*/
|
|
47
|
-
language?:
|
|
47
|
+
language?: 'text/cql' | 'text/fhirpath' | 'application/x-fhir-query';
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
50
|
* An expression in the specified language that returns a value.
|
|
@@ -18,6 +18,13 @@ export interface IdentityProvider {
|
|
|
18
18
|
*/
|
|
19
19
|
tokenUrl?: string;
|
|
20
20
|
|
|
21
|
+
/**
|
|
22
|
+
* Client Authentication method used by Clients to authenticate to the
|
|
23
|
+
* Authorization Server when using the Token Endpoint. If no method is
|
|
24
|
+
* registered, the default method is client_secret_basic.
|
|
25
|
+
*/
|
|
26
|
+
tokenAuthMethod?: 'client_secret_basic' | 'client_secret_post';
|
|
27
|
+
|
|
21
28
|
/**
|
|
22
29
|
* Remote URL for the external Identity Provider userinfo endpoint.
|
|
23
30
|
*/
|
|
@@ -33,6 +40,11 @@ export interface IdentityProvider {
|
|
|
33
40
|
*/
|
|
34
41
|
clientSecret?: string;
|
|
35
42
|
|
|
43
|
+
/**
|
|
44
|
+
* Optional flag to use PKCE in the token request.
|
|
45
|
+
*/
|
|
46
|
+
usePkce?: boolean;
|
|
47
|
+
|
|
36
48
|
/**
|
|
37
49
|
* Optional flag to use the subject field instead of the email field.
|
|
38
50
|
*/
|
package/dist/MoneyQuantity.d.ts
CHANGED
|
@@ -6,9 +6,8 @@
|
|
|
6
6
|
import { Extension } from './Extension';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* (system = "urn:iso:std:iso:4217" - currency).
|
|
9
|
+
* An amount of money. With regard to precision, see [Decimal
|
|
10
|
+
* Precision](datatypes.html#precision)
|
|
12
11
|
*/
|
|
13
12
|
export interface MoneyQuantity {
|
|
14
13
|
|
package/dist/Reference.d.ts
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
import { Extension } from './Extension';
|
|
7
7
|
import { Identifier } from './Identifier';
|
|
8
8
|
import { Resource } from './Resource';
|
|
9
|
+
import { ResourceType } from './ResourceType';
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
12
|
* A reference from one resource to another.
|
|
@@ -51,7 +52,7 @@ export interface Reference<T extends Resource = Resource> {
|
|
|
51
52
|
* only allowed for logical models (and can only be used in references in
|
|
52
53
|
* logical models, not resources).
|
|
53
54
|
*/
|
|
54
|
-
type?:
|
|
55
|
+
type?: ResourceType;
|
|
55
56
|
|
|
56
57
|
/**
|
|
57
58
|
* An identifier for the target resource. This is used when there is no
|
package/dist/SimpleQuantity.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,26 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medplum/fhirtypes",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.11",
|
|
4
4
|
"description": "Medplum FHIR Type Definitions",
|
|
5
|
-
"author": "Medplum <hello@medplum.com>",
|
|
6
|
-
"license": "Apache-2.0",
|
|
7
|
-
"homepage": "https://www.medplum.com/",
|
|
8
|
-
"repository": {
|
|
9
|
-
"type": "git",
|
|
10
|
-
"url": "https://github.com/medplum/medplum.git",
|
|
11
|
-
"directory": "packages/fhirtypes"
|
|
12
|
-
},
|
|
13
|
-
"engines": {
|
|
14
|
-
"node": ">=18.0.0"
|
|
15
|
-
},
|
|
16
|
-
"scripts": {
|
|
17
|
-
"clean": "",
|
|
18
|
-
"build": "",
|
|
19
|
-
"test": ""
|
|
20
|
-
},
|
|
21
|
-
"main": "",
|
|
22
|
-
"types": "dist/index.d.ts",
|
|
23
|
-
"sideEffects": false,
|
|
24
5
|
"keywords": [
|
|
25
6
|
"medplum",
|
|
26
7
|
"fhir",
|
|
@@ -35,5 +16,24 @@
|
|
|
35
16
|
"stu3",
|
|
36
17
|
"r4",
|
|
37
18
|
"normative"
|
|
38
|
-
]
|
|
19
|
+
],
|
|
20
|
+
"homepage": "https://www.medplum.com/",
|
|
21
|
+
"repository": {
|
|
22
|
+
"type": "git",
|
|
23
|
+
"url": "git+https://github.com/medplum/medplum.git",
|
|
24
|
+
"directory": "packages/fhirtypes"
|
|
25
|
+
},
|
|
26
|
+
"license": "Apache-2.0",
|
|
27
|
+
"author": "Medplum <hello@medplum.com>",
|
|
28
|
+
"sideEffects": false,
|
|
29
|
+
"main": "",
|
|
30
|
+
"types": "dist/index.d.ts",
|
|
31
|
+
"scripts": {
|
|
32
|
+
"build": "",
|
|
33
|
+
"clean": "",
|
|
34
|
+
"test": ""
|
|
35
|
+
},
|
|
36
|
+
"engines": {
|
|
37
|
+
"node": ">=18.0.0"
|
|
38
|
+
}
|
|
39
39
|
}
|