Name | /FHIRSandbox/DaVinci/FHIR4-0-1-PAS/PAS-2-0-1/03-PAS-Pended/01-PAS-Subscriptions/02-Websocket/01-dv-pas-03-WebsocketSubSetup |
Description | setup for testing Websocket Subscriptions as defined in DaVinci PAS IG pointing to the FHIR Subscriptions Backport IG. reqproviderorgid = Requesting Provider's Organization redirectURL = url the empty POST will be sent to in order to notify of a change in the subscription criteria; should be the Touchstone proxy url for the actual endpoint so the empty POST goes through Touchstone TS_Header = the header Touchstone requires to match a request to a test execution (i.e. USER_KEY: ZRFwMBrm0Iy2t7c6n3y) origin 1: client creating Subscription resource destination 1: server receiving Subscription resource (which should be the server that will have the claimResponse resource created/updated on it) |
Version | 1 | Latest | 1 |
<?xml version="1.0" encoding="UTF-8"?>
<TestScript xmlns="http://hl7.org/fhir">
<id value="dv-pas-r4-03-WebsocketSubSetup"/>
<url value="http://wildfhir.aegis.net/FHIRSandbox/DaVinci/fhir4-0-1-PAS/PAS-1-2-0/03-PAS-Pended/02-PAS-Subscriptions/01-Websocket/01-dv-pas-03-WebsocketSubSetup.xml"/>
<name value="WebsocketSubscriptionSetup"/>
<status value="active"/>
<date value="2022-12-27"/>
<publisher value="AEGIS.net, Inc."/>
<contact>
<name value="Touchstone Support"/>
<telecom>
<system value="email"/>
<value value="Touchstone_Support@aegis.net"/>
<use value="work"/>
</telecom>
</contact>
<description value="setup for testing Websocket Subscriptions as defined in DaVinci PAS IG pointing to the FHIR Subscriptions Backport IG. reqproviderorgid = Requesting Provider's Organization redirectURL = url the empty POST will be sent to in order to notify of a change in the subscription criteria; should be the Touchstone proxy url for the actual endpoint so the empty POST goes through Touchstone TS_Header = the header Touchstone requires to match a request to a test execution (i.e. USER_KEY: ZRFwMBrm0Iy2t7c6n3y) origin 1: client creating Subscription resource destination 1: server receiving Subscription resource (which should be the server that will have the claimResponse resource created/updated on it)"/>
<copyright value="This FHIR Test Script is licensed under Creative Commons (CC0) 'No Rights Reserved'. Learn more at https://creativecommons.org/licenses"/>
<origin>
<index value="1"/>
<profile>
<system value="http://terminology.hl7.org/CodeSystem/testscript-profile-origin-types"/>
<code value="FHIR-Client"/>
</profile>
</origin>
<destination>
<index value="1"/>
<profile>
<system value="http://terminology.hl7.org/CodeSystem/testscript-profile-destination-types"/>
<code value="FHIR-Server"/>
</profile>
</destination>
<fixture id="subscriptionCreate">
<autocreate value="false"/>
<autodelete value="false"/>
<resource>
<reference value="./_reference/resources/websocket-subscriptionCreate.json"/>
</resource>
</fixture>
<profile id="SubscriptionProfile">
<reference value="http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription"/>
</profile>
<variable>
<name value="reqproviderorgid"/>
<description value="requesting provider organization id"/>
<hint value="Org associated to the requestiong Provider on the Claim"/>
</variable>
<test id="WebsocketSetup">
<name value="WebsocketSetup"/>
<description value="Create the Subscription resource on the Subscription Server."/>
<action>
<operation>
<type>
<system value="http://hl7.org/fhir/testscript-operation-codes"/>
<code value="create"/>
</type>
<resource value="Subscription"/>
<description value="Create the Subscription resource on the Subscription Server."/>
<contentType value="json"/>
<destination value="1"/>
<encodeRequestUrl value="false"/>
<origin value="1"/>
<sourceId value="subscriptionCreate"/>
</operation>
</action>
<action>
<assert>
<description value="Validate that the Subscription resource conforms to the corresponding FHIR profile."/>
<direction value="request"/>
<validateProfileId value="SubscriptionProfile"/>
<warningOnly value="false"/>
</assert>
</action>
<action>
<assert>
<direction value="response"/>
<responseCode value="201"/>
<warningOnly value="false"/>
</assert>
</action>
</test>
</TestScript>