{
  "resourceType" : "OperationDefinition",
  "id" : "feedback",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: OperationDefinition feedback</b></p><a name=\"feedback\"> </a><a name=\"hcfeedback\"> </a><p>URL: [base]/PlanDefinition/$feedback</p><p>URL: [base]/PlanDefinition/[id]/$feedback</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>pss-id</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td/><td><div><p>the PSS ID</p>\n</div></td></tr><tr><td>IN</td><td>feedback-resource</td><td/><td>1..*</td><td><a href=\"http://hl7.org/fhir/R4/resource.html\">Resource</a> (<a href=\"StructureDefinition-PSSFeedbackBundle.html\" title=\"https://www.ehealth.fgov.be/standards/fhir/pss/StructureDefinition/PSSFeedbackBundle\">PSS Feedback Bundle</a>, <a href=\"StructureDefinition-FeedbackTask.html\" title=\"https://www.ehealth.fgov.be/standards/fhir/pss/StructureDefinition/FeedbackTask\">PSS Feedback Task</a>)</td><td/><td><div><p>A Task, or a Bundle containing the Task as well as a new request when one exists, representing the decision on the PSS request. In case the decision is to override an original proposal, or go for a completely different proposal that is not among those provided by PSS, the client shall provide that order, anonymized, with intent=<code>proposal</code>, and with a new <code>id</code>.\nIf the user doesn't accept any of the options provided by PSS, a feedback is still required to finish the PSS process.</p>\n<p>A Task is always required, in either of the possible scenarios:</p>\n<ul>\n<li>if one of the options is accepted, only the corresponding Task needs to be submitted as feedback (the rejected ones are optional)</li>\n<li>if the user doesn't select any option but presents an alternative (other), the Task and the Request will be present</li>\n<li>if the user doesn't select any option does not present an alternative (other), there has to be at least one Task to explain the rejection of each recommendation.</li>\n</ul>\n</div></td></tr></table></div>"
  },
  "url" : "https://www.ehealth.fgov.be/standards/fhir/pss/OperationDefinition/feedback",
  "version" : "1.1.0",
  "name" : "Feedback",
  "title" : "PSS Feedback",
  "status" : "active",
  "kind" : "operation",
  "experimental" : false,
  "date" : "2026-03-05T13:13:51+00:00",
  "publisher" : "eHealth Platform",
  "contact" : [{
    "name" : "eHealth Platform",
    "telecom" : [{
      "system" : "url",
      "value" : "https://www.ehealth.fgov.be/standards/fhir/"
    },
    {
      "system" : "email",
      "value" : "support@be-ehealth-standards.atlassian.net"
    }]
  },
  {
    "name" : "Message Structure eHealth",
    "telecom" : [{
      "system" : "email",
      "value" : "support@be-ehealth-standards.atlassian.net",
      "use" : "work"
    }]
  }],
  "description" : "Operation to provide feedback on PSS suggestions",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "urn:iso:std:iso:3166",
      "code" : "BE",
      "display" : "Belgium"
    }]
  }],
  "affectsState" : false,
  "code" : "feedback",
  "resource" : ["PlanDefinition"],
  "system" : false,
  "type" : true,
  "instance" : true,
  "parameter" : [{
    "name" : "pss-id",
    "use" : "in",
    "min" : 1,
    "max" : "1",
    "documentation" : "the PSS ID",
    "type" : "string"
  },
  {
    "name" : "feedback-resource",
    "use" : "in",
    "min" : 1,
    "max" : "*",
    "documentation" : "A Task, or a Bundle containing the Task as well as a new request when one exists, representing the decision on the PSS request. In case the decision is to override an original proposal, or go for a completely different proposal that is not among those provided by PSS, the client shall provide that order, anonymized, with intent=`proposal`, and with a new `id`.\nIf the user doesn't accept any of the options provided by PSS, a feedback is still required to finish the PSS process. \n\nA Task is always required, in either of the possible scenarios:\n- if one of the options is accepted, only the corresponding Task needs to be submitted as feedback (the rejected ones are optional)\n- if the user doesn't select any option but presents an alternative (other), the Task and the Request will be present\n- if the user doesn't select any option does not present an alternative (other), there has to be at least one Task to explain the rejection of each recommendation.",
    "type" : "Resource",
    "targetProfile" : ["https://www.ehealth.fgov.be/standards/fhir/pss/StructureDefinition/PSSFeedbackBundle",
    "https://www.ehealth.fgov.be/standards/fhir/pss/StructureDefinition/FeedbackTask"]
  }]
}