@medplum/definitions 0.9.1 → 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
@@ -61590,9 +61590,13 @@
61590
61590
  "$ref": "#/definitions/string"
61591
61591
  },
61592
61592
  "compartment": {
61593
- "description": "Optional compartment restriction for the resource type.",
61593
+ "description": "DEPRECATED Optional compartment restriction for the resource type.",
61594
61594
  "$ref": "#/definitions/Reference"
61595
61595
  },
61596
+ "criteria": {
61597
+ "description": "The rules that the server should use to determine which resources to allow.",
61598
+ "$ref": "#/definitions/string"
61599
+ },
61596
61600
  "readonly": {
61597
61601
  "description": "Optional flag to indicate that the resource type is read-only.",
61598
61602
  "$ref": "#/definitions/boolean"
@@ -1190,13 +1190,24 @@
1190
1190
  {
1191
1191
  "id" : "AccessPolicy.resource.compartment",
1192
1192
  "path" : "AccessPolicy.resource.compartment",
1193
- "definition" : "Optional compartment restriction for the resource type.",
1193
+ "definition" : "DEPRECATED Optional compartment restriction for the resource type.",
1194
1194
  "min" : 0,
1195
1195
  "max" : "1",
1196
1196
  "type" : [{
1197
1197
  "code" : "Reference"
1198
1198
  }]
1199
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
+ },
1200
1211
  {
1201
1212
  "id" : "AccessPolicy.resource.readonly",
1202
1213
  "path" : "AccessPolicy.resource.readonly",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/definitions",
3
- "version": "0.9.1",
3
+ "version": "0.9.2",
4
4
  "description": "Medplum Data Definitions",
5
5
  "author": "Medplum <hello@medplum.com>",
6
6
  "license": "Apache-2.0",