Generated Narrative: TestScript 03-Operation-Record-a-Disclosure Profile: AEGIS Touchstone Testing TestScript Profile StructureDefinition Work Group: cbcc url: TestScript 03 Operations - All SUT | 03 Operation: Record a Disclosure version: 1.0.0-ballot name: Test_03_Operation_Record_a_Disclosure title: 03 Operations - All SUT | 03 Operation: Record a Disclosure status: Active date: 2026-03-30 publisher: HL7 International / Community Based Collaborative Care contact: HL7 International / Community Based Collaborative Care: http://www.hl7.org/Special/committees/cbcc description: Happy Path: Perform a successful AuditEvent/$recordDisclosure operation. Test a client and server to verify support for the AuditEvent $recordDisclosure operation, supporting the FAST Consent Management IG Version: CI. This scenario is generic and can be used with any FHIR format and query parameters. See https://wildfhir4.wildfhir.org/ig/fhir-consent-management-tg/rtm_test_cases.html#testcase-69 Test System Details (in order of appearance): [Origin 1: Consent Client's RESTful client. System Under Test: this must be an external test system (not Touchstone).] [Destination 1: Consent Admin Service's RESTful FHIR Server. System Under Test: this must be an external test system (not a mock).] jurisdiction: United States of America copyright: (c) AEGIS.net, Inc. 2026 Origins - Index Profile * 1 Test script profile origin type: FHIR-Client (FHIR Client) Destinations - Index Profile * 1 Test script profile destination type: FHIR-Server (FHIR Server) profile: http://hl7.org/fhir/us/consent-management/StructureDefinition/RecordDisclosureParameters test name: Step_001_AuditEvent_slash_dollar_recordDisclosure_operation description: Consent Client invokes the AuditEvent/$recordDisclosure operation at Consent Admin Service. action Operations - Type Resource Description Destination EncodeRequestUrl Method Origin Params RequestId ResponseId * testscript-operation-codes-extended: post (post) AuditEvent AuditEvent/$recordDisclosure operation. 1 true POST 1 /$recordDisclosure dest-1-FHIRExtendedOperation-1-request dest-1-FHIRExtendedOperation-1-response action Asserts - Extension Description Direction Expression ValidateProfileId WarningOnly * Confirm that the resource(s) in the request body at FHIRPath 'Parameters' conform to profile 'RecordDisclosureParameters'. request Parameters RecordDisclosureParameters false
03 Operations - All SUT | 03 Operation: Record a Disclosure
HL7 International / Community Based Collaborative Care
Happy Path: Perform a successful AuditEvent/$recordDisclosure operation. Test a client and server to verify support for the AuditEvent $recordDisclosure operation, supporting the FAST Consent Management IG Version: CI. This scenario is generic and can be used with any FHIR format and query parameters. See https://wildfhir4.wildfhir.org/ig/fhir-consent-management-tg/rtm_test_cases.html#testcase-69 Test System Details (in order of appearance): [Origin 1: Consent Client's RESTful client. System Under Test: this must be an external test system (not Touchstone).] [Destination 1: Consent Admin Service's RESTful FHIR Server. System Under Test: this must be an external test system (not a mock).]
Consent Client invokes the AuditEvent/$recordDisclosure operation at Consent Admin Service.
Confirm that the resource(s) in the request body at FHIRPath 'Parameters' conform to profile 'RecordDisclosureParameters'.