davinci_pas_test_kit 0.12.2 → 0.13.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/pas_server_subscription_creation_against_pas_client.json +32 -0
- data/lib/davinci_pas_test_kit/certs/InfernoCA.key +52 -0
- data/lib/davinci_pas_test_kit/certs/InfernoCA.pem +35 -0
- data/lib/davinci_pas_test_kit/certs/TestKit.pem +32 -0
- data/lib/davinci_pas_test_kit/certs/TestKitPrivateKey.key +28 -0
- data/lib/davinci_pas_test_kit/client_suite.rb +141 -100
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_registration/configuration_other_display_test.rb +46 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_registration/configuration_smart_display_test.rb +37 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_registration/configuration_udap_display_test.rb +37 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_registration/other_auth_attest_test.rb +36 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_approval_submit_test.rb +21 -10
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_denial_submit_test.rb +20 -10
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_inquire_must_support_test.rb +21 -9
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_pended_submit_test.rb +24 -14
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_response_attest.rb +4 -9
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_submit_must_support_test.rb +21 -9
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_subscription_create_test.rb +23 -13
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_subscription_pas_conformance_test.rb +5 -24
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/error_tests/pas_inquiry_error_test.rb +1 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/error_tests/pas_submission_error_test.rb +3 -1
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/notification/pas_subscription_notification_test.rb +24 -20
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_client_approval_group.rb +6 -4
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_client_auth_smart_group.rb +32 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_client_auth_udap_group.rb +31 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_client_denial_group.rb +10 -4
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_client_must_support_group.rb +29 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_client_options.rb +25 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_client_pended_group.rb +11 -4
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_client_registration_group.rb +63 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_client_subscription_setup_group.rb +23 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_client_workflows_group.rb +21 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_server_subscription_input_conformance.rb +35 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_server_subscription_setup.rb +43 -0
- data/lib/davinci_pas_test_kit/descriptions.rb +10 -0
- data/lib/davinci_pas_test_kit/docs/client_suite_description_v201.md +203 -79
- data/lib/davinci_pas_test_kit/docs/demo/PAS Client Suite Demonstration.postman_collection.json +246 -0
- data/lib/davinci_pas_test_kit/docs/server_suite_description_v201.md +21 -10
- data/lib/davinci_pas_test_kit/endpoints/claim_endpoint.rb +13 -1
- data/lib/davinci_pas_test_kit/endpoints/subscription_create_endpoint.rb +13 -1
- data/lib/davinci_pas_test_kit/endpoints/subscription_status_endpoint.rb +10 -1
- data/lib/davinci_pas_test_kit/endpoints/token_endpoint.rb +29 -15
- data/lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/metadata.yml +2 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/claim/claim_operation_test.rb +1 -2
- data/lib/davinci_pas_test_kit/generated/v2.0.1/claim/metadata.yml +28 -17
- data/lib/davinci_pas_test_kit/generated/v2.0.1/claim_inquiry/claim_inquiry_operation_test.rb +1 -2
- data/lib/davinci_pas_test_kit/generated/v2.0.1/claim_inquiry/client_inquire_request_claim_inquiry_must_support_test.rb +4 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/claim_inquiry/metadata.yml +7 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/claim_inquiry/server_inquire_request_claim_inquiry_must_support_test.rb +3 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/claim_update/client_submit_request_claim_update_must_support_test.rb +9 -3
- data/lib/davinci_pas_test_kit/generated/v2.0.1/claim_update/metadata.yml +28 -17
- data/lib/davinci_pas_test_kit/generated/v2.0.1/claim_update/server_submit_request_claim_update_must_support_test.rb +9 -3
- data/lib/davinci_pas_test_kit/generated/v2.0.1/claiminquiryresponse/metadata.yml +6 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/claiminquiryresponse/server_inquire_response_claiminquiryresponse_must_support_test.rb +1 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/claimresponse/metadata.yml +8 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/claimresponse/server_submit_response_claimresponse_must_support_test.rb +1 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/communication_request/metadata.yml +4 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/coverage/metadata.yml +11 -5
- data/lib/davinci_pas_test_kit/generated/v2.0.1/device_request/metadata.yml +2 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/encounter/metadata.yml +6 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/insurer/metadata.yml +4 -2
- data/lib/davinci_pas_test_kit/generated/v2.0.1/medication_request/metadata.yml +2 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/metadata.yml +153 -53
- data/lib/davinci_pas_test_kit/generated/v2.0.1/nutrition_order/metadata.yml +2 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_request_bundle/metadata.yml +2 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_request_bundle/server_pas_inquiry_request_bundle_validation_test.rb +0 -2
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_response_bundle/metadata.yml +2 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_response_bundle/server_pas_inquiry_response_bundle_validation_test.rb +2 -3
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_request_bundle/metadata.yml +2 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_request_bundle/server_pas_request_bundle_validation_test.rb +0 -2
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_response_bundle/metadata.yml +2 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_response_bundle/server_pas_response_bundle_validation_test.rb +2 -3
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_server_approval_use_case_group.rb +0 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_server_denial_use_case_group.rb +0 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_server_must_support_use_case_group.rb +3 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_server_pended_use_case_group.rb +10 -3
- data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/metadata.yml +2 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/metadata.yml +4 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/requestor/metadata.yml +4 -2
- data/lib/davinci_pas_test_kit/generated/v2.0.1/server_suite.rb +8 -5
- data/lib/davinci_pas_test_kit/generated/v2.0.1/service_request/metadata.yml +2 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/task/metadata.yml +4 -0
- data/lib/davinci_pas_test_kit/generator/group_generator.rb +20 -4
- data/lib/davinci_pas_test_kit/generator/group_metadata_extractor.rb +2 -2
- data/lib/davinci_pas_test_kit/generator/ig_resources.rb +4 -0
- data/lib/davinci_pas_test_kit/generator/must_support_test_generator.rb +14 -3
- data/lib/davinci_pas_test_kit/generator/operation_test_generator.rb +16 -3
- data/lib/davinci_pas_test_kit/generator/templates/group.rb.erb +10 -3
- data/lib/davinci_pas_test_kit/generator/templates/must_support.rb.erb +3 -0
- data/lib/davinci_pas_test_kit/generator/templates/operation.rb.erb +4 -1
- data/lib/davinci_pas_test_kit/generator/templates/suite.rb.erb +8 -5
- data/lib/davinci_pas_test_kit/generator/templates/validation.rb.erb +5 -4
- data/lib/davinci_pas_test_kit/generator/validation_test_generator.rb +12 -1
- data/lib/davinci_pas_test_kit/must_support_test.rb +2 -202
- data/lib/davinci_pas_test_kit/pas_subscription_verification.rb +30 -0
- data/lib/davinci_pas_test_kit/requirements/generated/davinci-pas-test-kit_requirements_coverage.csv +58 -58
- data/lib/davinci_pas_test_kit/session_identification.rb +45 -0
- data/lib/davinci_pas_test_kit/tags.rb +1 -0
- data/lib/davinci_pas_test_kit/urls.rb +61 -9
- data/lib/davinci_pas_test_kit/version.rb +2 -2
- data/lib/requirements_config.yaml +1 -1
- metadata +54 -8
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_token_request_test.rb +0 -31
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_token_validation_test.rb +0 -18
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_client_authentication_group.rb +0 -49
- data/lib/davinci_pas_test_kit/generator/must_support_metadata_extractor.rb +0 -327
@@ -81,25 +81,29 @@
|
|
81
81
|
:path: item.extension
|
82
82
|
:url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-requestedService
|
83
83
|
:slices:
|
84
|
-
- :
|
84
|
+
- :slice_id: Claim.supportingInfo:AdditionalInformation
|
85
|
+
:slice_name: AdditionalInformation
|
85
86
|
:path: supportingInfo
|
86
87
|
:discriminator:
|
87
|
-
:type:
|
88
|
-
:
|
89
|
-
|
90
|
-
|
91
|
-
- :
|
88
|
+
:type: patternCodeableConcept
|
89
|
+
:path: category
|
90
|
+
:code: additionalInformation
|
91
|
+
:system: http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes
|
92
|
+
- :slice_id: Claim.supportingInfo:MessageText
|
93
|
+
:slice_name: MessageText
|
92
94
|
:path: supportingInfo
|
93
95
|
:discriminator:
|
94
|
-
:type:
|
95
|
-
:
|
96
|
-
|
97
|
-
|
96
|
+
:type: patternCodeableConcept
|
97
|
+
:path: category
|
98
|
+
:code: freeFormMessage
|
99
|
+
:system: http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes
|
98
100
|
:elements:
|
99
101
|
- :path: identifier
|
100
102
|
- :path: insurer
|
101
103
|
:types:
|
102
104
|
- Reference
|
105
|
+
:target_profiles:
|
106
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-insurer
|
103
107
|
- :path: provider
|
104
108
|
:types:
|
105
109
|
- Reference
|
@@ -111,14 +115,19 @@
|
|
111
115
|
- :path: careTeam.role
|
112
116
|
- :path: careTeam.qualification
|
113
117
|
- :path: supportingInfo
|
114
|
-
- :path: supportingInfo.category
|
115
|
-
- :path: supportingInfo.timing[x]
|
116
|
-
- :path: supportingInfo.category.coding.code
|
117
|
-
:fixed_value: additionalInformation
|
118
118
|
- :path: supportingInfo.sequence
|
119
|
-
- :path: supportingInfo.category
|
120
|
-
|
121
|
-
- :path: supportingInfo.
|
119
|
+
- :path: supportingInfo.category
|
120
|
+
- :path: supportingInfo:PatientEvent.timing[x]
|
121
|
+
- :path: supportingInfo:AdmissionDates.timing[x]
|
122
|
+
- :path: supportingInfo:DischargeDates.timing[x]
|
123
|
+
- :path: supportingInfo:AdditionalInformation.sequence
|
124
|
+
- :path: supportingInfo:AdditionalInformation.category
|
125
|
+
- :path: supportingInfo:AdditionalInformation.value[x]
|
126
|
+
:types:
|
127
|
+
- Reference
|
128
|
+
- :path: supportingInfo:MessageText.sequence
|
129
|
+
- :path: supportingInfo:MessageText.category
|
130
|
+
- :path: supportingInfo:MessageText.value[x]
|
122
131
|
- :path: diagnosis
|
123
132
|
- :path: diagnosis.sequence
|
124
133
|
- :path: diagnosis.diagnosis[x]
|
@@ -128,6 +137,8 @@
|
|
128
137
|
- :path: insurance.coverage
|
129
138
|
:types:
|
130
139
|
- Reference
|
140
|
+
:target_profiles:
|
141
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-coverage
|
131
142
|
- :path: accident
|
132
143
|
- :path: accident.date
|
133
144
|
- :path: accident.type
|
data/lib/davinci_pas_test_kit/generated/v2.0.1/claim_inquiry/claim_inquiry_operation_test.rb
CHANGED
@@ -9,9 +9,8 @@ module DaVinciPASTestKit
|
|
9
9
|
the /Claim/$inquire endpoint.
|
10
10
|
This test submits a Prior Authorization Inquiry request to the server and verifies that a
|
11
11
|
response is returned with HTTP status 2XX.
|
12
|
-
|
13
|
-
|
14
12
|
)
|
13
|
+
verifies_requirements 'hl7.fhir.us.davinci-pas_2.0.1@5', 'hl7.fhir.us.davinci-pas_2.0.1@111', 'hl7.fhir.us.davinci-pas_2.0.1@208'
|
15
14
|
|
16
15
|
input :pa_inquire_request_payload,
|
17
16
|
title: 'PAS Inquire Request Payload',
|
@@ -64,8 +64,11 @@ module DaVinciPASTestKit
|
|
64
64
|
* Claim.supportingInfo
|
65
65
|
* Claim.supportingInfo.category
|
66
66
|
* Claim.supportingInfo.sequence
|
67
|
-
* Claim.supportingInfo.timing[x]
|
67
|
+
* Claim.supportingInfo:AdmissionDates.timing[x]
|
68
|
+
* Claim.supportingInfo:DischargeDates.timing[x]
|
69
|
+
* Claim.supportingInfo:PatientEvent.timing[x]
|
68
70
|
)
|
71
|
+
verifies_requirements 'hl7.fhir.us.davinci-pas_2.0.1@36'
|
69
72
|
|
70
73
|
id :pas_client_inquire_request_v201_claim_inquiry_must_support_test
|
71
74
|
|
@@ -80,6 +80,8 @@
|
|
80
80
|
- :path: insurer
|
81
81
|
:types:
|
82
82
|
- Reference
|
83
|
+
:target_profiles:
|
84
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-insurer
|
83
85
|
- :path: provider
|
84
86
|
:types:
|
85
87
|
- Reference
|
@@ -93,7 +95,9 @@
|
|
93
95
|
- :path: supportingInfo
|
94
96
|
- :path: supportingInfo.sequence
|
95
97
|
- :path: supportingInfo.category
|
96
|
-
- :path: supportingInfo.timing[x]
|
98
|
+
- :path: supportingInfo:PatientEvent.timing[x]
|
99
|
+
- :path: supportingInfo:AdmissionDates.timing[x]
|
100
|
+
- :path: supportingInfo:DischargeDates.timing[x]
|
97
101
|
- :path: diagnosis
|
98
102
|
- :path: diagnosis.sequence
|
99
103
|
- :path: diagnosis.diagnosis[x]
|
@@ -103,6 +107,8 @@
|
|
103
107
|
- :path: insurance.coverage
|
104
108
|
:types:
|
105
109
|
- Reference
|
110
|
+
:target_profiles:
|
111
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-coverage
|
106
112
|
- :path: accident
|
107
113
|
- :path: accident.date
|
108
114
|
- :path: accident.type
|
@@ -66,7 +66,9 @@ module DaVinciPASTestKit
|
|
66
66
|
* Claim.supportingInfo
|
67
67
|
* Claim.supportingInfo.category
|
68
68
|
* Claim.supportingInfo.sequence
|
69
|
-
* Claim.supportingInfo.timing[x]
|
69
|
+
* Claim.supportingInfo:AdmissionDates.timing[x]
|
70
|
+
* Claim.supportingInfo:DischargeDates.timing[x]
|
71
|
+
* Claim.supportingInfo:PatientEvent.timing[x]
|
70
72
|
)
|
71
73
|
|
72
74
|
id :pas_server_inquire_request_v201_claim_inquiry_must_support_test
|
@@ -66,12 +66,18 @@ module DaVinciPASTestKit
|
|
66
66
|
* Claim.provider
|
67
67
|
* Claim.supportingInfo
|
68
68
|
* Claim.supportingInfo.category
|
69
|
-
* Claim.supportingInfo.category.coding.code
|
70
69
|
* Claim.supportingInfo.sequence
|
71
|
-
* Claim.supportingInfo.timing[x]
|
72
|
-
* Claim.supportingInfo.value[x]
|
73
70
|
* Claim.supportingInfo:AdditionalInformation
|
71
|
+
* Claim.supportingInfo:AdditionalInformation.category
|
72
|
+
* Claim.supportingInfo:AdditionalInformation.sequence
|
73
|
+
* Claim.supportingInfo:AdditionalInformation.value[x]
|
74
|
+
* Claim.supportingInfo:AdmissionDates.timing[x]
|
75
|
+
* Claim.supportingInfo:DischargeDates.timing[x]
|
74
76
|
* Claim.supportingInfo:MessageText
|
77
|
+
* Claim.supportingInfo:MessageText.category
|
78
|
+
* Claim.supportingInfo:MessageText.sequence
|
79
|
+
* Claim.supportingInfo:MessageText.value[x]
|
80
|
+
* Claim.supportingInfo:PatientEvent.timing[x]
|
75
81
|
)
|
76
82
|
|
77
83
|
id :pas_client_submit_request_v201_claim_update_must_support_test
|
@@ -81,25 +81,29 @@
|
|
81
81
|
:path: item.extension
|
82
82
|
:url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-requestedService
|
83
83
|
:slices:
|
84
|
-
- :
|
84
|
+
- :slice_id: Claim.supportingInfo:AdditionalInformation
|
85
|
+
:slice_name: AdditionalInformation
|
85
86
|
:path: supportingInfo
|
86
87
|
:discriminator:
|
87
|
-
:type:
|
88
|
-
:
|
89
|
-
|
90
|
-
|
91
|
-
- :
|
88
|
+
:type: patternCodeableConcept
|
89
|
+
:path: category
|
90
|
+
:code: additionalInformation
|
91
|
+
:system: http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes
|
92
|
+
- :slice_id: Claim.supportingInfo:MessageText
|
93
|
+
:slice_name: MessageText
|
92
94
|
:path: supportingInfo
|
93
95
|
:discriminator:
|
94
|
-
:type:
|
95
|
-
:
|
96
|
-
|
97
|
-
|
96
|
+
:type: patternCodeableConcept
|
97
|
+
:path: category
|
98
|
+
:code: freeFormMessage
|
99
|
+
:system: http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes
|
98
100
|
:elements:
|
99
101
|
- :path: identifier
|
100
102
|
- :path: insurer
|
101
103
|
:types:
|
102
104
|
- Reference
|
105
|
+
:target_profiles:
|
106
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-insurer
|
103
107
|
- :path: provider
|
104
108
|
:types:
|
105
109
|
- Reference
|
@@ -111,14 +115,19 @@
|
|
111
115
|
- :path: careTeam.role
|
112
116
|
- :path: careTeam.qualification
|
113
117
|
- :path: supportingInfo
|
114
|
-
- :path: supportingInfo.category
|
115
|
-
- :path: supportingInfo.timing[x]
|
116
|
-
- :path: supportingInfo.category.coding.code
|
117
|
-
:fixed_value: additionalInformation
|
118
118
|
- :path: supportingInfo.sequence
|
119
|
-
- :path: supportingInfo.category
|
120
|
-
|
121
|
-
- :path: supportingInfo.
|
119
|
+
- :path: supportingInfo.category
|
120
|
+
- :path: supportingInfo:PatientEvent.timing[x]
|
121
|
+
- :path: supportingInfo:AdmissionDates.timing[x]
|
122
|
+
- :path: supportingInfo:DischargeDates.timing[x]
|
123
|
+
- :path: supportingInfo:AdditionalInformation.sequence
|
124
|
+
- :path: supportingInfo:AdditionalInformation.category
|
125
|
+
- :path: supportingInfo:AdditionalInformation.value[x]
|
126
|
+
:types:
|
127
|
+
- Reference
|
128
|
+
- :path: supportingInfo:MessageText.sequence
|
129
|
+
- :path: supportingInfo:MessageText.category
|
130
|
+
- :path: supportingInfo:MessageText.value[x]
|
122
131
|
- :path: diagnosis
|
123
132
|
- :path: diagnosis.sequence
|
124
133
|
- :path: diagnosis.diagnosis[x]
|
@@ -128,6 +137,8 @@
|
|
128
137
|
- :path: insurance.coverage
|
129
138
|
:types:
|
130
139
|
- Reference
|
140
|
+
:target_profiles:
|
141
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-coverage
|
131
142
|
- :path: accident
|
132
143
|
- :path: accident.date
|
133
144
|
- :path: accident.type
|
@@ -68,12 +68,18 @@ module DaVinciPASTestKit
|
|
68
68
|
* Claim.provider
|
69
69
|
* Claim.supportingInfo
|
70
70
|
* Claim.supportingInfo.category
|
71
|
-
* Claim.supportingInfo.category.coding.code
|
72
71
|
* Claim.supportingInfo.sequence
|
73
|
-
* Claim.supportingInfo.timing[x]
|
74
|
-
* Claim.supportingInfo.value[x]
|
75
72
|
* Claim.supportingInfo:AdditionalInformation
|
73
|
+
* Claim.supportingInfo:AdditionalInformation.category
|
74
|
+
* Claim.supportingInfo:AdditionalInformation.sequence
|
75
|
+
* Claim.supportingInfo:AdditionalInformation.value[x]
|
76
|
+
* Claim.supportingInfo:AdmissionDates.timing[x]
|
77
|
+
* Claim.supportingInfo:DischargeDates.timing[x]
|
76
78
|
* Claim.supportingInfo:MessageText
|
79
|
+
* Claim.supportingInfo:MessageText.category
|
80
|
+
* Claim.supportingInfo:MessageText.sequence
|
81
|
+
* Claim.supportingInfo:MessageText.value[x]
|
82
|
+
* Claim.supportingInfo:PatientEvent.timing[x]
|
77
83
|
)
|
78
84
|
|
79
85
|
id :pas_server_submit_request_v201_claim_update_must_support_test
|
@@ -62,16 +62,22 @@
|
|
62
62
|
- :path: patient
|
63
63
|
:types:
|
64
64
|
- Reference
|
65
|
+
:target_profiles:
|
66
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-beneficiary
|
65
67
|
- :path: created
|
66
68
|
- :path: insurer
|
67
69
|
:types:
|
68
70
|
- Reference
|
71
|
+
:target_profiles:
|
72
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-insurer
|
69
73
|
- :path: requestor
|
70
74
|
:types:
|
71
75
|
- Reference
|
72
76
|
- :path: request
|
73
77
|
:types:
|
74
78
|
- Reference
|
79
|
+
:target_profiles:
|
80
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim
|
75
81
|
- :path: outcome
|
76
82
|
- :path: preAuthPeriod
|
77
83
|
- :path: item
|
@@ -44,7 +44,7 @@ module DaVinciPASTestKit
|
|
44
44
|
* ClaimResponse.requestor
|
45
45
|
* ClaimResponse.status
|
46
46
|
)
|
47
|
-
verifies_requirements 'hl7.fhir.us.davinci-pas_2.0.1@
|
47
|
+
verifies_requirements 'hl7.fhir.us.davinci-pas_2.0.1@38'
|
48
48
|
|
49
49
|
id :pas_server_inquire_response_v201_claiminquiryresponse_must_support_test
|
50
50
|
|
@@ -62,16 +62,22 @@
|
|
62
62
|
- :path: patient
|
63
63
|
:types:
|
64
64
|
- Reference
|
65
|
+
:target_profiles:
|
66
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-beneficiary
|
65
67
|
- :path: created
|
66
68
|
- :path: insurer
|
67
69
|
:types:
|
68
70
|
- Reference
|
71
|
+
:target_profiles:
|
72
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-insurer
|
69
73
|
- :path: requestor
|
70
74
|
:types:
|
71
75
|
- Reference
|
72
76
|
- :path: request
|
73
77
|
:types:
|
74
78
|
- Reference
|
79
|
+
:target_profiles:
|
80
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim
|
75
81
|
- :path: outcome
|
76
82
|
- :path: preAuthPeriod
|
77
83
|
- :path: item
|
@@ -80,6 +86,8 @@
|
|
80
86
|
- :path: communicationRequest
|
81
87
|
:types:
|
82
88
|
- Reference
|
89
|
+
:target_profiles:
|
90
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-communicationrequest
|
83
91
|
- :path: error
|
84
92
|
- :path: error.code
|
85
93
|
:mandatory_elements:
|
@@ -46,7 +46,7 @@ module DaVinciPASTestKit
|
|
46
46
|
* ClaimResponse.requestor
|
47
47
|
* ClaimResponse.status
|
48
48
|
)
|
49
|
-
verifies_requirements 'hl7.fhir.us.davinci-pas_2.0.1@
|
49
|
+
verifies_requirements 'hl7.fhir.us.davinci-pas_2.0.1@37', 'hl7.fhir.us.davinci-pas_2.0.1@110'
|
50
50
|
|
51
51
|
id :pas_server_submit_response_v201_claimresponse_must_support_test
|
52
52
|
|
@@ -35,12 +35,16 @@
|
|
35
35
|
- :path: requester
|
36
36
|
:types:
|
37
37
|
- Reference
|
38
|
+
:target_profiles:
|
39
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-insurer
|
38
40
|
- :path: recipient
|
39
41
|
:types:
|
40
42
|
- Reference
|
41
43
|
- :path: sender
|
42
44
|
:types:
|
43
45
|
- Reference
|
46
|
+
:target_profiles:
|
47
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-requestor
|
44
48
|
:mandatory_elements:
|
45
49
|
- CommunicationRequest.status
|
46
50
|
- CommunicationRequest.payload.content[x]
|
@@ -16,27 +16,33 @@
|
|
16
16
|
:must_supports:
|
17
17
|
:extensions: []
|
18
18
|
:slices:
|
19
|
-
- :
|
19
|
+
- :slice_id: Coverage.relationship.coding:X12Code
|
20
|
+
:slice_name: X12Code
|
20
21
|
:path: relationship.coding
|
21
22
|
:discriminator:
|
22
|
-
:type:
|
23
|
-
:
|
24
|
-
|
25
|
-
:value:
|
23
|
+
:type: requiredBinding
|
24
|
+
:path: ''
|
25
|
+
:values: []
|
26
26
|
:elements:
|
27
27
|
- :path: identifier
|
28
28
|
- :path: status
|
29
29
|
- :path: subscriber
|
30
30
|
:types:
|
31
31
|
- Reference
|
32
|
+
:target_profiles:
|
33
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-subscriber
|
32
34
|
- :path: subscriberId
|
33
35
|
- :path: beneficiary
|
34
36
|
:types:
|
35
37
|
- Reference
|
38
|
+
:target_profiles:
|
39
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-beneficiary
|
36
40
|
- :path: relationship
|
37
41
|
- :path: payor
|
38
42
|
:types:
|
39
43
|
- Reference
|
44
|
+
:target_profiles:
|
45
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-insurer
|
40
46
|
:mandatory_elements:
|
41
47
|
- Coverage.status
|
42
48
|
- Coverage.beneficiary
|
@@ -36,12 +36,16 @@
|
|
36
36
|
- :path: subject
|
37
37
|
:types:
|
38
38
|
- Reference
|
39
|
+
:target_profiles:
|
40
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-beneficiary
|
39
41
|
- :path: participant
|
40
42
|
- :path: participant.type
|
41
43
|
- :path: participant.period
|
42
44
|
- :path: participant.individual
|
43
45
|
:types:
|
44
46
|
- Reference
|
47
|
+
:target_profiles:
|
48
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner
|
45
49
|
- :path: period
|
46
50
|
- :path: reasonCode
|
47
51
|
- :path: hospitalization
|
@@ -51,6 +55,8 @@
|
|
51
55
|
- :path: location.location
|
52
56
|
:types:
|
53
57
|
- Reference
|
58
|
+
:target_profiles:
|
59
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-location
|
54
60
|
:mandatory_elements:
|
55
61
|
- Encounter.extension.url
|
56
62
|
- Encounter.identifier.system
|
@@ -17,13 +17,15 @@
|
|
17
17
|
:must_supports:
|
18
18
|
:extensions: []
|
19
19
|
:slices:
|
20
|
-
- :
|
20
|
+
- :slice_id: Organization.identifier:NPI
|
21
|
+
:slice_name: NPI
|
21
22
|
:path: identifier
|
22
23
|
:discriminator:
|
23
24
|
:type: patternIdentifier
|
24
25
|
:path: ''
|
25
26
|
:system: http://hl7.org/fhir/sid/us-npi
|
26
|
-
- :
|
27
|
+
- :slice_id: Organization.identifier:TIN
|
28
|
+
:slice_name: TIN
|
27
29
|
:path: identifier
|
28
30
|
:discriminator:
|
29
31
|
:type: patternIdentifier
|