fhir-consent-management-1.0.0-ballot-test-plan
type: Basic
node role: treeRoot
id:
  v: fhir-consent-management-1.0.0-ballot-test-plan
text:
  status:
    v: generated
  div:
    v: Generated Narrative: TestPlan fhir-consent-management-1.0.0-ballot-test-plan Contact: (HL7 International / Community Based Collaborative Care: http://www.hl7.org/Special/com...) Test Case Test Plan Dependency: Read a Consent Test a client and server to verify support for the Consent read interaction and the return of a valid Consent resource conforming to the FASTConsent profile. This scenario is generic and can be used with any FHIR format and query parameters. Actors: Consent Client, CAS Pre-condition: A Consent conforming to the FASTConsent profile exists at the CAS, and its ID is known. Narrative: Client sends a conformant read to CAS using the known ID. This is unconstrained, e.g. the "_format" parameter may be present. Verify the request is valid according to the linked requirements. [No requirements yet, but something like this: CAS verifies the request is valid.] CAS returns a conformant response containing the resource. Verify the response is valid according to the linked requirements, including that the Consent declares and conforms to the FASTConsent profile. Post-condition: None Test Run Language Source[x] FHIR TestScript - Touchstone profile https://touchstone.aegis.net/touchstone/testdefinitions?selectedTestGrp=/FHIRSandbox/FAST/Sandbox-FASTDevelopers/Joe-Lamy/FHIR4-0-1-Consent/Consent-1-0-0-ballot/01-Read-Simple-Search-All-SUT&activeOnly=false&contentEntry=TEST_SCRIPTS Assertion Type Content Result Required Basic success ?? ?? Test Case Test Plan Dependency: Search for a Consent Test a client and server to verify support for the Consent search interaction and the return of at least one valid Consent resource conforming to the FASTConsent profile. This scenario is generic and can be used with any FHIR format and query parameters. Actors: Consent Client, CAS Pre-condition: At least one Consent conforming to the FASTConsent profile exists at the CAS, and details about it sufficient to search are known. Narrative: Client sends a conformant search request …
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-wg
    l: structuredefinition-wg
  value: Code
    v: cbcc
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm
    l: structuredefinition-fmm
  value: Integer
    v: 1
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom
        l: structuredefinition-conformance-derivedFrom
      value: Canonical
        v: http://hl7.org/fhir/us/consent-management-tg/ImplementationGuide/hl7.fhir.us.consent-management-tg
        l: hl7.fhir.us.consent-management-tg
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status
    l: structuredefinition-standards-status
  value: Code
    v: trial-use
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom
        l: structuredefinition-conformance-derivedFrom
      value: Canonical
        v: http://hl7.org/fhir/us/consent-management-tg/ImplementationGuide/hl7.fhir.us.consent-management-tg
        l: hl7.fhir.us.consent-management-tg
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.url
    l: extension-TestPlan.url
  value: Uri
    v: http://hl7.org/fhir/us/consent-management-tg/TestPlan/fhir-consent-management-1.0.0-ballot-test-plan
    l: fhir-consent-management-1.0.0-ballot-test-plan
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.version
    l: extension-TestPlan.version
  value: String
    v: 1.0.0-ballot
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.name
    l: extension-TestPlan.name
  value: String
    v: fhir-consent-management-1.0.0-ballot-test-plan
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.title
    l: extension-TestPlan.title
  value: String
    v: Scalable Consent Management 1.0.0-ballot Test Plan
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.status
    l: extension-TestPlan.status
  value: Code
    v: active
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.experimental
    l: extension-TestPlan.experimental
  value: Boolean
    v: false
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.date
    l: extension-TestPlan.date
  value: DateTime
    v: 2026-03-31T11:13:24-04:00
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.publisher
    l: extension-TestPlan.publisher
  value: String
    v: HL7 International / Community Based Collaborative Care
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.contact
    l: extension-TestPlan.contact
  value: ContactDetail
    name:
      v: HL7 International / Community Based Collaborative Care
    telecom:
      system:
        v: url
      value:
        v: http://www.hl7.org/Special/committees/cbcc
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.description
    l: extension-TestPlan.description
  value: Markdown
    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.
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.jurisdiction
    l: extension-TestPlan.jurisdiction
  value: CodeableConcept
    coding:
      system:
        v: urn:iso:std:iso:3166
        l: 3166
      code:
        v: US
      display:
        v: United States of America
extension:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/narrativeLink
      l: narrativeLink
    value: Url
      v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-43
      l: requirement-43
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/narrativeLink
      l: narrativeLink
    value: Url
      v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-35
      l: requirement-35
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/narrativeLink
      l: narrativeLink
    value: Url
      v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-36
      l: requirement-36
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/narrativeLink
      l: narrativeLink
    value: Url
      v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-333
      l: requirement-333
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/narrativeLink
      l: narrativeLink
    value: Url
      v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-52
      l: requirement-52
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/narrativeLink
      l: narrativeLink
    value: Url
      v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-56
      l: requirement-56
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/narrativeLink
      l: narrativeLink
    value: Url
      v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-331
      l: requirement-331
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/narrativeLink
      l: narrativeLink
    value: Url
      v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-admin-service.html#requirement-1030
      l: requirement-1030
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/narrativeLink
      l: narrativeLink
    value: Url
      v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client.html#requirement-1031
      l: requirement-1031
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
      l: extension-TestPlan.testCase.sequence
    value: Integer
      v: 1
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
        l: extension-TestPlan.testCase.dependency.description
      value: Markdown
        v: **Read a Consent** Test a client and server to verify support for the Consent read interaction and the return of a valid Consent resource conforming to the FASTConsent profile. This scenario is generic and can be used with any FHIR format and query parameters. **Actors:** Consent Client, CAS **Pre-condition:** A Consent conforming to the FASTConsent profile exists at the CAS, and its ID is known. **Narrative:** 1. 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. 2. Verify the request is valid according to the linked requirements. 3. \[No requirements yet, but something like this: CAS verifies the request is valid.\] 4. CAS returns a conformant response containing the resource. 5. Verify the response is valid according to the linked requirements, including that the Consent declares and conforms to the FASTConsent profile. **Post-condition:** - None
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
      l: extension-TestPlan.testCase.dependency

extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
      l: extension-TestPlan.testCase.testRun.script.language
    value: CodeableConcept
      text:
        v: FHIR TestScript - Touchstone profile
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
      l: extension-TestPlan.testCase.testRun.script.sourceReference
    value: Reference
      l: https://touchstone.aegis.net/touchstone/testdefinitions
      reference:
        v: https://touchstone.aegis.net/touchstone/testdefinitions
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
    l: extension-TestPlan.testCase.testRun.script
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
  l: extension-TestPlan.testCase.testRun

extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
    l: extension-TestPlan.testCase.assertion.type
  value: CodeableConcept
    text:
      v: Required
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
    l: extension-TestPlan.testCase.assertion.type
  value: CodeableConcept
    text:
      v: Basic success
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
  l: extension-TestPlan.testCase.assertion

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-admin-service.html#requirement-63
    l: requirement-63
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-43
    l: requirement-43
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-35
    l: requirement-35
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-37
    l: requirement-37
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-333
    l: requirement-333
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-52
    l: requirement-52
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-57
    l: requirement-57
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-331
    l: requirement-331
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 2
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for a Consent** Test a client and server to verify support for the Consent search interaction and the return of at least one valid Consent resource conforming to the FASTConsent profile. This scenario is generic and can be used with any FHIR format and query parameters. **Actors:** Consent Client, CAS **Pre-condition:** At least one Consent conforming to the FASTConsent profile exists at the CAS, and details about it sufficient to search are known. **Narrative:** 1. 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. 2. Verify the request is valid according to the linked requirements. 3. \[No requirements yet, but something like this: CAS verifies the request is valid.\] 4. CAS returns a conformant response containing the matching resource(s). 5. Verify the response is valid according to the linked requirements. 6. Verify that at least one Consent resource is returned, and that each returned Consent declares and conforms to the FASTConsent profile. **Post-condition:** - None
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Basic success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-admin-service.html#requirement-364
    l: requirement-364
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-199
    l: requirement-199
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-58
    l: requirement-58
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-search-parameters-client-admin-service.html#requirement-472
    l: requirement-472
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 3
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for Consent by FASTConsentController - JSON** This test case extends test case "Search for a Consent". **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. - In step 1, the client includes the FASTConsentController criteria and requests JSON. - In step 6, verify that only matching Consent resources are returned. - In all steps, evaluate FHIR content as JSON.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-admin-service.html#requirement-364
    l: requirement-364
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-199
    l: requirement-199
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-58
    l: requirement-58
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-search-parameters-client-admin-service.html#requirement-472
    l: requirement-472
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 4
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for Consent by FASTConsentController - XML** This test case extends test case "Search for a Consent". **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. - In step 1, the client includes the FASTConsentController criteria and requests XML. - In step 6, verify that only matching Consent resources are returned. - In all steps, evaluate FHIR content as XML.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-admin-service.html#requirement-365
    l: requirement-365
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-72
    l: requirement-72
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-369
    l: requirement-369
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 5
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for Consent by date - JSON** This test case extends test case "Search for a Consent". **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. - In step 1, the client includes the date criteria and requests JSON. - In step 6, verify that only matching Consent resources are returned. - In all steps, evaluate FHIR content as JSON.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-admin-service.html#requirement-365
    l: requirement-365
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-72
    l: requirement-72
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-369
    l: requirement-369
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 6
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for Consent by date - XML** This test case extends test case "Search for a Consent". **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. - In step 1, the client includes the date criteria and requests XML. - In step 6, verify that only matching Consent resources are returned. - In all steps, evaluate FHIR content as XML.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-38
    l: requirement-38
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-370
    l: requirement-370
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-search-parameters-client-admin-service.html#requirement-473
    l: requirement-473
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 7
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for Consent by FASTConsentGrantee - JSON** This test case extends test case "Search for a Consent". **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. - In step 1, the client includes the FASTConsentGrantee criteria and requests JSON. - In step 6, verify that only matching Consent resources are returned. - In all steps, evaluate FHIR content as JSON.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-38
    l: requirement-38
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-370
    l: requirement-370
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-search-parameters-client-admin-service.html#requirement-473
    l: requirement-473
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 8
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for Consent by FASTConsentGrantee - XML** This test case extends test case "Search for a Consent". **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. - In step 1, the client includes the FASTConsentGrantee criteria and requests XML. - In step 6, verify that only matching Consent resources are returned. - In all steps, evaluate FHIR content as XML.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-admin-service.html#requirement-367
    l: requirement-367
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-200
    l: requirement-200
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-371
    l: requirement-371
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-search-parameters-client-admin-service.html#requirement-474
    l: requirement-474
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 9
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for Consent by FASTConsentManager - JSON** This test case extends test case "Search for a Consent". **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. - In step 1, the client includes the FASTConsentManager criteria and requests JSON. - In step 6, verify that only matching Consent resources are returned. - In all steps, evaluate FHIR content as JSON.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-admin-service.html#requirement-367
    l: requirement-367
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-200
    l: requirement-200
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-371
    l: requirement-371
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-search-parameters-client-admin-service.html#requirement-474
    l: requirement-474
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 10
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for Consent by FASTConsentManager - XML** This test case extends test case "Search for a Consent". **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. - In step 1, the client includes the FASTConsentManager criteria and requests XML. - In step 6, verify that only matching Consent resources are returned. - In all steps, evaluate FHIR content as XML.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-39
    l: requirement-39
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-59
    l: requirement-59
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-search-parameters-client-admin-service.html#requirement-475
    l: requirement-475
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 11
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for Consent by FASTConsentOrganizationId - JSON** This test case extends test case "Search for a Consent". **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. - In step 1, the client includes the FASTConsentOrganizationId criteria and requests JSON. - In step 6, verify that only matching Consent resources are returned. - In all steps, evaluate FHIR content as JSON.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-39
    l: requirement-39
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-59
    l: requirement-59
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-search-parameters-client-admin-service.html#requirement-475
    l: requirement-475
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 12
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for Consent by FASTConsentOrganizationId - XML** This test case extends test case "Search for a Consent". **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. - In step 1, the client includes the FASTConsentOrganizationId criteria and requests XML. - In step 6, verify that only matching Consent resources are returned. - In all steps, evaluate FHIR content as XML.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-admin-service.html#requirement-71
    l: requirement-71
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-40
    l: requirement-40
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-60
    l: requirement-60
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-admin-service.html#requirement-1028
    l: requirement-1028
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client.html#requirement-1029
    l: requirement-1029
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 13
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for Consent by patient - JSON** This test case extends test case "Search for a Consent". **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. - In step 1, the client includes the patient criteria and requests JSON. - In step 6, verify that only matching Consent resources are returned. - In all steps, evaluate FHIR content as JSON.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-admin-service.html#requirement-71
    l: requirement-71
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-40
    l: requirement-40
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-60
    l: requirement-60
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-admin-service.html#requirement-1028
    l: requirement-1028
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client.html#requirement-1029
    l: requirement-1029
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 14
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for Consent by patient - XML** This test case extends test case "Search for a Consent". **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. - In step 1, the client includes the patient criteria and requests XML. - In step 6, verify that only matching Consent resources are returned. - In all steps, evaluate FHIR content as XML.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-368
    l: requirement-368
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-372
    l: requirement-372
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-search-parameters-client-admin-service.html#requirement-476
    l: requirement-476
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 15
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for Consent by FASTConsentPatientId - JSON** This test case extends test case "Search for a Consent". **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. - In step 1, the client includes the FASTConsentPatientId criteria and requests JSON. - In step 6, verify that only matching Consent resources are returned. - In all steps, evaluate FHIR content as JSON.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-368
    l: requirement-368
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-372
    l: requirement-372
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-search-parameters-client-admin-service.html#requirement-476
    l: requirement-476
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 16
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for Consent by FASTConsentPatientId - XML** This test case extends test case "Search for a Consent". **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. - In step 1, the client includes the FASTConsentPatientId criteria and requests XML. - In step 6, verify that only matching Consent resources are returned. - In all steps, evaluate FHIR content as XML.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-admin-service.html#requirement-201
    l: requirement-201
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-42
    l: requirement-42
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-47
    l: requirement-47
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 17
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for Consent by scope - JSON** This test case extends test case "Search for a Consent". **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. - In step 1, the client includes the scope criteria and requests JSON. - In step 6, verify that only matching Consent resources are returned. - In all steps, evaluate FHIR content as JSON.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-admin-service.html#requirement-201
    l: requirement-201
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-42
    l: requirement-42
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-47
    l: requirement-47
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 18
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for Consent by scope - XML** This test case extends test case "Search for a Consent". **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. - In step 1, the client includes the scope criteria and requests XML. - In step 6, verify that only matching Consent resources are returned. - In all steps, evaluate FHIR content as XML.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-admin-service.html#requirement-73
    l: requirement-73
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-41
    l: requirement-41
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-61
    l: requirement-61
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 19
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for Consent by status - JSON** This test case extends test case "Search for a Consent". **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. - In step 1, the client includes the status criteria and requests JSON. - In step 6, verify that only matching Consent resources are returned. - In all steps, evaluate FHIR content as JSON.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-admin-service.html#requirement-73
    l: requirement-73
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-41
    l: requirement-41
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-61
    l: requirement-61
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 20
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for Consent by status - XML** This test case extends test case "Search for a Consent". **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. - In step 1, the client includes the status criteria and requests XML. - In step 6, verify that only matching Consent resources are returned. - In all steps, evaluate FHIR content as XML.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-331
    l: requirement-331
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-332
    l: requirement-332
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 21
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for Consent by FASTConsent profile - JSON** This test case extends test case "Search for a Consent". **Pre-condition:** At least one Consent declaring the FASTConsent profile and at least one Consent not declaring it exist at the CAS. - In step 1, the client includes the FASTConsent profile criteria and requests JSON. - In step 6, verify that only matching Consent resources are returned. - In all steps, evaluate FHIR content as JSON.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Conditional
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-331
    l: requirement-331
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-332
    l: requirement-332
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 22
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for Consent by FASTConsent profile - XML** This test case extends test case "Search for a Consent". **Pre-condition:** At least one Consent declaring the FASTConsent profile and at least one Consent not declaring it exist at the CAS. - In step 1, the client includes the FASTConsent profile criteria and requests XML. - In step 6, verify that only matching Consent resources are returned. - In all steps, evaluate FHIR content as XML.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-admin-service.html#requirement-1024
    l: requirement-1024
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client.html#requirement-1025
    l: requirement-1025
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 23
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for Consent by \_id - JSON** This test case extends test case "Search for a Consent". **Pre-condition:** id of a Consent is known. - In step 1, the client includes the id and requests JSON. - In step 6, verify that only the matching Consent resource is returned. - In all steps, evaluate FHIR content as JSON.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-admin-service.html#requirement-1024
    l: requirement-1024
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client.html#requirement-1025
    l: requirement-1025
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 24
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for Consent by \_id - XML** This test case extends test case "Search for a Consent". **Pre-condition:** id of a Consent is known. - In step 1, the client includes the id and requests XML. - In step 6, verify that only the matching Consent resource is returned. - In all steps, evaluate FHIR content as XML.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-admin-service.html#requirement-1026
    l: requirement-1026
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client.html#requirement-1027
    l: requirement-1027
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 25
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for Consent by identifier - JSON** This test case extends test case "Search for a Consent". **Pre-condition:** identifier of a Consent is known. - In step 1, the client includes the identifier and requests JSON. - In step 6, verify that only the matching Consent resource is returned. - In all steps, evaluate FHIR content as JSON.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-admin-service.html#requirement-1026
    l: requirement-1026
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client.html#requirement-1027
    l: requirement-1027
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 26
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for Consent by identifier - XML** This test case extends test case "Search for a Consent". **Pre-condition:** identifier of a Consent is known. - In step 1, the client includes the identifier and requests XML. - In step 6, verify that only the matching Consent resource is returned. - In all steps, evaluate FHIR content as XML.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-admin-service.html#requirement-1032
    l: requirement-1032
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client.html#requirement-1033
    l: requirement-1033
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 27
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for Consent by patient and status - JSON** This test case extends test case "Search for a Consent". **Pre-condition:** patient and status details are known by which at least one Consent would match and at least one Consent would not match at the CAS. - In step 1, the client includes the patient and status criteria and requests JSON. - In step 6, verify that only matching Consent resources are returned. - In all steps, evaluate FHIR content as JSON.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-admin-service.html#requirement-1032
    l: requirement-1032
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client.html#requirement-1033
    l: requirement-1033
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 28
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for Consent by patient and status - XML** This test case extends test case "Search for a Consent". **Pre-condition:** patient and status details are known by which at least one Consent would match and at least one Consent would not match at the CAS. - In step 1, the client includes the patient and status criteria and requests XML. - In step 6, verify that only matching Consent resources are returned. - In all steps, evaluate FHIR content as XML.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-admin-service.html#requirement-1034
    l: requirement-1034
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client.html#requirement-1035
    l: requirement-1035
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 29
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for Consent by patient and date - JSON** This test case extends test case "Search for a Consent". **Pre-condition:** patient and date details are known by which at least one Consent would match and at least one Consent would not match at the CAS. - In step 1, the client includes the patient and date criteria and requests JSON. - In step 6, verify that only matching Consent resources are returned. - In all steps, evaluate FHIR content as JSON.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-admin-service.html#requirement-1034
    l: requirement-1034
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client.html#requirement-1035
    l: requirement-1035
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 30
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for Consent by patient and date - JSON** This test case extends test case "Search for a Consent". **Pre-condition:** patient and date details are known by which at least one Consent would match and at least one Consent would not match at the CAS. - In step 1, the client includes the patient and date criteria and requests JSON. - In step 6, verify that only matching Consent resources are returned. - In all steps, evaluate FHIR content as JSON.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-397
    l: requirement-397
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-398
    l: requirement-398
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-404
    l: requirement-404
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-401
    l: requirement-401
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-402
    l: requirement-402
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-405
    l: requirement-405
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-399
    l: requirement-399
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 31
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Read an AuditEvent** Test a client and server to verify support for the AuditEvent read interaction and the return of a valid AuditEvent resource conforming to the FASTConsentAuditEvent profile. This scenario is generic and can be used with any FHIR format and query parameters. **Actors:** Consent Client, CAS **Pre-condition:** An AuditEvent conforming to the FASTConsentAuditEvent profile exists at the CAS, and its ID is known. **Narrative:** 1. 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. 2. Verify the request is valid according to the linked requirements. 3. \[No requirements yet, but something like this: CAS verifies the request is valid.\] 4. CAS returns a conformant response containing the resource. 5. Verify the response is valid according to the linked requirements, including that the AuditEvent declares and conforms to the FASTConsentAuditEvent profile. **Post-condition:** - None
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Basic success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-admin-service.html#requirement-407
    l: requirement-407
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-397
    l: requirement-397
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-398
    l: requirement-398
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-406
    l: requirement-406
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-401
    l: requirement-401
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-402
    l: requirement-402
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-408
    l: requirement-408
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-399
    l: requirement-399
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 32
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for** **an AuditEvent** Test a client and server to verify support for the AuditEvent search interaction and the return of at least one valid AuditEvent resource conforming to the FASTConsentAuditEvent profile. This scenario is generic and can be used with any FHIR format and query parameters. **Actors:** Consent Client, CAS **Pre-condition:** At least one AuditEvent conforming to the FASTConsentAuditEvent profile exists at the CAS, and details about it sufficient to search are known. **Narrative:** 1. 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. 2. Verify the request is valid according to the linked requirements. 3. \[No requirements yet, but something like this: CAS verifies the request is valid.\] 4. CAS returns a conformant response containing the matching resource(s). 5. Verify the response is valid according to the linked requirements. 6. Verify that at least one AuditEvent resource is returned, and that each returned AuditEvent declares and conforms to the FASTConsentAuditEvent profile. **Post-condition:** - None
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Basic success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-admin-service.html#requirement-266
    l: requirement-266
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-client.html#requirement-267
    l: requirement-267
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-409
    l: requirement-409
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-411
    l: requirement-411
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-search-parameters-client-admin-service.html#requirement-471
    l: requirement-471
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 33
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for AuditEvent by FASTAuditEventConsent - JSON** This test case extends test case "Search for an AuditEvent". **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. - In step 1, the client includes the FASTAuditEventConsent criteria and requests JSON. - In step 6, verify that only matching AuditEvent resources are returned. - In all steps, evaluate FHIR content as JSON.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-admin-service.html#requirement-266
    l: requirement-266
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-client.html#requirement-267
    l: requirement-267
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-409
    l: requirement-409
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-411
    l: requirement-411
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-search-parameters-client-admin-service.html#requirement-471
    l: requirement-471
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 34
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for** **AuditEvent by FASTAuditEventConsent - XML** This test case extends test case "Search for an AuditEvent". **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. - In step 1, the client includes the FASTAuditEventConsent criteria and requests XML. - In step 6, verify that only matching AuditEvent resources are returned. - In all steps, evaluate FHIR content as XML.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-admin-service.html#requirement-298
    l: requirement-298
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-client.html#requirement-299
    l: requirement-299
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-412
    l: requirement-412
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-414
    l: requirement-414
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 35
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for AuditEvent by patient - JSON** This test case extends test case "Search for an AuditEvent". **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. - In step 1, the client includes the patient criteria and requests JSON. - In step 6, verify that only matching AuditEvent resources are returned. - In all steps, evaluate FHIR content as JSON.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-admin-service.html#requirement-298
    l: requirement-298
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-client.html#requirement-299
    l: requirement-299
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-412
    l: requirement-412
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-414
    l: requirement-414
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 36
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for** **AuditEvent by patient - XML** This test case extends test case "Search for an AuditEvent". **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. - In step 1, the client includes the patient criteria and requests XML. - In step 6, verify that only matching AuditEvent resources are returned. - In all steps, evaluate FHIR content as XML.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-400
    l: requirement-400
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-399
    l: requirement-399
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 37
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for AuditEvent by FASTConsentAuditEvent profile - JSON** This test case extends test case "Search for an AuditEvent". **Pre-condition:** At least one AuditEvent declaring the FASTConsentAuditEvent profile and at least one AuditEvent not declaring it exist at the CAS. - In step 1, the client includes the FASTConsentAuditEvent profile criteria and requests JSON. - In step 6, verify that only matching AuditEvent resources are returned. - In all steps, evaluate FHIR content as JSON.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Conditional
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-400
    l: requirement-400
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-399
    l: requirement-399
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 38
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Search for AuditEvent by FASTConsentAuditEvent profile - XML** This test case extends test case "Search for an AuditEvent". **Pre-condition:** At least one AuditEvent declaring the FASTConsentAuditEvent profile and at least one AuditEvent not declaring it exist at the CAS. - In step 1, the client includes the FASTConsentAuditEvent profile criteria and requests XML. - In step 6, verify that only matching AuditEvent resources are returned. - In all steps, evaluate FHIR content as XML.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-admin-service.html#requirement-64
    l: requirement-64
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-377
    l: requirement-377
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-661
    l: requirement-661
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-959
    l: requirement-959
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-381
    l: requirement-381
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-991
    l: requirement-991
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-962
    l: requirement-962
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-960
    l: requirement-960
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-514
    l: requirement-514
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-components-admin-service.html#requirement-565
    l: requirement-565
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-conformance-admin-service.html#requirement-496
    l: requirement-496
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-conformance-admin-service.html#requirement-567
    l: requirement-567
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-conformance-admin-service.html#requirement-513
    l: requirement-513
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-conformance-client-admin-service.html#requirement-537
    l: requirement-537
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-505
    l: requirement-505
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-517
    l: requirement-517
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 39
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Read a Subscription** Test a client and server to verify support for the Subscription read interaction and the return of a valid Subscription resource conforming to the FASTSubscription profile. This scenario is generic and can be used with any FHIR format and query parameters. **Actors:** Consent Client, CAS **Pre-condition:** A Subscription conforming to the FASTSubscription profile exists at the CAS, and its ID is known. **Narrative:** 1. 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. 2. Verify the request is valid according to the linked requirements. 3. \[No requirements yet, but something like this: CAS verifies the request is valid.\] 4. CAS returns a conformant response containing the resource. 5. Verify the response is valid according to the linked requirements, including that the Consent declares and conforms to the FASTSubscription profile. **Post-condition:** - None
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Basic success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-admin-service.html#requirement-69
    l: requirement-69
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-admin-service.html#requirement-62
    l: requirement-62
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-admin-service.html#requirement-727
    l: requirement-727
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-35
    l: requirement-35
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-46
    l: requirement-46
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-52
    l: requirement-52
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-53
    l: requirement-53
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-334
    l: requirement-334
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-extended-operations-client-admin-service.html#requirement-463
    l: requirement-463
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-extended-operations-client-admin-service.html#requirement-133
    l: requirement-133
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-extended-operations-client-admin-service.html#requirement-134
    l: requirement-134
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-extended-operations-client-admin-service.html#requirement-135
    l: requirement-135
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-extended-operations-client-admin-service.html#requirement-166
    l: requirement-166
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-extended-operations-client-admin-service.html#requirement-168
    l: requirement-168
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client-admin-service.html#requirement-464
    l: requirement-464
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client-admin-service.html#requirement-70
    l: requirement-70
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client-admin-service.html#requirement-430
    l: requirement-430
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 40
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Operation: File a Consent** **Actors:** Consent Client, CAS **Pre-condition:** None **Narrative:** 1. Client POSTs to CAS: \[base\]/Consent/$fileConsent \[unconstrained, e.g. the "document" parameter may be either flavor\]. 2. Verify input parameters are valid according to linked requirements. 3. Tester: Since the $fileConsent response does not identify the new Consent, retain the identifier from the $fileConsent request. 4. \[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.\] 5. CAS returns a response. 6. Verify response is valid according to linked requirements. 7. Search for the Consent by the identifier saved from the $fileConsent request. 8. Verify the Consent is found and has status "active". **Post-condition:** - \[No requirements yet, but something like this: The Consent and related resources are persisted and available at the CAS.\]
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Basic success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-admin-service.html#requirement-69
    l: requirement-69
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-admin-service.html#requirement-101
    l: requirement-101
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-admin-service.html#requirement-634
    l: requirement-634
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-admin-service.html#requirement-760
    l: requirement-760
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-35
    l: requirement-35
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-374
    l: requirement-374
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-52
    l: requirement-52
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-376
    l: requirement-376
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-334
    l: requirement-334
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-extended-operations-client-admin-service.html#requirement-466
    l: requirement-466
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-extended-operations-client-admin-service.html#requirement-438
    l: requirement-438
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-extended-operations-client-admin-service.html#requirement-439
    l: requirement-439
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-extended-operations-client-admin-service.html#requirement-440
    l: requirement-440
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-extended-operations-client-admin-service.html#requirement-447
    l: requirement-447
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-extended-operations-client-admin-service.html#requirement-442
    l: requirement-442
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-extended-operations-client-admin-service.html#requirement-444
    l: requirement-444
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client-admin-service.html#requirement-469
    l: requirement-469
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client-admin-service.html#requirement-441
    l: requirement-441
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client-admin-service.html#requirement-448
    l: requirement-448
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client-admin-service.html#requirement-443
    l: requirement-443
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 41
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Operation: Revoke a Consent** **Actors:** Consent Client, CAS **Pre-condition:** None **Narrative:** 1. Client POSTs to CAS: \[base\]/Consent/$revokeConsent \[unconstrained, e.g. the "document" parameter may be either flavor\]. 2. Verify input parameters are valid according to linked requirements. 3. Tester: Since the $revokeConsent response does not identify the revoked Consent, retain the identifier from the $revokeConsent request. 4. \[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.\] 5. CAS returns a response. 6. Verify response is valid according to linked requirements. 7. Search for the Consent by the identifier saved from the $revokeConsent request. 8. Verify the Consent is found and has status "inactive". **Post-condition:** - \[No requirements yet, but something like this: The revoked Consent and related resources are persisted and available at the CAS.\]
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Basic success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-admin-service.html#requirement-69
    l: requirement-69
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-398
    l: requirement-398
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-415
    l: requirement-415
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-402
    l: requirement-402
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-416
    l: requirement-416
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-52
    l: requirement-52
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-334
    l: requirement-334
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-403
    l: requirement-403
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-extended-operations-client-admin-service.html#requirement-467
    l: requirement-467
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-extended-operations-client-admin-service.html#requirement-445
    l: requirement-445
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-extended-operations-client-admin-service.html#requirement-446
    l: requirement-446
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-extended-operations-client-admin-service.html#requirement-451
    l: requirement-451
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-extended-operations-client-admin-service.html#requirement-449
    l: requirement-449
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-extended-operations-client-admin-service.html#requirement-453
    l: requirement-453
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client-admin-service.html#requirement-470
    l: requirement-470
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client-admin-service.html#requirement-452
    l: requirement-452
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client-admin-service.html#requirement-450
    l: requirement-450
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 42
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Operation: Record a Disclosure** **Actors:** Consent Client, CAS **Pre-condition:** None **Narrative:** 1. Client POSTs to CAS: \[base\]/AuditEvent/$recordDisclosure \[unconstrained\]. 2. Verify input parameters are valid according to linked requirements. 3. \[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.\] 4. CAS returns a response. 5. Verify response is valid according to linked requirements. **Post-condition:** - \[No requirements yet, but something like this: The AuditEvent and related resources are persisted and available at the CAS.\]
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Basic success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-conformance-admin-service.html#requirement-498
    l: requirement-498
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-conformance-client.html#requirement-564
    l: requirement-564
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-508
    l: requirement-508
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 43
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Operation: Get Subscription Status** **Actors:** Consent Client, CAS **Pre-condition:** A Subscription exists on the CAS. **Narrative:** 1. Client POSTs to CAS: \[base\]/Subscription/\[id\]/$status. 2. Verify input parameters are valid according to linked requirements. 3. CAS returns a response. 4. Verify response is valid according to linked requirements. **Post-condition:** - None
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Conditional
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Basic success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

v: FHIR TestScript - Touchstone profile

url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
  l: extension-TestPlan.testCase.sequence
value: Integer
  v: 44

extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
    l: extension-TestPlan.testCase.dependency.description
  value: Markdown
    v: **Obtain server CapabilityStatement** **Actors:** Consent client, CAS **Pre-condition:** None **Narrative:** 1. Client sends a metadata request to the CAS, requesting the FHIR 4.0 CS by using the fhirVersion Accept header. 2. Verify the request is valid according to the linked requirements. 3. \[No requirements yet, but something like this: CAS verifies the request is valid.\] 4. CAS returns a conformant response containing the system CapabilityStatement. 5. Verify the response is valid according to the linked requirements. 6. Verify the CapabilityStatement includes the normative aspects defined in the ConsentAdministrativeServer CapabilityStatement. Additional aspects are permitted but will not be evaluated. **Post-condition:** - None
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
  l: extension-TestPlan.testCase.dependency

extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
      l: extension-TestPlan.testCase.testRun.script.language
    value: CodeableConcept
      text:
        v: FHIR TestScript - Touchstone profile
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
      l: extension-TestPlan.testCase.testRun.script.sourceReference
    value: Reference
      l: https://touchstone.aegis.net/touchstone/testdefinitions
      reference:
        v: https://touchstone.aegis.net/touchstone/testdefinitions
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
    l: extension-TestPlan.testCase.testRun.script
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
  l: extension-TestPlan.testCase.testRun

extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
    l: extension-TestPlan.testCase.assertion.type
  value: CodeableConcept
    text:
      v: Required
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
    l: extension-TestPlan.testCase.assertion.type
  value: CodeableConcept
    text:
      v: Basic success
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
  l: extension-TestPlan.testCase.assertion

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-2
    l: requirement-2
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 45
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Obtain server CapabilityStatement - JSON** This test case extends test case "Obtain server CapabilityStatement". - In step 1, the client requests JSON. - In step 5, verify the CapabilityStatement is JSON. - In all steps, evaluate FHIR content as JSON.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Basic success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-34
    l: requirement-34
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 46
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Obtain server CapabilityStatement - XML** This test case extends test case "Obtain server CapabilityStatement". - In step 1, the client requests XML. - In step 5, verify the CapabilityStatement is XML. - In all steps, evaluate FHIR content as XML.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Basic success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 47
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Obtain and handle conformant variations of server CapabilityStatement** This tests the ability of a client to handle legal variants of CSs. **Actors:** Consent Client, Simulated CAS **Pre-condition:** None **Narrative:** 1. Client sends a metadata request to the CAS. \[unconstrained; may or may not use the fhirVersion Accept header\] 2. Verify the request is valid according to the linked requirements. 3. \[No requirements yet, but something like this: CAS verifies the request is valid.\] 4. CAS returns a conformant response containing the system CapabilityStatement. 5. Verify the response is valid according to the linked requirements. 6. Verify the CapabilityStatement includes the normative aspects defined in the ConsentAdministrativeServer CapabilityStatement. Additional aspects are permitted but will not be evaluated. **Post-condition:** - The client should be able to communicate with this server per the workflows in this IG.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Provisional
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 48
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Obtain and handle STU3 version server CapabilityStatement** This tests the ability of a client to handle an STU3 CS. **Actors:** Consent Client, Simulated CAS **Pre-condition:** None **Narrative:** 1. Client sends a metadata request to the CAS without the fhirVersion Accept header. 2. Verify the request is valid according to the linked requirements. 3. CAS returns a conformant response containing an STU3 system CapabilityStatement. 4. Verify the client detects the version mismatch and resolves somehow, e.g. notifies the user, retries the request including the fhirVersion Accept header, etc. **Post-condition:** - None (yet)
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Conditional
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
  l: extension-TestPlan.testCase.sequence
value: Integer
  v: 49

extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
    l: extension-TestPlan.testCase.dependency.description
  value: Markdown
    v: **Test client CapabilityStatement** **Actors:** Consent client **Pre-condition:** None **Narrative:** 1. Obtain the client CapabilityStatement. 2. Verify the CapabilityStatement includes the normative aspects defined in the ConsentClient CapabilityStatement. Additional aspects are permitted but will not be evaluated. **Post-condition:** - None
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
  l: extension-TestPlan.testCase.dependency

extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
    l: extension-TestPlan.testCase.assertion.type
  value: CodeableConcept
    text:
      v: Conditional
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
    l: extension-TestPlan.testCase.assertion.type
  value: CodeableConcept
    text:
      v: Basic success
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
  l: extension-TestPlan.testCase.assertion

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-49
    l: requirement-49
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 50
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Test client CapabilityStatement - JSON** This test case extends test case "Test client CapabilityStatement". - In step 1, obtain the JSON CapabilityStatement. - In step 2, evaluate FHIR content as JSON.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Conditional
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Basic success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-50
    l: requirement-50
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 51
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Test client CapabilityStatement - XML** This test case extends test case "Test client CapabilityStatement". - In step 1, obtain the XML CapabilityStatement. - In step 2, evaluate FHIR content as XML.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Conditional
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Basic success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-client.html#requirement-167
    l: requirement-167
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-331
    l: requirement-331
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 52
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Workflow: Utilize Consent For Disclosure** This is a wide-open workflow that can be used as the base for many variations. **Actors:** Data Consumer, Data Holder with Consent Client, CAS **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.\] **Narrative:** 1. 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. 2. Data Holder determines a Consent managed at the CAS affects this disclosure decision. 3. 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. 4. 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. 5. Data Holder discloses the PHI. This is the completion of whatever was started in step 1, e.g. a GET response. 6. Verify information was disclosed. 7. Data Holder's Consent Client records a disclosure at the CAS. Execute test case "Operation: Record a Disclosure". **Post-condition:** - The disclosure AuditEvent exists at the CAS.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Basic success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
  l: extension-TestPlan.testCase.sequence
value: Integer
  v: 53

extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
    l: extension-TestPlan.testCase.dependency.description
  value: Markdown
    v: **Create a subscription - rest-hook** This is a wide-open test case that can be used as the base for many variations. **Actors:** Consent Client, CAS, Notification Endpoint **Pre-condition:** Consent Client has prepared its Notification Endpoint to receive notifications. **Narrative:** 1. Client POSTs a conformant Subscription to the CAS. \[note no requirement for it to be FASTSubscription\] 2. Verify the request is valid according to the linked requirements. 3. CAS verifies the request is valid. 4. CAS returns a conformant response indicating the new Subscription location and optionally the resource in the body. 5. Verify the response is valid according to the linked requirements. 6. 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". 7. Optional: Consent Client GETs the new Subscription to confirm it is active. Execute test case "Read a Subscription". 8. Optional: Consent Client executes $status against the new Subscription to confirm it is active. Execute test case "Operation: Get Subscription Status". **Post-condition:** - The new Subscription exists at the CAS.
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
  l: extension-TestPlan.testCase.dependency

extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
      l: extension-TestPlan.testCase.testRun.script.language
    value: CodeableConcept
      text:
        v: FHIR TestScript - Touchstone profile
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
      l: extension-TestPlan.testCase.testRun.script.sourceReference
    value: Reference
      l: https://touchstone.aegis.net/touchstone/testdefinitions
      reference:
        v: https://touchstone.aegis.net/touchstone/testdefinitions
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
    l: extension-TestPlan.testCase.testRun.script
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
  l: extension-TestPlan.testCase.testRun

extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
    l: extension-TestPlan.testCase.assertion.type
  value: CodeableConcept
    text:
      v: Required
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
    l: extension-TestPlan.testCase.assertion.type
  value: CodeableConcept
    text:
      v: Basic success
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
  l: extension-TestPlan.testCase.assertion

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-503
    l: requirement-503
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 54
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Create a subscription - rest-hook PUT** This test case extends test case "Create a subscription - rest-hook". - In step 1, Consent Client PUTs a conformant Subscription to the CAS. - In step 2, verify the resource id passed in was used.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Conditional
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-conformance-admin-service.html#requirement-507
    l: requirement-507
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 55
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Error: Create a Subscription - rest-hook - unsupported backport-channel-type** **Actors:** Consent Client, CAS **Pre-condition:** None **Narrative:** 1. Consent Client POSTs a Subscription to the CAS using the backport-channel-type extension with a nonsense value. 2. CAS returns a conformant response indicating the Subscription request was rejected. 3. Verify the response is valid according to the linked requirements. **Post-condition:** The Subscription has not been created at the CAS.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Error
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-conformance-admin-service.html#requirement-531
    l: requirement-531
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 56
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Error: Create a Subscription - rest-hook - unsupported filter** **Actors:** Consent Client, CAS **Pre-condition:** None **Narrative:** 1. Consent Client POSTs a Subscription to the CAS using a filter with a nonsense value. 2. CAS returns a conformant response indicating the Subscription request was rejected. 3. Verify the response is valid according to the linked requirements. **Post-condition:** The Subscription has not been created at the CAS.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Error
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 57
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Error: Create a Subscription - rest-hook - unsupported content level** **Actors:** Consent Client, CAS **Pre-condition:** None **Narrative:** 1. Consent Client POSTs a Subscription to the CAS using a content level the server does not support. 2. CAS returns a conformant response indicating the Subscription request was rejected. 3. Verify the response is valid according to the linked requirements. **Post-condition:** The Subscription has not been created at the CAS.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Conditional
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Error
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-conformance-admin-service.html#requirement-539
    l: requirement-539
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 58
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Error: Create a Subscription - rest-hook - unsupported topic** **Actors:** Consent Client, CAS **Pre-condition:** None **Narrative:** 1. Consent Client POSTs a Subscription to the CAS using a nonsense topic. 2. CAS returns a conformant response indicating the Subscription request was rejected. 3. Verify the response is valid according to the linked requirements. **Post-condition:** The Subscription has not been created at the CAS.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Error
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-959
    l: requirement-959
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-379
    l: requirement-379
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-991
    l: requirement-991
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-962
    l: requirement-962
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-383
    l: requirement-383
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-960
    l: requirement-960
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-958
    l: requirement-958
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-509
    l: requirement-509
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 59
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Update a Subscription - rest-hook** This is a wide-open test case that can be used as the base for many variations. **Actors:** Consent Client, CAS, Notification Endpoint **Pre-condition:** Consent Client has an existing Subscription at the CAS. **Narrative:** 1. Client PUTs an updated, conformant Subscription to the CAS. \[note no requirement for it to be FASTSubscription\] 2. Verify the request is valid according to the linked requirements. 3. CAS verifies the request is valid. 4. CAS returns a conformant response indicating the new Subscription location and optionally the resource in the body. 5. Verify the response is valid according to the linked requirements. 6. 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". 7. Optional: Consent Client GETs the new Subscription to confirm it is active. Execute test case "Read a Subscription". 8. Optional: Consent Client executes $status against the new Subscription to confirm it is active. Execute test case "Operation: Get Subscription Status". **Post-condition:** - The updated Subscription exists at the CAS.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Basic success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-509
    l: requirement-509
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 60
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Update a Subscription - rest-hook PATCH** This test case extends test case "Update a Subscription - rest-hook". - In step 1, Consent Client PATCHs an updated, conformant Subscription to the CAS. - At the end of the test case, verify the resource was updated appropriately.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Conditional
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-admin-service.html#requirement-64
    l: requirement-64
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-client.html#requirement-265
    l: requirement-265
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-377
    l: requirement-377
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-381
    l: requirement-381
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-331
    l: requirement-331
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-components-admin-service.html#requirement-565
    l: requirement-565
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-conformance-admin-service.html#requirement-500
    l: requirement-500
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-conformance-admin-service.html#requirement-567
    l: requirement-567
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-conformance-admin-service.html#requirement-506
    l: requirement-506
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-conformance-admin-service.html#requirement-529
    l: requirement-529
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-conformance-admin-service.html#requirement-530
    l: requirement-530
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-conformance-admin-service.html#requirement-534
    l: requirement-534
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-conformance-admin-service.html#requirement-925
    l: requirement-925
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-conformance-client-admin-service.html#requirement-562
    l: requirement-562
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-conformance-admin-service.html#requirement-563
    l: requirement-563
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-conformance-client.html#requirement-564
    l: requirement-564
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client-admin-service.html#requirement-892
    l: requirement-892
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client-admin-service.html#requirement-893
    l: requirement-893
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 61
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Notify for a Subscription** **- rest-hook** This is a wide-open test case that can be used as the base for many variations. Each variation needs to specify what the trigger in step 1 is. **Actors:** Consent Client, CAS, Notification Endpoint **Pre-condition:** Consent Client has successfully made a Subscription at the CAS, with the rest-hook channel type. **Narrative:** 1. An actor performs an action at the CAS that should trigger a notification for this Subscription. 2. CAS POSTs a conformant R4 Topic-Based Subscription Notification Bundle to the Consent Client's Notification Endpoint. 3. Verify the notification is valid according to the linked requirements. 4. The Consent Client verifies the notification and returns a valid 200 response. 5. Verify the response. **Post-condition:** - None
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language
        l: extension-TestPlan.testCase.testRun.script.language
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference
        l: extension-TestPlan.testCase.testRun.script.sourceReference
      value: Reference
        l: https://touchstone.aegis.net/touchstone/testdefinitions
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script
      l: extension-TestPlan.testCase.testRun.script
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun
    l: extension-TestPlan.testCase.testRun
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Basic success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

v: FHIR TestScript - Touchstone profile

v: FHIR TestScript - Touchstone profile

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-admin-service.html#requirement-64
    l: requirement-64
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-client.html#requirement-265
    l: requirement-265
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-client.html#requirement-202
    l: requirement-202
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-377
    l: requirement-377
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-380
    l: requirement-380
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-381
    l: requirement-381
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-384
    l: requirement-384
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client-admin-service.html#requirement-870
    l: requirement-870
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-subscription-topics-admin-service.html#requirement-600
    l: requirement-600
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-subscription-topics-admin-service.html#requirement-607
    l: requirement-607
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-subscription-topics-admin-service.html#requirement-606
    l: requirement-606
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-workflow-client-admin-service.html#requirement-541
    l: requirement-541
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-conformance-admin-service.html#requirement-500
    l: requirement-500
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-conformance-admin-service.html#requirement-513
    l: requirement-513
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-conformance-admin-service.html#requirement-534
    l: requirement-534
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-conformance-admin-service.html#requirement-925
    l: requirement-925
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-510
    l: requirement-510
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-517
    l: requirement-517
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 62
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Workflow: Consent subscription and notification** This is a wide-open workflow that can be used as the base for many variations. **Actors:** Consent Client, CAS, Notification Endpoint, Tester **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. **Narrative:** 1. Execute test case "Create a Subscription - rest-hook". 2. 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. 3. Execute test case "Notify for a Subscription - rest-hook". The trigger is step 2 above. Additionally verify the notification as "event-notification". 4. Optional: Client GETs the new or modified Consent. Execute test case "Read a Consent". 5. Client DELETEs the FASTSubscription at the CAS. 6. The CAS deletes the Subscription. 7. Verify the response is valid according to the linked requirements. 8. 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. 9. Verify the CAS does not POST an "event-notification" R4 Topic-Based Subscription Notification Bundle to the Endpoint. **Post-condition:** - Any Subscriptions created at the CAS have been deleted. Other changes at the CAS (new Consents, etc.) may or may not have been deleted.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Basic success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-subscription-topics-admin-service.html#requirement-603
    l: requirement-603
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-subscription-topics-client.html#requirement-635
    l: requirement-635
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 63
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Workflow: Consent subscription and notification - FASTConsentPatientId** This test case extends test case "Workflow: Consent subscription and notification". **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. - In step 1, Consent Client creates a Subscription at the CAS filtering only on FASTConsentPatientId, for the known patient in the test data. - Repeat steps 2-3 as follows: - In step 2, Tester creates each Consent at the CAS using this test data. - In step 3, verify notification for each per this subscription and trigger. - In step 2, Tester updates each Consent at the CAS. - In step 3, verify notification for each per this subscription and trigger. - In step 2, Tester deletes the Consent at the CAS. - In step 3, verify notification for each per this subscription and trigger. - Continue with steps 4-7. - Repeat steps 8-9 as follows: - In step 8, Tester creates each Consent at the CAS using this test data. - In step 8, Tester updates each Consent at the CAS. - In step 8, Tester deletes each Consent at the CAS. **Additional Post-condition:** - Any Consents created at the CAS have been deleted.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Conditional
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-subscription-topics-admin-service.html#requirement-628
    l: requirement-628
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-subscription-topics-client.html#requirement-636
    l: requirement-636
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 64
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Workflow: Consent subscription and notification - FASTConsentOrganizationId** This test case extends test case "Workflow: Consent subscription and notification". **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. - In step 1, Consent Client creates a Subscription at the CAS filtering only on FASTConsentOrganizationId, for the known organization in the test data. - Repeat steps 2-3 as follows: - In step 2, Tester creates each Consent at the CAS using this test data. - In step 3, verify notification for each per this subscription and trigger. - In step 2, Tester updates each Consent at the CAS. - In step 3, verify notification for each per this subscription and trigger. - In step 2, Tester deletes the Consent at the CAS. - In step 3, verify notification for each per this subscription and trigger. - Continue with steps 4-7. - Repeat steps 8-9 as follows: - In step 8, Tester creates each Consent at the CAS using this test data. - In step 8, Tester updates each Consent at the CAS. - In step 8, Tester deletes each Consent at the CAS. **Additional Post-condition:** - Any Consents created at the CAS have been deleted.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Conditional
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-subscription-topics-admin-service.html#requirement-629
    l: requirement-629
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-subscription-topics-client.html#requirement-637
    l: requirement-637
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 65
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Workflow: Consent subscription and notification - actor** This test case extends test case "Workflow: Consent subscription and notification". **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. - In step 1, Consent Client creates a Subscription at the CAS filtering only on actor, for the known actor in the test data. - Repeat steps 2-3 as follows: - In step 2, Tester creates the Consent at the CAS using this test data. - In step 3, verify notification per this subscription and trigger. - In step 2, Tester updates the Consent at the CAS. - In step 3, verify notification per this subscription and trigger. - In step 2, Tester deletes the Consent at the CAS. - In step 3, verify notification per this subscription and trigger. - Continue with steps 4-7. - Repeat steps 8-9 as follows: - In step 8, Tester creates each Consent at the CAS using this test data. - In step 8, Tester updates each Consent at the CAS. - In step 8, Tester deletes each Consent at the CAS. **Additional Post-condition:** - Any Consents created at the CAS have been deleted.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Conditional
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-subscription-topics-admin-service.html#requirement-630
    l: requirement-630
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-subscription-topics-client.html#requirement-638
    l: requirement-638
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 66
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Workflow: Consent subscription and notification - status** This test case extends test case "Workflow: Consent subscription and notification". **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. - In step 1, Consent Client creates a Subscription at the CAS filtering only on status, for the known status in the test data. - Repeat steps 2-3 as follows: - In step 2, Tester creates the Consent at the CAS using this test data. - In step 3, verify notification per this subscription and trigger. - In step 2, Tester updates the Consent at the CAS, changing a field other than status. - In step 3, verify notification per this subscription and trigger. - In step 2, Tester updates the Consent at the CAS, changing the status field. - In step 3, status should not match, so no notification should occur. - In step 2, Tester updates the Consent at the CAS, changing the status field back to the matching value. - In step 3, verify notification per this subscription and trigger. - In step 2, Tester deletes the Consent at the CAS. - In step 3, verify notification per this subscription and trigger. - Continue with steps 4-7. - Repeat steps 8-9 as follows: - In step 8, Tester creates each Consent at the CAS using this test data. - In step 8, Tester updates each Consent at the CAS. - In step 8, Tester deletes each Consent at the CAS. **Additional Post-condition:** - Any Consents created at the CAS have been deleted.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Conditional
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-subscription-topics-admin-service.html#requirement-631
    l: requirement-631
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-subscription-topics-client.html#requirement-639
    l: requirement-639
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 67
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Workflow: Consent subscription and notification - scope** This test case extends test case "Workflow: Consent subscription and notification". **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. - In step 1, Consent Client creates a Subscription at the CAS filtering only on scope, for the known scope in the test data. - Repeat steps 2-3 as follows: - In step 2, Tester creates the Consent at the CAS using this test data. - In step 3, verify notification per this subscription and trigger. - In step 2, Tester updates the Consent at the CAS, changing a field other than scope. - In step 3, verify notification per this subscription and trigger. - In step 2, Tester updates the Consent at the CAS, changing the scope field. - In step 3, scope should not match, so no notification should occur. - In step 2, Tester updates the Consent at the CAS, changing the scope field back to the matching value. - In step 3, verify notification per this subscription and trigger. - In step 2, Tester deletes the Consent at the CAS. - In step 3, verify notification per this subscription and trigger. - Continue with steps 4-7. - Repeat steps 8-9 as follows: - In step 8, Tester creates each Consent at the CAS using this test data. - In step 8, Tester updates each Consent at the CAS. - In step 8, Tester deletes each Consent at the CAS. **Additional Post-condition:** - Any Consents created at the CAS have been deleted.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Conditional
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-admin-service.html#requirement-64
    l: requirement-64
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-client.html#requirement-265
    l: requirement-265
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-technical-specification-client.html#requirement-202
    l: requirement-202
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-377
    l: requirement-377
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-380
    l: requirement-380
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-381
    l: requirement-381
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-client.html#requirement-384
    l: requirement-384
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-conformance-admin-service.html#requirement-534
    l: requirement-534
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-conformance-admin-service.html#requirement-925
    l: requirement-925
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-capstmt-admin-service.html#requirement-510
    l: requirement-510
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 68
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Workflow: Consent subscription and notification - no filters** This test case extends test case "Workflow: Consent subscription and notification". **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. - In step 1, Consent Client creates a Subscription at the CAS with no filters. - Repeat steps 2-3 as follows: - In step 2, Tester creates the Consent at the CAS using this test data. - In step 3, verify notification per this subscription and trigger. - In step 2, Tester updates the Consent at the CAS. - In step 3, verify notification per this subscription and trigger. - In step 2, Tester deletes the Consent at the CAS. - In step 3, verify notification per this subscription and trigger. - Continue with steps 4-7. - Repeat steps 8-9 as follows: - In step 8, Tester creates each Consent at the CAS using this test data. - In step 8, Tester updates each Consent at the CAS. - In step 8, Tester deletes each Consent at the CAS. **Additional Post-condition:** - Any Consents created at the CAS have been deleted.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Conditional
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-conformance-admin-service.html#requirement-501
    l: requirement-501
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-conformance-admin-service.html#requirement-925
    l: requirement-925
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client-admin-service.html#requirement-535
    l: requirement-535
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 69
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Workflow: Consent subscription and notification - full-resource payload** This test case extends test case "Workflow: Consent subscription and notification". - In step 1, Consent Client creates a Subscription at the CAS requesting full-resource payloads. - After step 3, additionally verify the notification contains the full Consent resource(s). - Continue through step 7. - The test case ends - no additional steps are needed.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Conditional
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-conformance-admin-service.html#requirement-501
    l: requirement-501
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-conformance-admin-service.html#requirement-925
    l: requirement-925
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client-admin-service.html#requirement-535
    l: requirement-535
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 70
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Workflow: Consent subscription and notification - id only payload** This test case extends test case "Workflow: Consent subscription and notification". - In step 1, Consent Client creates a Subscription at the CAS requesting full-resource payloads. - After step 3, additionally verify the notification contains only the id of the Consent resource(s). - Continue through step 7. - The test case ends - no additional steps are needed.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Conditional
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-conformance-admin-service.html#requirement-501
    l: requirement-501
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-conformance-admin-service.html#requirement-925
    l: requirement-925
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client-admin-service.html#requirement-535
    l: requirement-535
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 71
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Workflow: Consent subscription and notification - empty payload** This test case extends test case "Workflow: Consent subscription and notification". - In step 1, Consent Client creates a Subscription at the CAS requesting full-resource payloads. - After step 3, additionally verify the notification is empty. - Continue through step 7. - The test case ends - no additional steps are needed.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Conditional
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Alternate success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 72
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Use Case: Sign and File Consent** **Actors:** Consenter, Consent Client, CAS **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)). **Narrative:** 1. 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). 2. A proper user experience enables the consenter to sign the consent form \[VERIFY: inspection\]. 3. Execute test case "Operation: File a Consent". 4. The consenter can see the change in the status of the consent to become active \[VERIFY: inspection\]. 5. The consenter can review the finalized consent \[VERIFY: inspection\] and download a human-readable or print-friendly copy \[VERIFY: inspection\]. **Post-condition:** - A signed consent form is retained for future review. \[Q: Is this optional based on whether QR or DR were passed in?\] - A computable consent resource is extracted based on the finalized consent form and is stored in the consent store FHIR server.
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Provisional
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Basic success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client-admin-service.html#requirement-597
    l: requirement-597
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client-admin-service.html#requirement-598
    l: requirement-598
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client-admin-service.html#requirement-599
    l: requirement-599
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client-admin-service.html#requirement-477
    l: requirement-477
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client-admin-service.html#requirement-601
    l: requirement-601
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client-admin-service.html#requirement-464
    l: requirement-464
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client-admin-service.html#requirement-470
    l: requirement-470
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client-admin-service.html#requirement-469
    l: requirement-469
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/narrativeLink
    l: narrativeLink
  value: Url
    v: https://hl7.org/fhir/us/consent-management/2026Jan/Requirements-structure-definitions-client-admin-service.html#requirement-595
    l: requirement-595
extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence
    l: extension-TestPlan.testCase.sequence
  value: Integer
    v: 73
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description
      l: extension-TestPlan.testCase.dependency.description
    value: Markdown
      v: **Validate FHIR resources** This is a base test case that will be added to all others. **Actors:** Any **Pre-condition:** None **Narrative:** 1. Test tool or manual evaluator captures any message under test. 2. Call the FHIR Validator on the top level resources in the message. **Post-condition:** - None
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency
    l: extension-TestPlan.testCase.dependency
extension:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Required
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion.type
      l: extension-TestPlan.testCase.assertion.type
    value: CodeableConcept
      text:
        v: Basic success
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.assertion
    l: extension-TestPlan.testCase.assertion
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
  l: extension-TestPlan.testCase

coding:
  system:
    v: http://hl7.org/fhir/fhir-types
    l: fhir-types
  code:
    v: TestPlan