{
  "resourceType" : "OperationDefinition",
  "id" : "update-personal-signature",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: OperationDefinition update-personal-signature</b></p><a name=\"update-personal-signature\"> </a><a name=\"hcupdate-personal-signature\"> </a><p>URL: [base]/Task/$update-personal-signature</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>target-task</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/references.html#Reference\">Reference</a> (<a href=\"StructureDefinition-EraSignatureTask.html\" title=\"https://eradocumentation.atostek.com/StructureDefinition/EraSignatureTask\">EraSignatureTask</a>)</td><td/><td><div><p>A reference to the Task resource that was created on signature initiation.</p>\n</div></td></tr><tr><td>IN</td><td>signature-data</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td/><td><div><p>Signature data containing signature and public part of the certificate used in signing. The value is produced by the signature device.</p>\n</div></td></tr><tr><td>OUT</td><td>return</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/bundle.html\">Bundle</a></td><td/><td><div><p>Bundle containing the finalized <a href=\"StructureDefinition-EraSignatureTask.html\">Task</a> and one <a href=\"StructureDefinition-EraSignatureProvenance.html\">Provenance</a> resource for each signed document.</p>\n</div></td></tr></table></div>"
  },
  "url" : "https://eradocumentation.atostek.com/OperationDefinition/Task-update-personal-signature",
  "version" : "1.0.0",
  "name" : "Update-Personal-Signature",
  "title" : "Update Personal Signature",
  "status" : "draft",
  "kind" : "operation",
  "date" : "2026-10-28T11:52:12+00:00",
  "publisher" : "Atostek",
  "contact" : [{
    "name" : "Atostek",
    "telecom" : [{
      "system" : "url",
      "value" : "https://atostek.com/"
    }]
  }],
  "description" : "The operation attaches a signature to the documents that are the target of the referenced Task resource, and generates a Provenance for each signed resource.\n\nThe operation returns the finalized Task resource and Provenance resources for the signed documents.",
  "code" : "update-personal-signature",
  "resource" : ["Task"],
  "system" : false,
  "type" : true,
  "instance" : false,
  "parameter" : [{
    "name" : "target-task",
    "use" : "in",
    "min" : 1,
    "max" : "1",
    "documentation" : "A reference to the Task resource that was created on signature initiation.",
    "type" : "Reference",
    "targetProfile" : ["https://eradocumentation.atostek.com/StructureDefinition/EraSignatureTask"]
  },
  {
    "name" : "signature-data",
    "use" : "in",
    "min" : 1,
    "max" : "1",
    "documentation" : "Signature data containing signature and public part of the certificate used in signing. The value is produced by the signature device.",
    "type" : "string"
  },
  {
    "name" : "return",
    "use" : "out",
    "min" : 1,
    "max" : "1",
    "documentation" : "Bundle containing the finalized [Task](StructureDefinition-EraSignatureTask.html) and one [Provenance](StructureDefinition-EraSignatureProvenance.html) resource for each signed document.",
    "type" : "Bundle"
  }]
}