@medplum/definitions 0.1.6 → 0.3.0
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 +2 -2
- package/dist/fhir/r4/fhir.schema.json +156 -15
- package/dist/fhir/r4/profiles-medplum.json +1182 -0
- package/dist/fhir/r4/profiles-resources.json +40 -359
- package/dist/fhir/r4/profiles-types.json +36 -0
- package/dist/fhir/r4/search-parameters.json +43 -4
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +2 -16
- package/dist/index.test.d.ts +0 -1
- package/dist/index.test.js +0 -8
- package/dist/index.test.js.map +0 -1
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
|
|
@@ -157,7 +157,9 @@
|
|
|
157
157
|
"User": "#/definitions/User",
|
|
158
158
|
"Login": "#/definitions/Login",
|
|
159
159
|
"PasswordChangeRequest": "#/definitions/PasswordChangeRequest",
|
|
160
|
-
"JsonWebKey": "#/definitions/JsonWebKey"
|
|
160
|
+
"JsonWebKey": "#/definitions/JsonWebKey",
|
|
161
|
+
"Bot": "#/definitions/Bot",
|
|
162
|
+
"AccessPolicy": "#/definitions/AccessPolicy"
|
|
161
163
|
}
|
|
162
164
|
},
|
|
163
165
|
"oneOf": [
|
|
@@ -619,6 +621,12 @@
|
|
|
619
621
|
},
|
|
620
622
|
{
|
|
621
623
|
"$ref": "#/definitions/JsonWebKey"
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"$ref": "#/definitions/Bot"
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
"$ref": "#/definitions/AccessPolicy"
|
|
622
630
|
}
|
|
623
631
|
],
|
|
624
632
|
"definitions": {
|
|
@@ -1082,6 +1090,12 @@
|
|
|
1082
1090
|
},
|
|
1083
1091
|
{
|
|
1084
1092
|
"$ref": "#/definitions/JsonWebKey"
|
|
1093
|
+
},
|
|
1094
|
+
{
|
|
1095
|
+
"$ref": "#/definitions/Bot"
|
|
1096
|
+
},
|
|
1097
|
+
{
|
|
1098
|
+
"$ref": "#/definitions/AccessPolicy"
|
|
1085
1099
|
}
|
|
1086
1100
|
]
|
|
1087
1101
|
},
|
|
@@ -61064,12 +61078,9 @@
|
|
|
61064
61078
|
"description": "User that is granted access to the project.",
|
|
61065
61079
|
"$ref": "#/definitions/Reference"
|
|
61066
61080
|
},
|
|
61067
|
-
"
|
|
61068
|
-
"description": "
|
|
61069
|
-
"
|
|
61070
|
-
"$ref": "#/definitions/Reference"
|
|
61071
|
-
},
|
|
61072
|
-
"type": "array"
|
|
61081
|
+
"accessPolicy": {
|
|
61082
|
+
"description": "User that is granted access to the project.",
|
|
61083
|
+
"$ref": "#/definitions/Reference"
|
|
61073
61084
|
},
|
|
61074
61085
|
"admin": {
|
|
61075
61086
|
"description": "Whether this user is a project administrator.",
|
|
@@ -61079,8 +61090,7 @@
|
|
|
61079
61090
|
"required": [
|
|
61080
61091
|
"project",
|
|
61081
61092
|
"user",
|
|
61082
|
-
"profile"
|
|
61083
|
-
"compartments"
|
|
61093
|
+
"profile"
|
|
61084
61094
|
]
|
|
61085
61095
|
},
|
|
61086
61096
|
"ClientApplication": {
|
|
@@ -61122,10 +61132,6 @@
|
|
|
61122
61132
|
"description": "A summary, characterization or explanation of the Client Application.",
|
|
61123
61133
|
"$ref": "#/definitions/string"
|
|
61124
61134
|
},
|
|
61125
|
-
"project": {
|
|
61126
|
-
"description": "Project where the client application is defined.",
|
|
61127
|
-
"$ref": "#/definitions/Reference"
|
|
61128
|
-
},
|
|
61129
61135
|
"secret": {
|
|
61130
61136
|
"description": "Client secret string used to verify the identity of a client.",
|
|
61131
61137
|
"$ref": "#/definitions/string"
|
|
@@ -61137,7 +61143,6 @@
|
|
|
61137
61143
|
},
|
|
61138
61144
|
"required": [
|
|
61139
61145
|
"resourceType",
|
|
61140
|
-
"project",
|
|
61141
61146
|
"secret",
|
|
61142
61147
|
"redirectUri"
|
|
61143
61148
|
]
|
|
@@ -61281,9 +61286,17 @@
|
|
|
61281
61286
|
},
|
|
61282
61287
|
"type": "array"
|
|
61283
61288
|
},
|
|
61284
|
-
"
|
|
61289
|
+
"project": {
|
|
61285
61290
|
"description": "Reference to the default project for the duration of the login.",
|
|
61286
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
|
+
"admin": {
|
|
61298
|
+
"description": "Whether this login has system administrator privileges.",
|
|
61299
|
+
"$ref": "#/definitions/boolean"
|
|
61287
61300
|
}
|
|
61288
61301
|
}
|
|
61289
61302
|
},
|
|
@@ -61438,6 +61451,134 @@
|
|
|
61438
61451
|
"$ref": "#/definitions/string"
|
|
61439
61452
|
}
|
|
61440
61453
|
}
|
|
61454
|
+
},
|
|
61455
|
+
"Bot": {
|
|
61456
|
+
"description": "Bot account for automated actions.",
|
|
61457
|
+
"properties": {
|
|
61458
|
+
"resourceType": {
|
|
61459
|
+
"description": "This is a Bot resource",
|
|
61460
|
+
"const": "Bot"
|
|
61461
|
+
},
|
|
61462
|
+
"id": {
|
|
61463
|
+
"description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
|
|
61464
|
+
"$ref": "#/definitions/id"
|
|
61465
|
+
},
|
|
61466
|
+
"meta": {
|
|
61467
|
+
"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.",
|
|
61468
|
+
"$ref": "#/definitions/Meta"
|
|
61469
|
+
},
|
|
61470
|
+
"implicitRules": {
|
|
61471
|
+
"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.",
|
|
61472
|
+
"$ref": "#/definitions/uri"
|
|
61473
|
+
},
|
|
61474
|
+
"_implicitRules": {
|
|
61475
|
+
"description": "Extensions for implicitRules",
|
|
61476
|
+
"$ref": "#/definitions/Element"
|
|
61477
|
+
},
|
|
61478
|
+
"language": {
|
|
61479
|
+
"description": "The base language in which the resource is written.",
|
|
61480
|
+
"$ref": "#/definitions/code"
|
|
61481
|
+
},
|
|
61482
|
+
"_language": {
|
|
61483
|
+
"description": "Extensions for language",
|
|
61484
|
+
"$ref": "#/definitions/Element"
|
|
61485
|
+
},
|
|
61486
|
+
"name": {
|
|
61487
|
+
"description": "A name associated with the Bot.",
|
|
61488
|
+
"$ref": "#/definitions/string"
|
|
61489
|
+
},
|
|
61490
|
+
"description": {
|
|
61491
|
+
"description": "A summary, characterization or explanation of the Bot.",
|
|
61492
|
+
"$ref": "#/definitions/string"
|
|
61493
|
+
},
|
|
61494
|
+
"photo": {
|
|
61495
|
+
"description": "Image of the bot.",
|
|
61496
|
+
"$ref": "#/definitions/Attachment"
|
|
61497
|
+
},
|
|
61498
|
+
"code": {
|
|
61499
|
+
"description": "Bot logic script.",
|
|
61500
|
+
"$ref": "#/definitions/string"
|
|
61501
|
+
}
|
|
61502
|
+
}
|
|
61503
|
+
},
|
|
61504
|
+
"AccessPolicy": {
|
|
61505
|
+
"description": "Access control policy.",
|
|
61506
|
+
"properties": {
|
|
61507
|
+
"resourceType": {
|
|
61508
|
+
"description": "This is a AccessPolicy resource",
|
|
61509
|
+
"const": "AccessPolicy"
|
|
61510
|
+
},
|
|
61511
|
+
"id": {
|
|
61512
|
+
"description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
|
|
61513
|
+
"$ref": "#/definitions/id"
|
|
61514
|
+
},
|
|
61515
|
+
"meta": {
|
|
61516
|
+
"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.",
|
|
61517
|
+
"$ref": "#/definitions/Meta"
|
|
61518
|
+
},
|
|
61519
|
+
"implicitRules": {
|
|
61520
|
+
"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.",
|
|
61521
|
+
"$ref": "#/definitions/uri"
|
|
61522
|
+
},
|
|
61523
|
+
"_implicitRules": {
|
|
61524
|
+
"description": "Extensions for implicitRules",
|
|
61525
|
+
"$ref": "#/definitions/Element"
|
|
61526
|
+
},
|
|
61527
|
+
"language": {
|
|
61528
|
+
"description": "The base language in which the resource is written.",
|
|
61529
|
+
"$ref": "#/definitions/code"
|
|
61530
|
+
},
|
|
61531
|
+
"_language": {
|
|
61532
|
+
"description": "Extensions for language",
|
|
61533
|
+
"$ref": "#/definitions/Element"
|
|
61534
|
+
},
|
|
61535
|
+
"name": {
|
|
61536
|
+
"description": "A name associated with the AccessPolicy.",
|
|
61537
|
+
"$ref": "#/definitions/string"
|
|
61538
|
+
},
|
|
61539
|
+
"compartment": {
|
|
61540
|
+
"description": "Optional compartment restriction for the user account.",
|
|
61541
|
+
"$ref": "#/definitions/Reference"
|
|
61542
|
+
},
|
|
61543
|
+
"resource": {
|
|
61544
|
+
"description": "Access details for a resource type.",
|
|
61545
|
+
"items": {
|
|
61546
|
+
"$ref": "#/definitions/AccessPolicy_Resource"
|
|
61547
|
+
},
|
|
61548
|
+
"type": "array"
|
|
61549
|
+
}
|
|
61550
|
+
}
|
|
61551
|
+
},
|
|
61552
|
+
"AccessPolicy_Resource": {
|
|
61553
|
+
"description": "Access details for a resource type.",
|
|
61554
|
+
"properties": {
|
|
61555
|
+
"resourceType": {
|
|
61556
|
+
"description": "The resource type.",
|
|
61557
|
+
"$ref": "#/definitions/string"
|
|
61558
|
+
},
|
|
61559
|
+
"compartment": {
|
|
61560
|
+
"description": "Optional compartment restriction for the resource type.",
|
|
61561
|
+
"$ref": "#/definitions/Reference"
|
|
61562
|
+
},
|
|
61563
|
+
"readonly": {
|
|
61564
|
+
"description": "Optional flag to indicate that the resource type is read-only.",
|
|
61565
|
+
"$ref": "#/definitions/boolean"
|
|
61566
|
+
},
|
|
61567
|
+
"hiddenFields": {
|
|
61568
|
+
"description": "Optional list of hidden fields. Hidden fields are not readable or writeable.",
|
|
61569
|
+
"items": {
|
|
61570
|
+
"$ref": "#/definitions/string"
|
|
61571
|
+
},
|
|
61572
|
+
"type": "array"
|
|
61573
|
+
},
|
|
61574
|
+
"readonlyFields": {
|
|
61575
|
+
"description": "Optional list of read-only fields. Read-only fields are readable but not writeable.",
|
|
61576
|
+
"items": {
|
|
61577
|
+
"$ref": "#/definitions/string"
|
|
61578
|
+
},
|
|
61579
|
+
"type": "array"
|
|
61580
|
+
}
|
|
61581
|
+
}
|
|
61441
61582
|
}
|
|
61442
61583
|
}
|
|
61443
61584
|
}
|