This test needs to be run with DS Deferred Request Outbound (Passthrough) and Inbound (Standard).

  • Skip PolicyEngine on Outbound (Passthrough)

  • Request (Permit, Deny) decision on Inbound (Standard)

Your gateway services should be set to Standard (Default). The Test case will switch DS Deferred Request (Passthrough) automatically without server restart (JMX). The PolicyEngine (Permit/Deny) is switch automatically at SpringBean (PolicyEngineProxyConfig) to value (adapterpolicyengineorchestratornoopdeny, adapterpolicyengineorchestratornoop)

Overview

Verify the Document Submission Deferred Request successful for configuration of Outbound (Passthrough) and Inbound (Standard); PolicyEngine (Permit/Deny) can be verify in the server.log at the Adapter DS Deferred Request (Error).

Test Detail

Test Case (MockPolicyEngine can be removed), the PolicyEngine (Permit/Deny) is switch at SpringBean (PolicyEngineProxyConfig) using JMX script.

NHINCReceivingXDRAsyncResponseTests

Policy Check Deny

Update PolicyEngineProxyConfig (adapterpolicyengineorchestratornoopdeny)

  1. XDRA sync Request

Policy Check Permit

Update PolicyEngineProxyConfig (adapterpolicyengineorchestratornoop)

  1. XDRA sync Request

Audit for NHIN CXDR Request

  1. Clear audit table

  2. Generate Patient ID for Audit Log Query

  3. Get User ID

  4. Delay 30,000 milliseconds (30 seconds)

  5. XDRA Sync Request

  6. Verify audit events