All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.linuxforhealth.api.Condition Maven / Gradle / Ivy

Go to download

FHIR converter is a Java based library that enables converting Hl7v2 messages to FHIR resources

There is a newer version: 1.0.19
Show newest version
/*
 * (C) Copyright IBM Corp. 2020
 *
 * SPDX-License-Identifier: Apache-2.0
 */
package io.github.linuxforhealth.api;

import java.util.Map;

/**
 * 
 * Interface that represents a condition. The implementing class should define how to resolve the
 * condition using the context values.
 *
 * @author pbhallam
 */
@FunctionalInterface
public interface Condition {
  /**
   * Returns True if the condition is satisfied.
   * 
   * @param contextValues - Map of String, {@link EvaluationResult}
   * @return boolean
   */
  boolean test(Map contextValues);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy