{
"resourceType" : "OperationDefinition",
"id" : "Library-i-evaluate",
"text" : {
"status" : "extensions",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>evaluate</h2><p>OPERATION: evaluate</p><p>The official URL for this operation definition is: </p><pre>http://ehealth.sundhed.dk/fhir/OperationDefinition/Library-i-evaluate</pre><div><p>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.</p>\n<p>The operation is idempotent.</p>\n<h3>Input</h3>\n<ul>\n<li>1..1 Parameters: HL7 FHIR <a href=\"https://www.hl7.org/fhir/stu3/parameters.html\">Parameters</a> resource containing input parameters for the clinical decision support computation.This should either be a QuestionnaireResponse or an Observation for evaluation.</li>\n</ul>\n<h3>Output</h3>\n<p>Upon success this operation returns an GuidanceResponse resource containing the decision support result.</p>\n</div><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/STU3/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/STU3/guidanceresponse.html\">GuidanceResponse</a></td><td/><td/></tr></table></div>"
},
"url" : "http://ehealth.sundhed.dk/fhir/OperationDefinition/Library-i-evaluate",
"name" : "evaluate",
"status" : "active",
"kind" : "operation",
"date" : "2021-01-07T13:26:31+00:00",
"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",
"idempotent" : true,
"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"
}
]
}