View Javadoc
1   package org.openehealth.ipf.commons.ihe.fhir.translation;
2   
3   import java.util.Map;
4   
5   /**
6    * @author Christian Ohr
7    */
8   public interface FhirTranslator<T> {
9   
10      /**
11       * Translates a FhirObject into something else
12       *
13       * @param fhir FhirObject
14       * @return HL7v2 message
15       */
16      T translateFhir(Object fhir, Map<String, Object> parameters);
17  }