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

io.github.linuxforhealth.hl7.resource.ResourceEvaluationResult 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
package io.github.linuxforhealth.hl7.resource;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import io.github.linuxforhealth.api.ResourceValue;

public class ResourceEvaluationResult {


  private List additionalResolveValues;
  private Map resolveValues;
  private PendingExpressionState pendingExpressions;


  public ResourceEvaluationResult(Map resolveValues) {
    this(resolveValues, new ArrayList<>(), null);
  }

  public ResourceEvaluationResult(Map resolveValues,
      List additionalResolveValues) {
    this(resolveValues, additionalResolveValues,
        PendingExpressionState.emptyPendingExpressionState());
  }

  public ResourceEvaluationResult(Map resolveValues,
      List additionalResolveValues, PendingExpressionState pendingExpressions) {
    this.additionalResolveValues = new ArrayList<>();
    this.additionalResolveValues.addAll(additionalResolveValues);
    this.resolveValues = new HashMap<>();
    this.resolveValues.putAll(resolveValues);
    this.pendingExpressions = pendingExpressions;
  }



  public List getAdditionalResolveValues() {
    return additionalResolveValues;
  }


  public Map getResolveValues() {
    return resolveValues;
  }

  public PendingExpressionState getPendingExpressions() {
    return pendingExpressions;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy