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: Subscriptions

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

Generated Narrative: TestScript

Resource TestScript "odYxqzPToJTN3A8GN"

url: `http://`

version: 1.0.0-ballot

name: Subscriptions

title: Subscriptions

status: draft

date: 2022-06-14 23:07:30+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

> resource: Subscription/s7aTc2yk4YQyBRify

> fixture

> autocreate: true

> autodelete: true

> resource: Subscription/s7aTc2yk4YQyBRify

> fixture

> autocreate: true

> autodelete: true

> resource: Organization/o6AJtyEk6sSsHWLjt: St. James Infirmary - Covid Ward "St. James Infirmary"

> fixture

> autocreate: true

> autodelete: true

> resource: Practitioner/pZzusFYr3PBYyRnot " CAMRON"

> test

> name: Subscribe to Organization updates via rest-hooks

> > action

> > ### Operations

> > - | Type | Label | Description | Accept | EncodeRequestUrl | Method | Url
> > * | Update (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update = 'Update', stated as 'null') | Subscribe to Organization updates via rest-hooks | PUT {{hostname}}/baseR4/Subscription/s7aTc2yk4YQyBRify | json | true | put | {{hostname}}/baseR4/Subscription/s7aTc2yk4YQyBRify

> > action

> > ### Asserts

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

> test

> name: Delete Subscription

> > action

> > ### Operations

> > - | Type | Label | Description | Accept | EncodeRequestUrl | Method | Url
> > * | Delete (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code delete = 'Delete', stated as 'null') | Delete Subscription | DELETE {{hostname}}/baseR4/Subscription/s7aTc2yk4YQyBRify | json | true | delete | {{hostname}}/baseR4/Subscription/s7aTc2yk4YQyBRify

> > action

> > ### Asserts

> > - | Description | Response | WarningOnly
> > * | Confirm that the returned HTTP status is 204(Gone). | noContent | false

> test

> name: Attest a new Organization (St. James Infirmary)

> > action

> > ### Operations

> > - | Type | Resource | Label | Description | Accept | EncodeRequestUrl | Method | Url
> > * | Update (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update = 'Update', stated as 'null') | Organization | Attest a new Organization (St. James Infirmary) | PUT {{hostname}}/baseR4/Organization/o6AJtyEk6sSsHWLjt | json | true | put | {{hostname}}/baseR4/Organization/o6AJtyEk6sSsHWLjt

> > action

> > ### Asserts

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

> test

> name: Delete an existing Organization (St. James Infirmary)

> > action

> > ### Operations

> > - | Type | Resource | Label | Description | Accept | EncodeRequestUrl | Method | Url
> > * | Delete (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code delete = 'Delete', stated as 'null') | Organization | Delete an existing Organization (St. James Infirmary) | DELETE {{hostname}}/baseR4/Organization/o6AJtyEk6sSsHWLjt | json | true | delete | {{hostname}}/baseR4/Organization/o6AJtyEk6sSsHWLjt

> > action

> > ### Asserts

> > - | Description | Response | WarningOnly
> > * | Confirm that the returned HTTP status is 204(Gone). | noContent | false

> test

> name: Attest a new Practitioner (Dr. Allison Camron)

> > action

> > ### Operations

> > - | Type | Resource | Label | Description | Accept | EncodeRequestUrl | Method | Url
> > * | Update (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update = 'Update', stated as 'null') | Practitioner | Attest a new Practitioner (Dr. Allison Camron) | PUT {{hostname}}/baseR4/Practitioner/fZzusFYr3PBYyRnot | json | true | put | {{hostname}}/baseR4/Practitioner/fZzusFYr3PBYyRnot

> > action

> > ### Asserts

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

> test

> name: Delete an existing Practitioner (Allison Camron)

> > action

> > ### Operations

> > - | Type | Resource | Label | Description | Accept | EncodeRequestUrl | Method | Url
> > * | Delete (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code delete = 'Delete', stated as 'null') | Practitioner | Delete an existing Practitioner (Allison Camron) | DELETE {{hostname}}/baseR4/Practitioner/fZzusFYr3PBYyRnot | json | true | delete | {{hostname}}/baseR4/Practitioner/fZzusFYr3PBYyRnot

> > action

> > ### Asserts

> > - | Description | Response | WarningOnly
> > * | Confirm that the returned HTTP status is 204(Gone). | noContent | false