National Healthcare Directory Attestation and Verification
1.0.0-ballot - ballot United States of America flag

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

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

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 23: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 (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: 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