us_core_test_kit 0.6.5 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (141) hide show
  1. checksums.yaml +4 -4
  2. data/lib/us_core_test_kit/custom_groups/base_smart_granular_scopes_group.rb +44 -12
  3. data/lib/us_core_test_kit/custom_groups/granted_granular_scopes_test.rb +61 -0
  4. data/lib/us_core_test_kit/custom_groups/screening_assessment_category_test.rb +75 -0
  5. data/lib/us_core_test_kit/custom_groups/smart_scopes_constants.rb +5 -8
  6. data/lib/us_core_test_kit/custom_groups/v6.1.0/screening_assessment_group.rb +45 -0
  7. data/lib/us_core_test_kit/custom_groups/v6.1.0/smart_granular_scopes_group.rb +94 -41
  8. data/lib/us_core_test_kit/custom_groups/v7.0.0-ballot/screening_assessment_group.rb +48 -0
  9. data/lib/us_core_test_kit/custom_groups/v7.0.0-ballot/smart_granular_scopes_group.rb +6 -0
  10. data/lib/us_core_test_kit/fhir_resource_navigation.rb +16 -1
  11. data/lib/us_core_test_kit/generated/v3.1.1/metadata.yml +3 -0
  12. data/lib/us_core_test_kit/generated/v3.1.1/patient/metadata.yml +3 -0
  13. data/lib/us_core_test_kit/generated/v3.1.1/us_core_test_suite.rb +5 -4
  14. data/lib/us_core_test_kit/generated/v4.0.0/metadata.yml +3 -0
  15. data/lib/us_core_test_kit/generated/v4.0.0/patient/metadata.yml +3 -0
  16. data/lib/us_core_test_kit/generated/v4.0.0/us_core_test_suite.rb +5 -4
  17. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/metadata.yml +1 -0
  18. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/metadata.yml +1 -0
  19. data/lib/us_core_test_kit/generated/v5.0.1/metadata.yml +8 -0
  20. data/lib/us_core_test_kit/generated/v5.0.1/patient/metadata.yml +4 -0
  21. data/lib/us_core_test_kit/generated/v5.0.1/questionnaire_response/metadata.yml +2 -0
  22. data/lib/us_core_test_kit/generated/v5.0.1/us_core_test_suite.rb +5 -4
  23. data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/metadata.yml +23 -20
  24. data/lib/us_core_test_kit/generated/v6.1.0/condition_granular_scope1_group.rb +24 -20
  25. data/lib/us_core_test_kit/generated/v6.1.0/condition_problems_health_concerns/metadata.yml +1 -0
  26. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_granular_scope_read_test.rb +32 -0
  27. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/{condition_patient_abatement_date_granular_scope_test.rb → condition_patient_abatement_date_granular_scope_search_test.rb} +5 -5
  28. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/{condition_patient_asserted_date_granular_scope_test.rb → condition_patient_asserted_date_granular_scope_search_test.rb} +5 -5
  29. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/{condition_patient_category_clinical_status_granular_scope_test.rb → condition_patient_category_clinical_status_granular_scope_search_test.rb} +5 -5
  30. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/{condition_patient_category_encounter_granular_scope_test.rb → condition_patient_category_encounter_granular_scope_search_test.rb} +5 -5
  31. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/{condition_patient_category_granular_scope_test.rb → condition_patient_category_granular_scope_search_test.rb} +5 -5
  32. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/{condition_patient_clinical_status_granular_scope_test.rb → condition_patient_clinical_status_granular_scope_search_test.rb} +5 -5
  33. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/{condition_patient_code_granular_scope_test.rb → condition_patient_code_granular_scope_search_test.rb} +5 -5
  34. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/{condition_patient_granular_scope_test.rb → condition_patient_granular_scope_search_test.rb} +5 -5
  35. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/{condition_patient_onset_date_granular_scope_test.rb → condition_patient_onset_date_granular_scope_search_test.rb} +5 -5
  36. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/{condition_patient_recorded_date_granular_scope_test.rb → condition_patient_recorded_date_granular_scope_search_test.rb} +5 -5
  37. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/metadata.yml +25 -22
  38. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/observation/metadata.yml +14 -12
  39. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/observation/observation_granular_scope_read_test.rb +32 -0
  40. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/observation/{observation_patient_category_date_granular_scope_test.rb → observation_patient_category_date_granular_scope_search_test.rb} +5 -5
  41. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/observation/{observation_patient_category_granular_scope_test.rb → observation_patient_category_granular_scope_search_test.rb} +5 -5
  42. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/observation/{observation_patient_category_status_granular_scope_test.rb → observation_patient_category_status_granular_scope_search_test.rb} +5 -5
  43. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/observation/{observation_patient_code_date_granular_scope_test.rb → observation_patient_code_date_granular_scope_search_test.rb} +5 -5
  44. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/observation/{observation_patient_code_granular_scope_test.rb → observation_patient_code_granular_scope_search_test.rb} +5 -5
  45. data/lib/us_core_test_kit/generated/v6.1.0/granular_scopes1_group.rb +5 -1
  46. data/lib/us_core_test_kit/generated/v6.1.0/metadata.yml +43 -36
  47. data/lib/us_core_test_kit/generated/v6.1.0/observation_granular_scope1_group.rb +15 -11
  48. data/lib/us_core_test_kit/generated/v6.1.0/observation_lab/metadata.yml +12 -10
  49. data/lib/us_core_test_kit/generated/v6.1.0/patient/metadata.yml +5 -0
  50. data/lib/us_core_test_kit/generated/v6.1.0/questionnaire_response/metadata.yml +2 -0
  51. data/lib/us_core_test_kit/generated/v6.1.0/us_core_test_suite.rb +9 -6
  52. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/metadata.yml +23 -20
  53. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_granular_scope1_group.rb +22 -20
  54. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_granular_scope2_group.rb +22 -20
  55. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns/metadata.yml +1 -0
  56. data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_granular_scope1_group.rb +14 -12
  57. data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_granular_scope2_group.rb +14 -12
  58. data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/metadata.yml +14 -12
  59. data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/metadata.yml +16 -14
  60. data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference_granular_scope1_group.rb +16 -14
  61. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/condition_granular_scope_read_test.rb +32 -0
  62. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/{condition_patient_abatement_date_granular_scope_test.rb → condition_patient_abatement_date_granular_scope_search_test.rb} +5 -5
  63. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/{condition_patient_asserted_date_granular_scope_test.rb → condition_patient_asserted_date_granular_scope_search_test.rb} +5 -5
  64. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/{condition_patient_category_clinical_status_granular_scope_test.rb → condition_patient_category_clinical_status_granular_scope_search_test.rb} +5 -5
  65. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/{condition_patient_category_encounter_granular_scope_test.rb → condition_patient_category_encounter_granular_scope_search_test.rb} +5 -5
  66. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/{condition_patient_category_granular_scope_test.rb → condition_patient_category_granular_scope_search_test.rb} +5 -5
  67. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/{condition_patient_clinical_status_granular_scope_test.rb → condition_patient_clinical_status_granular_scope_search_test.rb} +5 -5
  68. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/{condition_patient_code_granular_scope_test.rb → condition_patient_code_granular_scope_search_test.rb} +5 -5
  69. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/{condition_patient_granular_scope_test.rb → condition_patient_granular_scope_search_test.rb} +5 -5
  70. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/{condition_patient_onset_date_granular_scope_test.rb → condition_patient_onset_date_granular_scope_search_test.rb} +5 -5
  71. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/{condition_patient_recorded_date_granular_scope_test.rb → condition_patient_recorded_date_granular_scope_search_test.rb} +5 -5
  72. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/metadata.yml +23 -20
  73. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/diagnostic_report/diagnostic_report_granular_scope_read_test.rb +32 -0
  74. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/diagnostic_report/{diagnostic_report_patient_category_date_granular_scope_test.rb → diagnostic_report_patient_category_date_granular_scope_search_test.rb} +5 -5
  75. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/diagnostic_report/{diagnostic_report_patient_category_granular_scope_test.rb → diagnostic_report_patient_category_granular_scope_search_test.rb} +5 -5
  76. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/diagnostic_report/{diagnostic_report_patient_code_date_granular_scope_test.rb → diagnostic_report_patient_code_date_granular_scope_search_test.rb} +5 -5
  77. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/diagnostic_report/{diagnostic_report_patient_code_granular_scope_test.rb → diagnostic_report_patient_code_granular_scope_search_test.rb} +5 -5
  78. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/diagnostic_report/{diagnostic_report_patient_granular_scope_test.rb → diagnostic_report_patient_granular_scope_search_test.rb} +5 -5
  79. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/diagnostic_report/{diagnostic_report_patient_status_granular_scope_test.rb → diagnostic_report_patient_status_granular_scope_search_test.rb} +5 -5
  80. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/diagnostic_report/metadata.yml +14 -12
  81. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/document_reference/document_reference_granular_scope_read_test.rb +32 -0
  82. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/document_reference/{document_reference_id_granular_scope_test.rb → document_reference_id_granular_scope_search_test.rb} +5 -5
  83. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/document_reference/{document_reference_patient_category_date_granular_scope_test.rb → document_reference_patient_category_date_granular_scope_search_test.rb} +5 -5
  84. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/document_reference/{document_reference_patient_category_granular_scope_test.rb → document_reference_patient_category_granular_scope_search_test.rb} +5 -5
  85. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/document_reference/{document_reference_patient_granular_scope_test.rb → document_reference_patient_granular_scope_search_test.rb} +5 -5
  86. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/document_reference/{document_reference_patient_status_granular_scope_test.rb → document_reference_patient_status_granular_scope_search_test.rb} +5 -5
  87. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/document_reference/{document_reference_patient_type_granular_scope_test.rb → document_reference_patient_type_granular_scope_search_test.rb} +5 -5
  88. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/document_reference/{document_reference_patient_type_period_granular_scope_test.rb → document_reference_patient_type_period_granular_scope_search_test.rb} +5 -5
  89. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/document_reference/metadata.yml +16 -14
  90. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/observation/metadata.yml +12 -10
  91. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/observation/observation_granular_scope_read_test.rb +32 -0
  92. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/observation/{observation_patient_category_date_granular_scope_test.rb → observation_patient_category_date_granular_scope_search_test.rb} +5 -5
  93. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/observation/{observation_patient_category_granular_scope_test.rb → observation_patient_category_granular_scope_search_test.rb} +5 -5
  94. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/observation/{observation_patient_category_status_granular_scope_test.rb → observation_patient_category_status_granular_scope_search_test.rb} +5 -5
  95. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/observation/{observation_patient_code_date_granular_scope_test.rb → observation_patient_code_date_granular_scope_search_test.rb} +5 -5
  96. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/observation/{observation_patient_code_granular_scope_test.rb → observation_patient_code_granular_scope_search_test.rb} +5 -5
  97. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/service_request/metadata.yml +16 -14
  98. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/service_request/service_request_granular_scope_read_test.rb +32 -0
  99. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/service_request/{service_request_id_granular_scope_test.rb → service_request_id_granular_scope_search_test.rb} +5 -5
  100. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/service_request/{service_request_patient_category_authored_granular_scope_test.rb → service_request_patient_category_authored_granular_scope_search_test.rb} +5 -5
  101. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/service_request/{service_request_patient_category_granular_scope_test.rb → service_request_patient_category_granular_scope_search_test.rb} +5 -5
  102. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/service_request/{service_request_patient_code_authored_granular_scope_test.rb → service_request_patient_code_authored_granular_scope_search_test.rb} +5 -5
  103. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/service_request/{service_request_patient_code_granular_scope_test.rb → service_request_patient_code_granular_scope_search_test.rb} +5 -5
  104. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/service_request/{service_request_patient_granular_scope_test.rb → service_request_patient_granular_scope_search_test.rb} +5 -5
  105. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/service_request/{service_request_patient_status_granular_scope_test.rb → service_request_patient_status_granular_scope_search_test.rb} +5 -5
  106. data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_request/metadata.yml +1 -0
  107. data/lib/us_core_test_kit/generated/v7.0.0-ballot/metadata.yml +90 -70
  108. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_granular_scope1_group.rb +12 -10
  109. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_granular_scope2_group.rb +12 -10
  110. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab/metadata.yml +12 -10
  111. data/lib/us_core_test_kit/generated/v7.0.0-ballot/patient/metadata.yml +5 -0
  112. data/lib/us_core_test_kit/generated/v7.0.0-ballot/questionnaire_response/metadata.yml +2 -0
  113. data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/metadata.yml +16 -14
  114. data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request_granular_scope1_group.rb +16 -14
  115. data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request_granular_scope2_group.rb +16 -14
  116. data/lib/us_core_test_kit/generated/v7.0.0-ballot/us_core_test_suite.rb +8 -5
  117. data/lib/us_core_test_kit/generator/granular_scope_group_generator.rb +7 -0
  118. data/lib/us_core_test_kit/generator/granular_scope_read_test_generator.rb +102 -0
  119. data/lib/us_core_test_kit/generator/granular_scope_resource_type_group_generator.rb +1 -1
  120. data/lib/us_core_test_kit/generator/granular_scope_test_generator.rb +4 -4
  121. data/lib/us_core_test_kit/generator/group_metadata.rb +1 -1
  122. data/lib/us_core_test_kit/generator/must_support_metadata_extractor.rb +1 -0
  123. data/lib/us_core_test_kit/generator/must_support_metadata_extractor_us_core_4.rb +3 -0
  124. data/lib/us_core_test_kit/generator/must_support_metadata_extractor_us_core_5.rb +1 -0
  125. data/lib/us_core_test_kit/generator/special_cases.rb +3 -5
  126. data/lib/us_core_test_kit/generator/suite_generator.rb +14 -3
  127. data/lib/us_core_test_kit/generator.rb +2 -0
  128. data/lib/us_core_test_kit/granular_scope.rb +63 -0
  129. data/lib/us_core_test_kit/granular_scope_read_test.rb +71 -0
  130. data/lib/us_core_test_kit/{granular_scope_checker.rb → granular_scope_search_test.rb} +8 -47
  131. data/lib/us_core_test_kit/must_support_test.rb +27 -7
  132. data/lib/us_core_test_kit/primitive_type.rb +5 -0
  133. data/lib/us_core_test_kit/provenance_validator.rb +3 -4
  134. data/lib/us_core_test_kit/reference_resolution_test.rb +2 -1
  135. data/lib/us_core_test_kit/resource_search_param_checker.rb +139 -0
  136. data/lib/us_core_test_kit/search_test.rb +6 -0
  137. data/lib/us_core_test_kit/version.rb +1 -1
  138. metadata +72 -59
  139. data/lib/us_core_test_kit/generated/v6.1.0/condition_granular_scope2_group.rb +0 -43
  140. data/lib/us_core_test_kit/generated/v6.1.0/granular_scopes2_group.rb +0 -52
  141. data/lib/us_core_test_kit/generated/v6.1.0/observation_granular_scope2_group.rb +0 -32
@@ -1,12 +1,12 @@
1
1
  require_relative '../../../../search_test'
2
2
  require_relative '../../../../generator/group_metadata'
3
- require_relative '../../../../granular_scope_checker'
3
+ require_relative '../../../../granular_scope_search_test'
4
4
 
5
5
  module USCoreTestKit
6
6
  module USCoreV700_BALLOT
7
- class ConditionPatientCategoryGranularScopeTest < Inferno::Test
7
+ class ConditionPatientCategoryGranularScopeSearchTest < Inferno::Test
8
8
  include USCoreTestKit::SearchTest
9
- include USCoreTestKit::GranularScopeChecker
9
+ include USCoreTestKit::GranularScopeSearchTest
10
10
 
11
11
  title 'Server filters results for Condition search by patient + category based on granular scopes'
12
12
  description %(
@@ -16,7 +16,7 @@ filtered based on the granted granular scopes.
16
16
 
17
17
  )
18
18
 
19
- id :us_core_v700_ballot_Condition_patient_category_granular_scope_test
19
+ id :us_core_v700_ballot_Condition_patient_category_granular_scope_search_test
20
20
 
21
21
  input :patient_ids,
22
22
  title: 'Patient IDs',
@@ -34,7 +34,7 @@ filtered based on the granted granular scopes.
34
34
  end
35
35
 
36
36
  run do
37
- run_scope_check_test
37
+ run_scope_search_test
38
38
  end
39
39
  end
40
40
  end
@@ -1,12 +1,12 @@
1
1
  require_relative '../../../../search_test'
2
2
  require_relative '../../../../generator/group_metadata'
3
- require_relative '../../../../granular_scope_checker'
3
+ require_relative '../../../../granular_scope_search_test'
4
4
 
5
5
  module USCoreTestKit
6
6
  module USCoreV700_BALLOT
7
- class ConditionPatientClinicalStatusGranularScopeTest < Inferno::Test
7
+ class ConditionPatientClinicalStatusGranularScopeSearchTest < Inferno::Test
8
8
  include USCoreTestKit::SearchTest
9
- include USCoreTestKit::GranularScopeChecker
9
+ include USCoreTestKit::GranularScopeSearchTest
10
10
 
11
11
  title 'Server filters results for Condition search by patient + clinical-status based on granular scopes'
12
12
  description %(
@@ -16,7 +16,7 @@ filtered based on the granted granular scopes.
16
16
 
17
17
  )
18
18
 
19
- id :us_core_v700_ballot_Condition_patient_clinical_status_granular_scope_test
19
+ id :us_core_v700_ballot_Condition_patient_clinical_status_granular_scope_search_test
20
20
 
21
21
  input :patient_ids,
22
22
  title: 'Patient IDs',
@@ -34,7 +34,7 @@ filtered based on the granted granular scopes.
34
34
  end
35
35
 
36
36
  run do
37
- run_scope_check_test
37
+ run_scope_search_test
38
38
  end
39
39
  end
40
40
  end
@@ -1,12 +1,12 @@
1
1
  require_relative '../../../../search_test'
2
2
  require_relative '../../../../generator/group_metadata'
3
- require_relative '../../../../granular_scope_checker'
3
+ require_relative '../../../../granular_scope_search_test'
4
4
 
5
5
  module USCoreTestKit
6
6
  module USCoreV700_BALLOT
7
- class ConditionPatientCodeGranularScopeTest < Inferno::Test
7
+ class ConditionPatientCodeGranularScopeSearchTest < Inferno::Test
8
8
  include USCoreTestKit::SearchTest
9
- include USCoreTestKit::GranularScopeChecker
9
+ include USCoreTestKit::GranularScopeSearchTest
10
10
 
11
11
  title 'Server filters results for Condition search by patient + code based on granular scopes'
12
12
  description %(
@@ -16,7 +16,7 @@ filtered based on the granted granular scopes.
16
16
 
17
17
  )
18
18
 
19
- id :us_core_v700_ballot_Condition_patient_code_granular_scope_test
19
+ id :us_core_v700_ballot_Condition_patient_code_granular_scope_search_test
20
20
 
21
21
  input :patient_ids,
22
22
  title: 'Patient IDs',
@@ -34,7 +34,7 @@ filtered based on the granted granular scopes.
34
34
  end
35
35
 
36
36
  run do
37
- run_scope_check_test
37
+ run_scope_search_test
38
38
  end
39
39
  end
40
40
  end
@@ -1,12 +1,12 @@
1
1
  require_relative '../../../../search_test'
2
2
  require_relative '../../../../generator/group_metadata'
3
- require_relative '../../../../granular_scope_checker'
3
+ require_relative '../../../../granular_scope_search_test'
4
4
 
5
5
  module USCoreTestKit
6
6
  module USCoreV700_BALLOT
7
- class ConditionPatientGranularScopeTest < Inferno::Test
7
+ class ConditionPatientGranularScopeSearchTest < Inferno::Test
8
8
  include USCoreTestKit::SearchTest
9
- include USCoreTestKit::GranularScopeChecker
9
+ include USCoreTestKit::GranularScopeSearchTest
10
10
 
11
11
  title 'Server filters results for Condition search by patient based on granular scopes'
12
12
  description %(
@@ -16,7 +16,7 @@ filtered based on the granted granular scopes.
16
16
 
17
17
  )
18
18
 
19
- id :us_core_v700_ballot_Condition_patient_granular_scope_test
19
+ id :us_core_v700_ballot_Condition_patient_granular_scope_search_test
20
20
 
21
21
  input :patient_ids,
22
22
  title: 'Patient IDs',
@@ -34,7 +34,7 @@ filtered based on the granted granular scopes.
34
34
  end
35
35
 
36
36
  run do
37
- run_scope_check_test
37
+ run_scope_search_test
38
38
  end
39
39
  end
40
40
  end
@@ -1,12 +1,12 @@
1
1
  require_relative '../../../../search_test'
2
2
  require_relative '../../../../generator/group_metadata'
3
- require_relative '../../../../granular_scope_checker'
3
+ require_relative '../../../../granular_scope_search_test'
4
4
 
5
5
  module USCoreTestKit
6
6
  module USCoreV700_BALLOT
7
- class ConditionPatientOnsetDateGranularScopeTest < Inferno::Test
7
+ class ConditionPatientOnsetDateGranularScopeSearchTest < Inferno::Test
8
8
  include USCoreTestKit::SearchTest
9
- include USCoreTestKit::GranularScopeChecker
9
+ include USCoreTestKit::GranularScopeSearchTest
10
10
 
11
11
  title 'Server filters results for Condition search by patient + onset-date based on granular scopes'
12
12
  description %(
@@ -16,7 +16,7 @@ filtered based on the granted granular scopes.
16
16
 
17
17
  )
18
18
 
19
- id :us_core_v700_ballot_Condition_patient_onset_date_granular_scope_test
19
+ id :us_core_v700_ballot_Condition_patient_onset_date_granular_scope_search_test
20
20
 
21
21
  input :patient_ids,
22
22
  title: 'Patient IDs',
@@ -34,7 +34,7 @@ filtered based on the granted granular scopes.
34
34
  end
35
35
 
36
36
  run do
37
- run_scope_check_test
37
+ run_scope_search_test
38
38
  end
39
39
  end
40
40
  end
@@ -1,12 +1,12 @@
1
1
  require_relative '../../../../search_test'
2
2
  require_relative '../../../../generator/group_metadata'
3
- require_relative '../../../../granular_scope_checker'
3
+ require_relative '../../../../granular_scope_search_test'
4
4
 
5
5
  module USCoreTestKit
6
6
  module USCoreV700_BALLOT
7
- class ConditionPatientRecordedDateGranularScopeTest < Inferno::Test
7
+ class ConditionPatientRecordedDateGranularScopeSearchTest < Inferno::Test
8
8
  include USCoreTestKit::SearchTest
9
- include USCoreTestKit::GranularScopeChecker
9
+ include USCoreTestKit::GranularScopeSearchTest
10
10
 
11
11
  title 'Server filters results for Condition search by patient + recorded-date based on granular scopes'
12
12
  description %(
@@ -16,7 +16,7 @@ filtered based on the granted granular scopes.
16
16
 
17
17
  )
18
18
 
19
- id :us_core_v700_ballot_Condition_patient_recorded_date_granular_scope_test
19
+ id :us_core_v700_ballot_Condition_patient_recorded_date_granular_scope_search_test
20
20
 
21
21
  input :patient_ids,
22
22
  title: 'Patient IDs',
@@ -34,7 +34,7 @@ filtered based on the granted granular scopes.
34
34
  end
35
35
 
36
36
  run do
37
- run_scope_check_test
37
+ run_scope_search_test
38
38
  end
39
39
  end
40
40
  end
@@ -242,6 +242,7 @@
242
242
  :must_supports:
243
243
  :extensions:
244
244
  - :id: Condition.extension:assertedDate
245
+ :path: extension
245
246
  :url: http://hl7.org/fhir/StructureDefinition/condition-assertedDate
246
247
  :slices:
247
248
  - :slice_id: Condition.category:us-core
@@ -350,26 +351,28 @@
350
351
  - :id: us_core_v700_ballot_condition_encounter_diagnosis_reference_resolution_test
351
352
  :file_name: condition_encounter_diagnosis_reference_resolution_test.rb
352
353
  :granular_scope_tests:
353
- - :id: us_core_v700_ballot_Condition_patient_category_granular_scope_test
354
- :file_name: condition_patient_category_granular_scope_test.rb
355
- - :id: us_core_v700_ballot_Condition_patient_granular_scope_test
356
- :file_name: condition_patient_granular_scope_test.rb
357
- - :id: us_core_v700_ballot_Condition_patient_asserted_date_granular_scope_test
358
- :file_name: condition_patient_asserted_date_granular_scope_test.rb
359
- - :id: us_core_v700_ballot_Condition_patient_onset_date_granular_scope_test
360
- :file_name: condition_patient_onset_date_granular_scope_test.rb
361
- - :id: us_core_v700_ballot_Condition_patient_code_granular_scope_test
362
- :file_name: condition_patient_code_granular_scope_test.rb
363
- - :id: us_core_v700_ballot_Condition_patient_recorded_date_granular_scope_test
364
- :file_name: condition_patient_recorded_date_granular_scope_test.rb
365
- - :id: us_core_v700_ballot_Condition_patient_abatement_date_granular_scope_test
366
- :file_name: condition_patient_abatement_date_granular_scope_test.rb
367
- - :id: us_core_v700_ballot_Condition_patient_category_clinical_status_granular_scope_test
368
- :file_name: condition_patient_category_clinical_status_granular_scope_test.rb
369
- - :id: us_core_v700_ballot_Condition_patient_category_encounter_granular_scope_test
370
- :file_name: condition_patient_category_encounter_granular_scope_test.rb
371
- - :id: us_core_v700_ballot_Condition_patient_clinical_status_granular_scope_test
372
- :file_name: condition_patient_clinical_status_granular_scope_test.rb
354
+ - :id: us_core_v700_ballot_Condition_patient_category_granular_scope_search_test
355
+ :file_name: condition_patient_category_granular_scope_search_test.rb
356
+ - :id: us_core_v700_ballot_Condition_patient_granular_scope_search_test
357
+ :file_name: condition_patient_granular_scope_search_test.rb
358
+ - :id: us_core_v700_ballot_Condition_patient_asserted_date_granular_scope_search_test
359
+ :file_name: condition_patient_asserted_date_granular_scope_search_test.rb
360
+ - :id: us_core_v700_ballot_Condition_patient_onset_date_granular_scope_search_test
361
+ :file_name: condition_patient_onset_date_granular_scope_search_test.rb
362
+ - :id: us_core_v700_ballot_Condition_patient_code_granular_scope_search_test
363
+ :file_name: condition_patient_code_granular_scope_search_test.rb
364
+ - :id: us_core_v700_ballot_Condition_patient_recorded_date_granular_scope_search_test
365
+ :file_name: condition_patient_recorded_date_granular_scope_search_test.rb
366
+ - :id: us_core_v700_ballot_Condition_patient_abatement_date_granular_scope_search_test
367
+ :file_name: condition_patient_abatement_date_granular_scope_search_test.rb
368
+ - :id: us_core_v700_ballot_Condition_patient_category_clinical_status_granular_scope_search_test
369
+ :file_name: condition_patient_category_clinical_status_granular_scope_search_test.rb
370
+ - :id: us_core_v700_ballot_Condition_patient_category_encounter_granular_scope_search_test
371
+ :file_name: condition_patient_category_encounter_granular_scope_search_test.rb
372
+ - :id: us_core_v700_ballot_Condition_patient_clinical_status_granular_scope_search_test
373
+ :file_name: condition_patient_clinical_status_granular_scope_search_test.rb
374
+ - :id: us_core_v700_ballot_Condition_granular_scope_read_test
375
+ :file_name: condition_granular_scope_read_test.rb
373
376
  :id: us_core_v700_ballot_condition_granular_scope_2_group
374
377
  :file_name: condition_granular_scope2_group.rb
375
378
  :delayed_references: []
@@ -0,0 +1,32 @@
1
+ require_relative '../../../../generator/group_metadata'
2
+ require_relative '../../../../granular_scope_read_test'
3
+
4
+ module USCoreTestKit
5
+ module USCoreV700_BALLOT
6
+ class DiagnosticReportGranularScopeReadTest < Inferno::Test
7
+ include USCoreTestKit::GranularScopeReadTest
8
+
9
+ title 'Server filters results for DiagnosticReport reads based on granular scopes'
10
+ description %(
11
+ This test attempts DiagnosticReport reads
12
+ and verifies that the results have been
13
+ filtered based on the granted granular scopes.
14
+
15
+ )
16
+
17
+ id :us_core_v700_ballot_DiagnosticReport_granular_scope_read_test
18
+
19
+ def resource_type
20
+ 'DiagnosticReport'
21
+ end
22
+
23
+ def self.metadata
24
+ @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
25
+ end
26
+
27
+ run do
28
+ run_scope_read_test
29
+ end
30
+ end
31
+ end
32
+ end
@@ -1,12 +1,12 @@
1
1
  require_relative '../../../../search_test'
2
2
  require_relative '../../../../generator/group_metadata'
3
- require_relative '../../../../granular_scope_checker'
3
+ require_relative '../../../../granular_scope_search_test'
4
4
 
5
5
  module USCoreTestKit
6
6
  module USCoreV700_BALLOT
7
- class DiagnosticReportPatientCategoryDateGranularScopeTest < Inferno::Test
7
+ class DiagnosticReportPatientCategoryDateGranularScopeSearchTest < Inferno::Test
8
8
  include USCoreTestKit::SearchTest
9
- include USCoreTestKit::GranularScopeChecker
9
+ include USCoreTestKit::GranularScopeSearchTest
10
10
 
11
11
  title 'Server filters results for DiagnosticReport search by patient + category + date based on granular scopes'
12
12
  description %(
@@ -16,7 +16,7 @@ filtered based on the granted granular scopes.
16
16
 
17
17
  )
18
18
 
19
- id :us_core_v700_ballot_DiagnosticReport_patient_category_date_granular_scope_test
19
+ id :us_core_v700_ballot_DiagnosticReport_patient_category_date_granular_scope_search_test
20
20
 
21
21
  input :patient_ids,
22
22
  title: 'Patient IDs',
@@ -34,7 +34,7 @@ filtered based on the granted granular scopes.
34
34
  end
35
35
 
36
36
  run do
37
- run_scope_check_test
37
+ run_scope_search_test
38
38
  end
39
39
  end
40
40
  end
@@ -1,12 +1,12 @@
1
1
  require_relative '../../../../search_test'
2
2
  require_relative '../../../../generator/group_metadata'
3
- require_relative '../../../../granular_scope_checker'
3
+ require_relative '../../../../granular_scope_search_test'
4
4
 
5
5
  module USCoreTestKit
6
6
  module USCoreV700_BALLOT
7
- class DiagnosticReportPatientCategoryGranularScopeTest < Inferno::Test
7
+ class DiagnosticReportPatientCategoryGranularScopeSearchTest < Inferno::Test
8
8
  include USCoreTestKit::SearchTest
9
- include USCoreTestKit::GranularScopeChecker
9
+ include USCoreTestKit::GranularScopeSearchTest
10
10
 
11
11
  title 'Server filters results for DiagnosticReport search by patient + category based on granular scopes'
12
12
  description %(
@@ -16,7 +16,7 @@ filtered based on the granted granular scopes.
16
16
 
17
17
  )
18
18
 
19
- id :us_core_v700_ballot_DiagnosticReport_patient_category_granular_scope_test
19
+ id :us_core_v700_ballot_DiagnosticReport_patient_category_granular_scope_search_test
20
20
 
21
21
  input :patient_ids,
22
22
  title: 'Patient IDs',
@@ -34,7 +34,7 @@ filtered based on the granted granular scopes.
34
34
  end
35
35
 
36
36
  run do
37
- run_scope_check_test
37
+ run_scope_search_test
38
38
  end
39
39
  end
40
40
  end
@@ -1,12 +1,12 @@
1
1
  require_relative '../../../../search_test'
2
2
  require_relative '../../../../generator/group_metadata'
3
- require_relative '../../../../granular_scope_checker'
3
+ require_relative '../../../../granular_scope_search_test'
4
4
 
5
5
  module USCoreTestKit
6
6
  module USCoreV700_BALLOT
7
- class DiagnosticReportPatientCodeDateGranularScopeTest < Inferno::Test
7
+ class DiagnosticReportPatientCodeDateGranularScopeSearchTest < Inferno::Test
8
8
  include USCoreTestKit::SearchTest
9
- include USCoreTestKit::GranularScopeChecker
9
+ include USCoreTestKit::GranularScopeSearchTest
10
10
 
11
11
  title 'Server filters results for DiagnosticReport search by patient + code + date based on granular scopes'
12
12
  description %(
@@ -16,7 +16,7 @@ filtered based on the granted granular scopes.
16
16
 
17
17
  )
18
18
 
19
- id :us_core_v700_ballot_DiagnosticReport_patient_code_date_granular_scope_test
19
+ id :us_core_v700_ballot_DiagnosticReport_patient_code_date_granular_scope_search_test
20
20
 
21
21
  input :patient_ids,
22
22
  title: 'Patient IDs',
@@ -34,7 +34,7 @@ filtered based on the granted granular scopes.
34
34
  end
35
35
 
36
36
  run do
37
- run_scope_check_test
37
+ run_scope_search_test
38
38
  end
39
39
  end
40
40
  end
@@ -1,12 +1,12 @@
1
1
  require_relative '../../../../search_test'
2
2
  require_relative '../../../../generator/group_metadata'
3
- require_relative '../../../../granular_scope_checker'
3
+ require_relative '../../../../granular_scope_search_test'
4
4
 
5
5
  module USCoreTestKit
6
6
  module USCoreV700_BALLOT
7
- class DiagnosticReportPatientCodeGranularScopeTest < Inferno::Test
7
+ class DiagnosticReportPatientCodeGranularScopeSearchTest < Inferno::Test
8
8
  include USCoreTestKit::SearchTest
9
- include USCoreTestKit::GranularScopeChecker
9
+ include USCoreTestKit::GranularScopeSearchTest
10
10
 
11
11
  title 'Server filters results for DiagnosticReport search by patient + code based on granular scopes'
12
12
  description %(
@@ -16,7 +16,7 @@ filtered based on the granted granular scopes.
16
16
 
17
17
  )
18
18
 
19
- id :us_core_v700_ballot_DiagnosticReport_patient_code_granular_scope_test
19
+ id :us_core_v700_ballot_DiagnosticReport_patient_code_granular_scope_search_test
20
20
 
21
21
  input :patient_ids,
22
22
  title: 'Patient IDs',
@@ -34,7 +34,7 @@ filtered based on the granted granular scopes.
34
34
  end
35
35
 
36
36
  run do
37
- run_scope_check_test
37
+ run_scope_search_test
38
38
  end
39
39
  end
40
40
  end
@@ -1,12 +1,12 @@
1
1
  require_relative '../../../../search_test'
2
2
  require_relative '../../../../generator/group_metadata'
3
- require_relative '../../../../granular_scope_checker'
3
+ require_relative '../../../../granular_scope_search_test'
4
4
 
5
5
  module USCoreTestKit
6
6
  module USCoreV700_BALLOT
7
- class DiagnosticReportPatientGranularScopeTest < Inferno::Test
7
+ class DiagnosticReportPatientGranularScopeSearchTest < Inferno::Test
8
8
  include USCoreTestKit::SearchTest
9
- include USCoreTestKit::GranularScopeChecker
9
+ include USCoreTestKit::GranularScopeSearchTest
10
10
 
11
11
  title 'Server filters results for DiagnosticReport search by patient based on granular scopes'
12
12
  description %(
@@ -16,7 +16,7 @@ filtered based on the granted granular scopes.
16
16
 
17
17
  )
18
18
 
19
- id :us_core_v700_ballot_DiagnosticReport_patient_granular_scope_test
19
+ id :us_core_v700_ballot_DiagnosticReport_patient_granular_scope_search_test
20
20
 
21
21
  input :patient_ids,
22
22
  title: 'Patient IDs',
@@ -34,7 +34,7 @@ filtered based on the granted granular scopes.
34
34
  end
35
35
 
36
36
  run do
37
- run_scope_check_test
37
+ run_scope_search_test
38
38
  end
39
39
  end
40
40
  end
@@ -1,12 +1,12 @@
1
1
  require_relative '../../../../search_test'
2
2
  require_relative '../../../../generator/group_metadata'
3
- require_relative '../../../../granular_scope_checker'
3
+ require_relative '../../../../granular_scope_search_test'
4
4
 
5
5
  module USCoreTestKit
6
6
  module USCoreV700_BALLOT
7
- class DiagnosticReportPatientStatusGranularScopeTest < Inferno::Test
7
+ class DiagnosticReportPatientStatusGranularScopeSearchTest < Inferno::Test
8
8
  include USCoreTestKit::SearchTest
9
- include USCoreTestKit::GranularScopeChecker
9
+ include USCoreTestKit::GranularScopeSearchTest
10
10
 
11
11
  title 'Server filters results for DiagnosticReport search by patient + status based on granular scopes'
12
12
  description %(
@@ -16,7 +16,7 @@ filtered based on the granted granular scopes.
16
16
 
17
17
  )
18
18
 
19
- id :us_core_v700_ballot_DiagnosticReport_patient_status_granular_scope_test
19
+ id :us_core_v700_ballot_DiagnosticReport_patient_status_granular_scope_search_test
20
20
 
21
21
  input :patient_ids,
22
22
  title: 'Patient IDs',
@@ -34,7 +34,7 @@ filtered based on the granted granular scopes.
34
34
  end
35
35
 
36
36
  run do
37
- run_scope_check_test
37
+ run_scope_search_test
38
38
  end
39
39
  end
40
40
  end
@@ -272,18 +272,20 @@
272
272
  - :id: us_core_v700_ballot_diagnostic_report_note_reference_resolution_test
273
273
  :file_name: diagnostic_report_note_reference_resolution_test.rb
274
274
  :granular_scope_tests:
275
- - :id: us_core_v700_ballot_DiagnosticReport_patient_category_granular_scope_test
276
- :file_name: diagnostic_report_patient_category_granular_scope_test.rb
277
- - :id: us_core_v700_ballot_DiagnosticReport_patient_granular_scope_test
278
- :file_name: diagnostic_report_patient_granular_scope_test.rb
279
- - :id: us_core_v700_ballot_DiagnosticReport_patient_category_date_granular_scope_test
280
- :file_name: diagnostic_report_patient_category_date_granular_scope_test.rb
281
- - :id: us_core_v700_ballot_DiagnosticReport_patient_code_granular_scope_test
282
- :file_name: diagnostic_report_patient_code_granular_scope_test.rb
283
- - :id: us_core_v700_ballot_DiagnosticReport_patient_status_granular_scope_test
284
- :file_name: diagnostic_report_patient_status_granular_scope_test.rb
285
- - :id: us_core_v700_ballot_DiagnosticReport_patient_code_date_granular_scope_test
286
- :file_name: diagnostic_report_patient_code_date_granular_scope_test.rb
275
+ - :id: us_core_v700_ballot_DiagnosticReport_patient_category_granular_scope_search_test
276
+ :file_name: diagnostic_report_patient_category_granular_scope_search_test.rb
277
+ - :id: us_core_v700_ballot_DiagnosticReport_patient_granular_scope_search_test
278
+ :file_name: diagnostic_report_patient_granular_scope_search_test.rb
279
+ - :id: us_core_v700_ballot_DiagnosticReport_patient_category_date_granular_scope_search_test
280
+ :file_name: diagnostic_report_patient_category_date_granular_scope_search_test.rb
281
+ - :id: us_core_v700_ballot_DiagnosticReport_patient_code_granular_scope_search_test
282
+ :file_name: diagnostic_report_patient_code_granular_scope_search_test.rb
283
+ - :id: us_core_v700_ballot_DiagnosticReport_patient_status_granular_scope_search_test
284
+ :file_name: diagnostic_report_patient_status_granular_scope_search_test.rb
285
+ - :id: us_core_v700_ballot_DiagnosticReport_patient_code_date_granular_scope_search_test
286
+ :file_name: diagnostic_report_patient_code_date_granular_scope_search_test.rb
287
+ - :id: us_core_v700_ballot_DiagnosticReport_granular_scope_read_test
288
+ :file_name: diagnostic_report_granular_scope_read_test.rb
287
289
  :id: us_core_v700_ballot_diagnostic_report_granular_scope_2_group
288
290
  :file_name: diagnostic_report_granular_scope2_group.rb
289
291
  :delayed_references:
@@ -0,0 +1,32 @@
1
+ require_relative '../../../../generator/group_metadata'
2
+ require_relative '../../../../granular_scope_read_test'
3
+
4
+ module USCoreTestKit
5
+ module USCoreV700_BALLOT
6
+ class DocumentReferenceGranularScopeReadTest < Inferno::Test
7
+ include USCoreTestKit::GranularScopeReadTest
8
+
9
+ title 'Server filters results for DocumentReference reads based on granular scopes'
10
+ description %(
11
+ This test attempts DocumentReference reads
12
+ and verifies that the results have been
13
+ filtered based on the granted granular scopes.
14
+
15
+ )
16
+
17
+ id :us_core_v700_ballot_DocumentReference_granular_scope_read_test
18
+
19
+ def resource_type
20
+ 'DocumentReference'
21
+ end
22
+
23
+ def self.metadata
24
+ @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
25
+ end
26
+
27
+ run do
28
+ run_scope_read_test
29
+ end
30
+ end
31
+ end
32
+ end
@@ -1,12 +1,12 @@
1
1
  require_relative '../../../../search_test'
2
2
  require_relative '../../../../generator/group_metadata'
3
- require_relative '../../../../granular_scope_checker'
3
+ require_relative '../../../../granular_scope_search_test'
4
4
 
5
5
  module USCoreTestKit
6
6
  module USCoreV700_BALLOT
7
- class DocumentReferenceIdGranularScopeTest < Inferno::Test
7
+ class DocumentReferenceIdGranularScopeSearchTest < Inferno::Test
8
8
  include USCoreTestKit::SearchTest
9
- include USCoreTestKit::GranularScopeChecker
9
+ include USCoreTestKit::GranularScopeSearchTest
10
10
 
11
11
  title 'Server filters results for DocumentReference search by _id based on granular scopes'
12
12
  description %(
@@ -16,7 +16,7 @@ filtered based on the granted granular scopes.
16
16
 
17
17
  )
18
18
 
19
- id :us_core_v700_ballot_DocumentReference__id_granular_scope_test
19
+ id :us_core_v700_ballot_DocumentReference__id_granular_scope_search_test
20
20
 
21
21
  def self.properties
22
22
  @properties ||= SearchTestProperties.new(
@@ -30,7 +30,7 @@ filtered based on the granted granular scopes.
30
30
  end
31
31
 
32
32
  run do
33
- run_scope_check_test
33
+ run_scope_search_test
34
34
  end
35
35
  end
36
36
  end
@@ -1,12 +1,12 @@
1
1
  require_relative '../../../../search_test'
2
2
  require_relative '../../../../generator/group_metadata'
3
- require_relative '../../../../granular_scope_checker'
3
+ require_relative '../../../../granular_scope_search_test'
4
4
 
5
5
  module USCoreTestKit
6
6
  module USCoreV700_BALLOT
7
- class DocumentReferencePatientCategoryDateGranularScopeTest < Inferno::Test
7
+ class DocumentReferencePatientCategoryDateGranularScopeSearchTest < Inferno::Test
8
8
  include USCoreTestKit::SearchTest
9
- include USCoreTestKit::GranularScopeChecker
9
+ include USCoreTestKit::GranularScopeSearchTest
10
10
 
11
11
  title 'Server filters results for DocumentReference search by patient + category + date based on granular scopes'
12
12
  description %(
@@ -16,7 +16,7 @@ filtered based on the granted granular scopes.
16
16
 
17
17
  )
18
18
 
19
- id :us_core_v700_ballot_DocumentReference_patient_category_date_granular_scope_test
19
+ id :us_core_v700_ballot_DocumentReference_patient_category_date_granular_scope_search_test
20
20
 
21
21
  input :patient_ids,
22
22
  title: 'Patient IDs',
@@ -34,7 +34,7 @@ filtered based on the granted granular scopes.
34
34
  end
35
35
 
36
36
  run do
37
- run_scope_check_test
37
+ run_scope_search_test
38
38
  end
39
39
  end
40
40
  end