<OperationDefinition xmlns="http://hl7.org/fhir">
  <id value="RevokeConsent" />
  <url value="http://electronichealth.se/fhir/NDI/OperationDefinition/RevokeConsent" />
  <version value="0.1.0" />
  <name value="RevokeConsent" />
  <status value="draft" />
  <kind value="operation" />
  <description value="Revokes a Consent resource." />
  <affectsState value="true" />
  <code value="revoke" />
  <resource value="Consent" />
  <system value="false" />
  <type value="false" />
  <instance value="true" />
  <parameter>
    <name value="revokedBy" />
    <use value="in" />
    <min value="1" />
    <max value="1" />
    <documentation value="Identifier of person who is revoking the Consent, with system and value." />
    <type value="Identifier" />
  </parameter>
  <parameter>
    <name value="provisioningDestination" />
    <use value="in" />
    <min value="0" />
    <max value="1" />
    <documentation value="Identifier of organization to which the Consent revokation should be provisioned, with system and value." />
    <type value="Identifier" />
  </parameter>
  <parameter>
    <name value="return" />
    <use value="out" />
    <min value="1" />
    <max value="1" />
    <documentation value="Outcome of operation" />
    <type value="OperationOutcome" />
  </parameter>
</OperationDefinition>