{
  "resourceType": "OperationDefinition",
  "id": "Library-it-evaluate",
  "text": {
    "status": "extensions",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>URL: [base]/Library/$evaluate</p><p>URL: [base]/Library/[id]/$evaluate</p><p>Parameters</p><table class=\"grid\"><tr><td><b>Use</b></td><td><b>Name</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>parameters</td><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/parameters.html\">Parameters</a></td><td/><td/></tr><tr><td>OUT</td><td>return</td><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/guidanceresponse.html\">GuidanceResponse</a></td><td/><td/></tr></table></div>"
  },
  "url": "https://library.devtest.systematic-ehealth.com/fhir/OperationDefinition/Library-it-evaluate",
  "version": "2.5.0",
  "name": "evaluate",
  "title": "Evaluate",
  "status": "active",
  "kind": "operation",
  "date": "2023-02-09T09:12:35+00:00",
  "publisher": "Systematic | Trifork",
  "contact": [
    {
      "name": "Systematic | Trifork",
      "telecom": [
        {
          "system": "url",
          "value": "http://ehealth.sundhed.dk"
        }
      ]
    }
  ],
  "description": "This operation evaluates parameters passed as input against the decision support rule identified by the Library resource. It returns the computed clinical decision support result and/or errors. The Library resource identifies the clinical decision rule and define its parameters.\n\nThe operation is idempotent.\n### Input\n- 1..1 Parameters: HL7 FHIR [Parameters](https://www.hl7.org/fhir/stu3/parameters.html) resource containing input parameters for the clinical decision support computation.This should either be a QuestionnaireResponse or an Observation for evaluation.\n\n### Output\nUpon success this operation returns an GuidanceResponse resource containing the decision support result.\n\n",
  "affectsState": false,
  "code": "evaluate",
  "resource": [
    "Library"
  ],
  "system": false,
  "type": true,
  "instance": true,
  "parameter": [
    {
      "name": "parameters",
      "use": "in",
      "min": 1,
      "max": "1",
      "type": "Parameters"
    },
    {
      "name": "return",
      "use": "out",
      "min": 0,
      "max": "1",
      "type": "GuidanceResponse"
    }
  ]
}