package com.jasamedika.medifirst2000.vo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;

import com.jasamedika.medifirst2000.base.vo.BaseTransactionVO;
import com.jasamedika.medifirst2000.helper.Caption;

public class KehamilanSekarangVO extends BaseTransactionVO{
	@ManyToOne
	@JoinColumn(name = "ObjectantrianPasienDiPeriksaFk")
	@Caption(value = "Object antrianPasienDiPeriksa")
	private AntrianPasienDiPeriksaVO antrianPasienDiPeriksa;

	@Column(name = "ObjectantrianPasienDiPeriksaFk", insertable = false, updatable = false,nullable=false)
	private String antrianPasienDiPeriksaId;

	@Column(name = "gpa", nullable = false)
	@Caption(value = "gpa")
	private String gpa;

	@ManyToOne
	@JoinColumn(name = "ObjectpemeriksaanAntenatalFk")
	@Caption(value = "Object pemeriksaanAntenatal")
	private PemeriksaanAntenatalVO pemeriksaanAntenatal;

	@Column(name = "ObjectpemeriksaanAntenatalFk", insertable = false, updatable = false,nullable=true)
	private Integer pemeriksaanAntenatalId;

	@ManyToOne
	@JoinColumn(name = "ObjectpemeriksaanFk")
	@Caption(value = "Object pemeriksaan")
	private StatusPemeriksaanTeraturTidakVO pemeriksaan;

	@Column(name = "ObjectpemeriksaanFk", insertable = false, updatable = false,nullable=true)
	private Integer pemeriksaanId;

	@OneToMany(cascade=CascadeType.ALL,fetch = FetchType.LAZY, mappedBy = "kehamilanSekarang")
	@Caption(value = "kelainanDetailSet")
	private Set<KelainanDetailVO> kelainanDetailSet=new HashSet<KelainanDetailVO>(); 
	
	@ManyToOne
	@JoinColumn(name = "Objectfhr1Fk")
	@Caption(value = "Object fhr1")
	private Fhr1VO fhr1;

	@Column(name = "Objectfhr1Fk", insertable = false, updatable = false,nullable=true)
	private Integer fhr1Id;

	@ManyToOne
	@JoinColumn(name = "ObjectfhFk")
	@Caption(value = "Object fh")
	private FhVO fh;

	@Column(name = "ObjectfhFk", insertable = false, updatable = false,nullable=true)
	private Integer fhId;

	@ManyToOne
	@JoinColumn(name = "Objectfhr2Fk")
	@Caption(value = "Object fhr2")
	private Fhr2VO fhr2;

	@Column(name = "Objectfhr2Fk", insertable = false, updatable = false,nullable=true)
	private Integer fhr2Id;

	@ManyToOne
	@JoinColumn(name = "ObjectlilitanTaliPusatFk")
	@Caption(value = "Object lilitanTaliPusat")
	private StatusYaTidakVO lilitanTaliPusat;

	@Column(name = "ObjectlilitanTaliPusatFk", insertable = false, updatable = false,nullable=true)
	private Integer lilitanTaliPusatId;

	@ManyToOne
	@JoinColumn(name = "ObjectproplapsUmbicilusFk")
	@Caption(value = "Object proplapsUmbicilus")
	private StatusYaTidakVO proplapsUmbicilus;

	@Column(name = "ObjectproplapsUmbicilusFk", insertable = false, updatable = false,nullable=true)
	private Integer proplapsUmbicilusId;

	@Column(name = "tglPartus", nullable = false)
	@Caption(value = "tglPartus")
	private Date tglPartus;

	@Column(name = "letakPartus", nullable = false)
	@Caption(value = "letakPartus")
	private String letakPartus;
	
	@ManyToOne
	@JoinColumn(name = "ObjectstatusPartusFk")
	@Caption(value = "Object statusPartus")
	private StatusPartusVO statusPartus;

	@Column(name = "ObjectstatusPartusFk", insertable = false, updatable = false,nullable=true)
	private Integer statusPartusId;

	@Column(name = "beratPlacenta", nullable = false)
	@Caption(value = "beratPlacenta")
	private String beratPlacenta;

	@Column(name = "keadaanPlacenta", nullable = false)
	@Caption(value = "keadaanPlacenta")
	private String keadaanPlacenta;

	@ManyToOne
	@JoinColumn(name = "ObjectpembuluhDarahFk")
	@Caption(value = "Object pembuluhDarah")
	private PembuluhDarahVO pembuluhDarah;

	@Column(name = "ObjectpembuluhDarahFk", insertable = false, updatable = false,nullable=true)
	private Integer pembuluhDarahId;

	@Column(name = "kelainanTaliPusat", nullable = false)
	@Caption(value = "kelainanTaliPusat")
	private String kelainanTaliPusat;

	public AntrianPasienDiPeriksaVO getAntrianPasienDiPeriksa() {
		return antrianPasienDiPeriksa;
	}

	public void setAntrianPasienDiPeriksa(AntrianPasienDiPeriksaVO antrianPasienDiPeriksa) {
		this.antrianPasienDiPeriksa = antrianPasienDiPeriksa;
	}

	public String getAntrianPasienDiPeriksaId() {
		return antrianPasienDiPeriksaId;
	}

	public void setAntrianPasienDiPeriksaId(String antrianPasienDiPeriksaId) {
		this.antrianPasienDiPeriksaId = antrianPasienDiPeriksaId;
	}

	public String getGpa() {
		return gpa;
	}

	public void setGpa(String gpa) {
		this.gpa = gpa;
	}

	public PemeriksaanAntenatalVO getPemeriksaanAntenatal() {
		return pemeriksaanAntenatal;
	}

	public void setPemeriksaanAntenatal(PemeriksaanAntenatalVO pemeriksaanAntenatal) {
		this.pemeriksaanAntenatal = pemeriksaanAntenatal;
	}

	public Integer getPemeriksaanAntenatalId() {
		return pemeriksaanAntenatalId;
	}

	public void setPemeriksaanAntenatalId(Integer pemeriksaanAntenatalId) {
		this.pemeriksaanAntenatalId = pemeriksaanAntenatalId;
	}

	public StatusPemeriksaanTeraturTidakVO getPemeriksaan() {
		return pemeriksaan;
	}

	public void setPemeriksaan(StatusPemeriksaanTeraturTidakVO pemeriksaan) {
		this.pemeriksaan = pemeriksaan;
	}

	public Integer getPemeriksaanId() {
		return pemeriksaanId;
	}

	public void setPemeriksaanId(Integer pemeriksaanId) {
		this.pemeriksaanId = pemeriksaanId;
	}

	public Set<KelainanDetailVO> getKelainanDetailSet() {
		return kelainanDetailSet;
	}

	public void setKelainanDetailSet(Set<KelainanDetailVO> kelainanDetailSet) {
		this.kelainanDetailSet = kelainanDetailSet;
	}

	public Fhr1VO getFhr1() {
		return fhr1;
	}

	public void setFhr1(Fhr1VO fhr1) {
		this.fhr1 = fhr1;
	}

	public Integer getFhr1Id() {
		return fhr1Id;
	}

	public void setFhr1Id(Integer fhr1Id) {
		this.fhr1Id = fhr1Id;
	}

	public FhVO getFh() {
		return fh;
	}

	public void setFh(FhVO fh) {
		this.fh = fh;
	}

	public Integer getFhId() {
		return fhId;
	}

	public void setFhId(Integer fhId) {
		this.fhId = fhId;
	}

	public Fhr2VO getFhr2() {
		return fhr2;
	}

	public void setFhr2(Fhr2VO fhr2) {
		this.fhr2 = fhr2;
	}

	public Integer getFhr2Id() {
		return fhr2Id;
	}

	public void setFhr2Id(Integer fhr2Id) {
		this.fhr2Id = fhr2Id;
	}

	public StatusYaTidakVO getLilitanTaliPusat() {
		return lilitanTaliPusat;
	}

	public void setLilitanTaliPusat(StatusYaTidakVO lilitanTaliPusat) {
		this.lilitanTaliPusat = lilitanTaliPusat;
	}

	public Integer getLilitanTaliPusatId() {
		return lilitanTaliPusatId;
	}

	public void setLilitanTaliPusatId(Integer lilitanTaliPusatId) {
		this.lilitanTaliPusatId = lilitanTaliPusatId;
	}

	public StatusYaTidakVO getProplapsUmbicilus() {
		return proplapsUmbicilus;
	}

	public void setProplapsUmbicilus(StatusYaTidakVO proplapsUmbicilus) {
		this.proplapsUmbicilus = proplapsUmbicilus;
	}

	public Integer getProplapsUmbicilusId() {
		return proplapsUmbicilusId;
	}

	public void setProplapsUmbicilusId(Integer proplapsUmbicilusId) {
		this.proplapsUmbicilusId = proplapsUmbicilusId;
	}

	public Date getTglPartus() {
		return tglPartus;
	}

	public void setTglPartus(Date tglPartus) {
		this.tglPartus = tglPartus;
	}

	public String getLetakPartus() {
		return letakPartus;
	}

	public void setLetakPartus(String letakPartus) {
		this.letakPartus = letakPartus;
	}

	public StatusPartusVO getStatusPartus() {
		return statusPartus;
	}

	public void setStatusPartus(StatusPartusVO statusPartus) {
		this.statusPartus = statusPartus;
	}

	public Integer getStatusPartusId() {
		return statusPartusId;
	}

	public void setStatusPartusId(Integer statusPartusId) {
		this.statusPartusId = statusPartusId;
	}

	public String getBeratPlacenta() {
		return beratPlacenta;
	}

	public void setBeratPlacenta(String beratPlacenta) {
		this.beratPlacenta = beratPlacenta;
	}

	public String getKeadaanPlacenta() {
		return keadaanPlacenta;
	}

	public void setKeadaanPlacenta(String keadaanPlacenta) {
		this.keadaanPlacenta = keadaanPlacenta;
	}

	public PembuluhDarahVO getPembuluhDarah() {
		return pembuluhDarah;
	}

	public void setPembuluhDarah(PembuluhDarahVO pembuluhDarah) {
		this.pembuluhDarah = pembuluhDarah;
	}

	public Integer getPembuluhDarahId() {
		return pembuluhDarahId;
	}

	public void setPembuluhDarahId(Integer pembuluhDarahId) {
		this.pembuluhDarahId = pembuluhDarahId;
	}

	public String getKelainanTaliPusat() {
		return kelainanTaliPusat;
	}

	public void setKelainanTaliPusat(String kelainanTaliPusat) {
		this.kelainanTaliPusat = kelainanTaliPusat;
	}
	
}
