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: Restricted Access

Draft as of 2022-06-14

Generated Narrative: TestScript

Resource TestScript "XA9eSGbRZR7Nrz2Gd"

url: http://

version: 1.0.0-ballot

name: Tiered_OAuth_Restricted_Data

title: Tiered OAuth - Restricted Access to Womens Shelters

status: draft

date: 2022-06-14 11:19: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: Location/lyW5mPW2nf3DHC7h6: OrgA CT Location 2 "OrgA CT Location 2"

fixture

autocreate: true

autodelete: true

resource: ExampleScenario/5psortwYNqr2vLNwQ

test

name: Social Worker - Access Role

action

Operations

-TypeLabelDescriptionAcceptEncodeRequestUrlMethodUrl
*Update (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update = 'Update', stated as 'null')Social Worker - Access RolePUT {{hostname}}/baseR4/PractitionerRole/rCY6ePpLywTbfx3ypjsontrueput{{hostname}}/baseR4/PractitionerRole/rCY6ePpLywTbfx3yp

action

Asserts

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

test

name: Women's Shelter Location

action

Operations

-TypeResourceLabelDescriptionAcceptEncodeRequestUrlMethodUrl
*Update (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update = 'Update', stated as 'null')LocationWomen's Shelter LocationPUT {{hostname}}/baseR4/Location/lyW5mPW2nf3DHC7h6jsontrueput{{hostname}}/baseR4/Location/lyW5mPW2nf3DHC7h6

action

Asserts

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

test

name: Restriction on accessing Women's Shelters

action

Operations

-TypeLabelDescriptionAcceptEncodeRequestUrlMethodUrl
*Update (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update = 'Update', stated as 'null')Restriction on accessing Women's SheltersPUT {{hostname}}/baseR4/Restriction/cotkDnGQjpHijDsRRjsontrueput{{hostname}}/baseR4/Restriction/cotkDnGQjpHijDsRR

action

Asserts

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

test

name: Betty Busybody

action

Operations

-TypeResourceLabelDescriptionAcceptEncodeRequestUrlMethodUrl
*Update (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update = 'Update', stated as 'null')PractitionerBetty BusybodyPUT {{hostname}}/baseR4/Practitionerjsontrueput{{hostname}}/baseR4/Practitioner

action

Asserts

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