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.
- checksums.yaml +4 -4
- data/lib/us_core_test_kit/custom_groups/base_smart_granular_scopes_group.rb +44 -12
- data/lib/us_core_test_kit/custom_groups/granted_granular_scopes_test.rb +61 -0
- 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 +5 -8
- 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 +94 -41
- data/lib/us_core_test_kit/custom_groups/v7.0.0-ballot/screening_assessment_group.rb +48 -0
- data/lib/us_core_test_kit/custom_groups/v7.0.0-ballot/smart_granular_scopes_group.rb +6 -0
- data/lib/us_core_test_kit/fhir_resource_navigation.rb +16 -1
- data/lib/us_core_test_kit/generated/v3.1.1/metadata.yml +3 -0
- data/lib/us_core_test_kit/generated/v3.1.1/patient/metadata.yml +3 -0
- data/lib/us_core_test_kit/generated/v3.1.1/us_core_test_suite.rb +5 -4
- data/lib/us_core_test_kit/generated/v4.0.0/metadata.yml +3 -0
- data/lib/us_core_test_kit/generated/v4.0.0/patient/metadata.yml +3 -0
- data/lib/us_core_test_kit/generated/v4.0.0/us_core_test_suite.rb +5 -4
- data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/metadata.yml +8 -0
- data/lib/us_core_test_kit/generated/v5.0.1/patient/metadata.yml +4 -0
- data/lib/us_core_test_kit/generated/v5.0.1/questionnaire_response/metadata.yml +2 -0
- data/lib/us_core_test_kit/generated/v5.0.1/us_core_test_suite.rb +5 -4
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/metadata.yml +23 -20
- data/lib/us_core_test_kit/generated/v6.1.0/condition_granular_scope1_group.rb +24 -20
- data/lib/us_core_test_kit/generated/v6.1.0/condition_problems_health_concerns/metadata.yml +1 -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 +25 -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 +5 -1
- data/lib/us_core_test_kit/generated/v6.1.0/metadata.yml +43 -36
- data/lib/us_core_test_kit/generated/v6.1.0/observation_granular_scope1_group.rb +15 -11
- 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/patient/metadata.yml +5 -0
- data/lib/us_core_test_kit/generated/v6.1.0/questionnaire_response/metadata.yml +2 -0
- data/lib/us_core_test_kit/generated/v6.1.0/us_core_test_suite.rb +9 -6
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/metadata.yml +23 -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/condition_problems_health_concerns/metadata.yml +1 -0
- 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 +23 -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/medication_request/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/metadata.yml +90 -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/patient/metadata.yml +5 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/questionnaire_response/metadata.yml +2 -0
- 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 +8 -5
- data/lib/us_core_test_kit/generator/granular_scope_group_generator.rb +7 -0
- 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/group_metadata.rb +1 -1
- data/lib/us_core_test_kit/generator/must_support_metadata_extractor.rb +1 -0
- data/lib/us_core_test_kit/generator/must_support_metadata_extractor_us_core_4.rb +3 -0
- data/lib/us_core_test_kit/generator/must_support_metadata_extractor_us_core_5.rb +1 -0
- data/lib/us_core_test_kit/generator/special_cases.rb +3 -5
- data/lib/us_core_test_kit/generator/suite_generator.rb +14 -3
- 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 +27 -7
- 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/reference_resolution_test.rb +2 -1
- data/lib/us_core_test_kit/resource_search_param_checker.rb +139 -0
- data/lib/us_core_test_kit/search_test.rb +6 -0
- data/lib/us_core_test_kit/version.rb +1 -1
- metadata +72 -59
- data/lib/us_core_test_kit/generated/v6.1.0/condition_granular_scope2_group.rb +0 -43
- data/lib/us_core_test_kit/generated/v6.1.0/granular_scopes2_group.rb +0 -52
- 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 '../../../../
|
3
|
+
require_relative '../../../../granular_scope_search_test'
|
4
4
|
|
5
5
|
module USCoreTestKit
|
6
6
|
module USCoreV610
|
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_v610_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
|
@@ -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
|
@@ -349,26 +350,28 @@
|
|
349
350
|
- :id: us_core_v610_condition_encounter_diagnosis_reference_resolution_test
|
350
351
|
:file_name: condition_encounter_diagnosis_reference_resolution_test.rb
|
351
352
|
:granular_scope_tests:
|
352
|
-
- :id:
|
353
|
-
:file_name:
|
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:
|
353
|
+
- :id: us_core_v610_Condition_patient_category_granular_scope_search_test
|
354
|
+
:file_name: condition_patient_category_granular_scope_search_test.rb
|
355
|
+
- :id: us_core_v610_Condition_patient_granular_scope_search_test
|
356
|
+
:file_name: condition_patient_granular_scope_search_test.rb
|
357
|
+
- :id: us_core_v610_Condition_patient_recorded_date_granular_scope_search_test
|
358
|
+
:file_name: condition_patient_recorded_date_granular_scope_search_test.rb
|
359
|
+
- :id: us_core_v610_Condition_patient_asserted_date_granular_scope_search_test
|
360
|
+
:file_name: condition_patient_asserted_date_granular_scope_search_test.rb
|
361
|
+
- :id: us_core_v610_Condition_patient_category_clinical_status_granular_scope_search_test
|
362
|
+
:file_name: condition_patient_category_clinical_status_granular_scope_search_test.rb
|
363
|
+
- :id: us_core_v610_Condition_patient_onset_date_granular_scope_search_test
|
364
|
+
:file_name: condition_patient_onset_date_granular_scope_search_test.rb
|
365
|
+
- :id: us_core_v610_Condition_patient_abatement_date_granular_scope_search_test
|
366
|
+
:file_name: condition_patient_abatement_date_granular_scope_search_test.rb
|
367
|
+
- :id: us_core_v610_Condition_patient_clinical_status_granular_scope_search_test
|
368
|
+
:file_name: condition_patient_clinical_status_granular_scope_search_test.rb
|
369
|
+
- :id: us_core_v610_Condition_patient_category_encounter_granular_scope_search_test
|
370
|
+
:file_name: condition_patient_category_encounter_granular_scope_search_test.rb
|
371
|
+
- :id: us_core_v610_Condition_patient_code_granular_scope_search_test
|
372
|
+
:file_name: condition_patient_code_granular_scope_search_test.rb
|
373
|
+
- :id: us_core_v610_Condition_granular_scope_read_test
|
374
|
+
:file_name: condition_granular_scope_read_test.rb
|
375
|
+
:id: us_core_v610_condition_granular_scope_1_group
|
376
|
+
:file_name: condition_granular_scope1_group.rb
|
374
377
|
:delayed_references: []
|
@@ -263,18 +263,20 @@
|
|
263
263
|
- :id: us_core_v610_observation_lab_reference_resolution_test
|
264
264
|
:file_name: observation_lab_reference_resolution_test.rb
|
265
265
|
:granular_scope_tests:
|
266
|
-
- :id:
|
267
|
-
:file_name:
|
268
|
-
- :id:
|
269
|
-
:file_name:
|
270
|
-
- :id:
|
271
|
-
:file_name:
|
272
|
-
- :id:
|
273
|
-
:file_name:
|
274
|
-
- :id:
|
275
|
-
:file_name:
|
276
|
-
:id:
|
277
|
-
:file_name:
|
266
|
+
- :id: us_core_v610_Observation_patient_category_granular_scope_search_test
|
267
|
+
:file_name: observation_patient_category_granular_scope_search_test.rb
|
268
|
+
- :id: us_core_v610_Observation_patient_code_date_granular_scope_search_test
|
269
|
+
:file_name: observation_patient_code_date_granular_scope_search_test.rb
|
270
|
+
- :id: us_core_v610_Observation_patient_category_status_granular_scope_search_test
|
271
|
+
:file_name: observation_patient_category_status_granular_scope_search_test.rb
|
272
|
+
- :id: us_core_v610_Observation_patient_category_date_granular_scope_search_test
|
273
|
+
:file_name: observation_patient_category_date_granular_scope_search_test.rb
|
274
|
+
- :id: us_core_v610_Observation_patient_code_granular_scope_search_test
|
275
|
+
:file_name: observation_patient_code_granular_scope_search_test.rb
|
276
|
+
- :id: us_core_v610_Observation_granular_scope_read_test
|
277
|
+
:file_name: observation_granular_scope_read_test.rb
|
278
|
+
:id: us_core_v610_observation_granular_scope_1_group
|
279
|
+
:file_name: observation_granular_scope1_group.rb
|
278
280
|
:delayed_references:
|
279
281
|
- :path: specimen
|
280
282
|
:resources:
|
@@ -0,0 +1,32 @@
|
|
1
|
+
require_relative '../../../../generator/group_metadata'
|
2
|
+
require_relative '../../../../granular_scope_read_test'
|
3
|
+
|
4
|
+
module USCoreTestKit
|
5
|
+
module USCoreV610
|
6
|
+
class ObservationGranularScopeReadTest < Inferno::Test
|
7
|
+
include USCoreTestKit::GranularScopeReadTest
|
8
|
+
|
9
|
+
title 'Server filters results for Observation reads based on granular scopes'
|
10
|
+
description %(
|
11
|
+
This test attempts Observation reads
|
12
|
+
and verifies that the results have been
|
13
|
+
filtered based on the granted granular scopes.
|
14
|
+
|
15
|
+
)
|
16
|
+
|
17
|
+
id :us_core_v610_Observation_granular_scope_read_test
|
18
|
+
|
19
|
+
def resource_type
|
20
|
+
'Observation'
|
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 USCoreV610
|
7
|
-
class
|
7
|
+
class ObservationPatientCategoryDateGranularScopeSearchTest < Inferno::Test
|
8
8
|
include USCoreTestKit::SearchTest
|
9
|
-
include USCoreTestKit::
|
9
|
+
include USCoreTestKit::GranularScopeSearchTest
|
10
10
|
|
11
11
|
title 'Server filters results for Observation 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_v610_Observation_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 USCoreV610
|
7
|
-
class
|
7
|
+
class ObservationPatientCategoryGranularScopeSearchTest < Inferno::Test
|
8
8
|
include USCoreTestKit::SearchTest
|
9
|
-
include USCoreTestKit::
|
9
|
+
include USCoreTestKit::GranularScopeSearchTest
|
10
10
|
|
11
11
|
title 'Server filters results for Observation 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_v610_Observation_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 USCoreV610
|
7
|
-
class
|
7
|
+
class ObservationPatientCategoryStatusGranularScopeSearchTest < Inferno::Test
|
8
8
|
include USCoreTestKit::SearchTest
|
9
|
-
include USCoreTestKit::
|
9
|
+
include USCoreTestKit::GranularScopeSearchTest
|
10
10
|
|
11
11
|
title 'Server filters results for Observation search by patient + category + 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_v610_Observation_patient_category_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 USCoreV610
|
7
|
-
class
|
7
|
+
class ObservationPatientCodeDateGranularScopeSearchTest < Inferno::Test
|
8
8
|
include USCoreTestKit::SearchTest
|
9
|
-
include USCoreTestKit::
|
9
|
+
include USCoreTestKit::GranularScopeSearchTest
|
10
10
|
|
11
11
|
title 'Server filters results for Observation 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_v610_Observation_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
|
@@ -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 USCoreV610
|
7
|
-
class
|
7
|
+
class ObservationPatientCodeGranularScopeSearchTest < Inferno::Test
|
8
8
|
include USCoreTestKit::SearchTest
|
9
|
-
include USCoreTestKit::
|
9
|
+
include USCoreTestKit::GranularScopeSearchTest
|
10
10
|
|
11
11
|
title 'Server filters results for Observation 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_v610_Observation_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
|
@@ -13,9 +13,13 @@ FHIR API tests, and verify that the resources returned are filtered
|
|
13
13
|
based on the following granular scopes:
|
14
14
|
|
15
15
|
* `Condition.rs?category=http://terminology.hl7.org/CodeSystem/condition-category|encounter-diagnosis`
|
16
|
+
* `Condition.rs?category=http://hl7.org/fhir/us/core/CodeSystem/condition-category|health-concern`
|
17
|
+
* `Condition.rs?category=http://terminology.hl7.org/CodeSystem/condition-category|problem-list-item`
|
16
18
|
* `Observation.rs?category=http://terminology.hl7.org/CodeSystem/observation-category|laboratory`
|
17
19
|
* `Observation.rs?category=http://terminology.hl7.org/CodeSystem/observation-category|social-history`
|
18
|
-
* `Observation.rs?category=http://terminology.hl7.org/CodeSystem/observation-category|
|
20
|
+
* `Observation.rs?category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs`
|
21
|
+
* `Observation.rs?category=http://terminology.hl7.org/CodeSystem/observation-category|survey`
|
22
|
+
* `Observation.rs?category=http://hl7.org/fhir/us/core/CodeSystem/us-core-category|sdoh`
|
19
23
|
|
20
24
|
)
|
21
25
|
|
@@ -856,6 +856,7 @@
|
|
856
856
|
:must_supports:
|
857
857
|
:extensions:
|
858
858
|
- :id: Condition.extension:assertedDate
|
859
|
+
:path: extension
|
859
860
|
:url: http://hl7.org/fhir/StructureDefinition/condition-assertedDate
|
860
861
|
:slices:
|
861
862
|
- :slice_id: Condition.category:us-core
|
@@ -963,26 +964,28 @@
|
|
963
964
|
- :id: us_core_v610_condition_encounter_diagnosis_reference_resolution_test
|
964
965
|
:file_name: condition_encounter_diagnosis_reference_resolution_test.rb
|
965
966
|
:granular_scope_tests:
|
966
|
-
- :id:
|
967
|
-
:file_name:
|
968
|
-
- :id:
|
969
|
-
:file_name:
|
970
|
-
- :id:
|
971
|
-
:file_name:
|
972
|
-
- :id:
|
973
|
-
:file_name:
|
974
|
-
- :id:
|
975
|
-
:file_name:
|
976
|
-
- :id:
|
977
|
-
:file_name:
|
978
|
-
- :id:
|
979
|
-
:file_name:
|
980
|
-
- :id:
|
981
|
-
:file_name:
|
982
|
-
- :id:
|
983
|
-
:file_name:
|
984
|
-
- :id:
|
985
|
-
:file_name:
|
967
|
+
- :id: us_core_v610_Condition_patient_category_granular_scope_search_test
|
968
|
+
:file_name: condition_patient_category_granular_scope_search_test.rb
|
969
|
+
- :id: us_core_v610_Condition_patient_granular_scope_search_test
|
970
|
+
:file_name: condition_patient_granular_scope_search_test.rb
|
971
|
+
- :id: us_core_v610_Condition_patient_recorded_date_granular_scope_search_test
|
972
|
+
:file_name: condition_patient_recorded_date_granular_scope_search_test.rb
|
973
|
+
- :id: us_core_v610_Condition_patient_asserted_date_granular_scope_search_test
|
974
|
+
:file_name: condition_patient_asserted_date_granular_scope_search_test.rb
|
975
|
+
- :id: us_core_v610_Condition_patient_category_clinical_status_granular_scope_search_test
|
976
|
+
:file_name: condition_patient_category_clinical_status_granular_scope_search_test.rb
|
977
|
+
- :id: us_core_v610_Condition_patient_onset_date_granular_scope_search_test
|
978
|
+
:file_name: condition_patient_onset_date_granular_scope_search_test.rb
|
979
|
+
- :id: us_core_v610_Condition_patient_abatement_date_granular_scope_search_test
|
980
|
+
:file_name: condition_patient_abatement_date_granular_scope_search_test.rb
|
981
|
+
- :id: us_core_v610_Condition_patient_clinical_status_granular_scope_search_test
|
982
|
+
:file_name: condition_patient_clinical_status_granular_scope_search_test.rb
|
983
|
+
- :id: us_core_v610_Condition_patient_category_encounter_granular_scope_search_test
|
984
|
+
:file_name: condition_patient_category_encounter_granular_scope_search_test.rb
|
985
|
+
- :id: us_core_v610_Condition_patient_code_granular_scope_search_test
|
986
|
+
:file_name: condition_patient_code_granular_scope_search_test.rb
|
987
|
+
- :id: us_core_v610_Condition_granular_scope_read_test
|
988
|
+
:file_name: condition_granular_scope_read_test.rb
|
986
989
|
:id: us_core_v610_condition_encounter_diagnosis
|
987
990
|
:file_name: condition_encounter_diagnosis_group.rb
|
988
991
|
:delayed_references: []
|
@@ -1231,6 +1234,7 @@
|
|
1231
1234
|
:must_supports:
|
1232
1235
|
:extensions:
|
1233
1236
|
- :id: Condition.extension:assertedDate
|
1237
|
+
:path: extension
|
1234
1238
|
:url: http://hl7.org/fhir/StructureDefinition/condition-assertedDate
|
1235
1239
|
:slices:
|
1236
1240
|
- :slice_id: Condition.category:us-core
|
@@ -4309,16 +4313,18 @@
|
|
4309
4313
|
- :id: us_core_v610_observation_lab_reference_resolution_test
|
4310
4314
|
:file_name: observation_lab_reference_resolution_test.rb
|
4311
4315
|
:granular_scope_tests:
|
4312
|
-
- :id:
|
4313
|
-
:file_name:
|
4314
|
-
- :id:
|
4315
|
-
:file_name:
|
4316
|
-
- :id:
|
4317
|
-
:file_name:
|
4318
|
-
- :id:
|
4319
|
-
:file_name:
|
4320
|
-
- :id:
|
4321
|
-
:file_name:
|
4316
|
+
- :id: us_core_v610_Observation_patient_category_granular_scope_search_test
|
4317
|
+
:file_name: observation_patient_category_granular_scope_search_test.rb
|
4318
|
+
- :id: us_core_v610_Observation_patient_code_date_granular_scope_search_test
|
4319
|
+
:file_name: observation_patient_code_date_granular_scope_search_test.rb
|
4320
|
+
- :id: us_core_v610_Observation_patient_category_status_granular_scope_search_test
|
4321
|
+
:file_name: observation_patient_category_status_granular_scope_search_test.rb
|
4322
|
+
- :id: us_core_v610_Observation_patient_category_date_granular_scope_search_test
|
4323
|
+
:file_name: observation_patient_category_date_granular_scope_search_test.rb
|
4324
|
+
- :id: us_core_v610_Observation_patient_code_granular_scope_search_test
|
4325
|
+
:file_name: observation_patient_code_granular_scope_search_test.rb
|
4326
|
+
- :id: us_core_v610_Observation_granular_scope_read_test
|
4327
|
+
:file_name: observation_granular_scope_read_test.rb
|
4322
4328
|
:id: us_core_v610_observation_lab
|
4323
4329
|
:file_name: observation_lab_group.rb
|
4324
4330
|
:delayed_references:
|
@@ -10369,18 +10375,23 @@
|
|
10369
10375
|
:must_supports:
|
10370
10376
|
:extensions:
|
10371
10377
|
- :id: Patient.extension:race
|
10378
|
+
:path: extension
|
10372
10379
|
:url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-race
|
10373
10380
|
:uscdi_only: true
|
10374
10381
|
- :id: Patient.extension:ethnicity
|
10382
|
+
:path: extension
|
10375
10383
|
:url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity
|
10376
10384
|
:uscdi_only: true
|
10377
10385
|
- :id: Patient.extension:tribalAffiliation
|
10386
|
+
:path: extension
|
10378
10387
|
:url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-tribal-affiliation
|
10379
10388
|
:uscdi_only: true
|
10380
10389
|
- :id: Patient.extension:sex
|
10390
|
+
:path: extension
|
10381
10391
|
:url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-sex
|
10382
10392
|
:uscdi_only: true
|
10383
10393
|
- :id: Patient.extension:genderIdentity
|
10394
|
+
:path: extension
|
10384
10395
|
:url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-genderIdentity
|
10385
10396
|
:uscdi_only: true
|
10386
10397
|
:slices: []
|
@@ -11432,8 +11443,10 @@
|
|
11432
11443
|
:must_supports:
|
11433
11444
|
:extensions:
|
11434
11445
|
- :id: QuestionnaireResponse.questionnaire.extension:questionnaireDisplay
|
11446
|
+
:path: questionnaire.extension
|
11435
11447
|
:url: http://hl7.org/fhir/StructureDefinition/display
|
11436
11448
|
- :id: QuestionnaireResponse.questionnaire.extension:url
|
11449
|
+
:path: questionnaire.extension
|
11437
11450
|
:url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-extension-questionnaire-uri
|
11438
11451
|
:slices: []
|
11439
11452
|
:elements:
|
@@ -12115,15 +12128,9 @@
|
|
12115
12128
|
Condition:
|
12116
12129
|
- :id: us_core_v610_condition_granular_scope_1_group
|
12117
12130
|
:file_name: condition_granular_scope1_group.rb
|
12118
|
-
- :id: us_core_v610_condition_granular_scope_2_group
|
12119
|
-
:file_name: condition_granular_scope2_group.rb
|
12120
12131
|
Observation:
|
12121
12132
|
- :id: us_core_v610_observation_granular_scope_1_group
|
12122
12133
|
:file_name: observation_granular_scope1_group.rb
|
12123
|
-
- :id: us_core_v610_observation_granular_scope_2_group
|
12124
|
-
:file_name: observation_granular_scope2_group.rb
|
12125
12134
|
:granular_scope_groups:
|
12126
12135
|
- :id: us_core_v610_smart_granular_scopes_1
|
12127
12136
|
:file_name: granular_scopes1_group.rb
|
12128
|
-
- :id: us_core_v610_smart_granular_scopes_2
|
12129
|
-
:file_name: granular_scopes2_group.rb
|
@@ -1,8 +1,9 @@
|
|
1
|
-
require_relative './granular_scope_tests/observation/
|
2
|
-
require_relative './granular_scope_tests/observation/
|
3
|
-
require_relative './granular_scope_tests/observation/
|
4
|
-
require_relative './granular_scope_tests/observation/
|
5
|
-
require_relative './granular_scope_tests/observation/
|
1
|
+
require_relative './granular_scope_tests/observation/observation_patient_category_granular_scope_search_test'
|
2
|
+
require_relative './granular_scope_tests/observation/observation_patient_code_date_granular_scope_search_test'
|
3
|
+
require_relative './granular_scope_tests/observation/observation_patient_category_status_granular_scope_search_test'
|
4
|
+
require_relative './granular_scope_tests/observation/observation_patient_category_date_granular_scope_search_test'
|
5
|
+
require_relative './granular_scope_tests/observation/observation_patient_code_granular_scope_search_test'
|
6
|
+
require_relative './granular_scope_tests/observation/observation_granular_scope_read_test'
|
6
7
|
|
7
8
|
module USCoreTestKit
|
8
9
|
module USCoreV610
|
@@ -16,7 +17,9 @@ based on the following granular scopes:
|
|
16
17
|
|
17
18
|
* `Observation.rs?category=http://terminology.hl7.org/CodeSystem/observation-category|laboratory`
|
18
19
|
* `Observation.rs?category=http://terminology.hl7.org/CodeSystem/observation-category|social-history`
|
19
|
-
* `Observation.rs?category=http://terminology.hl7.org/CodeSystem/observation-category|
|
20
|
+
* `Observation.rs?category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs`
|
21
|
+
* `Observation.rs?category=http://terminology.hl7.org/CodeSystem/observation-category|survey`
|
22
|
+
* `Observation.rs?category=http://hl7.org/fhir/us/core/CodeSystem/us-core-category|sdoh`
|
20
23
|
|
21
24
|
)
|
22
25
|
|
@@ -24,11 +27,12 @@ based on the following granular scopes:
|
|
24
27
|
run_as_group
|
25
28
|
|
26
29
|
|
27
|
-
test from: :
|
28
|
-
test from: :
|
29
|
-
test from: :
|
30
|
-
test from: :
|
31
|
-
test from: :
|
30
|
+
test from: :us_core_v610_Observation_patient_category_granular_scope_search_test
|
31
|
+
test from: :us_core_v610_Observation_patient_code_date_granular_scope_search_test
|
32
|
+
test from: :us_core_v610_Observation_patient_category_status_granular_scope_search_test
|
33
|
+
test from: :us_core_v610_Observation_patient_category_date_granular_scope_search_test
|
34
|
+
test from: :us_core_v610_Observation_patient_code_granular_scope_search_test
|
35
|
+
test from: :us_core_v610_Observation_granular_scope_read_test
|
32
36
|
end
|
33
37
|
end
|
34
38
|
end
|
@@ -263,16 +263,18 @@
|
|
263
263
|
- :id: us_core_v610_observation_lab_reference_resolution_test
|
264
264
|
:file_name: observation_lab_reference_resolution_test.rb
|
265
265
|
:granular_scope_tests:
|
266
|
-
- :id:
|
267
|
-
:file_name:
|
268
|
-
- :id:
|
269
|
-
:file_name:
|
270
|
-
- :id:
|
271
|
-
:file_name:
|
272
|
-
- :id:
|
273
|
-
:file_name:
|
274
|
-
- :id:
|
275
|
-
:file_name:
|
266
|
+
- :id: us_core_v610_Observation_patient_category_granular_scope_search_test
|
267
|
+
:file_name: observation_patient_category_granular_scope_search_test.rb
|
268
|
+
- :id: us_core_v610_Observation_patient_code_date_granular_scope_search_test
|
269
|
+
:file_name: observation_patient_code_date_granular_scope_search_test.rb
|
270
|
+
- :id: us_core_v610_Observation_patient_category_status_granular_scope_search_test
|
271
|
+
:file_name: observation_patient_category_status_granular_scope_search_test.rb
|
272
|
+
- :id: us_core_v610_Observation_patient_category_date_granular_scope_search_test
|
273
|
+
:file_name: observation_patient_category_date_granular_scope_search_test.rb
|
274
|
+
- :id: us_core_v610_Observation_patient_code_granular_scope_search_test
|
275
|
+
:file_name: observation_patient_code_granular_scope_search_test.rb
|
276
|
+
- :id: us_core_v610_Observation_granular_scope_read_test
|
277
|
+
:file_name: observation_granular_scope_read_test.rb
|
276
278
|
:id: us_core_v610_observation_lab
|
277
279
|
:file_name: observation_lab_group.rb
|
278
280
|
:delayed_references:
|
@@ -173,18 +173,23 @@
|
|
173
173
|
:must_supports:
|
174
174
|
:extensions:
|
175
175
|
- :id: Patient.extension:race
|
176
|
+
:path: extension
|
176
177
|
:url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-race
|
177
178
|
:uscdi_only: true
|
178
179
|
- :id: Patient.extension:ethnicity
|
180
|
+
:path: extension
|
179
181
|
:url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity
|
180
182
|
:uscdi_only: true
|
181
183
|
- :id: Patient.extension:tribalAffiliation
|
184
|
+
:path: extension
|
182
185
|
:url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-tribal-affiliation
|
183
186
|
:uscdi_only: true
|
184
187
|
- :id: Patient.extension:sex
|
188
|
+
:path: extension
|
185
189
|
:url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-sex
|
186
190
|
:uscdi_only: true
|
187
191
|
- :id: Patient.extension:genderIdentity
|
192
|
+
:path: extension
|
188
193
|
:url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-genderIdentity
|
189
194
|
:uscdi_only: true
|
190
195
|
:slices: []
|
@@ -132,8 +132,10 @@
|
|
132
132
|
:must_supports:
|
133
133
|
:extensions:
|
134
134
|
- :id: QuestionnaireResponse.questionnaire.extension:questionnaireDisplay
|
135
|
+
:path: questionnaire.extension
|
135
136
|
:url: http://hl7.org/fhir/StructureDefinition/display
|
136
137
|
- :id: QuestionnaireResponse.questionnaire.extension:url
|
138
|
+
:path: questionnaire.extension
|
137
139
|
:url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-extension-questionnaire-uri
|
138
140
|
:slices: []
|
139
141
|
:elements:
|