<?xml version="1.0" encoding="UTF-8"?>

<Parameters xmlns="http://hl7.org/fhir">
  <id value="parameters-revokeconsent"/>
  <meta>
    <profile value="http://hl7.org/fhir/us/consent-management/StructureDefinition/RevokeConsentParameters"/>
  </meta>
  <parameter>
    <name value="consent"/>
    <valueReference>
      <reference value="Consent/ConsentExample"/>
      <identifier>
        <system value="http://example.org/identifiers"/>
        <value value="ec63290f-1f93-4ed3-b531-0d86e2791165"/>
      </identifier>
    </valueReference>
  </parameter>
  <parameter>
    <name value="patient"/>
    <valueReference>
      <reference value="Patient/patient-lara-miren"/>
      <identifier>
        <system value="http://example.org/identifiers"/>
        <value value="patient-lara-miren"/>
      </identifier>
    </valueReference>
  </parameter>
  <parameter>
    <name value="document"/>
    <resource>
      <DocumentReference>
        <id value="docref-revokeconsent"/>
        <meta>
          <profile value="http://hl7.org/fhir/us/consent-management/StructureDefinition/FASTDocumentReference"/>
        </meta>
        <identifier>
          <system value="http://example.org/identifiers"/>
          <value value="docref-revokeconsent"/>
        </identifier>
        <status value="current"/>
        <type>
          <coding>
            <system value="http://loinc.org"/>
            <code value="64292-6"/>
          </coding>
        </type>
        <category>
          <coding>
            <system value="http://loinc.org"/>
            <code value="57016-8"/>
          </coding>
        </category>
        <subject>
          <reference value="Patient/patient-lara-miren"/>
          <identifier>
            <system value="http://example.org/identifiers"/>
            <value value="patient-lara-miren"/>
          </identifier>
        </subject>
        <date value="2025-08-13T15:30:58.502-04:00"/>
        <author>
          <reference value="Patient/patient-lara-miren"/>
          <identifier>
            <system value="http://example.org/identifiers"/>
            <value value="patient-lara-miren"/>
          </identifier>
        </author>
        <content>
          <attachment>
            <contentType value="text/plain; charset=utf-8"/>
            <data value="SSwgTGFyYSBNaXJlbiwgcmV2b2tlIG15IGNvbnNlbnQgdG8gcGVybWl0IFJvYmVydCBNaXJlbiBhY2Nlc3MgdG8gbXkgbWVkaWNhbCByZWNvcmRzLg=="/>
          </attachment>
        </content>
      </DocumentReference>
    </resource>
  </parameter>
</Parameters>