@medplum/definitions 5.1.12 → 5.1.14

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.
@@ -62870,6 +62870,23 @@
62870
62870
  "useSubject": {
62871
62871
  "description": "Optional flag to use the subject field instead of the email field.",
62872
62872
  "$ref": "#/definitions/boolean"
62873
+ },
62874
+ "identitySource": {
62875
+ "description": "External credential field used to identify the user.",
62876
+ "enum": [
62877
+ "email",
62878
+ "subject",
62879
+ "fhir-user"
62880
+ ]
62881
+ },
62882
+ "identityMappingMode": {
62883
+ "description": "Medplum identity mapping target.",
62884
+ "enum": [
62885
+ "user-email",
62886
+ "user-external-id",
62887
+ "project-membership-external-id",
62888
+ "project-membership-profile"
62889
+ ]
62873
62890
  }
62874
62891
  },
62875
62892
  "additionalProperties": false,
@@ -5368,6 +5368,42 @@
5368
5368
  "max" : "1"
5369
5369
  }
5370
5370
  },
5371
+ {
5372
+ "id" : "IdentityProvider.userInfoMode",
5373
+ "path" : "IdentityProvider.userInfoMode",
5374
+ "short" : "Optional userinfo mode. Defaults to standard OIDC userinfo semantics.",
5375
+ "definition" : "Optional userinfo mode. Defaults to standard OIDC userinfo semantics.",
5376
+ "min" : 0,
5377
+ "max" : "1",
5378
+ "type" : [{
5379
+ "code" : "code"
5380
+ }],
5381
+ "binding" : {
5382
+ "strength" : "required",
5383
+ "valueSet" : "https://medplum.com/fhir/ValueSet/identity-provider-user-info-mode|4.0.1"
5384
+ },
5385
+ "base" : {
5386
+ "path" : "IdentityProvider.userInfoMode",
5387
+ "min" : 0,
5388
+ "max" : "1"
5389
+ }
5390
+ },
5391
+ {
5392
+ "id" : "IdentityProvider.userInfoApiKey",
5393
+ "path" : "IdentityProvider.userInfoApiKey",
5394
+ "short" : "Optional API key used by custom userinfo modes such as Google Cloud Identity Platform.",
5395
+ "definition" : "Optional API key used by custom userinfo modes such as Google Cloud Identity Platform.",
5396
+ "min" : 0,
5397
+ "max" : "1",
5398
+ "type" : [{
5399
+ "code" : "string"
5400
+ }],
5401
+ "base" : {
5402
+ "path" : "IdentityProvider.userInfoApiKey",
5403
+ "min" : 0,
5404
+ "max" : "1"
5405
+ }
5406
+ },
5371
5407
  {
5372
5408
  "id" : "IdentityProvider.clientId",
5373
5409
  "path" : "IdentityProvider.clientId",
@@ -5429,6 +5465,46 @@
5429
5465
  "min" : 0,
5430
5466
  "max" : "1"
5431
5467
  }
5468
+ },
5469
+ {
5470
+ "id" : "IdentityProvider.identitySource",
5471
+ "path" : "IdentityProvider.identitySource",
5472
+ "short" : "External credential field used to identify the user.",
5473
+ "definition" : "External credential field used to identify the user.",
5474
+ "min" : 0,
5475
+ "max" : "1",
5476
+ "base" : {
5477
+ "path" : "IdentityProvider.identitySource",
5478
+ "min" : 0,
5479
+ "max" : "1"
5480
+ },
5481
+ "type" : [{
5482
+ "code" : "code"
5483
+ }],
5484
+ "binding" : {
5485
+ "strength" : "required",
5486
+ "valueSet" : "https://medplum.com/fhir/ValueSet/identity-provider-identity-source|4.0.1"
5487
+ }
5488
+ },
5489
+ {
5490
+ "id" : "IdentityProvider.identityMappingMode",
5491
+ "path" : "IdentityProvider.identityMappingMode",
5492
+ "short" : "Medplum identity mapping target.",
5493
+ "definition" : "Medplum identity mapping target.",
5494
+ "min" : 0,
5495
+ "max" : "1",
5496
+ "base" : {
5497
+ "path" : "IdentityProvider.identityMappingMode",
5498
+ "min" : 0,
5499
+ "max" : "1"
5500
+ },
5501
+ "type" : [{
5502
+ "code" : "code"
5503
+ }],
5504
+ "binding" : {
5505
+ "strength" : "required",
5506
+ "valueSet" : "https://medplum.com/fhir/ValueSet/identity-provider-identity-mapping-mode|4.0.1"
5507
+ }
5432
5508
  }
5433
5509
  ]
5434
5510
  }
@@ -72,6 +72,24 @@
72
72
  "expression": "Project.features"
73
73
  }
74
74
  },
75
+ {
76
+ "fullUrl": "https://medplum.com/fhir/SearchParameter/Project-link",
77
+ "resource": {
78
+ "resourceType": "SearchParameter",
79
+ "id": "Project-link",
80
+ "url": "https://medplum.com/fhir/SearchParameter/Project-link",
81
+ "version": "4.0.1",
82
+ "name": "link",
83
+ "status": "draft",
84
+ "publisher": "Medplum",
85
+ "description": "The linked projects of the project",
86
+ "code": "link",
87
+ "base": ["Project"],
88
+ "type": "reference",
89
+ "expression": "Project.link.project",
90
+ "target": ["Project"]
91
+ }
92
+ },
75
93
  {
76
94
  "fullUrl": "https://medplum.com/fhir/SearchParameter/Project-google-client-id",
77
95
  "resource": {
@@ -796,6 +796,150 @@
796
796
  }
797
797
  }
798
798
  },
799
+ {
800
+ "fullUrl": "https://medplum.com/fhir/CodeSystem/identity-provider-user-info-mode",
801
+ "resource": {
802
+ "resourceType": "CodeSystem",
803
+ "id": "identity-provider-user-info-mode",
804
+ "url": "https://medplum.com/fhir/CodeSystem/identity-provider-user-info-mode",
805
+ "status": "active",
806
+ "valueSet": "https://medplum.com/fhir/ValueSet/identity-provider-user-info-mode",
807
+ "content": "complete",
808
+ "concept": [
809
+ {
810
+ "code": "oidc",
811
+ "display": "OpenID Connect",
812
+ "definition": "Clients that use OpenID Connect (OIDC) for authentication and authorization."
813
+ },
814
+ {
815
+ "code": "gcip",
816
+ "display": "GCIP",
817
+ "definition": "Clients that use Google Cloud Identity Platform (GCIP) for authentication and authorization."
818
+ }
819
+ ]
820
+ }
821
+ },
822
+ {
823
+ "fullUrl": "https://medplum.com/fhir/ValueSet/identity-provider-user-info-mode",
824
+ "resource": {
825
+ "resourceType": "ValueSet",
826
+ "id": "identity-provider-user-info-mode",
827
+ "url": "https://medplum.com/fhir/ValueSet/identity-provider-user-info-mode",
828
+ "status": "active",
829
+ "compose": {
830
+ "include": [
831
+ {
832
+ "system": "https://medplum.com/fhir/CodeSystem/identity-provider-user-info-mode"
833
+ }
834
+ ]
835
+ }
836
+ }
837
+ },
838
+ {
839
+ "fullUrl": "https://medplum.com/fhir/CodeSystem/identity-provider-identity-source",
840
+ "resource": {
841
+ "resourceType": "CodeSystem",
842
+ "id": "identity-provider-identity-source",
843
+ "url": "https://medplum.com/fhir/CodeSystem/identity-provider-identity-source",
844
+ "name": "IdentityProviderIdentitySource",
845
+ "title": "Identity Provider Identity Source",
846
+ "status": "active",
847
+ "description": "External credential fields used to identify a user.",
848
+ "valueSet": "https://medplum.com/fhir/ValueSet/identity-provider-identity-source",
849
+ "content": "complete",
850
+ "concept": [
851
+ {
852
+ "code": "email",
853
+ "display": "Email",
854
+ "definition": "Use the email claim from the external identity provider."
855
+ },
856
+ {
857
+ "code": "subject",
858
+ "display": "Subject",
859
+ "definition": "Use the subject claim from the external identity provider."
860
+ },
861
+ {
862
+ "code": "fhir-user",
863
+ "display": "FHIR User",
864
+ "definition": "Use the fhirUser claim from the external identity provider."
865
+ }
866
+ ]
867
+ }
868
+ },
869
+ {
870
+ "fullUrl": "https://medplum.com/fhir/ValueSet/identity-provider-identity-source",
871
+ "resource": {
872
+ "resourceType": "ValueSet",
873
+ "id": "identity-provider-identity-source",
874
+ "url": "https://medplum.com/fhir/ValueSet/identity-provider-identity-source",
875
+ "name": "IdentityProviderIdentitySource",
876
+ "title": "Identity Provider Identity Source",
877
+ "status": "active",
878
+ "description": "External credential fields used to identify a user.",
879
+ "compose": {
880
+ "include": [
881
+ {
882
+ "system": "https://medplum.com/fhir/CodeSystem/identity-provider-identity-source"
883
+ }
884
+ ]
885
+ }
886
+ }
887
+ },
888
+ {
889
+ "fullUrl": "https://medplum.com/fhir/CodeSystem/identity-provider-identity-mapping-mode",
890
+ "resource": {
891
+ "resourceType": "CodeSystem",
892
+ "id": "identity-provider-identity-mapping-mode",
893
+ "url": "https://medplum.com/fhir/CodeSystem/identity-provider-identity-mapping-mode",
894
+ "name": "IdentityProviderIdentityMappingMode",
895
+ "title": "Identity Provider Identity Mapping Mode",
896
+ "status": "active",
897
+ "description": "Medplum identity mapping targets for external identity providers.",
898
+ "valueSet": "https://medplum.com/fhir/ValueSet/identity-provider-identity-mapping-mode",
899
+ "content": "complete",
900
+ "concept": [
901
+ {
902
+ "code": "user-email",
903
+ "display": "User Email",
904
+ "definition": "Map the external identity to a User by email address."
905
+ },
906
+ {
907
+ "code": "user-external-id",
908
+ "display": "User External ID",
909
+ "definition": "Map the external identity to a User by external ID."
910
+ },
911
+ {
912
+ "code": "project-membership-external-id",
913
+ "display": "Project Membership External ID",
914
+ "definition": "Map the external identity to a ProjectMembership by external ID."
915
+ },
916
+ {
917
+ "code": "project-membership-profile",
918
+ "display": "Project Membership Profile",
919
+ "definition": "Map the external identity to a ProjectMembership by profile reference."
920
+ }
921
+ ]
922
+ }
923
+ },
924
+ {
925
+ "fullUrl": "https://medplum.com/fhir/ValueSet/identity-provider-identity-mapping-mode",
926
+ "resource": {
927
+ "resourceType": "ValueSet",
928
+ "id": "identity-provider-identity-mapping-mode",
929
+ "url": "https://medplum.com/fhir/ValueSet/identity-provider-identity-mapping-mode",
930
+ "name": "IdentityProviderIdentityMappingMode",
931
+ "title": "Identity Provider Identity Mapping Mode",
932
+ "status": "active",
933
+ "description": "Medplum identity mapping targets for external identity providers.",
934
+ "compose": {
935
+ "include": [
936
+ {
937
+ "system": "https://medplum.com/fhir/CodeSystem/identity-provider-identity-mapping-mode"
938
+ }
939
+ ]
940
+ }
941
+ }
942
+ },
799
943
  {
800
944
  "fullUrl": "https://medplum.com/fhir/CodeSystem/client-application-status",
801
945
  "resource": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/definitions",
3
- "version": "5.1.12",
3
+ "version": "5.1.14",
4
4
  "description": "Medplum Data Definitions",
5
5
  "keywords": [
6
6
  "medplum",
@@ -54,7 +54,7 @@
54
54
  "clean": "rimraf dist",
55
55
  "lint": "eslint .",
56
56
  "lint:fix": "eslint . --fix",
57
- "test": "jest"
57
+ "test": "vitest run"
58
58
  },
59
59
  "engines": {
60
60
  "node": "^22.18.0 || >=24.2.0"