National Healthcare Directory Attestation and Verification
1.0.0-ballot - ballot US

This page is part of the National Healthcare Directory Attestation (v1.0.0-ballot: STU 1 Ballot 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

TestScript: Subscriptions

Draft as of 2022-06-14

Generated Narrative: TestScript

Resource TestScript "odYxqzPToJTN3A8GN"

url: http://

version: 1.0.0-ballot

name: Subscriptions

title: Subscriptions

status: draft

date: 2022-06-14 11: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 (unknown#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

-TypeLabelDescriptionAcceptEncodeRequestUrlMethodUrl
*Update (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update = 'Update', stated as 'null')Subscribe to Organization updates via rest-hooksPUT {{hostname}}/baseR4/Subscription/s7aTc2yk4YQyBRifyjsontrueput{{hostname}}/baseR4/Subscription/s7aTc2yk4YQyBRify

action

Asserts

-DescriptionResponseWarningOnly
*Confirm that the returned HTTP status is 201(Success).createdfalse

test

name: Delete Subscription

action

Operations

-TypeLabelDescriptionAcceptEncodeRequestUrlMethodUrl
*Delete (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code delete = 'Delete', stated as 'null')Delete SubscriptionDELETE {{hostname}}/baseR4/Subscription/s7aTc2yk4YQyBRifyjsontruedelete{{hostname}}/baseR4/Subscription/s7aTc2yk4YQyBRify

action

Asserts

-DescriptionResponseWarningOnly
*Confirm that the returned HTTP status is 204(Gone).noContentfalse

test

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

action

Operations

-TypeResourceLabelDescriptionAcceptEncodeRequestUrlMethodUrl
*Update (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update = 'Update', stated as 'null')OrganizationAttest a new Organization (St. James Infirmary)PUT {{hostname}}/baseR4/Organization/o6AJtyEk6sSsHWLjtjsontrueput{{hostname}}/baseR4/Organization/o6AJtyEk6sSsHWLjt

action

Asserts

-DescriptionResponseWarningOnly
*Confirm that the returned HTTP status is 201(Success).createdfalse

test

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

action

Operations

-TypeResourceLabelDescriptionAcceptEncodeRequestUrlMethodUrl
*Delete (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code delete = 'Delete', stated as 'null')OrganizationDelete an existing Organization (St. James Infirmary)DELETE {{hostname}}/baseR4/Organization/o6AJtyEk6sSsHWLjtjsontruedelete{{hostname}}/baseR4/Organization/o6AJtyEk6sSsHWLjt

action

Asserts

-DescriptionResponseWarningOnly
*Confirm that the returned HTTP status is 204(Gone).noContentfalse

test

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

action

Operations

-TypeResourceLabelDescriptionAcceptEncodeRequestUrlMethodUrl
*Update (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update = 'Update', stated as 'null')PractitionerAttest a new Practitioner (Dr. Allison Camron)PUT {{hostname}}/baseR4/Practitioner/fZzusFYr3PBYyRnotjsontrueput{{hostname}}/baseR4/Practitioner/fZzusFYr3PBYyRnot

action

Asserts

-DescriptionResponseWarningOnly
*Confirm that the returned HTTP status is 201(Success).createdfalse

test

name: Delete an existing Practitioner (Allison Camron)

action

Operations

-TypeResourceLabelDescriptionAcceptEncodeRequestUrlMethodUrl
*Delete (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code delete = 'Delete', stated as 'null')PractitionerDelete an existing Practitioner (Allison Camron)DELETE {{hostname}}/baseR4/Practitioner/fZzusFYr3PBYyRnotjsontruedelete{{hostname}}/baseR4/Practitioner/fZzusFYr3PBYyRnot

action

Asserts

-DescriptionResponseWarningOnly
*Confirm that the returned HTTP status is 204(Gone).noContentfalse