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 - JSON Representation

Draft as of 2022-06-14

Raw json | Download


{
  "resourceType" : "TestScript",
  "id" : "TestScript-Scenario3",
  "text" : {
    "status" : "generated",
    "div" : "<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>"
  },
  "url" : "http://",
  "version" : "0.2.2",
  "name" : "Scenario 3",
  "title" : "R4 TestScript - Back End Acces",
  "status" : "draft",
  "date" : "2022-06-14T23:19:30.696Z",
  "publisher" : "MITRE",
  "contact" : [
    {
      "name" : "MITRE",
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://www.mitre.org"
        }
      ]
    }
  ],
  "fixture" : [
    {
      "id" : "registration-request-3",
      "autocreate" : true,
      "autodelete" : true,
      "resource" : {
        "reference" : "registration-request-3",
        "type" : "Binary",
        "display" : "Backend Service - Registration Request"
      }
    },
    {
      "id" : "registration-response-3",
      "autocreate" : true,
      "autodelete" : true,
      "resource" : {
        "reference" : "registration-response-3",
        "type" : "Binary",
        "display" : "Backend Service - Registration Response"
      }
    }
  ],
  "test" : [
    {
      "id" : "2823af51-4a7e-5887-3f72-0a10579b4acc",
      "name" : "1.1 Register backend service",
      "action" : [
        {
          "operation" : {
            "resource" : "Binary",
            "label" : "Register backend service",
            "description" : "PUT /oauth/registration",
            "accept" : "json",
            "encodeRequestUrl" : true,
            "method" : "put",
            "sourceId" : "registration-request-3",
            "url" : "/oauth/registration"
          }
        },
        {
          "assert" : {
            "description" : "Confirm that the returned HTTP status is 201(Success).",
            "response" : "okay",
            "sourceId" : "registration-response-3",
            "warningOnly" : false
          }
        }
      ]
    }
  ]
}