@medplum/fhirtypes 0.4.1 → 0.5.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
@@ -58,4 +58,4 @@ const myPatient: Patient = {
58
58
 
59
59
  ## License
60
60
 
61
- Apache 2.0. Copyright © Medplum 2021
61
+ Apache 2.0. Copyright © Medplum 2022
package/dist/Login.d.ts CHANGED
@@ -66,6 +66,12 @@ export interface Login {
66
66
  */
67
67
  readonly scope?: string;
68
68
 
69
+ /**
70
+ * The authentication method used to obtain the code (password or
71
+ * google).
72
+ */
73
+ readonly authMethod?: string;
74
+
69
75
  /**
70
76
  * Time when the End-User authentication occurred.
71
77
  */
@@ -127,4 +133,15 @@ export interface Login {
127
133
  * Whether this login has system administrator privileges.
128
134
  */
129
135
  readonly admin?: boolean;
136
+
137
+ /**
138
+ * The Internet Protocol (IP) address of the client or last proxy that
139
+ * sent the request.
140
+ */
141
+ readonly remoteAddress?: string;
142
+
143
+ /**
144
+ * The User-Agent request header as sent by the client.
145
+ */
146
+ readonly userAgent?: string;
130
147
  }
package/dist/Project.d.ts CHANGED
@@ -3,6 +3,7 @@
3
3
  * Do not edit manually.
4
4
  */
5
5
 
6
+ import { AccessPolicy } from './AccessPolicy';
6
7
  import { Meta } from './Meta';
7
8
  import { Reference } from './Reference';
8
9
  import { User } from './User';
@@ -59,4 +60,9 @@ export interface Project {
59
60
  * A list of optional features that are enabled for the project.
60
61
  */
61
62
  readonly features?: string[];
63
+
64
+ /**
65
+ * The default access policy for patients using open registration.
66
+ */
67
+ readonly defaultPatientAccessPolicy?: Reference<AccessPolicy>;
62
68
  }
@@ -67,12 +67,6 @@ export interface ProjectMembership {
67
67
  */
68
68
  readonly profile?: Reference<ClientApplication | Patient | Practitioner | RelatedPerson>;
69
69
 
70
- /**
71
- * Optional account reference that can be used for sub-project
72
- * compartments.
73
- */
74
- readonly account?: Reference;
75
-
76
70
  /**
77
71
  * The access policy for the user within the project memebership.
78
72
  */
@@ -41,6 +41,11 @@ export interface UserConfiguration {
41
41
  */
42
42
  readonly language?: string;
43
43
 
44
+ /**
45
+ * A name associated with the UserConfiguration.
46
+ */
47
+ readonly name?: string;
48
+
44
49
  /**
45
50
  * Optional menu of shortcuts to URLs.
46
51
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/fhirtypes",
3
- "version": "0.4.1",
3
+ "version": "0.5.2",
4
4
  "description": "Medplum FHIR Type Definitions",
5
5
  "author": "Medplum <hello@medplum.com>",
6
6
  "license": "Apache-2.0",