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

io.github.linuxforhealth.api.ResourceValue 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;

/**
 * Resource value holds the result of Resource evaluation.
 * 
 *
 * @author pbhallam
 */
public interface ResourceValue {

  /**
   * Represents the Resource - Map
   * 
   * @return Map where key is the field name and value is result of that field generated by
   *         evaluating the expression for that field.
   */
  Map getResource();

  /**
   * FHIR Resource Type Example: Observation/Patient
   * 
   * @return String
   */
  String getFHIRResourceType();

  /**
   * If the resource map is empty or null, this method should return True.
   * 
   * @return - True if resource map is empty or null.
   */
  boolean isEmpty();


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy