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.
- checksums.yaml +4 -4
- data/config/presets/client_demo_against_server_800_preset.json.erb +46 -0
- data/config/presets/server_demo_against_client_800_preset.json.erb +30 -0
- data/lib/us_core_test_kit/client/generated/v3.1.1/bodyheight_client_group.rb +1 -1
- data/lib/us_core_test_kit/client/generated/v3.1.1/bodytemp_client_group.rb +1 -1
- data/lib/us_core_test_kit/client/generated/v3.1.1/bodyweight_client_group.rb +1 -1
- data/lib/us_core_test_kit/client/generated/v3.1.1/bp_client_group.rb +1 -1
- data/lib/us_core_test_kit/client/generated/v3.1.1/condition_client_group.rb +1 -1
- data/lib/us_core_test_kit/client/generated/v3.1.1/head_circumference_client_group.rb +1 -1
- data/lib/us_core_test_kit/client/generated/v3.1.1/heartrate_client_group.rb +1 -1
- data/lib/us_core_test_kit/client/generated/v3.1.1/resprate_client_group.rb +1 -1
- data/lib/us_core_test_kit/client/generated/v3.1.1/us_core_client_test_suite.rb +1 -1
- data/lib/us_core_test_kit/client/generated/v4.0.0/condition_client_group.rb +1 -1
- data/lib/us_core_test_kit/client/generated/v4.0.0/head_circumference_client_group.rb +1 -1
- data/lib/us_core_test_kit/client/generated/v4.0.0/us_core_client_test_suite.rb +1 -1
- data/lib/us_core_test_kit/client/generated/v5.0.1/head_circumference_client_group.rb +1 -1
- data/lib/us_core_test_kit/client/generated/v5.0.1/us_core_client_test_suite.rb +1 -1
- data/lib/us_core_test_kit/client/generated/v6.1.0/head_circumference_client_group.rb +1 -1
- data/lib/us_core_test_kit/client/generated/v6.1.0/observation_clinical_result/observation_clinical_result_client_read_test.rb +2 -2
- data/lib/us_core_test_kit/client/generated/v6.1.0/observation_clinical_result_client_group.rb +2 -1
- data/lib/us_core_test_kit/client/generated/v6.1.0/us_core_client_test_suite.rb +1 -1
- data/lib/us_core_test_kit/client/generated/v7.0.0/head_circumference_client_group.rb +1 -1
- data/lib/us_core_test_kit/client/generated/v7.0.0/observation_clinical_result/observation_clinical_result_client_read_test.rb +2 -2
- data/lib/us_core_test_kit/client/generated/v7.0.0/observation_clinical_result_client_group.rb +2 -1
- data/lib/us_core_test_kit/client/generated/v7.0.0/us_core_client_test_suite.rb +2 -1
- data/lib/us_core_test_kit/client/generated/v8.0.0/head_circumference_client_group.rb +1 -1
- data/lib/us_core_test_kit/client/generated/v8.0.0/observation_clinical_result/observation_clinical_result_client_read_test.rb +2 -2
- data/lib/us_core_test_kit/client/generated/v8.0.0/observation_clinical_result_client_group.rb +2 -1
- data/lib/us_core_test_kit/client/generated/v8.0.0/us_core_client_test_suite.rb +10 -1
- data/lib/us_core_test_kit/client/generator/group_generator.rb +19 -5
- data/lib/us_core_test_kit/client/generator/read_test_generator.rb +9 -1
- data/lib/us_core_test_kit/client/generator/templates/read_test.rb.erb +5 -1
- data/lib/us_core_test_kit/client/generator/templates/suite.rb.erb +12 -1
- data/lib/us_core_test_kit/client/test_helper.rb +5 -3
- 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
- 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
- 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
- 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
- data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_patient_category_granular_scope_search_test.rb +14 -1
- 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
- data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_patient_code_granular_scope_search_test.rb +14 -1
- data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_patient_granular_scope_search_test.rb +14 -1
- 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
- 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
- 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
- data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/observation/observation_patient_category_granular_scope_search_test.rb +14 -1
- 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
- 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
- data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/observation/observation_patient_code_granular_scope_search_test.rb +14 -1
- 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
- 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
- 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
- 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
- data/lib/us_core_test_kit/generated/v7.0.0/granular_scope_tests/condition/condition_patient_category_granular_scope_search_test.rb +14 -1
- 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
- data/lib/us_core_test_kit/generated/v7.0.0/granular_scope_tests/condition/condition_patient_code_granular_scope_search_test.rb +14 -1
- data/lib/us_core_test_kit/generated/v7.0.0/granular_scope_tests/condition/condition_patient_granular_scope_search_test.rb +14 -1
- data/lib/us_core_test_kit/generated/v7.0.0/granular_scope_tests/condition/condition_patient_lastupdated_granular_scope_search_test.rb +14 -1
- 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
- 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
- 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
- data/lib/us_core_test_kit/generated/v7.0.0/granular_scope_tests/observation/observation_patient_category_granular_scope_search_test.rb +14 -1
- 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
- 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
- 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
- data/lib/us_core_test_kit/generated/v7.0.0/granular_scope_tests/observation/observation_patient_code_granular_scope_search_test.rb +14 -1
- 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
- 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
- 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
- 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
- data/lib/us_core_test_kit/generated/v8.0.0/granular_scope_tests/condition/condition_patient_category_granular_scope_search_test.rb +14 -1
- 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
- data/lib/us_core_test_kit/generated/v8.0.0/granular_scope_tests/condition/condition_patient_code_granular_scope_search_test.rb +14 -1
- data/lib/us_core_test_kit/generated/v8.0.0/granular_scope_tests/condition/condition_patient_granular_scope_search_test.rb +14 -1
- data/lib/us_core_test_kit/generated/v8.0.0/granular_scope_tests/condition/condition_patient_lastupdated_granular_scope_search_test.rb +14 -1
- 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
- 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
- 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
- data/lib/us_core_test_kit/generated/v8.0.0/granular_scope_tests/observation/observation_patient_category_granular_scope_search_test.rb +14 -1
- 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
- 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
- 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
- data/lib/us_core_test_kit/generated/v8.0.0/granular_scope_tests/observation/observation_patient_code_granular_scope_search_test.rb +14 -1
- data/lib/us_core_test_kit/generator/granular_scope_test_generator.rb +14 -1
- data/lib/us_core_test_kit/granular_scope_search_test.rb +36 -11
- data/lib/us_core_test_kit/metadata.rb +1 -1
- data/lib/us_core_test_kit/requirements/generated/us_core_client_v800_requirements_coverage.csv +140 -0
- data/lib/us_core_test_kit/version.rb +2 -2
- data/lib/us_core_test_kit.rb +1 -0
- 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
|
|