@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/us/consent-management-tg/Basic/fhir-consent-management-0.1.0-test-plan> a fhir:Basic ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "fhir-consent-management-0.1.0-test-plan"] ; # 
  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: TestPlan fhir-consent-management-0.1.0-test-plan</b></p><a name=\"fhir-consent-management-0.1.0-test-plan\"> </a><a name=\"hcfhir-consent-management-0.1.0-test-plan\"> </a><p><b>Contact:</b> (HL7 International / Community Based Collaborative Care: <a href=\"http://www.hl7.org/Special/committees/cbcc\">http://www.hl7.org/Special/com...</a>)</p><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Read a Consent</strong></p>\n<p><strong>Actors:</strong> Consent Client, CAS</p>\n<p><strong>Pre-condition:</strong> A Consent conforming to the FASTConsent profile exists at the CAS, and its ID is known.</p>\n<p><strong>Narrative:</strong></p>\n<ol>\n<li>Client sends a conformant <a href=\"https://hl7.org/fhir/R4/http.html#read\">read</a> to CAS using the known ID. This is unconstrained, e.g. the \"_format\" parameter may be present.</li>\n<li>Verify the request is valid according to the linked requirements.</li>\n<li>[No requirements yet, but something like this: CAS verifies the request is valid.]</li>\n<li>CAS returns a conformant response containing the resource.</li>\n<li>Verify the response is valid according to the linked requirements, including that the Consent declares and conforms to the FASTConsent profile.</li>\n</ol>\n<p><strong>Post-condition:</strong></p>\n<ul>\n<li>None</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Basic success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Search for a Consent</strong></p>\n<p><strong>Actors:</strong> Consent Client, CAS</p>\n<p><strong>Pre-condition:</strong> At least one Consent conforming to the FASTConsent profile exists at the CAS, and details about it sufficient to search are known.</p>\n<p><strong>Narrative:</strong></p>\n<ol>\n<li>Client sends a conformant <a href=\"https://hl7.org/fhir/R4/http.html#search\">search</a> request to CAS using some combination of the search criteria required to be supported.</li>\n<li>Verify the request is valid according to the linked requirements.</li>\n<li>[No requirements yet, but something like this: CAS verifies the request is valid.]</li>\n<li>CAS returns a conformant response containing the matching resource(s).</li>\n<li>Verify the response is valid according to the linked requirements.</li>\n<li>Verify that at least one Consent resource is returned, and that each returned Consent declares and conforms to the FASTConsent profile.</li>\n</ol>\n<p><strong>Post-condition:</strong></p>\n<ul>\n<li>None</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Basic success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Search for Consent by FASTConsentController - JSON</strong></p>\n<p>This test case extends test case \"Search for a Consent\".</p>\n<p><strong>Pre-condition:</strong> FASTConsentController details are known by which at least one Consent would match and at least one Consent would not match at the CAS.</p>\n<ul>\n<li>In step 1, the client includes the FASTConsentController criteria and requests JSON.</li>\n<li>In step 6, verify that only matching Consent resources are returned.</li>\n<li>In all steps, evaluate FHIR content as JSON.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Search for Consent by FASTConsentController - XML</strong></p>\n<p>This test case extends test case \"Search for a Consent\".</p>\n<p><strong>Pre-condition:</strong> FASTConsentController details are known by which at least one Consent would match and at least one Consent would not match at the CAS.</p>\n<ul>\n<li>In step 1, the client includes the FASTConsentController criteria and requests XML.</li>\n<li>In step 6, verify that only matching Consent resources are returned.</li>\n<li>In all steps, evaluate FHIR content as XML.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Search for Consent by date - JSON</strong></p>\n<p>This test case extends test case \"Search for a Consent\".</p>\n<p><strong>Pre-condition:</strong> date details are known by which at least one Consent would match and at least one Consent would not match at the CAS.</p>\n<ul>\n<li>In step 1, the client includes the date criteria and requests JSON.</li>\n<li>In step 6, verify that only matching Consent resources are returned.</li>\n<li>In all steps, evaluate FHIR content as JSON.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Search for Consent by date - XML</strong></p>\n<p>This test case extends test case \"Search for a Consent\".</p>\n<p><strong>Pre-condition:</strong> date details are known by which at least one Consent would match and at least one Consent would not match at the CAS.</p>\n<ul>\n<li>In step 1, the client includes the date criteria and requests XML.</li>\n<li>In step 6, verify that only matching Consent resources are returned.</li>\n<li>In all steps, evaluate FHIR content as XML.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Search for Consent by FASTConsentGrantee - JSON</strong></p>\n<p>This test case extends test case \"Search for a Consent\".</p>\n<p><strong>Pre-condition:</strong> FASTConsentGrantee details are known by which at least one Consent would match and at least one Consent would not match at the CAS.</p>\n<ul>\n<li>In step 1, the client includes the FASTConsentGrantee criteria and requests JSON.</li>\n<li>In step 6, verify that only matching Consent resources are returned.</li>\n<li>In all steps, evaluate FHIR content as JSON.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Search for Consent by FASTConsentGrantee - XML</strong></p>\n<p>This test case extends test case \"Search for a Consent\".</p>\n<p><strong>Pre-condition:</strong> FASTConsentGrantee details are known by which at least one Consent would match and at least one Consent would not match at the CAS.</p>\n<ul>\n<li>In step 1, the client includes the FASTConsentGrantee criteria and requests XML.</li>\n<li>In step 6, verify that only matching Consent resources are returned.</li>\n<li>In all steps, evaluate FHIR content as XML.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Search for Consent by FASTConsentManager - JSON</strong></p>\n<p>This test case extends test case \"Search for a Consent\".</p>\n<p><strong>Pre-condition:</strong> FASTConsentManager details are known by which at least one Consent would match and at least one Consent would not match at the CAS.</p>\n<ul>\n<li>In step 1, the client includes the FASTConsentManager criteria and requests JSON.</li>\n<li>In step 6, verify that only matching Consent resources are returned.</li>\n<li>In all steps, evaluate FHIR content as JSON.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Search for Consent by FASTConsentManager - XML</strong></p>\n<p>This test case extends test case \"Search for a Consent\".</p>\n<p><strong>Pre-condition:</strong> FASTConsentManager details are known by which at least one Consent would match and at least one Consent would not match at the CAS.</p>\n<ul>\n<li>In step 1, the client includes the FASTConsentManager criteria and requests XML.</li>\n<li>In step 6, verify that only matching Consent resources are returned.</li>\n<li>In all steps, evaluate FHIR content as XML.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Search for Consent by FASTConsentOrganizationId - JSON</strong></p>\n<p>This test case extends test case \"Search for a Consent\".</p>\n<p><strong>Pre-condition:</strong> FASTConsentOrganizationId details are known by which at least one Consent would match and at least one Consent would not match at the CAS.</p>\n<ul>\n<li>In step 1, the client includes the FASTConsentOrganizationId criteria and requests JSON.</li>\n<li>In step 6, verify that only matching Consent resources are returned.</li>\n<li>In all steps, evaluate FHIR content as JSON.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Search for Consent by FASTConsentOrganizationId - XML</strong></p>\n<p>This test case extends test case \"Search for a Consent\".</p>\n<p><strong>Pre-condition:</strong> FASTConsentOrganizationId details are known by which at least one Consent would match and at least one Consent would not match at the CAS.</p>\n<ul>\n<li>In step 1, the client includes the FASTConsentOrganizationId criteria and requests XML.</li>\n<li>In step 6, verify that only matching Consent resources are returned.</li>\n<li>In all steps, evaluate FHIR content as XML.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Search for Consent by patient - JSON</strong></p>\n<p>This test case extends test case \"Search for a Consent\".</p>\n<p><strong>Pre-condition:</strong> patient details are known by which at least one Consent would match and at least one Consent would not match at the CAS.</p>\n<ul>\n<li>In step 1, the client includes the patient criteria and requests JSON.</li>\n<li>In step 6, verify that only matching Consent resources are returned.</li>\n<li>In all steps, evaluate FHIR content as JSON.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Search for Consent by patient - XML</strong></p>\n<p>This test case extends test case \"Search for a Consent\".</p>\n<p><strong>Pre-condition:</strong> patient details are known by which at least one Consent would match and at least one Consent would not match at the CAS.</p>\n<ul>\n<li>In step 1, the client includes the patient criteria and requests XML.</li>\n<li>In step 6, verify that only matching Consent resources are returned.</li>\n<li>In all steps, evaluate FHIR content as XML.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Search for Consent by FASTConsentPatientId - JSON</strong></p>\n<p>This test case extends test case \"Search for a Consent\".</p>\n<p><strong>Pre-condition:</strong> FASTConsentPatientId details are known by which at least one Consent would match and at least one Consent would not match at the CAS.</p>\n<ul>\n<li>In step 1, the client includes the FASTConsentPatientId criteria and requests JSON.</li>\n<li>In step 6, verify that only matching Consent resources are returned.</li>\n<li>In all steps, evaluate FHIR content as JSON.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Search for Consent by FASTConsentPatientId - XML</strong></p>\n<p>This test case extends test case \"Search for a Consent\".</p>\n<p><strong>Pre-condition:</strong> FASTConsentPatientId details are known by which at least one Consent would match and at least one Consent would not match at the CAS.</p>\n<ul>\n<li>In step 1, the client includes the FASTConsentPatientId criteria and requests XML.</li>\n<li>In step 6, verify that only matching Consent resources are returned.</li>\n<li>In all steps, evaluate FHIR content as XML.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Search for Consent by scope - JSON</strong></p>\n<p>This test case extends test case \"Search for a Consent\".</p>\n<p><strong>Pre-condition:</strong> scope details are known by which at least one Consent would match and at least one Consent would not match at the CAS.</p>\n<ul>\n<li>In step 1, the client includes the scope criteria and requests JSON.</li>\n<li>In step 6, verify that only matching Consent resources are returned.</li>\n<li>In all steps, evaluate FHIR content as JSON.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Search for Consent by scope - XML</strong></p>\n<p>This test case extends test case \"Search for a Consent\".</p>\n<p><strong>Pre-condition:</strong> scope details are known by which at least one Consent would match and at least one Consent would not match at the CAS.</p>\n<ul>\n<li>In step 1, the client includes the scope criteria and requests XML.</li>\n<li>In step 6, verify that only matching Consent resources are returned.</li>\n<li>In all steps, evaluate FHIR content as XML.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Search for Consent by status - JSON</strong></p>\n<p>This test case extends test case \"Search for a Consent\".</p>\n<p><strong>Pre-condition:</strong> status details are known by which at least one Consent would match and at least one Consent would not match at the CAS.</p>\n<ul>\n<li>In step 1, the client includes the status criteria and requests JSON.</li>\n<li>In step 6, verify that only matching Consent resources are returned.</li>\n<li>In all steps, evaluate FHIR content as JSON.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Search for Consent by status - XML</strong></p>\n<p>This test case extends test case \"Search for a Consent\".</p>\n<p><strong>Pre-condition:</strong> status details are known by which at least one Consent would match and at least one Consent would not match at the CAS.</p>\n<ul>\n<li>In step 1, the client includes the status criteria and requests XML.</li>\n<li>In step 6, verify that only matching Consent resources are returned.</li>\n<li>In all steps, evaluate FHIR content as XML.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Search for Consent by FASTConsent profile - JSON</strong></p>\n<p>This test case extends test case \"Search for a Consent\".</p>\n<p><strong>Pre-condition:</strong> At least one Consent declaring the FASTConsent profile and at least one Consent not declaring it exist at the CAS.</p>\n<ul>\n<li>In step 1, the client includes the FASTConsent profile criteria and requests JSON.</li>\n<li>In step 6, verify that only matching Consent resources are returned.</li>\n<li>In all steps, evaluate FHIR content as JSON.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Conditional</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Search for Consent by FASTConsent profile - XML</strong></p>\n<p>This test case extends test case \"Search for a Consent\".</p>\n<p><strong>Pre-condition:</strong> At least one Consent declaring the FASTConsent profile and at least one Consent not declaring it exist at the CAS.</p>\n<ul>\n<li>In step 1, the client includes the FASTConsent profile criteria and requests XML.</li>\n<li>In step 6, verify that only matching Consent resources are returned.</li>\n<li>In all steps, evaluate FHIR content as XML.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Read an AuditEvent</strong></p>\n<p><strong>Actors:</strong> Consent Client, CAS</p>\n<p><strong>Pre-condition:</strong> An AuditEvent conforming to the FASTConsentAuditEvent profile exists at the CAS, and its ID is known.</p>\n<p><strong>Narrative:</strong></p>\n<ol>\n<li>Client sends a conformant <a href=\"https://hl7.org/fhir/R4/http.html#read\">read</a> to CAS using the known ID. This is unconstrained, e.g. the \"_format\" parameter may be present.</li>\n<li>Verify the request is valid according to the linked requirements.</li>\n<li>[No requirements yet, but something like this: CAS verifies the request is valid.]</li>\n<li>CAS returns a conformant response containing the resource.</li>\n<li>Verify the response is valid according to the linked requirements, including that the AuditEvent declares and conforms to the FASTConsentAuditEvent profile.</li>\n</ol>\n<p><strong>Post-condition:</strong></p>\n<ul>\n<li>None</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Basic success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Search for</strong> <strong>an AuditEvent</strong></p>\n<p><strong>Actors:</strong> Consent Client, CAS</p>\n<p><strong>Pre-condition:</strong> At least one AuditEvent conforming to the FASTConsentAuditEvent profile exists at the CAS, and details about it sufficient to search are known.</p>\n<p><strong>Narrative:</strong></p>\n<ol>\n<li>Client sends a conformant <a href=\"https://hl7.org/fhir/R4/http.html#search\">search</a> request to CAS using some combination of the search criteria required to be supported.</li>\n<li>Verify the request is valid according to the linked requirements.</li>\n<li>[No requirements yet, but something like this: CAS verifies the request is valid.]</li>\n<li>CAS returns a conformant response containing the matching resource(s).</li>\n<li>Verify the response is valid according to the linked requirements.</li>\n<li>Verify that at least one AuditEvent resource is returned, and that each returned AuditEvent declares and conforms to the FASTConsentAuditEvent profile.</li>\n</ol>\n<p><strong>Post-condition:</strong></p>\n<ul>\n<li>None</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Basic success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Search for AuditEvent by FASTAuditEventConsent - JSON</strong></p>\n<p>This test case extends test case \"Search for an AuditEvent\".</p>\n<p><strong>Pre-condition:</strong> FASTAuditEventConsent details are known by which at least one AuditEvent would match and at least one AuditEvent would not match at the CAS.</p>\n<ul>\n<li>In step 1, the client includes the FASTAuditEventConsent criteria and requests JSON.</li>\n<li>In step 6, verify that only matching AuditEvent resources are returned.</li>\n<li>In all steps, evaluate FHIR content as JSON.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Search for</strong> <strong>AuditEvent by FASTAuditEventConsent - XML</strong></p>\n<p>This test case extends test case \"Search for an AuditEvent\".</p>\n<p><strong>Pre-condition:</strong> FASTAuditEventConsent details are known by which at least one AuditEvent would match and at least one AuditEvent would not match at the CAS.</p>\n<ul>\n<li>In step 1, the client includes the FASTAuditEventConsent criteria and requests XML.</li>\n<li>In step 6, verify that only matching AuditEvent resources are returned.</li>\n<li>In all steps, evaluate FHIR content as XML.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Search for AuditEvent by patient - JSON</strong></p>\n<p>This test case extends test case \"Search for an AuditEvent\".</p>\n<p><strong>Pre-condition:</strong> patient details are known by which at least one AuditEvent would match and at least one AuditEvent would not match at the CAS.</p>\n<ul>\n<li>In step 1, the client includes the patient criteria and requests JSON.</li>\n<li>In step 6, verify that only matching AuditEvent resources are returned.</li>\n<li>In all steps, evaluate FHIR content as JSON.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Search for</strong> <strong>AuditEvent by patient - XML</strong></p>\n<p>This test case extends test case \"Search for an AuditEvent\".</p>\n<p><strong>Pre-condition:</strong> patient details are known by which at least one AuditEvent would match and at least one AuditEvent would not match at the CAS.</p>\n<ul>\n<li>In step 1, the client includes the patient criteria and requests XML.</li>\n<li>In step 6, verify that only matching AuditEvent resources are returned.</li>\n<li>In all steps, evaluate FHIR content as XML.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Search for AuditEvent by FASTConsentAuditEvent profile - JSON</strong></p>\n<p>This test case extends test case \"Search for an AuditEvent\".</p>\n<p><strong>Pre-condition:</strong> At least one AuditEvent declaring the FASTConsentAuditEvent profile and at least one AuditEvent not declaring it exist at the CAS.</p>\n<ul>\n<li>In step 1, the client includes the FASTConsentAuditEvent profile criteria and requests JSON.</li>\n<li>In step 6, verify that only matching AuditEvent resources are returned.</li>\n<li>In all steps, evaluate FHIR content as JSON.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Conditional</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Search for AuditEvent by FASTConsentAuditEvent profile - XML</strong></p>\n<p>This test case extends test case \"Search for an AuditEvent\".</p>\n<p><strong>Pre-condition:</strong> At least one AuditEvent declaring the FASTConsentAuditEvent profile and at least one AuditEvent not declaring it exist at the CAS.</p>\n<ul>\n<li>In step 1, the client includes the FASTConsentAuditEvent profile criteria and requests XML.</li>\n<li>In step 6, verify that only matching AuditEvent resources are returned.</li>\n<li>In all steps, evaluate FHIR content as XML.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Read a Subscription</strong></p>\n<p><strong>Actors:</strong> Consent Client, CAS</p>\n<p><strong>Pre-condition:</strong> A Subscription [optionally conforming to the FASTSubscription profile] exists at the CAS, and its ID is known.</p>\n<p><strong>Narrative:</strong></p>\n<ol>\n<li>Client sends a conformant <a href=\"https://hl7.org/fhir/R4/http.html#read\">read</a> to CAS using the known ID. This is unconstrained, e.g. the \"_format\" parameter may be present.</li>\n<li>Verify the request is valid according to the linked requirements.</li>\n<li>[No requirements yet, but something like this: CAS verifies the request is valid.]</li>\n<li>CAS returns a conformant response containing the resource.</li>\n<li>Verify the response is valid according to the linked requirements [note no rqmt that the Subscription declares and conforms to the FASTSubscription profile].</li>\n</ol>\n<p><strong>Post-condition:</strong></p>\n<ul>\n<li>None</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Basic success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Workflow: Create a subscription - rest-hook</strong></p>\n<p>This is a wide-open workflow that can be used as the base for many variations.</p>\n<p><strong>Actors:</strong> Consent Client, CAS, Notification Endpoint</p>\n<p><strong>Pre-condition:</strong> CAS has advertised its support for subscriptions in its CapabilityStatement. Consent Client has prepared its Notification Endpoint to receive notifications.</p>\n<p><strong>Narrative:</strong></p>\n<ol>\n<li>Optional: Consent Client discovers subscription support at the CAS. Execute test case \"Obtain server CapabilityStatement\".</li>\n<li>Client POSTs a conformant Subscription to the CAS. [note no requirement for it to be FASTSubscription]</li>\n<li>Verify the request is valid according to the linked requirements.</li>\n<li>CAS verifies the request is valid.</li>\n<li>CAS returns a conformant response indicating the new Subscription location and optionally the resource in the body.</li>\n<li>Verify the response is valid according to the linked requirements.</li>\n<li>Optional: CAS sends a handshake. Execute test case \"Notify for a Subscription - rest-hook\". The trigger in step 1 is the creation of the Subscription. Verify the notification as \"handshake\".</li>\n<li>Optional: Consent Client GETs the new Subscription to confirm it is active. Execute test case \"Read a Subscription\".</li>\n<li>Optional: Consent Client executes $status against the new Subscription to confirm it is active. Execute test case \"Operation: Get Subscription Status\".</li>\n</ol>\n<p><strong>Post-condition:</strong></p>\n<ul>\n<li>The new Subscription exists at the CAS.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Basic success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Workflow: Create a subscription - rest-hook PUT</strong></p>\n<p>This test case extends test case \"Workflow: Create a subscription - rest-hook\".</p>\n<ul>\n<li>In step 2, Consent Client PUTs a conformant Subscription to the CAS.</li>\n<li>In step 3, verify the resource id passed in was used.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Conditional</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Error: Create a Subscription - rest-hook - unsupported backport-channel-type</strong></p>\n<p><strong>Actors:</strong> Consent Client, CAS</p>\n<p><strong>Pre-condition:</strong> None</p>\n<p><strong>Narrative:</strong></p>\n<ol>\n<li>Consent Client POSTs a Subscription to the CAS using the backport-channel-type extension with a nonsense value.</li>\n<li>CAS returns a conformant response indicating the Subscription request was rejected.</li>\n<li>Verify the response is valid according to the linked requirements.</li>\n</ol>\n<p><strong>Post-condition:</strong> The Subscription has not been created at the CAS.</p>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Error</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Error: Create a Subscription - rest-hook - unsupported filter</strong></p>\n<p><strong>Actors:</strong> Consent Client, CAS</p>\n<p><strong>Pre-condition:</strong> None</p>\n<p><strong>Narrative:</strong></p>\n<ol>\n<li>Consent Client POSTs a Subscription to the CAS using a filter with a nonsense value.</li>\n<li>CAS returns a conformant response indicating the Subscription request was rejected.</li>\n<li>Verify the response is valid according to the linked requirements.</li>\n</ol>\n<p><strong>Post-condition:</strong> The Subscription has not been created at the CAS.</p>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Error</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Error: Create a Subscription - rest-hook - unsupported content level</strong></p>\n<p><strong>Actors:</strong> Consent Client, CAS</p>\n<p><strong>Pre-condition:</strong> None</p>\n<p><strong>Narrative:</strong></p>\n<ol>\n<li>Consent Client POSTs a Subscription to the CAS using a content level the server does not support.</li>\n<li>CAS returns a conformant response indicating the Subscription request was rejected.</li>\n<li>Verify the response is valid according to the linked requirements.</li>\n</ol>\n<p><strong>Post-condition:</strong> The Subscription has not been created at the CAS.</p>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Conditional</span></li><li><span title=\"Codes:\">Error</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Error: Create a Subscription - rest-hook - unsupported topic</strong></p>\n<p><strong>Actors:</strong> Consent Client, CAS</p>\n<p><strong>Pre-condition:</strong> None</p>\n<p><strong>Narrative:</strong></p>\n<ol>\n<li>Consent Client POSTs a Subscription to the CAS using a nonsense topic.</li>\n<li>CAS returns a conformant response indicating the Subscription request was rejected.</li>\n<li>Verify the response is valid according to the linked requirements.</li>\n</ol>\n<p><strong>Post-condition:</strong> The Subscription has not been created at the CAS.</p>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Error</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Workflow: Update a Subscription - rest-hook</strong></p>\n<p>This is a wide-open workflow that can be used as the base for many variations.</p>\n<p><strong>Actors:</strong> Consent Client, CAS, Notification Endpoint</p>\n<p><strong>Pre-condition:</strong> Consent Client has an existing Subscription at the CAS.</p>\n<p><strong>Narrative:</strong></p>\n<ol>\n<li>Client PUTs an updated, conformant Subscription to the CAS. [note no requirement for it to be FASTSubscription]</li>\n<li>Verify the request is valid according to the linked requirements.</li>\n<li>CAS verifies the request is valid.</li>\n<li>CAS returns a conformant response indicating the new Subscription location and optionally the resource in the body.</li>\n<li>Verify the response is valid according to the linked requirements.</li>\n<li>Optional: CAS sends a handshake. Execute test case \"Notify for a Subscription - rest-hook channel\". The trigger in step 1 is the creation of the Subscription. Verify the notification as \"handshake\".</li>\n<li>Optional: Consent Client GETs the new Subscription to confirm it is active. Execute test case \"Read a Subscription\".</li>\n<li>Optional: Consent Client executes $status against the new Subscription to confirm it is active. Execute test case \"Operation: Get Subscription Status\".</li>\n</ol>\n<p><strong>Post-condition:</strong></p>\n<ul>\n<li>The updated Subscription exists at the CAS.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Basic success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Workflow: Update a Subscription - rest-hook PATCH</strong></p>\n<p>This test case extends test case \"Workflow: Update a Subscription - rest-hook\".</p>\n<ul>\n<li>In step 1, Consent Client PATCHs an updated, conformant Subscription to the CAS.</li>\n<li>At the end of the test case, verify the resource was updated appropriately.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Conditional</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Workflow: Notify for a Subscription</strong> <strong>- rest-hook</strong></p>\n<p>This is a wide-open workflow that can be used as the base for many variations. Each variation needs to specify what the trigger in step 1 is.</p>\n<p><strong>Actors:</strong> Consent Client, CAS, Notification Endpoint</p>\n<p><strong>Pre-condition:</strong> Consent Client has successfully made a Subscription at the CAS, with the rest-hook channel type.</p>\n<p><strong>Narrative:</strong></p>\n<ol>\n<li>An actor performs an action at the CAS that should trigger a notification for this Subscription.</li>\n<li>CAS POSTs a conformant R4 Topic-Based Subscription Notification Bundle to the Consent Client's Notification Endpoint.</li>\n<li>Verify the notification is valid according to the linked requirements.</li>\n<li>The Consent Client verifies the notification and returns a valid 200 response.</li>\n<li>Verify the response.</li>\n<li>Optional: Consent Client GETs a new or modified Consent. Execute test case \"Read a Consent\".</li>\n</ol>\n<p><strong>Post-condition:</strong></p>\n<ul>\n<li>None</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Basic success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Operation: Get Subscription Status</strong></p>\n<p><strong>Actors:</strong> Consent Client, CAS</p>\n<p><strong>Pre-condition:</strong> None</p>\n<p><strong>Narrative:</strong></p>\n<ol>\n<li>Client POSTs to CAS: [base]/Subscription/$status.</li>\n<li>Verify input parameters are valid according to linked requirements.</li>\n<li>CAS returns a response.</li>\n<li>Verify response is valid according to linked requirements.</li>\n</ol>\n<p><strong>Post-condition:</strong></p>\n<ul>\n<li>None</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Conditional</span></li><li><span title=\"Codes:\">Basic success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Operation: File a Consent</strong></p>\n<p><strong>Actors:</strong> Consent Client, CAS</p>\n<p><strong>Pre-condition:</strong> None</p>\n<p><strong>Narrative:</strong></p>\n<ol>\n<li>Client POSTs to CAS: [base]/Consent/$fileConsent [unconstrained, e.g. the \"document\" parameter may be either flavor].</li>\n<li>Verify input parameters are valid according to linked requirements.</li>\n<li>[No requirements yet, but something like this: CAS verifies inputs, generates and persists the Consent and related resources. CAS may retain external references (e.g. to Patient), or replace with references to new or matched existing resources.]</li>\n<li>CAS returns a response.</li>\n<li>Verify response is valid according to linked requirements.</li>\n</ol>\n<p><strong>Post-condition:</strong></p>\n<ul>\n<li>[No requirements yet, but something like this: The Consent and related resources are persisted and available at the CAS.]</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Basic success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Operation: Revoke a Consent</strong></p>\n<p><strong>Actors:</strong> Consent Client, CAS</p>\n<p><strong>Pre-condition:</strong> None</p>\n<p><strong>Narrative:</strong></p>\n<ol>\n<li>Client POSTs to CAS: [base]/Consent/$revokeConsent [unconstrained, e.g. the \"document\" parameter may be either flavor].</li>\n<li>Verify input parameters are valid according to linked requirements.</li>\n<li>[No requirements yet, but something like this: CAS verifies inputs, persists the revoked Consent and related resources. CAS may retain external references (e.g. to Patient), or replace with references to new or matched existing resources.]</li>\n<li>CAS returns a response.</li>\n<li>Verify response is valid according to linked requirements.</li>\n</ol>\n<p><strong>Post-condition:</strong></p>\n<ul>\n<li>[No requirements yet, but something like this: The revoked Consent and related resources are persisted and available at the CAS.]</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Basic success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Operation: Record a Disclosure</strong></p>\n<p><strong>Actors:</strong> Consent Client, CAS</p>\n<p><strong>Pre-condition:</strong> None</p>\n<p><strong>Narrative:</strong></p>\n<ol>\n<li>Client POSTs to CAS: [base]/AuditEvent/$recordDisclosure [unconstrained].</li>\n<li>Verify input parameters are valid according to linked requirements.</li>\n<li>[No requirements yet, but something like this: CAS verifies inputs, generates and persists the AuditEvent and related resources. CAS may retain external references (e.g. to Patient), or replace with references to new or matched existing resources.]</li>\n<li>CAS returns a response.</li>\n<li>Verify response is valid according to linked requirements.</li>\n</ol>\n<p><strong>Post-condition:</strong></p>\n<ul>\n<li>[No requirements yet, but something like this: The AuditEvent and related resources are persisted and available at the CAS.]</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Basic success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Obtain server CapabilityStatement</strong></p>\n<p><strong>Actors:</strong> Consent client, CAS</p>\n<p><strong>Pre-condition:</strong> None</p>\n<p><strong>Narrative:</strong></p>\n<ol>\n<li>Client sends a metadata request to the CAS, requesting the FHIR 4.0 CS by using the fhirVersion Accept header.</li>\n<li>Verify the request is valid according to the linked requirements.</li>\n<li>[No requirements yet, but something like this: CAS verifies the request is valid.]</li>\n<li>CAS returns a conformant response containing the system CapabilityStatement.</li>\n<li>Verify the response is valid according to the linked requirements.</li>\n<li>Verify the CapabilityStatement includes the normative aspects defined in the ConsentAdministrativeServer CapabilityStatement. Additional aspects are permitted but will not be evaluated.</li>\n</ol>\n<p><strong>Post-condition:</strong></p>\n<ul>\n<li>None</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Basic success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Obtain server CapabilityStatement - JSON</strong></p>\n<p>This test case extends test case \"Obtain server CapabilityStatement\".</p>\n<ul>\n<li>In step 1, the client requests JSON.</li>\n<li>In step 5, verify the CapabilityStatement is JSON.</li>\n<li>In all steps, evaluate FHIR content as JSON.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Basic success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Obtain server CapabilityStatement - XML</strong></p>\n<p>This test case extends test case \"Obtain server CapabilityStatement\".</p>\n<ul>\n<li>In step 1, the client requests XML.</li>\n<li>In step 5, verify the CapabilityStatement is XML.</li>\n<li>In all steps, evaluate FHIR content as XML.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Basic success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Obtain and handle conformant variations of server CapabilityStatement</strong></p>\n<p>This tests the ability of a client to handle legal variants of CSs.</p>\n<p><strong>Actors:</strong> Consent Client, Simulated CAS</p>\n<p><strong>Pre-condition:</strong> None</p>\n<p><strong>Narrative:</strong></p>\n<ol>\n<li>Client sends a metadata request to the CAS. [unconstrained; may or may not use the fhirVersion Accept header]</li>\n<li>Verify the request is valid according to the linked requirements.</li>\n<li>[No requirements yet, but something like this: CAS verifies the request is valid.]</li>\n<li>CAS returns a conformant response containing the system CapabilityStatement.</li>\n<li>Verify the response is valid according to the linked requirements.</li>\n<li>Verify the CapabilityStatement includes the normative aspects defined in the ConsentAdministrativeServer CapabilityStatement. Additional aspects are permitted but will not be evaluated.</li>\n</ol>\n<p><strong>Post-condition:</strong></p>\n<ul>\n<li>The client should be able to communicate with this server per the workflows in this IG.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Provisional</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Obtain and handle STU3 version server CapabilityStatement</strong></p>\n<p>This tests the ability of a client to handle an STU3 CS.</p>\n<p><strong>Actors:</strong> Consent Client, Simulated CAS</p>\n<p><strong>Pre-condition:</strong> None</p>\n<p><strong>Narrative:</strong></p>\n<ol>\n<li>Client sends a metadata request to the CAS without the fhirVersion Accept header.</li>\n<li>Verify the request is valid according to the linked requirements.</li>\n<li>CAS returns a conformant response containing an STU3 system CapabilityStatement.</li>\n<li>Verify the client detects the version mismatch and resolves somehow, e.g. notifies the user, retries the request including the fhirVersion Accept header, etc.</li>\n</ol>\n<p><strong>Post-condition:</strong></p>\n<ul>\n<li>None (yet)</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Conditional</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Test client CapabilityStatement</strong></p>\n<p><strong>Actors:</strong> Consent client</p>\n<p><strong>Pre-condition:</strong> None</p>\n<p><strong>Narrative:</strong></p>\n<ol>\n<li>Obtain the client CapabilityStatement.</li>\n<li>Verify the CapabilityStatement includes the normative aspects defined in the ConsentClient CapabilityStatement. Additional aspects are permitted but will not be evaluated.</li>\n</ol>\n<p><strong>Post-condition:</strong></p>\n<ul>\n<li>None</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Conditional</span></li><li><span title=\"Codes:\">Basic success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Test client CapabilityStatement - JSON</strong></p>\n<p>This test case extends test case \"Test client CapabilityStatement\".</p>\n<ul>\n<li>In step 1, obtain the JSON CapabilityStatement.</li>\n<li>In step 2, evaluate FHIR content as JSON.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Conditional</span></li><li><span title=\"Codes:\">Basic success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Test client CapabilityStatement - XML</strong></p>\n<p>This test case extends test case \"Test client CapabilityStatement\".</p>\n<ul>\n<li>In step 1, obtain the XML CapabilityStatement.</li>\n<li>In step 2, evaluate FHIR content as XML.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Conditional</span></li><li><span title=\"Codes:\">Basic success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Workflow: Consent subscription and notification</strong></p>\n<p>This is a wide-open workflow that can be used as the base for many variations.</p>\n<p><strong>Actors:</strong> Consent Client, CAS, Notification Endpoint, Tester</p>\n<p><strong>Pre-condition:</strong> CAS has advertised its support for subscriptions in its CapabilityStatement. Consent Client has prepared its Notification Endpoint to receive notifications. There are no current subscriptions between this CAS and this Endpoint.</p>\n<p><strong>Narrative:</strong></p>\n<ol>\n<li>Execute test case \"Create a Subscription - rest-hook\".</li>\n<li>Tester performs an action at the CAS that should trigger a notification for this Subscription. This may be a local action or an API action.</li>\n<li>Execute test case \"Notify for a Subscription - rest-hook\". The trigger is step 2 above. Additionally verify the notification as \"event-notification\".</li>\n<li>Client DELETEs the FASTSubscription at the CAS.</li>\n<li>The CAS deletes the Subscription.</li>\n<li>Verify the response is valid according to the linked requirements.</li>\n<li>Tester performs an action at the CAS that should trigger a notification for the previous Subscription. This may be a local action or an API action.</li>\n<li>Verify the CAS does not POST an \"event-notification\" R4 Topic-Based Subscription Notification Bundle to the Endpoint.</li>\n</ol>\n<p><strong>Post-condition:</strong></p>\n<ul>\n<li>Any Subscriptions created at the CAS have been deleted. Other changes at the CAS (new Consents, etc.) may or may not have been deleted.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Basic success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Workflow: Consent subscription and notification - FASTConsentPatientId</strong></p>\n<p>This test case extends test case \"Workflow: Consent subscription and notification\".</p>\n<p><strong>Test data:</strong> Data for 2 conformant FASTConsents for an existing patient known at the CAS. No existing Consents for this patient at the CAS. Each Consent differs by where it identifies the patient: patient.identifier element or patient.extension additionalIdentifier.</p>\n<ul>\n<li>In step 1, Consent Client creates a Subscription at the CAS filtering only on FASTConsentPatientId, for the known patient in the test data.</li>\n<li>Repeat steps 2-3 as follows:</li>\n<li>In step 2, Tester creates each Consent at the CAS using this test data.</li>\n<li>In step 3, verify notification for each per this subscription and trigger.</li>\n<li>In step 2, Tester updates each Consent at the CAS.</li>\n<li>In step 3, verify notification for each per this subscription and trigger.</li>\n<li>In step 2, Tester deletes the Consent at the CAS.</li>\n<li>In step 3, verify notification for each per this subscription and trigger.</li>\n<li>Continue with steps 4-6.</li>\n<li>Repeat steps 7-8 as follows:</li>\n<li>In step 7, Tester creates each Consent at the CAS using this test data.</li>\n<li>In step 7, Tester updates each Consent at the CAS.</li>\n<li>In step 7, Tester deletes each Consent at the CAS.</li>\n</ul>\n<p><strong>Additional Post-condition:</strong></p>\n<ul>\n<li>Any Consents created at the CAS have been deleted.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Conditional</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Workflow: Consent subscription and notification - FASTConsentOrganizationId</strong></p>\n<p>This test case extends test case \"Workflow: Consent subscription and notification\".</p>\n<p><strong>Test data:</strong> Data for 4 conformant FASTConsents for an existing organization known at the CAS. No existing Consents for this organization at the CAS. Each Consent differs by where it identifies the organization: the extensions grantee, manager, controller or the provision.actor.role.reference.</p>\n<ul>\n<li>In step 1, Consent Client creates a Subscription at the CAS filtering only on FASTConsentOrganizationId, for the known organization in the test data.</li>\n<li>Repeat steps 2-3 as follows:</li>\n<li>In step 2, Tester creates each Consent at the CAS using this test data.</li>\n<li>In step 3, verify notification for each per this subscription and trigger.</li>\n<li>In step 2, Tester updates each Consent at the CAS.</li>\n<li>In step 3, verify notification for each per this subscription and trigger.</li>\n<li>In step 2, Tester deletes the Consent at the CAS.</li>\n<li>In step 3, verify notification for each per this subscription and trigger.</li>\n<li>Continue with steps 4-6.</li>\n<li>Repeat steps 7-8 as follows:</li>\n<li>In step 7, Tester creates each Consent at the CAS using this test data.</li>\n<li>In step 7, Tester updates each Consent at the CAS.</li>\n<li>In step 7, Tester deletes each Consent at the CAS.</li>\n</ul>\n<p><strong>Additional Post-condition:</strong></p>\n<ul>\n<li>Any Consents created at the CAS have been deleted.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Conditional</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Workflow: Consent subscription and notification - actor</strong></p>\n<p>This test case extends test case \"Workflow: Consent subscription and notification\".</p>\n<p><strong>Test data:</strong> Data for a conformant FASTConsent for an existing Consent actor (Consent.provision.actor.reference - see the actor search parameter) known at the CAS. No existing Consents for this actor at the CAS.</p>\n<ul>\n<li>In step 1, Consent Client creates a Subscription at the CAS filtering only on actor, for the known actor in the test data.</li>\n<li>Repeat steps 2-3 as follows:</li>\n<li>In step 2, Tester creates the Consent at the CAS using this test data.</li>\n<li>In step 3, verify notification per this subscription and trigger.</li>\n<li>In step 2, Tester updates the Consent at the CAS.</li>\n<li>In step 3, verify notification per this subscription and trigger.</li>\n<li>In step 2, Tester deletes the Consent at the CAS.</li>\n<li>In step 3, verify notification per this subscription and trigger.</li>\n<li>Continue with steps 4-6.</li>\n<li>Repeat steps 7-8 as follows:</li>\n<li>In step 7, Tester creates the Consent at the CAS using this test data.</li>\n<li>In step 7, Tester updates the Consent at the CAS.</li>\n<li>In step 7, Tester deletes the Consent at the CAS.</li>\n</ul>\n<p><strong>Additional Post-condition:</strong></p>\n<ul>\n<li>Any Consents created at the CAS have been deleted.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Conditional</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Workflow: Consent subscription and notification - status</strong></p>\n<p>This test case extends test case \"Workflow: Consent subscription and notification\".</p>\n<p><strong>Test data:</strong> Data for a conformant FASTConsent for an existing patient known at the CAS. No existing Consents for this patient at the CAS. Note that it may not be possible for there to be no existing Consents having this status at the CAS, so there may be false positives the tester will need to examine.</p>\n<ul>\n<li>In step 1, Consent Client creates a Subscription at the CAS filtering only on status, for the known status in the test data.</li>\n<li>Repeat steps 2-3 as follows:</li>\n<li>In step 2, Tester creates the Consent at the CAS using this test data.</li>\n<li>In step 3, verify notification per this subscription and trigger.</li>\n<li>In step 2, Tester updates the Consent at the CAS, changing a field other than status.</li>\n<li>In step 3, verify notification per this subscription and trigger.</li>\n<li>In step 2, Tester updates the Consent at the CAS, changing the status field.</li>\n<li>In step 3, status should not match, so no notification should occur.</li>\n<li>In step 2, Tester updates the Consent at the CAS, changing the status field back to the matching value.</li>\n<li>In step 3, verify notification per this subscription and trigger.</li>\n<li>In step 2, Tester deletes the Consent at the CAS.</li>\n<li>In step 3, verify notification per this subscription and trigger.</li>\n<li>Continue with steps 4-6.</li>\n<li>Repeat steps 7-8 as follows:</li>\n<li>In step 7, Tester creates the Consent at the CAS using this test data.</li>\n<li>In step 7, Tester updates the Consent at the CAS.</li>\n<li>In step 7, Tester deletes the Consent at the CAS.</li>\n</ul>\n<p><strong>Additional Post-condition:</strong></p>\n<ul>\n<li>Any Consents created at the CAS have been deleted.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Conditional</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Workflow: Consent subscription and notification - scope</strong></p>\n<p>This test case extends test case \"Workflow: Consent subscription and notification\".</p>\n<p><strong>Test data:</strong> Data for a conformant FASTConsent for an existing patient known at the CAS. No existing Consents for this patient at the CAS. Note that it may not be possible for there to be no existing Consents having this scope at the CAS, so there may be false positives the tester will need to examine.</p>\n<ul>\n<li>In step 1, Consent Client creates a Subscription at the CAS filtering only on scope, for the known scope in the test data.</li>\n<li>Repeat steps 2-3 as follows:</li>\n<li>In step 2, Tester creates the Consent at the CAS using this test data.</li>\n<li>In step 3, verify notification per this subscription and trigger.</li>\n<li>In step 2, Tester updates the Consent at the CAS, changing a field other than scope.</li>\n<li>In step 3, verify notification per this subscription and trigger.</li>\n<li>In step 2, Tester updates the Consent at the CAS, changing the scope field.</li>\n<li>In step 3, scope should not match, so no notification should occur.</li>\n<li>In step 2, Tester updates the Consent at the CAS, changing the scope field back to the matching value.</li>\n<li>In step 3, verify notification per this subscription and trigger.</li>\n<li>In step 2, Tester deletes the Consent at the CAS.</li>\n<li>In step 3, verify notification per this subscription and trigger.</li>\n<li>Continue with steps 4-6.</li>\n<li>Repeat steps 7-8 as follows:</li>\n<li>In step 7, Tester creates the Consent at the CAS using this test data.</li>\n<li>In step 7, Tester updates the Consent at the CAS.</li>\n<li>In step 7, Tester deletes the Consent at the CAS.</li>\n</ul>\n<p><strong>Additional Post-condition:</strong></p>\n<ul>\n<li>Any Consents created at the CAS have been deleted.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Conditional</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Workflow: Consent subscription and notification - no filters</strong></p>\n<p>This test case extends test case \"Workflow: Consent subscription and notification\".</p>\n<p><strong>Test data:</strong> Data for a conformant FASTConsent for an existing patient known at the CAS. No existing Consents for this patient at the CAS. Note that it may not be possible for there to be no existing Consents at the CAS, so there may be false positives the tester will need to examine.</p>\n<ul>\n<li>In step 1, Consent Client creates a Subscription at the CAS with no filters.</li>\n<li>Repeat steps 2-3 as follows:</li>\n<li>In step 2, Tester creates the Consent at the CAS using this test data.</li>\n<li>In step 3, verify notification per this subscription and trigger.</li>\n<li>In step 2, Tester updates the Consent at the CAS.</li>\n<li>In step 3, verify notification per this subscription and trigger.</li>\n<li>In step 2, Tester deletes the Consent at the CAS.</li>\n<li>In step 3, verify notification per this subscription and trigger.</li>\n<li>Continue with steps 4-6.</li>\n<li>Repeat steps 7-8 as follows:</li>\n<li>In step 7, Tester creates the Consent at the CAS using this test data.</li>\n<li>In step 7, Tester updates the Consent at the CAS.</li>\n<li>In step 7, Tester deletes the Consent at the CAS.</li>\n</ul>\n<p><strong>Additional Post-condition:</strong></p>\n<ul>\n<li>Any Consents created at the CAS have been deleted.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Conditional</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Workflow: Consent subscription and notification - all filters</strong></p>\n<p>This test case extends test case \"Workflow: Consent subscription and notification\".</p>\n<p>TBD - define background test data that:</p>\n<ul>\n<li>matches on all fields in the subscription</li>\n<li>matches on all but one field in the subscription - do this for each field</li>\n</ul>\n<p><strong>Additional Post-condition:</strong></p>\n<ul>\n<li>Any Consents created at the CAS have been deleted.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Conditional</span></li><li><span title=\"Codes:\">Alternate success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Workflow: Utilize Consent For Disclosure</strong></p>\n<p>This is a wide-open workflow that can be used as the base for many variations.</p>\n<p><strong>Actors:</strong> Data Consumer, Data Holder with Consent Client, CAS</p>\n<p><strong>Pre-condition:</strong> Data holder has PHI for a patient. CAS has a valid, active Consent associated with that patient. [The rest is undefined: Data Holder may already have the Consent and know it is managed at this particular CAS, Data Holder may not know about the Consent or the CAS and discover it at the time the disclosure is requested.]</p>\n<p><strong>Narrative:</strong></p>\n<ol>\n<li>Data Holder is triggered to disclose PHI for the patient to the Data Consumer. This is unconstrained; it could be a request from the Consumer to the Holder, a push, etc.</li>\n<li>Data Holder determines a Consent managed at the CAS affects this disclosure decision.</li>\n<li>Optional: If needed, the Data Holder's Consent Client obtains the Consent from the CAS. This is unconstrained; it could be a read, search, etc. Execute the appropriate test cases.</li>\n<li>Data Holder uses the Consent to make a determination to disclose. This is unconstrained; the determination could be based on multiple factors of which the Consent is only one part.</li>\n<li>Data Holder discloses the PHI. This is the completion of whatever was started in step 1, e.g. a GET response.</li>\n<li>Verify information was disclosed.</li>\n<li>Data Holder's Consent Client records a disclosure at the CAS. Execute test case \"Operation: Record a Disclosure\".</li>\n</ol>\n<p><strong>Post-condition:</strong></p>\n<ul>\n<li>The disclosure AuditEvent exists at the CAS.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Basic success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Use Case: Sign and File Consent</strong></p>\n<p><strong>Actors:</strong> Consenter, Consent Client, CAS</p>\n<p><strong>Pre-condition:</strong> A consent form has been reviewed and completed (see use case <a href=\"https://build.fhir.org/ig/HL7/fhir-consent-management/usecases.html#review-consent\">Review Consent</a>).</p>\n<p><strong>Narrative:</strong></p>\n<ol>\n<li>The consenter expresses their wish to sign and enact the consent [VERIFY: inspection]. The user experience provides a mechanism [VERIFY: inspection] to ensure the patient is making this decision in an informed way (and not by accident).</li>\n<li>A proper user experience enables the consenter to sign the consent form [VERIFY: inspection].</li>\n<li>Execute test case \"Operation: File a Consent\".</li>\n<li>The consenter can see the change in the status of the consent to become active [VERIFY: inspection].</li>\n<li>The consenter can review the finalized consent [VERIFY: inspection] and download a human-readable or print-friendly copy [VERIFY: inspection].</li>\n</ol>\n<p><strong>Post-condition:</strong></p>\n<ul>\n<li>A signed consent form is retained for future review. [Q: Is this optional based on whether QR or DR were passed in?]</li>\n<li>A computable consent resource is extracted based on the finalized consent form and is stored in the consent store FHIR server.</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Provisional</span></li><li><span title=\"Codes:\">Basic success</span></li></ul></td><td>??</td><td>??</td></tr></table><h2>Test Case</h2><h3>Test Plan Dependency:</h3><table class=\"grid\"><tr><td><div><p><strong>Validate FHIR resources</strong></p>\n<p>This is a base test case that will be added to all others.</p>\n<p><strong>Actors:</strong> Any</p>\n<p><strong>Pre-condition:</strong> None</p>\n<p><strong>Narrative:</strong></p>\n<ol>\n<li>Test tool or manual evaluator captures any message under test.</li>\n<li>Call the FHIR Validator on the top level resources in the message.</li>\n</ol>\n<p><strong>Post-condition:</strong></p>\n<ul>\n<li>None</li>\n</ul>\n</div></td></tr><tr><td/></tr></table><h3>Assertion</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Result</b></td></tr><tr><td><ul><li><span title=\"Codes:\">Required</span></li><li><span title=\"Codes:\">Basic success</span></li></ul></td><td>??</td><td>??</td></tr></table></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:code ;
       fhir:v "cbcc"
     ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:integer ;
       fhir:v 1 ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:canonical ;
           fhir:v "http://hl7.org/fhir/us/consent-management-tg/ImplementationGuide/hl7.fhir.us.consent-management-tg"^^xsd:anyURI ;
           fhir:link <http://hl7.org/fhir/us/consent-management-tg/ImplementationGuide/hl7.fhir.us.consent-management-tg>
         ]
       ] )
     ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:code ;
       fhir:v "trial-use" ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:canonical ;
           fhir:v "http://hl7.org/fhir/us/consent-management-tg/ImplementationGuide/hl7.fhir.us.consent-management-tg"^^xsd:anyURI ;
           fhir:link <http://hl7.org/fhir/us/consent-management-tg/ImplementationGuide/hl7.fhir.us.consent-management-tg>
         ]
       ] )
     ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.url"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:uri ;
       fhir:v "http://hl7.org/fhir/us/consent-management-tg/TestPlan/fhir-consent-management-0.1.0-test-plan"^^xsd:anyURI
     ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.version"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:string ;
       fhir:v "0.1.0"
     ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.name"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:string ;
       fhir:v "fhir-consent-management-0.1.0-test-plan"
     ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.title"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:string ;
       fhir:v "Scalable Consent Management 0.1.0 Test Plan"
     ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.status"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:code ;
       fhir:v "active"
     ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.experimental"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:boolean ;
       fhir:v false
     ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.date"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:dateTime ;
       fhir:v "2025-10-15T14:24:16-04:00"^^xsd:dateTime
     ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.publisher"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:string ;
       fhir:v "HL7 International / Community Based Collaborative Care"
     ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.contact"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:ContactDetail ;
       fhir:name [ fhir:v "HL7 International / Community Based Collaborative Care" ] ;
       fhir:telecom ( [
         fhir:system [ fhir:v "url" ] ;
         fhir:value [ fhir:v "http://www.hl7.org/Special/committees/cbcc" ]
       ] )
     ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.description"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:markdown ;
       fhir:v "The Scalable Consent Management Testing Guide defines the testing artifacts used to verify and validate implementations declaring conformance to and against the Scalable Consent Management Implementation Guide."
     ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.jurisdiction"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "US" ] ;
         fhir:display [ fhir:v "United States of America" ]
       ] )
     ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-69"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-43"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-35"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-331"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-333"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-52"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-36"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-56"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 1
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Read a Consent**\n\n**Actors:** Consent Client, CAS\n\n**Pre-condition:** A Consent conforming to the FASTConsent profile exists at the CAS, and its ID is known.\n\n**Narrative:**\n\n1. Client sends a conformant [read](https://hl7.org/fhir/R4/http.html#read) to CAS using the known ID. This is unconstrained, e.g. the \"\\_format\" parameter may be present.\n2. Verify the request is valid according to the linked requirements.\n3. \\[No requirements yet, but something like this: CAS verifies the request is valid.\\]\n4. CAS returns a conformant response containing the resource.\n5. Verify the response is valid according to the linked requirements, including that the Consent declares and conforms to the FASTConsent profile.\n\n**Post-condition:**\n\n- None"
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Basic success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-69"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-43"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-35"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-331"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-333"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-52"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-63"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-37"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-57"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 2
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Search for a Consent**\n\n**Actors:** Consent Client, CAS\n\n**Pre-condition:** At least one Consent conforming to the FASTConsent profile exists at the CAS, and details about it sufficient to search are known.\n\n**Narrative:**\n\n1. Client sends a conformant [search](https://hl7.org/fhir/R4/http.html#search) request to CAS using some combination of the search criteria required to be supported.\n2. Verify the request is valid according to the linked requirements.\n3. \\[No requirements yet, but something like this: CAS verifies the request is valid.\\]\n4. CAS returns a conformant response containing the matching resource(s).\n5. Verify the response is valid according to the linked requirements.\n6. Verify that at least one Consent resource is returned, and that each returned Consent declares and conforms to the FASTConsent profile.\n\n**Post-condition:**\n\n- None"
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Basic success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-364"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-199"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-58"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-search-parameters-client-admin-service.html#requirement-472"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 3
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Search for Consent by FASTConsentController - JSON**\n\nThis test case extends test case \"Search for a Consent\".\n\n**Pre-condition:** FASTConsentController details are known by which at least one Consent would match and at least one Consent would not match at the CAS.\n\n- In step 1, the client includes the FASTConsentController criteria and requests JSON.\n- In step 6, verify that only matching Consent resources are returned.\n- In all steps, evaluate FHIR content as JSON."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-364"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-199"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-58"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-search-parameters-client-admin-service.html#requirement-472"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 4
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Search for Consent by FASTConsentController - XML**\n\nThis test case extends test case \"Search for a Consent\".\n\n**Pre-condition:** FASTConsentController details are known by which at least one Consent would match and at least one Consent would not match at the CAS.\n\n- In step 1, the client includes the FASTConsentController criteria and requests XML.\n- In step 6, verify that only matching Consent resources are returned.\n- In all steps, evaluate FHIR content as XML."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-365"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-72"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-369"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 5
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Search for Consent by date - JSON**\n\nThis test case extends test case \"Search for a Consent\".\n\n**Pre-condition:** date details are known by which at least one Consent would match and at least one Consent would not match at the CAS.\n\n- In step 1, the client includes the date criteria and requests JSON.\n- In step 6, verify that only matching Consent resources are returned.\n- In all steps, evaluate FHIR content as JSON."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-365"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-72"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-369"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 6
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Search for Consent by date - XML**\n\nThis test case extends test case \"Search for a Consent\".\n\n**Pre-condition:** date details are known by which at least one Consent would match and at least one Consent would not match at the CAS.\n\n- In step 1, the client includes the date criteria and requests XML.\n- In step 6, verify that only matching Consent resources are returned.\n- In all steps, evaluate FHIR content as XML."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-38"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-370"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-search-parameters-client-admin-service.html#requirement-473"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 7
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Search for Consent by FASTConsentGrantee - JSON**\n\nThis test case extends test case \"Search for a Consent\".\n\n**Pre-condition:** FASTConsentGrantee details are known by which at least one Consent would match and at least one Consent would not match at the CAS.\n\n- In step 1, the client includes the FASTConsentGrantee criteria and requests JSON.\n- In step 6, verify that only matching Consent resources are returned.\n- In all steps, evaluate FHIR content as JSON."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-38"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-370"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-search-parameters-client-admin-service.html#requirement-473"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 8
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Search for Consent by FASTConsentGrantee - XML**\n\nThis test case extends test case \"Search for a Consent\".\n\n**Pre-condition:** FASTConsentGrantee details are known by which at least one Consent would match and at least one Consent would not match at the CAS.\n\n- In step 1, the client includes the FASTConsentGrantee criteria and requests XML.\n- In step 6, verify that only matching Consent resources are returned.\n- In all steps, evaluate FHIR content as XML."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-367"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-200"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-371"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-search-parameters-client-admin-service.html#requirement-474"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 9
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Search for Consent by FASTConsentManager - JSON**\n\nThis test case extends test case \"Search for a Consent\".\n\n**Pre-condition:** FASTConsentManager details are known by which at least one Consent would match and at least one Consent would not match at the CAS.\n\n- In step 1, the client includes the FASTConsentManager criteria and requests JSON.\n- In step 6, verify that only matching Consent resources are returned.\n- In all steps, evaluate FHIR content as JSON."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-367"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-200"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-371"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-search-parameters-client-admin-service.html#requirement-474"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 10
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Search for Consent by FASTConsentManager - XML**\n\nThis test case extends test case \"Search for a Consent\".\n\n**Pre-condition:** FASTConsentManager details are known by which at least one Consent would match and at least one Consent would not match at the CAS.\n\n- In step 1, the client includes the FASTConsentManager criteria and requests XML.\n- In step 6, verify that only matching Consent resources are returned.\n- In all steps, evaluate FHIR content as XML."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-39"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-59"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-search-parameters-client-admin-service.html#requirement-475"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 11
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Search for Consent by FASTConsentOrganizationId - JSON**\n\nThis test case extends test case \"Search for a Consent\".\n\n**Pre-condition:** FASTConsentOrganizationId details are known by which at least one Consent would match and at least one Consent would not match at the CAS.\n\n- In step 1, the client includes the FASTConsentOrganizationId criteria and requests JSON.\n- In step 6, verify that only matching Consent resources are returned.\n- In all steps, evaluate FHIR content as JSON."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-39"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-59"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-search-parameters-client-admin-service.html#requirement-475"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 12
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Search for Consent by FASTConsentOrganizationId - XML**\n\nThis test case extends test case \"Search for a Consent\".\n\n**Pre-condition:** FASTConsentOrganizationId details are known by which at least one Consent would match and at least one Consent would not match at the CAS.\n\n- In step 1, the client includes the FASTConsentOrganizationId criteria and requests XML.\n- In step 6, verify that only matching Consent resources are returned.\n- In all steps, evaluate FHIR content as XML."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-71"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-40"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-60"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 13
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Search for Consent by patient - JSON**\n\nThis test case extends test case \"Search for a Consent\".\n\n**Pre-condition:** patient details are known by which at least one Consent would match and at least one Consent would not match at the CAS.\n\n- In step 1, the client includes the patient criteria and requests JSON.\n- In step 6, verify that only matching Consent resources are returned.\n- In all steps, evaluate FHIR content as JSON."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-71"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-40"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-60"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 14
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Search for Consent by patient - XML**\n\nThis test case extends test case \"Search for a Consent\".\n\n**Pre-condition:** patient details are known by which at least one Consent would match and at least one Consent would not match at the CAS.\n\n- In step 1, the client includes the patient criteria and requests XML.\n- In step 6, verify that only matching Consent resources are returned.\n- In all steps, evaluate FHIR content as XML."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-368"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-372"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-search-parameters-client-admin-service.html#requirement-476"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 15
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Search for Consent by FASTConsentPatientId - JSON**\n\nThis test case extends test case \"Search for a Consent\".\n\n**Pre-condition:** FASTConsentPatientId details are known by which at least one Consent would match and at least one Consent would not match at the CAS.\n\n- In step 1, the client includes the FASTConsentPatientId criteria and requests JSON.\n- In step 6, verify that only matching Consent resources are returned.\n- In all steps, evaluate FHIR content as JSON."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-368"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-372"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-search-parameters-client-admin-service.html#requirement-476"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 16
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Search for Consent by FASTConsentPatientId - XML**\n\nThis test case extends test case \"Search for a Consent\".\n\n**Pre-condition:** FASTConsentPatientId details are known by which at least one Consent would match and at least one Consent would not match at the CAS.\n\n- In step 1, the client includes the FASTConsentPatientId criteria and requests XML.\n- In step 6, verify that only matching Consent resources are returned.\n- In all steps, evaluate FHIR content as XML."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-201"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-42"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-47"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 17
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Search for Consent by scope - JSON**\n\nThis test case extends test case \"Search for a Consent\".\n\n**Pre-condition:** scope details are known by which at least one Consent would match and at least one Consent would not match at the CAS.\n\n- In step 1, the client includes the scope criteria and requests JSON.\n- In step 6, verify that only matching Consent resources are returned.\n- In all steps, evaluate FHIR content as JSON."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-201"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-42"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-47"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 18
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Search for Consent by scope - XML**\n\nThis test case extends test case \"Search for a Consent\".\n\n**Pre-condition:** scope details are known by which at least one Consent would match and at least one Consent would not match at the CAS.\n\n- In step 1, the client includes the scope criteria and requests XML.\n- In step 6, verify that only matching Consent resources are returned.\n- In all steps, evaluate FHIR content as XML."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-73"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-41"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-61"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 19
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Search for Consent by status - JSON**\n\nThis test case extends test case \"Search for a Consent\".\n\n**Pre-condition:** status details are known by which at least one Consent would match and at least one Consent would not match at the CAS.\n\n- In step 1, the client includes the status criteria and requests JSON.\n- In step 6, verify that only matching Consent resources are returned.\n- In all steps, evaluate FHIR content as JSON."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-73"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-41"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-61"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 20
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Search for Consent by status - XML**\n\nThis test case extends test case \"Search for a Consent\".\n\n**Pre-condition:** status details are known by which at least one Consent would match and at least one Consent would not match at the CAS.\n\n- In step 1, the client includes the status criteria and requests XML.\n- In step 6, verify that only matching Consent resources are returned.\n- In all steps, evaluate FHIR content as XML."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-331"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-332"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 21
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Search for Consent by FASTConsent profile - JSON**\n\nThis test case extends test case \"Search for a Consent\".\n\n**Pre-condition:** At least one Consent declaring the FASTConsent profile and at least one Consent not declaring it exist at the CAS.\n\n- In step 1, the client includes the FASTConsent profile criteria and requests JSON.\n- In step 6, verify that only matching Consent resources are returned.\n- In all steps, evaluate FHIR content as JSON."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Conditional" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-331"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-332"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 22
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Search for Consent by FASTConsent profile - XML**\n\nThis test case extends test case \"Search for a Consent\".\n\n**Pre-condition:** At least one Consent declaring the FASTConsent profile and at least one Consent not declaring it exist at the CAS.\n\n- In step 1, the client includes the FASTConsent profile criteria and requests XML.\n- In step 6, verify that only matching Consent resources are returned.\n- In all steps, evaluate FHIR content as XML."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-69"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-661"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-397"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-398"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-399"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-401"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-402"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-404"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-405"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-513"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-514"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 23
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Read an AuditEvent**\n\n**Actors:** Consent Client, CAS\n\n**Pre-condition:** An AuditEvent conforming to the FASTConsentAuditEvent profile exists at the CAS, and its ID is known.\n\n**Narrative:**\n\n1. Client sends a conformant [read](https://hl7.org/fhir/R4/http.html#read) to CAS using the known ID. This is unconstrained, e.g. the \"\\_format\" parameter may be present.\n2. Verify the request is valid according to the linked requirements.\n3. \\[No requirements yet, but something like this: CAS verifies the request is valid.\\]\n4. CAS returns a conformant response containing the resource.\n5. Verify the response is valid according to the linked requirements, including that the AuditEvent declares and conforms to the FASTConsentAuditEvent profile.\n\n**Post-condition:**\n\n- None"
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Basic success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-69"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-661"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-397"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-398"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-399"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-401"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-402"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-407"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-406"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-408"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-513"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-514"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 24
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Search for** **an AuditEvent**\n\n**Actors:** Consent Client, CAS\n\n**Pre-condition:** At least one AuditEvent conforming to the FASTConsentAuditEvent profile exists at the CAS, and details about it sufficient to search are known.\n\n**Narrative:**\n\n1. Client sends a conformant [search](https://hl7.org/fhir/R4/http.html#search) request to CAS using some combination of the search criteria required to be supported.\n2. Verify the request is valid according to the linked requirements.\n3. \\[No requirements yet, but something like this: CAS verifies the request is valid.\\]\n4. CAS returns a conformant response containing the matching resource(s).\n5. Verify the response is valid according to the linked requirements.\n6. Verify that at least one AuditEvent resource is returned, and that each returned AuditEvent declares and conforms to the FASTConsentAuditEvent profile.\n\n**Post-condition:**\n\n- None"
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Basic success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-266"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-409"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-client.html#requirement-267"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-411"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-search-parameters-client-admin-service.html#requirement-471"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 25
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Search for AuditEvent by FASTAuditEventConsent - JSON**\n\nThis test case extends test case \"Search for an AuditEvent\".\n\n**Pre-condition:** FASTAuditEventConsent details are known by which at least one AuditEvent would match and at least one AuditEvent would not match at the CAS.\n\n- In step 1, the client includes the FASTAuditEventConsent criteria and requests JSON.\n- In step 6, verify that only matching AuditEvent resources are returned.\n- In all steps, evaluate FHIR content as JSON."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-266"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-409"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-client.html#requirement-267"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-411"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-search-parameters-client-admin-service.html#requirement-471"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 26
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Search for** **AuditEvent by FASTAuditEventConsent - XML**\n\nThis test case extends test case \"Search for an AuditEvent\".\n\n**Pre-condition:** FASTAuditEventConsent details are known by which at least one AuditEvent would match and at least one AuditEvent would not match at the CAS.\n\n- In step 1, the client includes the FASTAuditEventConsent criteria and requests XML.\n- In step 6, verify that only matching AuditEvent resources are returned.\n- In all steps, evaluate FHIR content as XML."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-298"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-412"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-client.html#requirement-299"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-414"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 27
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Search for AuditEvent by patient - JSON**\n\nThis test case extends test case \"Search for an AuditEvent\".\n\n**Pre-condition:** patient details are known by which at least one AuditEvent would match and at least one AuditEvent would not match at the CAS.\n\n- In step 1, the client includes the patient criteria and requests JSON.\n- In step 6, verify that only matching AuditEvent resources are returned.\n- In all steps, evaluate FHIR content as JSON."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-298"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-412"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-client.html#requirement-299"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-414"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 28
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Search for** **AuditEvent by patient - XML**\n\nThis test case extends test case \"Search for an AuditEvent\".\n\n**Pre-condition:** patient details are known by which at least one AuditEvent would match and at least one AuditEvent would not match at the CAS.\n\n- In step 1, the client includes the patient criteria and requests XML.\n- In step 6, verify that only matching AuditEvent resources are returned.\n- In all steps, evaluate FHIR content as XML."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-399"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-400"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-514"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-515"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 29
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Search for AuditEvent by FASTConsentAuditEvent profile - JSON**\n\nThis test case extends test case \"Search for an AuditEvent\".\n\n**Pre-condition:** At least one AuditEvent declaring the FASTConsentAuditEvent profile and at least one AuditEvent not declaring it exist at the CAS.\n\n- In step 1, the client includes the FASTConsentAuditEvent profile criteria and requests JSON.\n- In step 6, verify that only matching AuditEvent resources are returned.\n- In all steps, evaluate FHIR content as JSON."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Conditional" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-399"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-400"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-514"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-515"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 30
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Search for AuditEvent by FASTConsentAuditEvent profile - XML**\n\nThis test case extends test case \"Search for an AuditEvent\".\n\n**Pre-condition:** At least one AuditEvent declaring the FASTConsentAuditEvent profile and at least one AuditEvent not declaring it exist at the CAS.\n\n- In step 1, the client includes the FASTConsentAuditEvent profile criteria and requests XML.\n- In step 6, verify that only matching AuditEvent resources are returned.\n- In all steps, evaluate FHIR content as XML."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-69"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-64"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-377"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-381"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-496"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-505"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-components-admin-service.html#requirement-565"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-567"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-513"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-517"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-514"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-client-admin-service.html#requirement-537"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 31
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Read a Subscription**\n\n**Actors:** Consent Client, CAS\n\n**Pre-condition:** A Subscription \\[optionally conforming to the FASTSubscription profile\\] exists at the CAS, and its ID is known.\n\n**Narrative:**\n\n1. Client sends a conformant [read](https://hl7.org/fhir/R4/http.html#read) to CAS using the known ID. This is unconstrained, e.g. the \"\\_format\" parameter may be present.\n2. Verify the request is valid according to the linked requirements.\n3. \\[No requirements yet, but something like this: CAS verifies the request is valid.\\]\n4. CAS returns a conformant response containing the resource.\n5. Verify the response is valid according to the linked requirements \\[note no rqmt that the Subscription declares and conforms to the FASTSubscription profile\\].\n\n**Post-condition:**\n\n- None"
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Basic success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-69"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-64"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-377"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-381"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-client.html#requirement-265"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-378"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-382"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-497"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-503"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-499"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-500"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-501"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-components-client.html#requirement-512"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-client.html#requirement-566"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-513"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-517"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-506"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-529"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-client.html#requirement-532"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-533"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-client.html#requirement-536"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-client.html#requirement-564"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-client-admin-service.html#requirement-537"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-538"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-client.html#requirement-540"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 32
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Workflow: Create a subscription - rest-hook**\n\nThis is a wide-open workflow that can be used as the base for many variations.\n\n**Actors:** Consent Client, CAS, Notification Endpoint\n\n**Pre-condition:** CAS has advertised its support for subscriptions in its CapabilityStatement. Consent Client has prepared its Notification Endpoint to receive notifications.\n\n**Narrative:**\n\n1. Optional: Consent Client discovers subscription support at the CAS. Execute test case \"Obtain server CapabilityStatement\".\n2. Client POSTs a conformant Subscription to the CAS. \\[note no requirement for it to be FASTSubscription\\]\n3. Verify the request is valid according to the linked requirements.\n4. CAS verifies the request is valid.\n5. CAS returns a conformant response indicating the new Subscription location and optionally the resource in the body.\n6. Verify the response is valid according to the linked requirements.\n7. Optional: CAS sends a handshake. Execute test case \"Notify for a Subscription - rest-hook\". The trigger in step 1 is the creation of the Subscription. Verify the notification as \"handshake\".\n8. Optional: Consent Client GETs the new Subscription to confirm it is active. Execute test case \"Read a Subscription\".\n9. Optional: Consent Client executes $status against the new Subscription to confirm it is active. Execute test case \"Operation: Get Subscription Status\".\n\n**Post-condition:**\n\n- The new Subscription exists at the CAS."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Basic success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-503"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 33
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Workflow: Create a subscription - rest-hook PUT**\n\nThis test case extends test case \"Workflow: Create a subscription - rest-hook\".\n\n- In step 2, Consent Client PUTs a conformant Subscription to the CAS.\n- In step 3, verify the resource id passed in was used."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Conditional" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-68"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-507"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 34
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Error: Create a Subscription - rest-hook - unsupported backport-channel-type**\n\n**Actors:** Consent Client, CAS\n\n**Pre-condition:** None\n\n**Narrative:**\n\n1. Consent Client POSTs a Subscription to the CAS using the backport-channel-type extension with a nonsense value.\n2. CAS returns a conformant response indicating the Subscription request was rejected.\n3. Verify the response is valid according to the linked requirements.\n\n**Post-condition:** The Subscription has not been created at the CAS."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Error" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-68"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-531"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 35
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Error: Create a Subscription - rest-hook - unsupported filter**\n\n**Actors:** Consent Client, CAS\n\n**Pre-condition:** None\n\n**Narrative:**\n\n1. Consent Client POSTs a Subscription to the CAS using a filter with a nonsense value.\n2. CAS returns a conformant response indicating the Subscription request was rejected.\n3. Verify the response is valid according to the linked requirements.\n\n**Post-condition:** The Subscription has not been created at the CAS."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Error" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-535"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 36
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Error: Create a Subscription - rest-hook - unsupported content level**\n\n**Actors:** Consent Client, CAS\n\n**Pre-condition:** None\n\n**Narrative:**\n\n1. Consent Client POSTs a Subscription to the CAS using a content level the server does not support.\n2. CAS returns a conformant response indicating the Subscription request was rejected.\n3. Verify the response is valid according to the linked requirements.\n\n**Post-condition:** The Subscription has not been created at the CAS."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Conditional" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Error" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-539"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 37
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Error: Create a Subscription - rest-hook - unsupported topic**\n\n**Actors:** Consent Client, CAS\n\n**Pre-condition:** None\n\n**Narrative:**\n\n1. Consent Client POSTs a Subscription to the CAS using a nonsense topic.\n2. CAS returns a conformant response indicating the Subscription request was rejected.\n3. Verify the response is valid according to the linked requirements.\n\n**Post-condition:** The Subscription has not been created at the CAS."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Error" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-379"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-383"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-509"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 38
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Workflow: Update a Subscription - rest-hook**\n\nThis is a wide-open workflow that can be used as the base for many variations.\n\n**Actors:** Consent Client, CAS, Notification Endpoint\n\n**Pre-condition:** Consent Client has an existing Subscription at the CAS.\n\n**Narrative:**\n\n1. Client PUTs an updated, conformant Subscription to the CAS. \\[note no requirement for it to be FASTSubscription\\]\n2. Verify the request is valid according to the linked requirements.\n3. CAS verifies the request is valid.\n4. CAS returns a conformant response indicating the new Subscription location and optionally the resource in the body.\n5. Verify the response is valid according to the linked requirements.\n6. Optional: CAS sends a handshake. Execute test case \"Notify for a Subscription - rest-hook channel\". The trigger in step 1 is the creation of the Subscription. Verify the notification as \"handshake\".\n7. Optional: Consent Client GETs the new Subscription to confirm it is active. Execute test case \"Read a Subscription\".\n8. Optional: Consent Client executes $status against the new Subscription to confirm it is active. Execute test case \"Operation: Get Subscription Status\".\n\n**Post-condition:**\n\n- The updated Subscription exists at the CAS."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Basic success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-509"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 39
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Workflow: Update a Subscription - rest-hook PATCH**\n\nThis test case extends test case \"Workflow: Update a Subscription - rest-hook\".\n\n- In step 1, Consent Client PATCHs an updated, conformant Subscription to the CAS.\n- At the end of the test case, verify the resource was updated appropriately."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Conditional" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-69"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-331"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-64"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-377"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-381"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-client.html#requirement-265"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-500"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-501"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-components-admin-service.html#requirement-565"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-567"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-513"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-517"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-514"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-506"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-529"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-530"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-534"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-client-admin-service.html#requirement-562"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-563"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-client.html#requirement-564"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 40
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Workflow: Notify for a Subscription** **- rest-hook**\n\nThis is a wide-open workflow that can be used as the base for many variations. Each variation needs to specify what the trigger in step 1 is.\n\n**Actors:** Consent Client, CAS, Notification Endpoint\n\n**Pre-condition:** Consent Client has successfully made a Subscription at the CAS, with the rest-hook channel type.\n\n**Narrative:**\n\n1. An actor performs an action at the CAS that should trigger a notification for this Subscription.\n2. CAS POSTs a conformant R4 Topic-Based Subscription Notification Bundle to the Consent Client's Notification Endpoint.\n3. Verify the notification is valid according to the linked requirements.\n4. The Consent Client verifies the notification and returns a valid 200 response.\n5. Verify the response.\n6. Optional: Consent Client GETs a new or modified Consent. Execute test case \"Read a Consent\".\n\n**Post-condition:**\n\n- None"
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Basic success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-498"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-508"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-client.html#requirement-564"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 41
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Operation: Get Subscription Status**\n\n**Actors:** Consent Client, CAS\n\n**Pre-condition:** None\n\n**Narrative:**\n\n1. Client POSTs to CAS: \\[base\\]/Subscription/$status.\n2. Verify input parameters are valid according to linked requirements.\n3. CAS returns a response.\n4. Verify response is valid according to linked requirements.\n\n**Post-condition:**\n\n- None"
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Conditional" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Basic success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-69"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-35"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-52"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-334"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-62"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-46"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-53"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-extended-operations-client-admin-service.html#requirement-463"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-extended-operations-client-admin-service.html#requirement-133"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-extended-operations-client-admin-service.html#requirement-134"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-extended-operations-client-admin-service.html#requirement-135"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-extended-operations-client-admin-service.html#requirement-166"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-extended-operations-client-admin-service.html#requirement-168"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-structure-definitions-client-admin-service.html#requirement-464"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-structure-definitions-client-admin-service.html#requirement-70"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-structure-definitions-client-admin-service.html#requirement-430"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 42
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Operation: File a Consent**\n\n**Actors:** Consent Client, CAS\n\n**Pre-condition:** None\n\n**Narrative:**\n\n1. Client POSTs to CAS: \\[base\\]/Consent/$fileConsent \\[unconstrained, e.g. the \"document\" parameter may be either flavor\\].\n2. Verify input parameters are valid according to linked requirements.\n3. \\[No requirements yet, but something like this: CAS verifies inputs, generates and persists the Consent and related resources. CAS may retain external references (e.g. to Patient), or replace with references to new or matched existing resources.\\]\n4. CAS returns a response.\n5. Verify response is valid according to linked requirements.\n\n**Post-condition:**\n\n- \\[No requirements yet, but something like this: The Consent and related resources are persisted and available at the CAS.\\]"
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Basic success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-69"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-35"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-52"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-334"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-101"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-374"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-376"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-extended-operations-client-admin-service.html#requirement-466"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-extended-operations-client-admin-service.html#requirement-438"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-extended-operations-client-admin-service.html#requirement-439"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-extended-operations-client-admin-service.html#requirement-440"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-extended-operations-client-admin-service.html#requirement-447"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-extended-operations-client-admin-service.html#requirement-442"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-extended-operations-client-admin-service.html#requirement-444"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-structure-definitions-client-admin-service.html#requirement-469"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-structure-definitions-client-admin-service.html#requirement-441"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-structure-definitions-client-admin-service.html#requirement-448"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-structure-definitions-client-admin-service.html#requirement-443"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 43
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Operation: Revoke a Consent**\n\n**Actors:** Consent Client, CAS\n\n**Pre-condition:** None\n\n**Narrative:**\n\n1. Client POSTs to CAS: \\[base\\]/Consent/$revokeConsent \\[unconstrained, e.g. the \"document\" parameter may be either flavor\\].\n2. Verify input parameters are valid according to linked requirements.\n3. \\[No requirements yet, but something like this: CAS verifies inputs, persists the revoked Consent and related resources. CAS may retain external references (e.g. to Patient), or replace with references to new or matched existing resources.\\]\n4. CAS returns a response.\n5. Verify response is valid according to linked requirements.\n\n**Post-condition:**\n\n- \\[No requirements yet, but something like this: The revoked Consent and related resources are persisted and available at the CAS.\\]"
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Basic success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-69"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-52"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-334"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-415"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-416"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-398"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-402"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-403"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-extended-operations-client-admin-service.html#requirement-467"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-extended-operations-client-admin-service.html#requirement-445"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-extended-operations-client-admin-service.html#requirement-446"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-extended-operations-client-admin-service.html#requirement-451"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-extended-operations-client-admin-service.html#requirement-449"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-extended-operations-client-admin-service.html#requirement-453"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-structure-definitions-client-admin-service.html#requirement-470"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-structure-definitions-client-admin-service.html#requirement-452"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-structure-definitions-client-admin-service.html#requirement-450"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-513"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 44
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Operation: Record a Disclosure**\n\n**Actors:** Consent Client, CAS\n\n**Pre-condition:** None\n\n**Narrative:**\n\n1. Client POSTs to CAS: \\[base\\]/AuditEvent/$recordDisclosure \\[unconstrained\\].\n2. Verify input parameters are valid according to linked requirements.\n3. \\[No requirements yet, but something like this: CAS verifies inputs, generates and persists the AuditEvent and related resources. CAS may retain external references (e.g. to Patient), or replace with references to new or matched existing resources.\\]\n4. CAS returns a response.\n5. Verify response is valid according to linked requirements.\n\n**Post-condition:**\n\n- \\[No requirements yet, but something like this: The AuditEvent and related resources are persisted and available at the CAS.\\]"
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Basic success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-69"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-1"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-43"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-35"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-36"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-37"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-199"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-72"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-38"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-200"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-39"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-40"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-368"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-42"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-41"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-46"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-374"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-377"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-378"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-379"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-380"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-415"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-397"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-398"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-404"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-406"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-409"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-412"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-509"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-511"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-602"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-604"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-694"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-499"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-504"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-513"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 45
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Obtain server CapabilityStatement**\n\n**Actors:** Consent client, CAS\n\n**Pre-condition:** None\n\n**Narrative:**\n\n1. Client sends a metadata request to the CAS, requesting the FHIR 4.0 CS by using the fhirVersion Accept header.\n2. Verify the request is valid according to the linked requirements.\n3. \\[No requirements yet, but something like this: CAS verifies the request is valid.\\]\n4. CAS returns a conformant response containing the system CapabilityStatement.\n5. Verify the response is valid according to the linked requirements.\n6. Verify the CapabilityStatement includes the normative aspects defined in the ConsentAdministrativeServer CapabilityStatement. Additional aspects are permitted but will not be evaluated.\n\n**Post-condition:**\n\n- None"
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Basic success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-2"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-49"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 46
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Obtain server CapabilityStatement - JSON**\n\nThis test case extends test case \"Obtain server CapabilityStatement\".\n\n- In step 1, the client requests JSON.\n- In step 5, verify the CapabilityStatement is JSON.\n- In all steps, evaluate FHIR content as JSON."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Basic success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-34"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-50"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 47
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Obtain server CapabilityStatement - XML**\n\nThis test case extends test case \"Obtain server CapabilityStatement\".\n\n- In step 1, the client requests XML.\n- In step 5, verify the CapabilityStatement is XML.\n- In all steps, evaluate FHIR content as XML."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Basic success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 48
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Obtain and handle conformant variations of server CapabilityStatement**\n\nThis tests the ability of a client to handle legal variants of CSs.\n\n**Actors:** Consent Client, Simulated CAS\n\n**Pre-condition:** None\n\n**Narrative:**\n\n1. Client sends a metadata request to the CAS. \\[unconstrained; may or may not use the fhirVersion Accept header\\]\n2. Verify the request is valid according to the linked requirements.\n3. \\[No requirements yet, but something like this: CAS verifies the request is valid.\\]\n4. CAS returns a conformant response containing the system CapabilityStatement.\n5. Verify the response is valid according to the linked requirements.\n6. Verify the CapabilityStatement includes the normative aspects defined in the ConsentAdministrativeServer CapabilityStatement. Additional aspects are permitted but will not be evaluated.\n\n**Post-condition:**\n\n- The client should be able to communicate with this server per the workflows in this IG."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Provisional" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 49
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Obtain and handle STU3 version server CapabilityStatement**\n\nThis tests the ability of a client to handle an STU3 CS.\n\n**Actors:** Consent Client, Simulated CAS\n\n**Pre-condition:** None\n\n**Narrative:**\n\n1. Client sends a metadata request to the CAS without the fhirVersion Accept header.\n2. Verify the request is valid according to the linked requirements.\n3. CAS returns a conformant response containing an STU3 system CapabilityStatement.\n4. Verify the client detects the version mismatch and resolves somehow, e.g. notifies the user, retries the request including the fhirVersion Accept header, etc.\n\n**Post-condition:**\n\n- None (yet)"
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Conditional" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-48"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-333"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-52"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-56"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-57"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-58"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-369"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-370"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-371"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-59"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-60"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-372"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-47"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-61"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-53"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-376"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-381"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-382"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-383"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-384"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-416"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-401"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-402"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-405"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-408"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-411"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-414"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 50
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Test client CapabilityStatement**\n\n**Actors:** Consent client\n\n**Pre-condition:** None\n\n**Narrative:**\n\n1. Obtain the client CapabilityStatement.\n2. Verify the CapabilityStatement includes the normative aspects defined in the ConsentClient CapabilityStatement. Additional aspects are permitted but will not be evaluated.\n\n**Post-condition:**\n\n- None"
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Conditional" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Basic success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-49"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 51
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Test client CapabilityStatement - JSON**\n\nThis test case extends test case \"Test client CapabilityStatement\".\n\n- In step 1, obtain the JSON CapabilityStatement.\n- In step 2, evaluate FHIR content as JSON."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Conditional" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Basic success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-50"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 52
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Test client CapabilityStatement - XML**\n\nThis test case extends test case \"Test client CapabilityStatement\".\n\n- In step 1, obtain the XML CapabilityStatement.\n- In step 2, evaluate FHIR content as XML."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Conditional" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Basic success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-64"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-377"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-381"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-client.html#requirement-202"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-client.html#requirement-265"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-380"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-384"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-510"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-500"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-501"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-513"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-517"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-534"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-workflow-client-admin-service.html#requirement-541"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-subscriptiontopic-fastconsentsubscriptiontopic-admin-service.html#requirement-600"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-subscriptiontopic-fastconsentsubscriptiontopic-admin-service.html#requirement-606"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-subscriptiontopic-fastconsentsubscriptiontopic-admin-service.html#requirement-607"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 53
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Workflow: Consent subscription and notification**\n\nThis is a wide-open workflow that can be used as the base for many variations.\n\n**Actors:** Consent Client, CAS, Notification Endpoint, Tester\n\n**Pre-condition:** CAS has advertised its support for subscriptions in its CapabilityStatement. Consent Client has prepared its Notification Endpoint to receive notifications. There are no current subscriptions between this CAS and this Endpoint.\n\n**Narrative:**\n\n1. Execute test case \"Create a Subscription - rest-hook\".\n2. Tester performs an action at the CAS that should trigger a notification for this Subscription. This may be a local action or an API action.\n3. Execute test case \"Notify for a Subscription - rest-hook\". The trigger is step 2 above. Additionally verify the notification as \"event-notification\".\n4. Client DELETEs the FASTSubscription at the CAS.\n5. The CAS deletes the Subscription.\n6. Verify the response is valid according to the linked requirements.\n7. Tester performs an action at the CAS that should trigger a notification for the previous Subscription. This may be a local action or an API action.\n8. Verify the CAS does not POST an \"event-notification\" R4 Topic-Based Subscription Notification Bundle to the Endpoint.\n\n**Post-condition:**\n\n- Any Subscriptions created at the CAS have been deleted. Other changes at the CAS (new Consents, etc.) may or may not have been deleted."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Basic success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-subscriptiontopic-fastconsentsubscriptiontopic-admin-service.html#requirement-603"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-subscriptiontopic-fastconsentsubscriptiontopic-client.html#requirement-635"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 54
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Workflow: Consent subscription and notification - FASTConsentPatientId**\n\nThis test case extends test case \"Workflow: Consent subscription and notification\".\n\n**Test data:** Data for 2 conformant FASTConsents for an existing patient known at the CAS. No existing Consents for this patient at the CAS. Each Consent differs by where it identifies the patient: patient.identifier element or patient.extension additionalIdentifier.\n\n- In step 1, Consent Client creates a Subscription at the CAS filtering only on FASTConsentPatientId, for the known patient in the test data.\n- Repeat steps 2-3 as follows:\n- In step 2, Tester creates each Consent at the CAS using this test data.\n- In step 3, verify notification for each per this subscription and trigger.\n- In step 2, Tester updates each Consent at the CAS.\n- In step 3, verify notification for each per this subscription and trigger.\n- In step 2, Tester deletes the Consent at the CAS.\n- In step 3, verify notification for each per this subscription and trigger.\n- Continue with steps 4-6.\n- Repeat steps 7-8 as follows:\n- In step 7, Tester creates each Consent at the CAS using this test data.\n- In step 7, Tester updates each Consent at the CAS.\n- In step 7, Tester deletes each Consent at the CAS.\n\n**Additional Post-condition:**\n\n- Any Consents created at the CAS have been deleted."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Conditional" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-subscriptiontopic-fastconsentsubscriptiontopic-admin-service.html#requirement-628"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-subscriptiontopic-fastconsentsubscriptiontopic-client.html#requirement-636"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 55
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Workflow: Consent subscription and notification - FASTConsentOrganizationId**\n\nThis test case extends test case \"Workflow: Consent subscription and notification\".\n\n**Test data:** Data for 4 conformant FASTConsents for an existing organization known at the CAS. No existing Consents for this organization at the CAS. Each Consent differs by where it identifies the organization: the extensions grantee, manager, controller or the provision.actor.role.reference.\n\n- In step 1, Consent Client creates a Subscription at the CAS filtering only on FASTConsentOrganizationId, for the known organization in the test data.\n- Repeat steps 2-3 as follows:\n- In step 2, Tester creates each Consent at the CAS using this test data.\n- In step 3, verify notification for each per this subscription and trigger.\n- In step 2, Tester updates each Consent at the CAS.\n- In step 3, verify notification for each per this subscription and trigger.\n- In step 2, Tester deletes the Consent at the CAS.\n- In step 3, verify notification for each per this subscription and trigger.\n- Continue with steps 4-6.\n- Repeat steps 7-8 as follows:\n- In step 7, Tester creates each Consent at the CAS using this test data.\n- In step 7, Tester updates each Consent at the CAS.\n- In step 7, Tester deletes each Consent at the CAS.\n\n**Additional Post-condition:**\n\n- Any Consents created at the CAS have been deleted."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Conditional" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-subscriptiontopic-fastconsentsubscriptiontopic-admin-service.html#requirement-629"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-subscriptiontopic-fastconsentsubscriptiontopic-client.html#requirement-637"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 56
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Workflow: Consent subscription and notification - actor**\n\nThis test case extends test case \"Workflow: Consent subscription and notification\".\n\n**Test data:** Data for a conformant FASTConsent for an existing Consent actor (Consent.provision.actor.reference - see the actor search parameter) known at the CAS. No existing Consents for this actor at the CAS.\n\n- In step 1, Consent Client creates a Subscription at the CAS filtering only on actor, for the known actor in the test data.\n- Repeat steps 2-3 as follows:\n- In step 2, Tester creates the Consent at the CAS using this test data.\n- In step 3, verify notification per this subscription and trigger.\n- In step 2, Tester updates the Consent at the CAS.\n- In step 3, verify notification per this subscription and trigger.\n- In step 2, Tester deletes the Consent at the CAS.\n- In step 3, verify notification per this subscription and trigger.\n- Continue with steps 4-6.\n- Repeat steps 7-8 as follows:\n- In step 7, Tester creates the Consent at the CAS using this test data.\n- In step 7, Tester updates the Consent at the CAS.\n- In step 7, Tester deletes the Consent at the CAS.\n\n**Additional Post-condition:**\n\n- Any Consents created at the CAS have been deleted."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Conditional" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-subscriptiontopic-fastconsentsubscriptiontopic-admin-service.html#requirement-630"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-subscriptiontopic-fastconsentsubscriptiontopic-client.html#requirement-638"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 57
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Workflow: Consent subscription and notification - status**\n\nThis test case extends test case \"Workflow: Consent subscription and notification\".\n\n**Test data:** Data for a conformant FASTConsent for an existing patient known at the CAS. No existing Consents for this patient at the CAS. Note that it may not be possible for there to be no existing Consents having this status at the CAS, so there may be false positives the tester will need to examine.\n\n- In step 1, Consent Client creates a Subscription at the CAS filtering only on status, for the known status in the test data.\n- Repeat steps 2-3 as follows:\n- In step 2, Tester creates the Consent at the CAS using this test data.\n- In step 3, verify notification per this subscription and trigger.\n- In step 2, Tester updates the Consent at the CAS, changing a field other than status.\n- In step 3, verify notification per this subscription and trigger.\n- In step 2, Tester updates the Consent at the CAS, changing the status field.\n- In step 3, status should not match, so no notification should occur.\n- In step 2, Tester updates the Consent at the CAS, changing the status field back to the matching value.\n- In step 3, verify notification per this subscription and trigger.\n- In step 2, Tester deletes the Consent at the CAS.\n- In step 3, verify notification per this subscription and trigger.\n- Continue with steps 4-6.\n- Repeat steps 7-8 as follows:\n- In step 7, Tester creates the Consent at the CAS using this test data.\n- In step 7, Tester updates the Consent at the CAS.\n- In step 7, Tester deletes the Consent at the CAS.\n\n**Additional Post-condition:**\n\n- Any Consents created at the CAS have been deleted."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Conditional" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-subscriptiontopic-fastconsentsubscriptiontopic-admin-service.html#requirement-631"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-subscriptiontopic-fastconsentsubscriptiontopic-client.html#requirement-639"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 58
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Workflow: Consent subscription and notification - scope**\n\nThis test case extends test case \"Workflow: Consent subscription and notification\".\n\n**Test data:** Data for a conformant FASTConsent for an existing patient known at the CAS. No existing Consents for this patient at the CAS. Note that it may not be possible for there to be no existing Consents having this scope at the CAS, so there may be false positives the tester will need to examine.\n\n- In step 1, Consent Client creates a Subscription at the CAS filtering only on scope, for the known scope in the test data.\n- Repeat steps 2-3 as follows:\n- In step 2, Tester creates the Consent at the CAS using this test data.\n- In step 3, verify notification per this subscription and trigger.\n- In step 2, Tester updates the Consent at the CAS, changing a field other than scope.\n- In step 3, verify notification per this subscription and trigger.\n- In step 2, Tester updates the Consent at the CAS, changing the scope field.\n- In step 3, scope should not match, so no notification should occur.\n- In step 2, Tester updates the Consent at the CAS, changing the scope field back to the matching value.\n- In step 3, verify notification per this subscription and trigger.\n- In step 2, Tester deletes the Consent at the CAS.\n- In step 3, verify notification per this subscription and trigger.\n- Continue with steps 4-6.\n- Repeat steps 7-8 as follows:\n- In step 7, Tester creates the Consent at the CAS using this test data.\n- In step 7, Tester updates the Consent at the CAS.\n- In step 7, Tester deletes the Consent at the CAS.\n\n**Additional Post-condition:**\n\n- Any Consents created at the CAS have been deleted."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Conditional" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-admin-service.html#requirement-64"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-377"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-381"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-client.html#requirement-202"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-client.html#requirement-265"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-380"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-client.html#requirement-384"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-510"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-500"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-501"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-513"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-517"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-conformance-admin-service.html#requirement-534"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-workflow-client-admin-service.html#requirement-541"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 59
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Workflow: Consent subscription and notification - no filters**\n\nThis test case extends test case \"Workflow: Consent subscription and notification\".\n\n**Test data:** Data for a conformant FASTConsent for an existing patient known at the CAS. No existing Consents for this patient at the CAS. Note that it may not be possible for there to be no existing Consents at the CAS, so there may be false positives the tester will need to examine.\n\n- In step 1, Consent Client creates a Subscription at the CAS with no filters.\n- Repeat steps 2-3 as follows:\n- In step 2, Tester creates the Consent at the CAS using this test data.\n- In step 3, verify notification per this subscription and trigger.\n- In step 2, Tester updates the Consent at the CAS.\n- In step 3, verify notification per this subscription and trigger.\n- In step 2, Tester deletes the Consent at the CAS.\n- In step 3, verify notification per this subscription and trigger.\n- Continue with steps 4-6.\n- Repeat steps 7-8 as follows:\n- In step 7, Tester creates the Consent at the CAS using this test data.\n- In step 7, Tester updates the Consent at the CAS.\n- In step 7, Tester deletes the Consent at the CAS.\n\n**Additional Post-condition:**\n\n- Any Consents created at the CAS have been deleted."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Conditional" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-subscriptiontopic-fastconsentsubscriptiontopic-admin-service.html#requirement-632"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-subscriptiontopic-fastconsentsubscriptiontopic-client.html#requirement-640"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 60
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Workflow: Consent subscription and notification - all filters**\n\nThis test case extends test case \"Workflow: Consent subscription and notification\".\n\nTBD - define background test data that:\n\n- matches on all fields in the subscription\n- matches on all but one field in the subscription - do this for each field\n\n**Additional Post-condition:**\n\n- Any Consents created at the CAS have been deleted."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Conditional" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Alternate success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-capstmt-admin-service.html#requirement-331"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-technical-specification-client.html#requirement-167"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 61
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Workflow: Utilize Consent For Disclosure**\n\nThis is a wide-open workflow that can be used as the base for many variations.\n\n**Actors:** Data Consumer, Data Holder with Consent Client, CAS\n\n**Pre-condition:** Data holder has PHI for a patient. CAS has a valid, active Consent associated with that patient. \\[The rest is undefined: Data Holder may already have the Consent and know it is managed at this particular CAS, Data Holder may not know about the Consent or the CAS and discover it at the time the disclosure is requested.\\]\n\n**Narrative:**\n\n1. Data Holder is triggered to disclose PHI for the patient to the Data Consumer. This is unconstrained; it could be a request from the Consumer to the Holder, a push, etc.\n2. Data Holder determines a Consent managed at the CAS affects this disclosure decision.\n3. Optional: If needed, the Data Holder's Consent Client obtains the Consent from the CAS. This is unconstrained; it could be a read, search, etc. Execute the appropriate test cases.\n4. Data Holder uses the Consent to make a determination to disclose. This is unconstrained; the determination could be based on multiple factors of which the Consent is only one part.\n5. Data Holder discloses the PHI. This is the completion of whatever was started in step 1, e.g. a GET response.\n6. Verify information was disclosed.\n7. Data Holder's Consent Client records a disclosure at the CAS. Execute test case \"Operation: Record a Disclosure\".\n\n**Post-condition:**\n\n- The disclosure AuditEvent exists at the CAS."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Basic success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 62
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Use Case: Sign and File Consent**\n\n**Actors:** Consenter, Consent Client, CAS\n\n**Pre-condition:** A consent form has been reviewed and completed (see use case [Review Consent](https://build.fhir.org/ig/HL7/fhir-consent-management/usecases.html#review-consent)).\n\n**Narrative:**\n\n1. The consenter expresses their wish to sign and enact the consent \\[VERIFY: inspection\\]. The user experience provides a mechanism \\[VERIFY: inspection\\] to ensure the patient is making this decision in an informed way (and not by accident).\n2. A proper user experience enables the consenter to sign the consent form \\[VERIFY: inspection\\].\n3. Execute test case \"Operation: File a Consent\".\n4. The consenter can see the change in the status of the consent to become active \\[VERIFY: inspection\\].\n5. The consenter can review the finalized consent \\[VERIFY: inspection\\] and download a human-readable or print-friendly copy \\[VERIFY: inspection\\].\n\n**Post-condition:**\n\n- A signed consent form is retained for future review. \\[Q: Is this optional based on whether QR or DR were passed in?\\]\n- A computable consent resource is extracted based on the finalized consent form and is stored in the consent store FHIR server."
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Provisional" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Basic success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-structure-definitions-client-admin-service.html#requirement-477"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-structure-definitions-client-admin-service.html#requirement-595"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-structure-definitions-client-admin-service.html#requirement-597"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-structure-definitions-client-admin-service.html#requirement-599"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-structure-definitions-client-admin-service.html#requirement-601"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-structure-definitions-client-admin-service.html#requirement-598"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/narrativeLink"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:url ;
         fhir:v "https://build.fhir.org/ig/HL7/fhir-consent-management/Requirements-subscriptiontopic-fastconsentsubscriptiontopic-client-admin-ser.html#requirement-596"^^xsd:anyURI
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 63
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:markdown ;
           fhir:v "**Validate FHIR resources**\n\nThis is a base test case that will be added to all others.\n\n**Actors:** Any\n\n**Pre-condition:** None\n\n**Narrative:**\n\n1. Test tool or manual evaluator captures any message under test.\n2. Call the FHIR Validator on the top level resources in the message.\n\n**Post-condition:**\n\n- None"
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Required" ]
         ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:text [ fhir:v "Basic success" ]
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion"^^xsd:anyURI ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ]
  ] ) ; # 
  fhir:code [
     fhir:coding ( [
       fhir:system [ fhir:v "http://hl7.org/fhir/fhir-types"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "TestPlan" ]
     ] )
  ] . # 

# -------------------------------------------------------------------------------------

