us_core_test_kit 1.0.0 → 1.1.0

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.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/config/presets/client_demo_against_server_800_preset.json.erb +46 -0
  3. data/config/presets/server_demo_against_client_800_preset.json.erb +30 -0
  4. data/lib/us_core_test_kit/client/generated/v3.1.1/bodyheight_client_group.rb +1 -1
  5. data/lib/us_core_test_kit/client/generated/v3.1.1/bodytemp_client_group.rb +1 -1
  6. data/lib/us_core_test_kit/client/generated/v3.1.1/bodyweight_client_group.rb +1 -1
  7. data/lib/us_core_test_kit/client/generated/v3.1.1/bp_client_group.rb +1 -1
  8. data/lib/us_core_test_kit/client/generated/v3.1.1/condition_client_group.rb +1 -1
  9. data/lib/us_core_test_kit/client/generated/v3.1.1/head_circumference_client_group.rb +1 -1
  10. data/lib/us_core_test_kit/client/generated/v3.1.1/heartrate_client_group.rb +1 -1
  11. data/lib/us_core_test_kit/client/generated/v3.1.1/resprate_client_group.rb +1 -1
  12. data/lib/us_core_test_kit/client/generated/v3.1.1/us_core_client_test_suite.rb +1 -1
  13. data/lib/us_core_test_kit/client/generated/v4.0.0/condition_client_group.rb +1 -1
  14. data/lib/us_core_test_kit/client/generated/v4.0.0/head_circumference_client_group.rb +1 -1
  15. data/lib/us_core_test_kit/client/generated/v4.0.0/us_core_client_test_suite.rb +1 -1
  16. data/lib/us_core_test_kit/client/generated/v5.0.1/head_circumference_client_group.rb +1 -1
  17. data/lib/us_core_test_kit/client/generated/v5.0.1/us_core_client_test_suite.rb +1 -1
  18. data/lib/us_core_test_kit/client/generated/v6.1.0/head_circumference_client_group.rb +1 -1
  19. data/lib/us_core_test_kit/client/generated/v6.1.0/observation_clinical_result/observation_clinical_result_client_read_test.rb +2 -2
  20. data/lib/us_core_test_kit/client/generated/v6.1.0/observation_clinical_result_client_group.rb +2 -1
  21. data/lib/us_core_test_kit/client/generated/v6.1.0/us_core_client_test_suite.rb +1 -1
  22. data/lib/us_core_test_kit/client/generated/v7.0.0/head_circumference_client_group.rb +1 -1
  23. data/lib/us_core_test_kit/client/generated/v7.0.0/observation_clinical_result/observation_clinical_result_client_read_test.rb +2 -2
  24. data/lib/us_core_test_kit/client/generated/v7.0.0/observation_clinical_result_client_group.rb +2 -1
  25. data/lib/us_core_test_kit/client/generated/v7.0.0/us_core_client_test_suite.rb +2 -1
  26. data/lib/us_core_test_kit/client/generated/v8.0.0/head_circumference_client_group.rb +1 -1
  27. data/lib/us_core_test_kit/client/generated/v8.0.0/observation_clinical_result/observation_clinical_result_client_read_test.rb +2 -2
  28. data/lib/us_core_test_kit/client/generated/v8.0.0/observation_clinical_result_client_group.rb +2 -1
  29. data/lib/us_core_test_kit/client/generated/v8.0.0/us_core_client_test_suite.rb +10 -1
  30. data/lib/us_core_test_kit/client/generator/group_generator.rb +19 -5
  31. data/lib/us_core_test_kit/client/generator/read_test_generator.rb +9 -1
  32. data/lib/us_core_test_kit/client/generator/templates/read_test.rb.erb +5 -1
  33. data/lib/us_core_test_kit/client/generator/templates/suite.rb.erb +12 -1
  34. data/lib/us_core_test_kit/client/test_helper.rb +5 -3
  35. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_patient_abatement_date_granular_scope_search_test.rb +14 -1
  36. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_patient_asserted_date_granular_scope_search_test.rb +14 -1
  37. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_patient_category_clinical_status_granular_scope_search_test.rb +14 -1
  38. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_patient_category_encounter_granular_scope_search_test.rb +14 -1
  39. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_patient_category_granular_scope_search_test.rb +14 -1
  40. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_patient_clinical_status_granular_scope_search_test.rb +14 -1
  41. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_patient_code_granular_scope_search_test.rb +14 -1
  42. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_patient_granular_scope_search_test.rb +14 -1
  43. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_patient_onset_date_granular_scope_search_test.rb +14 -1
  44. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_patient_recorded_date_granular_scope_search_test.rb +14 -1
  45. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/observation/observation_patient_category_date_granular_scope_search_test.rb +14 -1
  46. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/observation/observation_patient_category_granular_scope_search_test.rb +14 -1
  47. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/observation/observation_patient_category_status_granular_scope_search_test.rb +14 -1
  48. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/observation/observation_patient_code_date_granular_scope_search_test.rb +14 -1
  49. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/observation/observation_patient_code_granular_scope_search_test.rb +14 -1
  50. data/lib/us_core_test_kit/generated/v7.0.0/granular_scope_tests/condition/condition_patient_abatement_date_granular_scope_search_test.rb +14 -1
  51. data/lib/us_core_test_kit/generated/v7.0.0/granular_scope_tests/condition/condition_patient_asserted_date_granular_scope_search_test.rb +14 -1
  52. data/lib/us_core_test_kit/generated/v7.0.0/granular_scope_tests/condition/condition_patient_category_clinical_status_granular_scope_search_test.rb +14 -1
  53. data/lib/us_core_test_kit/generated/v7.0.0/granular_scope_tests/condition/condition_patient_category_encounter_granular_scope_search_test.rb +14 -1
  54. data/lib/us_core_test_kit/generated/v7.0.0/granular_scope_tests/condition/condition_patient_category_granular_scope_search_test.rb +14 -1
  55. data/lib/us_core_test_kit/generated/v7.0.0/granular_scope_tests/condition/condition_patient_clinical_status_granular_scope_search_test.rb +14 -1
  56. data/lib/us_core_test_kit/generated/v7.0.0/granular_scope_tests/condition/condition_patient_code_granular_scope_search_test.rb +14 -1
  57. data/lib/us_core_test_kit/generated/v7.0.0/granular_scope_tests/condition/condition_patient_granular_scope_search_test.rb +14 -1
  58. data/lib/us_core_test_kit/generated/v7.0.0/granular_scope_tests/condition/condition_patient_lastupdated_granular_scope_search_test.rb +14 -1
  59. data/lib/us_core_test_kit/generated/v7.0.0/granular_scope_tests/condition/condition_patient_onset_date_granular_scope_search_test.rb +14 -1
  60. data/lib/us_core_test_kit/generated/v7.0.0/granular_scope_tests/condition/condition_patient_recorded_date_granular_scope_search_test.rb +14 -1
  61. data/lib/us_core_test_kit/generated/v7.0.0/granular_scope_tests/observation/observation_patient_category_date_granular_scope_search_test.rb +14 -1
  62. data/lib/us_core_test_kit/generated/v7.0.0/granular_scope_tests/observation/observation_patient_category_granular_scope_search_test.rb +14 -1
  63. data/lib/us_core_test_kit/generated/v7.0.0/granular_scope_tests/observation/observation_patient_category_lastupdated_granular_scope_search_test.rb +14 -1
  64. data/lib/us_core_test_kit/generated/v7.0.0/granular_scope_tests/observation/observation_patient_category_status_granular_scope_search_test.rb +14 -1
  65. data/lib/us_core_test_kit/generated/v7.0.0/granular_scope_tests/observation/observation_patient_code_date_granular_scope_search_test.rb +14 -1
  66. data/lib/us_core_test_kit/generated/v7.0.0/granular_scope_tests/observation/observation_patient_code_granular_scope_search_test.rb +14 -1
  67. data/lib/us_core_test_kit/generated/v8.0.0/granular_scope_tests/condition/condition_patient_abatement_date_granular_scope_search_test.rb +14 -1
  68. data/lib/us_core_test_kit/generated/v8.0.0/granular_scope_tests/condition/condition_patient_asserted_date_granular_scope_search_test.rb +14 -1
  69. data/lib/us_core_test_kit/generated/v8.0.0/granular_scope_tests/condition/condition_patient_category_clinical_status_granular_scope_search_test.rb +14 -1
  70. data/lib/us_core_test_kit/generated/v8.0.0/granular_scope_tests/condition/condition_patient_category_encounter_granular_scope_search_test.rb +14 -1
  71. data/lib/us_core_test_kit/generated/v8.0.0/granular_scope_tests/condition/condition_patient_category_granular_scope_search_test.rb +14 -1
  72. data/lib/us_core_test_kit/generated/v8.0.0/granular_scope_tests/condition/condition_patient_clinical_status_granular_scope_search_test.rb +14 -1
  73. data/lib/us_core_test_kit/generated/v8.0.0/granular_scope_tests/condition/condition_patient_code_granular_scope_search_test.rb +14 -1
  74. data/lib/us_core_test_kit/generated/v8.0.0/granular_scope_tests/condition/condition_patient_granular_scope_search_test.rb +14 -1
  75. data/lib/us_core_test_kit/generated/v8.0.0/granular_scope_tests/condition/condition_patient_lastupdated_granular_scope_search_test.rb +14 -1
  76. data/lib/us_core_test_kit/generated/v8.0.0/granular_scope_tests/condition/condition_patient_onset_date_granular_scope_search_test.rb +14 -1
  77. data/lib/us_core_test_kit/generated/v8.0.0/granular_scope_tests/condition/condition_patient_recorded_date_granular_scope_search_test.rb +14 -1
  78. data/lib/us_core_test_kit/generated/v8.0.0/granular_scope_tests/observation/observation_patient_category_date_granular_scope_search_test.rb +14 -1
  79. data/lib/us_core_test_kit/generated/v8.0.0/granular_scope_tests/observation/observation_patient_category_granular_scope_search_test.rb +14 -1
  80. data/lib/us_core_test_kit/generated/v8.0.0/granular_scope_tests/observation/observation_patient_category_lastupdated_granular_scope_search_test.rb +14 -1
  81. data/lib/us_core_test_kit/generated/v8.0.0/granular_scope_tests/observation/observation_patient_category_status_granular_scope_search_test.rb +14 -1
  82. data/lib/us_core_test_kit/generated/v8.0.0/granular_scope_tests/observation/observation_patient_code_date_granular_scope_search_test.rb +14 -1
  83. data/lib/us_core_test_kit/generated/v8.0.0/granular_scope_tests/observation/observation_patient_code_granular_scope_search_test.rb +14 -1
  84. data/lib/us_core_test_kit/generator/granular_scope_test_generator.rb +14 -1
  85. data/lib/us_core_test_kit/granular_scope_search_test.rb +36 -11
  86. data/lib/us_core_test_kit/metadata.rb +1 -1
  87. data/lib/us_core_test_kit/requirements/generated/us_core_client_v800_requirements_coverage.csv +140 -0
  88. data/lib/us_core_test_kit/version.rb +2 -2
  89. data/lib/us_core_test_kit.rb +1 -0
  90. metadata +5 -2
@@ -12,7 +12,20 @@ module USCoreTestKit
12
12
  description %(
13
13
  This test repeats all Condition searches by
14
14
  patient + category + encounter and verifies that the results have been
15
- filtered based on the granted granular scopes.
15
+ filtered based on the granted granular scopes. The response to each
16
+ repeated request will be compared to the corresponding original response
17
+ independently using the following logic:
18
+ - If the repeated search filters on a category value that
19
+ is explicitly included within the granted scopes, e.g., a search for
20
+ `Observation?category=survey` when the granted scopes includes
21
+ `patient/Observation.rs?category=survey`, then the server is required to
22
+ return the original response filtered to include only entries that match
23
+ one of the granted scopes.
24
+ - Otherwise, e.g., a search for `Observation?category=cognitive-status`
25
+ when the granted scopes include only `patient/Observation.rs?category=survey`,
26
+ servers may indicate that the request is unauthorized either through an empty
27
+ Bundle or an explicit HTTP error, or they may return the original response
28
+ filtered to include only entries that match one of the granted scopes.
16
29
 
17
30
  )
18
31
 
@@ -12,7 +12,20 @@ module USCoreTestKit
12
12
  description %(
13
13
  This test repeats all Condition searches by
14
14
  patient + category and verifies that the results have been
15
- filtered based on the granted granular scopes.
15
+ filtered based on the granted granular scopes. The response to each
16
+ repeated request will be compared to the corresponding original response
17
+ independently using the following logic:
18
+ - If the repeated search filters on a category value that
19
+ is explicitly included within the granted scopes, e.g., a search for
20
+ `Observation?category=survey` when the granted scopes includes
21
+ `patient/Observation.rs?category=survey`, then the server is required to
22
+ return the original response filtered to include only entries that match
23
+ one of the granted scopes.
24
+ - Otherwise, e.g., a search for `Observation?category=cognitive-status`
25
+ when the granted scopes include only `patient/Observation.rs?category=survey`,
26
+ servers may indicate that the request is unauthorized either through an empty
27
+ Bundle or an explicit HTTP error, or they may return the original response
28
+ filtered to include only entries that match one of the granted scopes.
16
29
 
17
30
  )
18
31
 
@@ -12,7 +12,20 @@ module USCoreTestKit
12
12
  description %(
13
13
  This test repeats all Condition searches by
14
14
  patient + clinical-status and verifies that the results have been
15
- filtered based on the granted granular scopes.
15
+ filtered based on the granted granular scopes. The response to each
16
+ repeated request will be compared to the corresponding original response
17
+ independently using the following logic:
18
+ - If the repeated search filters on a category value that
19
+ is explicitly included within the granted scopes, e.g., a search for
20
+ `Observation?category=survey` when the granted scopes includes
21
+ `patient/Observation.rs?category=survey`, then the server is required to
22
+ return the original response filtered to include only entries that match
23
+ one of the granted scopes.
24
+ - Otherwise, e.g., a search for `Observation?category=cognitive-status`
25
+ when the granted scopes include only `patient/Observation.rs?category=survey`,
26
+ servers may indicate that the request is unauthorized either through an empty
27
+ Bundle or an explicit HTTP error, or they may return the original response
28
+ filtered to include only entries that match one of the granted scopes.
16
29
 
17
30
  )
18
31
 
@@ -12,7 +12,20 @@ module USCoreTestKit
12
12
  description %(
13
13
  This test repeats all Condition searches by
14
14
  patient + code and verifies that the results have been
15
- filtered based on the granted granular scopes.
15
+ filtered based on the granted granular scopes. The response to each
16
+ repeated request will be compared to the corresponding original response
17
+ independently using the following logic:
18
+ - If the repeated search filters on a category value that
19
+ is explicitly included within the granted scopes, e.g., a search for
20
+ `Observation?category=survey` when the granted scopes includes
21
+ `patient/Observation.rs?category=survey`, then the server is required to
22
+ return the original response filtered to include only entries that match
23
+ one of the granted scopes.
24
+ - Otherwise, e.g., a search for `Observation?category=cognitive-status`
25
+ when the granted scopes include only `patient/Observation.rs?category=survey`,
26
+ servers may indicate that the request is unauthorized either through an empty
27
+ Bundle or an explicit HTTP error, or they may return the original response
28
+ filtered to include only entries that match one of the granted scopes.
16
29
 
17
30
  )
18
31
 
@@ -12,7 +12,20 @@ module USCoreTestKit
12
12
  description %(
13
13
  This test repeats all Condition searches by
14
14
  patient and verifies that the results have been
15
- filtered based on the granted granular scopes.
15
+ filtered based on the granted granular scopes. The response to each
16
+ repeated request will be compared to the corresponding original response
17
+ independently using the following logic:
18
+ - If the repeated search filters on a category value that
19
+ is explicitly included within the granted scopes, e.g., a search for
20
+ `Observation?category=survey` when the granted scopes includes
21
+ `patient/Observation.rs?category=survey`, then the server is required to
22
+ return the original response filtered to include only entries that match
23
+ one of the granted scopes.
24
+ - Otherwise, e.g., a search for `Observation?category=cognitive-status`
25
+ when the granted scopes include only `patient/Observation.rs?category=survey`,
26
+ servers may indicate that the request is unauthorized either through an empty
27
+ Bundle or an explicit HTTP error, or they may return the original response
28
+ filtered to include only entries that match one of the granted scopes.
16
29
 
17
30
  )
18
31
 
@@ -12,7 +12,20 @@ module USCoreTestKit
12
12
  description %(
13
13
  This test repeats all Condition searches by
14
14
  patient + onset-date and verifies that the results have been
15
- filtered based on the granted granular scopes.
15
+ filtered based on the granted granular scopes. The response to each
16
+ repeated request will be compared to the corresponding original response
17
+ independently using the following logic:
18
+ - If the repeated search filters on a category value that
19
+ is explicitly included within the granted scopes, e.g., a search for
20
+ `Observation?category=survey` when the granted scopes includes
21
+ `patient/Observation.rs?category=survey`, then the server is required to
22
+ return the original response filtered to include only entries that match
23
+ one of the granted scopes.
24
+ - Otherwise, e.g., a search for `Observation?category=cognitive-status`
25
+ when the granted scopes include only `patient/Observation.rs?category=survey`,
26
+ servers may indicate that the request is unauthorized either through an empty
27
+ Bundle or an explicit HTTP error, or they may return the original response
28
+ filtered to include only entries that match one of the granted scopes.
16
29
 
17
30
  )
18
31
 
@@ -12,7 +12,20 @@ module USCoreTestKit
12
12
  description %(
13
13
  This test repeats all Condition searches by
14
14
  patient + recorded-date and verifies that the results have been
15
- filtered based on the granted granular scopes.
15
+ filtered based on the granted granular scopes. The response to each
16
+ repeated request will be compared to the corresponding original response
17
+ independently using the following logic:
18
+ - If the repeated search filters on a category value that
19
+ is explicitly included within the granted scopes, e.g., a search for
20
+ `Observation?category=survey` when the granted scopes includes
21
+ `patient/Observation.rs?category=survey`, then the server is required to
22
+ return the original response filtered to include only entries that match
23
+ one of the granted scopes.
24
+ - Otherwise, e.g., a search for `Observation?category=cognitive-status`
25
+ when the granted scopes include only `patient/Observation.rs?category=survey`,
26
+ servers may indicate that the request is unauthorized either through an empty
27
+ Bundle or an explicit HTTP error, or they may return the original response
28
+ filtered to include only entries that match one of the granted scopes.
16
29
 
17
30
  )
18
31
 
@@ -12,7 +12,20 @@ module USCoreTestKit
12
12
  description %(
13
13
  This test repeats all Observation searches by
14
14
  patient + category + date and verifies that the results have been
15
- filtered based on the granted granular scopes.
15
+ filtered based on the granted granular scopes. The response to each
16
+ repeated request will be compared to the corresponding original response
17
+ independently using the following logic:
18
+ - If the repeated search filters on a category value that
19
+ is explicitly included within the granted scopes, e.g., a search for
20
+ `Observation?category=survey` when the granted scopes includes
21
+ `patient/Observation.rs?category=survey`, then the server is required to
22
+ return the original response filtered to include only entries that match
23
+ one of the granted scopes.
24
+ - Otherwise, e.g., a search for `Observation?category=cognitive-status`
25
+ when the granted scopes include only `patient/Observation.rs?category=survey`,
26
+ servers may indicate that the request is unauthorized either through an empty
27
+ Bundle or an explicit HTTP error, or they may return the original response
28
+ filtered to include only entries that match one of the granted scopes.
16
29
 
17
30
  )
18
31
 
@@ -12,7 +12,20 @@ module USCoreTestKit
12
12
  description %(
13
13
  This test repeats all Observation searches by
14
14
  patient + category and verifies that the results have been
15
- filtered based on the granted granular scopes.
15
+ filtered based on the granted granular scopes. The response to each
16
+ repeated request will be compared to the corresponding original response
17
+ independently using the following logic:
18
+ - If the repeated search filters on a category value that
19
+ is explicitly included within the granted scopes, e.g., a search for
20
+ `Observation?category=survey` when the granted scopes includes
21
+ `patient/Observation.rs?category=survey`, then the server is required to
22
+ return the original response filtered to include only entries that match
23
+ one of the granted scopes.
24
+ - Otherwise, e.g., a search for `Observation?category=cognitive-status`
25
+ when the granted scopes include only `patient/Observation.rs?category=survey`,
26
+ servers may indicate that the request is unauthorized either through an empty
27
+ Bundle or an explicit HTTP error, or they may return the original response
28
+ filtered to include only entries that match one of the granted scopes.
16
29
 
17
30
  )
18
31
 
@@ -12,7 +12,20 @@ module USCoreTestKit
12
12
  description %(
13
13
  This test repeats all Observation searches by
14
14
  patient + category + status and verifies that the results have been
15
- filtered based on the granted granular scopes.
15
+ filtered based on the granted granular scopes. The response to each
16
+ repeated request will be compared to the corresponding original response
17
+ independently using the following logic:
18
+ - If the repeated search filters on a category value that
19
+ is explicitly included within the granted scopes, e.g., a search for
20
+ `Observation?category=survey` when the granted scopes includes
21
+ `patient/Observation.rs?category=survey`, then the server is required to
22
+ return the original response filtered to include only entries that match
23
+ one of the granted scopes.
24
+ - Otherwise, e.g., a search for `Observation?category=cognitive-status`
25
+ when the granted scopes include only `patient/Observation.rs?category=survey`,
26
+ servers may indicate that the request is unauthorized either through an empty
27
+ Bundle or an explicit HTTP error, or they may return the original response
28
+ filtered to include only entries that match one of the granted scopes.
16
29
 
17
30
  )
18
31
 
@@ -12,7 +12,20 @@ module USCoreTestKit
12
12
  description %(
13
13
  This test repeats all Observation searches by
14
14
  patient + code + date and verifies that the results have been
15
- filtered based on the granted granular scopes.
15
+ filtered based on the granted granular scopes. The response to each
16
+ repeated request will be compared to the corresponding original response
17
+ independently using the following logic:
18
+ - If the repeated search filters on a category value that
19
+ is explicitly included within the granted scopes, e.g., a search for
20
+ `Observation?category=survey` when the granted scopes includes
21
+ `patient/Observation.rs?category=survey`, then the server is required to
22
+ return the original response filtered to include only entries that match
23
+ one of the granted scopes.
24
+ - Otherwise, e.g., a search for `Observation?category=cognitive-status`
25
+ when the granted scopes include only `patient/Observation.rs?category=survey`,
26
+ servers may indicate that the request is unauthorized either through an empty
27
+ Bundle or an explicit HTTP error, or they may return the original response
28
+ filtered to include only entries that match one of the granted scopes.
16
29
 
17
30
  )
18
31
 
@@ -12,7 +12,20 @@ module USCoreTestKit
12
12
  description %(
13
13
  This test repeats all Observation searches by
14
14
  patient + code and verifies that the results have been
15
- filtered based on the granted granular scopes.
15
+ filtered based on the granted granular scopes. The response to each
16
+ repeated request will be compared to the corresponding original response
17
+ independently using the following logic:
18
+ - If the repeated search filters on a category value that
19
+ is explicitly included within the granted scopes, e.g., a search for
20
+ `Observation?category=survey` when the granted scopes includes
21
+ `patient/Observation.rs?category=survey`, then the server is required to
22
+ return the original response filtered to include only entries that match
23
+ one of the granted scopes.
24
+ - Otherwise, e.g., a search for `Observation?category=cognitive-status`
25
+ when the granted scopes include only `patient/Observation.rs?category=survey`,
26
+ servers may indicate that the request is unauthorized either through an empty
27
+ Bundle or an explicit HTTP error, or they may return the original response
28
+ filtered to include only entries that match one of the granted scopes.
16
29
 
17
30
  )
18
31
 
@@ -12,7 +12,20 @@ module USCoreTestKit
12
12
  description %(
13
13
  This test repeats all Condition searches by
14
14
  patient + abatement-date and verifies that the results have been
15
- filtered based on the granted granular scopes.
15
+ filtered based on the granted granular scopes. The response to each
16
+ repeated request will be compared to the corresponding original response
17
+ independently using the following logic:
18
+ - If the repeated search filters on a category value that
19
+ is explicitly included within the granted scopes, e.g., a search for
20
+ `Observation?category=survey` when the granted scopes includes
21
+ `patient/Observation.rs?category=survey`, then the server is required to
22
+ return the original response filtered to include only entries that match
23
+ one of the granted scopes.
24
+ - Otherwise, e.g., a search for `Observation?category=cognitive-status`
25
+ when the granted scopes include only `patient/Observation.rs?category=survey`,
26
+ servers may indicate that the request is unauthorized either through an empty
27
+ Bundle or an explicit HTTP error, or they may return the original response
28
+ filtered to include only entries that match one of the granted scopes.
16
29
 
17
30
  )
18
31
 
@@ -12,7 +12,20 @@ module USCoreTestKit
12
12
  description %(
13
13
  This test repeats all Condition searches by
14
14
  patient + asserted-date and verifies that the results have been
15
- filtered based on the granted granular scopes.
15
+ filtered based on the granted granular scopes. The response to each
16
+ repeated request will be compared to the corresponding original response
17
+ independently using the following logic:
18
+ - If the repeated search filters on a category value that
19
+ is explicitly included within the granted scopes, e.g., a search for
20
+ `Observation?category=survey` when the granted scopes includes
21
+ `patient/Observation.rs?category=survey`, then the server is required to
22
+ return the original response filtered to include only entries that match
23
+ one of the granted scopes.
24
+ - Otherwise, e.g., a search for `Observation?category=cognitive-status`
25
+ when the granted scopes include only `patient/Observation.rs?category=survey`,
26
+ servers may indicate that the request is unauthorized either through an empty
27
+ Bundle or an explicit HTTP error, or they may return the original response
28
+ filtered to include only entries that match one of the granted scopes.
16
29
 
17
30
  )
18
31
 
@@ -12,7 +12,20 @@ module USCoreTestKit
12
12
  description %(
13
13
  This test repeats all Condition searches by
14
14
  patient + category + clinical-status and verifies that the results have been
15
- filtered based on the granted granular scopes.
15
+ filtered based on the granted granular scopes. The response to each
16
+ repeated request will be compared to the corresponding original response
17
+ independently using the following logic:
18
+ - If the repeated search filters on a category value that
19
+ is explicitly included within the granted scopes, e.g., a search for
20
+ `Observation?category=survey` when the granted scopes includes
21
+ `patient/Observation.rs?category=survey`, then the server is required to
22
+ return the original response filtered to include only entries that match
23
+ one of the granted scopes.
24
+ - Otherwise, e.g., a search for `Observation?category=cognitive-status`
25
+ when the granted scopes include only `patient/Observation.rs?category=survey`,
26
+ servers may indicate that the request is unauthorized either through an empty
27
+ Bundle or an explicit HTTP error, or they may return the original response
28
+ filtered to include only entries that match one of the granted scopes.
16
29
 
17
30
  )
18
31
 
@@ -12,7 +12,20 @@ module USCoreTestKit
12
12
  description %(
13
13
  This test repeats all Condition searches by
14
14
  patient + category + encounter and verifies that the results have been
15
- filtered based on the granted granular scopes.
15
+ filtered based on the granted granular scopes. The response to each
16
+ repeated request will be compared to the corresponding original response
17
+ independently using the following logic:
18
+ - If the repeated search filters on a category value that
19
+ is explicitly included within the granted scopes, e.g., a search for
20
+ `Observation?category=survey` when the granted scopes includes
21
+ `patient/Observation.rs?category=survey`, then the server is required to
22
+ return the original response filtered to include only entries that match
23
+ one of the granted scopes.
24
+ - Otherwise, e.g., a search for `Observation?category=cognitive-status`
25
+ when the granted scopes include only `patient/Observation.rs?category=survey`,
26
+ servers may indicate that the request is unauthorized either through an empty
27
+ Bundle or an explicit HTTP error, or they may return the original response
28
+ filtered to include only entries that match one of the granted scopes.
16
29
 
17
30
  )
18
31
 
@@ -12,7 +12,20 @@ module USCoreTestKit
12
12
  description %(
13
13
  This test repeats all Condition searches by
14
14
  patient + category and verifies that the results have been
15
- filtered based on the granted granular scopes.
15
+ filtered based on the granted granular scopes. The response to each
16
+ repeated request will be compared to the corresponding original response
17
+ independently using the following logic:
18
+ - If the repeated search filters on a category value that
19
+ is explicitly included within the granted scopes, e.g., a search for
20
+ `Observation?category=survey` when the granted scopes includes
21
+ `patient/Observation.rs?category=survey`, then the server is required to
22
+ return the original response filtered to include only entries that match
23
+ one of the granted scopes.
24
+ - Otherwise, e.g., a search for `Observation?category=cognitive-status`
25
+ when the granted scopes include only `patient/Observation.rs?category=survey`,
26
+ servers may indicate that the request is unauthorized either through an empty
27
+ Bundle or an explicit HTTP error, or they may return the original response
28
+ filtered to include only entries that match one of the granted scopes.
16
29
 
17
30
  )
18
31
 
@@ -12,7 +12,20 @@ module USCoreTestKit
12
12
  description %(
13
13
  This test repeats all Condition searches by
14
14
  patient + clinical-status and verifies that the results have been
15
- filtered based on the granted granular scopes.
15
+ filtered based on the granted granular scopes. The response to each
16
+ repeated request will be compared to the corresponding original response
17
+ independently using the following logic:
18
+ - If the repeated search filters on a category value that
19
+ is explicitly included within the granted scopes, e.g., a search for
20
+ `Observation?category=survey` when the granted scopes includes
21
+ `patient/Observation.rs?category=survey`, then the server is required to
22
+ return the original response filtered to include only entries that match
23
+ one of the granted scopes.
24
+ - Otherwise, e.g., a search for `Observation?category=cognitive-status`
25
+ when the granted scopes include only `patient/Observation.rs?category=survey`,
26
+ servers may indicate that the request is unauthorized either through an empty
27
+ Bundle or an explicit HTTP error, or they may return the original response
28
+ filtered to include only entries that match one of the granted scopes.
16
29
 
17
30
  )
18
31
 
@@ -12,7 +12,20 @@ module USCoreTestKit
12
12
  description %(
13
13
  This test repeats all Condition searches by
14
14
  patient + code and verifies that the results have been
15
- filtered based on the granted granular scopes.
15
+ filtered based on the granted granular scopes. The response to each
16
+ repeated request will be compared to the corresponding original response
17
+ independently using the following logic:
18
+ - If the repeated search filters on a category value that
19
+ is explicitly included within the granted scopes, e.g., a search for
20
+ `Observation?category=survey` when the granted scopes includes
21
+ `patient/Observation.rs?category=survey`, then the server is required to
22
+ return the original response filtered to include only entries that match
23
+ one of the granted scopes.
24
+ - Otherwise, e.g., a search for `Observation?category=cognitive-status`
25
+ when the granted scopes include only `patient/Observation.rs?category=survey`,
26
+ servers may indicate that the request is unauthorized either through an empty
27
+ Bundle or an explicit HTTP error, or they may return the original response
28
+ filtered to include only entries that match one of the granted scopes.
16
29
 
17
30
  )
18
31
 
@@ -12,7 +12,20 @@ module USCoreTestKit
12
12
  description %(
13
13
  This test repeats all Condition searches by
14
14
  patient and verifies that the results have been
15
- filtered based on the granted granular scopes.
15
+ filtered based on the granted granular scopes. The response to each
16
+ repeated request will be compared to the corresponding original response
17
+ independently using the following logic:
18
+ - If the repeated search filters on a category value that
19
+ is explicitly included within the granted scopes, e.g., a search for
20
+ `Observation?category=survey` when the granted scopes includes
21
+ `patient/Observation.rs?category=survey`, then the server is required to
22
+ return the original response filtered to include only entries that match
23
+ one of the granted scopes.
24
+ - Otherwise, e.g., a search for `Observation?category=cognitive-status`
25
+ when the granted scopes include only `patient/Observation.rs?category=survey`,
26
+ servers may indicate that the request is unauthorized either through an empty
27
+ Bundle or an explicit HTTP error, or they may return the original response
28
+ filtered to include only entries that match one of the granted scopes.
16
29
 
17
30
  )
18
31
 
@@ -12,7 +12,20 @@ module USCoreTestKit
12
12
  description %(
13
13
  This test repeats all Condition searches by
14
14
  patient + _lastUpdated and verifies that the results have been
15
- filtered based on the granted granular scopes.
15
+ filtered based on the granted granular scopes. The response to each
16
+ repeated request will be compared to the corresponding original response
17
+ independently using the following logic:
18
+ - If the repeated search filters on a category value that
19
+ is explicitly included within the granted scopes, e.g., a search for
20
+ `Observation?category=survey` when the granted scopes includes
21
+ `patient/Observation.rs?category=survey`, then the server is required to
22
+ return the original response filtered to include only entries that match
23
+ one of the granted scopes.
24
+ - Otherwise, e.g., a search for `Observation?category=cognitive-status`
25
+ when the granted scopes include only `patient/Observation.rs?category=survey`,
26
+ servers may indicate that the request is unauthorized either through an empty
27
+ Bundle or an explicit HTTP error, or they may return the original response
28
+ filtered to include only entries that match one of the granted scopes.
16
29
 
17
30
  )
18
31
 
@@ -12,7 +12,20 @@ module USCoreTestKit
12
12
  description %(
13
13
  This test repeats all Condition searches by
14
14
  patient + onset-date and verifies that the results have been
15
- filtered based on the granted granular scopes.
15
+ filtered based on the granted granular scopes. The response to each
16
+ repeated request will be compared to the corresponding original response
17
+ independently using the following logic:
18
+ - If the repeated search filters on a category value that
19
+ is explicitly included within the granted scopes, e.g., a search for
20
+ `Observation?category=survey` when the granted scopes includes
21
+ `patient/Observation.rs?category=survey`, then the server is required to
22
+ return the original response filtered to include only entries that match
23
+ one of the granted scopes.
24
+ - Otherwise, e.g., a search for `Observation?category=cognitive-status`
25
+ when the granted scopes include only `patient/Observation.rs?category=survey`,
26
+ servers may indicate that the request is unauthorized either through an empty
27
+ Bundle or an explicit HTTP error, or they may return the original response
28
+ filtered to include only entries that match one of the granted scopes.
16
29
 
17
30
  )
18
31
 
@@ -12,7 +12,20 @@ module USCoreTestKit
12
12
  description %(
13
13
  This test repeats all Condition searches by
14
14
  patient + recorded-date and verifies that the results have been
15
- filtered based on the granted granular scopes.
15
+ filtered based on the granted granular scopes. The response to each
16
+ repeated request will be compared to the corresponding original response
17
+ independently using the following logic:
18
+ - If the repeated search filters on a category value that
19
+ is explicitly included within the granted scopes, e.g., a search for
20
+ `Observation?category=survey` when the granted scopes includes
21
+ `patient/Observation.rs?category=survey`, then the server is required to
22
+ return the original response filtered to include only entries that match
23
+ one of the granted scopes.
24
+ - Otherwise, e.g., a search for `Observation?category=cognitive-status`
25
+ when the granted scopes include only `patient/Observation.rs?category=survey`,
26
+ servers may indicate that the request is unauthorized either through an empty
27
+ Bundle or an explicit HTTP error, or they may return the original response
28
+ filtered to include only entries that match one of the granted scopes.
16
29
 
17
30
  )
18
31
 
@@ -12,7 +12,20 @@ module USCoreTestKit
12
12
  description %(
13
13
  This test repeats all Observation searches by
14
14
  patient + category + date and verifies that the results have been
15
- filtered based on the granted granular scopes.
15
+ filtered based on the granted granular scopes. The response to each
16
+ repeated request will be compared to the corresponding original response
17
+ independently using the following logic:
18
+ - If the repeated search filters on a category value that
19
+ is explicitly included within the granted scopes, e.g., a search for
20
+ `Observation?category=survey` when the granted scopes includes
21
+ `patient/Observation.rs?category=survey`, then the server is required to
22
+ return the original response filtered to include only entries that match
23
+ one of the granted scopes.
24
+ - Otherwise, e.g., a search for `Observation?category=cognitive-status`
25
+ when the granted scopes include only `patient/Observation.rs?category=survey`,
26
+ servers may indicate that the request is unauthorized either through an empty
27
+ Bundle or an explicit HTTP error, or they may return the original response
28
+ filtered to include only entries that match one of the granted scopes.
16
29
 
17
30
  )
18
31
 
@@ -12,7 +12,20 @@ module USCoreTestKit
12
12
  description %(
13
13
  This test repeats all Observation searches by
14
14
  patient + category and verifies that the results have been
15
- filtered based on the granted granular scopes.
15
+ filtered based on the granted granular scopes. The response to each
16
+ repeated request will be compared to the corresponding original response
17
+ independently using the following logic:
18
+ - If the repeated search filters on a category value that
19
+ is explicitly included within the granted scopes, e.g., a search for
20
+ `Observation?category=survey` when the granted scopes includes
21
+ `patient/Observation.rs?category=survey`, then the server is required to
22
+ return the original response filtered to include only entries that match
23
+ one of the granted scopes.
24
+ - Otherwise, e.g., a search for `Observation?category=cognitive-status`
25
+ when the granted scopes include only `patient/Observation.rs?category=survey`,
26
+ servers may indicate that the request is unauthorized either through an empty
27
+ Bundle or an explicit HTTP error, or they may return the original response
28
+ filtered to include only entries that match one of the granted scopes.
16
29
 
17
30
  )
18
31
 
@@ -12,7 +12,20 @@ module USCoreTestKit
12
12
  description %(
13
13
  This test repeats all Observation searches by
14
14
  patient + category + _lastUpdated and verifies that the results have been
15
- filtered based on the granted granular scopes.
15
+ filtered based on the granted granular scopes. The response to each
16
+ repeated request will be compared to the corresponding original response
17
+ independently using the following logic:
18
+ - If the repeated search filters on a category value that
19
+ is explicitly included within the granted scopes, e.g., a search for
20
+ `Observation?category=survey` when the granted scopes includes
21
+ `patient/Observation.rs?category=survey`, then the server is required to
22
+ return the original response filtered to include only entries that match
23
+ one of the granted scopes.
24
+ - Otherwise, e.g., a search for `Observation?category=cognitive-status`
25
+ when the granted scopes include only `patient/Observation.rs?category=survey`,
26
+ servers may indicate that the request is unauthorized either through an empty
27
+ Bundle or an explicit HTTP error, or they may return the original response
28
+ filtered to include only entries that match one of the granted scopes.
16
29
 
17
30
  )
18
31
 
@@ -12,7 +12,20 @@ module USCoreTestKit
12
12
  description %(
13
13
  This test repeats all Observation searches by
14
14
  patient + category + status and verifies that the results have been
15
- filtered based on the granted granular scopes.
15
+ filtered based on the granted granular scopes. The response to each
16
+ repeated request will be compared to the corresponding original response
17
+ independently using the following logic:
18
+ - If the repeated search filters on a category value that
19
+ is explicitly included within the granted scopes, e.g., a search for
20
+ `Observation?category=survey` when the granted scopes includes
21
+ `patient/Observation.rs?category=survey`, then the server is required to
22
+ return the original response filtered to include only entries that match
23
+ one of the granted scopes.
24
+ - Otherwise, e.g., a search for `Observation?category=cognitive-status`
25
+ when the granted scopes include only `patient/Observation.rs?category=survey`,
26
+ servers may indicate that the request is unauthorized either through an empty
27
+ Bundle or an explicit HTTP error, or they may return the original response
28
+ filtered to include only entries that match one of the granted scopes.
16
29
 
17
30
  )
18
31