@medplum/definitions 0.2.1 → 0.4.1
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/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Medplum
|
|
2
2
|
|
|
3
|
-
Medplum is a healthcare platform that helps you quickly develop high-quality compliant applications.
|
|
3
|
+
Medplum is a healthcare platform that helps you quickly develop high-quality compliant applications. Medplum includes a FHIR server, React component library, and developer app.
|
|
4
4
|
|
|
5
5
|
# Medplum Data Definitions
|
|
6
6
|
|
|
@@ -8,4 +8,4 @@ This package contains raw data definitions for a number of healthcare standards.
|
|
|
8
8
|
|
|
9
9
|
## License
|
|
10
10
|
|
|
11
|
-
Apache 2.0.
|
|
11
|
+
Apache 2.0. Copyright © Medplum 2021
|
|
@@ -159,7 +159,8 @@
|
|
|
159
159
|
"PasswordChangeRequest": "#/definitions/PasswordChangeRequest",
|
|
160
160
|
"JsonWebKey": "#/definitions/JsonWebKey",
|
|
161
161
|
"Bot": "#/definitions/Bot",
|
|
162
|
-
"AccessPolicy": "#/definitions/AccessPolicy"
|
|
162
|
+
"AccessPolicy": "#/definitions/AccessPolicy",
|
|
163
|
+
"UserConfiguration": "#/definitions/UserConfiguration"
|
|
163
164
|
}
|
|
164
165
|
},
|
|
165
166
|
"oneOf": [
|
|
@@ -627,6 +628,9 @@
|
|
|
627
628
|
},
|
|
628
629
|
{
|
|
629
630
|
"$ref": "#/definitions/AccessPolicy"
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"$ref": "#/definitions/UserConfiguration"
|
|
630
634
|
}
|
|
631
635
|
],
|
|
632
636
|
"definitions": {
|
|
@@ -1096,6 +1100,9 @@
|
|
|
1096
1100
|
},
|
|
1097
1101
|
{
|
|
1098
1102
|
"$ref": "#/definitions/AccessPolicy"
|
|
1103
|
+
},
|
|
1104
|
+
{
|
|
1105
|
+
"$ref": "#/definitions/UserConfiguration"
|
|
1099
1106
|
}
|
|
1100
1107
|
]
|
|
1101
1108
|
},
|
|
@@ -61036,6 +61043,13 @@
|
|
|
61036
61043
|
"owner": {
|
|
61037
61044
|
"description": "Indicates the user with responsibility for managing the Project.",
|
|
61038
61045
|
"$ref": "#/definitions/Reference"
|
|
61046
|
+
},
|
|
61047
|
+
"features": {
|
|
61048
|
+
"description": "A list of optional features that are enabled for the project.",
|
|
61049
|
+
"items": {
|
|
61050
|
+
"$ref": "#/definitions/code"
|
|
61051
|
+
},
|
|
61052
|
+
"type": "array"
|
|
61039
61053
|
}
|
|
61040
61054
|
},
|
|
61041
61055
|
"required": [
|
|
@@ -61082,6 +61096,10 @@
|
|
|
61082
61096
|
"description": "User that is granted access to the project.",
|
|
61083
61097
|
"$ref": "#/definitions/Reference"
|
|
61084
61098
|
},
|
|
61099
|
+
"userConfiguration": {
|
|
61100
|
+
"description": "The user configuration for the user within the project memebership such as menu links, saved searches, and features.",
|
|
61101
|
+
"$ref": "#/definitions/Reference"
|
|
61102
|
+
},
|
|
61085
61103
|
"admin": {
|
|
61086
61104
|
"description": "Whether this user is a project administrator.",
|
|
61087
61105
|
"$ref": "#/definitions/boolean"
|
|
@@ -61143,8 +61161,7 @@
|
|
|
61143
61161
|
},
|
|
61144
61162
|
"required": [
|
|
61145
61163
|
"resourceType",
|
|
61146
|
-
"secret"
|
|
61147
|
-
"redirectUri"
|
|
61164
|
+
"secret"
|
|
61148
61165
|
]
|
|
61149
61166
|
},
|
|
61150
61167
|
"User": {
|
|
@@ -61235,8 +61252,8 @@
|
|
|
61235
61252
|
"description": "The user requesting the code.",
|
|
61236
61253
|
"$ref": "#/definitions/Reference"
|
|
61237
61254
|
},
|
|
61238
|
-
"
|
|
61239
|
-
"description": "Reference to the
|
|
61255
|
+
"membership": {
|
|
61256
|
+
"description": "Reference to the project membership which includes FHIR identity (patient, practitioner, etc), access policy, and user configuration.",
|
|
61240
61257
|
"$ref": "#/definitions/Reference"
|
|
61241
61258
|
},
|
|
61242
61259
|
"scope": {
|
|
@@ -61286,14 +61303,6 @@
|
|
|
61286
61303
|
},
|
|
61287
61304
|
"type": "array"
|
|
61288
61305
|
},
|
|
61289
|
-
"project": {
|
|
61290
|
-
"description": "Reference to the default project for the duration of the login.",
|
|
61291
|
-
"$ref": "#/definitions/Reference"
|
|
61292
|
-
},
|
|
61293
|
-
"accessPolicy": {
|
|
61294
|
-
"description": "Collection of compartments that the user has been granted access. This is a flattened collection of all ProjectMembership compartments at the time of login.",
|
|
61295
|
-
"$ref": "#/definitions/Reference"
|
|
61296
|
-
},
|
|
61297
61306
|
"admin": {
|
|
61298
61307
|
"description": "Whether this login has system administrator privileges.",
|
|
61299
61308
|
"$ref": "#/definitions/boolean"
|
|
@@ -61536,6 +61545,10 @@
|
|
|
61536
61545
|
"description": "A name associated with the AccessPolicy.",
|
|
61537
61546
|
"$ref": "#/definitions/string"
|
|
61538
61547
|
},
|
|
61548
|
+
"compartment": {
|
|
61549
|
+
"description": "Optional compartment restriction for the user account.",
|
|
61550
|
+
"$ref": "#/definitions/Reference"
|
|
61551
|
+
},
|
|
61539
61552
|
"resource": {
|
|
61540
61553
|
"description": "Access details for a resource type.",
|
|
61541
61554
|
"items": {
|
|
@@ -61575,6 +61588,136 @@
|
|
|
61575
61588
|
"type": "array"
|
|
61576
61589
|
}
|
|
61577
61590
|
}
|
|
61591
|
+
},
|
|
61592
|
+
"UserConfiguration": {
|
|
61593
|
+
"description": "User specific configuration for the Medplum application.",
|
|
61594
|
+
"properties": {
|
|
61595
|
+
"resourceType": {
|
|
61596
|
+
"description": "This is a UserConfiguration resource",
|
|
61597
|
+
"const": "UserConfiguration"
|
|
61598
|
+
},
|
|
61599
|
+
"id": {
|
|
61600
|
+
"description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
|
|
61601
|
+
"$ref": "#/definitions/id"
|
|
61602
|
+
},
|
|
61603
|
+
"meta": {
|
|
61604
|
+
"description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
|
|
61605
|
+
"$ref": "#/definitions/Meta"
|
|
61606
|
+
},
|
|
61607
|
+
"implicitRules": {
|
|
61608
|
+
"description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.",
|
|
61609
|
+
"$ref": "#/definitions/uri"
|
|
61610
|
+
},
|
|
61611
|
+
"_implicitRules": {
|
|
61612
|
+
"description": "Extensions for implicitRules",
|
|
61613
|
+
"$ref": "#/definitions/Element"
|
|
61614
|
+
},
|
|
61615
|
+
"language": {
|
|
61616
|
+
"description": "The base language in which the resource is written.",
|
|
61617
|
+
"$ref": "#/definitions/code"
|
|
61618
|
+
},
|
|
61619
|
+
"_language": {
|
|
61620
|
+
"description": "Extensions for language",
|
|
61621
|
+
"$ref": "#/definitions/Element"
|
|
61622
|
+
},
|
|
61623
|
+
"menu": {
|
|
61624
|
+
"description": "Optional menu of shortcuts to URLs for quick access.",
|
|
61625
|
+
"items": {
|
|
61626
|
+
"$ref": "#/definitions/UserConfiguration_Menu"
|
|
61627
|
+
},
|
|
61628
|
+
"type": "array"
|
|
61629
|
+
},
|
|
61630
|
+
"search": {
|
|
61631
|
+
"description": "Optional collection of search filters for quick access to preconfigured searches.",
|
|
61632
|
+
"items": {
|
|
61633
|
+
"$ref": "#/definitions/UserConfiguration_Search"
|
|
61634
|
+
},
|
|
61635
|
+
"type": "array"
|
|
61636
|
+
},
|
|
61637
|
+
"option": {
|
|
61638
|
+
"description": "User options that control the display of the application.",
|
|
61639
|
+
"items": {
|
|
61640
|
+
"$ref": "#/definitions/UserConfiguration_Option"
|
|
61641
|
+
},
|
|
61642
|
+
"type": "array"
|
|
61643
|
+
}
|
|
61644
|
+
}
|
|
61645
|
+
},
|
|
61646
|
+
"UserConfiguration_Menu": {
|
|
61647
|
+
"description": "Optional menu of shortcuts to URLs.",
|
|
61648
|
+
"properties": {
|
|
61649
|
+
"title": {
|
|
61650
|
+
"description": "The resource type.",
|
|
61651
|
+
"$ref": "#/definitions/string"
|
|
61652
|
+
},
|
|
61653
|
+
"link": {
|
|
61654
|
+
"description": "Shortcut links to URLs.",
|
|
61655
|
+
"items": {
|
|
61656
|
+
"$ref": "#/definitions/UserConfiguration_Menu_Link"
|
|
61657
|
+
},
|
|
61658
|
+
"type": "array"
|
|
61659
|
+
}
|
|
61660
|
+
}
|
|
61661
|
+
},
|
|
61662
|
+
"UserConfiguration_Menu_Link": {
|
|
61663
|
+
"description": "Shortcut links to URLs.",
|
|
61664
|
+
"properties": {
|
|
61665
|
+
"name": {
|
|
61666
|
+
"description": "The human friendly name of the link.",
|
|
61667
|
+
"$ref": "#/definitions/string"
|
|
61668
|
+
},
|
|
61669
|
+
"target": {
|
|
61670
|
+
"description": "The URL target of the link.",
|
|
61671
|
+
"$ref": "#/definitions/string"
|
|
61672
|
+
}
|
|
61673
|
+
}
|
|
61674
|
+
},
|
|
61675
|
+
"UserConfiguration_Search": {
|
|
61676
|
+
"description": "Optional collection of search filters for quick access to preconfigured searches.",
|
|
61677
|
+
"properties": {
|
|
61678
|
+
"name": {
|
|
61679
|
+
"description": "The human friendly name of the link.",
|
|
61680
|
+
"$ref": "#/definitions/string"
|
|
61681
|
+
},
|
|
61682
|
+
"criteria": {
|
|
61683
|
+
"description": "The rules that the server should use to determine which resources to return.",
|
|
61684
|
+
"$ref": "#/definitions/string"
|
|
61685
|
+
}
|
|
61686
|
+
}
|
|
61687
|
+
},
|
|
61688
|
+
"UserConfiguration_Option": {
|
|
61689
|
+
"description": "User options that control the display of the application.",
|
|
61690
|
+
"properties": {
|
|
61691
|
+
"id": {
|
|
61692
|
+
"description": "The unique identifier of the option.",
|
|
61693
|
+
"$ref": "#/definitions/id"
|
|
61694
|
+
},
|
|
61695
|
+
"valueBoolean": {
|
|
61696
|
+
"description": "Value of option - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).",
|
|
61697
|
+
"pattern": "^true|false$",
|
|
61698
|
+
"type": "boolean"
|
|
61699
|
+
},
|
|
61700
|
+
"valueCode": {
|
|
61701
|
+
"description": "Value of option - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).",
|
|
61702
|
+
"pattern": "^[^\\s]+(\\s[^\\s]+)*$",
|
|
61703
|
+
"type": "string"
|
|
61704
|
+
},
|
|
61705
|
+
"valueDecimal": {
|
|
61706
|
+
"description": "Value of option - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).",
|
|
61707
|
+
"pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?([eE][+-]?[0-9]+)?$",
|
|
61708
|
+
"type": "number"
|
|
61709
|
+
},
|
|
61710
|
+
"valueInteger": {
|
|
61711
|
+
"description": "Value of option - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).",
|
|
61712
|
+
"pattern": "^-?([0]|([1-9][0-9]*))$",
|
|
61713
|
+
"type": "number"
|
|
61714
|
+
},
|
|
61715
|
+
"valueString": {
|
|
61716
|
+
"description": "Value of option - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).",
|
|
61717
|
+
"pattern": "^[ \\r\\n\\t\\S]+$",
|
|
61718
|
+
"type": "string"
|
|
61719
|
+
}
|
|
61720
|
+
}
|
|
61578
61721
|
}
|
|
61579
61722
|
}
|
|
61580
61723
|
}
|
|
@@ -84,6 +84,16 @@
|
|
|
84
84
|
"code" : "Reference",
|
|
85
85
|
"targetProfile" : ["https://medplum.com/fhir/StructureDefinition/User"]
|
|
86
86
|
}]
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"id" : "Project.features",
|
|
90
|
+
"path" : "Project.features",
|
|
91
|
+
"definition" : "A list of optional features that are enabled for the project.",
|
|
92
|
+
"min" : 0,
|
|
93
|
+
"max" : "*",
|
|
94
|
+
"type" : [{
|
|
95
|
+
"code" : "code"
|
|
96
|
+
}]
|
|
87
97
|
}
|
|
88
98
|
]
|
|
89
99
|
}
|
|
@@ -336,7 +346,8 @@
|
|
|
336
346
|
"max" : "1",
|
|
337
347
|
"type" : [{
|
|
338
348
|
"code" : "Reference",
|
|
339
|
-
"targetProfile" : ["https://medplum.com/fhir/StructureDefinition/
|
|
349
|
+
"targetProfile" : ["https://medplum.com/fhir/StructureDefinition/ClientApplication",
|
|
350
|
+
"https://medplum.com/fhir/StructureDefinition/User"]
|
|
340
351
|
}]
|
|
341
352
|
},
|
|
342
353
|
{
|
|
@@ -347,9 +358,10 @@
|
|
|
347
358
|
"max" : "1",
|
|
348
359
|
"type" : [{
|
|
349
360
|
"code" : "Reference",
|
|
350
|
-
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/
|
|
351
|
-
|
|
352
|
-
|
|
361
|
+
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ClientApplication",
|
|
362
|
+
"http://hl7.org/fhir/StructureDefinition/Patient",
|
|
363
|
+
"http://hl7.org/fhir/StructureDefinition/Practitioner",
|
|
364
|
+
"http://hl7.org/fhir/StructureDefinition/RelatedPerson"]
|
|
353
365
|
}]
|
|
354
366
|
},
|
|
355
367
|
{
|
|
@@ -373,6 +385,17 @@
|
|
|
373
385
|
"targetProfile" : ["https://medplum.com/fhir/StructureDefinition/AccessPolicy"]
|
|
374
386
|
}]
|
|
375
387
|
},
|
|
388
|
+
{
|
|
389
|
+
"id" : "ProjectMembership.userConfiguration",
|
|
390
|
+
"path" : "ProjectMembership.userConfiguration",
|
|
391
|
+
"definition" : "The user configuration for the user within the project memebership such as menu links, saved searches, and features.",
|
|
392
|
+
"min" : 0,
|
|
393
|
+
"max" : "1",
|
|
394
|
+
"type" : [{
|
|
395
|
+
"code" : "Reference",
|
|
396
|
+
"targetProfile" : ["https://medplum.com/fhir/StructureDefinition/UserConfiguration"]
|
|
397
|
+
}]
|
|
398
|
+
},
|
|
376
399
|
{
|
|
377
400
|
"id" : "ProjectMembership.admin",
|
|
378
401
|
"path" : "ProjectMembership.admin",
|
|
@@ -551,21 +574,19 @@
|
|
|
551
574
|
"max" : "1",
|
|
552
575
|
"type" : [{
|
|
553
576
|
"code" : "Reference",
|
|
554
|
-
"targetProfile" : ["https://medplum.com/fhir/StructureDefinition/
|
|
577
|
+
"targetProfile" : ["https://medplum.com/fhir/StructureDefinition/ClientApplication",
|
|
578
|
+
"https://medplum.com/fhir/StructureDefinition/User"]
|
|
555
579
|
}]
|
|
556
580
|
},
|
|
557
581
|
{
|
|
558
|
-
"id" : "Login.
|
|
559
|
-
"path" : "Login.
|
|
560
|
-
"definition" : "Reference to the
|
|
582
|
+
"id" : "Login.membership",
|
|
583
|
+
"path" : "Login.membership",
|
|
584
|
+
"definition" : "Reference to the project membership which includes FHIR identity (patient, practitioner, etc), access policy, and user configuration.",
|
|
561
585
|
"min" : 1,
|
|
562
586
|
"max" : "1",
|
|
563
587
|
"type" : [{
|
|
564
588
|
"code" : "Reference",
|
|
565
|
-
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/
|
|
566
|
-
"http://hl7.org/fhir/StructureDefinition/Practitioner",
|
|
567
|
-
"http://hl7.org/fhir/StructureDefinition/RelatedPerson",
|
|
568
|
-
"https://medplum.com/fhir/StructureDefinition/ClientApplication"]
|
|
589
|
+
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ProjectMembership"]
|
|
569
590
|
}]
|
|
570
591
|
},
|
|
571
592
|
{
|
|
@@ -668,28 +689,6 @@
|
|
|
668
689
|
"code" : "boolean"
|
|
669
690
|
}]
|
|
670
691
|
},
|
|
671
|
-
{
|
|
672
|
-
"id" : "Login.accessPolicy",
|
|
673
|
-
"path" : "Login.accessPolicy",
|
|
674
|
-
"definition" : "Collection of compartments that the user has been granted access. This is a flattened collection of all ProjectMembership compartments at the time of login.",
|
|
675
|
-
"min" : 0,
|
|
676
|
-
"max" : "1",
|
|
677
|
-
"type" : [{
|
|
678
|
-
"code" : "Reference",
|
|
679
|
-
"targetProfile" : ["https://medplum.com/fhir/StructureDefinition/AccessPolicy"]
|
|
680
|
-
}]
|
|
681
|
-
},
|
|
682
|
-
{
|
|
683
|
-
"id" : "Login.project",
|
|
684
|
-
"path" : "Login.project",
|
|
685
|
-
"definition" : "Reference to the default project for the duration of the login.",
|
|
686
|
-
"min" : 0,
|
|
687
|
-
"max" : "1",
|
|
688
|
-
"type" : [{
|
|
689
|
-
"code" : "Reference",
|
|
690
|
-
"targetProfile" : ["https://medplum.com/fhir/StructureDefinition/Project"]
|
|
691
|
-
}]
|
|
692
|
-
},
|
|
693
692
|
{
|
|
694
693
|
"id" : "Login.admin",
|
|
695
694
|
"path" : "Login.admin",
|
|
@@ -1178,5 +1177,184 @@
|
|
|
1178
1177
|
]
|
|
1179
1178
|
}
|
|
1180
1179
|
}
|
|
1180
|
+
},
|
|
1181
|
+
{
|
|
1182
|
+
"fullUrl" : "https://medplum.com/fhir/StructureDefinition/UserConfiguration",
|
|
1183
|
+
"resource" : {
|
|
1184
|
+
"resourceType" : "StructureDefinition",
|
|
1185
|
+
"id" : "UserConfiguration",
|
|
1186
|
+
"name" : "UserConfiguration",
|
|
1187
|
+
"description" : "User specific configuration for the Medplum application.",
|
|
1188
|
+
"snapshot" : {
|
|
1189
|
+
"element" : [
|
|
1190
|
+
{
|
|
1191
|
+
"id" : "UserConfiguration.id",
|
|
1192
|
+
"path" : "UserConfiguration.id",
|
|
1193
|
+
"short" : "Logical id of this artifact",
|
|
1194
|
+
"definition" : "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
|
|
1195
|
+
"min" : 0,
|
|
1196
|
+
"max" : "1",
|
|
1197
|
+
"type" : [{
|
|
1198
|
+
"code" : "string"
|
|
1199
|
+
}]
|
|
1200
|
+
},
|
|
1201
|
+
{
|
|
1202
|
+
"id" : "UserConfiguration.meta",
|
|
1203
|
+
"path" : "UserConfiguration.meta",
|
|
1204
|
+
"definition" : "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
|
|
1205
|
+
"min" : 0,
|
|
1206
|
+
"max" : "1",
|
|
1207
|
+
"type" : [{
|
|
1208
|
+
"code" : "Meta"
|
|
1209
|
+
}]
|
|
1210
|
+
},
|
|
1211
|
+
{
|
|
1212
|
+
"id" : "UserConfiguration.implicitRules",
|
|
1213
|
+
"path" : "UserConfiguration.implicitRules",
|
|
1214
|
+
"definition" : "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.",
|
|
1215
|
+
"min" : 0,
|
|
1216
|
+
"max" : "1",
|
|
1217
|
+
"type" : [{
|
|
1218
|
+
"code" : "uri"
|
|
1219
|
+
}]
|
|
1220
|
+
},
|
|
1221
|
+
{
|
|
1222
|
+
"id" : "UserConfiguration.language",
|
|
1223
|
+
"path" : "UserConfiguration.language",
|
|
1224
|
+
"definition" : "The base language in which the resource is written.",
|
|
1225
|
+
"min" : 0,
|
|
1226
|
+
"max" : "1",
|
|
1227
|
+
"type" : [{
|
|
1228
|
+
"code" : "code"
|
|
1229
|
+
}]
|
|
1230
|
+
},
|
|
1231
|
+
{
|
|
1232
|
+
"id" : "UserConfiguration.menu",
|
|
1233
|
+
"path" : "UserConfiguration.menu",
|
|
1234
|
+
"definition" : "Optional menu of shortcuts to URLs.",
|
|
1235
|
+
"min" : 0,
|
|
1236
|
+
"max" : "*",
|
|
1237
|
+
"type" : [{
|
|
1238
|
+
"code" : "BackboneElement"
|
|
1239
|
+
}]
|
|
1240
|
+
},
|
|
1241
|
+
{
|
|
1242
|
+
"id" : "UserConfiguration.menu.title",
|
|
1243
|
+
"path" : "UserConfiguration.menu.title",
|
|
1244
|
+
"definition" : "Title of the menu.",
|
|
1245
|
+
"min" : 1,
|
|
1246
|
+
"max" : "1",
|
|
1247
|
+
"type" : [{
|
|
1248
|
+
"code" : "string"
|
|
1249
|
+
}]
|
|
1250
|
+
},
|
|
1251
|
+
{
|
|
1252
|
+
"id" : "UserConfiguration.menu.link",
|
|
1253
|
+
"path" : "UserConfiguration.menu.link",
|
|
1254
|
+
"definition" : "Shortcut links to URLs.",
|
|
1255
|
+
"min" : 0,
|
|
1256
|
+
"max" : "*",
|
|
1257
|
+
"type" : [{
|
|
1258
|
+
"code" : "BackboneElement"
|
|
1259
|
+
}]
|
|
1260
|
+
},
|
|
1261
|
+
{
|
|
1262
|
+
"id" : "UserConfiguration.menu.link.name",
|
|
1263
|
+
"path" : "UserConfiguration.menu.link.name",
|
|
1264
|
+
"definition" : "The human friendly name of the link.",
|
|
1265
|
+
"min" : 1,
|
|
1266
|
+
"max" : "1",
|
|
1267
|
+
"type" : [{
|
|
1268
|
+
"code" : "string"
|
|
1269
|
+
}]
|
|
1270
|
+
},
|
|
1271
|
+
{
|
|
1272
|
+
"id" : "UserConfiguration.menu.link.target",
|
|
1273
|
+
"path" : "UserConfiguration.menu.link.target",
|
|
1274
|
+
"definition" : "The URL target of the link.",
|
|
1275
|
+
"min" : 1,
|
|
1276
|
+
"max" : "1",
|
|
1277
|
+
"type" : [{
|
|
1278
|
+
"code" : "url"
|
|
1279
|
+
}]
|
|
1280
|
+
},
|
|
1281
|
+
{
|
|
1282
|
+
"id" : "UserConfiguration.search",
|
|
1283
|
+
"path" : "UserConfiguration.search",
|
|
1284
|
+
"definition" : "Shortcut links to URLs.",
|
|
1285
|
+
"min" : 0,
|
|
1286
|
+
"max" : "*",
|
|
1287
|
+
"type" : [{
|
|
1288
|
+
"code" : "BackboneElement"
|
|
1289
|
+
}]
|
|
1290
|
+
},
|
|
1291
|
+
{
|
|
1292
|
+
"id" : "UserConfiguration.search.name",
|
|
1293
|
+
"path" : "UserConfiguration.search.name",
|
|
1294
|
+
"definition" : "The human friendly name of the link.",
|
|
1295
|
+
"min" : 1,
|
|
1296
|
+
"max" : "1",
|
|
1297
|
+
"type" : [{
|
|
1298
|
+
"code" : "string"
|
|
1299
|
+
}]
|
|
1300
|
+
},
|
|
1301
|
+
{
|
|
1302
|
+
"id" : "UserConfiguration.search.criteria",
|
|
1303
|
+
"path" : "UserConfiguration.search.criteria",
|
|
1304
|
+
"definition" : "The rules that the server should use to determine which resources to return.",
|
|
1305
|
+
"comment" : "The rules are search criteria (without the [base] part). Like Bundle.entry.request.url, it has no leading \"/\".",
|
|
1306
|
+
"min" : 1,
|
|
1307
|
+
"max" : "1",
|
|
1308
|
+
"type" : [{
|
|
1309
|
+
"code" : "string"
|
|
1310
|
+
}]
|
|
1311
|
+
},
|
|
1312
|
+
{
|
|
1313
|
+
"id" : "UserConfiguration.option",
|
|
1314
|
+
"path" : "UserConfiguration.option",
|
|
1315
|
+
"definition" : "User options that control the display of the application.",
|
|
1316
|
+
"min" : 0,
|
|
1317
|
+
"max" : "*",
|
|
1318
|
+
"type" : [{
|
|
1319
|
+
"code" : "BackboneElement"
|
|
1320
|
+
}]
|
|
1321
|
+
},
|
|
1322
|
+
{
|
|
1323
|
+
"id" : "UserConfiguration.option.id",
|
|
1324
|
+
"path" : "UserConfiguration.option.id",
|
|
1325
|
+
"definition" : "The unique identifier of the option.",
|
|
1326
|
+
"min" : 1,
|
|
1327
|
+
"max" : "1",
|
|
1328
|
+
"type" : [{
|
|
1329
|
+
"code" : "code"
|
|
1330
|
+
}]
|
|
1331
|
+
},
|
|
1332
|
+
{
|
|
1333
|
+
"id" : "UserConfiguration.option.value[x]",
|
|
1334
|
+
"path" : "UserConfiguration.option.value[x]",
|
|
1335
|
+
"short" : "Value of option",
|
|
1336
|
+
"definition" : "Value of option - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).",
|
|
1337
|
+
"min" : 1,
|
|
1338
|
+
"max" : "1",
|
|
1339
|
+
"type" : [
|
|
1340
|
+
{
|
|
1341
|
+
"code" : "boolean"
|
|
1342
|
+
},
|
|
1343
|
+
{
|
|
1344
|
+
"code" : "code"
|
|
1345
|
+
},
|
|
1346
|
+
{
|
|
1347
|
+
"code" : "decimal"
|
|
1348
|
+
},
|
|
1349
|
+
{
|
|
1350
|
+
"code" : "integer"
|
|
1351
|
+
},
|
|
1352
|
+
{
|
|
1353
|
+
"code" : "string"
|
|
1354
|
+
}]
|
|
1355
|
+
}
|
|
1356
|
+
]
|
|
1357
|
+
}
|
|
1358
|
+
}
|
|
1181
1359
|
}]
|
|
1182
1360
|
}
|
|
@@ -43527,6 +43527,46 @@
|
|
|
43527
43527
|
"identity" : "rim",
|
|
43528
43528
|
"map" : "ED.data"
|
|
43529
43529
|
}]
|
|
43530
|
+
},
|
|
43531
|
+
{
|
|
43532
|
+
"id" : "Binary.url",
|
|
43533
|
+
"path" : "Binary.url",
|
|
43534
|
+
"short" : "Uri where the data can be found",
|
|
43535
|
+
"definition" : "A location where the data can be accessed.",
|
|
43536
|
+
"comment" : "If both data and url are provided, the url SHALL point to the same content as the data contains. Urls may be relative references or may reference transient locations such as a wrapping envelope using cid: though this has ramifications for using signatures. Relative URLs are interpreted relative to the service url, like a resource reference, rather than relative to the resource itself. If a URL is provided, it SHALL resolve to actual data.",
|
|
43537
|
+
"requirements" : "The data needs to be transmitted by reference.",
|
|
43538
|
+
"min" : 0,
|
|
43539
|
+
"max" : "1",
|
|
43540
|
+
"base" : {
|
|
43541
|
+
"path" : "Binary.url",
|
|
43542
|
+
"min" : 0,
|
|
43543
|
+
"max" : "1"
|
|
43544
|
+
},
|
|
43545
|
+
"type" : [{
|
|
43546
|
+
"code" : "url"
|
|
43547
|
+
}],
|
|
43548
|
+
"example" : [{
|
|
43549
|
+
"label" : "General",
|
|
43550
|
+
"valueUrl" : "http://www.acme.com/logo-small.png"
|
|
43551
|
+
}],
|
|
43552
|
+
"constraint" : [{
|
|
43553
|
+
"key" : "ele-1",
|
|
43554
|
+
"severity" : "error",
|
|
43555
|
+
"human" : "All FHIR elements must have a @value or children",
|
|
43556
|
+
"expression" : "hasValue() or (children().count() > id.count())",
|
|
43557
|
+
"xpath" : "@value|f:*|h:div",
|
|
43558
|
+
"source" : "http://hl7.org/fhir/StructureDefinition/Element"
|
|
43559
|
+
}],
|
|
43560
|
+
"isModifier" : false,
|
|
43561
|
+
"isSummary" : true,
|
|
43562
|
+
"mapping" : [{
|
|
43563
|
+
"identity" : "v2",
|
|
43564
|
+
"map" : "RP.1+RP.2 - if they refer to a URL (see v2.6)"
|
|
43565
|
+
},
|
|
43566
|
+
{
|
|
43567
|
+
"identity" : "rim",
|
|
43568
|
+
"map" : "./reference/literal"
|
|
43569
|
+
}]
|
|
43530
43570
|
}]
|
|
43531
43571
|
},
|
|
43532
43572
|
"differential" : {
|
|
@@ -65422,6 +65422,24 @@
|
|
|
65422
65422
|
"xpathUsage" : "normal"
|
|
65423
65423
|
}
|
|
65424
65424
|
},
|
|
65425
|
+
{
|
|
65426
|
+
"fullUrl" : "https://medplum.com/fhir/SearchParameter/Project-owner",
|
|
65427
|
+
"resource" : {
|
|
65428
|
+
"resourceType" : "SearchParameter",
|
|
65429
|
+
"id" : "Project-owner",
|
|
65430
|
+
"url" : "https://medplum.com/fhir/SearchParameter/Project-owner",
|
|
65431
|
+
"version" : "4.0.1",
|
|
65432
|
+
"name" : "name",
|
|
65433
|
+
"publisher" : "Medplum",
|
|
65434
|
+
"code" : "owner",
|
|
65435
|
+
"base" : ["Project"],
|
|
65436
|
+
"type" : "reference",
|
|
65437
|
+
"expression" : "Project.owner",
|
|
65438
|
+
"xpath" : "f:Project/f:owner",
|
|
65439
|
+
"xpathUsage" : "normal",
|
|
65440
|
+
"target" : ["User"]
|
|
65441
|
+
}
|
|
65442
|
+
},
|
|
65425
65443
|
{
|
|
65426
65444
|
"fullUrl" : "https://medplum.com/fhir/SearchParameter/ProjectMembership-project",
|
|
65427
65445
|
"resource" : {
|
|
@@ -65455,7 +65473,7 @@
|
|
|
65455
65473
|
"expression" : "ProjectMembership.user",
|
|
65456
65474
|
"xpath" : "f:ProjectMembership/f:user",
|
|
65457
65475
|
"xpathUsage" : "normal",
|
|
65458
|
-
"target" : ["User"]
|
|
65476
|
+
"target" : ["ClientApplication", "User"]
|
|
65459
65477
|
}
|
|
65460
65478
|
},
|
|
65461
65479
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medplum/definitions",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Medplum Data Definitions",
|
|
5
5
|
"author": "Medplum <hello@medplum.com>",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -13,12 +13,8 @@
|
|
|
13
13
|
"scripts": {
|
|
14
14
|
"clean": "rimraf dist/index.*",
|
|
15
15
|
"build": "npm run clean && tsc",
|
|
16
|
-
"test": "jest"
|
|
17
|
-
"lint": "eslint src/ --ext .ts,.tsx"
|
|
16
|
+
"test": "jest"
|
|
18
17
|
},
|
|
19
|
-
"files": [
|
|
20
|
-
"dist"
|
|
21
|
-
],
|
|
22
18
|
"main": "dist/index.js",
|
|
23
19
|
"types": "dist/index.d.ts",
|
|
24
20
|
"sideEffects": false,
|