@medplum/definitions 0.5.2 → 0.9.2
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,11 +1,19 @@
|
|
|
1
|
-
# Medplum
|
|
2
|
-
|
|
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
|
-
|
|
5
1
|
# Medplum Data Definitions
|
|
6
2
|
|
|
7
3
|
This package contains raw data definitions for a number of healthcare standards.
|
|
8
4
|
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
Add as a dependency:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install @medplum/definitions
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## About Medplum
|
|
14
|
+
|
|
15
|
+
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.
|
|
16
|
+
|
|
9
17
|
## License
|
|
10
18
|
|
|
11
19
|
Apache 2.0. Copyright © Medplum 2022
|
|
@@ -61516,6 +61516,10 @@
|
|
|
61516
61516
|
"description": "A summary, characterization or explanation of the Bot.",
|
|
61517
61517
|
"$ref": "#/definitions/string"
|
|
61518
61518
|
},
|
|
61519
|
+
"runtimeVersion": {
|
|
61520
|
+
"description": "The identifier of the bot runtime environment (i.e., vmcontext, awslambda, etc).",
|
|
61521
|
+
"$ref": "#/definitions/string"
|
|
61522
|
+
},
|
|
61519
61523
|
"photo": {
|
|
61520
61524
|
"description": "Image of the bot.",
|
|
61521
61525
|
"$ref": "#/definitions/Attachment"
|
|
@@ -61523,6 +61527,10 @@
|
|
|
61523
61527
|
"code": {
|
|
61524
61528
|
"description": "Bot logic script.",
|
|
61525
61529
|
"$ref": "#/definitions/string"
|
|
61530
|
+
},
|
|
61531
|
+
"runAsUser": {
|
|
61532
|
+
"description": "Optional flag to indicate that the bot should be run as the user.",
|
|
61533
|
+
"$ref": "#/definitions/boolean"
|
|
61526
61534
|
}
|
|
61527
61535
|
}
|
|
61528
61536
|
},
|
|
@@ -61582,9 +61590,13 @@
|
|
|
61582
61590
|
"$ref": "#/definitions/string"
|
|
61583
61591
|
},
|
|
61584
61592
|
"compartment": {
|
|
61585
|
-
"description": "Optional compartment restriction for the resource type.",
|
|
61593
|
+
"description": "DEPRECATED Optional compartment restriction for the resource type.",
|
|
61586
61594
|
"$ref": "#/definitions/Reference"
|
|
61587
61595
|
},
|
|
61596
|
+
"criteria": {
|
|
61597
|
+
"description": "The rules that the server should use to determine which resources to allow.",
|
|
61598
|
+
"$ref": "#/definitions/string"
|
|
61599
|
+
},
|
|
61588
61600
|
"readonly": {
|
|
61589
61601
|
"description": "Optional flag to indicate that the resource type is read-only.",
|
|
61590
61602
|
"$ref": "#/definitions/boolean"
|
|
@@ -357,7 +357,8 @@
|
|
|
357
357
|
"max" : "1",
|
|
358
358
|
"type" : [{
|
|
359
359
|
"code" : "Reference",
|
|
360
|
-
"targetProfile" : ["https://medplum.com/fhir/StructureDefinition/
|
|
360
|
+
"targetProfile" : ["https://medplum.com/fhir/StructureDefinition/Bot",
|
|
361
|
+
"https://medplum.com/fhir/StructureDefinition/ClientApplication",
|
|
361
362
|
"https://medplum.com/fhir/StructureDefinition/User"]
|
|
362
363
|
}]
|
|
363
364
|
},
|
|
@@ -369,7 +370,8 @@
|
|
|
369
370
|
"max" : "1",
|
|
370
371
|
"type" : [{
|
|
371
372
|
"code" : "Reference",
|
|
372
|
-
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/
|
|
373
|
+
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Bot",
|
|
374
|
+
"http://hl7.org/fhir/StructureDefinition/ClientApplication",
|
|
373
375
|
"http://hl7.org/fhir/StructureDefinition/Patient",
|
|
374
376
|
"http://hl7.org/fhir/StructureDefinition/Practitioner",
|
|
375
377
|
"http://hl7.org/fhir/StructureDefinition/RelatedPerson"]
|
|
@@ -482,6 +484,16 @@
|
|
|
482
484
|
"code" : "string"
|
|
483
485
|
}]
|
|
484
486
|
},
|
|
487
|
+
{
|
|
488
|
+
"id" : "Bot.runtimeVersion",
|
|
489
|
+
"path" : "Bot.runtimeVersion",
|
|
490
|
+
"definition" : "The identifier of the bot runtime environment (i.e., vmcontext, awslambda, etc).",
|
|
491
|
+
"min" : 0,
|
|
492
|
+
"max" : "1",
|
|
493
|
+
"type" : [{
|
|
494
|
+
"code" : "string"
|
|
495
|
+
}]
|
|
496
|
+
},
|
|
485
497
|
{
|
|
486
498
|
"id" : "Bot.photo",
|
|
487
499
|
"path" : "Bot.photo",
|
|
@@ -501,6 +513,16 @@
|
|
|
501
513
|
"type" : [{
|
|
502
514
|
"code" : "string"
|
|
503
515
|
}]
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
"id" : "Bot.runAsUser",
|
|
519
|
+
"path" : "Bot.runAsUser",
|
|
520
|
+
"definition" : "Optional flag to indicate that the bot should be run as the user.",
|
|
521
|
+
"min" : 0,
|
|
522
|
+
"max" : "1",
|
|
523
|
+
"type" : [{
|
|
524
|
+
"code" : "boolean"
|
|
525
|
+
}]
|
|
504
526
|
}
|
|
505
527
|
]
|
|
506
528
|
}
|
|
@@ -1168,13 +1190,24 @@
|
|
|
1168
1190
|
{
|
|
1169
1191
|
"id" : "AccessPolicy.resource.compartment",
|
|
1170
1192
|
"path" : "AccessPolicy.resource.compartment",
|
|
1171
|
-
"definition" : "Optional compartment restriction for the resource type.",
|
|
1193
|
+
"definition" : "DEPRECATED Optional compartment restriction for the resource type.",
|
|
1172
1194
|
"min" : 0,
|
|
1173
1195
|
"max" : "1",
|
|
1174
1196
|
"type" : [{
|
|
1175
1197
|
"code" : "Reference"
|
|
1176
1198
|
}]
|
|
1177
1199
|
},
|
|
1200
|
+
{
|
|
1201
|
+
"id" : "AccessPolicy.resource.criteria",
|
|
1202
|
+
"path" : "AccessPolicy.resource.criteria",
|
|
1203
|
+
"definition" : "The rules that the server should use to determine which resources to allow.",
|
|
1204
|
+
"comment" : "The rules are search criteria (without the [base] part). Like Bundle.entry.request.url, it has no leading \"/\".",
|
|
1205
|
+
"min" : 0,
|
|
1206
|
+
"max" : "1",
|
|
1207
|
+
"type" : [{
|
|
1208
|
+
"code" : "string"
|
|
1209
|
+
}]
|
|
1210
|
+
},
|
|
1178
1211
|
{
|
|
1179
1212
|
"id" : "AccessPolicy.resource.readonly",
|
|
1180
1213
|
"path" : "AccessPolicy.resource.readonly",
|
|
@@ -65513,6 +65513,24 @@
|
|
|
65513
65513
|
"target" : ["ClientApplication", "User"]
|
|
65514
65514
|
}
|
|
65515
65515
|
},
|
|
65516
|
+
{
|
|
65517
|
+
"fullUrl" : "https://medplum.com/fhir/SearchParameter/ProjectMembership-profile",
|
|
65518
|
+
"resource" : {
|
|
65519
|
+
"resourceType" : "SearchParameter",
|
|
65520
|
+
"id" : "ProjectMembership-profile",
|
|
65521
|
+
"url" : "https://medplum.com/fhir/SearchParameter/ProjectMembership-profile",
|
|
65522
|
+
"version" : "4.0.1",
|
|
65523
|
+
"name" : "profile",
|
|
65524
|
+
"publisher" : "Medplum",
|
|
65525
|
+
"code" : "profile",
|
|
65526
|
+
"base" : ["ProjectMembership"],
|
|
65527
|
+
"type" : "reference",
|
|
65528
|
+
"expression" : "ProjectMembership.profile",
|
|
65529
|
+
"xpath" : "f:ProjectMembership/f:profile",
|
|
65530
|
+
"xpathUsage" : "normal",
|
|
65531
|
+
"target" : ["ClientApplication", "Patient", "Practitioner"]
|
|
65532
|
+
}
|
|
65533
|
+
},
|
|
65516
65534
|
{
|
|
65517
65535
|
"fullUrl" : "https://medplum.com/fhir/SearchParameter/ClientApplication-name",
|
|
65518
65536
|
"resource" : {
|