us_core_test_kit 0.6.3 → 0.6.5
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/smart_app_launch_group.rb +2 -2
- data/lib/us_core_test_kit/fhir_resource_navigation.rb +3 -3
- data/lib/us_core_test_kit/generated/v3.1.1/metadata.yml +10 -0
- data/lib/us_core_test_kit/generated/v3.1.1/patient/metadata.yml +10 -0
- data/lib/us_core_test_kit/generated/v3.1.1/us_core_test_suite.rb +2 -1
- data/lib/us_core_test_kit/generated/v4.0.0/metadata.yml +10 -0
- data/lib/us_core_test_kit/generated/v4.0.0/patient/metadata.yml +10 -0
- data/lib/us_core_test_kit/generated/v4.0.0/us_core_test_suite.rb +2 -1
- data/lib/us_core_test_kit/generated/v5.0.1/metadata.yml +21 -2
- data/lib/us_core_test_kit/generated/v5.0.1/patient/metadata.yml +6 -2
- data/lib/us_core_test_kit/generated/v5.0.1/practitioner_role/metadata.yml +155 -0
- data/lib/us_core_test_kit/generated/v5.0.1/practitioner_role/practitioner_role_must_support_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v5.0.1/practitioner_role/practitioner_role_practitioner_search_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v5.0.1/practitioner_role/practitioner_role_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/practitioner_role/practitioner_role_reference_resolution_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v5.0.1/practitioner_role/practitioner_role_specialty_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v5.0.1/practitioner_role/practitioner_role_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/practitioner_role_group.rb +89 -0
- data/lib/us_core_test_kit/generated/v5.0.1/us_core_test_suite.rb +4 -1
- data/lib/us_core_test_kit/generated/v6.1.0/metadata.yml +17 -2
- data/lib/us_core_test_kit/generated/v6.1.0/patient/metadata.yml +2 -2
- data/lib/us_core_test_kit/generated/v6.1.0/patient/patient_must_support_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/practitioner_role/metadata.yml +155 -0
- data/lib/us_core_test_kit/generated/v6.1.0/practitioner_role/practitioner_role_must_support_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/practitioner_role/practitioner_role_practitioner_search_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.1.0/practitioner_role/practitioner_role_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/practitioner_role/practitioner_role_reference_resolution_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v6.1.0/practitioner_role/practitioner_role_specialty_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.1.0/practitioner_role/practitioner_role_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/practitioner_role_group.rb +89 -0
- data/lib/us_core_test_kit/generated/v6.1.0/us_core_test_suite.rb +4 -1
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/{vital_signs/vital_signs_patient_category_status_search_test.rb → location/location_address_city_search_test.rb} +7 -13
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/{vital_signs/vital_signs_patient_code_date_search_test.rb → location/location_address_postalcode_search_test.rb} +7 -14
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/location/location_address_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/location/location_address_state_search_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/{vital_signs/vital_signs_must_support_test.rb → location/location_must_support_test.rb} +17 -16
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/{vital_signs/vital_signs_patient_category_search_test.rb → location/location_name_search_test.rb} +7 -13
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/location/location_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/{vital_signs/vital_signs_reference_resolution_test.rb → location/location_reference_resolution_test.rb} +6 -6
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/{vital_signs/vital_signs_validation_test.rb → location/location_validation_test.rb} +7 -7
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/location/metadata.yml +194 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/location_group.rb +93 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/metadata.yml +38 -273
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/patient/metadata.yml +2 -2
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/patient/patient_must_support_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner_role/metadata.yml +160 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner_role/practitioner_role_must_support_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/{vital_signs/vital_signs_patient_code_search_test.rb → practitioner_role/practitioner_role_practitioner_search_test.rb} +8 -20
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner_role/practitioner_role_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner_role/practitioner_role_reference_resolution_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/{vital_signs/vital_signs_patient_category_date_search_test.rb → practitioner_role/practitioner_role_specialty_search_test.rb} +8 -14
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner_role/practitioner_role_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner_role_group.rb +89 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/us_core_test_suite.rb +6 -3
- data/lib/us_core_test_kit/generator/group_generator.rb +2 -2
- data/lib/us_core_test_kit/generator/group_metadata.rb +3 -1
- data/lib/us_core_test_kit/generator/ig_metadata_extractor.rb +8 -1
- data/lib/us_core_test_kit/generator/must_support_metadata_extractor_us_core_3.rb +64 -18
- data/lib/us_core_test_kit/generator/must_support_metadata_extractor_us_core_4.rb +1 -18
- data/lib/us_core_test_kit/generator/must_support_metadata_extractor_us_core_5.rb +0 -15
- data/lib/us_core_test_kit/generator/must_support_metadata_extractor_us_core_6.rb +5 -2
- data/lib/us_core_test_kit/generator/special_cases.rb +17 -7
- data/lib/us_core_test_kit/granular_scope_checker.rb +1 -1
- data/lib/us_core_test_kit/version.rb +1 -1
- metadata +40 -94
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_patient_abatement_date_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_patient_asserted_date_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_patient_category_clinical_status_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_patient_category_encounter_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_patient_category_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_patient_clinical_status_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_patient_code_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_patient_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_patient_onset_date_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_patient_recorded_date_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_granular_scope1_group.rb +0 -38
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_granular_scope2_group.rb +0 -38
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_note/diagnostic_report_patient_category_date_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_note/diagnostic_report_patient_category_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_note/diagnostic_report_patient_code_date_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_note/diagnostic_report_patient_code_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_note/diagnostic_report_patient_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_note/diagnostic_report_patient_status_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v6.1.0/document_reference/document_reference_id_granular_scope_test.rb +0 -41
- data/lib/us_core_test_kit/generated/v6.1.0/document_reference/document_reference_patient_category_date_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v6.1.0/document_reference/document_reference_patient_category_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v6.1.0/document_reference/document_reference_patient_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v6.1.0/document_reference/document_reference_patient_status_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v6.1.0/document_reference/document_reference_patient_type_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v6.1.0/document_reference/document_reference_patient_type_period_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v6.1.0/document_reference_granular_scope1_group.rb +0 -39
- data/lib/us_core_test_kit/generated/v6.1.0/document_reference_granular_scope2_group.rb +0 -39
- data/lib/us_core_test_kit/generated/v6.1.0/observation_lab/observation_patient_category_date_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v6.1.0/observation_lab/observation_patient_category_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v6.1.0/observation_lab/observation_patient_category_status_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v6.1.0/observation_lab/observation_patient_code_date_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v6.1.0/observation_lab/observation_patient_code_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v6.1.0/service_request/service_request_id_granular_scope_test.rb +0 -41
- data/lib/us_core_test_kit/generated/v6.1.0/service_request/service_request_patient_category_authored_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v6.1.0/service_request/service_request_patient_category_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v6.1.0/service_request/service_request_patient_code_authored_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v6.1.0/service_request/service_request_patient_code_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v6.1.0/service_request/service_request_patient_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v6.1.0/service_request/service_request_patient_status_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v6.1.0/service_request_granular_scope1_group.rb +0 -39
- data/lib/us_core_test_kit/generated/v6.1.0/service_request_granular_scope2_group.rb +0 -40
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_patient_abatement_date_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_patient_asserted_date_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_patient_category_clinical_status_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_patient_category_encounter_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_patient_category_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_patient_clinical_status_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_patient_code_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_patient_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_patient_onset_date_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_patient_recorded_date_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/diagnostic_report_patient_category_date_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/diagnostic_report_patient_category_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/diagnostic_report_patient_code_date_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/diagnostic_report_patient_code_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/diagnostic_report_patient_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/diagnostic_report_patient_status_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/document_reference_id_granular_scope_test.rb +0 -41
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/document_reference_patient_category_date_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/document_reference_patient_category_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/document_reference_patient_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/document_reference_patient_status_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/document_reference_patient_type_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/document_reference_patient_type_period_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference_granular_scope2_group.rb +0 -39
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab/observation_patient_category_date_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab/observation_patient_category_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab/observation_patient_category_status_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab/observation_patient_code_date_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab/observation_patient_code_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/service_request_id_granular_scope_test.rb +0 -41
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/service_request_patient_category_authored_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/service_request_patient_category_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/service_request_patient_code_authored_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/service_request_patient_code_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/service_request_patient_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/service_request_patient_status_granular_scope_test.rb +0 -45
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/vital_signs/metadata.yml +0 -273
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/vital_signs/vital_signs_provenance_revinclude_search_test.rb +0 -53
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/vital_signs/vital_signs_read_test.rb +0 -26
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/vital_signs_group.rb +0 -96
@@ -0,0 +1,160 @@
|
|
1
|
+
---
|
2
|
+
:name: us_core_practitionerrole
|
3
|
+
:class_name: USCorev700_ballotPractitionerroleSequence
|
4
|
+
:version: v7.0.0-ballot
|
5
|
+
:reformatted_version: v700_ballot
|
6
|
+
:resource: PractitionerRole
|
7
|
+
:profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole
|
8
|
+
:profile_name: US Core PractitionerRole Profile
|
9
|
+
:profile_version: 7.0.0-ballot
|
10
|
+
:title: PractitionerRole
|
11
|
+
:short_description: Verify support for the server capabilities required by the US
|
12
|
+
Core PractitionerRole Profile.
|
13
|
+
:is_delayed: true
|
14
|
+
:interactions:
|
15
|
+
- :code: create
|
16
|
+
:expectation: MAY
|
17
|
+
- :code: search-type
|
18
|
+
:expectation: SHALL
|
19
|
+
- :code: read
|
20
|
+
:expectation: SHALL
|
21
|
+
- :code: vread
|
22
|
+
:expectation: SHOULD
|
23
|
+
- :code: update
|
24
|
+
:expectation: MAY
|
25
|
+
- :code: patch
|
26
|
+
:expectation: MAY
|
27
|
+
- :code: delete
|
28
|
+
:expectation: MAY
|
29
|
+
- :code: history-instance
|
30
|
+
:expectation: SHOULD
|
31
|
+
- :code: history-type
|
32
|
+
:expectation: MAY
|
33
|
+
:operations: []
|
34
|
+
:searches:
|
35
|
+
- :names:
|
36
|
+
- practitioner
|
37
|
+
:expectation: SHALL
|
38
|
+
:names_not_must_support_or_mandatory: []
|
39
|
+
:must_support_or_mandatory: true
|
40
|
+
- :names:
|
41
|
+
- specialty
|
42
|
+
:expectation: SHALL
|
43
|
+
:names_not_must_support_or_mandatory: []
|
44
|
+
:must_support_or_mandatory: true
|
45
|
+
:search_definitions:
|
46
|
+
:practitioner:
|
47
|
+
:paths:
|
48
|
+
- practitioner
|
49
|
+
:full_paths:
|
50
|
+
- PractitionerRole.practitioner
|
51
|
+
:comparators: {}
|
52
|
+
:values: []
|
53
|
+
:type: Reference
|
54
|
+
:contains_multiple: false
|
55
|
+
:multiple_or: MAY
|
56
|
+
:chain:
|
57
|
+
- :chain: identifier
|
58
|
+
:expectation: SHALL
|
59
|
+
- :chain: name
|
60
|
+
:expectation: SHALL
|
61
|
+
:specialty:
|
62
|
+
:paths:
|
63
|
+
- specialty
|
64
|
+
:full_paths:
|
65
|
+
- PractitionerRole.specialty
|
66
|
+
:comparators: {}
|
67
|
+
:values: []
|
68
|
+
:type: CodeableConcept
|
69
|
+
:contains_multiple: true
|
70
|
+
:multiple_or: MAY
|
71
|
+
:include_params:
|
72
|
+
- PractitionerRole:endpoint
|
73
|
+
- PractitionerRole:practitioner
|
74
|
+
:revincludes: []
|
75
|
+
:required_concepts: []
|
76
|
+
:must_supports:
|
77
|
+
:extensions: []
|
78
|
+
:slices: []
|
79
|
+
:elements:
|
80
|
+
- :path: practitioner
|
81
|
+
:types:
|
82
|
+
- Reference
|
83
|
+
:target_profiles:
|
84
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner
|
85
|
+
- :path: organization
|
86
|
+
:types:
|
87
|
+
- Reference
|
88
|
+
:target_profiles:
|
89
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization
|
90
|
+
- :path: code
|
91
|
+
- :path: specialty
|
92
|
+
- :path: location
|
93
|
+
:types:
|
94
|
+
- Reference
|
95
|
+
:target_profiles:
|
96
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-location
|
97
|
+
- :path: telecom
|
98
|
+
- :path: telecom.system
|
99
|
+
- :path: telecom.value
|
100
|
+
- :path: endpoint
|
101
|
+
:types:
|
102
|
+
- Reference
|
103
|
+
:mandatory_elements:
|
104
|
+
- PractitionerRole.telecom.system
|
105
|
+
- PractitionerRole.telecom.value
|
106
|
+
- PractitionerRole.notAvailable.description
|
107
|
+
:bindings:
|
108
|
+
- :type: code
|
109
|
+
:strength: required
|
110
|
+
:system: http://hl7.org/fhir/ValueSet/contact-point-system
|
111
|
+
:path: telecom.system
|
112
|
+
- :type: code
|
113
|
+
:strength: required
|
114
|
+
:system: http://hl7.org/fhir/ValueSet/contact-point-use
|
115
|
+
:path: telecom.use
|
116
|
+
- :type: code
|
117
|
+
:strength: required
|
118
|
+
:system: http://hl7.org/fhir/ValueSet/days-of-week
|
119
|
+
:path: availableTime.daysOfWeek
|
120
|
+
:references:
|
121
|
+
- :path: PractitionerRole.practitioner
|
122
|
+
:profiles:
|
123
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner
|
124
|
+
- :path: PractitionerRole.organization
|
125
|
+
:profiles:
|
126
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization
|
127
|
+
- :path: PractitionerRole.location
|
128
|
+
:profiles:
|
129
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-location
|
130
|
+
- :path: PractitionerRole.healthcareService
|
131
|
+
:profiles:
|
132
|
+
- http://hl7.org/fhir/StructureDefinition/HealthcareService
|
133
|
+
- :path: PractitionerRole.endpoint
|
134
|
+
:profiles:
|
135
|
+
- http://hl7.org/fhir/StructureDefinition/Endpoint
|
136
|
+
:tests:
|
137
|
+
- :id: us_core_v700_ballot_practitioner_role_read_test
|
138
|
+
:file_name: practitioner_role_read_test.rb
|
139
|
+
- :id: us_core_v700_ballot_practitioner_role_practitioner_search_test
|
140
|
+
:file_name: practitioner_role_practitioner_search_test.rb
|
141
|
+
- :id: us_core_v700_ballot_practitioner_role_specialty_search_test
|
142
|
+
:file_name: practitioner_role_specialty_search_test.rb
|
143
|
+
- :id: us_core_v700_ballot_practitioner_role_validation_test
|
144
|
+
:file_name: practitioner_role_validation_test.rb
|
145
|
+
- :id: us_core_v700_ballot_practitioner_role_must_support_test
|
146
|
+
:file_name: practitioner_role_must_support_test.rb
|
147
|
+
- :id: us_core_v700_ballot_practitioner_role_reference_resolution_test
|
148
|
+
:file_name: practitioner_role_reference_resolution_test.rb
|
149
|
+
:id: us_core_v700_ballot_practitioner_role
|
150
|
+
:file_name: practitioner_role_group.rb
|
151
|
+
:delayed_references:
|
152
|
+
- :path: practitioner
|
153
|
+
:resources:
|
154
|
+
- Practitioner
|
155
|
+
- :path: organization
|
156
|
+
:resources:
|
157
|
+
- Organization
|
158
|
+
- :path: location
|
159
|
+
:resources:
|
160
|
+
- Location
|
@@ -0,0 +1,45 @@
|
|
1
|
+
require_relative '../../../must_support_test'
|
2
|
+
|
3
|
+
module USCoreTestKit
|
4
|
+
module USCoreV700_BALLOT
|
5
|
+
class PractitionerRoleMustSupportTest < Inferno::Test
|
6
|
+
include USCoreTestKit::MustSupportTest
|
7
|
+
|
8
|
+
title 'All must support elements are provided in the PractitionerRole resources returned'
|
9
|
+
description %(
|
10
|
+
US Core Responders SHALL be capable of populating all data elements as
|
11
|
+
part of the query results as specified by the US Core Server Capability
|
12
|
+
Statement. This test will look through the PractitionerRole resources
|
13
|
+
found previously for the following must support elements:
|
14
|
+
|
15
|
+
* PractitionerRole.code
|
16
|
+
* PractitionerRole.endpoint
|
17
|
+
* PractitionerRole.location
|
18
|
+
* PractitionerRole.organization
|
19
|
+
* PractitionerRole.practitioner
|
20
|
+
* PractitionerRole.specialty
|
21
|
+
* PractitionerRole.telecom
|
22
|
+
* PractitionerRole.telecom.system
|
23
|
+
* PractitionerRole.telecom.value
|
24
|
+
)
|
25
|
+
|
26
|
+
id :us_core_v700_ballot_practitioner_role_must_support_test
|
27
|
+
|
28
|
+
def resource_type
|
29
|
+
'PractitionerRole'
|
30
|
+
end
|
31
|
+
|
32
|
+
def self.metadata
|
33
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
34
|
+
end
|
35
|
+
|
36
|
+
def scratch_resources
|
37
|
+
scratch[:practitioner_role_resources] ||= {}
|
38
|
+
end
|
39
|
+
|
40
|
+
run do
|
41
|
+
perform_must_support_test(all_scratch_resources)
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -3,21 +3,16 @@ require_relative '../../../generator/group_metadata'
|
|
3
3
|
|
4
4
|
module USCoreTestKit
|
5
5
|
module USCoreV700_BALLOT
|
6
|
-
class
|
6
|
+
class PractitionerRolePractitionerSearchTest < Inferno::Test
|
7
7
|
include USCoreTestKit::SearchTest
|
8
8
|
|
9
|
-
title 'Server returns valid results for
|
9
|
+
title 'Server returns valid results for PractitionerRole search by practitioner'
|
10
10
|
description %(
|
11
11
|
A server SHALL support searching by
|
12
|
-
|
12
|
+
practitioner on the PractitionerRole resource. This test
|
13
13
|
will pass if resources are returned and match the search criteria. If
|
14
14
|
none are returned, the test is skipped.
|
15
15
|
|
16
|
-
This test verifies that the server supports searching by reference using
|
17
|
-
the form `patient=[id]` as well as `patient=Patient/[id]`. The two
|
18
|
-
different forms are expected to return the same number of results. US
|
19
|
-
Core requires that both forms are supported by US Core responders.
|
20
|
-
|
21
16
|
Because this is the first search of the sequence, resources in the
|
22
17
|
response will be used for subsequent tests.
|
23
18
|
|
@@ -30,20 +25,13 @@ requirement of US Core v7.0.0-ballot.
|
|
30
25
|
|
31
26
|
)
|
32
27
|
|
33
|
-
id :
|
34
|
-
input :patient_ids,
|
35
|
-
title: 'Patient IDs',
|
36
|
-
description: 'Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements'
|
37
|
-
|
28
|
+
id :us_core_v700_ballot_practitioner_role_practitioner_search_test
|
38
29
|
def self.properties
|
39
30
|
@properties ||= SearchTestProperties.new(
|
40
31
|
first_search: true,
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
possible_status_search: true,
|
45
|
-
token_search_params: ['code'],
|
46
|
-
test_reference_variants: true,
|
32
|
+
resource_type: 'PractitionerRole',
|
33
|
+
search_param_names: ['practitioner'],
|
34
|
+
saves_delayed_references: true,
|
47
35
|
test_post_search: true
|
48
36
|
)
|
49
37
|
end
|
@@ -53,7 +41,7 @@ requirement of US Core v7.0.0-ballot.
|
|
53
41
|
end
|
54
42
|
|
55
43
|
def scratch_resources
|
56
|
-
scratch[:
|
44
|
+
scratch[:practitioner_role_resources] ||= {}
|
57
45
|
end
|
58
46
|
|
59
47
|
run do
|
data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner_role/practitioner_role_read_test.rb
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
require_relative '../../../read_test'
|
2
|
+
|
3
|
+
module USCoreTestKit
|
4
|
+
module USCoreV700_BALLOT
|
5
|
+
class PractitionerRoleReadTest < Inferno::Test
|
6
|
+
include USCoreTestKit::ReadTest
|
7
|
+
|
8
|
+
title 'Server returns correct PractitionerRole resource from PractitionerRole read interaction'
|
9
|
+
description 'A server SHALL support the PractitionerRole read interaction.'
|
10
|
+
|
11
|
+
id :us_core_v700_ballot_practitioner_role_read_test
|
12
|
+
|
13
|
+
def resource_type
|
14
|
+
'PractitionerRole'
|
15
|
+
end
|
16
|
+
|
17
|
+
def scratch_resources
|
18
|
+
scratch[:practitioner_role_resources] ||= {}
|
19
|
+
end
|
20
|
+
|
21
|
+
run do
|
22
|
+
perform_read_test(scratch.dig(:references, 'PractitionerRole'))
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
require_relative '../../../reference_resolution_test'
|
2
|
+
|
3
|
+
module USCoreTestKit
|
4
|
+
module USCoreV700_BALLOT
|
5
|
+
class PractitionerRoleReferenceResolutionTest < Inferno::Test
|
6
|
+
include USCoreTestKit::ReferenceResolutionTest
|
7
|
+
|
8
|
+
title 'MustSupport references within PractitionerRole resources are valid'
|
9
|
+
description %(
|
10
|
+
This test will attempt to read external references provided within elements
|
11
|
+
marked as 'MustSupport', if any are available.
|
12
|
+
|
13
|
+
It verifies that at least one external reference for each MustSupport Reference element
|
14
|
+
can be accessed by the test client, and conforms to corresponding US Core profile.
|
15
|
+
|
16
|
+
Elements which may provide external references include:
|
17
|
+
|
18
|
+
* PractitionerRole.endpoint
|
19
|
+
* PractitionerRole.location
|
20
|
+
* PractitionerRole.organization
|
21
|
+
* PractitionerRole.practitioner
|
22
|
+
)
|
23
|
+
|
24
|
+
id :us_core_v700_ballot_practitioner_role_reference_resolution_test
|
25
|
+
|
26
|
+
def resource_type
|
27
|
+
'PractitionerRole'
|
28
|
+
end
|
29
|
+
|
30
|
+
def self.metadata
|
31
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
32
|
+
end
|
33
|
+
|
34
|
+
def scratch_resources
|
35
|
+
scratch[:practitioner_role_resources] ||= {}
|
36
|
+
end
|
37
|
+
|
38
|
+
run do
|
39
|
+
perform_reference_resolution_test(scratch_resources[:all])
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -3,13 +3,13 @@ require_relative '../../../generator/group_metadata'
|
|
3
3
|
|
4
4
|
module USCoreTestKit
|
5
5
|
module USCoreV700_BALLOT
|
6
|
-
class
|
6
|
+
class PractitionerRoleSpecialtySearchTest < Inferno::Test
|
7
7
|
include USCoreTestKit::SearchTest
|
8
8
|
|
9
|
-
title 'Server returns valid results for
|
9
|
+
title 'Server returns valid results for PractitionerRole search by specialty'
|
10
10
|
description %(
|
11
11
|
A server SHALL support searching by
|
12
|
-
|
12
|
+
specialty on the PractitionerRole resource. This test
|
13
13
|
will pass if resources are returned and match the search criteria. If
|
14
14
|
none are returned, the test is skipped.
|
15
15
|
|
@@ -17,18 +17,12 @@ none are returned, the test is skipped.
|
|
17
17
|
|
18
18
|
)
|
19
19
|
|
20
|
-
id :
|
21
|
-
input :patient_ids,
|
22
|
-
title: 'Patient IDs',
|
23
|
-
description: 'Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements'
|
24
|
-
|
20
|
+
id :us_core_v700_ballot_practitioner_role_specialty_search_test
|
25
21
|
def self.properties
|
26
22
|
@properties ||= SearchTestProperties.new(
|
27
|
-
resource_type: '
|
28
|
-
search_param_names: ['
|
29
|
-
|
30
|
-
token_search_params: ['category'],
|
31
|
-
params_with_comparators: ['date']
|
23
|
+
resource_type: 'PractitionerRole',
|
24
|
+
search_param_names: ['specialty'],
|
25
|
+
token_search_params: ['specialty']
|
32
26
|
)
|
33
27
|
end
|
34
28
|
|
@@ -37,7 +31,7 @@ none are returned, the test is skipped.
|
|
37
31
|
end
|
38
32
|
|
39
33
|
def scratch_resources
|
40
|
-
scratch[:
|
34
|
+
scratch[:practitioner_role_resources] ||= {}
|
41
35
|
end
|
42
36
|
|
43
37
|
run do
|
@@ -0,0 +1,40 @@
|
|
1
|
+
require_relative '../../../validation_test'
|
2
|
+
|
3
|
+
module USCoreTestKit
|
4
|
+
module USCoreV700_BALLOT
|
5
|
+
class PractitionerRoleValidationTest < Inferno::Test
|
6
|
+
include USCoreTestKit::ValidationTest
|
7
|
+
|
8
|
+
id :us_core_v700_ballot_practitioner_role_validation_test
|
9
|
+
title 'PractitionerRole resources returned during previous tests conform to the US Core PractitionerRole Profile'
|
10
|
+
description %(
|
11
|
+
This test verifies resources returned from the first search conform to
|
12
|
+
the [US Core PractitionerRole Profile](http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole).
|
13
|
+
Systems must demonstrate at least one valid example in order to pass this test.
|
14
|
+
|
15
|
+
It verifies the presence of mandatory elements and that elements with
|
16
|
+
required bindings contain appropriate values. CodeableConcept element
|
17
|
+
bindings will fail if none of their codings have a code/system belonging
|
18
|
+
to the bound ValueSet. Quantity, Coding, and code element bindings will
|
19
|
+
fail if their code/system are not found in the valueset.
|
20
|
+
|
21
|
+
)
|
22
|
+
output :dar_code_found, :dar_extension_found
|
23
|
+
|
24
|
+
def resource_type
|
25
|
+
'PractitionerRole'
|
26
|
+
end
|
27
|
+
|
28
|
+
def scratch_resources
|
29
|
+
scratch[:practitioner_role_resources] ||= {}
|
30
|
+
end
|
31
|
+
|
32
|
+
run do
|
33
|
+
perform_validation_test(scratch_resources[:all] || [],
|
34
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole',
|
35
|
+
'7.0.0-ballot',
|
36
|
+
skip_if_empty: true)
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,89 @@
|
|
1
|
+
require_relative 'practitioner_role/practitioner_role_read_test'
|
2
|
+
require_relative 'practitioner_role/practitioner_role_practitioner_search_test'
|
3
|
+
require_relative 'practitioner_role/practitioner_role_specialty_search_test'
|
4
|
+
require_relative 'practitioner_role/practitioner_role_validation_test'
|
5
|
+
require_relative 'practitioner_role/practitioner_role_must_support_test'
|
6
|
+
require_relative 'practitioner_role/practitioner_role_reference_resolution_test'
|
7
|
+
|
8
|
+
module USCoreTestKit
|
9
|
+
module USCoreV700_BALLOT
|
10
|
+
class PractitionerRoleGroup < Inferno::TestGroup
|
11
|
+
title 'PractitionerRole Tests'
|
12
|
+
short_description 'Verify support for the server capabilities required by the US Core PractitionerRole Profile.'
|
13
|
+
description %(
|
14
|
+
# Background
|
15
|
+
|
16
|
+
The US Core PractitionerRole sequence verifies that the system under test is
|
17
|
+
able to provide correct responses for PractitionerRole queries. These queries
|
18
|
+
must contain resources conforming to the US Core PractitionerRole Profile as
|
19
|
+
specified in the US Core v7.0.0-ballot Implementation Guide.
|
20
|
+
|
21
|
+
# Testing Methodology
|
22
|
+
## Searching
|
23
|
+
This test sequence will first perform each required search associated
|
24
|
+
with this resource. This sequence will perform searches with the
|
25
|
+
following parameters:
|
26
|
+
|
27
|
+
* practitioner
|
28
|
+
* specialty
|
29
|
+
|
30
|
+
### Search Parameters
|
31
|
+
The first search uses the selected patient(s) from the prior launch
|
32
|
+
sequence. Any subsequent searches will look for its parameter values
|
33
|
+
from the results of the first search. For example, the `identifier`
|
34
|
+
search in the patient sequence is performed by looking for an existing
|
35
|
+
`Patient.identifier` from any of the resources returned in the `_id`
|
36
|
+
search. If a value cannot be found this way, the search is skipped.
|
37
|
+
|
38
|
+
### Search Validation
|
39
|
+
Inferno will retrieve up to the first 20 bundle pages of the reply for
|
40
|
+
PractitionerRole resources and save them for subsequent tests. Each of
|
41
|
+
these resources is then checked to see if it matches the searched
|
42
|
+
parameters in accordance with [FHIR search
|
43
|
+
guidelines](https://www.hl7.org/fhir/search.html). The test will fail,
|
44
|
+
for example, if a Patient search for `gender=male` returns a `female`
|
45
|
+
patient.
|
46
|
+
|
47
|
+
|
48
|
+
## Must Support
|
49
|
+
Each profile contains elements marked as "must support". This test
|
50
|
+
sequence expects to see each of these elements at least once. If at
|
51
|
+
least one cannot be found, the test will fail. The test will look
|
52
|
+
through the PractitionerRole resources found in the first test for these
|
53
|
+
elements.
|
54
|
+
|
55
|
+
## Profile Validation
|
56
|
+
Each resource returned from the first search is expected to conform to
|
57
|
+
the [US Core PractitionerRole Profile](http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole). Each element is checked against
|
58
|
+
teminology binding and cardinality requirements.
|
59
|
+
|
60
|
+
Elements with a required binding are validated against their bound
|
61
|
+
ValueSet. If the code/system in the element is not part of the ValueSet,
|
62
|
+
then the test will fail.
|
63
|
+
|
64
|
+
## Reference Validation
|
65
|
+
At least one instance of each external reference in elements marked as
|
66
|
+
"must support" within the resources provided by the system must resolve.
|
67
|
+
The test will attempt to read each reference found and will fail if no
|
68
|
+
read succeeds.
|
69
|
+
|
70
|
+
)
|
71
|
+
|
72
|
+
id :us_core_v700_ballot_practitioner_role
|
73
|
+
run_as_group
|
74
|
+
optional
|
75
|
+
|
76
|
+
|
77
|
+
def self.metadata
|
78
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'practitioner_role', 'metadata.yml'), aliases: true))
|
79
|
+
end
|
80
|
+
|
81
|
+
test from: :us_core_v700_ballot_practitioner_role_read_test
|
82
|
+
test from: :us_core_v700_ballot_practitioner_role_practitioner_search_test
|
83
|
+
test from: :us_core_v700_ballot_practitioner_role_specialty_search_test
|
84
|
+
test from: :us_core_v700_ballot_practitioner_role_validation_test
|
85
|
+
test from: :us_core_v700_ballot_practitioner_role_must_support_test
|
86
|
+
test from: :us_core_v700_ballot_practitioner_role_reference_resolution_test
|
87
|
+
end
|
88
|
+
end
|
89
|
+
end
|
@@ -48,12 +48,13 @@ require_relative 'observation_clinical_result_group'
|
|
48
48
|
require_relative 'pediatric_bmi_for_age_group'
|
49
49
|
require_relative 'head_circumference_percentile_group'
|
50
50
|
require_relative 'body_weight_group'
|
51
|
-
require_relative 'vital_signs_group'
|
52
51
|
require_relative 'procedure_group'
|
53
52
|
require_relative 'questionnaire_response_group'
|
54
53
|
require_relative 'service_request_group'
|
54
|
+
require_relative 'location_group'
|
55
55
|
require_relative 'organization_group'
|
56
56
|
require_relative 'practitioner_group'
|
57
|
+
require_relative 'practitioner_role_group'
|
57
58
|
require_relative 'provenance_group'
|
58
59
|
require_relative 'related_person_group'
|
59
60
|
require_relative 'specimen_group'
|
@@ -85,7 +86,8 @@ module USCoreTestKit
|
|
85
86
|
/Observation\.effective\.ofType\(Period\): .*us-core-1:/, # Invalid invariant in US Core v3.1.1
|
86
87
|
/Provenance.agent\[\d*\]: Rule provenance-1/, #Invalid invariant in US Core v5.0.1
|
87
88
|
%r{Unknown Code System 'http://hl7.org/fhir/us/core/CodeSystem/us-core-tags'}, # Validator has an issue with this US Core 5 code system in US Core 6 resource
|
88
|
-
%r{URL value 'http://hl7.org/fhir/us/core/CodeSystem/us-core-tags' does not resolve} # Validator has an issue with this US Core 5 code system in US Core 6 resource
|
89
|
+
%r{URL value 'http://hl7.org/fhir/us/core/CodeSystem/us-core-tags' does not resolve}, # Validator has an issue with this US Core 5 code system in US Core 6 resource
|
90
|
+
%r{Observation.component\[\d+\].value.ofType\(Quantity\): The code provided \(http://unitsofmeasure.org#L/min\) was not found in the value set 'Vital Signs Units'} # Known issue with the Pulse Oximetry Profile
|
89
91
|
].freeze
|
90
92
|
|
91
93
|
VERSION_SPECIFIC_MESSAGE_FILTERS = [].freeze
|
@@ -193,12 +195,13 @@ module USCoreTestKit
|
|
193
195
|
group from: :us_core_v700_ballot_pediatric_bmi_for_age
|
194
196
|
group from: :us_core_v700_ballot_head_circumference_percentile
|
195
197
|
group from: :us_core_v700_ballot_body_weight
|
196
|
-
group from: :us_core_v700_ballot_vital_signs
|
197
198
|
group from: :us_core_v700_ballot_procedure
|
198
199
|
group from: :us_core_v700_ballot_questionnaire_response
|
199
200
|
group from: :us_core_v700_ballot_service_request
|
201
|
+
group from: :us_core_v700_ballot_location
|
200
202
|
group from: :us_core_v700_ballot_organization
|
201
203
|
group from: :us_core_v700_ballot_practitioner
|
204
|
+
group from: :us_core_v700_ballot_practitioner_role
|
202
205
|
group from: :us_core_v700_ballot_provenance
|
203
206
|
group from: :us_core_v700_ballot_related_person
|
204
207
|
group from: :us_core_v700_ballot_specimen
|
@@ -95,8 +95,8 @@ module USCoreTestKit
|
|
95
95
|
|
96
96
|
|
97
97
|
def optional?
|
98
|
-
resource_type
|
99
|
-
profile_url
|
98
|
+
SpecialCases::OPTIONAL_RESOURCES.include?(resource_type) ||
|
99
|
+
SpecialCases::OPTIONAL_PROFILES.include?(profile_url)
|
100
100
|
end
|
101
101
|
|
102
102
|
def generate
|
@@ -1,3 +1,5 @@
|
|
1
|
+
require_relative 'special_cases'
|
2
|
+
|
1
3
|
module USCoreTestKit
|
2
4
|
class Generator
|
3
5
|
class GroupMetadata
|
@@ -50,7 +52,7 @@ module USCoreTestKit
|
|
50
52
|
end
|
51
53
|
|
52
54
|
def exclude_search_tests?
|
53
|
-
delayed? && !searchable_delayed_resource
|
55
|
+
delayed? && !searchable_delayed_resource?
|
54
56
|
end
|
55
57
|
|
56
58
|
def no_patient_searches?
|
@@ -9,6 +9,7 @@ module USCoreTestKit
|
|
9
9
|
def initialize(ig_resources)
|
10
10
|
self.ig_resources = ig_resources
|
11
11
|
add_missing_supported_profiles
|
12
|
+
remove_version_from_supported_profiles
|
12
13
|
remove_extra_supported_profiles
|
13
14
|
self.metadata = IGMetadata.new
|
14
15
|
end
|
@@ -52,6 +53,12 @@ module USCoreTestKit
|
|
52
53
|
end
|
53
54
|
end
|
54
55
|
|
56
|
+
def remove_version_from_supported_profiles
|
57
|
+
resources_in_capability_statement.each do |resource|
|
58
|
+
resource.supportedProfile.map! { |profile_url| profile_url.split('|').first }
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
55
62
|
def remove_extra_supported_profiles
|
56
63
|
ig_resources.capability_statement.rest.first.resource
|
57
64
|
.find { |resource| resource.type == 'Observation' }
|
@@ -64,7 +71,7 @@ module USCoreTestKit
|
|
64
71
|
metadata.groups =
|
65
72
|
resources_in_capability_statement.flat_map do |resource|
|
66
73
|
resource.supportedProfile&.map do |supported_profile|
|
67
|
-
supported_profile = supported_profile.split('|').first
|
74
|
+
#supported_profile = supported_profile.split('|').first
|
68
75
|
next if supported_profile == 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire'
|
69
76
|
|
70
77
|
GroupMetadataExtractor.new(resource, supported_profile, metadata, ig_resources).group_metadata
|