davinci_pdex_test_kit 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +201 -0
  3. data/lib/davinci_pdex_test_kit/docs/payer_client_suite_description_v200.md +91 -0
  4. data/lib/davinci_pdex_test_kit/docs/payer_server_suite_description_v200.md +119 -0
  5. data/lib/davinci_pdex_test_kit/ext/inferno_core/record_response_route.rb +98 -0
  6. data/lib/davinci_pdex_test_kit/ext/inferno_core/request.rb +19 -0
  7. data/lib/davinci_pdex_test_kit/ext/inferno_core/runnable.rb +18 -0
  8. data/lib/davinci_pdex_test_kit/fhir_resource_navigation.rb +154 -0
  9. data/lib/davinci_pdex_test_kit/group_metadata.rb +109 -0
  10. data/lib/davinci_pdex_test_kit/metadata/mock_capability_statement.json +1052 -0
  11. data/lib/davinci_pdex_test_kit/metadata/mock_operation_outcome_resource.json +16 -0
  12. data/lib/davinci_pdex_test_kit/mock_server.rb +247 -0
  13. data/lib/davinci_pdex_test_kit/must_support_test.rb +252 -0
  14. data/lib/davinci_pdex_test_kit/pdex_payer_client/client_member_match_tests/client_member_match_submit_test.rb +24 -0
  15. data/lib/davinci_pdex_test_kit/pdex_payer_client/client_member_match_tests/client_member_match_validation_test.rb +23 -0
  16. data/lib/davinci_pdex_test_kit/pdex_payer_client/client_must_support_tests/client_member_match_must_support_submit_test.rb +26 -0
  17. data/lib/davinci_pdex_test_kit/pdex_payer_client/client_must_support_tests/client_member_match_must_support_validation_test.rb +32 -0
  18. data/lib/davinci_pdex_test_kit/pdex_payer_client/client_validation_test.rb +94 -0
  19. data/lib/davinci_pdex_test_kit/pdex_payer_client/clinical_data_request_tests/allergyintolerance_clinical_data_request_test.rb +23 -0
  20. data/lib/davinci_pdex_test_kit/pdex_payer_client/clinical_data_request_tests/careplan_clinical_data_request_test.rb +23 -0
  21. data/lib/davinci_pdex_test_kit/pdex_payer_client/clinical_data_request_tests/careteam_clinical_data_request_test.rb +23 -0
  22. data/lib/davinci_pdex_test_kit/pdex_payer_client/clinical_data_request_tests/condition_clinical_data_request_test.rb +23 -0
  23. data/lib/davinci_pdex_test_kit/pdex_payer_client/clinical_data_request_tests/device_clinical_data_request_test.rb +23 -0
  24. data/lib/davinci_pdex_test_kit/pdex_payer_client/clinical_data_request_tests/diagnosticreport_clinical_data_request_test.rb +23 -0
  25. data/lib/davinci_pdex_test_kit/pdex_payer_client/clinical_data_request_tests/documentreference_clinical_data_request_test.rb +23 -0
  26. data/lib/davinci_pdex_test_kit/pdex_payer_client/clinical_data_request_tests/encounter_clinical_data_request_test.rb +23 -0
  27. data/lib/davinci_pdex_test_kit/pdex_payer_client/clinical_data_request_tests/explanationofbenefit_clinical_data_request_test.rb +23 -0
  28. data/lib/davinci_pdex_test_kit/pdex_payer_client/clinical_data_request_tests/goal_clinical_data_request_test.rb +23 -0
  29. data/lib/davinci_pdex_test_kit/pdex_payer_client/clinical_data_request_tests/immunization_clinical_data_request_test.rb +23 -0
  30. data/lib/davinci_pdex_test_kit/pdex_payer_client/clinical_data_request_tests/initial_scratch_storing.rb +34 -0
  31. data/lib/davinci_pdex_test_kit/pdex_payer_client/clinical_data_request_tests/initial_wait_test.rb +28 -0
  32. data/lib/davinci_pdex_test_kit/pdex_payer_client/clinical_data_request_tests/location_clinical_data_request_test.rb +23 -0
  33. data/lib/davinci_pdex_test_kit/pdex_payer_client/clinical_data_request_tests/medicationdispense_clinical_data_request_test.rb +23 -0
  34. data/lib/davinci_pdex_test_kit/pdex_payer_client/clinical_data_request_tests/medicationrequest_clinical_data_request_test.rb +23 -0
  35. data/lib/davinci_pdex_test_kit/pdex_payer_client/clinical_data_request_tests/observation_clinical_data_request_test.rb +23 -0
  36. data/lib/davinci_pdex_test_kit/pdex_payer_client/clinical_data_request_tests/organization_clinical_data_request_test.rb +23 -0
  37. data/lib/davinci_pdex_test_kit/pdex_payer_client/clinical_data_request_tests/patient_clinical_data_request_test.rb +23 -0
  38. data/lib/davinci_pdex_test_kit/pdex_payer_client/clinical_data_request_tests/practitioner_clinical_data_request_test.rb +23 -0
  39. data/lib/davinci_pdex_test_kit/pdex_payer_client/clinical_data_request_tests/practitionerrole_clinical_data_request_test.rb +23 -0
  40. data/lib/davinci_pdex_test_kit/pdex_payer_client/clinical_data_request_tests/procedure_clinical_data_request_test.rb +23 -0
  41. data/lib/davinci_pdex_test_kit/pdex_payer_client/collection.rb +46 -0
  42. data/lib/davinci_pdex_test_kit/pdex_payer_client_suite.rb +152 -0
  43. data/lib/davinci_pdex_test_kit/pdex_payer_server/abstract_member_match_request_conformance_test.rb +33 -0
  44. data/lib/davinci_pdex_test_kit/pdex_payer_server/abstract_member_match_request_local_references_test.rb +35 -0
  45. data/lib/davinci_pdex_test_kit/pdex_payer_server/coverage_to_link_has_minimal_data_test.rb +52 -0
  46. data/lib/davinci_pdex_test_kit/pdex_payer_server/coverage_to_link_must_support_test.rb +28 -0
  47. data/lib/davinci_pdex_test_kit/pdex_payer_server/explanation_of_benefit/explanation_of_benefit_id_search_test.rb +58 -0
  48. data/lib/davinci_pdex_test_kit/pdex_payer_server/explanation_of_benefit/explanation_of_benefit_identifier_search_test.rb +58 -0
  49. data/lib/davinci_pdex_test_kit/pdex_payer_server/explanation_of_benefit/explanation_of_benefit_must_support_test.rb +40 -0
  50. data/lib/davinci_pdex_test_kit/pdex_payer_server/explanation_of_benefit/explanation_of_benefit_patient_last_updated_search_test.rb +63 -0
  51. data/lib/davinci_pdex_test_kit/pdex_payer_server/explanation_of_benefit/explanation_of_benefit_patient_service_date_search_test.rb +63 -0
  52. data/lib/davinci_pdex_test_kit/pdex_payer_server/explanation_of_benefit/explanation_of_benefit_patient_type_search_test.rb +63 -0
  53. data/lib/davinci_pdex_test_kit/pdex_payer_server/explanation_of_benefit/explanation_of_benefit_patient_use_search_test.rb +68 -0
  54. data/lib/davinci_pdex_test_kit/pdex_payer_server/explanation_of_benefit/explanation_of_benefit_provenance_revinclude_search_test.rb +52 -0
  55. data/lib/davinci_pdex_test_kit/pdex_payer_server/explanation_of_benefit/explanation_of_benefit_read_test.rb +26 -0
  56. data/lib/davinci_pdex_test_kit/pdex_payer_server/explanation_of_benefit/explanation_of_benefit_reference_resolution_test.rb +43 -0
  57. data/lib/davinci_pdex_test_kit/pdex_payer_server/explanation_of_benefit/explanation_of_benefit_validation_test.rb +40 -0
  58. data/lib/davinci_pdex_test_kit/pdex_payer_server/explanation_of_benefit_group.rb +105 -0
  59. data/lib/davinci_pdex_test_kit/pdex_payer_server/export_patient_group.rb +103 -0
  60. data/lib/davinci_pdex_test_kit/pdex_payer_server/export_validation_group.rb +59 -0
  61. data/lib/davinci_pdex_test_kit/pdex_payer_server/multiple_member_matches_group.rb +66 -0
  62. data/lib/davinci_pdex_test_kit/pdex_payer_server/no_member_matches_group.rb +69 -0
  63. data/lib/davinci_pdex_test_kit/pdex_payer_server/workflow_clinical_data.rb +66 -0
  64. data/lib/davinci_pdex_test_kit/pdex_payer_server/workflow_everything.rb +184 -0
  65. data/lib/davinci_pdex_test_kit/pdex_payer_server/workflow_export.rb +67 -0
  66. data/lib/davinci_pdex_test_kit/pdex_payer_server/workflow_member_match.rb +171 -0
  67. data/lib/davinci_pdex_test_kit/pdex_payer_server_suite.rb +158 -0
  68. data/lib/davinci_pdex_test_kit/pdex_provider_client_suite.rb +36 -0
  69. data/lib/davinci_pdex_test_kit/tags.rb +9 -0
  70. data/lib/davinci_pdex_test_kit/urls.rb +67 -0
  71. data/lib/davinci_pdex_test_kit/user_input_response.rb +32 -0
  72. data/lib/davinci_pdex_test_kit/version.rb +5 -0
  73. data/lib/davinci_pdex_test_kit.rb +8 -0
  74. metadata +218 -0
@@ -0,0 +1,1052 @@
1
+ {
2
+ "resourceType": "CapabilityStatement",
3
+ "status": "active",
4
+ "date": "2021-06-17T18:03:00+00:00",
5
+ "publisher": "MITRE",
6
+ "kind": "instance",
7
+ "instantiates": [
8
+ "http://hl7.org/fhir/us/core/CapabilityStatement/us-core-server",
9
+ "http://hl7.org/fhir/uv/bulkdata/CapabilityStatement/bulk-data",
10
+ "http://hl7.org/fhir/us/davinci-pdex/CapabilityStatement/pdex-server"
11
+ ],
12
+ "implementation": {
13
+ "description": "Inferno PDex Payer Client Testing Simulation Server",
14
+ "url": "http://localhost:8080/reference-server/r4"
15
+ },
16
+ "fhirVersion": "4.0.1",
17
+ "format": [
18
+ "application/fhir+xml",
19
+ "application/fhir+json"
20
+ ],
21
+ "implementationGuide": [
22
+ "http://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core",
23
+ "http://hl7.org/fhir/uv/bulkdata/ImplementationGuide/hl7.fhir.uv.bulkdata",
24
+ "http://hl7.org/fhir/us/davinci-pdex/ImplementationGuide/hl7.fhir.us.davinci-pdex"
25
+ ],
26
+ "rest": [
27
+ {
28
+ "mode": "server",
29
+ "resource": [
30
+ {
31
+ "type": "AllergyIntolerance",
32
+ "supportedProfile": [
33
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance"
34
+ ],
35
+ "interaction": [
36
+ {
37
+ "code": "search-type"
38
+ },
39
+ {
40
+ "code": "read"
41
+ },
42
+ {
43
+ "code": "vread"
44
+ },
45
+ {
46
+ "code": "history-instance"
47
+ }
48
+ ],
49
+ "searchRevInclude": [
50
+ "Provenance:target"
51
+ ],
52
+ "searchParam": [
53
+ {
54
+ "name": "clinical-status",
55
+ "type": "token"
56
+ },
57
+ {
58
+ "name": "patient",
59
+ "type": "reference"
60
+ }
61
+ ]
62
+ },
63
+ {
64
+ "type": "CarePlan",
65
+ "supportedProfile": [
66
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan"
67
+ ],
68
+ "interaction": [
69
+ {
70
+ "code": "search-type"
71
+ },
72
+ {
73
+ "code": "read"
74
+ },
75
+ {
76
+ "code": "vread"
77
+ },
78
+ {
79
+ "code": "history-instance"
80
+ }
81
+ ],
82
+ "searchRevInclude": [
83
+ "Provenance:target"
84
+ ],
85
+ "searchParam": [
86
+ {
87
+ "name": "category",
88
+ "type": "token"
89
+ },
90
+ {
91
+ "name": "date",
92
+ "type": "date"
93
+ },
94
+ {
95
+ "name": "patient",
96
+ "type": "reference"
97
+ },
98
+ {
99
+ "name": "status",
100
+ "type": "token"
101
+ }
102
+ ]
103
+ },
104
+ {
105
+ "type": "CareTeam",
106
+ "supportedProfile": [
107
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam"
108
+ ],
109
+ "interaction": [
110
+ {
111
+ "code": "search-type"
112
+ },
113
+ {
114
+ "code": "read"
115
+ },
116
+ {
117
+ "code": "vread"
118
+ },
119
+ {
120
+ "code": "history-instance"
121
+ }
122
+ ],
123
+ "searchRevInclude": [
124
+ "Provenance:target"
125
+ ],
126
+ "searchParam": [
127
+ {
128
+ "name": "patient",
129
+ "type": "reference"
130
+ },
131
+ {
132
+ "name": "status",
133
+ "type": "token"
134
+ }
135
+ ]
136
+ },
137
+ {
138
+ "type": "Condition",
139
+ "supportedProfile": [
140
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition",
141
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-encounter-diagnosis",
142
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-problems-health-concerns"
143
+ ],
144
+ "interaction": [
145
+ {
146
+ "code": "search-type"
147
+ },
148
+ {
149
+ "code": "read"
150
+ },
151
+ {
152
+ "code": "vread"
153
+ },
154
+ {
155
+ "code": "history-instance"
156
+ }
157
+ ],
158
+ "searchRevInclude": [
159
+ "Provenance:target"
160
+ ],
161
+ "searchParam": [
162
+ {
163
+ "name": "category",
164
+ "type": "token"
165
+ },
166
+ {
167
+ "name": "clinical-status",
168
+ "type": "token"
169
+ },
170
+ {
171
+ "name": "patient",
172
+ "type": "reference"
173
+ },
174
+ {
175
+ "name": "onset-date",
176
+ "type": "date"
177
+ },
178
+ {
179
+ "name": "code",
180
+ "type": "token"
181
+ }
182
+ ]
183
+ },
184
+ {
185
+ "type": "Coverage",
186
+ "supportedProfile": [
187
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-coverage"
188
+ ],
189
+ "interaction": [
190
+ {
191
+ "code": "search-type"
192
+ },
193
+ {
194
+ "code": "read"
195
+ }
196
+ ],
197
+ "searchRevInclude": [
198
+ "Provenance:target"
199
+ ],
200
+ "searchParam": [
201
+ {
202
+ "name": "patient",
203
+ "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-coverage-patient",
204
+ "type": "reference",
205
+ "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both."
206
+ }
207
+ ]
208
+ },
209
+ {
210
+ "type": "Device",
211
+ "supportedProfile": [
212
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device"
213
+ ],
214
+ "interaction": [
215
+ {
216
+ "code": "search-type"
217
+ },
218
+ {
219
+ "code": "read"
220
+ },
221
+ {
222
+ "code": "vread"
223
+ },
224
+ {
225
+ "code": "history-instance"
226
+ }
227
+ ],
228
+ "searchRevInclude": [
229
+ "Provenance:target"
230
+ ],
231
+ "searchParam": [
232
+ {
233
+ "name": "patient",
234
+ "type": "reference"
235
+ },
236
+ {
237
+ "name": "type",
238
+ "type": "token"
239
+ }
240
+ ]
241
+ },
242
+ {
243
+ "type": "DiagnosticReport",
244
+ "supportedProfile": [
245
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab",
246
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note"
247
+ ],
248
+ "interaction": [
249
+ {
250
+ "code": "create"
251
+ },
252
+ {
253
+ "code": "search-type"
254
+ },
255
+ {
256
+ "code": "read"
257
+ },
258
+ {
259
+ "code": "vread"
260
+ },
261
+ {
262
+ "code": "history-instance"
263
+ }
264
+ ],
265
+ "searchRevInclude": [
266
+ "Provenance:target"
267
+ ],
268
+ "searchParam": [
269
+ {
270
+ "name": "status",
271
+ "type": "token"
272
+ },
273
+ {
274
+ "name": "patient",
275
+ "type": "reference"
276
+ },
277
+ {
278
+ "name": "category",
279
+ "type": "token"
280
+ },
281
+ {
282
+ "name": "code",
283
+ "type": "token"
284
+ },
285
+ {
286
+ "name": "date",
287
+ "type": "date"
288
+ }
289
+ ]
290
+ },
291
+ {
292
+ "type": "DocumentReference",
293
+ "supportedProfile": [
294
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference"
295
+ ],
296
+ "interaction": [
297
+ {
298
+ "code": "create"
299
+ },
300
+ {
301
+ "code": "search-type"
302
+ },
303
+ {
304
+ "code": "read"
305
+ },
306
+ {
307
+ "code": "vread"
308
+ },
309
+ {
310
+ "code": "history-instance"
311
+ }
312
+ ],
313
+ "searchRevInclude": [
314
+ "Provenance:target"
315
+ ],
316
+ "searchParam": [
317
+ {
318
+ "name": "_id",
319
+ "type": "token"
320
+ },
321
+ {
322
+ "name": "status",
323
+ "type": "token"
324
+ },
325
+ {
326
+ "name": "patient",
327
+ "type": "reference"
328
+ },
329
+ {
330
+ "name": "category",
331
+ "type": "token"
332
+ },
333
+ {
334
+ "name": "type",
335
+ "type": "token"
336
+ },
337
+ {
338
+ "name": "date",
339
+ "type": "date"
340
+ },
341
+ {
342
+ "name": "period",
343
+ "type": "date"
344
+ }
345
+ ]
346
+ },
347
+ {
348
+ "type": "Encounter",
349
+ "supportedProfile": [
350
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter"
351
+ ],
352
+ "interaction": [
353
+ {
354
+ "code": "search-type"
355
+ },
356
+ {
357
+ "code": "read"
358
+ },
359
+ {
360
+ "code": "vread"
361
+ },
362
+ {
363
+ "code": "history-instance"
364
+ }
365
+ ],
366
+ "searchRevInclude": [
367
+ "Provenance:target"
368
+ ],
369
+ "searchParam": [
370
+ {
371
+ "name": "_id",
372
+ "type": "token"
373
+ },
374
+ {
375
+ "name": "class",
376
+ "type": "token"
377
+ },
378
+ {
379
+ "name": "date",
380
+ "type": "date"
381
+ },
382
+ {
383
+ "name": "identifier",
384
+ "type": "token"
385
+ },
386
+ {
387
+ "name": "patient",
388
+ "type": "reference"
389
+ },
390
+ {
391
+ "name": "status",
392
+ "type": "token"
393
+ },
394
+ {
395
+ "name": "type",
396
+ "type": "token"
397
+ }
398
+ ]
399
+ },
400
+ {
401
+ "type": "Goal",
402
+ "supportedProfile": [
403
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal"
404
+ ],
405
+ "interaction": [
406
+ {
407
+ "code": "search-type"
408
+ },
409
+ {
410
+ "code": "read"
411
+ },
412
+ {
413
+ "code": "vread"
414
+ },
415
+ {
416
+ "code": "history-instance"
417
+ }
418
+ ],
419
+ "searchRevInclude": [
420
+ "Provenance:target"
421
+ ],
422
+ "searchParam": [
423
+ {
424
+ "name": "lifecycle-status",
425
+ "type": "token"
426
+ },
427
+ {
428
+ "name": "patient",
429
+ "type": "reference"
430
+ },
431
+ {
432
+ "name": "target-date",
433
+ "type": "date"
434
+ }
435
+ ]
436
+ },
437
+ {
438
+ "type": "Group",
439
+ "operation": [
440
+ {
441
+ "name": "export",
442
+ "definition": "http://hl7.org/fhir/uv/bulkdata/OperationDefinition/group-export"
443
+ }
444
+ ]
445
+ },
446
+ {
447
+ "type": "Immunization",
448
+ "supportedProfile": [
449
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization"
450
+ ],
451
+ "interaction": [
452
+ {
453
+ "code": "search-type"
454
+ },
455
+ {
456
+ "code": "read"
457
+ },
458
+ {
459
+ "code": "vread"
460
+ },
461
+ {
462
+ "code": "history-instance"
463
+ }
464
+ ],
465
+ "searchRevInclude": [
466
+ "Provenance:target"
467
+ ],
468
+ "searchParam": [
469
+ {
470
+ "name": "patient",
471
+ "type": "reference"
472
+ },
473
+ {
474
+ "name": "status",
475
+ "type": "token"
476
+ },
477
+ {
478
+ "name": "date",
479
+ "type": "date"
480
+ }
481
+ ]
482
+ },
483
+ {
484
+ "type": "Location",
485
+ "supportedProfile": [
486
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location"
487
+ ],
488
+ "interaction": [
489
+ {
490
+ "code": "search-type"
491
+ },
492
+ {
493
+ "code": "read"
494
+ },
495
+ {
496
+ "code": "vread"
497
+ },
498
+ {
499
+ "code": "history-instance"
500
+ }
501
+ ],
502
+ "searchParam": [
503
+ {
504
+ "name": "name",
505
+ "type": "string"
506
+ },
507
+ {
508
+ "name": "address",
509
+ "type": "string"
510
+ },
511
+ {
512
+ "name": "address-city",
513
+ "type": "string"
514
+ },
515
+ {
516
+ "name": "address-state",
517
+ "type": "string"
518
+ },
519
+ {
520
+ "name": "address-postalcode",
521
+ "type": "string"
522
+ }
523
+ ]
524
+ },
525
+ {
526
+ "type": "Medication",
527
+ "supportedProfile": [
528
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication"
529
+ ],
530
+ "interaction": [
531
+ {
532
+ "code": "read"
533
+ },
534
+ {
535
+ "code": "vread"
536
+ },
537
+ {
538
+ "code": "history-instance"
539
+ }
540
+ ]
541
+ },
542
+ {
543
+ "type": "MedicationDispense",
544
+ "supportedProfile": [
545
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationdispense"
546
+ ],
547
+ "interaction": [
548
+ {
549
+ "code": "search-type"
550
+ },
551
+ {
552
+ "code": "read"
553
+ }
554
+ ],
555
+ "searchRevInclude": [
556
+ "Provenance:target"
557
+ ],
558
+ "searchParam": [
559
+ {
560
+ "name": "status",
561
+ "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationdispense-status",
562
+ "type": "token",
563
+ "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both."
564
+ },
565
+ {
566
+ "name": "type",
567
+ "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationdispense-type",
568
+ "type": "token",
569
+ "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both."
570
+ },
571
+ {
572
+ "name": "patient",
573
+ "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationdispense-patient",
574
+ "type": "reference",
575
+ "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both."
576
+ }
577
+ ]
578
+ },
579
+ {
580
+ "type": "MedicationRequest",
581
+ "supportedProfile": [
582
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest"
583
+ ],
584
+ "interaction": [
585
+ {
586
+ "code": "search-type"
587
+ },
588
+ {
589
+ "code": "read"
590
+ },
591
+ {
592
+ "code": "vread"
593
+ },
594
+ {
595
+ "code": "history-instance"
596
+ }
597
+ ],
598
+ "searchInclude": [
599
+ "MedicationRequest:medication"
600
+ ],
601
+ "searchRevInclude": [
602
+ "Provenance:target"
603
+ ],
604
+ "searchParam": [
605
+ {
606
+ "name": "status",
607
+ "type": "token"
608
+ },
609
+ {
610
+ "name": "intent",
611
+ "type": "token"
612
+ },
613
+ {
614
+ "name": "patient",
615
+ "type": "reference"
616
+ },
617
+ {
618
+ "name": "encounter",
619
+ "type": "reference"
620
+ },
621
+ {
622
+ "name": "authoredon",
623
+ "type": "date"
624
+ }
625
+ ]
626
+ },
627
+ {
628
+ "type": "Observation",
629
+ "supportedProfile": [
630
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus",
631
+ "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height",
632
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab",
633
+ "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age",
634
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry",
635
+ "http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile",
636
+ "http://hl7.org/fhir/StructureDefinition/bp",
637
+ "http://hl7.org/fhir/StructureDefinition/bodyheight",
638
+ "http://hl7.org/fhir/StructureDefinition/bodyweight",
639
+ "http://hl7.org/fhir/StructureDefinition/heartrate",
640
+ "http://hl7.org/fhir/StructureDefinition/resprate",
641
+ "http://hl7.org/fhir/StructureDefinition/bodytemp",
642
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs",
643
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure",
644
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-bmi",
645
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height",
646
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature",
647
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight",
648
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-head-circumference",
649
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate",
650
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate",
651
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-imaging",
652
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey",
653
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation",
654
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment",
655
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test",
656
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-social-history",
657
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab",
658
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancystatus",
659
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancyintent",
660
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-occupation",
661
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation",
662
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment",
663
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-result"
664
+ ],
665
+ "interaction": [
666
+ {
667
+ "code": "search-type"
668
+ },
669
+ {
670
+ "code": "read"
671
+ },
672
+ {
673
+ "code": "vread"
674
+ },
675
+ {
676
+ "code": "history-instance"
677
+ }
678
+ ],
679
+ "searchRevInclude": [
680
+ "Provenance:target"
681
+ ],
682
+ "searchParam": [
683
+ {
684
+ "name": "status",
685
+ "type": "token"
686
+ },
687
+ {
688
+ "name": "category",
689
+ "type": "token"
690
+ },
691
+ {
692
+ "name": "code",
693
+ "type": "token"
694
+ },
695
+ {
696
+ "name": "date",
697
+ "type": "date"
698
+ },
699
+ {
700
+ "name": "patient",
701
+ "type": "reference"
702
+ }
703
+ ]
704
+ },
705
+ {
706
+ "type": "Organization",
707
+ "supportedProfile": [
708
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization"
709
+ ],
710
+ "interaction": [
711
+ {
712
+ "code": "search-type"
713
+ },
714
+ {
715
+ "code": "read"
716
+ },
717
+ {
718
+ "code": "vread"
719
+ },
720
+ {
721
+ "code": "history-instance"
722
+ }
723
+ ],
724
+ "searchParam": [
725
+ {
726
+ "name": "name",
727
+ "type": "string"
728
+ },
729
+ {
730
+ "name": "address",
731
+ "type": "string"
732
+ }
733
+ ]
734
+ },
735
+ {
736
+ "type": "Patient",
737
+ "supportedProfile": [
738
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"
739
+ ],
740
+ "interaction": [
741
+ {
742
+ "code": "search-type"
743
+ },
744
+ {
745
+ "code": "read"
746
+ },
747
+ {
748
+ "code": "vread"
749
+ },
750
+ {
751
+ "code": "history-instance"
752
+ }
753
+ ],
754
+ "searchRevInclude": [
755
+ "Provenance:target"
756
+ ],
757
+ "searchParam": [
758
+ {
759
+ "name": "_id",
760
+ "type": "token"
761
+ },
762
+ {
763
+ "name": "birthdate",
764
+ "type": "date"
765
+ },
766
+ {
767
+ "name": "family",
768
+ "type": "string"
769
+ },
770
+ {
771
+ "name": "gender",
772
+ "type": "token"
773
+ },
774
+ {
775
+ "name": "given",
776
+ "type": "string"
777
+ },
778
+ {
779
+ "name": "identifier",
780
+ "type": "token"
781
+ },
782
+ {
783
+ "name": "name",
784
+ "type": "string"
785
+ }
786
+ ],
787
+ "operation": [
788
+ {
789
+ "name": "export",
790
+ "definition": "http://hl7.org/fhir/uv/bulkdata/OperationDefinition/patient-export"
791
+ },
792
+ {
793
+ "name" : "member-match",
794
+ "definition" : "http://hl7.org/fhir/us/davinci-hrex/OperationDefinition/member-match"
795
+ }
796
+ ]
797
+ },
798
+ {
799
+ "type": "Practitioner",
800
+ "supportedProfile": [
801
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner"
802
+ ],
803
+ "interaction": [
804
+ {
805
+ "code": "search-type"
806
+ },
807
+ {
808
+ "code": "read"
809
+ },
810
+ {
811
+ "code": "vread"
812
+ },
813
+ {
814
+ "code": "history-instance"
815
+ }
816
+ ],
817
+ "searchParam": [
818
+ {
819
+ "name": "name",
820
+ "type": "string"
821
+ },
822
+ {
823
+ "name": "identifier",
824
+ "type": "token"
825
+ }
826
+ ]
827
+ },
828
+ {
829
+ "type": "PractitionerRole",
830
+ "supportedProfile": [
831
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole"
832
+ ],
833
+ "interaction": [
834
+ {
835
+ "code": "search-type"
836
+ },
837
+ {
838
+ "code": "read"
839
+ },
840
+ {
841
+ "code": "vread"
842
+ },
843
+ {
844
+ "code": "history-instance"
845
+ }
846
+ ],
847
+ "searchInclude": [
848
+ "PractitionerRole:endpoint",
849
+ "PractitionerRole:practitioner"
850
+ ],
851
+ "searchParam": [
852
+ {
853
+ "name": "specialty",
854
+ "type": "token"
855
+ },
856
+ {
857
+ "name": "practitioner",
858
+ "type": "reference"
859
+ }
860
+ ]
861
+ },
862
+ {
863
+ "type": "Procedure",
864
+ "supportedProfile": [
865
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure"
866
+ ],
867
+ "interaction": [
868
+ {
869
+ "code": "search-type"
870
+ },
871
+ {
872
+ "code": "read"
873
+ },
874
+ {
875
+ "code": "vread"
876
+ },
877
+ {
878
+ "code": "history-instance"
879
+ }
880
+ ],
881
+ "searchRevInclude": [
882
+ "Provenance:target"
883
+ ],
884
+ "searchParam": [
885
+ {
886
+ "name": "status",
887
+ "type": "token"
888
+ },
889
+ {
890
+ "name": "patient",
891
+ "type": "reference"
892
+ },
893
+ {
894
+ "name": "date",
895
+ "type": "date"
896
+ },
897
+ {
898
+ "name": "code",
899
+ "type": "token"
900
+ }
901
+ ]
902
+ },
903
+ {
904
+ "type": "Provenance",
905
+ "supportedProfile": [
906
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance"
907
+ ],
908
+ "interaction": [
909
+ {
910
+ "code": "read"
911
+ },
912
+ {
913
+ "code": "vread"
914
+ },
915
+ {
916
+ "code": "history-instance"
917
+ }
918
+ ]
919
+ },
920
+ {
921
+ "type": "ServiceRequest",
922
+ "supportedProfile": [
923
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest"
924
+ ],
925
+ "interaction": [
926
+ {
927
+ "extension": [
928
+ {
929
+ "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
930
+ "valueCode": "SHALL"
931
+ }
932
+ ],
933
+ "code": "read"
934
+ }
935
+ ],
936
+ "referencePolicy": [
937
+ "resolves"
938
+ ],
939
+ "searchRevInclude": [
940
+ "Provenance:target"
941
+ ],
942
+ "searchParam": [
943
+ {
944
+ "name": "status",
945
+ "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-servicerequest-status",
946
+ "type": "token",
947
+ "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both."
948
+ },
949
+ {
950
+ "name": "patient",
951
+ "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-servicerequest-patient",
952
+ "type": "reference",
953
+ "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both."
954
+ },
955
+ {
956
+ "name": "category",
957
+ "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-servicerequest-category",
958
+ "type": "token",
959
+ "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both."
960
+ },
961
+ {
962
+ "name": "code",
963
+ "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-servicerequest-code",
964
+ "type": "token",
965
+ "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both."
966
+ },
967
+ {
968
+ "name": "authored",
969
+ "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-servicerequest-authored",
970
+ "type": "date",
971
+ "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*."
972
+ },
973
+ {
974
+ "name": "_id",
975
+ "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-servicerequest-id",
976
+ "type": "token"
977
+ }
978
+ ]
979
+ },
980
+ {
981
+ "type": "Specimen",
982
+ "supportedProfile": [
983
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen"
984
+ ],
985
+ "interaction": [
986
+ {
987
+ "code": "search-type"
988
+ },
989
+ {
990
+ "code": "read"
991
+ }
992
+ ],
993
+ "searchParam": [
994
+ {
995
+ "name": "_id",
996
+ "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-specimen-id",
997
+ "type": "token"
998
+ },
999
+ {
1000
+ "name": "patient",
1001
+ "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-specimen-patient",
1002
+ "type": "reference"
1003
+ }
1004
+ ]
1005
+ },
1006
+ {
1007
+ "type": "RelatedPerson",
1008
+ "supportedProfile": [
1009
+ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson"
1010
+ ],
1011
+ "interaction": [
1012
+ {
1013
+ "code": "search-type"
1014
+ },
1015
+ {
1016
+ "code": "read"
1017
+ }
1018
+ ],
1019
+ "referencePolicy": [
1020
+ "resolves"
1021
+ ],
1022
+ "searchRevInclude": [
1023
+ "Provenance:target"
1024
+ ],
1025
+ "searchParam": [
1026
+ {
1027
+ "name": "_id",
1028
+ "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-relatedperson-id",
1029
+ "type": "token"
1030
+ },
1031
+ {
1032
+ "name": "patient",
1033
+ "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-relatedperson-patient",
1034
+ "type": "reference",
1035
+ "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both."
1036
+ }
1037
+ ]
1038
+ }
1039
+ ],
1040
+ "operation": [
1041
+ {
1042
+ "name": "get-resource-counts",
1043
+ "definition": "http://localhost:8080/reference-server/OperationDefinition/-s-get-resource-counts"
1044
+ },
1045
+ {
1046
+ "name": "export",
1047
+ "definition": "http://hl7.org/fhir/uv/bulkdata/OperationDefinition/export"
1048
+ }
1049
+ ]
1050
+ }
1051
+ ]
1052
+ }