@medplum/definitions 0.9.32 → 0.9.33
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/profiles-medplum.json +83 -3
- package/dist/types.d.ts +74 -0
- package/dist/types.js +72 -0
- package/dist/types.js.map +1 -0
- package/package.json +1 -1
- package/vite.config.js +10 -0
|
@@ -18,6 +18,14 @@
|
|
|
18
18
|
"type" : "Project",
|
|
19
19
|
"snapshot" : {
|
|
20
20
|
"element" : [
|
|
21
|
+
{
|
|
22
|
+
"id" : "Project",
|
|
23
|
+
"path" : "Project",
|
|
24
|
+
"short" : "Encapsulation of resources for a specific project or organization.",
|
|
25
|
+
"definition" : "Encapsulation of resources for a specific project or organization.",
|
|
26
|
+
"min" : 0,
|
|
27
|
+
"max" : "*"
|
|
28
|
+
},
|
|
21
29
|
{
|
|
22
30
|
"id" : "Project.id",
|
|
23
31
|
"path" : "Project.id",
|
|
@@ -248,6 +256,14 @@
|
|
|
248
256
|
"type" : "ClientApplication",
|
|
249
257
|
"snapshot" : {
|
|
250
258
|
"element" : [
|
|
259
|
+
{
|
|
260
|
+
"id" : "ClientApplication",
|
|
261
|
+
"path" : "ClientApplication",
|
|
262
|
+
"short" : "Medplum client application for automated access.",
|
|
263
|
+
"definition" : "Medplum client application for automated access.",
|
|
264
|
+
"min" : 0,
|
|
265
|
+
"max" : "*"
|
|
266
|
+
},
|
|
251
267
|
{
|
|
252
268
|
"id" : "ClientApplication.id",
|
|
253
269
|
"path" : "ClientApplication.id",
|
|
@@ -344,9 +360,17 @@
|
|
|
344
360
|
"kind" : "resource",
|
|
345
361
|
"abstract" : false,
|
|
346
362
|
"type" : "User",
|
|
347
|
-
"description" : "
|
|
363
|
+
"description" : "Representation of a human user of the system.",
|
|
348
364
|
"snapshot" : {
|
|
349
365
|
"element" : [
|
|
366
|
+
{
|
|
367
|
+
"id" : "User",
|
|
368
|
+
"path" : "User",
|
|
369
|
+
"short" : "Representation of a human user of the system",
|
|
370
|
+
"definition" : "Representation of a human user of the system.",
|
|
371
|
+
"min" : 0,
|
|
372
|
+
"max" : "*"
|
|
373
|
+
},
|
|
350
374
|
{
|
|
351
375
|
"id" : "User.id",
|
|
352
376
|
"path" : "User.id",
|
|
@@ -478,6 +502,14 @@
|
|
|
478
502
|
"description" : "Medplum project membership. A project membership grants a user access to a project.",
|
|
479
503
|
"snapshot" : {
|
|
480
504
|
"element" : [
|
|
505
|
+
{
|
|
506
|
+
"id" : "ProjectMembership",
|
|
507
|
+
"path" : "ProjectMembership",
|
|
508
|
+
"short" : "Medplum project membership. A project membership grants a user access to a project.",
|
|
509
|
+
"definition" : "Medplum project membership. A project membership grants a user access to a project.",
|
|
510
|
+
"min" : 0,
|
|
511
|
+
"max" : "*"
|
|
512
|
+
},
|
|
481
513
|
{
|
|
482
514
|
"id" : "ProjectMembership.id",
|
|
483
515
|
"path" : "ProjectMembership.id",
|
|
@@ -609,6 +641,14 @@
|
|
|
609
641
|
"description" : "Bot account for automated actions.",
|
|
610
642
|
"snapshot" : {
|
|
611
643
|
"element" : [
|
|
644
|
+
{
|
|
645
|
+
"id" : "Bot",
|
|
646
|
+
"path" : "Bot",
|
|
647
|
+
"short" : "Bot account for automated actions.",
|
|
648
|
+
"definition" : "Bot account for automated actions.",
|
|
649
|
+
"min" : 0,
|
|
650
|
+
"max" : "*"
|
|
651
|
+
},
|
|
612
652
|
{
|
|
613
653
|
"id" : "Bot.id",
|
|
614
654
|
"path" : "Bot.id",
|
|
@@ -725,9 +765,17 @@
|
|
|
725
765
|
"kind" : "resource",
|
|
726
766
|
"abstract" : false,
|
|
727
767
|
"type" : "Login",
|
|
728
|
-
"description" : "
|
|
768
|
+
"description" : "Login event and session details.",
|
|
729
769
|
"snapshot" : {
|
|
730
770
|
"element" : [
|
|
771
|
+
{
|
|
772
|
+
"id" : "Login",
|
|
773
|
+
"path" : "Login",
|
|
774
|
+
"short" : "Login event and session details.",
|
|
775
|
+
"definition" : "Login event and session details.",
|
|
776
|
+
"min" : 0,
|
|
777
|
+
"max" : "*"
|
|
778
|
+
},
|
|
731
779
|
{
|
|
732
780
|
"id" : "Login.id",
|
|
733
781
|
"path" : "Login.id",
|
|
@@ -808,7 +856,7 @@
|
|
|
808
856
|
"id" : "Login.scope",
|
|
809
857
|
"path" : "Login.scope",
|
|
810
858
|
"definition" : "OAuth scope or scopes.",
|
|
811
|
-
"min" :
|
|
859
|
+
"min" : 0,
|
|
812
860
|
"max" : "1",
|
|
813
861
|
"type" : [{
|
|
814
862
|
"code" : "string"
|
|
@@ -972,6 +1020,14 @@
|
|
|
972
1020
|
"description" : "Password change request for the 'forgot password' flow.",
|
|
973
1021
|
"snapshot" : {
|
|
974
1022
|
"element" : [
|
|
1023
|
+
{
|
|
1024
|
+
"id" : "PasswordChangeRequest",
|
|
1025
|
+
"path" : "PasswordChangeRequest",
|
|
1026
|
+
"short" : "Password change request for the 'forgot password' flow.",
|
|
1027
|
+
"definition" : "Password change request for the 'forgot password' flow.",
|
|
1028
|
+
"min" : 0,
|
|
1029
|
+
"max" : "*"
|
|
1030
|
+
},
|
|
975
1031
|
{
|
|
976
1032
|
"id" : "PasswordChangeRequest.id",
|
|
977
1033
|
"path" : "PasswordChangeRequest.id",
|
|
@@ -1072,6 +1128,14 @@
|
|
|
1072
1128
|
"description" : "A JSON object that represents a cryptographic key. The members of the object represent properties of the key, including its value.",
|
|
1073
1129
|
"snapshot" : {
|
|
1074
1130
|
"element" : [
|
|
1131
|
+
{
|
|
1132
|
+
"id" : "JsonWebKey",
|
|
1133
|
+
"path" : "JsonWebKey",
|
|
1134
|
+
"short" : "A JSON object that represents a cryptographic key.",
|
|
1135
|
+
"definition" : "A JSON object that represents a cryptographic key. The members of the object represent properties of the key, including its value.",
|
|
1136
|
+
"min" : 0,
|
|
1137
|
+
"max" : "*"
|
|
1138
|
+
},
|
|
1075
1139
|
{
|
|
1076
1140
|
"id" : "JsonWebKey.id",
|
|
1077
1141
|
"path" : "JsonWebKey.id",
|
|
@@ -1323,6 +1387,14 @@
|
|
|
1323
1387
|
"description" : "Access Policy for user or user group that defines how entities can or cannot access resources.",
|
|
1324
1388
|
"snapshot" : {
|
|
1325
1389
|
"element" : [
|
|
1390
|
+
{
|
|
1391
|
+
"id" : "AccessPolicy",
|
|
1392
|
+
"path" : "AccessPolicy",
|
|
1393
|
+
"short" : "Access Policy for user or user group that defines how entities can or cannot access resources.",
|
|
1394
|
+
"definition" : "Access Policy for user or user group that defines how entities can or cannot access resources.",
|
|
1395
|
+
"min" : 0,
|
|
1396
|
+
"max" : "*"
|
|
1397
|
+
},
|
|
1326
1398
|
{
|
|
1327
1399
|
"id" : "AccessPolicy.id",
|
|
1328
1400
|
"path" : "AccessPolicy.id",
|
|
@@ -1473,6 +1545,14 @@
|
|
|
1473
1545
|
"description" : "User specific configuration for the Medplum application.",
|
|
1474
1546
|
"snapshot" : {
|
|
1475
1547
|
"element" : [
|
|
1548
|
+
{
|
|
1549
|
+
"id" : "UserConfiguration",
|
|
1550
|
+
"path" : "UserConfiguration",
|
|
1551
|
+
"short" : "User specific configuration for the Medplum application.",
|
|
1552
|
+
"definition" : "User specific configuration for the Medplum application.",
|
|
1553
|
+
"min" : 0,
|
|
1554
|
+
"max" : "*"
|
|
1555
|
+
},
|
|
1476
1556
|
{
|
|
1477
1557
|
"id" : "UserConfiguration.id",
|
|
1478
1558
|
"path" : "UserConfiguration.id",
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +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
|
+
}
|
package/dist/types.js
ADDED
|
@@ -0,0 +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 = {}));
|
|
72
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACH,IAAY,YA6DX;AA7DD,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,2BAAW,CAAA;IACX,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;IACzB,mDAAmC,CAAA;IACnC,mDAAmC,CAAA;IACnC,iCAAiB,CAAA;IACjB,+CAA+B,CAAA;IAC/B,6CAA6B,CAAA;IAC7B,2CAA2B,CAAA;IAC3B,+BAAe,CAAA;IACf,mDAAmC,CAAA;IACnC,qCAAqB,CAAA;IACrB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,yCAAyB,CAAA;IACzB,uCAAuB,CAAA;IACvB,uCAAuB,CAAA;IACvB,yCAAyB,CAAA;IACzB,mDAAmC,CAAA;IACnC,6BAAa,CAAA;IACb,+BAAe,CAAA;IACf,uCAAuB,CAAA;IACvB,2DAA2C,CAAA;IAC3C,iCAAiB,CAAA;IACjB,yCAAyB,CAAA;IACzB,yDAAyC,CAAA;IACzC,qDAAqC,CAAA;IACrC,qCAAqB,CAAA;IACrB,+BAAe,CAAA;IACf,+BAAe,CAAA;IACf,uCAAuB,CAAA;IACvB,mDAAmC,CAAA;IACnC,qCAAqB,CAAA;IACrB,2CAA2B,CAAA;IAC3B,uCAAuB,CAAA;IACvB,mDAAmC,CAAA;IACnC,sEAAsD,CAAA;IACtD,iCAAiB,CAAA;IACjB,uDAAuC,CAAA;IACvC,6CAA6B,CAAA;IAC7B,6CAA6B,CAAA;IAC7B,mCAAmB,CAAA;IACnB,uCAAuB,CAAA;IACvB,6BAAa,CAAA;IACb,6BAAa,CAAA;IACb,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,yBAAS,CAAA;IACT,mCAAmB,CAAA;IACnB,mCAAmB,CAAA;IACnB,qCAAqB,CAAA;IACrB,2BAAW,CAAA;IACX,2CAA2B,CAAA;IAC3B,iCAAiB,CAAA;IACjB,6BAAa,CAAA;IACb,2CAA2B,CAAA;IAC3B,2BAAW,CAAA;IACX,2BAAW,CAAA;IACX,6BAAa,CAAA;AACf,CAAC,EA7DW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QA6DvB","sourcesContent":["/**\n * List of property types.\n * http://www.hl7.org/fhir/valueset-defined-types.html\n * The list here includes additions found from StructureDefinition resources.\n */\nexport enum PropertyType {\n Address = 'Address',\n Age = 'Age',\n Annotation = 'Annotation',\n Attachment = 'Attachment',\n BackboneElement = 'BackboneElement',\n CodeableConcept = 'CodeableConcept',\n Coding = 'Coding',\n ContactDetail = 'ContactDetail',\n ContactPoint = 'ContactPoint',\n Contributor = 'Contributor',\n Count = 'Count',\n DataRequirement = 'DataRequirement',\n Distance = 'Distance',\n Dosage = 'Dosage',\n Duration = 'Duration',\n Expression = 'Expression',\n Extension = 'Extension',\n HumanName = 'HumanName',\n Identifier = 'Identifier',\n MarketingStatus = 'MarketingStatus',\n Meta = 'Meta',\n Money = 'Money',\n Narrative = 'Narrative',\n ParameterDefinition = 'ParameterDefinition',\n Period = 'Period',\n Population = 'Population',\n ProdCharacteristic = 'ProdCharacteristic',\n ProductShelfLife = 'ProductShelfLife',\n Quantity = 'Quantity',\n Range = 'Range',\n Ratio = 'Ratio',\n Reference = 'Reference',\n RelatedArtifact = 'RelatedArtifact',\n Resource = 'Resource',\n SampledData = 'SampledData',\n Signature = 'Signature',\n SubstanceAmount = 'SubstanceAmount',\n SystemString = 'http://hl7.org/fhirpath/System.String',\n Timing = 'Timing',\n TriggerDefinition = 'TriggerDefinition',\n UsageContext = 'UsageContext',\n base64Binary = 'base64Binary',\n boolean = 'boolean',\n canonical = 'canonical',\n code = 'code',\n date = 'date',\n dateTime = 'dateTime',\n decimal = 'decimal',\n id = 'id',\n instant = 'instant',\n integer = 'integer',\n markdown = 'markdown',\n oid = 'oid',\n positiveInt = 'positiveInt',\n string = 'string',\n time = 'time',\n unsignedInt = 'unsignedInt',\n uri = 'uri',\n url = 'url',\n uuid = 'uuid',\n}\n\n/**\n * A TypedValue includes a value and a type.\n */\nexport interface TypedValue<T> {\n value: T;\n propertyType: PropertyType;\n}\n"]}
|
package/package.json
CHANGED