@medplum/definitions 5.1.37 → 5.1.38

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.
@@ -205,7 +205,9 @@
205
205
  "DicomSeries": "#/definitions/DicomSeries",
206
206
  "DicomInstance": "#/definitions/DicomInstance",
207
207
  "Enterprise": "#/definitions/Enterprise",
208
- "EnterpriseProject": "#/definitions/EnterpriseProject"
208
+ "EnterpriseProject": "#/definitions/EnterpriseProject",
209
+ "Cron": "#/definitions/Cron",
210
+ "CronParameter": "#/definitions/CronParameter"
209
211
  }
210
212
  },
211
213
  "oneOf": [
@@ -811,6 +813,12 @@
811
813
  },
812
814
  {
813
815
  "$ref": "#/definitions/EnterpriseProject"
816
+ },
817
+ {
818
+ "$ref": "#/definitions/Cron"
819
+ },
820
+ {
821
+ "$ref": "#/definitions/CronParameter"
814
822
  }
815
823
  ],
816
824
  "definitions": {
@@ -1418,6 +1426,12 @@
1418
1426
  },
1419
1427
  {
1420
1428
  "$ref": "#/definitions/EnterpriseProject"
1429
+ },
1430
+ {
1431
+ "$ref": "#/definitions/Cron"
1432
+ },
1433
+ {
1434
+ "$ref": "#/definitions/CronParameter"
1421
1435
  }
1422
1436
  ]
1423
1437
  },
@@ -63702,6 +63716,10 @@
63702
63716
  "description": "Whether this request has been used, and is therefore no longer valid.",
63703
63717
  "$ref": "#/definitions/boolean"
63704
63718
  },
63719
+ "expiresAt": {
63720
+ "description": "The time at which this request expires, and is therefore no longer valid.",
63721
+ "$ref": "#/definitions/instant"
63722
+ },
63705
63723
  "redirectUri": {
63706
63724
  "description": "Redirect URI used when redirecting a client back to the client application.",
63707
63725
  "$ref": "#/definitions/uri"
@@ -65792,6 +65810,139 @@
65792
65810
  "project",
65793
65811
  "code"
65794
65812
  ]
65813
+ },
65814
+ "Cron": {
65815
+ "description": "A scheduled job that executes a Bot on a recurring schedule.",
65816
+ "properties": {
65817
+ "resourceType": {
65818
+ "description": "This is a Cron resource",
65819
+ "const": "Cron"
65820
+ },
65821
+ "id": {
65822
+ "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
65823
+ "$ref": "#/definitions/string"
65824
+ },
65825
+ "meta": {
65826
+ "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
65827
+ "$ref": "#/definitions/Meta"
65828
+ },
65829
+ "implicitRules": {
65830
+ "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.",
65831
+ "$ref": "#/definitions/uri"
65832
+ },
65833
+ "language": {
65834
+ "description": "The base language in which the resource is written.",
65835
+ "$ref": "#/definitions/code"
65836
+ },
65837
+ "text": {
65838
+ "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
65839
+ "$ref": "#/definitions/Narrative"
65840
+ },
65841
+ "contained": {
65842
+ "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
65843
+ "items": {
65844
+ "$ref": "#/definitions/Resource"
65845
+ },
65846
+ "type": "array"
65847
+ },
65848
+ "extension": {
65849
+ "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
65850
+ "items": {
65851
+ "$ref": "#/definitions/Extension"
65852
+ },
65853
+ "type": "array"
65854
+ },
65855
+ "modifierExtension": {
65856
+ "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element\u0027s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
65857
+ "items": {
65858
+ "$ref": "#/definitions/Extension"
65859
+ },
65860
+ "type": "array"
65861
+ },
65862
+ "identifier": {
65863
+ "description": "An identifier for this cron job.",
65864
+ "items": {
65865
+ "$ref": "#/definitions/Identifier"
65866
+ },
65867
+ "type": "array"
65868
+ },
65869
+ "active": {
65870
+ "description": "Whether the scheduled job runs. Setting this to false unregisters the job while leaving the schedule itself intact, so the job can be turned back on without redefining it.",
65871
+ "$ref": "#/definitions/boolean"
65872
+ },
65873
+ "onBehalfOf": {
65874
+ "description": "The project membership whose identity and access policy the scheduled job assumes when it runs.",
65875
+ "$ref": "#/definitions/Reference"
65876
+ },
65877
+ "parameter": {
65878
+ "description": "Input passed to the target each time the scheduled job runs, with the same structure as Parameters.parameter. The target is always invoked with the whole Cron resource, so these parameters arrive alongside the schedule that produced them.",
65879
+ "items": {
65880
+ "$ref": "#/definitions/CronParameter"
65881
+ },
65882
+ "type": "array"
65883
+ },
65884
+ "cronString": {
65885
+ "description": "A schedule for the job to be executed, as a cron expression. An expression that is not a valid five-field cron expression is rejected on write.",
65886
+ "$ref": "#/definitions/string"
65887
+ },
65888
+ "endTime": {
65889
+ "description": "The point in time after which the job no longer runs. A job whose end time has already passed is never scheduled, and a running one is removed once the time passes. When absent, the job runs until it is disabled or deleted.",
65890
+ "$ref": "#/definitions/dateTime"
65891
+ },
65892
+ "targetReference": {
65893
+ "description": "The target invoked each time the scheduled job runs.",
65894
+ "$ref": "#/definitions/Reference"
65895
+ }
65896
+ },
65897
+ "additionalProperties": false,
65898
+ "required": [
65899
+ "resourceType",
65900
+ "active",
65901
+ "onBehalfOf",
65902
+ "cronString",
65903
+ "targetReference"
65904
+ ]
65905
+ },
65906
+ "CronParameter": {
65907
+ "description": "Input passed to the target each time the scheduled job runs, with the same structure as Parameters.parameter. The target is always invoked with the whole Cron resource, so these parameters arrive alongside the schedule that produced them.",
65908
+ "properties": {
65909
+ "name": {
65910
+ "description": "The name of the parameter (reference to the operation definition).",
65911
+ "$ref": "#/definitions/string"
65912
+ },
65913
+ "valueBoolean": {
65914
+ "description": "If the parameter is a data type.",
65915
+ "$ref": "#/definitions/boolean"
65916
+ },
65917
+ "valueDateTime": {
65918
+ "description": "If the parameter is a data type.",
65919
+ "$ref": "#/definitions/dateTime"
65920
+ },
65921
+ "valueDecimal": {
65922
+ "description": "If the parameter is a data type.",
65923
+ "$ref": "#/definitions/decimal"
65924
+ },
65925
+ "valueInteger": {
65926
+ "description": "If the parameter is a data type.",
65927
+ "$ref": "#/definitions/integer"
65928
+ },
65929
+ "valueString": {
65930
+ "description": "If the parameter is a data type.",
65931
+ "$ref": "#/definitions/string"
65932
+ },
65933
+ "valueReference": {
65934
+ "description": "If the parameter is a data type.",
65935
+ "$ref": "#/definitions/Reference"
65936
+ },
65937
+ "resource": {
65938
+ "description": "If the parameter is a whole resource.",
65939
+ "$ref": "#/definitions/Resource"
65940
+ }
65941
+ },
65942
+ "additionalProperties": false,
65943
+ "required": [
65944
+ "name"
65945
+ ]
65795
65946
  }
65796
65947
  }
65797
65948
  }
@@ -3626,6 +3626,21 @@
3626
3626
  "max" : "1"
3627
3627
  }
3628
3628
  },
3629
+ {
3630
+ "id" : "UserSecurityRequest.expiresAt",
3631
+ "path" : "UserSecurityRequest.expiresAt",
3632
+ "definition" : "The time at which this request expires, and is therefore no longer valid.",
3633
+ "min" : 0,
3634
+ "max" : "1",
3635
+ "type" : [{
3636
+ "code" : "instant"
3637
+ }],
3638
+ "base" : {
3639
+ "path" : "UserSecurityRequest.expiresAt",
3640
+ "min" : 0,
3641
+ "max" : "1"
3642
+ }
3643
+ },
3629
3644
  {
3630
3645
  "id" : "UserSecurityRequest.redirectUri",
3631
3646
  "path" : "UserSecurityRequest.redirectUri",
@@ -10916,5 +10931,360 @@
10916
10931
  ]
10917
10932
  }
10918
10933
  }
10934
+ },
10935
+ {
10936
+ "fullUrl" : "https://medplum.com/fhir/StructureDefinition/Cron",
10937
+ "resource" : {
10938
+ "resourceType" : "StructureDefinition",
10939
+ "id" : "Cron",
10940
+ "name" : "Cron",
10941
+ "url" : "https://medplum.com/fhir/StructureDefinition/Cron",
10942
+ "status" : "active",
10943
+ "kind" : "resource",
10944
+ "abstract" : false,
10945
+ "type" : "Cron",
10946
+ "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/DomainResource",
10947
+ "description" : "A scheduled job that executes a Bot on a recurring schedule.",
10948
+ "snapshot" : {
10949
+ "element" : [
10950
+ {
10951
+ "id" : "Cron",
10952
+ "path" : "Cron",
10953
+ "short" : "A scheduled job that executes a Bot on a recurring schedule.",
10954
+ "definition" : "A scheduled job that executes a Bot on a recurring schedule.",
10955
+ "min" : 0,
10956
+ "max" : "*",
10957
+ "base" : {
10958
+ "path" : "Cron",
10959
+ "min" : 0,
10960
+ "max" : "*"
10961
+ }
10962
+ },
10963
+ {
10964
+ "id" : "Cron.id",
10965
+ "path" : "Cron.id",
10966
+ "short" : "Logical id of this artifact",
10967
+ "definition" : "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
10968
+ "min" : 0,
10969
+ "max" : "1",
10970
+ "base" : {
10971
+ "path" : "Resource.id",
10972
+ "min" : 0,
10973
+ "max" : "1"
10974
+ },
10975
+ "type" : [{
10976
+ "code" : "string"
10977
+ }]
10978
+ },
10979
+ {
10980
+ "id" : "Cron.meta",
10981
+ "path" : "Cron.meta",
10982
+ "definition" : "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
10983
+ "min" : 0,
10984
+ "max" : "1",
10985
+ "base" : {
10986
+ "path" : "Resource.meta",
10987
+ "min" : 0,
10988
+ "max" : "1"
10989
+ },
10990
+ "type" : [{
10991
+ "code" : "Meta"
10992
+ }]
10993
+ },
10994
+ {
10995
+ "id" : "Cron.implicitRules",
10996
+ "path" : "Cron.implicitRules",
10997
+ "definition" : "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.",
10998
+ "min" : 0,
10999
+ "max" : "1",
11000
+ "base" : {
11001
+ "path" : "Resource.implicitRules",
11002
+ "min" : 0,
11003
+ "max" : "1"
11004
+ },
11005
+ "type" : [{
11006
+ "code" : "uri"
11007
+ }]
11008
+ },
11009
+ {
11010
+ "id" : "Cron.language",
11011
+ "path" : "Cron.language",
11012
+ "definition" : "The base language in which the resource is written.",
11013
+ "min" : 0,
11014
+ "max" : "1",
11015
+ "type" : [{
11016
+ "code" : "code"
11017
+ }],
11018
+ "base" : {
11019
+ "path" : "Resource.language",
11020
+ "min" : 0,
11021
+ "max" : "1"
11022
+ }
11023
+ },
11024
+ {
11025
+ "id" : "Cron.text",
11026
+ "path" : "Cron.text",
11027
+ "short" : "Text summary of the resource, for human interpretation",
11028
+ "definition" : "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
11029
+ "min" : 0,
11030
+ "max" : "1",
11031
+ "base" : {
11032
+ "path" : "DomainResource.text",
11033
+ "min" : 0,
11034
+ "max" : "1"
11035
+ },
11036
+ "type" : [{
11037
+ "code" : "Narrative"
11038
+ }]
11039
+ },
11040
+ {
11041
+ "id" : "Cron.contained",
11042
+ "path" : "Cron.contained",
11043
+ "short" : "Contained, inline Resources",
11044
+ "definition" : "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
11045
+ "min" : 0,
11046
+ "max" : "*",
11047
+ "base" : {
11048
+ "path" : "DomainResource.contained",
11049
+ "min" : 0,
11050
+ "max" : "*"
11051
+ },
11052
+ "type" : [{
11053
+ "code" : "Resource"
11054
+ }]
11055
+ },
11056
+ {
11057
+ "id" : "Cron.extension",
11058
+ "path" : "Cron.extension",
11059
+ "short" : "Additional content defined by implementations",
11060
+ "definition" : "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
11061
+ "min" : 0,
11062
+ "max" : "*",
11063
+ "base" : {
11064
+ "path" : "DomainResource.extension",
11065
+ "min" : 0,
11066
+ "max" : "*"
11067
+ },
11068
+ "type" : [{
11069
+ "code" : "Extension"
11070
+ }]
11071
+ },
11072
+ {
11073
+ "id" : "Cron.modifierExtension",
11074
+ "path" : "Cron.modifierExtension",
11075
+ "short" : "Extensions that cannot be ignored",
11076
+ "definition" : "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
11077
+ "min" : 0,
11078
+ "max" : "*",
11079
+ "base" : {
11080
+ "path" : "DomainResource.modifierExtension",
11081
+ "min" : 0,
11082
+ "max" : "*"
11083
+ },
11084
+ "type" : [{
11085
+ "code" : "Extension"
11086
+ }]
11087
+ },
11088
+ {
11089
+ "id" : "Cron.identifier",
11090
+ "path" : "Cron.identifier",
11091
+ "short" : "An identifier for this cron job",
11092
+ "definition" : "An identifier for this cron job.",
11093
+ "min" : 0,
11094
+ "max" : "*",
11095
+ "base" : {
11096
+ "path" : "Cron.identifier",
11097
+ "min" : 0,
11098
+ "max" : "*"
11099
+ },
11100
+ "type" : [{
11101
+ "code" : "Identifier"
11102
+ }]
11103
+ },
11104
+ {
11105
+ "id" : "Cron.active",
11106
+ "path" : "Cron.active",
11107
+ "short" : "Whether the job is registered with the scheduler",
11108
+ "definition" : "Whether the scheduled job runs. Setting this to false unregisters the job while leaving the schedule itself intact, so the job can be turned back on without redefining it.",
11109
+ "min" : 1,
11110
+ "max" : "1",
11111
+ "base" : {
11112
+ "path" : "Cron.active",
11113
+ "min" : 1,
11114
+ "max" : "1"
11115
+ },
11116
+ "type" : [{
11117
+ "code" : "boolean"
11118
+ }]
11119
+ },
11120
+ {
11121
+ "id" : "Cron.onBehalfOf",
11122
+ "path" : "Cron.onBehalfOf",
11123
+ "short" : "The membership on whose behalf the job runs",
11124
+ "definition" : "The project membership whose identity and access policy the scheduled job assumes when it runs.",
11125
+ "min" : 1,
11126
+ "max" : "1",
11127
+ "base" : {
11128
+ "path" : "Cron.onBehalfOf",
11129
+ "min" : 1,
11130
+ "max" : "1"
11131
+ },
11132
+ "type" : [{
11133
+ "code" : "Reference",
11134
+ "targetProfile" : ["https://medplum.com/fhir/StructureDefinition/ProjectMembership"]
11135
+ }],
11136
+ "constraint" : [{
11137
+ "key" : "cron-1",
11138
+ "severity" : "error",
11139
+ "human" : "A cron job resolves its identity by reading onBehalfOf, so a logical reference is not enough.",
11140
+ "expression" : "reference.exists()"
11141
+ }]
11142
+ },
11143
+ {
11144
+ "id" : "Cron.parameter",
11145
+ "path" : "Cron.parameter",
11146
+ "short" : "Input passed to the target",
11147
+ "definition" : "Input passed to the target each time the scheduled job runs, with the same structure as Parameters.parameter. The target is always invoked with the whole Cron resource, so these parameters arrive alongside the schedule that produced them.",
11148
+ "min" : 0,
11149
+ "max" : "*",
11150
+ "base" : {
11151
+ "path" : "Cron.parameter",
11152
+ "min" : 0,
11153
+ "max" : "*"
11154
+ },
11155
+ "type" : [{
11156
+ "code" : "BackboneElement"
11157
+ }],
11158
+ "constraint" : [{
11159
+ "key" : "cron-3",
11160
+ "severity" : "error",
11161
+ "human" : "A parameter must have one and only one of (value, resource)",
11162
+ "expression" : "value.exists() xor resource.exists()"
11163
+ }]
11164
+ },
11165
+ {
11166
+ "id" : "Cron.parameter.name",
11167
+ "path" : "Cron.parameter.name",
11168
+ "short" : "Name from the definition",
11169
+ "definition" : "The name of the parameter (reference to the operation definition).",
11170
+ "min" : 1,
11171
+ "max" : "1",
11172
+ "base" : {
11173
+ "path" : "Cron.parameter.name",
11174
+ "min" : 1,
11175
+ "max" : "1"
11176
+ },
11177
+ "type" : [{
11178
+ "code" : "string"
11179
+ }]
11180
+ },
11181
+ {
11182
+ "id" : "Cron.parameter.value[x]",
11183
+ "path" : "Cron.parameter.value[x]",
11184
+ "short" : "If parameter is a data type",
11185
+ "definition" : "If the parameter is a data type.",
11186
+ "min" : 0,
11187
+ "max" : "1",
11188
+ "base" : {
11189
+ "path" : "Cron.parameter.value[x]",
11190
+ "min" : 0,
11191
+ "max" : "1"
11192
+ },
11193
+ "type" : [
11194
+ {
11195
+ "code" : "boolean"
11196
+ },
11197
+ {
11198
+ "code" : "dateTime"
11199
+ },
11200
+ {
11201
+ "code" : "decimal"
11202
+ },
11203
+ {
11204
+ "code" : "integer"
11205
+ },
11206
+ {
11207
+ "code" : "string"
11208
+ },
11209
+ {
11210
+ "code" : "Reference"
11211
+ }
11212
+ ]
11213
+ },
11214
+ {
11215
+ "id" : "Cron.parameter.resource",
11216
+ "path" : "Cron.parameter.resource",
11217
+ "short" : "If parameter is a whole resource",
11218
+ "definition" : "If the parameter is a whole resource.",
11219
+ "comment" : "When resolving references in resources, the operation definition may specify how references may be resolved between parameters. If a reference cannot be resolved between the parameters, the application should fall back to it's general resource resolution methods.",
11220
+ "min" : 0,
11221
+ "max" : "1",
11222
+ "base" : {
11223
+ "path" : "Cron.parameter.resource",
11224
+ "min" : 0,
11225
+ "max" : "1"
11226
+ },
11227
+ "type" : [{
11228
+ "code" : "Resource"
11229
+ }]
11230
+ },
11231
+ {
11232
+ "id" : "Cron.cronString",
11233
+ "path" : "Cron.cronString",
11234
+ "short" : "The schedule on which the job runs",
11235
+ "definition" : "A schedule for the job to be executed, as a cron expression. An expression that is not a valid five-field cron expression is rejected on write.",
11236
+ "min" : 1,
11237
+ "max" : "1",
11238
+ "base" : {
11239
+ "path" : "Cron.cronString",
11240
+ "min" : 1,
11241
+ "max" : "1"
11242
+ },
11243
+ "type" : [{
11244
+ "code" : "string"
11245
+ }]
11246
+ },
11247
+ {
11248
+ "id" : "Cron.endTime",
11249
+ "path" : "Cron.endTime",
11250
+ "short" : "The point after which the job stops running",
11251
+ "definition" : "The point in time after which the job no longer runs. A job whose end time has already passed is never scheduled, and a running one is removed once the time passes. When absent, the job runs until it is disabled or deleted.",
11252
+ "min" : 0,
11253
+ "max" : "1",
11254
+ "base" : {
11255
+ "path" : "Cron.endTime",
11256
+ "min" : 0,
11257
+ "max" : "1"
11258
+ },
11259
+ "type" : [{
11260
+ "code" : "dateTime"
11261
+ }]
11262
+ },
11263
+ {
11264
+ "id" : "Cron.targetReference",
11265
+ "path" : "Cron.targetReference",
11266
+ "short" : "The target invoked by the scheduled job",
11267
+ "definition" : "The target invoked each time the scheduled job runs.",
11268
+ "min" : 1,
11269
+ "max" : "1",
11270
+ "base" : {
11271
+ "path" : "Cron.targetReference",
11272
+ "min" : 1,
11273
+ "max" : "1"
11274
+ },
11275
+ "type" : [{
11276
+ "code" : "Reference",
11277
+ "targetProfile" : ["https://medplum.com/fhir/StructureDefinition/Bot"]
11278
+ }],
11279
+ "constraint" : [{
11280
+ "key" : "cron-2",
11281
+ "severity" : "error",
11282
+ "human" : "A cron job resolves its target by reading targetReference, so a logical reference is not enough.",
11283
+ "expression" : "reference.exists()"
11284
+ }]
11285
+ }
11286
+ ]
11287
+ }
11288
+ }
10919
11289
  }]
10920
11290
  }
@@ -2543,6 +2543,57 @@
2543
2543
  "target": ["Organization"],
2544
2544
  "expression": "PractitionerRole.extension.where(url='http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/network-reference').value"
2545
2545
  }
2546
+ },
2547
+ {
2548
+ "fullUrl": "https://medplum.com/fhir/SearchParameter/Cron-identifier",
2549
+ "resource": {
2550
+ "resourceType": "SearchParameter",
2551
+ "id": "Cron-identifier",
2552
+ "url": "https://medplum.com/fhir/SearchParameter/Cron-identifier",
2553
+ "version": "4.0.1",
2554
+ "name": "identifier",
2555
+ "status": "draft",
2556
+ "publisher": "Medplum",
2557
+ "description": "The identifier of the cron job",
2558
+ "code": "identifier",
2559
+ "base": ["Cron"],
2560
+ "type": "token",
2561
+ "expression": "Cron.identifier"
2562
+ }
2563
+ },
2564
+ {
2565
+ "fullUrl": "https://medplum.com/fhir/SearchParameter/Cron-on-behalf-of",
2566
+ "resource": {
2567
+ "resourceType": "SearchParameter",
2568
+ "id": "Cron-on-behalf-of",
2569
+ "url": "https://medplum.com/fhir/SearchParameter/Cron-on-behalf-of",
2570
+ "version": "4.0.1",
2571
+ "name": "on-behalf-of",
2572
+ "status": "draft",
2573
+ "publisher": "Medplum",
2574
+ "description": "The project membership on whose behalf the cron job runs",
2575
+ "code": "on-behalf-of",
2576
+ "base": ["Cron"],
2577
+ "type": "reference",
2578
+ "expression": "Cron.onBehalfOf"
2579
+ }
2580
+ },
2581
+ {
2582
+ "fullUrl": "https://medplum.com/fhir/SearchParameter/Cron-target",
2583
+ "resource": {
2584
+ "resourceType": "SearchParameter",
2585
+ "id": "Cron-target",
2586
+ "url": "https://medplum.com/fhir/SearchParameter/Cron-target",
2587
+ "version": "4.0.1",
2588
+ "name": "target",
2589
+ "status": "draft",
2590
+ "publisher": "Medplum",
2591
+ "description": "The Bot invoked by the cron job",
2592
+ "code": "target",
2593
+ "base": ["Cron"],
2594
+ "type": "reference",
2595
+ "expression": "Cron.targetReference"
2596
+ }
2546
2597
  }
2547
2598
  ]
2548
2599
  }
@@ -42,6 +42,11 @@
42
42
  "display": "ClientApplication",
43
43
  "definition": "Medplum client application for automated access."
44
44
  },
45
+ {
46
+ "code": "Cron",
47
+ "display": "Cron",
48
+ "definition": "A scheduled job that executes a Bot on a recurring schedule."
49
+ },
45
50
  {
46
51
  "code": "DicomInstance",
47
52
  "display": "DicomInstance",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/definitions",
3
- "version": "5.1.37",
3
+ "version": "5.1.38",
4
4
  "description": "Medplum Data Definitions",
5
5
  "keywords": [
6
6
  "medplum",
@@ -60,6 +60,6 @@
60
60
  "node": "^22.18.0 || >=24.2.0"
61
61
  },
62
62
  "devDependencies": {
63
- "@medplum/fhirtypes": "5.1.37"
63
+ "@medplum/fhirtypes": "5.1.38"
64
64
  }
65
65
  }