National Healthcare Directory Attestation and Verification
1.0.0-ballot - ballot

National Healthcare Directory Attestation and Verification, published by HL7 Patient Administration Working Group. This is not an authorized publication; it is the continuous build for version 1.0.0-ballot). This version is based on the current content of https://github.com/HL7/fhir-directory-attestation/ and changes regularly. See the Directory of published versions

## : Dynamic Client Registration - XML Representation

Draft as of 2022-06-14

Raw xml | Download

    <TestScript xmlns="http://hl7.org/fhir">
      <id value="gszMyXpwsdoAjJZeh"/>
      <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: TestScript</b><a name="gszMyXpwsdoAjJZeh"> </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;gszMyXpwsdoAjJZeh&quot; </p></div><p><b>url</b>: <code>http://</code></p><p><b>version</b>: 1.0.0-ballot</p><p><b>name</b>: UDAP_Dynamic_Client_Registration</p><p><b>title</b>: UDAP Dynamic 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>: HL7 Patient Administration Working Group</p><p><b>contact</b>: HL7 Patient Administration Working Group: <a href="https://www.hl7.org/Special/committees/pafm">https://www.hl7.org/Special/committees/pafm</a>,<a href="mailto:pafm@lists.HL7.org">pafm@lists.HL7.org</a></p><p><b>jurisdiction</b>: United States of America <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/5.0.0/CodeSystem-ISO3166Part1.html">ISO 3166-1 Codes for the representation of names of countries and their subdivisions — Part 1: Country code</a>#US)</span></p><blockquote><p><b>fixture</b></p><p><b>autocreate</b>: true</p><p><b>autodelete</b>: true</p></blockquote><blockquote><p><b>fixture</b></p><p><b>autocreate</b>: true</p><p><b>autodelete</b>: true</p></blockquote><blockquote><p><b>fixture</b></p><p><b>autocreate</b>: true</p><p><b>autodelete</b>: true</p></blockquote><blockquote><p><b>fixture</b></p><p><b>autocreate</b>: true</p><p><b>autodelete</b>: true</p></blockquote><blockquote><p><b>fixture</b></p><p><b>autocreate</b>: true</p><p><b>autodelete</b>: true</p></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: National Directory - FHIR Metadata</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class="grid"><tr><td>-</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>*</td><td>Read (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code read = 'Read', stated as 'null')</td><td>National Directory - FHIR Metadata</td><td>GET {{hostname}}/baseR4/metadata</td><td>json</td><td>true</td><td>get</td><td>{{hostname}}/baseR4/metadata</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class="grid"><tr><td>-</td><td><b>Description</b></td><td><b>Response</b></td><td><b>WarningOnly</b></td></tr><tr><td>*</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><p><b>name</b>: National Directory - UDAP Metadata</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class="grid"><tr><td>-</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>*</td><td>Read (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code read = 'Read', stated as 'null')</td><td>National Directory - UDAP Metadata</td><td>GET {{hostname}}/.well-known/udap</td><td>json</td><td>true</td><td>get</td><td>{{hostname}}/.well-known/udap</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class="grid"><tr><td>-</td><td><b>Description</b></td><td><b>Response</b></td><td><b>WarningOnly</b></td></tr><tr><td>*</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><p><b>name</b>: Registration (UDAP)</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class="grid"><tr><td>-</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>*</td><td>Create (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code create = 'Create', stated as 'null')</td><td>Registration (UDAP)</td><td>POST {{hostname}}/oauth/registration</td><td>json</td><td>true</td><td>post</td><td>{{hostname}}/oauth/registration</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class="grid"><tr><td>-</td><td><b>Description</b></td><td><b>Response</b></td><td><b>WarningOnly</b></td></tr><tr><td>*</td><td>Confirm that the returned HTTP status is 201(Success).</td><td>created</td><td>false</td></tr></table></blockquote></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: Registration (SMART on FHIR)</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class="grid"><tr><td>-</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>*</td><td>Create (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code create = 'Create', stated as 'null')</td><td>Registration (SMART on FHIR)</td><td>POST {{hostname}}/oauth/registration</td><td>json</td><td>true</td><td>post</td><td>{{hostname}}/oauth/registration</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class="grid"><tr><td>-</td><td><b>Description</b></td><td><b>Response</b></td><td><b>WarningOnly</b></td></tr><tr><td>*</td><td>Confirm that the returned HTTP status is 201(Success).</td><td>created</td><td>false</td></tr></table></blockquote></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: Authorize - Stand Alone</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class="grid"><tr><td>-</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>*</td><td>Read (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code read = 'Read', stated as 'null')</td><td>Authorize - Stand Alone</td><td>GET {{hostname}}/oauth/authorize</td><td>json</td><td>true</td><td>get</td><td>{{hostname}}/oauth/authorize</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class="grid"><tr><td>-</td><td><b>Description</b></td><td><b>Response</b></td><td><b>WarningOnly</b></td></tr><tr><td>*</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><p><b>name</b>: Authorize - EHR Launch</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class="grid"><tr><td>-</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>*</td><td>Read (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code read = 'Read', stated as 'null')</td><td>Authorize - EHR Launch</td><td>GET {{hostname}}/oauth/authorize</td><td>json</td><td>true</td><td>get</td><td>{{hostname}}/oauth/authorize</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class="grid"><tr><td>-</td><td><b>Description</b></td><td><b>Response</b></td><td><b>WarningOnly</b></td></tr><tr><td>*</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><p><b>name</b>: Token request</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class="grid"><tr><td>-</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>*</td><td>Read (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code read = 'Read', stated as 'null')</td><td>Token request</td><td>GET {{hostname}}/oauth/token</td><td>json</td><td>true</td><td>get</td><td>{{hostname}}/oauth/token</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class="grid"><tr><td>-</td><td><b>Description</b></td><td><b>Response</b></td><td><b>WarningOnly</b></td></tr><tr><td>*</td><td>Confirm that the returned HTTP status is 200(OK).</td><td>okay</td><td>false</td></tr></table></blockquote></blockquote></div>
      </text>
      <url value="http://"/>
      <version value="1.0.0-ballot"/>
      <name value="UDAP_Dynamic_Client_Registration"/>
      <title value="UDAP Dynamic Client Registration"/>
      <status value="draft"/>
      <date value="2022-06-14T23:24:46.024Z"/>
      <publisher value="HL7 Patient Administration Working Group"/>
      <contact>
        <name value="HL7 Patient Administration Working Group"/>
        <telecom>
          <system value="url"/>
          <value value="https://www.hl7.org/Special/committees/pafm"/>
        </telecom>
        <telecom>
          <system value="email"/>
          <value value="pafm@lists.HL7.org"/>
        </telecom>
      </contact>
      <jurisdiction>
        <coding>
          <system value="urn:iso:std:iso:3166"/>
          <code value="US"/>
        </coding>
      </jurisdiction>
      <fixture id="47be8943-2604-5d89-abb9-5c4e13a5120b">
        <autocreate value="true"/>
        <autodelete value="true"/>
      </fixture>
      <fixture id="8b3f5577-4344-5c5e-91a0-ac4942632496">
        <autocreate value="true"/>
        <autodelete value="true"/>
      </fixture>
      <fixture id="b079ec7f-b12a-5fec-bd06-338c44571163">
        <autocreate value="true"/>
        <autodelete value="true"/>
      </fixture>
      <fixture id="f6c54af2-61fd-586d-afde-2d402ebf33af">
        <autocreate value="true"/>
        <autodelete value="true"/>
      </fixture>
      <fixture id="ff897a54-61db-5461-aebb-a42fc4ed0e4d">
        <autocreate value="true"/>
        <autodelete value="true"/>
      </fixture>
      <test id="61dcf836-8376-5637-90e0-24ede617b7b7">
        <name value="National Directory - FHIR Metadata"/>
        <action>
          <operation>
            <type>
              <system
                      value="http://terminology.hl7.org/CodeSystem/testscript-operation-codes"/>
              <code value="read"/>
            </type>
            <label value="National Directory - FHIR Metadata"/>
            <description value="GET {{hostname}}/baseR4/metadata"/>
            <accept value="json"/>
            <encodeRequestUrl value="true"/>
            <method value="get"/>
            <url value="{{hostname}}/baseR4/metadata"/>
          </operation>
        </action>
        <action>
          <assert>
            <description
                         value="Confirm that the returned HTTP status is 200(OK)."/>
            <response value="okay"/>
            <warningOnly value="false"/>
          </assert>
        </action>
      </test>
      <test id="72dc5199-fe6f-5c22-bf91-73f0d040d35f">
        <name value="National Directory - UDAP Metadata"/>
        <action>
          <operation>
            <type>
              <system
                      value="http://terminology.hl7.org/CodeSystem/testscript-operation-codes"/>
              <code value="read"/>
            </type>
            <label value="National Directory - UDAP Metadata"/>
            <description value="GET {{hostname}}/.well-known/udap"/>
            <accept value="json"/>
            <encodeRequestUrl value="true"/>
            <method value="get"/>
            <url value="{{hostname}}/.well-known/udap"/>
          </operation>
        </action>
        <action>
          <assert>
            <description
                         value="Confirm that the returned HTTP status is 200(OK)."/>
            <response value="okay"/>
            <warningOnly value="false"/>
          </assert>
        </action>
      </test>
      <test id="563db1ef-42e4-51e2-915d-714a157af21d">
        <name value="Registration (UDAP)"/>
        <action>
          <operation>
            <type>
              <system
                      value="http://terminology.hl7.org/CodeSystem/testscript-operation-codes"/>
              <code value="create"/>
            </type>
            <label value="Registration (UDAP)"/>
            <description value="POST {{hostname}}/oauth/registration"/>
            <accept value="json"/>
            <encodeRequestUrl value="true"/>
            <method value="post"/>
            <url value="{{hostname}}/oauth/registration"/>
          </operation>
        </action>
        <action>
          <assert>
            <description
                         value="Confirm that the returned HTTP status is 201(Success)."/>
            <response value="created"/>
            <warningOnly value="false"/>
          </assert>
        </action>
      </test>
      <test id="e3daf953-6237-5170-8750-3100c0d76cb3">
        <name value="Registration (SMART on FHIR)"/>
        <action>
          <operation>
            <type>
              <system
                      value="http://terminology.hl7.org/CodeSystem/testscript-operation-codes"/>
              <code value="create"/>
            </type>
            <label value="Registration (SMART on FHIR)"/>
            <description value="POST {{hostname}}/oauth/registration"/>
            <accept value="json"/>
            <encodeRequestUrl value="true"/>
            <method value="post"/>
            <url value="{{hostname}}/oauth/registration"/>
          </operation>
        </action>
        <action>
          <assert>
            <description
                         value="Confirm that the returned HTTP status is 201(Success)."/>
            <response value="created"/>
            <warningOnly value="false"/>
          </assert>
        </action>
      </test>
      <test id="dcd8fa9d-767f-5c63-9648-dffa6974d322">
        <name value="Authorize - Stand Alone"/>
        <action>
          <operation>
            <type>
              <system
                      value="http://terminology.hl7.org/CodeSystem/testscript-operation-codes"/>
              <code value="read"/>
            </type>
            <label value="Authorize - Stand Alone"/>
            <description value="GET {{hostname}}/oauth/authorize"/>
            <accept value="json"/>
            <encodeRequestUrl value="true"/>
            <method value="get"/>
            <url value="{{hostname}}/oauth/authorize"/>
          </operation>
        </action>
        <action>
          <assert>
            <description
                         value="Confirm that the returned HTTP status is 200(OK)."/>
            <response value="okay"/>
            <warningOnly value="false"/>
          </assert>
        </action>
      </test>
      <test id="e61c9e92-fcdc-5ca3-8b0c-c80d55b50e4e">
        <name value="Authorize - EHR Launch"/>
        <action>
          <operation>
            <type>
              <system
                      value="http://terminology.hl7.org/CodeSystem/testscript-operation-codes"/>
              <code value="read"/>
            </type>
            <label value="Authorize - EHR Launch"/>
            <description value="GET {{hostname}}/oauth/authorize"/>
            <accept value="json"/>
            <encodeRequestUrl value="true"/>
            <method value="get"/>
            <url value="{{hostname}}/oauth/authorize"/>
          </operation>
        </action>
        <action>
          <assert>
            <description
                         value="Confirm that the returned HTTP status is 200(OK)."/>
            <response value="okay"/>
            <warningOnly value="false"/>
          </assert>
        </action>
      </test>
      <test id="cca5c045-fedd-5617-9803-7542eed48739">
        <name value="Token request"/>
        <action>
          <operation>
            <type>
              <system
                      value="http://terminology.hl7.org/CodeSystem/testscript-operation-codes"/>
              <code value="read"/>
            </type>
            <label value="Token request"/>
            <description value="GET {{hostname}}/oauth/token"/>
            <accept value="json"/>
            <encodeRequestUrl value="true"/>
            <method value="get"/>
            <url value="{{hostname}}/oauth/token"/>
          </operation>
        </action>
        <action>
          <assert>
            <description
                         value="Confirm that the returned HTTP status is 200(OK)."/>
            <response value="okay"/>
            <warningOnly value="false"/>
          </assert>
        </action>
      </test>
    </TestScript>