Developer Satisfaction
0.2.0 - ci-build International flag

Developer Satisfaction - Local Development build (v0.2.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

: HL7 FHIR R4 TestScript Capabilities Provider JSON - XML Representation

Active as of 2024-04-10

Raw xml | Download



<TestScript xmlns="http://hl7.org/fhir">
  <id value="DEVSATCapabilitiesProviderjson"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: TestScript</b><a name="DEVSATCapabilitiesProviderjson"> </a><a name="hcDEVSATCapabilitiesProviderjson"> </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 TestScript &quot;DEVSATCapabilitiesProviderjson&quot; </p></div><p><b>Testing Scope Canonical Value</b>: <a href="CapabilityStatement-dev-satisfaction-provider-r4.html">R4 Developer Satisfaction Provider Capability Statement</a></p><p><b>url</b>: <code>http://touchstone.aegis.net/touchstone/fhir/dev-satisfaction/TestScript/DEVSATCapabilitiesProviderjson</code></p><p><b>version</b>: 0.2.0</p><p><b>name</b>: DEVSATCapabilitiesProviderjson</p><p><b>title</b>: HL7 FHIR R4 TestScript Capabilities Provider JSON</p><p><b>status</b>: active</p><p><b>date</b>: 2024-04-10</p><p><b>publisher</b>: AEGIS.net, Inc.</p><p><b>contact</b>: AEGIS.net, Inc.: <a href="https://www.aegis.net">https://www.aegis.net</a>, Richard Ettema: <a href="mailto:mailto:richard.ettema@aegis.net">mailto:richard.ettema@aegis.net</a></p><p><b>description</b>: Example TestScript to test the Developer Satisfaction Provider Actor Capablities using JSON format</p><p><b>jurisdiction</b>: World <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (m49.htm#001)</span></p><p><b>copyright</b>: (c) Health Level 7 (HL7) International 2023</p><h3>Origins</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Index</b></td><td><b>Profile</b></td></tr><tr><td style="display: none">*</td><td>1</td><td>FHIR Client (Details: http://terminology.hl7.org/CodeSystem/testscript-profile-origin-types code FHIR-Client = 'FHIR Client', stated as 'null')</td></tr></table><h3>Destinations</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Index</b></td><td><b>Profile</b></td></tr><tr><td style="display: none">*</td><td>1</td><td>FHIR Server (Details: http://terminology.hl7.org/CodeSystem/testscript-profile-destination-types code FHIR-Server = 'FHIR Server', stated as 'null')</td></tr></table><p><b>profile</b>: <a href="http://hl7.org/fhir/StructureDefinition/CapabilityStatement">http://hl7.org/fhir/StructureDefinition/CapabilityStatement</a> &quot;CapabilityStatement&quot;</p><blockquote><p><b>test</b></p><blockquote><p><b>id</b></p>CapabilitiesProvider</blockquote><p><b>name</b>: CapabilitiesProvider</p><p><b>description</b>: Test Developer Satisfaction Provider Actor Capablities using JSON format and assert successful returned CapabilityStatement</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Type</b></td><td><b>Description</b></td><td><b>Accept</b></td><td><b>ContentType</b></td><td><b>Destination</b></td><td><b>EncodeRequestUrl</b></td><td><b>Origin</b></td><td><b>Params</b></td></tr><tr><td style="display: none">*</td><td>metadata (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code metadata = 'metadata', stated as 'null')</td><td>Provider Actor CapabilityStatement in JSON format</td><td>json</td><td>json</td><td>1</td><td>true</td><td>1</td><td>/metadata</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Description</b></td><td><b>Direction</b></td><td><b>ResponseCode</b></td><td><b>WarningOnly</b></td></tr><tr><td style="display: none">*</td><td>Confirm that the returned response code is 200 OK.</td><td>response</td><td>200</td><td>false</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Description</b></td><td><b>Direction</b></td><td><b>Resource</b></td><td><b>WarningOnly</b></td></tr><tr><td style="display: none">*</td><td>Confirm that the returned response payload is a CapabilityStatement resource.</td><td>response</td><td>CapabilityStatement</td><td>false</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Description</b></td><td><b>Direction</b></td><td><b>ValidateProfileId</b></td><td><b>WarningOnly</b></td></tr><tr><td style="display: none">*</td><td>Confirm that the returned CapabilityStatement conforms to the FHIR specification.</td><td>response</td><td>CapabilityStatementProfile</td><td>false</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Description</b></td><td><b>Direction</b></td><td><b>Expression</b></td><td><b>WarningOnly</b></td></tr><tr><td style="display: none">*</td><td>Confirm that the returned CapabilityStatement instantiates the Developer Satisfaction Provider Capabilities.</td><td>response</td><td>CapabilityStatement.where(instantiates = 'http://touchstone.aegis.net/touchstone/fhir/dev-satisfaction/CapabilityStatement/dev-satisfaction-provider-r4').exists()</td><td>false</td></tr></table></blockquote></blockquote></div>
  </text>
  <extension
             url="http://touchstone.aegis.net/touchstone/fhir/dev-satisfaction/StructureDefinition/testing-scope">
    <valueCanonical
                    value="http://touchstone.aegis.net/touchstone/fhir/dev-satisfaction/CapabilityStatement/dev-satisfaction-provider-r4"/>
  </extension>
  <url
       value="http://touchstone.aegis.net/touchstone/fhir/dev-satisfaction/TestScript/DEVSATCapabilitiesProviderjson"/>
  <version value="0.2.0"/>
  <name value="DEVSATCapabilitiesProviderjson"/>
  <title value="HL7 FHIR R4 TestScript Capabilities Provider JSON"/>
  <status value="active"/>
  <date value="2024-04-10"/>
  <publisher value="AEGIS.net, Inc."/>
  <contact>
    <name value="AEGIS.net, Inc."/>
    <telecom>
      <system value="url"/>
      <value value="https://www.aegis.net"/>
    </telecom>
  </contact>
  <contact>
    <name value="Richard Ettema"/>
    <telecom>
      <system value="email"/>
      <value value="mailto:richard.ettema@aegis.net"/>
    </telecom>
  </contact>
  <description
               value="Example TestScript to test the Developer Satisfaction Provider Actor Capablities using JSON format"/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
      <display value="World"/>
    </coding>
  </jurisdiction>
  <copyright value="(c) Health Level 7 (HL7) International 2023"/>
  <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>
  <profile id="CapabilityStatementProfile">🔗
    <reference
               value="http://hl7.org/fhir/StructureDefinition/CapabilityStatement"/>
  </profile>
  <test id="CapabilitiesProvider">
    <name value="CapabilitiesProvider"/>
    <description
                 value="Test Developer Satisfaction Provider Actor Capablities using JSON format and assert successful returned CapabilityStatement"/>
    <action>
      <operation>
        <type>
          <system
                  value="http://terminology.hl7.org/CodeSystem/testscript-operation-codes"/>
          <code value="metadata"/>
        </type>
        <description
                     value="Provider Actor CapabilityStatement in JSON format"/>
        <accept value="json"/>
        <contentType value="json"/>
        <destination value="1"/>
        <encodeRequestUrl value="true"/>
        <origin value="1"/>
        <params value="/metadata"/>
      </operation>
    </action>
    <action>
      <assert>
        <description
                     value="Confirm that the returned response code is 200 OK."/>
        <direction value="response"/>
        <responseCode value="200"/>
        <warningOnly value="false"/>
      </assert>
    </action>
    <action>
      <assert>
        <description
                     value="Confirm that the returned response payload is a CapabilityStatement resource."/>
        <direction value="response"/>
        <resource value="CapabilityStatement"/>
        <warningOnly value="false"/>
      </assert>
    </action>
    <action>
      <assert>
        <description
                     value="Confirm that the returned CapabilityStatement conforms to the FHIR specification."/>
        <direction value="response"/>
        <validateProfileId value="CapabilityStatementProfile"/>
        <warningOnly value="false"/>
      </assert>
    </action>
    <action>
      <assert>
        <description
                     value="Confirm that the returned CapabilityStatement instantiates the Developer Satisfaction Provider Capabilities."/>
        <direction value="response"/>
        <expression
                    value="CapabilityStatement.where(instantiates = 'http://touchstone.aegis.net/touchstone/fhir/dev-satisfaction/CapabilityStatement/dev-satisfaction-provider-r4').exists()"/>
        <warningOnly value="false"/>
      </assert>
    </action>
  </test>
</TestScript>