@medplum/fhirtypes
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -199,4 +199,5 @@ /* | ||
export * from './User'; | ||
export * from './UserConfiguration'; | ||
export * from './ValueSet'; | ||
export * from './VerificationResult'; | ||
export * from './VisionPrescription'; |
@@ -6,10 +6,6 @@ /* | ||
import { AccessPolicy } from './AccessPolicy'; | ||
import { ClientApplication } from './ClientApplication'; | ||
import { Meta } from './Meta'; | ||
import { Patient } from './Patient'; | ||
import { Practitioner } from './Practitioner'; | ||
import { Project } from './Project'; | ||
import { ProjectMembership } from './ProjectMembership'; | ||
import { Reference } from './Reference'; | ||
import { RelatedPerson } from './RelatedPerson'; | ||
import { User } from './User'; | ||
@@ -61,9 +57,9 @@ | ||
*/ | ||
readonly user?: Reference<User>; | ||
readonly user?: Reference<ClientApplication | User>; | ||
/** | ||
* Reference to the user's FHIR identity for this login (patient, | ||
* practitioner, etc). | ||
* Reference to the project membership which includes FHIR identity | ||
* (patient, practitioner, etc), access policy, and user configuration. | ||
*/ | ||
readonly profile?: Reference<Patient | Practitioner | RelatedPerson | ClientApplication>; | ||
readonly membership?: Reference<ProjectMembership>; | ||
@@ -133,14 +129,2 @@ /** | ||
/** | ||
* Collection of compartments that the user has been granted access. | ||
* This is a flattened collection of all ProjectMembership compartments | ||
* at the time of login. | ||
*/ | ||
readonly accessPolicy?: Reference<AccessPolicy>; | ||
/** | ||
* Reference to the default project for the duration of the login. | ||
*/ | ||
readonly project?: Reference<Project>; | ||
/** | ||
* Whether this login has system administrator privileges. | ||
@@ -147,0 +131,0 @@ */ |
@@ -7,2 +7,3 @@ /* | ||
import { AccessPolicy } from './AccessPolicy'; | ||
import { ClientApplication } from './ClientApplication'; | ||
import { Meta } from './Meta'; | ||
@@ -15,2 +16,3 @@ import { Patient } from './Patient'; | ||
import { User } from './User'; | ||
import { UserConfiguration } from './UserConfiguration'; | ||
@@ -62,3 +64,3 @@ /** | ||
*/ | ||
readonly user?: Reference<User>; | ||
readonly user?: Reference<ClientApplication | User>; | ||
@@ -69,3 +71,3 @@ /** | ||
*/ | ||
readonly profile?: Reference<Patient | Practitioner | RelatedPerson>; | ||
readonly profile?: Reference<ClientApplication | Patient | Practitioner | RelatedPerson>; | ||
@@ -84,2 +86,8 @@ /** | ||
/** | ||
* The user configuration for the user within the project memebership | ||
* such as menu links, saved searches, and features. | ||
*/ | ||
readonly userConfiguration?: Reference<UserConfiguration>; | ||
/** | ||
* Whether this user is a project administrator. | ||
@@ -86,0 +94,0 @@ */ |
@@ -158,2 +158,3 @@ /* | ||
import { User } from './User'; | ||
import { UserConfiguration } from './UserConfiguration'; | ||
import { ValueSet } from './ValueSet'; | ||
@@ -315,4 +316,5 @@ import { VerificationResult } from './VerificationResult'; | ||
| User | ||
| UserConfiguration | ||
| ValueSet | ||
| VerificationResult | ||
| VisionPrescription; |
{ | ||
"name": "@medplum/fhirtypes", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Medplum FHIR Type Definitions", | ||
@@ -5,0 +5,0 @@ "author": "Medplum <hello@medplum.com>", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2513724
200
62852