OPERATION: evaluate
The official URL for this operation definition is:
http://ehealth.sundhed.dk/fhir/OperationDefinition/Library-i-evaluate
This operation evaluates parameters passed as input against the decision support rule identified by the ehealth-library resource. It returns the computed clinical decision support result and/or errors. The operation is applicable for an ehealth-library resource with type=logic-library (see HL7 FHIR Library.type). Such a resource identifies a decision support rule and defines its parameters.
The operation is idempotent.
Example:
{
'resourceType': 'Parameters',
'parameter': [
{
'name': 'parameters',
'resource': {
'resourceType': 'Parameters',
'parameter': [
{
'name': 'isWarm',
'valueBoolean': true
}
]
}
}
]
}
Upon success this operation returns an ehealth-guidanceresponse resource containing the decision support result.
Extract of example output:
{
'resourceType': 'Parameters',
'parameter': [
{
'name': 'return',
'resource': {
'resourceType': 'GuidanceResponse',
... ,
'contained': [
{
'resourceType': 'Parameters',
'id': 'outputParameters1',
'parameter': [
{
'name': 'situation-quality',
'valueCodeableConcept': {
'coding': [
{
'system': 'http://ehealth.sundhed.dk/cs/situation-quality',
'code': 'SQ2',
'display': 'Situation quality 2'
}
]
}
]
}
],
... ,
'outputParameters': {
'reference': '#outputParameters1'
}
]
}
}
]
}
URL: [base]/Library/[id]/$evaluate
Parameters
Use | Name | Cardinality | Type | Binding | Documentation |
IN | parameters | 1..1 | Parameters | ||
OUT | return | 0..1 | GuidanceResponse |