de.sekmi.histream.etl.WideRow Maven / Gradle / Ivy
package de.sekmi.histream.etl;
import java.util.ArrayList;
import java.util.List;
import de.sekmi.histream.Observation;
/**
* Wide fact row which. A single wide row
* may contain multiple facts.
*
* @author R.W.Majeed
*
*/
public class WideRow implements FactRow{
private String patid;
private String visit;
private List facts;
public WideRow(String patid, String visit){
this.visit = visit;
this.patid = patid;
this.facts = new ArrayList<>();
}
public void addFact(Observation o){
this.facts.add(o);
}
@Override
public List getFacts(){
return facts;
}
@Override
public String getPatientId(){return patid;}
@Override
public String getVisitId(){return visit;}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy