0.2.2 - ci-build

FastAccessControl, published by MITRE. This guide is not an authorized publication; it is the continuous build for version 0.2.2 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/awatson1978/fhir-access-control-ig/ and changes regularly. See the Directory of published versions

: Scenario 3 - XML Representation

Draft as of 2022-06-14

Raw xml | Download



<TestScript xmlns="http://hl7.org/fhir">
  <id value="TestScript-Scenario3"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: TestScript TestScript-Scenario3</b></p><a name="TestScript-Scenario3"> </a><a name="hcTestScript-Scenario3"> </a><a name="TestScript-Scenario3-en-US"> </a><p><b>url</b>: <a href="StructureMap-PolstToConsent.html">PolstToConsent</a></p><p><b>version</b>: 0.2.2</p><p><b>name</b>: Scenario 3</p><p><b>title</b>: R4 TestScript - Back End Acces</p><p><b>status</b>: Draft</p><p><b>date</b>: 2022-06-14 23:19:30+0000</p><p><b>publisher</b>: MITRE</p><p><b>contact</b>: MITRE: <a href="https://www.mitre.org">https://www.mitre.org</a></p><blockquote><p><b>fixture</b></p><blockquote><p><b>id</b></p>registration-request-3</blockquote><p><b>autocreate</b>: true</p><p><b>autodelete</b>: true</p><p><b>resource</b>: <a href="registration-request-3">Backend Service - Registration Request</a></p></blockquote><blockquote><p><b>fixture</b></p><blockquote><p><b>id</b></p>registration-response-3</blockquote><p><b>autocreate</b>: true</p><p><b>autodelete</b>: true</p><p><b>resource</b>: <a href="registration-response-3">Backend Service - Registration Response</a></p></blockquote><blockquote><p><b>test</b></p><blockquote><p><b>id</b></p>2823af51-4a7e-5887-3f72-0a10579b4acc</blockquote><p><b>name</b>: 1.1 Register backend service</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Resource</b></td><td><b>Label</b></td><td><b>Description</b></td><td><b>Accept</b></td><td><b>EncodeRequestUrl</b></td><td><b>Method</b></td><td><b>SourceId</b></td><td><b>Url</b></td></tr><tr><td style="display: none">*</td><td>Binary</td><td>Register backend service</td><td>PUT /oauth/registration</td><td>json</td><td>true</td><td>PUT</td><td>registration-request-3</td><td>/oauth/registration</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>Response</b></td><td><b>SourceId</b></td><td><b>WarningOnly</b></td></tr><tr><td style="display: none">*</td><td>Confirm that the returned HTTP status is 201(Success).</td><td>okay</td><td>registration-response-3</td><td>false</td></tr></table></blockquote></blockquote></div>
  </text>
  <url value="http://"/>
  <version value="0.2.2"/>
  <name value="Scenario 3"/>
  <title value="R4 TestScript - Back End Acces"/>
  <status value="draft"/>
  <date value="2022-06-14T23:19:30.696Z"/>
  <publisher value="MITRE"/>
  <contact>
    <name value="MITRE"/>
    <telecom>
      <system value="url"/>
      <value value="https://www.mitre.org"/>
    </telecom>
  </contact>
  <fixture id="registration-request-3">
    <autocreate value="true"/>
    <autodelete value="true"/>
    <resource>
      <reference value="registration-request-3"/>
      <type value="Binary"/>
      <display value="Backend Service - Registration Request"/>
    </resource>
  </fixture>
  <fixture id="registration-response-3">
    <autocreate value="true"/>
    <autodelete value="true"/>
    <resource>
      <reference value="registration-response-3"/>
      <type value="Binary"/>
      <display value="Backend Service - Registration Response"/>
    </resource>
  </fixture>
  <test id="2823af51-4a7e-5887-3f72-0a10579b4acc">
    <name value="1.1 Register backend service"/>
    <action>
      <operation>
        <resource value="Binary"/>
        <label value="Register backend service"/>
        <description value="PUT /oauth/registration"/>
        <accept value="json"/>
        <encodeRequestUrl value="true"/>
        <method value="put"/>
        <sourceId value="registration-request-3"/>
        <url value="/oauth/registration"/>
      </operation>
    </action>
    <action>
      <assert>
        <description
                     value="Confirm that the returned HTTP status is 201(Success)."/>
        <response value="okay"/>
        <sourceId value="registration-response-3"/>
        <warningOnly value="false"/>
      </assert>
    </action>
  </test>
</TestScript>