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

org.bahmni.util.squasher.adjacentvisits.VisitChainItem Maven / Gradle / Ivy

The newest version!
package org.bahmni.util.squasher.adjacentvisits;

import java.sql.Timestamp;

public class VisitChainItem {
    private int visit1Id;
    private int visit2Id;
    private Timestamp visit1DateStopped;
    private Timestamp visit2DateStopped;

    public VisitChainItem(int visit1Id, int visit2Id, Timestamp visit1DateStopped, Timestamp visit2DateStopped) {
        this.visit1Id = visit1Id;
        this.visit2Id = visit2Id;
        this.visit1DateStopped = visit1DateStopped;
        this.visit2DateStopped = visit2DateStopped;
    }

    public int getVisit1Id() {
        return visit1Id;
    }

    public int getVisit2Id() {
        return visit2Id;
    }

    public Timestamp getVisit2DateStopped() {
        return visit2DateStopped;
    }

    @Override
    public String toString() {
        return "VisitChainItem{" +
                "visit1Id=" + visit1Id +
                ", visit2Id=" + visit2Id +
                ", visit1DateStopped=" + visit1DateStopped +
                ", visit2DateStopped=" + visit2DateStopped +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy