0.2.2 - ci-build

FastAccessControl, published by MITRE. This guide is not an authorized publication; it is the continuous build for version 0.2.2 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/awatson1978/fhir-access-control-ig/ and changes regularly. See the Directory of published versions

: Scenario 3 - TTL Representation

Draft as of 2022-06-14

Raw ttl | Download


@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:id [ fhir:v "TestScript-Scenario3"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: TestScript TestScript-Scenario3</b></p><a name=\"TestScript-Scenario3\"> </a><a name=\"hcTestScript-Scenario3\"> </a><a name=\"TestScript-Scenario3-en-US\"> </a><p><b>url</b>: <a href=\"StructureMap-PolstToConsent.html\">PolstToConsent</a></p><p><b>version</b>: 0.2.2</p><p><b>name</b>: Scenario 3</p><p><b>title</b>: R4 TestScript - Back End Acces</p><p><b>status</b>: Draft</p><p><b>date</b>: 2022-06-14 23:19:30+0000</p><p><b>publisher</b>: MITRE</p><p><b>contact</b>: MITRE: <a href=\"https://www.mitre.org\">https://www.mitre.org</a></p><blockquote><p><b>fixture</b></p><blockquote><p><b>id</b></p>registration-request-3</blockquote><p><b>autocreate</b>: true</p><p><b>autodelete</b>: true</p><p><b>resource</b>: <a href=\"registration-request-3\">Backend Service - Registration Request</a></p></blockquote><blockquote><p><b>fixture</b></p><blockquote><p><b>id</b></p>registration-response-3</blockquote><p><b>autocreate</b>: true</p><p><b>autodelete</b>: true</p><p><b>resource</b>: <a href=\"registration-response-3\">Backend Service - Registration Response</a></p></blockquote><blockquote><p><b>test</b></p><blockquote><p><b>id</b></p>2823af51-4a7e-5887-3f72-0a10579b4acc</blockquote><p><b>name</b>: 1.1 Register backend service</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</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>SourceId</b></td><td><b>Url</b></td></tr><tr><td style=\"display: none\">*</td><td>Binary</td><td>Register backend service</td><td>PUT /oauth/registration</td><td>json</td><td>true</td><td>PUT</td><td>registration-request-3</td><td>/oauth/registration</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Description</b></td><td><b>Response</b></td><td><b>SourceId</b></td><td><b>WarningOnly</b></td></tr><tr><td style=\"display: none\">*</td><td>Confirm that the returned HTTP status is 201(Success).</td><td>okay</td><td>registration-response-3</td><td>false</td></tr></table></blockquote></blockquote></div>"
  ] ; # 
  fhir:url [ fhir:v "http://"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.2.2"] ; # 
  fhir:name [ fhir:v "Scenario 3"] ; # 
  fhir:title [ fhir:v "R4 TestScript - Back End Acces"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:date [ fhir:v "2022-06-14T23:19:30.696Z"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "MITRE"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "MITRE" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://www.mitre.org" ]     ] )
  ] ) ; # 
  fhir:fixture ( [
fhir:id [ fhir:v "registration-request-3" ] ;
fhir:autocreate [ fhir:v "true"^^xsd:boolean ] ;
fhir:autodelete [ fhir:v "true"^^xsd:boolean ] ;
fhir:resource [
fhir:reference [ fhir:v "registration-request-3" ] ;
fhir:type [ fhir:v "Binary"^^xsd:anyURI ] ;
fhir:display [ fhir:v "Backend Service - Registration Request" ]     ]
  ] [
fhir:id [ fhir:v "registration-response-3" ] ;
fhir:autocreate [ fhir:v "true"^^xsd:boolean ] ;
fhir:autodelete [ fhir:v "true"^^xsd:boolean ] ;
fhir:resource [
fhir:reference [ fhir:v "registration-response-3" ] ;
fhir:type [ fhir:v "Binary"^^xsd:anyURI ] ;
fhir:display [ fhir:v "Backend Service - Registration Response" ]     ]
  ] ) ; # 
  fhir:test ( [
fhir:id [ fhir:v "2823af51-4a7e-5887-3f72-0a10579b4acc" ] ;
fhir:name [ fhir:v "1.1 Register backend service" ] ;
    ( fhir:action [
fhir:operation [
fhir:resource [ fhir:v "Binary" ] ;
fhir:label [ fhir:v "Register backend service" ] ;
fhir:description [ fhir:v "PUT /oauth/registration" ] ;
fhir:accept [ fhir:v "json" ] ;
fhir:encodeRequestUrl [ fhir:v "true"^^xsd:boolean ] ;
fhir:method [ fhir:v "put" ] ;
fhir:sourceId [ fhir:v "registration-request-3" ] ;
fhir:url [ fhir:v "/oauth/registration" ]       ]     ] [
fhir:assert [
fhir:description [ fhir:v "Confirm that the returned HTTP status is 201(Success)." ] ;
fhir:response [ fhir:v "okay" ] ;
fhir:sourceId [ fhir:v "registration-response-3" ] ;
fhir:warningOnly [ fhir:v "false"^^xsd:boolean ]       ]     ] )
  ] ) . #