davinci_pas_test_kit 0.12.1 → 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 +24 -10
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_denial_submit_test.rb +23 -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_inquire_request_bundle_validation_test.rb +4 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_pended_submit_test.rb +30 -14
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_request_bundle_validation_test.rb +6 -0
- 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 +24 -9
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_subscription_create_test.rb +26 -13
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_subscription_pas_conformance_test.rb +6 -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 -0
- 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 -1
- 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 -0
- 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 -0
- 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_bundle_validation.rb +4 -4
- data/lib/davinci_pas_test_kit/pas_subscription_verification.rb +30 -0
- data/lib/davinci_pas_test_kit/requirements/davinci-pas-test-kit_out_of_scope_requirements.csv +11 -0
- data/lib/davinci_pas_test_kit/requirements/davinci-pas-test-kit_requirements.csv +214 -0
- data/lib/davinci_pas_test_kit/requirements/generated/davinci-pas-test-kit_requirements_coverage.csv +214 -0
- 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/davinci_pas_test_kit.rb +1 -0
- data/lib/inferno_requirements_tools/ext/inferno_core/runnable.rb +22 -0
- data/lib/inferno_requirements_tools/tasks/requirements_coverage.rb +284 -0
- data/lib/requirements_config.yaml +17 -0
- metadata +62 -10
- 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
data/lib/davinci_pas_test_kit/docs/demo/PAS Client Suite Demonstration.postman_collection.json
ADDED
@@ -0,0 +1,246 @@
|
|
1
|
+
{
|
2
|
+
"info": {
|
3
|
+
"_postman_id": "060a6bb3-0909-4735-98b3-b1eac864fc43",
|
4
|
+
"name": "PAS Client Suite Demonstration",
|
5
|
+
"description": "Details on Variables:\n\n- base_url: points to a running instance of inferno. Typical values will be\n \n - Inferno production: [https://inferno.healthit.gov/suites](https://inferno.healthit.gov/suites)\n \n - Inferno QA: [https://inferno-qa.healthit.gov/suites](https://inferno-qa.healthit.gov/suites)\n \n - Local docker: [http://localhost](http://localhost)\n \n - Local development: [http://localhost:4567](http://localhost:4567)\n \n- session_url_path: used when the client suite is configured to use dedicated session endpoints. This will be the **Session-specific URL path extension** input surrounded by '/' (e.g., if the input is 'xyz', then this variable will be '/xyz/'. If dedicated session endpoints are not in use, this this value must be '/'.\n \n- access_token: used when the client suite is configured to use standards-based auth. Obtain the token using other means, e.g., the UDAP Security Server or SMART App Launch Servers tests, and then copy the resulting token into this variable.",
|
6
|
+
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
|
7
|
+
"_exporter_id": "32597978"
|
8
|
+
},
|
9
|
+
"item": [
|
10
|
+
{
|
11
|
+
"name": "Subscription Setup",
|
12
|
+
"item": [
|
13
|
+
{
|
14
|
+
"name": "Create Subscription Request",
|
15
|
+
"request": {
|
16
|
+
"method": "POST",
|
17
|
+
"header": [],
|
18
|
+
"body": {
|
19
|
+
"mode": "raw",
|
20
|
+
"raw": "{\n \"resourceType\" : \"Subscription\",\n \"meta\" : {\n \"profile\" : [\"http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription\"]\n },\n \"status\" : \"requested\",\n \"reason\" : \"Prior Authorization Update Notification Subscription\",\n \"criteria\" : \"http://hl7.org/fhir/us/davinci-pas/SubscriptionTopic/PASSubscriptionTopic\",\n \"_criteria\" : {\n \"extension\" : [{\n \"url\" : \"http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-filter-criteria\",\n \"valueString\" : \"identifier=8189991234\"\n }]\n },\n \"channel\" : {\n \"type\" : \"rest-hook\",\n \"endpoint\" : \"https://subscriptions.argo.run/fhir/r4/$subscription-hook\",\n \"payload\" : \"application/json\",\n \"_payload\" : {\n \"extension\" : [{\n \"url\" : \"http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-payload-content\",\n \"valueCode\" : \"id-only\"\n }]\n } \n }\n}",
|
21
|
+
"options": {
|
22
|
+
"raw": {
|
23
|
+
"language": "json"
|
24
|
+
}
|
25
|
+
}
|
26
|
+
},
|
27
|
+
"url": {
|
28
|
+
"raw": "{{base_url}}/custom/davinci_pas_client_suite_v201{{session_url_path}}fhir/Subscription",
|
29
|
+
"host": [
|
30
|
+
"{{base_url}}"
|
31
|
+
],
|
32
|
+
"path": [
|
33
|
+
"custom",
|
34
|
+
"davinci_pas_client_suite_v201{{session_url_path}}fhir",
|
35
|
+
"Subscription"
|
36
|
+
]
|
37
|
+
}
|
38
|
+
},
|
39
|
+
"response": []
|
40
|
+
}
|
41
|
+
]
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"name": "Approval Workflow",
|
45
|
+
"item": [
|
46
|
+
{
|
47
|
+
"name": "Prior Auth Request For Approval",
|
48
|
+
"request": {
|
49
|
+
"method": "POST",
|
50
|
+
"header": [
|
51
|
+
{
|
52
|
+
"key": "Authorization",
|
53
|
+
"value": "Bearer: {{access_token}}",
|
54
|
+
"type": "text"
|
55
|
+
}
|
56
|
+
],
|
57
|
+
"body": {
|
58
|
+
"mode": "raw",
|
59
|
+
"raw": "{\n \"resourceType\": \"Bundle\",\n \"id\": \"ReferralAuthorizationBundleExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-pas-request-bundle\"\n ]\n },\n \"identifier\": {\n \"system\": \"http://notreal.com/SUBMITTER_TRANSACTION_IDENTIFIER\",\n \"value\": \"A12345\"\n },\n \"type\": \"collection\",\n \"timestamp\": \"2005-05-02T11:01:00+05:00\",\n \"entry\": [\n {\n \"fullUrl\": \"http://notreal.com/fhir/Claim/ReferralAuthorizationExample\",\n \"resource\": {\n \"resourceType\": \"Claim\",\n \"id\": \"ReferralAuthorizationExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><p><b>Generated Narrative: Claim</b><a name=\\\"ReferralAuthorizationExample\\\"> </a></p><div style=\\\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\\\"><p style=\\\"margin-bottom: 0px\\\">Resource Claim "ReferralAuthorizationExample" </p><p style=\\\"margin-bottom: 0px\\\">Profile: <a href=\\\"StructureDefinition-profile-claim.html\\\">PAS Claim</a></p></div><p><b>LevelOfServiceCode</b>: Urgent <span style=\\\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\\\"> (1338#U)</span></p><p><b>identifier</b>: id:\\u00a0111099</p><p><b>status</b>: active</p><p><b>type</b>: Professional <span style=\\\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\\\"> (<a href=\\\"http://terminology.hl7.org/5.0.0/CodeSystem-claim-type.html\\\">Claim Type Codes</a>#professional)</span></p><p><b>use</b>: preauthorization</p><p><b>patient</b>: Patient/SubscriberExample</p><p><b>created</b>: 2005-05-02 11:01:00+0500</p><p><b>insurer</b>: Organization/InsurerExample</p><p><b>provider</b>: Organization/UMOExample</p><p><b>priority</b>: Normal <span style=\\\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\\\"> (<a href=\\\"http://terminology.hl7.org/5.0.0/CodeSystem-processpriority.html\\\">Process Priority Codes</a>#normal)</span></p><h3>CareTeams</h3><table class=\\\"grid\\\"><tr><td style=\\\"display: none\\\">-</td><td><b>Extension</b></td><td><b>Sequence</b></td><td><b>Provider</b></td></tr><tr><td style=\\\"display: none\\\">*</td><td/><td>1</td><td>PractitionerRole/ReferralPractitionerRoleExample</td></tr></table><h3>Diagnoses</h3><table class=\\\"grid\\\"><tr><td style=\\\"display: none\\\">-</td><td><b>Extension</b></td><td><b>Sequence</b></td><td><b>Diagnosis[x]</b></td></tr><tr><td style=\\\"display: none\\\">*</td><td/><td>1</td><td>G89.4 <span style=\\\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\\\"> (<a href=\\\"http://terminology.hl7.org/5.0.0/CodeSystem-icd10CM.html\\\">International Classification of Diseases, 10th Revision, Clinical Modification (ICD-10-CM)</a>#G89.4)</span></td></tr></table><h3>Insurances</h3><table class=\\\"grid\\\"><tr><td style=\\\"display: none\\\">-</td><td><b>Sequence</b></td><td><b>Focal</b></td><td><b>Coverage</b></td></tr><tr><td style=\\\"display: none\\\">*</td><td>1</td><td>true</td><td>Coverage/InsuranceExample</td></tr></table><h3>Items</h3><table class=\\\"grid\\\"><tr><td style=\\\"display: none\\\">-</td><td><b>Extension</b></td><td><b>Sequence</b></td><td><b>CareTeamSequence</b></td><td><b>DiagnosisSequence</b></td><td><b>Category</b></td><td><b>ProductOrService</b></td><td><b>Location[x]</b></td></tr><tr><td style=\\\"display: none\\\">*</td><td>, , , , , , , , , </td><td>1</td><td>1</td><td>1</td><td>Consultation <span style=\\\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\\\"> (1365#3)</span></td><td>Consultation <span style=\\\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\\\"> (1365#3)</span></td><td>11 <span style=\\\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\\\"> (<a href=\\\"http://terminology.hl7.org/5.0.0/CodeSystem-CMSPlaceofServiceCodes.html\\\">CMS Place of Service Codes (POS)</a>#11)</span></td></tr></table></div>\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-levelOfServiceCode\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1338\",\n \"code\": \"U\",\n \"display\": \"Urgent\"\n }\n ]\n }\n }\n ],\n \"identifier\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierJurisdiction\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.usps.com/\",\n \"code\": \"MA\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierSubDepartment\",\n \"valueString\": \"223412\"\n }\n ],\n \"system\": \"http://notreal.com/PATIENT_EVENT_TRACE_NUMBER\",\n \"value\": \"111099\",\n \"assigner\": {\n \"identifier\": {\n \"system\": \"http://notreal.com/USER_ASSIGNED\",\n \"value\": \"9012345678\"\n }\n }\n }\n ],\n \"status\": \"active\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/claim-type\",\n \"code\": \"professional\"\n }\n ]\n },\n \"use\": \"preauthorization\",\n \"patient\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"created\": \"2005-05-02T11:01:00+05:00\",\n \"insurer\": {\n \"reference\": \"Organization/InsurerExample\"\n },\n \"provider\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/processpriority\",\n \"code\": \"normal\"\n }\n ]\n },\n \"careTeam\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-careTeamClaimScope\",\n \"valueBoolean\": true\n }\n ],\n \"sequence\": 1,\n \"provider\": {\n \"reference\": \"PractitionerRole/ReferralPractitionerRoleExample\"\n }\n }\n ],\n \"diagnosis\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate\",\n \"valueDate\": \"2021-05-10\"\n }\n ],\n \"sequence\": 1,\n \"diagnosisCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\n \"code\": \"G89.4\"\n }\n ]\n }\n }\n ],\n \"insurance\": [\n {\n \"sequence\": 1,\n \"focal\": true,\n \"coverage\": {\n \"reference\": \"Coverage/InsuranceExample\"\n }\n }\n ],\n \"item\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-itemTraceNumber\",\n \"valueIdentifier\": {\n \"system\": \"http://notreal.com/ITEM_TRACE_NUMBER\",\n \"value\": \"1122334\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-authorizationNumber\",\n \"valueString\": \"1122445\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-administrationReferenceNumber\",\n \"valueString\": \"9988311\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-serviceItemRequestType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1525\",\n \"code\": \"SC\",\n \"display\": \"Specialty Care Review\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1322\",\n \"code\": \"I\",\n \"display\": \"Initial\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-requestedService\",\n \"valueReference\": {\n \"reference\": \"ServiceRequest/ReferralRequestExample\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-epsdtIndicator\",\n \"valueBoolean\": false\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeResidentialStatus\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1345\",\n \"code\": \"2\",\n \"display\": \"Newly Admitted\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeLevelOfCare\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1337\",\n \"code\": \"2\",\n \"display\": \"Intermediate Care Facility (ICF)\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-revenueUnitRateLimit\",\n \"valueDecimal\": 100\n }\n ],\n \"sequence\": 1,\n \"careTeamSequence\": [\n 1\n ],\n \"diagnosisSequence\": [\n 1\n ],\n \"category\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"productOrService\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"locationCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set\",\n \"code\": \"11\"\n }\n ]\n }\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/Organization/UMOExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"UMOExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-requestor\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><p><b>Generated Narrative: Organization</b><a name=\\\"UMOExample\\\"> </a></p><div style=\\\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\\\"><p style=\\\"margin-bottom: 0px\\\">Resource Organization "UMOExample" </p><p style=\\\"margin-bottom: 0px\\\">Profile: <a href=\\\"StructureDefinition-profile-requestor.html\\\">PAS Requestor Organization</a></p></div><p><b>identifier</b>: id:\\u00a0<a href="http://terminology.hl7.org/5.0.0/NamingSystem-npi.html">NPI</a>#8189991234</p><p><b>active</b>: true</p><p><b>type</b>: X3 <span style=\\\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\\\"> (98#X3)</span></p><p><b>name</b>: DR. JOE SMITH CORPORATION</p><p><b>address</b>: 111 1ST STREET SAN DIEGO CA 92101 US </p></div>\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"8189991234\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"X3\"\n }\n ]\n }\n ],\n \"name\": \"DR. JOE SMITH CORPORATION\",\n \"address\": [\n {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/Organization/InsurerExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"InsurerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-insurer\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><p><b>Generated Narrative: Organization</b><a name=\\\"InsurerExample\\\"> </a></p><div style=\\\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\\\"><p style=\\\"margin-bottom: 0px\\\">Resource Organization "InsurerExample" </p><p style=\\\"margin-bottom: 0px\\\">Profile: <a href=\\\"StructureDefinition-profile-insurer.html\\\">PAS Insurer Organization</a></p></div><p><b>identifier</b>: id:\\u00a0<a href="http://terminology.hl7.org/5.0.0/NamingSystem-npi.html">NPI</a>#789312</p><p><b>active</b>: true</p><p><b>type</b>: PR <span style=\\\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\\\"> (98#PR)</span></p><p><b>name</b>: MARYLAND CAPITAL INSURANCE COMPANY</p></div>\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"789312\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"PR\"\n }\n ]\n }\n ],\n \"name\": \"MARYLAND CAPITAL INSURANCE COMPANY\"\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/Coverage/InsuranceExample\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"InsuranceExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-coverage\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><p><b>Generated Narrative: Coverage</b><a name=\\\"InsuranceExample\\\"> </a></p><div style=\\\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\\\"><p style=\\\"margin-bottom: 0px\\\">Resource Coverage "InsuranceExample" </p><p style=\\\"margin-bottom: 0px\\\">Profile: <a href=\\\"StructureDefinition-profile-coverage.html\\\">PAS Coverage</a></p></div><p><b>status</b>: active</p><p><b>beneficiary</b>: Patient/SubscriberExample</p><p><b>payor</b>: Organization/InsurerExample</p></div>\"\n },\n \"status\": \"active\",\n \"beneficiary\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/InsurerExample\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/Patient/SubscriberExample\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"SubscriberExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-subscriber\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><p><b>Generated Narrative: Patient</b><a name=\\\"SubscriberExample\\\"> </a></p><div style=\\\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\\\"><p style=\\\"margin-bottom: 0px\\\">Resource Patient "SubscriberExample" </p><p style=\\\"margin-bottom: 0px\\\">Profile: <a href=\\\"StructureDefinition-profile-subscriber.html\\\">PAS Subscriber Patient</a></p></div><p><b>MilitaryStatus</b>: RU <span style=\\\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\\\"> (584#RU)</span></p><p><b>identifier</b>: id:\\u00a012345678901</p><p><b>name</b>: JOE SMITH </p><p><b>gender</b>: male</p></div>\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-militaryStatus\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/584\",\n \"code\": \"RU\"\n }\n ]\n }\n }\n ],\n \"identifier\": [\n {\n \"system\": \"http://notreal.com/MIN\",\n \"value\": \"12345678901\"\n }\n ],\n \"name\": [\n {\n \"family\": \"SMITH\",\n \"given\": [\n \"JOE\"\n ]\n }\n ],\n \"gender\": \"male\"\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/ServiceRequest/ReferralRequestExample\",\n \"resource\": {\n \"resourceType\": \"ServiceRequest\",\n \"id\": \"ReferralRequestExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-servicerequest\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><p><b>Generated Narrative: ServiceRequest</b><a name=\\\"ReferralRequestExample\\\"> </a></p><div style=\\\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\\\"><p style=\\\"margin-bottom: 0px\\\">Resource ServiceRequest "ReferralRequestExample" </p><p style=\\\"margin-bottom: 0px\\\">Profile: <a href=\\\"StructureDefinition-profile-servicerequest.html\\\">PAS Service Request</a></p></div><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>code</b>: Consultation <span style=\\\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\\\"> (1365#3)</span></p><p><b>quantity</b>: 1 visit<span style=\\\"background: LightGoldenRodYellow\\\"> (Details: UCUM code 1 = '1')</span></p><p><b>subject</b>: Patient/SubscriberExample</p></div>\"\n },\n \"status\": \"active\",\n \"intent\": \"order\",\n \"code\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"quantityQuantity\": {\n \"value\": 1,\n \"unit\": \"visit\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"1\"\n },\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n }\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/PractitionerRole/ReferralPractitionerRoleExample\",\n \"resource\": {\n \"resourceType\": \"PractitionerRole\",\n \"id\": \"ReferralPractitionerRoleExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitionerrole\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><p><b>Generated Narrative: PractitionerRole</b><a name=\\\"ReferralPractitionerRoleExample\\\"> </a></p><div style=\\\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\\\"><p style=\\\"margin-bottom: 0px\\\">Resource PractitionerRole "ReferralPractitionerRoleExample" </p><p style=\\\"margin-bottom: 0px\\\">Profile: <a href=\\\"StructureDefinition-profile-practitionerrole.html\\\">PAS PractitionerRole</a></p></div><p><b>practitioner</b>: Practitioner/ReferralPractitionerExample</p><p><b>location</b>: Location/ReferralLocationExample</p></div>\"\n },\n \"practitioner\": {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n },\n \"location\": [\n {\n \"reference\": \"Location/ReferralLocationExample\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/Practitioner/ReferralPractitionerExample\",\n \"resource\": {\n \"resourceType\": \"Practitioner\",\n \"id\": \"ReferralPractitionerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitioner\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><p><b>Generated Narrative: Practitioner</b><a name=\\\"ReferralPractitionerExample\\\"> </a></p><div style=\\\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\\\"><p style=\\\"margin-bottom: 0px\\\">Resource Practitioner "ReferralPractitionerExample" </p><p style=\\\"margin-bottom: 0px\\\">Profile: <a href=\\\"StructureDefinition-profile-practitioner.html\\\">PAS Practitioner</a></p></div><p><b>identifier</b>: id:\\u00a0<a href="http://terminology.hl7.org/5.0.0/NamingSystem-npi.html">NPI</a>#987654321</p><p><b>name</b>: SUSAN WATSON </p><p><b>telecom</b>: ph: 4029993456</p></div>\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"987654321\"\n }\n ],\n \"name\": [\n {\n \"family\": \"WATSON\",\n \"given\": [\n \"SUSAN\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"4029993456\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/Location/ReferralLocationExample\",\n \"resource\": {\n \"resourceType\": \"Location\",\n \"id\": \"ReferralLocationExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-location\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><p><b>Generated Narrative: Location</b><a name=\\\"ReferralLocationExample\\\"> </a></p><div style=\\\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\\\"><p style=\\\"margin-bottom: 0px\\\">Resource Location "ReferralLocationExample" </p><p style=\\\"margin-bottom: 0px\\\">Profile: <a href=\\\"StructureDefinition-profile-location.html\\\">PAS Location Profile</a></p></div><p><b>name</b>: REFERRAL CLINIC</p><p><b>address</b>: 111 1ST STREET SAN DIEGO CA 92101 US </p></div>\"\n },\n \"name\": \"REFERRAL CLINIC\",\n \"address\": {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n }\n }\n ]\n }",
|
60
|
+
"options": {
|
61
|
+
"raw": {
|
62
|
+
"language": "json"
|
63
|
+
}
|
64
|
+
}
|
65
|
+
},
|
66
|
+
"url": {
|
67
|
+
"raw": "{{base_url}}/custom/davinci_pas_client_suite_v201{{session_url_path}}fhir/Claim/$submit",
|
68
|
+
"host": [
|
69
|
+
"{{base_url}}"
|
70
|
+
],
|
71
|
+
"path": [
|
72
|
+
"custom",
|
73
|
+
"davinci_pas_client_suite_v201{{session_url_path}}fhir",
|
74
|
+
"Claim",
|
75
|
+
"$submit"
|
76
|
+
]
|
77
|
+
}
|
78
|
+
},
|
79
|
+
"response": []
|
80
|
+
}
|
81
|
+
]
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"name": "Denial Workflow",
|
85
|
+
"item": [
|
86
|
+
{
|
87
|
+
"name": "Prior Auth Request For Denial",
|
88
|
+
"request": {
|
89
|
+
"method": "POST",
|
90
|
+
"header": [
|
91
|
+
{
|
92
|
+
"key": "Authorization",
|
93
|
+
"value": "Bearer: {{access_token}}",
|
94
|
+
"type": "text"
|
95
|
+
}
|
96
|
+
],
|
97
|
+
"body": {
|
98
|
+
"mode": "raw",
|
99
|
+
"raw": "{\n \"resourceType\" : \"Bundle\",\n \"id\" : \"0a927577-c304-4d24-9837-bd8e4d116672\",\n \"meta\" : {\n \"profile\" : [\"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-pas-request-bundle\"]\n },\n \"identifier\" : {\n \"system\" : \"http://notreal.com/SUBMITTER_TRANSACTION_IDENTIFIER\",\n \"value\" : \"B12345\"\n },\n \"type\" : \"collection\",\n \"timestamp\" : \"2005-05-02T14:30:00+05:00\",\n \"entry\" : [{\n \"fullUrl\" : \"urn:uuid:58bf54f2-9a96-43b2-93df-64078dd752f4\",\n \"resource\" : {\n \"resourceType\" : \"Claim\",\n \"id\" : \"58bf54f2-9a96-43b2-93df-64078dd752f4\",\n \"meta\" : {\n \"profile\" : [\"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim\"]\n },\n \"extension\" : [{\n \"extension\" : [{\n \"url\" : \"prognosis\",\n \"valueCodeableConcept\" : {\n \"coding\" : [{\n \"system\" : \"https://codesystem.x12.org/005010/923\",\n \"code\" : \"1\"\n }]\n }\n },\n {\n \"url\" : \"date\",\n \"valueDate\" : \"2005-05-02\"\n }],\n \"url\" : \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-homeHealthCareInformation\"\n }],\n \"identifier\" : [{\n \"system\" : \"http://notreal.com/PATIENT_EVENT_TRACE_NUMBER\",\n \"value\" : \"111366\",\n \"assigner\" : {\n \"identifier\" : {\n \"system\" : \"http://notreal.com/USER_ASSIGNED\",\n \"value\" : \"5556667771\"\n }\n }\n }],\n \"status\" : \"active\",\n \"type\" : {\n \"coding\" : [{\n \"system\" : \"http://terminology.hl7.org/CodeSystem/claim-type\",\n \"code\" : \"professional\"\n }]\n },\n \"use\" : \"preauthorization\",\n \"patient\" : {\n \"reference\" : \"urn:uuid:0b321e9e-571b-4f83-8cea-fa23424383bb\"\n },\n \"created\" : \"2019-07-20T11:01:00+05:00\",\n \"insurer\" : {\n \"reference\" : \"urn:uuid:ff7adc9d-8854-4947-874a-8b61bca953c1\"\n },\n \"provider\" : {\n \"reference\" : \"urn:uuid:b0881003-0d22-499d-840b-91dc7f6f4479\"\n },\n \"priority\" : {\n \"coding\" : [{\n \"system\" : \"http://terminology.hl7.org/CodeSystem/processpriority\",\n \"code\" : \"normal\"\n }]\n },\n \"insurance\" : [{\n \"sequence\" : 1,\n \"focal\" : true,\n \"coverage\" : {\n \"reference\" : \"urn:uuid:39f01aed-5a64-4301-8449-82b3d60f330c\"\n }\n }],\n \"item\" : [{\n \"extension\" : [{\n \"url\" : \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-serviceItemRequestType\",\n \"valueCodeableConcept\" : {\n \"coding\" : [{\n \"system\" : \"https://codesystem.x12.org/005010/1525\",\n \"code\" : \"HS\",\n \"display\" : \"Health Services Review\"\n }]\n }\n },\n {\n \"url\" : \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType\",\n \"valueCodeableConcept\" : {\n \"coding\" : [{\n \"system\" : \"https://codesystem.x12.org/005010/1322\",\n \"code\" : \"I\",\n \"display\" : \"Initial\"\n }]\n }\n }],\n \"sequence\" : 1,\n \"category\" : {\n \"coding\" : [{\n \"system\" : \"https://codesystem.x12.org/005010/1365\",\n \"code\" : \"42\",\n \"display\" : \"Home Health Care\"\n }]\n },\n \"productOrService\" : {\n \"coding\" : [{\n \"system\" : \"http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets\",\n \"code\" : \"G0154\"\n }]\n }\n },\n {\n \"extension\" : [{\n \"url\" : \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-serviceItemRequestType\",\n \"valueCodeableConcept\" : {\n \"coding\" : [{\n \"system\" : \"https://codesystem.x12.org/005010/1525\",\n \"code\" : \"HS\",\n \"display\" : \"Health Services Review\"\n }]\n }\n },\n {\n \"url\" : \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType\",\n \"valueCodeableConcept\" : {\n \"coding\" : [{\n \"system\" : \"https://codesystem.x12.org/005010/1322\",\n \"code\" : \"I\",\n \"display\" : \"Initial\"\n }]\n }\n }],\n \"sequence\" : 2,\n \"category\" : {\n \"coding\" : [{\n \"system\" : \"https://codesystem.x12.org/005010/1365\",\n \"code\" : \"42\",\n \"display\" : \"Home Health Care\"\n }]\n },\n \"productOrService\" : {\n \"coding\" : [{\n \"system\" : \"http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets\",\n \"code\" : \"B4184\"\n }]\n }\n }]\n }\n },\n {\n \"fullUrl\" : \"urn:uuid:b0881003-0d22-499d-840b-91dc7f6f4479\",\n \"resource\" : {\n \"resourceType\" : \"Organization\",\n \"id\" : \"b0881003-0d22-499d-840b-91dc7f6f4479\",\n \"meta\" : {\n \"profile\" : [\"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-requestor\"]\n },\n \"identifier\" : [{\n \"system\" : \"http://hl7.org/fhir/sid/us-npi\",\n \"value\" : \"8189991234\"\n }],\n \"active\" : true,\n \"type\" : [{\n \"coding\" : [{\n \"system\" : \"https://codesystem.x12.org/005010/98\",\n \"code\" : \"X3\"\n }]\n }],\n \"name\" : \"DR. JOE SMITH CORPORATION\",\n \"address\" : [{\n \"line\" : [\"111 1ST STREET\"],\n \"city\" : \"SAN DIEGO\",\n \"state\" : \"CA\",\n \"postalCode\" : \"92101\",\n \"country\" : \"US\"\n }]\n }\n },\n {\n \"fullUrl\" : \"urn:uuid:ff7adc9d-8854-4947-874a-8b61bca953c1\",\n \"resource\" : {\n \"resourceType\" : \"Organization\",\n \"id\" : \"ff7adc9d-8854-4947-874a-8b61bca953c1\",\n \"meta\" : {\n \"profile\" : [\"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-insurer\"]\n },\n \"identifier\" : [{\n \"system\" : \"http://hl7.org/fhir/sid/us-npi\",\n \"value\" : \"789312\"\n }],\n \"active\" : true,\n \"type\" : [{\n \"coding\" : [{\n \"system\" : \"https://codesystem.x12.org/005010/98\",\n \"code\" : \"PR\"\n }]\n }],\n \"name\" : \"MARYLAND CAPITAL INSURANCE COMPANY\"\n }\n },\n {\n \"fullUrl\" : \"urn:uuid:39f01aed-5a64-4301-8449-82b3d60f330c\",\n \"resource\" : {\n \"resourceType\" : \"Coverage\",\n \"id\" : \"39f01aed-5a64-4301-8449-82b3d60f330c\",\n \"meta\" : {\n \"profile\" : [\"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-coverage\"]\n },\n \"status\" : \"active\",\n \"beneficiary\" : {\n \"reference\" : \"urn:uuid:0b321e9e-571b-4f83-8cea-fa23424383bb\"\n },\n \"payor\" : [{\n \"reference\" : \"urn:uuid:ff7adc9d-8854-4947-874a-8b61bca953c1\"\n }]\n }\n },\n {\n \"fullUrl\" : \"urn:uuid:0b321e9e-571b-4f83-8cea-fa23424383bb\",\n \"resource\" : {\n \"resourceType\" : \"Patient\",\n \"id\" : \"0b321e9e-571b-4f83-8cea-fa23424383bb\",\n \"meta\" : {\n \"profile\" : [\"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-subscriber\"]\n },\n \"extension\" : [{\n \"url\" : \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-militaryStatus\",\n \"valueCodeableConcept\" : {\n \"coding\" : [{\n \"system\" : \"https://codesystem.x12.org/005010/584\",\n \"code\" : \"RU\"\n }]\n }\n }],\n \"identifier\" : [{\n \"system\" : \"http://notreal.com/MIN\",\n \"value\" : \"12345678901\"\n }],\n \"name\" : [{\n \"family\" : \"SMITH\",\n \"given\" : [\"JOE\"]\n }],\n \"gender\" : \"male\"\n }\n }]\n}",
|
100
|
+
"options": {
|
101
|
+
"raw": {
|
102
|
+
"language": "json"
|
103
|
+
}
|
104
|
+
}
|
105
|
+
},
|
106
|
+
"url": {
|
107
|
+
"raw": "{{base_url}}/custom/davinci_pas_client_suite_v201{{session_url_path}}fhir/Claim/$submit",
|
108
|
+
"host": [
|
109
|
+
"{{base_url}}"
|
110
|
+
],
|
111
|
+
"path": [
|
112
|
+
"custom",
|
113
|
+
"davinci_pas_client_suite_v201{{session_url_path}}fhir",
|
114
|
+
"Claim",
|
115
|
+
"$submit"
|
116
|
+
]
|
117
|
+
}
|
118
|
+
},
|
119
|
+
"response": []
|
120
|
+
}
|
121
|
+
]
|
122
|
+
},
|
123
|
+
{
|
124
|
+
"name": "Pended Workflow",
|
125
|
+
"item": [
|
126
|
+
{
|
127
|
+
"name": "Prior Auth Request For Pended",
|
128
|
+
"request": {
|
129
|
+
"method": "POST",
|
130
|
+
"header": [
|
131
|
+
{
|
132
|
+
"key": "Authorization",
|
133
|
+
"value": "Bearer: {{access_token}}",
|
134
|
+
"type": "text"
|
135
|
+
}
|
136
|
+
],
|
137
|
+
"body": {
|
138
|
+
"mode": "raw",
|
139
|
+
"raw": "{\n \"resourceType\" : \"Bundle\",\n \"id\" : \"60815928-c69f-4503-b0ce-e24d3c2a0591\",\n \"meta\" : {\n \"profile\" : [\"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-pas-request-bundle\"]\n },\n \"identifier\" : {\n \"system\" : \"http://notreal.com/SUBMITTER_TRANSACTION_IDENTIFIER\",\n \"value\" : \"902834\"\n },\n \"type\" : \"collection\",\n \"timestamp\" : \"2005-05-02T11:01:00+05:00\",\n \"entry\" : [{\n \"fullUrl\" : \"urn:uuid:2d84327e-1baf-4f68-ac42-41e5c8ad8803\",\n \"resource\" : {\n \"resourceType\" : \"Claim\",\n \"id\" : \"2d84327e-1baf-4f68-ac42-41e5c8ad8803\",\n \"meta\" : {\n \"profile\" : [\"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim\"]\n },\n \"identifier\" : [{\n \"system\" : \"http://notreal.com/PATIENT_EVENT_TRACE_NUMBER\",\n \"value\" : \"1263291\",\n \"assigner\" : {\n \"identifier\" : {\n \"system\" : \"http://notreal.com/USER_ASSIGNED\",\n \"value\" : \"99102388213\"\n }\n }\n }],\n \"status\" : \"active\",\n \"type\" : {\n \"coding\" : [{\n \"system\" : \"http://terminology.hl7.org/CodeSystem/claim-type\",\n \"code\" : \"professional\"\n }]\n },\n \"use\" : \"preauthorization\",\n \"patient\" : {\n \"reference\" : \"urn:uuid:0b321e9e-571b-4f83-8cea-fa23424383bb\"\n },\n \"created\" : \"2005-05-02T11:01:00+05:00\",\n \"insurer\" : {\n \"reference\" : \"urn:uuid:ff7adc9d-8854-4947-874a-8b61bca953c1\"\n },\n \"provider\" : {\n \"reference\" : \"urn:uuid:b0881003-0d22-499d-840b-91dc7f6f4479\"\n },\n \"priority\" : {\n \"coding\" : [{\n \"system\" : \"http://terminology.hl7.org/CodeSystem/processpriority\",\n \"code\" : \"normal\"\n }]\n },\n \"insurance\" : [{\n \"sequence\" : 1,\n \"focal\" : true,\n \"coverage\" : {\n \"reference\" : \"urn:uuid:39f01aed-5a64-4301-8449-82b3d60f330c\"\n }\n }],\n \"item\" : [{\n \"extension\" : [{\n \"url\" : \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-serviceItemRequestType\",\n \"valueCodeableConcept\" : {\n \"coding\" : [{\n \"system\" : \"https://codesystem.x12.org/005010/1525\",\n \"code\" : \"IN\",\n \"display\" : \"Initial Medical Services Reservation\"\n }]\n }\n },\n {\n \"url\" : \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType\",\n \"valueCodeableConcept\" : {\n \"coding\" : [{\n \"system\" : \"https://codesystem.x12.org/005010/1322\",\n \"code\" : \"I\",\n \"display\" : \"Initial\"\n }]\n }\n },\n {\n \"url\" : \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-authorizationNumber\",\n \"valueString\" : \"2389983\"\n },\n {\n \"url\" : \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-administrationReferenceNumber\",\n \"valueString\" : \"12385668734\"\n }],\n \"sequence\" : 1,\n \"category\" : {\n \"coding\" : [{\n \"system\" : \"https://codesystem.x12.org/005010/1365\",\n \"code\" : \"1\",\n \"display\" : \"Medical Care\"\n }]\n },\n \"productOrService\" : {\n \"coding\" : [{\n \"system\" : \"http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets\",\n \"code\" : \"99212\",\n \"display\" : \"Established Office Visit\"\n }]\n },\n \"servicedDate\" : \"2005-05-10\",\n \"locationCodeableConcept\" : {\n \"coding\" : [{\n \"system\" : \"https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set\",\n \"code\" : \"11\"\n }]\n }\n }]\n }\n },\n {\n \"fullUrl\" : \"urn:uuid:b0881003-0d22-499d-840b-91dc7f6f4479\",\n \"resource\" : {\n \"resourceType\" : \"Organization\",\n \"id\" : \"b0881003-0d22-499d-840b-91dc7f6f4479\",\n \"meta\" : {\n \"profile\" : [\"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-requestor\"]\n },\n \"identifier\" : [{\n \"system\" : \"http://hl7.org/fhir/sid/us-npi\",\n \"value\" : \"8189991234\"\n }],\n \"active\" : true,\n \"type\" : [{\n \"coding\" : [{\n \"system\" : \"https://codesystem.x12.org/005010/98\",\n \"code\" : \"X3\"\n }]\n }],\n \"name\" : \"DR. JOE SMITH CORPORATION\",\n \"address\" : [{\n \"line\" : [\"111 1ST STREET\"],\n \"city\" : \"SAN DIEGO\",\n \"state\" : \"CA\",\n \"postalCode\" : \"92101\",\n \"country\" : \"US\"\n }]\n }\n },\n {\n \"fullUrl\" : \"urn:uuid:ff7adc9d-8854-4947-874a-8b61bca953c1\",\n \"resource\" : {\n \"resourceType\" : \"Organization\",\n \"id\" : \"ff7adc9d-8854-4947-874a-8b61bca953c1\",\n \"meta\" : {\n \"profile\" : [\"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-insurer\"]\n },\n \"identifier\" : [{\n \"system\" : \"http://hl7.org/fhir/sid/us-npi\",\n \"value\" : \"789312\"\n }],\n \"active\" : true,\n \"type\" : [{\n \"coding\" : [{\n \"system\" : \"https://codesystem.x12.org/005010/98\",\n \"code\" : \"PR\"\n }]\n }],\n \"name\" : \"MARYLAND CAPITAL INSURANCE COMPANY\"\n }\n },\n {\n \"fullUrl\" : \"urn:uuid:39f01aed-5a64-4301-8449-82b3d60f330c\",\n \"resource\" : {\n \"resourceType\" : \"Coverage\",\n \"id\" : \"39f01aed-5a64-4301-8449-82b3d60f330c\",\n \"meta\" : {\n \"profile\" : [\"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-coverage\"]\n },\n \"status\" : \"active\",\n \"beneficiary\" : {\n \"reference\" : \"urn:uuid:0b321e9e-571b-4f83-8cea-fa23424383bb\"\n },\n \"payor\" : [{\n \"reference\" : \"urn:uuid:ff7adc9d-8854-4947-874a-8b61bca953c1\"\n }]\n }\n },\n {\n \"fullUrl\" : \"urn:uuid:0b321e9e-571b-4f83-8cea-fa23424383bb\",\n \"resource\" : {\n \"resourceType\" : \"Patient\",\n \"id\" : \"0b321e9e-571b-4f83-8cea-fa23424383bb\",\n \"meta\" : {\n \"profile\" : [\"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-subscriber\"]\n },\n \"extension\" : [{\n \"url\" : \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-militaryStatus\",\n \"valueCodeableConcept\" : {\n \"coding\" : [{\n \"system\" : \"https://codesystem.x12.org/005010/584\",\n \"code\" : \"RU\"\n }]\n }\n }],\n \"identifier\" : [{\n \"system\" : \"http://notreal.com/MIN\",\n \"value\" : \"12345678901\"\n }],\n \"name\" : [{\n \"family\" : \"SMITH\",\n \"given\" : [\"JOE\"]\n }],\n \"gender\" : \"male\"\n }\n }]\n}",
|
140
|
+
"options": {
|
141
|
+
"raw": {
|
142
|
+
"language": "json"
|
143
|
+
}
|
144
|
+
}
|
145
|
+
},
|
146
|
+
"url": {
|
147
|
+
"raw": "{{base_url}}/custom/davinci_pas_client_suite_v201{{session_url_path}}fhir/Claim/$submit",
|
148
|
+
"host": [
|
149
|
+
"{{base_url}}"
|
150
|
+
],
|
151
|
+
"path": [
|
152
|
+
"custom",
|
153
|
+
"davinci_pas_client_suite_v201{{session_url_path}}fhir",
|
154
|
+
"Claim",
|
155
|
+
"$submit"
|
156
|
+
]
|
157
|
+
}
|
158
|
+
},
|
159
|
+
"response": []
|
160
|
+
},
|
161
|
+
{
|
162
|
+
"name": "Prior Auth Inquiry for Pended",
|
163
|
+
"request": {
|
164
|
+
"method": "POST",
|
165
|
+
"header": [
|
166
|
+
{
|
167
|
+
"key": "Authorization",
|
168
|
+
"value": "Bearer: {{access_token}}",
|
169
|
+
"type": "text"
|
170
|
+
}
|
171
|
+
],
|
172
|
+
"body": {
|
173
|
+
"mode": "raw",
|
174
|
+
"raw": "{\n \"resourceType\" : \"Bundle\",\n \"id\" : \"60815928-c69f-4503-b0ce-e24d3c2a0591\",\n \"meta\" : {\n \"profile\" : [\"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-pas-request-bundle\"]\n },\n \"identifier\" : {\n \"system\" : \"http://notreal.com/SUBMITTER_TRANSACTION_IDENTIFIER\",\n \"value\" : \"902834\"\n },\n \"type\" : \"collection\",\n \"timestamp\" : \"2005-05-02T11:01:00+05:00\",\n \"entry\" : [{\n \"fullUrl\" : \"urn:uuid:2d84327e-1baf-4f68-ac42-41e5c8ad8803\",\n \"resource\" : {\n \"resourceType\" : \"Claim\",\n \"id\" : \"2d84327e-1baf-4f68-ac42-41e5c8ad8803\",\n \"meta\" : {\n \"profile\" : [\"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim\"]\n },\n \"identifier\" : [{\n \"system\" : \"http://notreal.com/PATIENT_EVENT_TRACE_NUMBER\",\n \"value\" : \"1263291\",\n \"assigner\" : {\n \"identifier\" : {\n \"system\" : \"http://notreal.com/USER_ASSIGNED\",\n \"value\" : \"99102388213\"\n }\n }\n }],\n \"status\" : \"active\",\n \"type\" : {\n \"coding\" : [{\n \"system\" : \"http://terminology.hl7.org/CodeSystem/claim-type\",\n \"code\" : \"professional\"\n }]\n },\n \"use\" : \"preauthorization\",\n \"patient\" : {\n \"reference\" : \"urn:uuid:0b321e9e-571b-4f83-8cea-fa23424383bb\"\n },\n \"created\" : \"2005-05-02T11:01:00+05:00\",\n \"insurer\" : {\n \"reference\" : \"urn:uuid:ff7adc9d-8854-4947-874a-8b61bca953c1\"\n },\n \"provider\" : {\n \"reference\" : \"urn:uuid:b0881003-0d22-499d-840b-91dc7f6f4479\"\n },\n \"priority\" : {\n \"coding\" : [{\n \"system\" : \"http://terminology.hl7.org/CodeSystem/processpriority\",\n \"code\" : \"normal\"\n }]\n },\n \"insurance\" : [{\n \"sequence\" : 1,\n \"focal\" : true,\n \"coverage\" : {\n \"reference\" : \"urn:uuid:39f01aed-5a64-4301-8449-82b3d60f330c\"\n }\n }],\n \"item\" : [{\n \"extension\" : [{\n \"url\" : \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-serviceItemRequestType\",\n \"valueCodeableConcept\" : {\n \"coding\" : [{\n \"system\" : \"https://codesystem.x12.org/005010/1525\",\n \"code\" : \"IN\",\n \"display\" : \"Initial Medical Services Reservation\"\n }]\n }\n },\n {\n \"url\" : \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType\",\n \"valueCodeableConcept\" : {\n \"coding\" : [{\n \"system\" : \"https://codesystem.x12.org/005010/1322\",\n \"code\" : \"I\",\n \"display\" : \"Initial\"\n }]\n }\n },\n {\n \"url\" : \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-authorizationNumber\",\n \"valueString\" : \"2389983\"\n },\n {\n \"url\" : \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-administrationReferenceNumber\",\n \"valueString\" : \"12385668734\"\n }],\n \"sequence\" : 1,\n \"category\" : {\n \"coding\" : [{\n \"system\" : \"https://codesystem.x12.org/005010/1365\",\n \"code\" : \"1\",\n \"display\" : \"Medical Care\"\n }]\n },\n \"productOrService\" : {\n \"coding\" : [{\n \"system\" : \"http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets\",\n \"code\" : \"99212\",\n \"display\" : \"Established Office Visit\"\n }]\n },\n \"servicedDate\" : \"2005-05-10\",\n \"locationCodeableConcept\" : {\n \"coding\" : [{\n \"system\" : \"https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set\",\n \"code\" : \"11\"\n }]\n }\n }]\n }\n },\n {\n \"fullUrl\" : \"urn:uuid:b0881003-0d22-499d-840b-91dc7f6f4479\",\n \"resource\" : {\n \"resourceType\" : \"Organization\",\n \"id\" : \"b0881003-0d22-499d-840b-91dc7f6f4479\",\n \"meta\" : {\n \"profile\" : [\"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-requestor\"]\n },\n \"identifier\" : [{\n \"system\" : \"http://hl7.org/fhir/sid/us-npi\",\n \"value\" : \"8189991234\"\n }],\n \"active\" : true,\n \"type\" : [{\n \"coding\" : [{\n \"system\" : \"https://codesystem.x12.org/005010/98\",\n \"code\" : \"X3\"\n }]\n }],\n \"name\" : \"DR. JOE SMITH CORPORATION\",\n \"address\" : [{\n \"line\" : [\"111 1ST STREET\"],\n \"city\" : \"SAN DIEGO\",\n \"state\" : \"CA\",\n \"postalCode\" : \"92101\",\n \"country\" : \"US\"\n }]\n }\n },\n {\n \"fullUrl\" : \"urn:uuid:ff7adc9d-8854-4947-874a-8b61bca953c1\",\n \"resource\" : {\n \"resourceType\" : \"Organization\",\n \"id\" : \"ff7adc9d-8854-4947-874a-8b61bca953c1\",\n \"meta\" : {\n \"profile\" : [\"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-insurer\"]\n },\n \"identifier\" : [{\n \"system\" : \"http://hl7.org/fhir/sid/us-npi\",\n \"value\" : \"789312\"\n }],\n \"active\" : true,\n \"type\" : [{\n \"coding\" : [{\n \"system\" : \"https://codesystem.x12.org/005010/98\",\n \"code\" : \"PR\"\n }]\n }],\n \"name\" : \"MARYLAND CAPITAL INSURANCE COMPANY\"\n }\n },\n {\n \"fullUrl\" : \"urn:uuid:39f01aed-5a64-4301-8449-82b3d60f330c\",\n \"resource\" : {\n \"resourceType\" : \"Coverage\",\n \"id\" : \"39f01aed-5a64-4301-8449-82b3d60f330c\",\n \"meta\" : {\n \"profile\" : [\"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-coverage\"]\n },\n \"status\" : \"active\",\n \"beneficiary\" : {\n \"reference\" : \"urn:uuid:0b321e9e-571b-4f83-8cea-fa23424383bb\"\n },\n \"payor\" : [{\n \"reference\" : \"urn:uuid:ff7adc9d-8854-4947-874a-8b61bca953c1\"\n }]\n }\n },\n {\n \"fullUrl\" : \"urn:uuid:0b321e9e-571b-4f83-8cea-fa23424383bb\",\n \"resource\" : {\n \"resourceType\" : \"Patient\",\n \"id\" : \"0b321e9e-571b-4f83-8cea-fa23424383bb\",\n \"meta\" : {\n \"profile\" : [\"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-subscriber\"]\n },\n \"extension\" : [{\n \"url\" : \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-militaryStatus\",\n \"valueCodeableConcept\" : {\n \"coding\" : [{\n \"system\" : \"https://codesystem.x12.org/005010/584\",\n \"code\" : \"RU\"\n }]\n }\n }],\n \"identifier\" : [{\n \"system\" : \"http://notreal.com/MIN\",\n \"value\" : \"12345678901\"\n }],\n \"name\" : [{\n \"family\" : \"SMITH\",\n \"given\" : [\"JOE\"]\n }],\n \"gender\" : \"male\"\n }\n }]\n}",
|
175
|
+
"options": {
|
176
|
+
"raw": {
|
177
|
+
"language": "json"
|
178
|
+
}
|
179
|
+
}
|
180
|
+
},
|
181
|
+
"url": {
|
182
|
+
"raw": "{{base_url}}/custom/davinci_pas_client_suite_v201{{session_url_path}}fhir/Claim/$inquire",
|
183
|
+
"host": [
|
184
|
+
"{{base_url}}"
|
185
|
+
],
|
186
|
+
"path": [
|
187
|
+
"custom",
|
188
|
+
"davinci_pas_client_suite_v201{{session_url_path}}fhir",
|
189
|
+
"Claim",
|
190
|
+
"$inquire"
|
191
|
+
]
|
192
|
+
}
|
193
|
+
},
|
194
|
+
"response": []
|
195
|
+
}
|
196
|
+
]
|
197
|
+
}
|
198
|
+
],
|
199
|
+
"auth": {
|
200
|
+
"type": "bearer",
|
201
|
+
"bearer": [
|
202
|
+
{
|
203
|
+
"key": "token",
|
204
|
+
"value": "{{access_token}}",
|
205
|
+
"type": "string"
|
206
|
+
}
|
207
|
+
]
|
208
|
+
},
|
209
|
+
"event": [
|
210
|
+
{
|
211
|
+
"listen": "prerequest",
|
212
|
+
"script": {
|
213
|
+
"type": "text/javascript",
|
214
|
+
"exec": [
|
215
|
+
""
|
216
|
+
]
|
217
|
+
}
|
218
|
+
},
|
219
|
+
{
|
220
|
+
"listen": "test",
|
221
|
+
"script": {
|
222
|
+
"type": "text/javascript",
|
223
|
+
"exec": [
|
224
|
+
""
|
225
|
+
]
|
226
|
+
}
|
227
|
+
}
|
228
|
+
],
|
229
|
+
"variable": [
|
230
|
+
{
|
231
|
+
"key": "base_url",
|
232
|
+
"value": "https://inferno.healthit.gov/suites",
|
233
|
+
"type": "string"
|
234
|
+
},
|
235
|
+
{
|
236
|
+
"key": "session_url_path",
|
237
|
+
"value": "/",
|
238
|
+
"type": "string"
|
239
|
+
},
|
240
|
+
{
|
241
|
+
"key": "access_token",
|
242
|
+
"value": "tbd",
|
243
|
+
"type": "string"
|
244
|
+
}
|
245
|
+
]
|
246
|
+
}
|
@@ -87,6 +87,27 @@ For single-request fields (e.g., “PAS Submit Request Payload for Approval Resp
|
|
87
87
|
|
88
88
|
For multiple-request fields (e.g., “Additional PAS Submit Request Payloads”), the input must be a json array of json-encoded FHIR bundles (e.g., [fhir-bundle-1, fhir-bundle-2, …] where each fhir-bundle-n is a full bundle).
|
89
89
|
|
90
|
+
### Subscription
|
91
|
+
|
92
|
+
To provide updates on prior authorization requests that have been pended because a final answer will take longer than
|
93
|
+
the allowed response window, servers need to support FHIR Subscriptions. Subscriptions are made at the level of the
|
94
|
+
Organization submitting the prior authorization requests and so is expected to be performed once when a provider
|
95
|
+
system registers with a specific payer.
|
96
|
+
|
97
|
+
Inferno supports that workflow by splitting out Subscription setup tests into a group that can be run before the
|
98
|
+
pended workflow group. Inferno assumes that the Subscriptions API is located under the same FHIR base URL as
|
99
|
+
the `Claim/$submit` operation and that it uses the same authentication. Testers will provide the following inputs:
|
100
|
+
- **Pended Prior Authorization Subscription**: A Subscription body for Inferno to submit to the server under test.
|
101
|
+
When submitted to the server under test, it should cause notifications to be generated when pended prior
|
102
|
+
authorization requests submitted by Inferno are updated. Inferno will modify it to ensure that it points to
|
103
|
+
the correct Inferno notification endpoint.
|
104
|
+
- **Notification Access Token**: An access token that the server under test will send to Inferno on notifications
|
105
|
+
so that the request gets associated with this test session. The token must be provided as a Bearer token in the
|
106
|
+
Authorization header of HTTP requests sent to Inferno.
|
107
|
+
|
108
|
+
During the pended workflow test, testers will demonstrate that an update to the submitted and pended prior authorization
|
109
|
+
request causes the Subscription to trigger and send a notification to Inferno.
|
110
|
+
|
90
111
|
## Testing Limitations
|
91
112
|
|
92
113
|
### Private X12 details
|
@@ -125,16 +146,6 @@ These limitations may be removed in future versions of these tests. In the meant
|
|
125
146
|
requirements to be verified through attestation and should not represent their systems to have passed these tests
|
126
147
|
if these requirements are not met.
|
127
148
|
|
128
|
-
### Underspecified Subscription Details
|
129
|
-
|
130
|
-
The current PAS specification around subscriptions and notifications
|
131
|
-
is not detailed enough to support testing. Notably,
|
132
|
-
- There are no examples of what a notification payload looks like
|
133
|
-
- There is no instruction on how to turn the notification payload into an inquiry
|
134
|
-
|
135
|
-
Once these details have been clarified, validation of the notification workflows
|
136
|
-
will be added to these tests.
|
137
|
-
|
138
149
|
### Future Details
|
139
150
|
|
140
151
|
The PAS IG places additional requirements on servers that are not currently tested by this test kit, including
|
@@ -3,6 +3,7 @@ require_relative '../response_generator'
|
|
3
3
|
require_relative '../urls'
|
4
4
|
require_relative '../jobs/send_pas_subscription_notification'
|
5
5
|
require 'subscriptions_test_kit'
|
6
|
+
require 'udap_security_test_kit'
|
6
7
|
|
7
8
|
module DaVinciPASTestKit
|
8
9
|
class ClaimEndpoint < Inferno::DSL::SuiteEndpoint
|
@@ -16,7 +17,11 @@ module DaVinciPASTestKit
|
|
16
17
|
end
|
17
18
|
|
18
19
|
def test_run_identifier
|
19
|
-
request.
|
20
|
+
return request.params[:session_path] if request.params[:session_path].present?
|
21
|
+
|
22
|
+
UDAPSecurityTestKit::MockUDAPServer.issued_token_to_client_id(
|
23
|
+
request.headers['authorization']&.delete_prefix('Bearer ')
|
24
|
+
)
|
20
25
|
end
|
21
26
|
|
22
27
|
def tags
|
@@ -46,6 +51,8 @@ module DaVinciPASTestKit
|
|
46
51
|
}.freeze
|
47
52
|
|
48
53
|
def make_response
|
54
|
+
return if response.status == 401 # set in update_result (expired token handling there)
|
55
|
+
|
49
56
|
response.status = 200
|
50
57
|
response.format = :json
|
51
58
|
|
@@ -80,6 +87,11 @@ module DaVinciPASTestKit
|
|
80
87
|
end
|
81
88
|
|
82
89
|
def update_result
|
90
|
+
if UDAPSecurityTestKit::MockUDAPServer.request_has_expired_token?(request)
|
91
|
+
UDAPSecurityTestKit::MockUDAPServer.update_response_for_expired_token(response)
|
92
|
+
return
|
93
|
+
end
|
94
|
+
|
83
95
|
results_repo.update_result(result.id, 'pass') unless test.config.options[:accepts_multiple_requests]
|
84
96
|
end
|
85
97
|
|
@@ -7,10 +7,19 @@ module DaVinciPASTestKit
|
|
7
7
|
include SubscriptionsTestKit::SubscriptionsR5BackportR4Client::SubscriptionSimulationUtils
|
8
8
|
|
9
9
|
def test_run_identifier
|
10
|
-
request.
|
10
|
+
return request.params[:session_path] if request.params[:session_path].present?
|
11
|
+
|
12
|
+
UDAPSecurityTestKit::MockUDAPServer.issued_token_to_client_id(
|
13
|
+
request.headers['authorization']&.delete_prefix('Bearer ')
|
14
|
+
)
|
11
15
|
end
|
12
16
|
|
13
17
|
def make_response
|
18
|
+
if UDAPSecurityTestKit::MockUDAPServer.request_has_expired_token?(request)
|
19
|
+
update_response_for_expired_token(response)
|
20
|
+
return
|
21
|
+
end
|
22
|
+
|
14
23
|
response.format = :json
|
15
24
|
response.status = 400
|
16
25
|
|
@@ -52,6 +61,9 @@ module DaVinciPASTestKit
|
|
52
61
|
client_endpoint = subscription.channel.endpoint
|
53
62
|
bearer_token = client_access_token_input(result)
|
54
63
|
test_suite_base_url = request.url.chomp('/').chomp(FHIR_SUBSCRIPTION_PATH)
|
64
|
+
if request.params[:session_path].present?
|
65
|
+
test_suite_base_url = test_suite_base_url.chomp(request.params[:session_path]).chomp('/')
|
66
|
+
end
|
55
67
|
Inferno::Jobs.perform(Jobs::SendSubscriptionHandshake, test_run.id, test_run.test_session_id, result.id,
|
56
68
|
subscription_id, subscription_url, client_endpoint, bearer_token, notification_json,
|
57
69
|
test_run_identifier, test_suite_base_url)
|
@@ -7,10 +7,19 @@ module DaVinciPASTestKit
|
|
7
7
|
include ResponseGenerator
|
8
8
|
|
9
9
|
def test_run_identifier
|
10
|
-
request.
|
10
|
+
return request.params[:session_path] if request.params[:session_path].present?
|
11
|
+
|
12
|
+
UDAPSecurityTestKit::MockUDAPServer.issued_token_to_client_id(
|
13
|
+
request.headers['authorization']&.delete_prefix('Bearer ')
|
14
|
+
)
|
11
15
|
end
|
12
16
|
|
13
17
|
def make_response
|
18
|
+
if UDAPSecurityTestKit::MockUDAPServer.request_has_expired_token?(request)
|
19
|
+
update_response_for_expired_token(response)
|
20
|
+
return
|
21
|
+
end
|
22
|
+
|
14
23
|
response.format = :json
|
15
24
|
subscription = find_subscription(test_run.test_session_id)
|
16
25
|
|
@@ -1,22 +1,36 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'udap_security_test_kit'
|
4
|
+
require 'smart_app_launch_test_kit'
|
5
|
+
require_relative '../urls'
|
6
|
+
require_relative '../tags'
|
7
|
+
|
1
8
|
module DaVinciPASTestKit
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
9
|
+
module MockUdapSmartServer
|
10
|
+
class TokenEndpoint < Inferno::DSL::SuiteEndpoint
|
11
|
+
include SMARTAppLaunch::MockSMARTServer::SMARTTokenResponseCreation
|
12
|
+
include UDAPSecurityTestKit::MockUDAPServer::UDAPTokenResponseCreation
|
6
13
|
|
7
|
-
|
8
|
-
|
9
|
-
|
14
|
+
def test_run_identifier
|
15
|
+
UDAPSecurityTestKit::MockUDAPServer.client_id_from_client_assertion(request.params[:client_assertion])
|
16
|
+
end
|
10
17
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
18
|
+
def make_response
|
19
|
+
if request.params[:udap].present?
|
20
|
+
make_udap_client_credential_token_response
|
21
|
+
else
|
22
|
+
make_smart_client_credential_token_response
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
def update_result
|
27
|
+
nil # never update for now
|
28
|
+
end
|
17
29
|
|
18
|
-
|
19
|
-
|
30
|
+
def tags
|
31
|
+
type_tag = request.params[:udap].present? ? UDAPSecurityTestKit::UDAP_TAG : SMARTAppLaunch::SMART_TAG
|
32
|
+
[UDAPSecurityTestKit::TOKEN_TAG, UDAPSecurityTestKit::CLIENT_CREDENTIALS_TAG, type_tag]
|
33
|
+
end
|
20
34
|
end
|
21
35
|
end
|
22
36
|
end
|
@@ -25,7 +25,8 @@
|
|
25
25
|
:path: extension
|
26
26
|
:url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex
|
27
27
|
:slices:
|
28
|
-
- :
|
28
|
+
- :slice_id: Patient.multipleBirth[x]:multipleBirthInteger
|
29
|
+
:slice_name: multipleBirthInteger
|
29
30
|
:path: multipleBirth[x]
|
30
31
|
:discriminator:
|
31
32
|
:type: type
|
@@ -10,8 +10,8 @@ module DaVinciPASTestKit
|
|
10
10
|
This test submits a Prior Authorization Submit request to the server and verifies that a
|
11
11
|
response is returned with HTTP status 2XX.
|
12
12
|
The server SHOULD respond within 15 seconds.
|
13
|
-
|
14
13
|
)
|
14
|
+
verifies_requirements 'hl7.fhir.us.davinci-pas_2.0.1@5', 'hl7.fhir.us.davinci-pas_2.0.1@66', 'hl7.fhir.us.davinci-pas_2.0.1@111', 'hl7.fhir.us.davinci-pas_2.0.1@136', 'hl7.fhir.us.davinci-pas_2.0.1@207'
|
15
15
|
|
16
16
|
input :pa_submit_request_payload,
|
17
17
|
title: 'PAS Submit Request Payload',
|