{
  "resourceType" : "OperationDefinition",
  "id" : "record-disclosure",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: OperationDefinition record-disclosure</b></p><a name=\"record-disclosure\"> </a><a name=\"hcrecord-disclosure\"> </a><p>URL: [base]/AuditEvent/$recordDisclosure</p><p>Input parameters Profile:<a href=\"StructureDefinition-RecordDisclosureParameters.html\">Record Disclosure Operation Parameters</a></p><h3>Parameters</h3><table class=\"grid\"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Scope</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>IN</td><td>disclosure</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/auditevent.html\">AuditEvent</a></td><td/><td><div><p>An AuditEvent detailing the disclosure (see Input Parameters Profile for conformance)</p>\n</div></td></tr><tr><td>IN</td><td>consent</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/references.html#Reference\">Reference</a> (<a href=\"StructureDefinition-FASTConsent.html\" title=\"http://hl7.org/fhir/us/consent-management/StructureDefinition/FASTConsent\">FASTConsent</a>)</td><td/><td><div><p>A reference to the Consent instance (see Input Parameters Profile for conformance)</p>\n</div></td></tr><tr><td>OUT</td><td>return</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/operationoutcome.html\">OperationOutcome</a></td><td/><td><div><p>Optional outcome of the operation call</p>\n</div></td></tr></table></div>"
  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "cbcc"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 1,
    "_valueInteger" : {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical" : "http://hl7.org/fhir/us/consent-management/ImplementationGuide/hl7.fhir.us.consent-management"
      }]
    }
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "trial-use",
    "_valueCode" : {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical" : "http://hl7.org/fhir/us/consent-management/ImplementationGuide/hl7.fhir.us.consent-management"
      }]
    }
  }],
  "url" : "http://hl7.org/fhir/us/consent-management/OperationDefinition/record-disclosure",
  "version" : "1.0.0-ballot",
  "name" : "RecordDisclosure",
  "title" : "RecordDisclosure",
  "status" : "active",
  "kind" : "operation",
  "date" : "2025-12-15T21:10:40+00:00",
  "publisher" : "HL7 International / Community Based Collaborative Care",
  "contact" : [{
    "name" : "HL7 International / Community Based Collaborative Care",
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/homehealth"
    }]
  }],
  "description" : "This operation is used to record a disclosure based on a given consent for a given patient with a consent administration service.  The parameters are a Consent AuditEvent and a reference to the corresponding Consent resource.",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "urn:iso:std:iso:3166",
      "code" : "US",
      "display" : "United States of America"
    }]
  }],
  "code" : "recordDisclosure",
  "resource" : ["AuditEvent"],
  "system" : false,
  "type" : true,
  "instance" : false,
  "inputProfile" : "http://hl7.org/fhir/us/consent-management/StructureDefinition/RecordDisclosureParameters",
  "parameter" : [{
    "name" : "disclosure",
    "use" : "in",
    "min" : 1,
    "max" : "1",
    "documentation" : "An AuditEvent detailing the disclosure (see Input Parameters Profile for conformance)",
    "type" : "AuditEvent"
  },
  {
    "name" : "consent",
    "use" : "in",
    "min" : 1,
    "max" : "1",
    "documentation" : "A reference to the Consent instance (see Input Parameters Profile for conformance)",
    "type" : "Reference",
    "targetProfile" : ["http://hl7.org/fhir/us/consent-management/StructureDefinition/FASTConsent"]
  },
  {
    "name" : "return",
    "use" : "out",
    "min" : 0,
    "max" : "1",
    "documentation" : "Optional outcome of the operation call",
    "type" : "OperationOutcome"
  }]
}