@medplum/definitions 5.0.5 → 5.0.6
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.
|
@@ -2194,6 +2194,126 @@
|
|
|
2194
2194
|
"code" : "Attachment"
|
|
2195
2195
|
}]
|
|
2196
2196
|
},
|
|
2197
|
+
{
|
|
2198
|
+
"id" : "Bot.cdsService",
|
|
2199
|
+
"path" : "Bot.cdsService",
|
|
2200
|
+
"definition" : "CDS service definition if the bot is used as a CDS Hooks service. See https://cds-hooks.hl7.org/ for more details.",
|
|
2201
|
+
"min" : 0,
|
|
2202
|
+
"max" : "1",
|
|
2203
|
+
"type" : [{
|
|
2204
|
+
"code" : "BackboneElement"
|
|
2205
|
+
}],
|
|
2206
|
+
"base" : {
|
|
2207
|
+
"path" : "Bot.cdsService",
|
|
2208
|
+
"min" : 0,
|
|
2209
|
+
"max" : "1"
|
|
2210
|
+
}
|
|
2211
|
+
},
|
|
2212
|
+
{
|
|
2213
|
+
"id" : "Bot.cdsService.hook",
|
|
2214
|
+
"path" : "Bot.cdsService.hook",
|
|
2215
|
+
"definition" : "The hook this service should be invoked on. See https://cds-hooks.hl7.org/#hooks for possible values.",
|
|
2216
|
+
"min" : 1,
|
|
2217
|
+
"max" : "1",
|
|
2218
|
+
"type" : [{
|
|
2219
|
+
"code" : "code"
|
|
2220
|
+
}],
|
|
2221
|
+
"base" : {
|
|
2222
|
+
"path" : "Bot.cdsService.hook",
|
|
2223
|
+
"min" : 1,
|
|
2224
|
+
"max" : "1"
|
|
2225
|
+
}
|
|
2226
|
+
},
|
|
2227
|
+
{
|
|
2228
|
+
"id" : "Bot.cdsService.title",
|
|
2229
|
+
"path" : "Bot.cdsService.title",
|
|
2230
|
+
"definition" : "The human-friendly name of this CDS service.",
|
|
2231
|
+
"min" : 1,
|
|
2232
|
+
"max" : "1",
|
|
2233
|
+
"type" : [{
|
|
2234
|
+
"code" : "string"
|
|
2235
|
+
}],
|
|
2236
|
+
"base" : {
|
|
2237
|
+
"path" : "Bot.cdsService.title",
|
|
2238
|
+
"min" : 1,
|
|
2239
|
+
"max" : "1"
|
|
2240
|
+
}
|
|
2241
|
+
},
|
|
2242
|
+
{
|
|
2243
|
+
"id" : "Bot.cdsService.description",
|
|
2244
|
+
"path" : "Bot.cdsService.description",
|
|
2245
|
+
"definition" : "The description of this CDS service.",
|
|
2246
|
+
"min" : 1,
|
|
2247
|
+
"max" : "1",
|
|
2248
|
+
"type" : [{
|
|
2249
|
+
"code" : "string"
|
|
2250
|
+
}],
|
|
2251
|
+
"base" : {
|
|
2252
|
+
"path" : "Bot.cdsService.description",
|
|
2253
|
+
"min" : 1,
|
|
2254
|
+
"max" : "1"
|
|
2255
|
+
}
|
|
2256
|
+
},
|
|
2257
|
+
{
|
|
2258
|
+
"id" : "Bot.cdsService.usageRequirements",
|
|
2259
|
+
"path" : "Bot.cdsService.usageRequirements",
|
|
2260
|
+
"definition" : "Optional human-friendly description of any preconditions for the use of this CDS Service.",
|
|
2261
|
+
"min" : 0,
|
|
2262
|
+
"max" : "1",
|
|
2263
|
+
"type" : [{
|
|
2264
|
+
"code" : "string"
|
|
2265
|
+
}],
|
|
2266
|
+
"base" : {
|
|
2267
|
+
"path" : "Bot.cdsService.usageRequirements",
|
|
2268
|
+
"min" : 0,
|
|
2269
|
+
"max" : "1"
|
|
2270
|
+
}
|
|
2271
|
+
},
|
|
2272
|
+
{
|
|
2273
|
+
"id" : "Bot.cdsService.prefetch",
|
|
2274
|
+
"path" : "Bot.cdsService.prefetch",
|
|
2275
|
+
"definition" : "An object containing key/value pairs of FHIR queries that this service is requesting the CDS Client to perform and provide on each service call.",
|
|
2276
|
+
"min" : 0,
|
|
2277
|
+
"max" : "*",
|
|
2278
|
+
"type" : [{
|
|
2279
|
+
"code" : "BackboneElement"
|
|
2280
|
+
}],
|
|
2281
|
+
"base": {
|
|
2282
|
+
"path" : "Bot.cdsService.prefetch",
|
|
2283
|
+
"min" : 0,
|
|
2284
|
+
"max" : "*"
|
|
2285
|
+
}
|
|
2286
|
+
},
|
|
2287
|
+
{
|
|
2288
|
+
"id" : "Bot.cdsService.prefetch.key",
|
|
2289
|
+
"path" : "Bot.cdsService.prefetch.key",
|
|
2290
|
+
"definition" : "The type of data being requested. See https://cds-hooks.hl7.org/#prefetch-template",
|
|
2291
|
+
"min" : 1,
|
|
2292
|
+
"max" : "1",
|
|
2293
|
+
"type" : [{
|
|
2294
|
+
"code" : "code"
|
|
2295
|
+
}],
|
|
2296
|
+
"base": {
|
|
2297
|
+
"path" : "Bot.cdsService.prefetch.key",
|
|
2298
|
+
"min" : 1,
|
|
2299
|
+
"max" : "1"
|
|
2300
|
+
}
|
|
2301
|
+
},
|
|
2302
|
+
{
|
|
2303
|
+
"id" : "Bot.cdsService.prefetch.query",
|
|
2304
|
+
"path" : "Bot.cdsService.prefetch.query",
|
|
2305
|
+
"definition" : "The FHIR query used to retrieve the requested data. See https://cds-hooks.hl7.org/#prefetch-template",
|
|
2306
|
+
"min" : 1,
|
|
2307
|
+
"max" : "1",
|
|
2308
|
+
"type" : [{
|
|
2309
|
+
"code" : "string"
|
|
2310
|
+
}],
|
|
2311
|
+
"base": {
|
|
2312
|
+
"path" : "Bot.cdsService.prefetch.query",
|
|
2313
|
+
"min" : 1,
|
|
2314
|
+
"max" : "1"
|
|
2315
|
+
}
|
|
2316
|
+
},
|
|
2197
2317
|
{
|
|
2198
2318
|
"id" : "Bot.code",
|
|
2199
2319
|
"path" : "Bot.code",
|
|
@@ -39540,7 +39540,9 @@
|
|
|
39540
39540
|
"http://hl7.org/fhir/StructureDefinition/Organization",
|
|
39541
39541
|
"http://hl7.org/fhir/StructureDefinition/Device",
|
|
39542
39542
|
"http://hl7.org/fhir/StructureDefinition/Patient",
|
|
39543
|
-
"http://hl7.org/fhir/StructureDefinition/RelatedPerson"
|
|
39543
|
+
"http://hl7.org/fhir/StructureDefinition/RelatedPerson",
|
|
39544
|
+
"https://medplum.com/fhir/StructureDefinition/Bot",
|
|
39545
|
+
"https://medplum.com/fhir/StructureDefinition/ClientApplication"]
|
|
39544
39546
|
}],
|
|
39545
39547
|
"constraint" : [{
|
|
39546
39548
|
"key" : "ele-1",
|
|
@@ -41647,7 +41649,9 @@
|
|
|
41647
41649
|
"http://hl7.org/fhir/StructureDefinition/Organization",
|
|
41648
41650
|
"http://hl7.org/fhir/StructureDefinition/Device",
|
|
41649
41651
|
"http://hl7.org/fhir/StructureDefinition/Patient",
|
|
41650
|
-
"http://hl7.org/fhir/StructureDefinition/RelatedPerson"
|
|
41652
|
+
"http://hl7.org/fhir/StructureDefinition/RelatedPerson",
|
|
41653
|
+
"https://medplum.com/fhir/StructureDefinition/Bot",
|
|
41654
|
+
"https://medplum.com/fhir/StructureDefinition/ClientApplication"]
|
|
41651
41655
|
}],
|
|
41652
41656
|
"isSummary" : true,
|
|
41653
41657
|
"mapping" : [{
|
|
@@ -435,6 +435,23 @@
|
|
|
435
435
|
"expression": "Bot.category"
|
|
436
436
|
}
|
|
437
437
|
},
|
|
438
|
+
{
|
|
439
|
+
"fullUrl": "https://medplum.com/fhir/SearchParameter/Bot-cds-hook",
|
|
440
|
+
"resource": {
|
|
441
|
+
"resourceType": "SearchParameter",
|
|
442
|
+
"id": "Bot-cds-hook",
|
|
443
|
+
"url": "https://medplum.com/fhir/SearchParameter/Bot-cds-hook",
|
|
444
|
+
"version": "4.0.1",
|
|
445
|
+
"name": "cds-hook",
|
|
446
|
+
"status": "draft",
|
|
447
|
+
"publisher": "Medplum",
|
|
448
|
+
"description": "The CDS hook this Bot should be invoked on.",
|
|
449
|
+
"code": "cds-hook",
|
|
450
|
+
"base": ["Bot"],
|
|
451
|
+
"type": "token",
|
|
452
|
+
"expression": "Bot.cdsService.hook"
|
|
453
|
+
}
|
|
454
|
+
},
|
|
438
455
|
{
|
|
439
456
|
"fullUrl": "https://medplum.com/fhir/SearchParameter/UserConfiguration-name",
|
|
440
457
|
"resource": {
|