@medplum/definitions 0.9.3 → 0.9.6
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/fhir/r4/fhir.schema.json +7 -0
- package/dist/fhir/r4/profiles-medplum.json +10 -0
- package/dist/fhir/r4/profiles-resources.json +1 -2
- package/dist/fhir/r4/search-parameters.json +17 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +9 -9
- package/dist/types.d.ts +74 -74
- package/dist/types.js +71 -71
- package/package.json +1 -1
|
@@ -61087,6 +61087,13 @@
|
|
|
61087
61087
|
"defaultPatientAccessPolicy": {
|
|
61088
61088
|
"description": "The default access policy for patients using open registration.",
|
|
61089
61089
|
"$ref": "#/definitions/Reference"
|
|
61090
|
+
},
|
|
61091
|
+
"googleClientId": {
|
|
61092
|
+
"description": "A list of approved Google Client IDs for Google Authentication.",
|
|
61093
|
+
"items": {
|
|
61094
|
+
"$ref": "#/definitions/string"
|
|
61095
|
+
},
|
|
61096
|
+
"type": "array"
|
|
61090
61097
|
}
|
|
61091
61098
|
},
|
|
61092
61099
|
"required": [
|
|
@@ -105,6 +105,16 @@
|
|
|
105
105
|
"code" : "Reference",
|
|
106
106
|
"targetProfile" : ["https://medplum.com/fhir/StructureDefinition/AccessPolicy"]
|
|
107
107
|
}]
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"id" : "Project.googleClientId",
|
|
111
|
+
"path" : "Project.googleClientId",
|
|
112
|
+
"definition" : "A list of approved Google Client IDs for Google Authentication.",
|
|
113
|
+
"min" : 0,
|
|
114
|
+
"max" : "*",
|
|
115
|
+
"type" : [{
|
|
116
|
+
"code" : "string"
|
|
117
|
+
}]
|
|
108
118
|
}
|
|
109
119
|
]
|
|
110
120
|
}
|
|
@@ -126002,8 +126002,7 @@
|
|
|
126002
126002
|
"max" : "1"
|
|
126003
126003
|
},
|
|
126004
126004
|
"type" : [{
|
|
126005
|
-
"code" : "
|
|
126006
|
-
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/BodyStructure"]
|
|
126005
|
+
"code" : "CodeableConcept"
|
|
126007
126006
|
}],
|
|
126008
126007
|
"constraint" : [{
|
|
126009
126008
|
"key" : "ele-1",
|
|
@@ -65514,6 +65514,23 @@
|
|
|
65514
65514
|
"target" : ["User"]
|
|
65515
65515
|
}
|
|
65516
65516
|
},
|
|
65517
|
+
{
|
|
65518
|
+
"fullUrl" : "https://medplum.com/fhir/SearchParameter/Project-google-client-id",
|
|
65519
|
+
"resource" : {
|
|
65520
|
+
"resourceType" : "SearchParameter",
|
|
65521
|
+
"id" : "Project-google-client-id",
|
|
65522
|
+
"url" : "https://medplum.com/fhir/SearchParameter/Project-google-client-id",
|
|
65523
|
+
"version" : "4.0.1",
|
|
65524
|
+
"name" : "name",
|
|
65525
|
+
"publisher" : "Medplum",
|
|
65526
|
+
"code" : "google-client-id",
|
|
65527
|
+
"base" : ["Project"],
|
|
65528
|
+
"type" : "token",
|
|
65529
|
+
"expression" : "Project.googleClientId",
|
|
65530
|
+
"xpath" : "f:Project/f:googleClientId",
|
|
65531
|
+
"xpathUsage" : "normal"
|
|
65532
|
+
}
|
|
65533
|
+
},
|
|
65517
65534
|
{
|
|
65518
65535
|
"fullUrl" : "https://medplum.com/fhir/SearchParameter/ProjectMembership-project",
|
|
65519
65536
|
"resource" : {
|
package/dist/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function readJson(filename: string): any;
|
|
1
|
+
export declare function readJson(filename: string): any;
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.readJson = void 0;
|
|
4
|
-
const fs_1 = require("fs");
|
|
5
|
-
const path_1 = require("path");
|
|
6
|
-
function readJson(filename) {
|
|
7
|
-
return JSON.parse((0, fs_1.readFileSync)((0, path_1.resolve)(__dirname, filename), 'utf8'));
|
|
8
|
-
}
|
|
9
|
-
exports.readJson = readJson;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.readJson = void 0;
|
|
4
|
+
const fs_1 = require("fs");
|
|
5
|
+
const path_1 = require("path");
|
|
6
|
+
function readJson(filename) {
|
|
7
|
+
return JSON.parse((0, fs_1.readFileSync)((0, path_1.resolve)(__dirname, filename), 'utf8'));
|
|
8
|
+
}
|
|
9
|
+
exports.readJson = readJson;
|
|
10
10
|
//# sourceMappingURL=index.js.map
|
package/dist/types.d.ts
CHANGED
|
@@ -1,74 +1,74 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* List of property types.
|
|
3
|
-
* http://www.hl7.org/fhir/valueset-defined-types.html
|
|
4
|
-
* The list here includes additions found from StructureDefinition resources.
|
|
5
|
-
*/
|
|
6
|
-
export declare enum PropertyType {
|
|
7
|
-
Address = "Address",
|
|
8
|
-
Age = "Age",
|
|
9
|
-
Annotation = "Annotation",
|
|
10
|
-
Attachment = "Attachment",
|
|
11
|
-
BackboneElement = "BackboneElement",
|
|
12
|
-
CodeableConcept = "CodeableConcept",
|
|
13
|
-
Coding = "Coding",
|
|
14
|
-
ContactDetail = "ContactDetail",
|
|
15
|
-
ContactPoint = "ContactPoint",
|
|
16
|
-
Contributor = "Contributor",
|
|
17
|
-
Count = "Count",
|
|
18
|
-
DataRequirement = "DataRequirement",
|
|
19
|
-
Distance = "Distance",
|
|
20
|
-
Dosage = "Dosage",
|
|
21
|
-
Duration = "Duration",
|
|
22
|
-
Expression = "Expression",
|
|
23
|
-
Extension = "Extension",
|
|
24
|
-
HumanName = "HumanName",
|
|
25
|
-
Identifier = "Identifier",
|
|
26
|
-
MarketingStatus = "MarketingStatus",
|
|
27
|
-
Meta = "Meta",
|
|
28
|
-
Money = "Money",
|
|
29
|
-
Narrative = "Narrative",
|
|
30
|
-
ParameterDefinition = "ParameterDefinition",
|
|
31
|
-
Period = "Period",
|
|
32
|
-
Population = "Population",
|
|
33
|
-
ProdCharacteristic = "ProdCharacteristic",
|
|
34
|
-
ProductShelfLife = "ProductShelfLife",
|
|
35
|
-
Quantity = "Quantity",
|
|
36
|
-
Range = "Range",
|
|
37
|
-
Ratio = "Ratio",
|
|
38
|
-
Reference = "Reference",
|
|
39
|
-
RelatedArtifact = "RelatedArtifact",
|
|
40
|
-
Resource = "Resource",
|
|
41
|
-
SampledData = "SampledData",
|
|
42
|
-
Signature = "Signature",
|
|
43
|
-
SubstanceAmount = "SubstanceAmount",
|
|
44
|
-
SystemString = "http://hl7.org/fhirpath/System.String",
|
|
45
|
-
Timing = "Timing",
|
|
46
|
-
TriggerDefinition = "TriggerDefinition",
|
|
47
|
-
UsageContext = "UsageContext",
|
|
48
|
-
base64Binary = "base64Binary",
|
|
49
|
-
boolean = "boolean",
|
|
50
|
-
canonical = "canonical",
|
|
51
|
-
code = "code",
|
|
52
|
-
date = "date",
|
|
53
|
-
dateTime = "dateTime",
|
|
54
|
-
decimal = "decimal",
|
|
55
|
-
id = "id",
|
|
56
|
-
instant = "instant",
|
|
57
|
-
integer = "integer",
|
|
58
|
-
markdown = "markdown",
|
|
59
|
-
oid = "oid",
|
|
60
|
-
positiveInt = "positiveInt",
|
|
61
|
-
string = "string",
|
|
62
|
-
time = "time",
|
|
63
|
-
unsignedInt = "unsignedInt",
|
|
64
|
-
uri = "uri",
|
|
65
|
-
url = "url",
|
|
66
|
-
uuid = "uuid"
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* A TypedValue includes a value and a type.
|
|
70
|
-
*/
|
|
71
|
-
export interface TypedValue<T> {
|
|
72
|
-
value: T;
|
|
73
|
-
propertyType: PropertyType;
|
|
74
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* List of property types.
|
|
3
|
+
* http://www.hl7.org/fhir/valueset-defined-types.html
|
|
4
|
+
* The list here includes additions found from StructureDefinition resources.
|
|
5
|
+
*/
|
|
6
|
+
export declare enum PropertyType {
|
|
7
|
+
Address = "Address",
|
|
8
|
+
Age = "Age",
|
|
9
|
+
Annotation = "Annotation",
|
|
10
|
+
Attachment = "Attachment",
|
|
11
|
+
BackboneElement = "BackboneElement",
|
|
12
|
+
CodeableConcept = "CodeableConcept",
|
|
13
|
+
Coding = "Coding",
|
|
14
|
+
ContactDetail = "ContactDetail",
|
|
15
|
+
ContactPoint = "ContactPoint",
|
|
16
|
+
Contributor = "Contributor",
|
|
17
|
+
Count = "Count",
|
|
18
|
+
DataRequirement = "DataRequirement",
|
|
19
|
+
Distance = "Distance",
|
|
20
|
+
Dosage = "Dosage",
|
|
21
|
+
Duration = "Duration",
|
|
22
|
+
Expression = "Expression",
|
|
23
|
+
Extension = "Extension",
|
|
24
|
+
HumanName = "HumanName",
|
|
25
|
+
Identifier = "Identifier",
|
|
26
|
+
MarketingStatus = "MarketingStatus",
|
|
27
|
+
Meta = "Meta",
|
|
28
|
+
Money = "Money",
|
|
29
|
+
Narrative = "Narrative",
|
|
30
|
+
ParameterDefinition = "ParameterDefinition",
|
|
31
|
+
Period = "Period",
|
|
32
|
+
Population = "Population",
|
|
33
|
+
ProdCharacteristic = "ProdCharacteristic",
|
|
34
|
+
ProductShelfLife = "ProductShelfLife",
|
|
35
|
+
Quantity = "Quantity",
|
|
36
|
+
Range = "Range",
|
|
37
|
+
Ratio = "Ratio",
|
|
38
|
+
Reference = "Reference",
|
|
39
|
+
RelatedArtifact = "RelatedArtifact",
|
|
40
|
+
Resource = "Resource",
|
|
41
|
+
SampledData = "SampledData",
|
|
42
|
+
Signature = "Signature",
|
|
43
|
+
SubstanceAmount = "SubstanceAmount",
|
|
44
|
+
SystemString = "http://hl7.org/fhirpath/System.String",
|
|
45
|
+
Timing = "Timing",
|
|
46
|
+
TriggerDefinition = "TriggerDefinition",
|
|
47
|
+
UsageContext = "UsageContext",
|
|
48
|
+
base64Binary = "base64Binary",
|
|
49
|
+
boolean = "boolean",
|
|
50
|
+
canonical = "canonical",
|
|
51
|
+
code = "code",
|
|
52
|
+
date = "date",
|
|
53
|
+
dateTime = "dateTime",
|
|
54
|
+
decimal = "decimal",
|
|
55
|
+
id = "id",
|
|
56
|
+
instant = "instant",
|
|
57
|
+
integer = "integer",
|
|
58
|
+
markdown = "markdown",
|
|
59
|
+
oid = "oid",
|
|
60
|
+
positiveInt = "positiveInt",
|
|
61
|
+
string = "string",
|
|
62
|
+
time = "time",
|
|
63
|
+
unsignedInt = "unsignedInt",
|
|
64
|
+
uri = "uri",
|
|
65
|
+
url = "url",
|
|
66
|
+
uuid = "uuid"
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* A TypedValue includes a value and a type.
|
|
70
|
+
*/
|
|
71
|
+
export interface TypedValue<T> {
|
|
72
|
+
value: T;
|
|
73
|
+
propertyType: PropertyType;
|
|
74
|
+
}
|
package/dist/types.js
CHANGED
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PropertyType = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* List of property types.
|
|
6
|
-
* http://www.hl7.org/fhir/valueset-defined-types.html
|
|
7
|
-
* The list here includes additions found from StructureDefinition resources.
|
|
8
|
-
*/
|
|
9
|
-
var PropertyType;
|
|
10
|
-
(function (PropertyType) {
|
|
11
|
-
PropertyType["Address"] = "Address";
|
|
12
|
-
PropertyType["Age"] = "Age";
|
|
13
|
-
PropertyType["Annotation"] = "Annotation";
|
|
14
|
-
PropertyType["Attachment"] = "Attachment";
|
|
15
|
-
PropertyType["BackboneElement"] = "BackboneElement";
|
|
16
|
-
PropertyType["CodeableConcept"] = "CodeableConcept";
|
|
17
|
-
PropertyType["Coding"] = "Coding";
|
|
18
|
-
PropertyType["ContactDetail"] = "ContactDetail";
|
|
19
|
-
PropertyType["ContactPoint"] = "ContactPoint";
|
|
20
|
-
PropertyType["Contributor"] = "Contributor";
|
|
21
|
-
PropertyType["Count"] = "Count";
|
|
22
|
-
PropertyType["DataRequirement"] = "DataRequirement";
|
|
23
|
-
PropertyType["Distance"] = "Distance";
|
|
24
|
-
PropertyType["Dosage"] = "Dosage";
|
|
25
|
-
PropertyType["Duration"] = "Duration";
|
|
26
|
-
PropertyType["Expression"] = "Expression";
|
|
27
|
-
PropertyType["Extension"] = "Extension";
|
|
28
|
-
PropertyType["HumanName"] = "HumanName";
|
|
29
|
-
PropertyType["Identifier"] = "Identifier";
|
|
30
|
-
PropertyType["MarketingStatus"] = "MarketingStatus";
|
|
31
|
-
PropertyType["Meta"] = "Meta";
|
|
32
|
-
PropertyType["Money"] = "Money";
|
|
33
|
-
PropertyType["Narrative"] = "Narrative";
|
|
34
|
-
PropertyType["ParameterDefinition"] = "ParameterDefinition";
|
|
35
|
-
PropertyType["Period"] = "Period";
|
|
36
|
-
PropertyType["Population"] = "Population";
|
|
37
|
-
PropertyType["ProdCharacteristic"] = "ProdCharacteristic";
|
|
38
|
-
PropertyType["ProductShelfLife"] = "ProductShelfLife";
|
|
39
|
-
PropertyType["Quantity"] = "Quantity";
|
|
40
|
-
PropertyType["Range"] = "Range";
|
|
41
|
-
PropertyType["Ratio"] = "Ratio";
|
|
42
|
-
PropertyType["Reference"] = "Reference";
|
|
43
|
-
PropertyType["RelatedArtifact"] = "RelatedArtifact";
|
|
44
|
-
PropertyType["Resource"] = "Resource";
|
|
45
|
-
PropertyType["SampledData"] = "SampledData";
|
|
46
|
-
PropertyType["Signature"] = "Signature";
|
|
47
|
-
PropertyType["SubstanceAmount"] = "SubstanceAmount";
|
|
48
|
-
PropertyType["SystemString"] = "http://hl7.org/fhirpath/System.String";
|
|
49
|
-
PropertyType["Timing"] = "Timing";
|
|
50
|
-
PropertyType["TriggerDefinition"] = "TriggerDefinition";
|
|
51
|
-
PropertyType["UsageContext"] = "UsageContext";
|
|
52
|
-
PropertyType["base64Binary"] = "base64Binary";
|
|
53
|
-
PropertyType["boolean"] = "boolean";
|
|
54
|
-
PropertyType["canonical"] = "canonical";
|
|
55
|
-
PropertyType["code"] = "code";
|
|
56
|
-
PropertyType["date"] = "date";
|
|
57
|
-
PropertyType["dateTime"] = "dateTime";
|
|
58
|
-
PropertyType["decimal"] = "decimal";
|
|
59
|
-
PropertyType["id"] = "id";
|
|
60
|
-
PropertyType["instant"] = "instant";
|
|
61
|
-
PropertyType["integer"] = "integer";
|
|
62
|
-
PropertyType["markdown"] = "markdown";
|
|
63
|
-
PropertyType["oid"] = "oid";
|
|
64
|
-
PropertyType["positiveInt"] = "positiveInt";
|
|
65
|
-
PropertyType["string"] = "string";
|
|
66
|
-
PropertyType["time"] = "time";
|
|
67
|
-
PropertyType["unsignedInt"] = "unsignedInt";
|
|
68
|
-
PropertyType["uri"] = "uri";
|
|
69
|
-
PropertyType["url"] = "url";
|
|
70
|
-
PropertyType["uuid"] = "uuid";
|
|
71
|
-
})(PropertyType = exports.PropertyType || (exports.PropertyType = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PropertyType = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* List of property types.
|
|
6
|
+
* http://www.hl7.org/fhir/valueset-defined-types.html
|
|
7
|
+
* The list here includes additions found from StructureDefinition resources.
|
|
8
|
+
*/
|
|
9
|
+
var PropertyType;
|
|
10
|
+
(function (PropertyType) {
|
|
11
|
+
PropertyType["Address"] = "Address";
|
|
12
|
+
PropertyType["Age"] = "Age";
|
|
13
|
+
PropertyType["Annotation"] = "Annotation";
|
|
14
|
+
PropertyType["Attachment"] = "Attachment";
|
|
15
|
+
PropertyType["BackboneElement"] = "BackboneElement";
|
|
16
|
+
PropertyType["CodeableConcept"] = "CodeableConcept";
|
|
17
|
+
PropertyType["Coding"] = "Coding";
|
|
18
|
+
PropertyType["ContactDetail"] = "ContactDetail";
|
|
19
|
+
PropertyType["ContactPoint"] = "ContactPoint";
|
|
20
|
+
PropertyType["Contributor"] = "Contributor";
|
|
21
|
+
PropertyType["Count"] = "Count";
|
|
22
|
+
PropertyType["DataRequirement"] = "DataRequirement";
|
|
23
|
+
PropertyType["Distance"] = "Distance";
|
|
24
|
+
PropertyType["Dosage"] = "Dosage";
|
|
25
|
+
PropertyType["Duration"] = "Duration";
|
|
26
|
+
PropertyType["Expression"] = "Expression";
|
|
27
|
+
PropertyType["Extension"] = "Extension";
|
|
28
|
+
PropertyType["HumanName"] = "HumanName";
|
|
29
|
+
PropertyType["Identifier"] = "Identifier";
|
|
30
|
+
PropertyType["MarketingStatus"] = "MarketingStatus";
|
|
31
|
+
PropertyType["Meta"] = "Meta";
|
|
32
|
+
PropertyType["Money"] = "Money";
|
|
33
|
+
PropertyType["Narrative"] = "Narrative";
|
|
34
|
+
PropertyType["ParameterDefinition"] = "ParameterDefinition";
|
|
35
|
+
PropertyType["Period"] = "Period";
|
|
36
|
+
PropertyType["Population"] = "Population";
|
|
37
|
+
PropertyType["ProdCharacteristic"] = "ProdCharacteristic";
|
|
38
|
+
PropertyType["ProductShelfLife"] = "ProductShelfLife";
|
|
39
|
+
PropertyType["Quantity"] = "Quantity";
|
|
40
|
+
PropertyType["Range"] = "Range";
|
|
41
|
+
PropertyType["Ratio"] = "Ratio";
|
|
42
|
+
PropertyType["Reference"] = "Reference";
|
|
43
|
+
PropertyType["RelatedArtifact"] = "RelatedArtifact";
|
|
44
|
+
PropertyType["Resource"] = "Resource";
|
|
45
|
+
PropertyType["SampledData"] = "SampledData";
|
|
46
|
+
PropertyType["Signature"] = "Signature";
|
|
47
|
+
PropertyType["SubstanceAmount"] = "SubstanceAmount";
|
|
48
|
+
PropertyType["SystemString"] = "http://hl7.org/fhirpath/System.String";
|
|
49
|
+
PropertyType["Timing"] = "Timing";
|
|
50
|
+
PropertyType["TriggerDefinition"] = "TriggerDefinition";
|
|
51
|
+
PropertyType["UsageContext"] = "UsageContext";
|
|
52
|
+
PropertyType["base64Binary"] = "base64Binary";
|
|
53
|
+
PropertyType["boolean"] = "boolean";
|
|
54
|
+
PropertyType["canonical"] = "canonical";
|
|
55
|
+
PropertyType["code"] = "code";
|
|
56
|
+
PropertyType["date"] = "date";
|
|
57
|
+
PropertyType["dateTime"] = "dateTime";
|
|
58
|
+
PropertyType["decimal"] = "decimal";
|
|
59
|
+
PropertyType["id"] = "id";
|
|
60
|
+
PropertyType["instant"] = "instant";
|
|
61
|
+
PropertyType["integer"] = "integer";
|
|
62
|
+
PropertyType["markdown"] = "markdown";
|
|
63
|
+
PropertyType["oid"] = "oid";
|
|
64
|
+
PropertyType["positiveInt"] = "positiveInt";
|
|
65
|
+
PropertyType["string"] = "string";
|
|
66
|
+
PropertyType["time"] = "time";
|
|
67
|
+
PropertyType["unsignedInt"] = "unsignedInt";
|
|
68
|
+
PropertyType["uri"] = "uri";
|
|
69
|
+
PropertyType["url"] = "url";
|
|
70
|
+
PropertyType["uuid"] = "uuid";
|
|
71
|
+
})(PropertyType = exports.PropertyType || (exports.PropertyType = {}));
|
|
72
72
|
//# sourceMappingURL=types.js.map
|