@medplum/definitions 0.2.2 → 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 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. Medplum includes a FHIR server, React component library, and developer app.
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. Copyright © Medplum 2021
11
+ Apache 2.0. Copyright © Medplum 2021
@@ -61536,6 +61536,10 @@
61536
61536
  "description": "A name associated with the AccessPolicy.",
61537
61537
  "$ref": "#/definitions/string"
61538
61538
  },
61539
+ "compartment": {
61540
+ "description": "Optional compartment restriction for the user account.",
61541
+ "$ref": "#/definitions/Reference"
61542
+ },
61539
61543
  "resource": {
61540
61544
  "description": "Access details for a resource type.",
61541
61545
  "items": {
@@ -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" : {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/definitions",
3
- "version": "0.2.2",
3
+ "version": "0.3.0",
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,