us_core_test_kit 0.7.0 → 0.7.2
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.
- checksums.yaml +4 -4
- data/lib/us_core_test_kit/custom_groups/base_smart_granular_scopes_group.rb +2 -1
- data/lib/us_core_test_kit/custom_groups/capability_statement/instantiate_test.rb +6 -2
- data/lib/us_core_test_kit/custom_groups/capability_statement/profile_support_test.rb +10 -7
- data/lib/us_core_test_kit/custom_groups/screening_assessment_category_test.rb +75 -0
- data/lib/us_core_test_kit/custom_groups/smart_scopes_constants.rb +6 -4
- data/lib/us_core_test_kit/custom_groups/v6.1.0/screening_assessment_group.rb +45 -0
- data/lib/us_core_test_kit/custom_groups/v6.1.0/smart_granular_scopes_group.rb +46 -93
- data/lib/us_core_test_kit/custom_groups/v7.0.0-ballot/screening_assessment_group.rb +48 -0
- data/lib/us_core_test_kit/fhir_resource_navigation.rb +11 -6
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/metadata.yml +22 -20
- data/lib/us_core_test_kit/generated/v6.1.0/condition_granular_scope1_group.rb +22 -21
- data/lib/us_core_test_kit/generated/v6.1.0/condition_granular_scope2_group.rb +44 -0
- data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_granular_scope_read_test.rb +32 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/metadata.yml +24 -22
- data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/observation/metadata.yml +14 -12
- data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/observation/observation_granular_scope_read_test.rb +32 -0
- 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
- 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
- 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
- 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
- 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
- data/lib/us_core_test_kit/generated/v6.1.0/granular_scopes1_group.rb +0 -4
- data/lib/us_core_test_kit/generated/v6.1.0/granular_scopes2_group.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.1.0/metadata.yml +40 -30
- data/lib/us_core_test_kit/generated/v6.1.0/observation_granular_scope1_group.rb +12 -13
- data/lib/us_core_test_kit/generated/v6.1.0/observation_granular_scope2_group.rb +36 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_lab/metadata.yml +12 -10
- data/lib/us_core_test_kit/generated/v6.1.0/us_core_test_suite.rb +3 -1
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/metadata.yml +22 -20
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_granular_scope1_group.rb +22 -20
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_granular_scope2_group.rb +22 -20
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_granular_scope1_group.rb +14 -12
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_granular_scope2_group.rb +14 -12
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/metadata.yml +14 -12
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/metadata.yml +16 -14
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference_granular_scope1_group.rb +16 -14
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/condition_granular_scope_read_test.rb +32 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/metadata.yml +22 -20
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/diagnostic_report/metadata.yml +14 -12
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/document_reference/metadata.yml +16 -14
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/observation/metadata.yml +12 -10
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/observation/observation_granular_scope_read_test.rb +32 -0
- 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
- 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
- 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
- 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
- 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
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/service_request/metadata.yml +16 -14
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/metadata.yml +80 -70
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_granular_scope1_group.rb +12 -10
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_granular_scope2_group.rb +12 -10
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab/metadata.yml +12 -10
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/metadata.yml +16 -14
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request_granular_scope1_group.rb +16 -14
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request_granular_scope2_group.rb +16 -14
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/us_core_test_suite.rb +3 -1
- data/lib/us_core_test_kit/generator/granular_scope_group_generator.rb +0 -7
- data/lib/us_core_test_kit/generator/granular_scope_read_test_generator.rb +102 -0
- data/lib/us_core_test_kit/generator/granular_scope_resource_type_group_generator.rb +1 -1
- data/lib/us_core_test_kit/generator/granular_scope_test_generator.rb +4 -4
- data/lib/us_core_test_kit/generator/suite_generator.rb +9 -1
- data/lib/us_core_test_kit/generator.rb +2 -0
- data/lib/us_core_test_kit/granular_scope.rb +63 -0
- data/lib/us_core_test_kit/granular_scope_read_test.rb +71 -0
- data/lib/us_core_test_kit/{granular_scope_checker.rb → granular_scope_search_test.rb} +8 -47
- data/lib/us_core_test_kit/must_support_test.rb +3 -2
- data/lib/us_core_test_kit/primitive_type.rb +5 -0
- data/lib/us_core_test_kit/provenance_validator.rb +3 -4
- data/lib/us_core_test_kit/resource_search_param_checker.rb +139 -0
- data/lib/us_core_test_kit/search_test.rb +6 -2
- data/lib/us_core_test_kit/version.rb +1 -1
- metadata +73 -55
|
@@ -314,20 +314,22 @@
|
|
|
314
314
|
- :id: us_core_v400_document_reference_custodian_test
|
|
315
315
|
:file_name: "../../custom_groups/v4.0.0/document_reference_custodian_test.rb"
|
|
316
316
|
:granular_scope_tests:
|
|
317
|
-
- :id:
|
|
318
|
-
:file_name:
|
|
319
|
-
- :id:
|
|
320
|
-
:file_name:
|
|
321
|
-
- :id:
|
|
322
|
-
:file_name:
|
|
323
|
-
- :id:
|
|
324
|
-
:file_name:
|
|
325
|
-
- :id:
|
|
326
|
-
:file_name:
|
|
327
|
-
- :id:
|
|
328
|
-
:file_name:
|
|
329
|
-
- :id:
|
|
330
|
-
:file_name:
|
|
317
|
+
- :id: us_core_v700_ballot_DocumentReference_patient_granular_scope_search_test
|
|
318
|
+
:file_name: document_reference_patient_granular_scope_search_test.rb
|
|
319
|
+
- :id: us_core_v700_ballot_DocumentReference__id_granular_scope_search_test
|
|
320
|
+
:file_name: document_reference_id_granular_scope_search_test.rb
|
|
321
|
+
- :id: us_core_v700_ballot_DocumentReference_patient_category_granular_scope_search_test
|
|
322
|
+
:file_name: document_reference_patient_category_granular_scope_search_test.rb
|
|
323
|
+
- :id: us_core_v700_ballot_DocumentReference_patient_category_date_granular_scope_search_test
|
|
324
|
+
:file_name: document_reference_patient_category_date_granular_scope_search_test.rb
|
|
325
|
+
- :id: us_core_v700_ballot_DocumentReference_patient_type_period_granular_scope_search_test
|
|
326
|
+
:file_name: document_reference_patient_type_period_granular_scope_search_test.rb
|
|
327
|
+
- :id: us_core_v700_ballot_DocumentReference_patient_type_granular_scope_search_test
|
|
328
|
+
:file_name: document_reference_patient_type_granular_scope_search_test.rb
|
|
329
|
+
- :id: us_core_v700_ballot_DocumentReference_patient_status_granular_scope_search_test
|
|
330
|
+
:file_name: document_reference_patient_status_granular_scope_search_test.rb
|
|
331
|
+
- :id: us_core_v700_ballot_DocumentReference_granular_scope_read_test
|
|
332
|
+
:file_name: document_reference_granular_scope_read_test.rb
|
|
331
333
|
:id: us_core_v700_ballot_document_reference
|
|
332
334
|
:file_name: document_reference_group.rb
|
|
333
335
|
:delayed_references:
|
data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference_granular_scope1_group.rb
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
require_relative './granular_scope_tests/document_reference/
|
|
2
|
-
require_relative './granular_scope_tests/document_reference/
|
|
3
|
-
require_relative './granular_scope_tests/document_reference/
|
|
4
|
-
require_relative './granular_scope_tests/document_reference/
|
|
5
|
-
require_relative './granular_scope_tests/document_reference/
|
|
6
|
-
require_relative './granular_scope_tests/document_reference/
|
|
7
|
-
require_relative './granular_scope_tests/document_reference/
|
|
1
|
+
require_relative './granular_scope_tests/document_reference/document_reference_patient_granular_scope_search_test'
|
|
2
|
+
require_relative './granular_scope_tests/document_reference/document_reference_id_granular_scope_search_test'
|
|
3
|
+
require_relative './granular_scope_tests/document_reference/document_reference_patient_category_granular_scope_search_test'
|
|
4
|
+
require_relative './granular_scope_tests/document_reference/document_reference_patient_category_date_granular_scope_search_test'
|
|
5
|
+
require_relative './granular_scope_tests/document_reference/document_reference_patient_type_period_granular_scope_search_test'
|
|
6
|
+
require_relative './granular_scope_tests/document_reference/document_reference_patient_type_granular_scope_search_test'
|
|
7
|
+
require_relative './granular_scope_tests/document_reference/document_reference_patient_status_granular_scope_search_test'
|
|
8
|
+
require_relative './granular_scope_tests/document_reference/document_reference_granular_scope_read_test'
|
|
8
9
|
|
|
9
10
|
module USCoreTestKit
|
|
10
11
|
module USCoreV700_BALLOT
|
|
@@ -24,13 +25,14 @@ based on the following granular scopes:
|
|
|
24
25
|
run_as_group
|
|
25
26
|
|
|
26
27
|
|
|
27
|
-
test from: :
|
|
28
|
-
test from: :
|
|
29
|
-
test from: :
|
|
30
|
-
test from: :
|
|
31
|
-
test from: :
|
|
32
|
-
test from: :
|
|
33
|
-
test from: :
|
|
28
|
+
test from: :us_core_v700_ballot_DocumentReference_patient_granular_scope_search_test
|
|
29
|
+
test from: :us_core_v700_ballot_DocumentReference__id_granular_scope_search_test
|
|
30
|
+
test from: :us_core_v700_ballot_DocumentReference_patient_category_granular_scope_search_test
|
|
31
|
+
test from: :us_core_v700_ballot_DocumentReference_patient_category_date_granular_scope_search_test
|
|
32
|
+
test from: :us_core_v700_ballot_DocumentReference_patient_type_period_granular_scope_search_test
|
|
33
|
+
test from: :us_core_v700_ballot_DocumentReference_patient_type_granular_scope_search_test
|
|
34
|
+
test from: :us_core_v700_ballot_DocumentReference_patient_status_granular_scope_search_test
|
|
35
|
+
test from: :us_core_v700_ballot_DocumentReference_granular_scope_read_test
|
|
34
36
|
end
|
|
35
37
|
end
|
|
36
38
|
end
|
|
@@ -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 ConditionGranularScopeReadTest < Inferno::Test
|
|
7
|
+
include USCoreTestKit::GranularScopeReadTest
|
|
8
|
+
|
|
9
|
+
title 'Server filters results for Condition reads based on granular scopes'
|
|
10
|
+
description %(
|
|
11
|
+
This test attempts Condition 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_Condition_granular_scope_read_test
|
|
18
|
+
|
|
19
|
+
def resource_type
|
|
20
|
+
'Condition'
|
|
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 '../../../../
|
|
3
|
+
require_relative '../../../../granular_scope_search_test'
|
|
4
4
|
|
|
5
5
|
module USCoreTestKit
|
|
6
6
|
module USCoreV700_BALLOT
|
|
7
|
-
class
|
|
7
|
+
class ConditionPatientAbatementDateGranularScopeSearchTest < Inferno::Test
|
|
8
8
|
include USCoreTestKit::SearchTest
|
|
9
|
-
include USCoreTestKit::
|
|
9
|
+
include USCoreTestKit::GranularScopeSearchTest
|
|
10
10
|
|
|
11
11
|
title 'Server filters results for Condition search by patient + abatement-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 :
|
|
19
|
+
id :us_core_v700_ballot_Condition_patient_abatement_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
|
-
|
|
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 '../../../../
|
|
3
|
+
require_relative '../../../../granular_scope_search_test'
|
|
4
4
|
|
|
5
5
|
module USCoreTestKit
|
|
6
6
|
module USCoreV700_BALLOT
|
|
7
|
-
class
|
|
7
|
+
class ConditionPatientAssertedDateGranularScopeSearchTest < Inferno::Test
|
|
8
8
|
include USCoreTestKit::SearchTest
|
|
9
|
-
include USCoreTestKit::
|
|
9
|
+
include USCoreTestKit::GranularScopeSearchTest
|
|
10
10
|
|
|
11
11
|
title 'Server filters results for Condition search by patient + asserted-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 :
|
|
19
|
+
id :us_core_v700_ballot_Condition_patient_asserted_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
|
-
|
|
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 '../../../../
|
|
3
|
+
require_relative '../../../../granular_scope_search_test'
|
|
4
4
|
|
|
5
5
|
module USCoreTestKit
|
|
6
6
|
module USCoreV700_BALLOT
|
|
7
|
-
class
|
|
7
|
+
class ConditionPatientCategoryClinicalStatusGranularScopeSearchTest < Inferno::Test
|
|
8
8
|
include USCoreTestKit::SearchTest
|
|
9
|
-
include USCoreTestKit::
|
|
9
|
+
include USCoreTestKit::GranularScopeSearchTest
|
|
10
10
|
|
|
11
11
|
title 'Server filters results for Condition search by patient + category + 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 :
|
|
19
|
+
id :us_core_v700_ballot_Condition_patient_category_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
|
-
|
|
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 '../../../../
|
|
3
|
+
require_relative '../../../../granular_scope_search_test'
|
|
4
4
|
|
|
5
5
|
module USCoreTestKit
|
|
6
6
|
module USCoreV700_BALLOT
|
|
7
|
-
class
|
|
7
|
+
class ConditionPatientCategoryEncounterGranularScopeSearchTest < Inferno::Test
|
|
8
8
|
include USCoreTestKit::SearchTest
|
|
9
|
-
include USCoreTestKit::
|
|
9
|
+
include USCoreTestKit::GranularScopeSearchTest
|
|
10
10
|
|
|
11
11
|
title 'Server filters results for Condition search by patient + category + encounter 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 :
|
|
19
|
+
id :us_core_v700_ballot_Condition_patient_category_encounter_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
|
-
|
|
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 '../../../../
|
|
3
|
+
require_relative '../../../../granular_scope_search_test'
|
|
4
4
|
|
|
5
5
|
module USCoreTestKit
|
|
6
6
|
module USCoreV700_BALLOT
|
|
7
|
-
class
|
|
7
|
+
class ConditionPatientCategoryGranularScopeSearchTest < Inferno::Test
|
|
8
8
|
include USCoreTestKit::SearchTest
|
|
9
|
-
include USCoreTestKit::
|
|
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 :
|
|
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
|
-
|
|
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 '../../../../
|
|
3
|
+
require_relative '../../../../granular_scope_search_test'
|
|
4
4
|
|
|
5
5
|
module USCoreTestKit
|
|
6
6
|
module USCoreV700_BALLOT
|
|
7
|
-
class
|
|
7
|
+
class ConditionPatientClinicalStatusGranularScopeSearchTest < Inferno::Test
|
|
8
8
|
include USCoreTestKit::SearchTest
|
|
9
|
-
include USCoreTestKit::
|
|
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 :
|
|
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
|
-
|
|
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 '../../../../
|
|
3
|
+
require_relative '../../../../granular_scope_search_test'
|
|
4
4
|
|
|
5
5
|
module USCoreTestKit
|
|
6
6
|
module USCoreV700_BALLOT
|
|
7
|
-
class
|
|
7
|
+
class ConditionPatientCodeGranularScopeSearchTest < Inferno::Test
|
|
8
8
|
include USCoreTestKit::SearchTest
|
|
9
|
-
include USCoreTestKit::
|
|
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 :
|
|
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
|
-
|
|
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 '../../../../
|
|
3
|
+
require_relative '../../../../granular_scope_search_test'
|
|
4
4
|
|
|
5
5
|
module USCoreTestKit
|
|
6
6
|
module USCoreV700_BALLOT
|
|
7
|
-
class
|
|
7
|
+
class ConditionPatientGranularScopeSearchTest < Inferno::Test
|
|
8
8
|
include USCoreTestKit::SearchTest
|
|
9
|
-
include USCoreTestKit::
|
|
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 :
|
|
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
|
-
|
|
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 '../../../../
|
|
3
|
+
require_relative '../../../../granular_scope_search_test'
|
|
4
4
|
|
|
5
5
|
module USCoreTestKit
|
|
6
6
|
module USCoreV700_BALLOT
|
|
7
|
-
class
|
|
7
|
+
class ConditionPatientOnsetDateGranularScopeSearchTest < Inferno::Test
|
|
8
8
|
include USCoreTestKit::SearchTest
|
|
9
|
-
include USCoreTestKit::
|
|
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 :
|
|
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
|
-
|
|
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 '../../../../
|
|
3
|
+
require_relative '../../../../granular_scope_search_test'
|
|
4
4
|
|
|
5
5
|
module USCoreTestKit
|
|
6
6
|
module USCoreV700_BALLOT
|
|
7
|
-
class
|
|
7
|
+
class ConditionPatientRecordedDateGranularScopeSearchTest < Inferno::Test
|
|
8
8
|
include USCoreTestKit::SearchTest
|
|
9
|
-
include USCoreTestKit::
|
|
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 :
|
|
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
|
-
|
|
37
|
+
run_scope_search_test
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
end
|
data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/metadata.yml
CHANGED
|
@@ -351,26 +351,28 @@
|
|
|
351
351
|
- :id: us_core_v700_ballot_condition_encounter_diagnosis_reference_resolution_test
|
|
352
352
|
:file_name: condition_encounter_diagnosis_reference_resolution_test.rb
|
|
353
353
|
:granular_scope_tests:
|
|
354
|
-
- :id:
|
|
355
|
-
:file_name:
|
|
356
|
-
- :id:
|
|
357
|
-
:file_name:
|
|
358
|
-
- :id:
|
|
359
|
-
:file_name:
|
|
360
|
-
- :id:
|
|
361
|
-
:file_name:
|
|
362
|
-
- :id:
|
|
363
|
-
:file_name:
|
|
364
|
-
- :id:
|
|
365
|
-
:file_name:
|
|
366
|
-
- :id:
|
|
367
|
-
:file_name:
|
|
368
|
-
- :id:
|
|
369
|
-
:file_name:
|
|
370
|
-
- :id:
|
|
371
|
-
:file_name:
|
|
372
|
-
- :id:
|
|
373
|
-
:file_name:
|
|
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
|
|
374
376
|
:id: us_core_v700_ballot_condition_granular_scope_2_group
|
|
375
377
|
:file_name: condition_granular_scope2_group.rb
|
|
376
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 '../../../../
|
|
3
|
+
require_relative '../../../../granular_scope_search_test'
|
|
4
4
|
|
|
5
5
|
module USCoreTestKit
|
|
6
6
|
module USCoreV700_BALLOT
|
|
7
|
-
class
|
|
7
|
+
class DiagnosticReportPatientCategoryDateGranularScopeSearchTest < Inferno::Test
|
|
8
8
|
include USCoreTestKit::SearchTest
|
|
9
|
-
include USCoreTestKit::
|
|
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 :
|
|
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
|
-
|
|
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 '../../../../
|
|
3
|
+
require_relative '../../../../granular_scope_search_test'
|
|
4
4
|
|
|
5
5
|
module USCoreTestKit
|
|
6
6
|
module USCoreV700_BALLOT
|
|
7
|
-
class
|
|
7
|
+
class DiagnosticReportPatientCategoryGranularScopeSearchTest < Inferno::Test
|
|
8
8
|
include USCoreTestKit::SearchTest
|
|
9
|
-
include USCoreTestKit::
|
|
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 :
|
|
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
|
-
|
|
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 '../../../../
|
|
3
|
+
require_relative '../../../../granular_scope_search_test'
|
|
4
4
|
|
|
5
5
|
module USCoreTestKit
|
|
6
6
|
module USCoreV700_BALLOT
|
|
7
|
-
class
|
|
7
|
+
class DiagnosticReportPatientCodeDateGranularScopeSearchTest < Inferno::Test
|
|
8
8
|
include USCoreTestKit::SearchTest
|
|
9
|
-
include USCoreTestKit::
|
|
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 :
|
|
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
|
-
|
|
37
|
+
run_scope_search_test
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
end
|