<OperationDefinition xmlns="http://hl7.org/fhir"> <id value="Library-i-evaluate"/> <text> <status value="generated"/> <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> <p>The operation is idempotent.</p> <h3>Input</h3> <ul> <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> </ul> <h3>Output</h3> <p>Upon success this operation returns an GuidanceResponse resource containing the decision support result.</p> </div><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> </text> <url value="http://ehealth.sundhed.dk/fhir/OperationDefinition/Library-i-evaluate"/> <version value="2019.6.1"/> <name value="evaluate"/> <status value="active"/> <kind value="operation"/> <date value="2019-12-04T13:16:07+00:00"/> <description value="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. The operation is idempotent. ### Input - 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. ### Output Upon success this operation returns an GuidanceResponse resource containing the decision support result. "/> <idempotent value="true"/> <code value="evaluate"/> <resource value="Library"/> <system value="false"/> <type value="false"/> <instance value="true"/> <parameter> <name value="parameters"/> <use value="in"/> <min value="1"/> <max value="1"/> <type value="Parameters"/> </parameter> <parameter> <name value="return"/> <use value="out"/> <min value="0"/> <max value="1"/> <type value="GuidanceResponse"/> </parameter> </OperationDefinition>