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

de.sekmi.histream.etl.EavRow Maven / Gradle / Ivy

There is a newer version: 0.13.3
Show newest version
package de.sekmi.histream.etl;

import java.util.Arrays;
import java.util.List;

import de.sekmi.histream.Observation;

/**
 * Row from EAV table. Per definition, only
 * a single fact per row is contained.
 * 
 * @author R.W.Majeed
 *
 */
public class EavRow implements FactRow {
	private Observation fact;
	
	public EavRow(Observation fact){
		this.fact = fact;
	}
	@Override
	public List getFacts() {
		return Arrays.asList(fact);
	}
	public Observation getFact(){
		return fact;
	}

	@Override
	public String getPatientId() {return fact.getPatientId();}

	@Override
	public String getVisitId() {return fact.getEncounterId();}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy