package com.jasamedika.medifirst2000.entities;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.OneToOne;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonManagedReference;
import com.jasamedika.medifirst2000.base.BaseTransaction;
import com.jasamedika.medifirst2000.helper.Caption;import org.hibernate.envers.Audited;

@Entity
@Table(name = "PapTandaVital_T")
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
public class PapTandaVital extends BaseTransaction {

	@ManyToOne(fetch=FetchType.LAZY)
	@Caption(value = "ObjectPasienFk")
	@JoinColumn(name = "ObjectPasienFk")
	private AntrianPasienDiPeriksa pasienDaftar;	
	
	@Column(name = "ObjectPasienFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false)
	private String pasienId;
	
	@Column(name = "tglInput", nullable = true)
	@Caption(value = "Tgl Input")
	private Date tglInput;
	 
	@Column(name = "suhu", nullable = true)
	@Caption(value = "suhu")
	private String suhu;
	
	@Column(name = "nadi", nullable = true)
	@Caption(value = "nadi")
	private String nadi;
	
	@Column(name = "pernapasan", nullable = true)
	@Caption(value = "pernapasan")
	private String pernapasan;
	
	@Column(name = "tekananDarah", nullable = true)
	@Caption(value = "tekananDarah")
	private String tekananDarah;
	
	@Column(name = "Alergi", nullable = true)
	@Caption(value = "Alergi")
	private Boolean alergi;
	
	@Column(name = "BeratBadan", nullable = true)
	@Caption(value = "BeratBadan")
	private String beratBadan;
	
	@Column(name = "TinggiBadan", nullable = true)
	@Caption(value = "TinggiBadan")
	private String tinggiBadan;
	
	@Column(name = "LingkarKepala", nullable = true)
	@Caption(value = "LingkarKepala")
	private String lingkarKepala;
	
	@Column(name = "Imt", nullable = true)
	@Caption(value = "Imt")
	private String imt;
	
	@Column(name = "StatusGizi", nullable = true)
	@Caption(value = "StatusGizi")
	private String statusGizi;
	
	@Column(name = "Kesadaran", nullable = true)
	@Caption(value = "Kesadaran")
	private String kesadaran;
	
	@Column(name = "Keterangan", nullable = true)
	@Caption(value = "Keterangan")
	private String keterangan;

	public AntrianPasienDiPeriksa getPasienDaftar() {
		return pasienDaftar;
	}

	public void setPasienDaftar(AntrianPasienDiPeriksa pasienDaftar) {
		this.pasienDaftar = pasienDaftar;
	}

	public String getPasienId() {
		return pasienId;
	}

	public void setPasienId(String pasienId) {
		this.pasienId = pasienId;
	}

	public Date getTglInput() {
		return tglInput;
	}

	public void setTglInput(Date tglInput) {
		this.tglInput = tglInput;
	}

	public String getSuhu() {
		return suhu;
	}

	public void setSuhu(String suhu) {
		this.suhu = suhu;
	}

	public String getNadi() {
		return nadi;
	}

	public void setNadi(String nadi) {
		this.nadi = nadi;
	}

	public String getPernapasan() {
		return pernapasan;
	}

	public void setPernapasan(String pernapasan) {
		this.pernapasan = pernapasan;
	}

	public String getTekananDarah() {
		return tekananDarah;
	}

	public void setTekananDarah(String tekananDarah) {
		this.tekananDarah = tekananDarah;
	}

	public Boolean getAlergi() {
		return alergi;
	}

	public void setAlergi(Boolean alergi) {
		this.alergi = alergi;
	}

	public String getBeratBadan() {
		return beratBadan;
	}

	public void setBeratBadan(String beratBadan) {
		this.beratBadan = beratBadan;
	}

	public String getTinggiBadan() {
		return tinggiBadan;
	}

	public void setTinggiBadan(String tinggiBadan) {
		this.tinggiBadan = tinggiBadan;
	}

	public String getLingkarKepala() {
		return lingkarKepala;
	}

	public void setLingkarKepala(String lingkarKepala) {
		this.lingkarKepala = lingkarKepala;
	}

	public String getImt() {
		return imt;
	}

	public void setImt(String imt) {
		this.imt = imt;
	}

	public String getStatusGizi() {
		return statusGizi;
	}

	public void setStatusGizi(String statusGizi) {
		this.statusGizi = statusGizi;
	}

	public String getKesadaran() {
		return kesadaran;
	}

	public void setKesadaran(String kesadaran) {
		this.kesadaran = kesadaran;
	}

	public String getKeterangan() {
		return keterangan;
	}

	public void setKeterangan(String keterangan) {
		this.keterangan = keterangan;
	}
}
