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

## TestScript: Dynamic Client Registration

Official URL: http:// | Version: 1.0.0-ballot
Draft as of 2022-06-14 | Computable Name: UDAP_Dynamic_Client_Registration

Generated Narrative: TestScript

Resource TestScript "gszMyXpwsdoAjJZeh"

url: `http://`

version: 1.0.0-ballot

name: UDAP_Dynamic_Client_Registration

title: UDAP Dynamic Client Registration

status: draft

date: 2022-06-14 23:24:46+0000

publisher: HL7 Patient Administration Working Group

contact: HL7 Patient Administration Working Group: https://www.hl7.org/Special/committees/pafm,pafm@lists.HL7.org

jurisdiction: United States of America (ISO 3166-1 Codes for the representation of names of countries and their subdivisions — Part 1: Country code#US)

> fixture

> autocreate: true

> autodelete: true

> fixture

> autocreate: true

> autodelete: true

> fixture

> autocreate: true

> autodelete: true

> fixture

> autocreate: true

> autodelete: true

> fixture

> autocreate: true

> autodelete: true

> test

> name: National Directory - FHIR Metadata

> > action

> > ### Operations

> > - | Type | Label | Description | Accept | EncodeRequestUrl | Method | Url
> > * | Read (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code read = 'Read', stated as 'null') | National Directory - FHIR Metadata | GET {{hostname}}/baseR4/metadata | json | true | get | {{hostname}}/baseR4/metadata

> > action

> > ### Asserts

> > - | Description | Response | WarningOnly
> > * | Confirm that the returned HTTP status is 200(OK). | okay | false

> test

> name: National Directory - UDAP Metadata

> > action

> > ### Operations

> > - | Type | Label | Description | Accept | EncodeRequestUrl | Method | Url
> > * | Read (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code read = 'Read', stated as 'null') | National Directory - UDAP Metadata | GET {{hostname}}/.well-known/udap | json | true | get | {{hostname}}/.well-known/udap

> > action

> > ### Asserts

> > - | Description | Response | WarningOnly
> > * | Confirm that the returned HTTP status is 200(OK). | okay | false

> test

> name: Registration (UDAP)

> > action

> > ### Operations

> > - | Type | Label | Description | Accept | EncodeRequestUrl | Method | Url
> > * | Create (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code create = 'Create', stated as 'null') | Registration (UDAP) | POST {{hostname}}/oauth/registration | json | true | post | {{hostname}}/oauth/registration

> > action

> > ### Asserts

> > - | Description | Response | WarningOnly
> > * | Confirm that the returned HTTP status is 201(Success). | created | false

> test

> name: Registration (SMART on FHIR)

> > action

> > ### Operations

> > - | Type | Label | Description | Accept | EncodeRequestUrl | Method | Url
> > * | Create (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code create = 'Create', stated as 'null') | Registration (SMART on FHIR) | POST {{hostname}}/oauth/registration | json | true | post | {{hostname}}/oauth/registration

> > action

> > ### Asserts

> > - | Description | Response | WarningOnly
> > * | Confirm that the returned HTTP status is 201(Success). | created | false

> test

> name: Authorize - Stand Alone

> > action

> > ### Operations

> > - | Type | Label | Description | Accept | EncodeRequestUrl | Method | Url
> > * | Read (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code read = 'Read', stated as 'null') | Authorize - Stand Alone | GET {{hostname}}/oauth/authorize | json | true | get | {{hostname}}/oauth/authorize

> > action

> > ### Asserts

> > - | Description | Response | WarningOnly
> > * | Confirm that the returned HTTP status is 200(OK). | okay | false

> test

> name: Authorize - EHR Launch

> > action

> > ### Operations

> > - | Type | Label | Description | Accept | EncodeRequestUrl | Method | Url
> > * | Read (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code read = 'Read', stated as 'null') | Authorize - EHR Launch | GET {{hostname}}/oauth/authorize | json | true | get | {{hostname}}/oauth/authorize

> > action

> > ### Asserts

> > - | Description | Response | WarningOnly
> > * | Confirm that the returned HTTP status is 200(OK). | okay | false

> test

> name: Token request

> > action

> > ### Operations

> > - | Type | Label | Description | Accept | EncodeRequestUrl | Method | Url
> > * | Read (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code read = 'Read', stated as 'null') | Token request | GET {{hostname}}/oauth/token | json | true | get | {{hostname}}/oauth/token

> > action

> > ### Asserts

> > - | Description | Response | WarningOnly
> > * | Confirm that the returned HTTP status is 200(OK). | okay | false