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
Draft as of 2022-06-14 |
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
a fhir:TestScript;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "XA9eSGbRZR7Nrz2Gd"]; #
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: TestScript</b><a name=\"XA9eSGbRZR7Nrz2Gd\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource TestScript "XA9eSGbRZR7Nrz2Gd" </p></div><p><b>url</b>: <code>http://</code></p><p><b>version</b>: 1.0.0-ballot</p><p><b>name</b>: Tiered_OAuth_Restricted_Data</p><p><b>title</b>: Tiered OAuth - Restricted Access to Womens Shelters</p><p><b>status</b>: draft</p><p><b>date</b>: 2022-06-14 23:19:30+0000</p><p><b>publisher</b>: HL7 Patient Administration Working Group</p><p><b>contact</b>: HL7 Patient Administration Working Group: <a href=\"https://www.hl7.org/Special/committees/pafm\">https://www.hl7.org/Special/committees/pafm</a>,<a href=\"mailto:pafm@lists.HL7.org\">pafm@lists.HL7.org</a></p><p><b>jurisdiction</b>: United States of America <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-ISO3166Part1.html\">ISO 3166-1 Codes for the representation of names of countries and their subdivisions — Part 1: Country code</a>#US)</span></p><blockquote><p><b>fixture</b></p><p><b>autocreate</b>: true</p><p><b>autodelete</b>: true</p><p><b>resource</b>: <a href=\"Location-lyW5mPW2nf3DHC7h6.html\">Location/lyW5mPW2nf3DHC7h6: OrgA CT Location 2</a> "OrgA CT Location 2"</p></blockquote><blockquote><p><b>fixture</b></p><p><b>autocreate</b>: true</p><p><b>autodelete</b>: true</p><p><b>resource</b>: <a href=\"ExampleScenario-5psortwYNqr2vLNwQ.html\">ExampleScenario/5psortwYNqr2vLNwQ</a></p></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: Social Worker - Access Role</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>Label</b></td><td><b>Description</b></td><td><b>Accept</b></td><td><b>EncodeRequestUrl</b></td><td><b>Method</b></td><td><b>Url</b></td></tr><tr><td>*</td><td>Update (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update = 'Update', stated as 'null')</td><td>Social Worker - Access Role</td><td>PUT {{hostname}}/baseR4/PractitionerRole/rCY6ePpLywTbfx3yp</td><td>json</td><td>true</td><td>put</td><td>{{hostname}}/baseR4/PractitionerRole/rCY6ePpLywTbfx3yp</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td>-</td><td><b>Description</b></td><td><b>Response</b></td><td><b>WarningOnly</b></td></tr><tr><td>*</td><td>Confirm that the returned HTTP status is 201(Success).</td><td>created</td><td>false</td></tr></table></blockquote></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: Women's Shelter Location</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>Resource</b></td><td><b>Label</b></td><td><b>Description</b></td><td><b>Accept</b></td><td><b>EncodeRequestUrl</b></td><td><b>Method</b></td><td><b>Url</b></td></tr><tr><td>*</td><td>Update (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update = 'Update', stated as 'null')</td><td>Location</td><td>Women's Shelter Location</td><td>PUT {{hostname}}/baseR4/Location/lyW5mPW2nf3DHC7h6</td><td>json</td><td>true</td><td>put</td><td>{{hostname}}/baseR4/Location/lyW5mPW2nf3DHC7h6</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td>-</td><td><b>Description</b></td><td><b>Response</b></td><td><b>WarningOnly</b></td></tr><tr><td>*</td><td>Confirm that the returned HTTP status is 201(Success).</td><td>created</td><td>false</td></tr></table></blockquote></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: Restriction on accessing Women's Shelters</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>Label</b></td><td><b>Description</b></td><td><b>Accept</b></td><td><b>EncodeRequestUrl</b></td><td><b>Method</b></td><td><b>Url</b></td></tr><tr><td>*</td><td>Update (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update = 'Update', stated as 'null')</td><td>Restriction on accessing Women's Shelters</td><td>PUT {{hostname}}/baseR4/Restriction/cotkDnGQjpHijDsRR</td><td>json</td><td>true</td><td>put</td><td>{{hostname}}/baseR4/Restriction/cotkDnGQjpHijDsRR</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td>-</td><td><b>Description</b></td><td><b>Response</b></td><td><b>WarningOnly</b></td></tr><tr><td>*</td><td>Confirm that the returned HTTP status is 201(Success).</td><td>created</td><td>false</td></tr></table></blockquote></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: Betty Busybody</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>Resource</b></td><td><b>Label</b></td><td><b>Description</b></td><td><b>Accept</b></td><td><b>EncodeRequestUrl</b></td><td><b>Method</b></td><td><b>Url</b></td></tr><tr><td>*</td><td>Update (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update = 'Update', stated as 'null')</td><td>Practitioner</td><td>Betty Busybody</td><td>PUT {{hostname}}/baseR4/Practitioner</td><td>json</td><td>true</td><td>put</td><td>{{hostname}}/baseR4/Practitioner</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td>-</td><td><b>Description</b></td><td><b>Response</b></td><td><b>WarningOnly</b></td></tr><tr><td>*</td><td>Confirm that the returned HTTP status is 201(Success).</td><td>created</td><td>false</td></tr></table></blockquote></blockquote></div>"
]; #
fhir:TestScript.url [ fhir:value "http://"]; #
fhir:TestScript.version [ fhir:value "1.0.0-ballot"]; #
fhir:TestScript.name [ fhir:value "Tiered_OAuth_Restricted_Data"]; #
fhir:TestScript.title [ fhir:value "Tiered OAuth - Restricted Access to Womens Shelters"]; #
fhir:TestScript.status [ fhir:value "draft"]; #
fhir:TestScript.date [ fhir:value "2022-06-14T23:19:30.696Z"^^xsd:dateTime]; #
fhir:TestScript.publisher [ fhir:value "HL7 Patient Administration Working Group"]; #
fhir:TestScript.contact [
fhir:index 0;
fhir:ContactDetail.name [ fhir:value "HL7 Patient Administration Working Group" ];
fhir:ContactDetail.telecom [
fhir:index 0;
fhir:ContactPoint.system [ fhir:value "url" ];
fhir:ContactPoint.value [ fhir:value "https://www.hl7.org/Special/committees/pafm" ] ], [
fhir:index 1;
fhir:ContactPoint.system [ fhir:value "email" ];
fhir:ContactPoint.value [ fhir:value "pafm@lists.HL7.org" ] ]
]; #
fhir:TestScript.jurisdiction [
fhir:index 0;
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ];
fhir:Coding.code [ fhir:value "US" ] ]
]; #
fhir:TestScript.fixture [
fhir:index 0;
fhir:Element.id [ fhir:value "73594318-988d-5647-b3d8-1f1841578c27" ];
fhir:TestScript.fixture.autocreate [ fhir:value "true"^^xsd:boolean ];
fhir:TestScript.fixture.autodelete [ fhir:value "true"^^xsd:boolean ];
fhir:TestScript.fixture.resource [
fhir:Reference.reference [ fhir:value "Location/lyW5mPW2nf3DHC7h6" ];
fhir:Reference.type [ fhir:value "Location" ];
fhir:Reference.display [ fhir:value "OrgA CT Location 2" ] ]
], [
fhir:index 1;
fhir:Element.id [ fhir:value "43552bb8-5e5e-58e2-b233-36727b1d9d87" ];
fhir:TestScript.fixture.autocreate [ fhir:value "true"^^xsd:boolean ];
fhir:TestScript.fixture.autodelete [ fhir:value "true"^^xsd:boolean ];
fhir:TestScript.fixture.resource [
fhir:Reference.reference [ fhir:value "ExampleScenario/5psortwYNqr2vLNwQ" ];
fhir:Reference.type [ fhir:value "ExampleScenario" ] ]
]; #
fhir:TestScript.test [
fhir:index 0;
fhir:Element.id [ fhir:value "4222467a-7bc0-54e4-9879-88fa0c05c412" ];
fhir:TestScript.test.name [ fhir:value "Social Worker - Access Role" ];
fhir:TestScript.test.action [
fhir:index 0;
fhir:TestScript.test.action.operation [
fhir:TestScript.setup.action.operation.type [
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/testscript-operation-codes" ];
fhir:Coding.code [ fhir:value "update" ] ];
fhir:TestScript.setup.action.operation.label [ fhir:value "Social Worker - Access Role" ];
fhir:TestScript.setup.action.operation.description [ fhir:value "PUT {{hostname}}/baseR4/PractitionerRole/rCY6ePpLywTbfx3yp" ];
fhir:TestScript.setup.action.operation.accept [ fhir:value "json" ];
fhir:TestScript.setup.action.operation.encodeRequestUrl [ fhir:value "true"^^xsd:boolean ];
fhir:TestScript.setup.action.operation.method [ fhir:value "put" ];
fhir:TestScript.setup.action.operation.url [ fhir:value "{{hostname}}/baseR4/PractitionerRole/rCY6ePpLywTbfx3yp" ] ] ], [
fhir:index 1;
fhir:TestScript.test.action.assert [
fhir:TestScript.setup.action.assert.description [ fhir:value "Confirm that the returned HTTP status is 201(Success)." ];
fhir:TestScript.setup.action.assert.response [ fhir:value "created" ];
fhir:TestScript.setup.action.assert.warningOnly [ fhir:value "false"^^xsd:boolean ] ] ]
], [
fhir:index 1;
fhir:Element.id [ fhir:value "ef27765c-a138-5669-b255-17bb91d30cc0" ];
fhir:TestScript.test.name [ fhir:value "Women's Shelter Location" ];
fhir:TestScript.test.action [
fhir:index 0;
fhir:TestScript.test.action.operation [
fhir:TestScript.setup.action.operation.type [
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/testscript-operation-codes" ];
fhir:Coding.code [ fhir:value "update" ] ];
fhir:TestScript.setup.action.operation.resource [ fhir:value "Location" ];
fhir:TestScript.setup.action.operation.label [ fhir:value "Women's Shelter Location" ];
fhir:TestScript.setup.action.operation.description [ fhir:value "PUT {{hostname}}/baseR4/Location/lyW5mPW2nf3DHC7h6" ];
fhir:TestScript.setup.action.operation.accept [ fhir:value "json" ];
fhir:TestScript.setup.action.operation.encodeRequestUrl [ fhir:value "true"^^xsd:boolean ];
fhir:TestScript.setup.action.operation.method [ fhir:value "put" ];
fhir:TestScript.setup.action.operation.url [ fhir:value "{{hostname}}/baseR4/Location/lyW5mPW2nf3DHC7h6" ] ] ], [
fhir:index 1;
fhir:TestScript.test.action.assert [
fhir:TestScript.setup.action.assert.description [ fhir:value "Confirm that the returned HTTP status is 201(Success)." ];
fhir:TestScript.setup.action.assert.response [ fhir:value "created" ];
fhir:TestScript.setup.action.assert.warningOnly [ fhir:value "false"^^xsd:boolean ] ] ]
], [
fhir:index 2;
fhir:Element.id [ fhir:value "309ca261-92bf-5063-ba69-77f29c52c671" ];
fhir:TestScript.test.name [ fhir:value "Restriction on accessing Women's Shelters" ];
fhir:TestScript.test.action [
fhir:index 0;
fhir:TestScript.test.action.operation [
fhir:TestScript.setup.action.operation.type [
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/testscript-operation-codes" ];
fhir:Coding.code [ fhir:value "update" ] ];
fhir:TestScript.setup.action.operation.label [ fhir:value "Restriction on accessing Women's Shelters" ];
fhir:TestScript.setup.action.operation.description [ fhir:value "PUT {{hostname}}/baseR4/Restriction/cotkDnGQjpHijDsRR" ];
fhir:TestScript.setup.action.operation.accept [ fhir:value "json" ];
fhir:TestScript.setup.action.operation.encodeRequestUrl [ fhir:value "true"^^xsd:boolean ];
fhir:TestScript.setup.action.operation.method [ fhir:value "put" ];
fhir:TestScript.setup.action.operation.url [ fhir:value "{{hostname}}/baseR4/Restriction/cotkDnGQjpHijDsRR" ] ] ], [
fhir:index 1;
fhir:TestScript.test.action.assert [
fhir:TestScript.setup.action.assert.description [ fhir:value "Confirm that the returned HTTP status is 201(Success)." ];
fhir:TestScript.setup.action.assert.response [ fhir:value "created" ];
fhir:TestScript.setup.action.assert.warningOnly [ fhir:value "false"^^xsd:boolean ] ] ]
], [
fhir:index 3;
fhir:Element.id [ fhir:value "5fa71b21-0437-58c1-9110-2e19b3ada768" ];
fhir:TestScript.test.name [ fhir:value "Betty Busybody" ];
fhir:TestScript.test.action [
fhir:index 0;
fhir:TestScript.test.action.operation [
fhir:TestScript.setup.action.operation.type [
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/testscript-operation-codes" ];
fhir:Coding.code [ fhir:value "update" ] ];
fhir:TestScript.setup.action.operation.resource [ fhir:value "Practitioner" ];
fhir:TestScript.setup.action.operation.label [ fhir:value "Betty Busybody" ];
fhir:TestScript.setup.action.operation.description [ fhir:value "PUT {{hostname}}/baseR4/Practitioner" ];
fhir:TestScript.setup.action.operation.accept [ fhir:value "json" ];
fhir:TestScript.setup.action.operation.encodeRequestUrl [ fhir:value "true"^^xsd:boolean ];
fhir:TestScript.setup.action.operation.method [ fhir:value "put" ];
fhir:TestScript.setup.action.operation.url [ fhir:value "{{hostname}}/baseR4/Practitioner" ] ] ], [
fhir:index 1;
fhir:TestScript.test.action.assert [
fhir:TestScript.setup.action.assert.description [ fhir:value "Confirm that the returned HTTP status is 201(Success)." ];
fhir:TestScript.setup.action.assert.response [ fhir:value "created" ];
fhir:TestScript.setup.action.assert.warningOnly [ fhir:value "false"^^xsd:boolean ] ] ]
]. #
# - ontology header ------------------------------------------------------------
a owl:Ontology;
owl:imports fhir:fhir.ttl.
IG © 2022+ HL7 Patient Administration Working Group. Package hl7.fhir.us.directory-attestation#1.0.0-ballot based on FHIR 4.0.1. Generated 2022-12-08
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change