{
  "resourceType" : "OperationDefinition",
  "id" : "ahd-trustee-confirm",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: OperationDefinition ahd-trustee-confirm</b></p><a name=\"ahd-trustee-confirm\"> </a><a name=\"hcahd-trustee-confirm\"> </a><p>URL: [base]/RelatedPerson/$confirm</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>bundle</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R5/bundle.html\">Bundle</a></td><td/><td><div><p>Collection Bundle with the RelatedPerson and the paper-signing Provenance.</p>\n</div></td></tr><tr><td>OUT</td><td>relatedPerson</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R5/references.html#Reference\">Reference</a></td><td/><td><div><p>Reference to the stored trusted person version.</p>\n</div></td></tr><tr><td>OUT</td><td>provenance</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R5/references.html#Reference\">Reference</a></td><td/><td><div><p>Reference to the stored signing Provenance.</p>\n</div></td></tr></table></div>"
  },
  "url" : "https://fhir.ee/ahd/OperationDefinition/ahd-trustee-confirm",
  "version" : "0.1.0",
  "name" : "AHDTrusteeConfirm",
  "title" : "Trusted person confirmation by a healthcare worker ($confirm)",
  "status" : "active",
  "kind" : "operation",
  "experimental" : false,
  "date" : "2026-09-04T09:27:54+00:00",
  "publisher" : "TEHIK",
  "contact" : [{
    "name" : "TEHIK",
    "telecom" : [{
      "system" : "url",
      "value" : "https://tehik.ee"
    },
    {
      "system" : "email",
      "value" : "abi@tehik.ee"
    }]
  }],
  "description" : "UC-AHD-058: a healthcare worker adds and confirms a trusted person who signed on paper during the appointment. Input is a collection Bundle with the RelatedPerson and the paper-signing Provenance.",
  "affectsState" : true,
  "code" : "confirm",
  "resource" : ["RelatedPerson"],
  "system" : false,
  "type" : true,
  "instance" : false,
  "parameter" : [{
    "name" : "bundle",
    "use" : "in",
    "min" : 1,
    "max" : "1",
    "documentation" : "Collection Bundle with the RelatedPerson and the paper-signing Provenance.",
    "type" : "Bundle"
  },
  {
    "name" : "relatedPerson",
    "use" : "out",
    "min" : 1,
    "max" : "1",
    "documentation" : "Reference to the stored trusted person version.",
    "type" : "Reference"
  },
  {
    "name" : "provenance",
    "use" : "out",
    "min" : 1,
    "max" : "1",
    "documentation" : "Reference to the stored signing Provenance.",
    "type" : "Reference"
  }]
}