FHIR IG analytics| Package | hl7.fhir.us.directory-attestation |
| Resource Type | TestScript |
| Id | TestScript-XA9eSGbRZR7Nrz2Gd.json |
| FHIR Version | R4 |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
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
- Type Label Description Accept EncodeRequestUrl Method Url * Update (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update = 'Update', stated as 'null') Social Worker - Access Role PUT {{hostname}}/baseR4/PractitionerRole/rCY6ePpLywTbfx3yp json true put {{hostname}}/baseR4/PractitionerRole/rCY6ePpLywTbfx3yp action
Asserts
- Description Response WarningOnly * Confirm that the returned HTTP status is 201(Success). created false
test
name: Women's Shelter Location
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') Location Women's Shelter Location PUT {{hostname}}/baseR4/Location/lyW5mPW2nf3DHC7h6 json true put {{hostname}}/baseR4/Location/lyW5mPW2nf3DHC7h6 action
Asserts
- Description Response WarningOnly * Confirm that the returned HTTP status is 201(Success). created false
test
name: Restriction on accessing Women's Shelters
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') Restriction on accessing Women's Shelters PUT {{hostname}}/baseR4/Restriction/cotkDnGQjpHijDsRR json true put {{hostname}}/baseR4/Restriction/cotkDnGQjpHijDsRR action
Asserts
- Description Response WarningOnly * Confirm that the returned HTTP status is 201(Success). created false
test
name: Betty Busybody
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 Betty Busybody PUT {{hostname}}/baseR4/Practitioner json true put {{hostname}}/baseR4/Practitioner action
Asserts
- Description Response WarningOnly * Confirm that the returned HTTP status is 201(Success). created false
{
"resourceType": "TestScript",
"id": "XA9eSGbRZR7Nrz2Gd",
"text": {
"status": "generated",
"div": "<!-- snip (see above) -->"
},
"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-14T23:19:30.696Z",
"publisher": "HL7 Patient Administration Working Group",
"contact": [
{
"name": "HL7 Patient Administration Working Group",
"telecom": [
{
"system": "url",
"value": "https://www.hl7.org/Special/committees/pafm"
},
{
"system": "email",
"value": "pafm@lists.HL7.org"
}
]
}
],
"jurisdiction": [
{
"coding": [
{
"system": "urn:iso:std:iso:3166",
"code": "US"
}
]
}
],
"fixture": [
{
"id": "73594318-988d-5647-b3d8-1f1841578c27",
"autocreate": true,
"autodelete": true,
"resource": {
"reference": "Location/lyW5mPW2nf3DHC7h6",
"type": "Location",
"display": "OrgA CT Location 2"
}
},
{
"id": "43552bb8-5e5e-58e2-b233-36727b1d9d87",
"autocreate": true,
"autodelete": true,
"resource": {
"reference": "ExampleScenario/5psortwYNqr2vLNwQ",
"type": "ExampleScenario"
}
}
],
"test": [
{
"id": "4222467a-7bc0-54e4-9879-88fa0c05c412",
"name": "Social Worker - Access Role",
"action": [
{
"operation": {
"type": {
"system": "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
"code": "update"
},
"label": "Social Worker - Access Role",
"description": "PUT {{hostname}}/baseR4/PractitionerRole/rCY6ePpLywTbfx3yp",
"accept": "json",
"encodeRequestUrl": true,
"method": "put",
"url": "{{hostname}}/baseR4/PractitionerRole/rCY6ePpLywTbfx3yp"
}
},
{
"assert": {
"description": "Confirm that the returned HTTP status is 201(Success).",
"response": "created",
"warningOnly": false
}
}
]
},
{
"id": "ef27765c-a138-5669-b255-17bb91d30cc0",
"name": "Women's Shelter Location",
"action": [
{
"operation": {
"type": {
"system": "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
"code": "update"
},
"resource": "Location",
"label": "Women's Shelter Location",
"description": "PUT {{hostname}}/baseR4/Location/lyW5mPW2nf3DHC7h6",
"accept": "json",
"encodeRequestUrl": true,
"method": "put",
"url": "{{hostname}}/baseR4/Location/lyW5mPW2nf3DHC7h6"
}
},
{
"assert": {
"description": "Confirm that the returned HTTP status is 201(Success).",
"response": "created",
"warningOnly": false
}
}
]
},
{
"id": "309ca261-92bf-5063-ba69-77f29c52c671",
"name": "Restriction on accessing Women's Shelters",
"action": [
{
"operation": {
"type": {
"system": "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
"code": "update"
},
"label": "Restriction on accessing Women's Shelters",
"description": "PUT {{hostname}}/baseR4/Restriction/cotkDnGQjpHijDsRR",
"accept": "json",
"encodeRequestUrl": true,
"method": "put",
"url": "{{hostname}}/baseR4/Restriction/cotkDnGQjpHijDsRR"
}
},
{
"assert": {
"description": "Confirm that the returned HTTP status is 201(Success).",
"response": "created",
"warningOnly": false
}
}
]
},
{
"id": "5fa71b21-0437-58c1-9110-2e19b3ada768",
"name": "Betty Busybody",
"action": [
{
"operation": {
"type": {
"system": "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
"code": "update"
},
"resource": "Practitioner",
"label": "Betty Busybody",
"description": "PUT {{hostname}}/baseR4/Practitioner",
"accept": "json",
"encodeRequestUrl": true,
"method": "put",
"url": "{{hostname}}/baseR4/Practitioner"
}
},
{
"assert": {
"description": "Confirm that the returned HTTP status is 201(Success).",
"response": "created",
"warningOnly": false
}
}
]
}
]
}