<OperationDefinition xmlns="http://hl7.org/fhir">
  <id value="RegisterGranteeConsent" />
  <url value="http://electronichealth.se/fhir/NDI/OperationDefinition/RegisterGranteeConsent" />
  <version value="0.1.0" />
  <name value="RegisterGranteeConsent" />
  <status value="draft" />
  <kind value="operation" />
  <affectsState value="true" />
  <code value="register-grantee-consent" />
  <resource value="DocumentReference" />
  <system value="false" />
  <type value="false" />
  <instance value="true" />
  <parameter>
    <name value="return" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <documentation value="Outcome of operation" />
    <type value="OperationOutcome" />
  </parameter>
</OperationDefinition>