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

: SMART Client Registration - JSON Representation

Draft as of 2022-06-14

Raw json | Download


{
  "resourceType" : "TestScript",
  "id" : "TestScript-gszMyXpwsdoAjJZeh",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: TestScript TestScript-gszMyXpwsdoAjJZeh</b></p><a name=\"TestScript-gszMyXpwsdoAjJZeh\"> </a><a name=\"hcTestScript-gszMyXpwsdoAjJZeh\"> </a><a name=\"TestScript-gszMyXpwsdoAjJZeh-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>: SMART_Client_Registration</p><p><b>title</b>: R4 TestScript - SMART on FHIR Client Registration</p><p><b>status</b>: Draft</p><p><b>date</b>: 2022-06-14 23:24:46+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><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>[not stated] FHIR-Client: FHIR-Client</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>[not stated] FHIR-Server: FHIR-Server</td></tr></table><blockquote><p><b>fixture</b></p><blockquote><p><b>id</b></p>47be8943-2604-5d89-abb9-5c4e13a5120b</blockquote><p><b>autocreate</b>: true</p><p><b>autodelete</b>: true</p><p><b>resource</b>: <a href=\"Basic-OAuthRegistrationRequest1.html\">Registration Payload 1</a></p></blockquote><blockquote><p><b>fixture</b></p><blockquote><p><b>id</b></p>8b3f5577-4344-5c5e-91a0-ac4942632496</blockquote><p><b>autocreate</b>: true</p><p><b>autodelete</b>: true</p></blockquote><blockquote><p><b>fixture</b></p><blockquote><p><b>id</b></p>b079ec7f-b12a-5fec-bd06-338c44571163</blockquote><p><b>autocreate</b>: true</p><p><b>autodelete</b>: true</p></blockquote><blockquote><p><b>fixture</b></p><blockquote><p><b>id</b></p>f6c54af2-61fd-586d-afde-2d402ebf33af</blockquote><p><b>autocreate</b>: true</p><p><b>autodelete</b>: true</p></blockquote><blockquote><p><b>fixture</b></p><blockquote><p><b>id</b></p>ff897a54-61db-5461-aebb-a42fc4ed0e4d</blockquote><p><b>autocreate</b>: true</p><p><b>autodelete</b>: true</p></blockquote><blockquote><p><b>test</b></p><blockquote><p><b>id</b></p>61dcf836-8376-5637-90e0-24ede617b7b7</blockquote><p><b>name</b>: National Directory - FHIR Metadata</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>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>Url</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"http://terminology.hl7.org/6.0.2/CodeSystem-testscript-operation-codes.html#testscript-operation-codes-read\">Test script operation code</a> read: Read</td><td>National Directory - FHIR Metadata</td><td>GET /baseR4/metadata</td><td>json</td><td>true</td><td>GET</td><td>/baseR4/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>Response</b></td><td><b>WarningOnly</b></td></tr><tr><td style=\"display: none\">*</td><td>Confirm that the returned HTTP status is 200(OK).</td><td>okay</td><td>false</td></tr></table></blockquote></blockquote><blockquote><p><b>test</b></p><blockquote><p><b>id</b></p>e3daf953-6237-5170-8750-3100c0d76cb3</blockquote><p><b>name</b>: Registration (SMART on FHIR)</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>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><a href=\"http://terminology.hl7.org/6.0.2/CodeSystem-testscript-operation-codes.html#testscript-operation-codes-create\">Test script operation code</a> create: Create</td><td>Registration (SMART on FHIR)</td><td>POST /oauth/registration</td><td>json</td><td>true</td><td>POST</td><td>47be8943-2604-5d89-abb9-5c4e13a5120b</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>WarningOnly</b></td></tr><tr><td style=\"display: none\">*</td><td>Confirm that the returned HTTP status is 201(Success).</td><td>created</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>WarningOnly</b></td></tr><tr><td style=\"display: none\">*</td><td>Body contains the following</td><td>false</td></tr></table></blockquote></blockquote><blockquote><p><b>test</b></p><blockquote><p><b>id</b></p>dcd8fa9d-767f-5c63-9648-dffa6974d322</blockquote><p><b>name</b>: Authorize - Stand Alone</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>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>Url</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"http://terminology.hl7.org/6.0.2/CodeSystem-testscript-operation-codes.html#testscript-operation-codes-read\">Test script operation code</a> read: Read</td><td>Authorize - Stand Alone</td><td>GET /oauth/authorize</td><td>json</td><td>true</td><td>GET</td><td>/oauth/authorize</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>WarningOnly</b></td></tr><tr><td style=\"display: none\">*</td><td>Confirm that the returned HTTP status is 200(OK).</td><td>okay</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>WarningOnly</b></td></tr><tr><td style=\"display: none\">*</td><td>Body contains the following</td><td>false</td></tr></table></blockquote></blockquote><blockquote><p><b>test</b></p><blockquote><p><b>id</b></p>e61c9e92-fcdc-5ca3-8b0c-c80d55b50e4e</blockquote><p><b>name</b>: Token request</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>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>Url</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"http://terminology.hl7.org/6.0.2/CodeSystem-testscript-operation-codes.html#testscript-operation-codes-read\">Test script operation code</a> read: Read</td><td>Token request</td><td>GET /oauth/token?client_id=12345&amp;code=5KFP8pBZcbqkSuNnY&amp;grant_type=authorization_code&amp;redirect_uri=https%3A%2F%2Finferno.healthit.gov%2Fsuites%2Fcustom%2Fsmart%2Fredirect</td><td>json</td><td>true</td><td>GET</td><td>/oauth/token</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>WarningOnly</b></td></tr><tr><td style=\"display: none\">*</td><td>Confirm that the returned HTTP status is 200(OK).</td><td>okay</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>WarningOnly</b></td></tr><tr><td style=\"display: none\">*</td><td>Body contains the following</td><td>false</td></tr></table></blockquote></blockquote></div>"
  },
  "url" : "http://",
  "version" : "0.2.2",
  "name" : "SMART_Client_Registration",
  "title" : "R4 TestScript - SMART on FHIR Client Registration",
  "status" : "draft",
  "date" : "2022-06-14T23:24:46.024Z",
  "publisher" : "MITRE",
  "contact" : [
    {
      "name" : "MITRE",
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://www.mitre.org"
        }
      ]
    }
  ],
  "origin" : [
    {
      "index" : 1,
      "profile" : {
        "code" : "FHIR-Client"
      }
    }
  ],
  "destination" : [
    {
      "index" : 1,
      "profile" : {
        "code" : "FHIR-Server"
      }
    }
  ],
  "fixture" : [
    {
      "id" : "47be8943-2604-5d89-abb9-5c4e13a5120b",
      "autocreate" : true,
      "autodelete" : true,
      "resource" : {
        🔗 "reference" : "Basic/OAuthRegistrationRequest1",
        "display" : "Registration Payload 1"
      }
    },
    {
      "id" : "8b3f5577-4344-5c5e-91a0-ac4942632496",
      "autocreate" : true,
      "autodelete" : true
    },
    {
      "id" : "b079ec7f-b12a-5fec-bd06-338c44571163",
      "autocreate" : true,
      "autodelete" : true
    },
    {
      "id" : "f6c54af2-61fd-586d-afde-2d402ebf33af",
      "autocreate" : true,
      "autodelete" : true
    },
    {
      "id" : "ff897a54-61db-5461-aebb-a42fc4ed0e4d",
      "autocreate" : true,
      "autodelete" : true
    }
  ],
  "test" : [
    {
      "id" : "61dcf836-8376-5637-90e0-24ede617b7b7",
      "name" : "National Directory - FHIR Metadata",
      "action" : [
        {
          "operation" : {
            "type" : {
              "system" : "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
              "code" : "read"
            },
            "label" : "National Directory - FHIR Metadata",
            "description" : "GET /baseR4/metadata",
            "accept" : "json",
            "encodeRequestUrl" : true,
            "method" : "get",
            "url" : "/baseR4/metadata"
          }
        },
        {
          "assert" : {
            "description" : "Confirm that the returned HTTP status is 200(OK).",
            "response" : "okay",
            "warningOnly" : false
          }
        }
      ]
    },
    {
      "id" : "e3daf953-6237-5170-8750-3100c0d76cb3",
      "name" : "Registration (SMART on FHIR)",
      "action" : [
        {
          "operation" : {
            "type" : {
              "system" : "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
              "code" : "create"
            },
            "label" : "Registration (SMART on FHIR)",
            "description" : "POST /oauth/registration",
            "accept" : "json",
            "encodeRequestUrl" : true,
            "method" : "post",
            "sourceId" : "47be8943-2604-5d89-abb9-5c4e13a5120b",
            "url" : "/oauth/registration"
          }
        },
        {
          "assert" : {
            "description" : "Confirm that the returned HTTP status is 201(Success).",
            "response" : "created",
            "warningOnly" : false
          }
        },
        {
          "assert" : {
            "description" : "Body contains the following",
            "warningOnly" : false
          }
        }
      ]
    },
    {
      "id" : "dcd8fa9d-767f-5c63-9648-dffa6974d322",
      "name" : "Authorize - Stand Alone",
      "action" : [
        {
          "operation" : {
            "type" : {
              "system" : "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
              "code" : "read"
            },
            "label" : "Authorize - Stand Alone",
            "description" : "GET /oauth/authorize",
            "accept" : "json",
            "encodeRequestUrl" : true,
            "method" : "get",
            "url" : "/oauth/authorize"
          }
        },
        {
          "assert" : {
            "description" : "Confirm that the returned HTTP status is 200(OK).",
            "response" : "okay",
            "warningOnly" : false
          }
        },
        {
          "assert" : {
            "description" : "Body contains the following",
            "warningOnly" : false
          }
        }
      ]
    },
    {
      "id" : "e61c9e92-fcdc-5ca3-8b0c-c80d55b50e4e",
      "name" : "Token request",
      "action" : [
        {
          "operation" : {
            "type" : {
              "system" : "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
              "code" : "read"
            },
            "label" : "Token request",
            "description" : "GET /oauth/token?client_id=12345&code=5KFP8pBZcbqkSuNnY&grant_type=authorization_code&redirect_uri=https%3A%2F%2Finferno.healthit.gov%2Fsuites%2Fcustom%2Fsmart%2Fredirect",
            "accept" : "json",
            "encodeRequestUrl" : true,
            "method" : "get",
            "url" : "/oauth/token"
          }
        },
        {
          "assert" : {
            "description" : "Confirm that the returned HTTP status is 200(OK).",
            "response" : "okay",
            "warningOnly" : false
          }
        },
        {
          "assert" : {
            "description" : "Body contains the following",
            "warningOnly" : false
          }
        }
      ]
    }
  ]
}